@intent-hq/web 2.286.6 → 2.286.7

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 (202) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/chunks/{D9cnJrSW.js → -Dy1J8Uz.js} +1 -1
  3. package/web/app/immutable/chunks/{CDIF0OfQ.js → -k9dBFge.js} +1 -1
  4. package/web/app/immutable/chunks/{9ClBlTfm.js → 02c-_h5D.js} +1 -1
  5. package/web/app/immutable/chunks/{BkAXSVKy.js → 0B3uVNNW.js} +3 -3
  6. package/web/app/immutable/chunks/{B0Gt7kIL.js → 12tzu5qf.js} +1 -1
  7. package/web/app/immutable/chunks/{BqyVFgAs.js → 2g-z97cY.js} +2 -2
  8. package/web/app/immutable/chunks/{BOWg7-2e.js → 2p9neXSj.js} +1 -1
  9. package/web/app/immutable/chunks/{0r1nZ0pd.js → 3iHuHMbX.js} +1 -1
  10. package/web/app/immutable/chunks/{Bf_wzw9l.js → 5OGBf-lA.js} +1 -1
  11. package/web/app/immutable/chunks/{BgEmsjjm.js → 5qlCbG7W.js} +1 -1
  12. package/web/app/immutable/chunks/5vqEW8Xk.js +1 -0
  13. package/web/app/immutable/chunks/{DhS9D4LQ.js → AEZrGthR.js} +1 -1
  14. package/web/app/immutable/chunks/{C-ssPvFA.js → B-u7UaKm.js} +1 -1
  15. package/web/app/immutable/chunks/{iatFKKcG.js → B1HqsJ1G.js} +1 -1
  16. package/web/app/immutable/chunks/{CQORNg-m.js → B3n8DMr5.js} +1 -1
  17. package/web/app/immutable/chunks/{B63QHGwa.js → B4mFVrsF.js} +1 -1
  18. package/web/app/immutable/chunks/{BDBiopCg.js → B56I2ZJ_.js} +1 -1
  19. package/web/app/immutable/chunks/{fNyUCzvZ.js → B643fTLK.js} +1 -1
  20. package/web/app/immutable/chunks/{Cx2xiRhw.js → B70r_bD0.js} +1 -1
  21. package/web/app/immutable/chunks/{ToNKgdbF.js → B9ynThFz.js} +1 -1
  22. package/web/app/immutable/chunks/{Djp3xwow.js → BFe-YAfF.js} +1 -1
  23. package/web/app/immutable/chunks/{BDWsa0R1.js → BGcT2nxg.js} +1 -1
  24. package/web/app/immutable/chunks/{CNcEmlm6.js → BIG6Pj6U.js} +1 -1
  25. package/web/app/immutable/chunks/{O8tyTzO7.js → BK4Akfwd.js} +1 -1
  26. package/web/app/immutable/chunks/{-RQcYil7.js → BKHxP3dh.js} +1 -1
  27. package/web/app/immutable/chunks/{B_QXRwJt.js → BMAsOD7J.js} +1 -1
  28. package/web/app/immutable/chunks/{CK9zkrOb.js → BN2G03FP.js} +1 -1
  29. package/web/app/immutable/chunks/{nSL7q58f.js → BNboIXBF.js} +1 -1
  30. package/web/app/immutable/chunks/{Ma3kLBUv.js → BQoQ6YRb.js} +1 -1
  31. package/web/app/immutable/chunks/{Cen83yhL.js → BRyc8ruL.js} +1 -1
  32. package/web/app/immutable/chunks/{BD0qm6Jz.js → BSjUANzw.js} +1 -1
  33. package/web/app/immutable/chunks/{zbG5hgeS.js → BULsKVcN.js} +1 -1
  34. package/web/app/immutable/chunks/{CMwUdxOS.js → BVCutUbP.js} +1 -1
  35. package/web/app/immutable/chunks/{CJKvnCar.js → BYBYRLX4.js} +1 -1
  36. package/web/app/immutable/chunks/{Hj5cJ9Kq.js → BYSoxiJG.js} +1 -1
  37. package/web/app/immutable/chunks/{BU-Qzzbf.js → BZA0d6L5.js} +7 -7
  38. package/web/app/immutable/chunks/{D4K4NRzX.js → BZO6xoHZ.js} +1 -1
  39. package/web/app/immutable/chunks/{Bt6n6cEl.js → Ba8xdboa.js} +2 -2
  40. package/web/app/immutable/chunks/{DLF1u3VG.js → BaJAb_aS.js} +1 -1
  41. package/web/app/immutable/chunks/{BQNvd14e.js → Banmthwv.js} +1 -1
  42. package/web/app/immutable/chunks/{CbcwGUfi.js → BdyPjVZK.js} +1 -1
  43. package/web/app/immutable/chunks/{CBW2aSyU.js → BeDkb_vZ.js} +1 -1
  44. package/web/app/immutable/chunks/{BcwQng3i.js → BeQnGCk4.js} +1 -1
  45. package/web/app/immutable/chunks/{c6-JywCq.js → BfSS1MK5.js} +1 -1
  46. package/web/app/immutable/chunks/{DFxtmloM.js → BgCl1ZYD.js} +1 -1
  47. package/web/app/immutable/chunks/{BozSuCN-.js → Bh9DwXQ5.js} +1 -1
  48. package/web/app/immutable/chunks/{BRJm-WBN.js → Bi78eYSt.js} +1 -1
  49. package/web/app/immutable/chunks/{DuNULkx8.js → BiXOLZjm.js} +1 -1
  50. package/web/app/immutable/chunks/{DJsNWuz1.js → Bk33Ri54.js} +1 -1
  51. package/web/app/immutable/chunks/{DCuTumtg.js → Boxg4-Ef.js} +1 -1
  52. package/web/app/immutable/chunks/{nFRRHcr0.js → BqDXJV4b.js} +3 -3
  53. package/web/app/immutable/chunks/{BdQglECS.js → Bwr2Pz45.js} +5 -5
  54. package/web/app/immutable/chunks/{BqOdnG_o.js → Bx2W_o-K.js} +1 -1
  55. package/web/app/immutable/chunks/{BmUO-ZCq.js → ByuNUKg7.js} +1 -1
  56. package/web/app/immutable/chunks/{DNfhZLeN.js → BzKpdh0S.js} +1 -1
  57. package/web/app/immutable/chunks/{BHj4gB0Y.js → C0Ic7MWu.js} +1 -1
  58. package/web/app/immutable/chunks/{CWlglyI_.js → C1III1VB.js} +1 -1
  59. package/web/app/immutable/chunks/{DSeXOn44.js → C2fCoIum.js} +3 -3
  60. package/web/app/immutable/chunks/{DeoBRQb4.js → C4obf3FV.js} +1 -1
  61. package/web/app/immutable/chunks/{DT7mlQbt.js → C6TLZd79.js} +1 -1
  62. package/web/app/immutable/chunks/{DyMSTER3.js → C78xsmeY.js} +1 -1
  63. package/web/app/immutable/chunks/{DUlDadB7.js → C9W_2OCR.js} +1 -1
  64. package/web/app/immutable/chunks/{Cwf2cl-G.js → CCUNfXiW.js} +1 -1
  65. package/web/app/immutable/chunks/{BHfO1DIu.js → CDNrBqJE.js} +1 -1
  66. package/web/app/immutable/chunks/{DsHgoHUF.js → CEKKTkcw.js} +1 -1
  67. package/web/app/immutable/chunks/{CpoXGd1l.js → CFWaKBsU.js} +1 -1
  68. package/web/app/immutable/chunks/{nvxwf4ON.js → CH9FyXIs.js} +1 -1
  69. package/web/app/immutable/chunks/{A4XkqMhx.js → CKKymoqy.js} +2 -2
  70. package/web/app/immutable/chunks/{D4mPaBv_.js → CNZrw80e.js} +1 -1
  71. package/web/app/immutable/chunks/{CI2vptqu.js → CNe7_Zim.js} +1 -1
  72. package/web/app/immutable/chunks/{UeBI2etB.js → CNrfoUaS.js} +1 -1
  73. package/web/app/immutable/chunks/{BQtqWlTh.js → CO44rX6y.js} +1 -1
  74. package/web/app/immutable/chunks/{vEO0YrEb.js → CPlNvpU2.js} +1 -1
  75. package/web/app/immutable/chunks/{D4bEOXCz.js → CQ2o3hEg.js} +1 -1
  76. package/web/app/immutable/chunks/{CKt2_xHZ.js → CRR1-abH.js} +1 -1
  77. package/web/app/immutable/chunks/{BILkcOal.js → CRpqpU9i.js} +1 -1
  78. package/web/app/immutable/chunks/{CRcvhCKH.js → CThN_Nux.js} +1 -1
  79. package/web/app/immutable/chunks/{JQvt9PlE.js → CUZik8MY.js} +1 -1
  80. package/web/app/immutable/chunks/{BDoT1t-p.js → CUvkIDMd.js} +1 -1
  81. package/web/app/immutable/chunks/{BIbYnTWt.js → CV4TfELY.js} +1 -1
  82. package/web/app/immutable/chunks/{DVo_qBAn.js → CVbWY19o.js} +1 -1
  83. package/web/app/immutable/chunks/{DqBMLWU7.js → CVsyQSuR.js} +1 -1
  84. package/web/app/immutable/chunks/{Dx178k_p.js → CZFEnK7L.js} +1 -1
  85. package/web/app/immutable/chunks/{CVoU6PUX.js → CaXb-0G5.js} +1 -1
  86. package/web/app/immutable/chunks/{UEagjF1v.js → Cbq2nPyy.js} +1 -1
  87. package/web/app/immutable/chunks/{DfV-BwK_.js → Cdh5YKSf.js} +1 -1
  88. package/web/app/immutable/chunks/{DT0VuQYh.js → Cdro-GoI.js} +1 -1
  89. package/web/app/immutable/chunks/{CK0ufYxF.js → CfKkOn3Z.js} +1 -1
  90. package/web/app/immutable/chunks/{0f-s2juB.js → ChPWwTDQ.js} +1 -1
  91. package/web/app/immutable/chunks/{TYA52UmK.js → ChY430zO.js} +1 -1
  92. package/web/app/immutable/chunks/{7HlTiSuy.js → CkH1GUS-.js} +1 -1
  93. package/web/app/immutable/chunks/{Dk8G7cWG.js → Ck_IcW3b.js} +1 -1
  94. package/web/app/immutable/chunks/{BBh1sUFa.js → Cm0fpyvx.js} +1 -1
  95. package/web/app/immutable/chunks/{1NwaCzDM.js → CmoN_TBo.js} +1 -1
  96. package/web/app/immutable/chunks/{BfznpdOe.js → CqAhHv8R.js} +1 -1
  97. package/web/app/immutable/chunks/{Daox7oGL.js → Crqv6_Qw.js} +1 -1
  98. package/web/app/immutable/chunks/{BhDscTzk.js → CsDWwr46.js} +1 -1
  99. package/web/app/immutable/chunks/{CZjKZKfa.js → Csf9C1Gi.js} +1 -1
  100. package/web/app/immutable/chunks/{D0PA_nH7.js → CtUWJPuQ.js} +1 -1
  101. package/web/app/immutable/chunks/{eo951CKY.js → CtVWxtuL.js} +1 -1
  102. package/web/app/immutable/chunks/{DP3PzV04.js → CuS63k_X.js} +1 -1
  103. package/web/app/immutable/chunks/{Bct-Hddg.js → Cw7D1o52.js} +1 -1
  104. package/web/app/immutable/chunks/{D4eQ7sOE.js → CwnQ-Cai.js} +1 -1
  105. package/web/app/immutable/chunks/{EsMfrwLq.js → Cydmwi9G.js} +2 -2
  106. package/web/app/immutable/chunks/{BdI6Ug1p.js → D1G_x58n.js} +1 -1
  107. package/web/app/immutable/chunks/{BFSad-yQ.js → D1nqIQGn.js} +1 -1
  108. package/web/app/immutable/chunks/{BH2o-WfJ.js → DCj4RtfU.js} +1 -1
  109. package/web/app/immutable/chunks/{CWwUPJCZ.js → DDfuADvu.js} +1 -1
  110. package/web/app/immutable/chunks/{Stf6v5E4.js → DEWWczTo.js} +1 -1
  111. package/web/app/immutable/chunks/{CAhEBid_.js → DF1PAOvq.js} +1 -1
  112. package/web/app/immutable/chunks/{BVXSC6-x.js → DFLHL1-R.js} +1 -1
  113. package/web/app/immutable/chunks/{_9I4ps54.js → DFSszeZt.js} +1 -1
  114. package/web/app/immutable/chunks/{DW0ajEwO.js → DG2lnbYM.js} +1 -1
  115. package/web/app/immutable/chunks/{Bhjdd-i5.js → DGdd6uAe.js} +1 -1
  116. package/web/app/immutable/chunks/{D5XOfqg3.js → DHnu3R8W.js} +1 -1
  117. package/web/app/immutable/chunks/{OmIIAf5Z.js → DHxfVjMA.js} +1 -1
  118. package/web/app/immutable/chunks/{BLfu6vv0.js → DIpVdU4q.js} +1 -1
  119. package/web/app/immutable/chunks/{Blfa2zB3.js → DIx1ja7a.js} +1 -1
  120. package/web/app/immutable/chunks/{DsLNpgNd.js → DMYii2XW.js} +1 -1
  121. package/web/app/immutable/chunks/{DjgUwB1-.js → DQcBws1v.js} +1 -1
  122. package/web/app/immutable/chunks/{BarmoK9n.js → DR5N6gxc.js} +1 -1
  123. package/web/app/immutable/chunks/{B3l27U-X.js → DTb6DltY.js} +1 -1
  124. package/web/app/immutable/chunks/{PoQyYVPo.js → DWeK6bEj.js} +1 -1
  125. package/web/app/immutable/chunks/{Dtc6gYfR.js → DZOobfUN.js} +4 -4
  126. package/web/app/immutable/chunks/{DzcYojla.js → D_q___oT.js} +1 -1
  127. package/web/app/immutable/chunks/{B7VDtTYH.js → D_r-L7lJ.js} +1 -1
  128. package/web/app/immutable/chunks/{CwVfhwcK.js → Db4RIna0.js} +1 -1
  129. package/web/app/immutable/chunks/{bLmMh6bM.js → DbmW02Ql.js} +1 -1
  130. package/web/app/immutable/chunks/{BqYhHrt6.js → DeS52M4Z.js} +1 -1
  131. package/web/app/immutable/chunks/{_xXc1YI4.js → DfZPm6Cc.js} +1 -1
  132. package/web/app/immutable/chunks/{Lr-JMIRR.js → Dk4lt7dn.js} +1 -1
  133. package/web/app/immutable/chunks/{dfYnXgxY.js → DkjTJRm4.js} +1 -1
  134. package/web/app/immutable/chunks/{Eecaa39u.js → Dnvm7hnM.js} +1 -1
  135. package/web/app/immutable/chunks/{BJl8RzPn.js → DoSHDPDx.js} +1 -1
  136. package/web/app/immutable/chunks/{B2YBz8zb.js → DpWsILta.js} +1 -1
  137. package/web/app/immutable/chunks/{BPC4OG-3.js → DtGFNbs1.js} +1 -1
  138. package/web/app/immutable/chunks/{BzEWj2WD.js → DxLAMi4N.js} +1 -1
  139. package/web/app/immutable/chunks/{y0vuEHBW.js → DxSLZdpF.js} +1 -1
  140. package/web/app/immutable/chunks/{CZRzMSeY.js → DxYCvGDj.js} +1 -1
  141. package/web/app/immutable/chunks/{Ja3bldkE.js → Dy9lh-cY.js} +1 -1
  142. package/web/app/immutable/chunks/{CDo7dFSH.js → EDmIYO6S.js} +1 -1
  143. package/web/app/immutable/chunks/{BFiZAKJn.js → FSSmi15Q.js} +1 -1
  144. package/web/app/immutable/chunks/{By1eSTdA.js → G8TJ9MOE.js} +1 -1
  145. package/web/app/immutable/chunks/{SqQyW4o7.js → H09Jvm6V.js} +1 -1
  146. package/web/app/immutable/chunks/{C7jGB600.js → JIx3RnHA.js} +1 -1
  147. package/web/app/immutable/chunks/{Blk7tjn1.js → Jhq7UOc5.js} +1 -1
  148. package/web/app/immutable/chunks/{QxpEtr-0.js → LJC2uYsC.js} +1 -1
  149. package/web/app/immutable/chunks/{CdPAl73_.js → MO7fSgv5.js} +2 -2
  150. package/web/app/immutable/chunks/{gIpDBOS9.js → OYOqRbsv.js} +1 -1
  151. package/web/app/immutable/chunks/{LZgSqmId.js → PoUwsq35.js} +1 -1
  152. package/web/app/immutable/chunks/{f5JdW6NK.js → R2--7i5r.js} +1 -1
  153. package/web/app/immutable/chunks/{DZLBni6e.js → TTIE1D5C.js} +2 -2
  154. package/web/app/immutable/chunks/{DWNVbS3a.js → ThJR_x1o.js} +1 -1
  155. package/web/app/immutable/chunks/{CyFUY7ZG.js → W0ohOtfo.js} +6 -6
  156. package/web/app/immutable/chunks/{DqYjhr_m.js → Xi73byIt.js} +1 -1
  157. package/web/app/immutable/chunks/{CAXCWldY.js → XlZsLmeM.js} +1 -1
  158. package/web/app/immutable/chunks/{B-wj3-Mz.js → Y-eFgNqI.js} +1 -1
  159. package/web/app/immutable/chunks/{C47vcpT8.js → Y01ro7ES.js} +1 -1
  160. package/web/app/immutable/chunks/{CnD0melM.js → Y1jmSFSg.js} +1 -1
  161. package/web/app/immutable/chunks/{DWoDOofe.js → ZPXpXn_b.js} +1 -1
  162. package/web/app/immutable/chunks/{BhZTnaMG.js → _NsXb4lS.js} +1 -1
  163. package/web/app/immutable/chunks/{0PTcTNoV.js → _hl98vj7.js} +4 -4
  164. package/web/app/immutable/chunks/{wuvUPZj1.js → _lJQyckC.js} +1 -1
  165. package/web/app/immutable/chunks/{BZdmxgfA.js → _vHEK4pi.js} +1 -1
  166. package/web/app/immutable/chunks/{JQsOAZ2D.js → bCZfKo5Z.js} +1 -1
  167. package/web/app/immutable/chunks/{EN56DypO.js → blrmT9qk.js} +1 -1
  168. package/web/app/immutable/chunks/{CHzxYGKx.js → cKydO3Qt.js} +1 -1
  169. package/web/app/immutable/chunks/{DetRbVYW.js → f5CcdTME.js} +1 -1
  170. package/web/app/immutable/chunks/{Dsrqhllc.js → g5u8EvTY.js} +1 -1
  171. package/web/app/immutable/chunks/{CAoF09oh.js → gguJR3ZT.js} +1 -1
  172. package/web/app/immutable/chunks/{BTPnfq6G.js → gkKZi5M2.js} +4 -4
  173. package/web/app/immutable/chunks/{qZ45weJD.js → kPHoAXfY.js} +1 -1
  174. package/web/app/immutable/chunks/{D7UZpnOG.js → lPZVVuHr.js} +2 -2
  175. package/web/app/immutable/chunks/{BlT5sNXk.js → nP3fRh39.js} +1 -1
  176. package/web/app/immutable/chunks/{84RVXrc3.js → oXZkHUcr.js} +1 -1
  177. package/web/app/immutable/chunks/{DQDUYfZ6.js → oXwqURr6.js} +1 -1
  178. package/web/app/immutable/chunks/{Cc8kWaj8.js → pxqNib4M.js} +1 -1
  179. package/web/app/immutable/chunks/{D1JUN6U7.js → sd3yFV0R.js} +1 -1
  180. package/web/app/immutable/chunks/{C5SmzBE8.js → tMLeM1p2.js} +1 -1
  181. package/web/app/immutable/chunks/{BQmNzaH0.js → vtfPHlCB.js} +6 -6
  182. package/web/app/immutable/chunks/{CGF8Eu2l.js → x7O2J7jj.js} +1 -1
  183. package/web/app/immutable/chunks/{cXLTBTLb.js → xTHNWGAw.js} +1 -1
  184. package/web/app/immutable/entry/{app.BCJgs5XI.js → app.DaY9zxK3.js} +2 -2
  185. package/web/app/immutable/entry/start.CWppNCPI.js +1 -0
  186. package/web/app/immutable/nodes/{0.a1vA_dPS.js → 0.C8YnQkTZ.js} +1 -1
  187. package/web/app/immutable/nodes/{1.BCIzPBLS.js → 1.sAE7iwU1.js} +1 -1
  188. package/web/app/immutable/nodes/{10.CitPgiJ3.js → 10.DNzXLFkx.js} +1 -1
  189. package/web/app/immutable/nodes/{14.CdTQyTvv.js → 14.YTlK2SeN.js} +1 -1
  190. package/web/app/immutable/nodes/{16.AZfVvgqP.js → 16.C62UErj3.js} +2 -2
  191. package/web/app/immutable/nodes/{2.Dhrl5ptg.js → 2.BIYjc8j-.js} +3 -3
  192. package/web/app/immutable/nodes/{3.CsMeo6Xv.js → 3.C0pjKeNY.js} +1 -1
  193. package/web/app/immutable/nodes/{4.CQ8xrx-T.js → 4._EbXXqeH.js} +1 -1
  194. package/web/app/immutable/nodes/{5.BfoV9rHK.js → 5.qY7J8QM6.js} +1 -1
  195. package/web/app/immutable/nodes/{6.Df7ucNiy.js → 6.yeh_1zWo.js} +1 -1
  196. package/web/app/immutable/nodes/{7.DONDdlQd.js → 7.Dmqj3KiQ.js} +1 -1
  197. package/web/app/immutable/nodes/{8.CgHGNiu0.js → 8.h0hqyIXC.js} +2 -2
  198. package/web/app/immutable/nodes/{9.DZvK1vth.js → 9.BBHFrPvY.js} +1 -1
  199. package/web/app/version.json +1 -1
  200. package/web/index.html +9 -9
  201. package/web/app/immutable/chunks/w47UAFdd.js +0 -1
  202. package/web/app/immutable/entry/start.D2p6xEVd.js +0 -1
@@ -1 +1 @@
1
- import{t as pt,bq as S,a_ as q,by as bt,bs as Pt,b as Ct,bo as vt,bu as h}from"./CiieX7lJ.js";import{bs as $t,ca as E,aD as n,c9 as i,a7 as L,ay as _,W as w,bn as kt,bS as yt,aA as B,aB as St}from"./B8o4lNgr.js";import{B as _t}from"./BkR4V1cF.js";import{c as wt}from"./BYsuIPWO.js";import{aU as Bt}from"./Dtc6gYfR.js";import{G2 as u,ei as It,ej as Ut,Gz as Wt,GN as Rt,GE as Tt,t3 as Dt,mZ as V}from"./DScTb8GR.js";import{g as At}from"./CoSk1zgY.js";import{bx as Ft,bz as Ht,dj as xt}from"./D8P_sRVN.js";import{C as f}from"./DypB-Dwi.js";import"./1NwaCzDM.js";import"./cHkD9nAc.js";import"./DFiy7ajR.js";import{bb as Mt}from"./Cu4EVTck.js";import"./MvsKYcnI.js";import"./D7UZpnOG.js";import{T as Nt}from"./CbcwGUfi.js";import"./CBlUgvul.js";import{M as Gt}from"./Ci_eRBar.js";import{V as qt}from"./CAsMvdwB.js";import{O as Et}from"./CRcvhCKH.js";import{bC as Lt,bA as Vt,aX as jt}from"./LZgSqmId.js";import{i as zt}from"./H2jLkRRS.js";var Kt=St("<!> <!>",1);function Ot(I,p){if(new.target)return pt({component:Ot,...I});$t(p,!0);const U=()=>h(et,"$workspace",l),P=()=>h(Q,"$ftChanges$",l),j=()=>h(Y,"$ftCommits$",l),W=()=>h(Z,"$foldUnchanged",l),R=()=>h(X,"$lineWrapping",l),T=()=>h(J,"$diffSideBySide",l),[l,z]=Pt(),K=t=>{qt(t,{embedded:!0,get foldEnabled(){return W()},onToggleFold:()=>u.dispatch(Tt()),get wrapEnabled(){return R()},onToggleWrap:()=>u.dispatch(Rt()),get splitEnabled(){return T()},onToggleSplit:()=>u.dispatch(Wt())})},O=t=>{var e=Kt(),r=_(e);{let m=i(()=>vt.layout_diffHeader_goToFile_tooltip());wt(r,()=>Gt,(y,ht)=>{ht(y,{get icon(){return Mt},get label(){return n(m)},onclick:Xt=>ft()})})}var s=yt(r,2);{var d=m=>{Et(m,{get filePath(){return n($)},get workspaceId(){return o()},isDirectory:!1,embedded:!0,get workspaceFolderPath(){return n(v)}})};q(s,m=>{n($)&&m(d)})}w(t,e)},X=Lt(),Z=Vt(),J=jt();let a=S(p,"tab",7),o=S(p,"workspaceId",7),b=S(p,"isActive",7);const C=Bt(()=>o()),Q=Ft(C),Y=Ht(C),tt=new Set([f.Committed,f.Pushed,f.PullRequest,f.Merged,f.Trunk]),D=At(),et=xt(C),nt=i(()=>U()?.worktreePath||U()?.repositoryPath||void 0);E(()=>{const t=o();if(!(!b()||!t||n(c)))return u.dispatch(It(t,"all")),()=>u.dispatch(Ut(t,"all"))});const c=i(()=>a().data?.gitRootId),A=i(()=>a().data?.gitRootPath),v=i(()=>n(A)||n(nt)),$=i(()=>a().diffPath&&n(v)?zt(a().diffPath)?a().diffPath:`${n(v)}/${a().diffPath}`:null);function F(t,e){return!!(t.file===e||t.relativePath===e||t.relativePath&&e.endsWith("/"+t.relativePath)||t.file&&e.endsWith("/"+t.file)||t.relativePath&&t.relativePath.endsWith("/"+e)||t.file&&t.file.endsWith("/"+e))}function H(t){return!t||n(c)?null:P().find(e=>F(e,t)&&(e.stage==="staged"||e.stage==="unstaged"))??null}function at(t){if(!t||n(c))return null;let e=null,r=-1/0;for(const s of P()){if(!F(s,t)||!tt.has(s.stage)||!s.commitHash)continue;const d=s.attribution?.timestamp??0;d>=r&&(e=s,r=d)}return e}function it(t,e){return!!(t===e||e.endsWith("/"+t)||t.endsWith("/"+e))}function rt(t){if(!t||n(c))return null;for(const e of j())if(e?.hash&&e.files?.some(r=>r?.path&&it(r.path,t)))return{id:`diff-${t}-${e.hash}`,file:t,relativePath:t,status:"modified",stage:f.Committed,commitHash:e.hash,stats:{additions:0,deletions:0},attribution:{timestamp:e.timestamp??Date.now()}};return null}const x=i(()=>a().diffPath?H(a().diffPath):null),st=i(()=>{if(!a().diffPath)return 0;const t=H(a().diffPath),e=P().length;if(t){const r=t.stage==="staged"?1:t.stage==="unstaged"?2:3,s=(t.stats?.additions||0)+(t.stats?.deletions||0),d=t.attribution?.timestamp?t.attribution.timestamp%1e5:0;return r*1e6+s*1e3+d+e}return e}),g=i(()=>a().data?.change),M=i(()=>a().data?.branchBaseRef),N=i(()=>a().data?.branchBaseCommitSha),ot=i(()=>!!(n(M)||n(N))),k=i(()=>{if(n(g)?.commitHash)return n(g);if(n(x))return n(x);if(n(ot)&&n(g))return n(g);const t=at(a().diffPath??null);if(t)return t;const e=rt(a().diffPath??null);return e||(n(g)?n(g):{id:`diff-${a().diffPath}`,file:a().diffPath||"",relativePath:a().diffPath||"",status:"modified",stage:f.Unstaged,stats:{additions:0,deletions:0},attribution:{timestamp:Date.now()}})});function ft(t){if(!a().diffPath)return;const r={type:"file",title:a().diffPath.split("/").pop()||a().diffPath,closable:!0,filePath:n($)||a().diffPath,workspaceId:o()};u.dispatch(Dt(o(),r))}E(()=>{!D||!b()||D.registerActions({display:K,actions:O})});function dt(t,e){u.dispatch(V(o(),crypto.randomUUID(),{kind:"stageHunk",filePath:t,hunkPatch:e,source:"diff"}))}function ut(t,e){u.dispatch(V(o(),crypto.randomUUID(),{kind:"unstageHunk",filePath:t,hunkPatch:e,source:"diff"}))}var ct={get tab(){return a()},set tab(t){a(t),B()},get workspaceId(){return o()},set workspaceId(t){o(t),B()},get isActive(){return b()},set isActive(t){b(t),B()},$set:bt,$on:(t,e)=>Ct(p,t,e)},G=L(),mt=_(G);{var lt=t=>{var e=L(),r=_(e);_t(r,()=>a().diffPath,s=>{{let d=i(()=>T()?"split":"unified"),m=i(()=>!n(c)&&n(k).stage===f.Unstaged?dt:void 0),y=i(()=>!n(c)&&n(k).stage===f.Staged?ut:void 0);Nt(s,{get active(){return b()},get change(){return n(k)},get workspaceId(){return o()},get viewMode(){return n(d)},get foldUnchanged(){return W()},get lineWrapping(){return R()},get refreshKey(){return n(st)},get branchBaseRef(){return n(M)},get branchBaseCommitSha(){return n(N)},get gitRootId(){return n(c)},get gitRootPath(){return n(A)},get onStageHunk(){return n(m)},get onUnstageHunk(){return n(y)}})}}),w(t,e)};q(mt,t=>{a().diffPath&&t(lt)})}w(I,G);var gt=kt(ct);return z(),gt}export{Ot as default};
1
+ import{t as pt,bq as S,a_ as q,by as bt,bs as Pt,b as Ct,bo as vt,bu as h}from"./CiieX7lJ.js";import{bs as $t,ca as E,aD as n,c9 as i,a7 as L,ay as _,W as w,bn as kt,bS as yt,aA as B,aB as St}from"./B8o4lNgr.js";import{B as _t}from"./BkR4V1cF.js";import{c as wt}from"./BYsuIPWO.js";import{aU as Bt}from"./DZOobfUN.js";import{G2 as u,ei as It,ej as Ut,Gz as Wt,GN as Rt,GE as Tt,t3 as Dt,mZ as V}from"./DScTb8GR.js";import{g as At}from"./CoSk1zgY.js";import{bx as Ft,bz as Ht,dj as xt}from"./D8P_sRVN.js";import{C as f}from"./DypB-Dwi.js";import"./CmoN_TBo.js";import"./cHkD9nAc.js";import"./DFiy7ajR.js";import{bb as Mt}from"./Cu4EVTck.js";import"./MvsKYcnI.js";import"./lPZVVuHr.js";import{T as Nt}from"./BdyPjVZK.js";import"./CBlUgvul.js";import{M as Gt}from"./Ci_eRBar.js";import{V as qt}from"./CAsMvdwB.js";import{O as Et}from"./CThN_Nux.js";import{bC as Lt,bA as Vt,aX as jt}from"./PoUwsq35.js";import{i as zt}from"./H2jLkRRS.js";var Kt=St("<!> <!>",1);function Ot(I,p){if(new.target)return pt({component:Ot,...I});$t(p,!0);const U=()=>h(et,"$workspace",l),P=()=>h(Q,"$ftChanges$",l),j=()=>h(Y,"$ftCommits$",l),W=()=>h(Z,"$foldUnchanged",l),R=()=>h(X,"$lineWrapping",l),T=()=>h(J,"$diffSideBySide",l),[l,z]=Pt(),K=t=>{qt(t,{embedded:!0,get foldEnabled(){return W()},onToggleFold:()=>u.dispatch(Tt()),get wrapEnabled(){return R()},onToggleWrap:()=>u.dispatch(Rt()),get splitEnabled(){return T()},onToggleSplit:()=>u.dispatch(Wt())})},O=t=>{var e=Kt(),r=_(e);{let m=i(()=>vt.layout_diffHeader_goToFile_tooltip());wt(r,()=>Gt,(y,ht)=>{ht(y,{get icon(){return Mt},get label(){return n(m)},onclick:Xt=>ft()})})}var s=yt(r,2);{var d=m=>{Et(m,{get filePath(){return n($)},get workspaceId(){return o()},isDirectory:!1,embedded:!0,get workspaceFolderPath(){return n(v)}})};q(s,m=>{n($)&&m(d)})}w(t,e)},X=Lt(),Z=Vt(),J=jt();let a=S(p,"tab",7),o=S(p,"workspaceId",7),b=S(p,"isActive",7);const C=Bt(()=>o()),Q=Ft(C),Y=Ht(C),tt=new Set([f.Committed,f.Pushed,f.PullRequest,f.Merged,f.Trunk]),D=At(),et=xt(C),nt=i(()=>U()?.worktreePath||U()?.repositoryPath||void 0);E(()=>{const t=o();if(!(!b()||!t||n(c)))return u.dispatch(It(t,"all")),()=>u.dispatch(Ut(t,"all"))});const c=i(()=>a().data?.gitRootId),A=i(()=>a().data?.gitRootPath),v=i(()=>n(A)||n(nt)),$=i(()=>a().diffPath&&n(v)?zt(a().diffPath)?a().diffPath:`${n(v)}/${a().diffPath}`:null);function F(t,e){return!!(t.file===e||t.relativePath===e||t.relativePath&&e.endsWith("/"+t.relativePath)||t.file&&e.endsWith("/"+t.file)||t.relativePath&&t.relativePath.endsWith("/"+e)||t.file&&t.file.endsWith("/"+e))}function H(t){return!t||n(c)?null:P().find(e=>F(e,t)&&(e.stage==="staged"||e.stage==="unstaged"))??null}function at(t){if(!t||n(c))return null;let e=null,r=-1/0;for(const s of P()){if(!F(s,t)||!tt.has(s.stage)||!s.commitHash)continue;const d=s.attribution?.timestamp??0;d>=r&&(e=s,r=d)}return e}function it(t,e){return!!(t===e||e.endsWith("/"+t)||t.endsWith("/"+e))}function rt(t){if(!t||n(c))return null;for(const e of j())if(e?.hash&&e.files?.some(r=>r?.path&&it(r.path,t)))return{id:`diff-${t}-${e.hash}`,file:t,relativePath:t,status:"modified",stage:f.Committed,commitHash:e.hash,stats:{additions:0,deletions:0},attribution:{timestamp:e.timestamp??Date.now()}};return null}const x=i(()=>a().diffPath?H(a().diffPath):null),st=i(()=>{if(!a().diffPath)return 0;const t=H(a().diffPath),e=P().length;if(t){const r=t.stage==="staged"?1:t.stage==="unstaged"?2:3,s=(t.stats?.additions||0)+(t.stats?.deletions||0),d=t.attribution?.timestamp?t.attribution.timestamp%1e5:0;return r*1e6+s*1e3+d+e}return e}),g=i(()=>a().data?.change),M=i(()=>a().data?.branchBaseRef),N=i(()=>a().data?.branchBaseCommitSha),ot=i(()=>!!(n(M)||n(N))),k=i(()=>{if(n(g)?.commitHash)return n(g);if(n(x))return n(x);if(n(ot)&&n(g))return n(g);const t=at(a().diffPath??null);if(t)return t;const e=rt(a().diffPath??null);return e||(n(g)?n(g):{id:`diff-${a().diffPath}`,file:a().diffPath||"",relativePath:a().diffPath||"",status:"modified",stage:f.Unstaged,stats:{additions:0,deletions:0},attribution:{timestamp:Date.now()}})});function ft(t){if(!a().diffPath)return;const r={type:"file",title:a().diffPath.split("/").pop()||a().diffPath,closable:!0,filePath:n($)||a().diffPath,workspaceId:o()};u.dispatch(Dt(o(),r))}E(()=>{!D||!b()||D.registerActions({display:K,actions:O})});function dt(t,e){u.dispatch(V(o(),crypto.randomUUID(),{kind:"stageHunk",filePath:t,hunkPatch:e,source:"diff"}))}function ut(t,e){u.dispatch(V(o(),crypto.randomUUID(),{kind:"unstageHunk",filePath:t,hunkPatch:e,source:"diff"}))}var ct={get tab(){return a()},set tab(t){a(t),B()},get workspaceId(){return o()},set workspaceId(t){o(t),B()},get isActive(){return b()},set isActive(t){b(t),B()},$set:bt,$on:(t,e)=>Ct(p,t,e)},G=L(),mt=_(G);{var lt=t=>{var e=L(),r=_(e);_t(r,()=>a().diffPath,s=>{{let d=i(()=>T()?"split":"unified"),m=i(()=>!n(c)&&n(k).stage===f.Unstaged?dt:void 0),y=i(()=>!n(c)&&n(k).stage===f.Staged?ut:void 0);Nt(s,{get active(){return b()},get change(){return n(k)},get workspaceId(){return o()},get viewMode(){return n(d)},get foldUnchanged(){return W()},get lineWrapping(){return R()},get refreshKey(){return n(st)},get branchBaseRef(){return n(M)},get branchBaseCommitSha(){return n(N)},get gitRootId(){return n(c)},get gitRootPath(){return n(A)},get onStageHunk(){return n(m)},get onUnstageHunk(){return n(y)}})}}),w(t,e)};q(mt,t=>{a().diffPath&&t(lt)})}w(I,G);var gt=kt(ct);return z(),gt}export{Ot as default};
@@ -1,2 +1,2 @@
1
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/R48o2LFj.js","/app/immutable/chunks/DScTb8GR.js","/app/immutable/chunks/CjSUqH7t.js","/app/immutable/chunks/B8o4lNgr.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/D5B1sycf.js","/app/immutable/chunks/DVkfuwKw.js","/app/immutable/chunks/CpHIRYx9.js","/app/immutable/chunks/DFiy7ajR.js","/app/immutable/chunks/CiieX7lJ.js","/app/immutable/chunks/BkR4V1cF.js","/app/immutable/chunks/CSwi3ilf.js","/app/immutable/chunks/CR2KEzOv.js"])))=>i.map(i=>d[i]);
2
- import{t as Xt,bq as J,a_ as T,by as Kt,bu as D,bs as Gt,b as Nt,bo as o,_ as Qt}from"./CiieX7lJ.js";import{bs as Yt,ca as S,bH as U,c5 as ft,aD as Z,bj as Jt,a5 as A,bS as p,bA as F,b_ as b,W as h,bn as Zt,cd as tt,bV as _t,c9 as te,aA as et,bl as E,bO as y,ay as vt,aB as k}from"./B8o4lNgr.js";import{k as xt,l as ee}from"./cHkD9nAc.js";import{b as re}from"./D2g8BuR1.js";import{b as se}from"./Bsxt04FP.js";import{G2 as u,z$ as ae,zR as ne,zQ as oe,FY as ie,zC as le,hI as ce,i3 as ue}from"./DScTb8GR.js";import{a as de,T as pe,D as me,L as fe,o as _e}from"./D_uejvO_.js";import{F as rt,cT as ve,c2 as xe,cP as he}from"./Cu4EVTck.js";import{f as ht}from"./MvsKYcnI.js";import{n as G}from"./Bn-T0dS6.js";import"./DFiy7ajR.js";import"./ChTqQfQN.js";import"./Ck1S-wvb.js";import{r as ge}from"./fLx2F21_.js";import{selectScriptById as st,selectScriptRuntime as be,selectScriptOutput as gt,selectScriptRetainedOutput as ye,selectCanDeleteScript as bt}from"./CHzxYGKx.js";import{f as ke}from"./Wwci9Xqf.js";import{bP as $e,dE as we,df as yt}from"./D8P_sRVN.js";import"./B7tGjRid.js";import"./BA63tGX8.js";import"./BsIC5g2I.js";import{c as Se}from"./8TCgRigb.js";var kt=k("<!> ",1),Ae=k('<div class="bg-danger-background/20 border-y border-danger/20 px-3 py-1.5 flex items-center justify-between"><div class="flex items-center gap-2 text-sm text-danger font-medium"><div class="w-4 h-4 rounded-full bg-danger-background flex items-center justify-center"><!></div> <span> </span></div> <!></div>'),Fe=k('<pre class="retained-text px-3 pb-3 text-xs svelte-115p4sl"> </pre>'),Ce=k('<p class="px-3 pb-3 text-xs text-muted-foreground" role="status"> </p>'),Oe=k('<details class="retained-output border-b border-border svelte-115p4sl"><summary class="cursor-pointer px-3 py-2 text-xs text-muted-foreground"> </summary> <p class="px-3 pb-2 text-xs text-muted-foreground"> </p> <!></details>'),Re=k('<div class="px-3 py-1 text-xs text-muted-foreground"> </div>'),Ie=k('<code class="text-muted-foreground font-mono text-xs"> </code>'),Le=k('<div class="flex-1 flex items-center justify-center px-4 py-8"><div class="flex items-center gap-3 text-sm"><span class="text-subtle font-mono">$</span> <!> <!></div></div>'),ze=k('<div><!> <!> <!> <!> <div><div class="xterm-output svelte-115p4sl"></div></div></div>');function Te(f,m){if(new.target)return Xt({component:Te,...f});Yt(m,!0);const H=()=>D(It,"$outputAuthority",O),i=()=>D(At,"$runtime$",O),_=()=>D(Ft,"$output$",O),C=()=>D(Rt,"$codeFontFamilyCSS",O),P=()=>D(Ct,"$retainedOutput$",O),$t=()=>D(Ot,"$hidesAgentLifecycleActions$",O),at=()=>D(St,"$script$",O),[O,wt]=Gt();let $=J(m,"scriptId",7),v=J(m,"workspaceId",7),N=J(m,"class",7,"");const R=tt(""),B=tt(""),nt=tt("");let Q=_t(!1);S(()=>R.set(v())),S(()=>B.set($()));let I,n=null,M=null,V=null,W=null,L=null,j=null;const St=st(R,B),At=be(R,B),Ft=gt(R,B),Ct=ye(R,B,nt),Ot=$e(R),Rt=ke(),It=we(R),ot=crypto.randomUUID();S(()=>{const t=v();return $(),()=>{t&&u.dispatch(ae(t,ot))}}),S(()=>{const t=v(),e=$(),s=H(),r=i();if(!s||!t||!e)return;r.status,r.startedAt;const l=crypto.randomUUID();return nt.set(l),U(Q,ft(()=>_().chunks.length===0),!0),u.dispatch(ne(t,e,l)),()=>u.dispatch(oe(t,e,l))});let X=_t(0);const Lt=te(()=>i().status==="exited"&&i().exitCode!=null&&i().exitCode!==0&&i().exitCode<128);function zt(){if(!I||n)return;W=new pe(I);const t=W.getCurrentTheme();n=new me({allowProposedApi:!0,fontFamily:C(),fontSize:13,lineHeight:1.2,letterSpacing:0,cursorBlink:!1,cursorStyle:"underline",cursorWidth:1,scrollback:1e4,allowTransparency:!0,convertEol:!0,disableStdin:!0,drawBoldTextInBrightColors:!0,theme:t}),n.attachCustomKeyEventHandler(s=>{const r=s.metaKey||s.ctrlKey;return!(r&&s.key==="`"||r&&s.key==="j"||r&&s.key==="k")}),M=new _e,n.loadAddon(M);const e=new fe((s,r)=>{try{const l=new URL(r);l.hostname==="localhost"||l.hostname==="127.0.0.1"?ge(r).then(g=>{Qt(async()=>{const{getPanelLayoutManager:c}=await import("./R48o2LFj.js").then(x=>x.p);return{getPanelLayoutManager:c}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12]),import.meta.url).then(({getPanelLayoutManager:c})=>{c(v()).openBrowserPanel(g.url,void 0,void 0,g.requestedUrl)}).catch(()=>{window.open(g.url,"_blank")})}):window.open(r,"_blank")}catch{window.open(r,"_blank")}});n.loadAddon(e),n.open(I),W.applyTheme(n),j=requestAnimationFrame(()=>{j=null,M?.fit()}),V=new ResizeObserver(()=>{M?.fit()}),V.observe(I),Tt()}function Tt(){if(!n)return;const t=gt.select(u.state,v(),$());t.chunks.length>0&&n.write(t.chunks.map(e=>e.text).join("")),U(X,t.dropped+t.chunks.length)}function it(){L!==null&&(cancelAnimationFrame(L),L=null),j!==null&&(cancelAnimationFrame(j),j=null),V?.disconnect(),V=null,W?.dispose(),W=null;const t=n;n=null,M=null,U(X,0),t&&de(t)}S(()=>{const t=_(),e=ft(()=>Z(X)),s=t.dropped+t.chunks.length;if(!n||s<=e)return;const r=Math.max(e-t.dropped,0);n.write(t.chunks.slice(r).map(l=>l.text).join("")),U(X,s)}),S(()=>{const t=C();n&&n.options.fontFamily!==t&&(n.options.fontFamily=t)});function Dt(){u.dispatch(ie(v(),$()))}function Et(){if(!v()){G.error(o.terminal_scriptOutput_noWorkspace_error());return}u.dispatch(ce(v(),$(),P()?.text,ot))}S(()=>{i().status==="idle"&&_().chunks.length===0&&it()}),S(()=>{!(i().status==="idle"&&_().chunks.length===0)&&I&&!n&&(L!==null&&cancelAnimationFrame(L),L=requestAnimationFrame(()=>{L=null,zt()}))}),Jt(()=>{it()});var Pt={get scriptId(){return $()},set scriptId(t){$(t),et()},get workspaceId(){return v()},set workspaceId(t){v(t),et()},get class(){return N()},set class(t=""){N(t),et()},$set:Kt,$on:(t,e)=>Nt(m,t,e)},K=ze(),lt=A(K);{var qt=t=>{var e=Ae(),s=A(e),r=A(s),l=A(r);rt(l,{get icon(){return ve},size:"xs"}),F(r);var g=p(r,2),c=E(g,!0);F(s);var x=p(s,2);{var w=a=>{ht(a,{variant:"outline",size:"sm",class:"h-7 text-xs bg-background border border-border text-danger",onclick:Et,children:(d,z)=>{var q=kt(),mt=vt(q);rt(mt,{get icon(){return he},size:"sm",class:"mr-1.5"});var Ht=p(mt);b(Vt=>y(Ht,` ${Vt??""}`),[()=>o.terminal_scriptOutput_askAiToFix_label()]),h(d,q)},$$slots:{default:!0}})};T(x,a=>{$t()||a(w)})}F(e),b(a=>y(c,a),[()=>o.terminal_scriptOutput_buildFailed_label({exitCode:i().exitCode??0})]),h(t,e)};T(lt,t=>{Z(Lt)&&t(qt)})}var ct=p(lt,2);{var Bt=t=>{var e=Oe(),s=A(e),r=E(s,!0),l=p(s,2),g=E(l,!0),c=p(l,2);{var x=a=>{var d=Fe();let z;var q=E(d,!0);b(()=>{z=ee(d,"",z,{"font-family":C()}),y(q,P().text)}),h(a,d)},w=a=>{var d=Ce(),z=E(d,!0);b(q=>y(z,q),[()=>P().status==="loading"?o.terminal_scriptOutput_retainedLoading_label():o.terminal_scriptOutput_retainedUnavailable_label()]),h(a,d)};T(c,a=>{P().status==="available"?a(x):a(w,-1)})}F(e),b((a,d)=>{y(r,a),y(g,d)},[()=>o.terminal_scriptOutput_retained_label(),()=>o.terminal_scriptOutput_retained_description()]),se("open","toggle",e,a=>U(Q,a),()=>Z(Q)),h(t,e)};T(ct,t=>{P()&&t(Bt)})}var ut=p(ct,2);{var Mt=t=>{var e=Re(),s=E(e,!0);b(r=>y(s,r),[()=>o.terminal_scriptOutput_live_label()]),h(t,e)};T(ut,t=>{_().chunks.length>0&&P()&&t(Mt)})}var dt=p(ut,2);{var Wt=t=>{var e=Le(),s=A(e),r=p(A(s),2);{var l=c=>{var x=Ie(),w=E(x,!0);b(a=>y(w,a),[()=>le(at())]),h(c,x)};T(r,c=>{at()&&c(l)})}var g=p(r,2);ht(g,{variant:"ghost",size:"xs",onclick:Dt,class:"text-muted-foreground hover:text-foreground",children:(c,x)=>{var w=kt(),a=vt(w);rt(a,{get icon(){return xe},class:"h-3 w-3 mr-1"});var d=p(a);b(z=>y(d,` ${z??""}`),[()=>o.terminal_scriptOutput_run_label()]),h(c,w)},$$slots:{default:!0}}),F(s),F(e),h(t,e)};T(dt,t=>{i().status==="idle"&&_().chunks.length===0&&t(Wt)})}var Y=p(dt,2);let pt;var jt=A(Y);re(jt,t=>I=t,()=>I),F(Y),F(K),b(()=>{xt(K,1,`script-output-viewer ${N()??""}`,"svelte-115p4sl"),pt=xt(Y,1,"flex-1 relative overflow-hidden",null,pt,{hidden:i().status==="idle"&&_().chunks.length===0})}),h(f,K);var Ut=Zt(Pt);return wt(),Ut}async function rr(f,m,H){const i=st.select(u.state,f,m);if(!i||!H()||!bt.select(u.state,f,m))return;const _=yt.select(u.state,f);if(!_){G.error(o.workspace_client_accessChanged_error());return}if(!await Se({title:o.scripts_delete_title({name:i.name}),description:o.scripts_delete_description(),confirmLabel:o.scripts_delete_label(),destructive:!0}))return;if(_!==yt.select(u.state,f)){G.error(o.workspace_client_accessChanged_error());return}const C=st.select(u.state,f,m);if(!H()||!C||C.createdAt!==i.createdAt||C.name!==i.name||!bt.select(u.state,f,m)){G.error(o.scripts_delete_changed_error());return}u.dispatch(ue(f,m,o.terminal_quakeOverlay_deleteScriptFailed_error()))}export{Te as S,rr as c};
2
+ import{t as Xt,bq as J,a_ as T,by as Kt,bu as D,bs as Gt,b as Nt,bo as o,_ as Qt}from"./CiieX7lJ.js";import{bs as Yt,ca as S,bH as U,c5 as ft,aD as Z,bj as Jt,a5 as A,bS as p,bA as F,b_ as b,W as h,bn as Zt,cd as tt,bV as _t,c9 as te,aA as et,bl as E,bO as y,ay as vt,aB as k}from"./B8o4lNgr.js";import{k as xt,l as ee}from"./cHkD9nAc.js";import{b as re}from"./D2g8BuR1.js";import{b as se}from"./Bsxt04FP.js";import{G2 as u,z$ as ae,zR as ne,zQ as oe,FY as ie,zC as le,hI as ce,i3 as ue}from"./DScTb8GR.js";import{a as de,T as pe,D as me,L as fe,o as _e}from"./D_uejvO_.js";import{F as rt,cT as ve,c2 as xe,cP as he}from"./Cu4EVTck.js";import{f as ht}from"./MvsKYcnI.js";import{n as G}from"./Bn-T0dS6.js";import"./DFiy7ajR.js";import"./ChTqQfQN.js";import"./Ck1S-wvb.js";import{r as ge}from"./fLx2F21_.js";import{selectScriptById as st,selectScriptRuntime as be,selectScriptOutput as gt,selectScriptRetainedOutput as ye,selectCanDeleteScript as bt}from"./cKydO3Qt.js";import{f as ke}from"./Wwci9Xqf.js";import{bP as $e,dE as we,df as yt}from"./D8P_sRVN.js";import"./B7tGjRid.js";import"./BA63tGX8.js";import"./BsIC5g2I.js";import{c as Se}from"./8TCgRigb.js";var kt=k("<!> ",1),Ae=k('<div class="bg-danger-background/20 border-y border-danger/20 px-3 py-1.5 flex items-center justify-between"><div class="flex items-center gap-2 text-sm text-danger font-medium"><div class="w-4 h-4 rounded-full bg-danger-background flex items-center justify-center"><!></div> <span> </span></div> <!></div>'),Fe=k('<pre class="retained-text px-3 pb-3 text-xs svelte-115p4sl"> </pre>'),Ce=k('<p class="px-3 pb-3 text-xs text-muted-foreground" role="status"> </p>'),Oe=k('<details class="retained-output border-b border-border svelte-115p4sl"><summary class="cursor-pointer px-3 py-2 text-xs text-muted-foreground"> </summary> <p class="px-3 pb-2 text-xs text-muted-foreground"> </p> <!></details>'),Re=k('<div class="px-3 py-1 text-xs text-muted-foreground"> </div>'),Ie=k('<code class="text-muted-foreground font-mono text-xs"> </code>'),Le=k('<div class="flex-1 flex items-center justify-center px-4 py-8"><div class="flex items-center gap-3 text-sm"><span class="text-subtle font-mono">$</span> <!> <!></div></div>'),ze=k('<div><!> <!> <!> <!> <div><div class="xterm-output svelte-115p4sl"></div></div></div>');function Te(f,m){if(new.target)return Xt({component:Te,...f});Yt(m,!0);const H=()=>D(It,"$outputAuthority",O),i=()=>D(At,"$runtime$",O),_=()=>D(Ft,"$output$",O),C=()=>D(Rt,"$codeFontFamilyCSS",O),P=()=>D(Ct,"$retainedOutput$",O),$t=()=>D(Ot,"$hidesAgentLifecycleActions$",O),at=()=>D(St,"$script$",O),[O,wt]=Gt();let $=J(m,"scriptId",7),v=J(m,"workspaceId",7),N=J(m,"class",7,"");const R=tt(""),B=tt(""),nt=tt("");let Q=_t(!1);S(()=>R.set(v())),S(()=>B.set($()));let I,n=null,M=null,V=null,W=null,L=null,j=null;const St=st(R,B),At=be(R,B),Ft=gt(R,B),Ct=ye(R,B,nt),Ot=$e(R),Rt=ke(),It=we(R),ot=crypto.randomUUID();S(()=>{const t=v();return $(),()=>{t&&u.dispatch(ae(t,ot))}}),S(()=>{const t=v(),e=$(),s=H(),r=i();if(!s||!t||!e)return;r.status,r.startedAt;const l=crypto.randomUUID();return nt.set(l),U(Q,ft(()=>_().chunks.length===0),!0),u.dispatch(ne(t,e,l)),()=>u.dispatch(oe(t,e,l))});let X=_t(0);const Lt=te(()=>i().status==="exited"&&i().exitCode!=null&&i().exitCode!==0&&i().exitCode<128);function zt(){if(!I||n)return;W=new pe(I);const t=W.getCurrentTheme();n=new me({allowProposedApi:!0,fontFamily:C(),fontSize:13,lineHeight:1.2,letterSpacing:0,cursorBlink:!1,cursorStyle:"underline",cursorWidth:1,scrollback:1e4,allowTransparency:!0,convertEol:!0,disableStdin:!0,drawBoldTextInBrightColors:!0,theme:t}),n.attachCustomKeyEventHandler(s=>{const r=s.metaKey||s.ctrlKey;return!(r&&s.key==="`"||r&&s.key==="j"||r&&s.key==="k")}),M=new _e,n.loadAddon(M);const e=new fe((s,r)=>{try{const l=new URL(r);l.hostname==="localhost"||l.hostname==="127.0.0.1"?ge(r).then(g=>{Qt(async()=>{const{getPanelLayoutManager:c}=await import("./R48o2LFj.js").then(x=>x.p);return{getPanelLayoutManager:c}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12]),import.meta.url).then(({getPanelLayoutManager:c})=>{c(v()).openBrowserPanel(g.url,void 0,void 0,g.requestedUrl)}).catch(()=>{window.open(g.url,"_blank")})}):window.open(r,"_blank")}catch{window.open(r,"_blank")}});n.loadAddon(e),n.open(I),W.applyTheme(n),j=requestAnimationFrame(()=>{j=null,M?.fit()}),V=new ResizeObserver(()=>{M?.fit()}),V.observe(I),Tt()}function Tt(){if(!n)return;const t=gt.select(u.state,v(),$());t.chunks.length>0&&n.write(t.chunks.map(e=>e.text).join("")),U(X,t.dropped+t.chunks.length)}function it(){L!==null&&(cancelAnimationFrame(L),L=null),j!==null&&(cancelAnimationFrame(j),j=null),V?.disconnect(),V=null,W?.dispose(),W=null;const t=n;n=null,M=null,U(X,0),t&&de(t)}S(()=>{const t=_(),e=ft(()=>Z(X)),s=t.dropped+t.chunks.length;if(!n||s<=e)return;const r=Math.max(e-t.dropped,0);n.write(t.chunks.slice(r).map(l=>l.text).join("")),U(X,s)}),S(()=>{const t=C();n&&n.options.fontFamily!==t&&(n.options.fontFamily=t)});function Dt(){u.dispatch(ie(v(),$()))}function Et(){if(!v()){G.error(o.terminal_scriptOutput_noWorkspace_error());return}u.dispatch(ce(v(),$(),P()?.text,ot))}S(()=>{i().status==="idle"&&_().chunks.length===0&&it()}),S(()=>{!(i().status==="idle"&&_().chunks.length===0)&&I&&!n&&(L!==null&&cancelAnimationFrame(L),L=requestAnimationFrame(()=>{L=null,zt()}))}),Jt(()=>{it()});var Pt={get scriptId(){return $()},set scriptId(t){$(t),et()},get workspaceId(){return v()},set workspaceId(t){v(t),et()},get class(){return N()},set class(t=""){N(t),et()},$set:Kt,$on:(t,e)=>Nt(m,t,e)},K=ze(),lt=A(K);{var qt=t=>{var e=Ae(),s=A(e),r=A(s),l=A(r);rt(l,{get icon(){return ve},size:"xs"}),F(r);var g=p(r,2),c=E(g,!0);F(s);var x=p(s,2);{var w=a=>{ht(a,{variant:"outline",size:"sm",class:"h-7 text-xs bg-background border border-border text-danger",onclick:Et,children:(d,z)=>{var q=kt(),mt=vt(q);rt(mt,{get icon(){return he},size:"sm",class:"mr-1.5"});var Ht=p(mt);b(Vt=>y(Ht,` ${Vt??""}`),[()=>o.terminal_scriptOutput_askAiToFix_label()]),h(d,q)},$$slots:{default:!0}})};T(x,a=>{$t()||a(w)})}F(e),b(a=>y(c,a),[()=>o.terminal_scriptOutput_buildFailed_label({exitCode:i().exitCode??0})]),h(t,e)};T(lt,t=>{Z(Lt)&&t(qt)})}var ct=p(lt,2);{var Bt=t=>{var e=Oe(),s=A(e),r=E(s,!0),l=p(s,2),g=E(l,!0),c=p(l,2);{var x=a=>{var d=Fe();let z;var q=E(d,!0);b(()=>{z=ee(d,"",z,{"font-family":C()}),y(q,P().text)}),h(a,d)},w=a=>{var d=Ce(),z=E(d,!0);b(q=>y(z,q),[()=>P().status==="loading"?o.terminal_scriptOutput_retainedLoading_label():o.terminal_scriptOutput_retainedUnavailable_label()]),h(a,d)};T(c,a=>{P().status==="available"?a(x):a(w,-1)})}F(e),b((a,d)=>{y(r,a),y(g,d)},[()=>o.terminal_scriptOutput_retained_label(),()=>o.terminal_scriptOutput_retained_description()]),se("open","toggle",e,a=>U(Q,a),()=>Z(Q)),h(t,e)};T(ct,t=>{P()&&t(Bt)})}var ut=p(ct,2);{var Mt=t=>{var e=Re(),s=E(e,!0);b(r=>y(s,r),[()=>o.terminal_scriptOutput_live_label()]),h(t,e)};T(ut,t=>{_().chunks.length>0&&P()&&t(Mt)})}var dt=p(ut,2);{var Wt=t=>{var e=Le(),s=A(e),r=p(A(s),2);{var l=c=>{var x=Ie(),w=E(x,!0);b(a=>y(w,a),[()=>le(at())]),h(c,x)};T(r,c=>{at()&&c(l)})}var g=p(r,2);ht(g,{variant:"ghost",size:"xs",onclick:Dt,class:"text-muted-foreground hover:text-foreground",children:(c,x)=>{var w=kt(),a=vt(w);rt(a,{get icon(){return xe},class:"h-3 w-3 mr-1"});var d=p(a);b(z=>y(d,` ${z??""}`),[()=>o.terminal_scriptOutput_run_label()]),h(c,w)},$$slots:{default:!0}}),F(s),F(e),h(t,e)};T(dt,t=>{i().status==="idle"&&_().chunks.length===0&&t(Wt)})}var Y=p(dt,2);let pt;var jt=A(Y);re(jt,t=>I=t,()=>I),F(Y),F(K),b(()=>{xt(K,1,`script-output-viewer ${N()??""}`,"svelte-115p4sl"),pt=xt(Y,1,"flex-1 relative overflow-hidden",null,pt,{hidden:i().status==="idle"&&_().chunks.length===0})}),h(f,K);var Ut=Zt(Pt);return wt(),Ut}async function rr(f,m,H){const i=st.select(u.state,f,m);if(!i||!H()||!bt.select(u.state,f,m))return;const _=yt.select(u.state,f);if(!_){G.error(o.workspace_client_accessChanged_error());return}if(!await Se({title:o.scripts_delete_title({name:i.name}),description:o.scripts_delete_description(),confirmLabel:o.scripts_delete_label(),destructive:!0}))return;if(_!==yt.select(u.state,f)){G.error(o.workspace_client_accessChanged_error());return}const C=st.select(u.state,f,m);if(!H()||!C||C.createdAt!==i.createdAt||C.name!==i.name||!bt.select(u.state,f,m)){G.error(o.scripts_delete_changed_error());return}u.dispatch(ue(f,m,o.terminal_quakeOverlay_deleteScriptFailed_error()))}export{Te as S,rr as c};
@@ -1,4 +1,4 @@
1
- import{e as Le}from"./JQvt9PlE.js";import{c6 as Ie,aK as Me,aL as Be,c7 as Ve,f as d,aO as wt,bC as he,a6 as Ye,u as Fe,W as Dt,cf as Ue,c2 as be,c3 as Jt,cA as je,a4 as $t,V as de}from"./CyFUY7ZG.js";var Ut=(function(){var t=d(function(yt,g,x,E){for(x=x||{},E=yt.length;E--;x[yt[E]]=g);return x},"o"),e=[1,24],s=[1,25],a=[1,26],u=[1,27],i=[1,28],n=[1,63],l=[1,64],r=[1,65],h=[1,66],y=[1,67],f=[1,68],b=[1,69],v=[1,29],w=[1,30],N=[1,31],O=[1,32],P=[1,33],I=[1,34],W=[1,35],X=[1,36],q=[1,37],H=[1,38],Q=[1,39],K=[1,40],G=[1,41],J=[1,42],Z=[1,43],$=[1,44],tt=[1,45],et=[1,46],nt=[1,47],st=[1,48],rt=[1,50],at=[1,51],it=[1,52],ot=[1,53],lt=[1,54],ct=[1,55],ut=[1,56],ht=[1,57],dt=[1,58],pt=[1,59],ft=[1,60],Tt=[14,42],Wt=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Ot=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],S=[1,82],T=[1,83],k=[1,84],C=[1,85],R=[12,14,42],ie=[12,14,33,42],Mt=[12,14,33,42,76,77,79,80],mt=[12,33],Xt=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],qt={trace:d(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:d(function(g,x,E,_,D,o,Pt){var p=o.length-1;switch(D){case 3:_.setDirection("TB");break;case 4:_.setDirection("BT");break;case 5:_.setDirection("RL");break;case 6:_.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:_.setC4Type(o[p-3]);break;case 19:_.setTitle(o[p].substring(6)),this.$=o[p].substring(6);break;case 20:_.setAccDescription(o[p].substring(15)),this.$=o[p].substring(15);break;case 21:this.$=o[p].trim(),_.setTitle(this.$);break;case 22:case 23:this.$=o[p].trim(),_.setAccDescription(this.$);break;case 28:o[p].splice(2,0,"ENTERPRISE"),_.addPersonOrSystemBoundary(...o[p]),this.$=o[p];break;case 29:o[p].splice(2,0,"SYSTEM"),_.addPersonOrSystemBoundary(...o[p]),this.$=o[p];break;case 30:_.addPersonOrSystemBoundary(...o[p]),this.$=o[p];break;case 31:o[p].splice(2,0,"CONTAINER"),_.addContainerBoundary(...o[p]),this.$=o[p];break;case 32:_.addDeploymentNode("node",...o[p]),this.$=o[p];break;case 33:_.addDeploymentNode("nodeL",...o[p]),this.$=o[p];break;case 34:_.addDeploymentNode("nodeR",...o[p]),this.$=o[p];break;case 35:_.popBoundaryParseStack();break;case 39:_.addPersonOrSystem("person",...o[p]),this.$=o[p];break;case 40:_.addPersonOrSystem("external_person",...o[p]),this.$=o[p];break;case 41:_.addPersonOrSystem("system",...o[p]),this.$=o[p];break;case 42:_.addPersonOrSystem("system_db",...o[p]),this.$=o[p];break;case 43:_.addPersonOrSystem("system_queue",...o[p]),this.$=o[p];break;case 44:_.addPersonOrSystem("external_system",...o[p]),this.$=o[p];break;case 45:_.addPersonOrSystem("external_system_db",...o[p]),this.$=o[p];break;case 46:_.addPersonOrSystem("external_system_queue",...o[p]),this.$=o[p];break;case 47:_.addContainer("container",...o[p]),this.$=o[p];break;case 48:_.addContainer("container_db",...o[p]),this.$=o[p];break;case 49:_.addContainer("container_queue",...o[p]),this.$=o[p];break;case 50:_.addContainer("external_container",...o[p]),this.$=o[p];break;case 51:_.addContainer("external_container_db",...o[p]),this.$=o[p];break;case 52:_.addContainer("external_container_queue",...o[p]),this.$=o[p];break;case 53:_.addComponent("component",...o[p]),this.$=o[p];break;case 54:_.addComponent("component_db",...o[p]),this.$=o[p];break;case 55:_.addComponent("component_queue",...o[p]),this.$=o[p];break;case 56:_.addComponent("external_component",...o[p]),this.$=o[p];break;case 57:_.addComponent("external_component_db",...o[p]),this.$=o[p];break;case 58:_.addComponent("external_component_queue",...o[p]),this.$=o[p];break;case 60:_.addRel("rel",...o[p]),this.$=o[p];break;case 61:_.addRel("birel",...o[p]),this.$=o[p];break;case 62:_.addRel("rel_u",...o[p]),this.$=o[p];break;case 63:_.addRel("rel_d",...o[p]),this.$=o[p];break;case 64:_.addRel("rel_l",...o[p]),this.$=o[p];break;case 65:_.addRel("rel_r",...o[p]),this.$=o[p];break;case 66:_.addRel("rel_b",...o[p]),this.$=o[p];break;case 67:o[p].splice(0,1),_.addRel("rel",...o[p]),this.$=o[p];break;case 68:_.updateElStyle("update_el_style",...o[p]),this.$=o[p];break;case 69:_.updateRelStyle("update_rel_style",...o[p]),this.$=o[p];break;case 70:_.updateLayoutConfig("update_layout_config",...o[p]),this.$=o[p];break;case 71:this.$=[o[p]];break;case 72:o[p].unshift(o[p-1]),this.$=o[p];break;case 73:case 75:this.$=o[p].trim();break;case 74:let xt={};xt[o[p-1].trim()]=o[p].trim(),this.$=xt;break;case 76:this.$="";break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:e,23:s,24:a,26:u,28:i,29:49,30:61,32:62,34:n,36:l,37:r,38:h,39:y,40:f,41:b,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:W,51:X,52:q,53:H,54:Q,55:K,56:G,57:J,58:Z,59:$,60:tt,61:et,62:nt,63:st,64:rt,65:at,66:it,67:ot,68:lt,69:ct,70:ut,71:ht,72:dt,73:pt,74:ft},{13:70,19:20,20:21,21:22,22:e,23:s,24:a,26:u,28:i,29:49,30:61,32:62,34:n,36:l,37:r,38:h,39:y,40:f,41:b,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:W,51:X,52:q,53:H,54:Q,55:K,56:G,57:J,58:Z,59:$,60:tt,61:et,62:nt,63:st,64:rt,65:at,66:it,67:ot,68:lt,69:ct,70:ut,71:ht,72:dt,73:pt,74:ft},{13:71,19:20,20:21,21:22,22:e,23:s,24:a,26:u,28:i,29:49,30:61,32:62,34:n,36:l,37:r,38:h,39:y,40:f,41:b,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:W,51:X,52:q,53:H,54:Q,55:K,56:G,57:J,58:Z,59:$,60:tt,61:et,62:nt,63:st,64:rt,65:at,66:it,67:ot,68:lt,69:ct,70:ut,71:ht,72:dt,73:pt,74:ft},{13:72,19:20,20:21,21:22,22:e,23:s,24:a,26:u,28:i,29:49,30:61,32:62,34:n,36:l,37:r,38:h,39:y,40:f,41:b,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:W,51:X,52:q,53:H,54:Q,55:K,56:G,57:J,58:Z,59:$,60:tt,61:et,62:nt,63:st,64:rt,65:at,66:it,67:ot,68:lt,69:ct,70:ut,71:ht,72:dt,73:pt,74:ft},{13:73,19:20,20:21,21:22,22:e,23:s,24:a,26:u,28:i,29:49,30:61,32:62,34:n,36:l,37:r,38:h,39:y,40:f,41:b,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:W,51:X,52:q,53:H,54:Q,55:K,56:G,57:J,58:Z,59:$,60:tt,61:et,62:nt,63:st,64:rt,65:at,66:it,67:ot,68:lt,69:ct,70:ut,71:ht,72:dt,73:pt,74:ft},{14:[1,74]},t(Tt,[2,13],{43:23,29:49,30:61,32:62,20:75,34:n,36:l,37:r,38:h,39:y,40:f,41:b,44:v,45:w,46:N,47:O,48:P,49:I,50:W,51:X,52:q,53:H,54:Q,55:K,56:G,57:J,58:Z,59:$,60:tt,61:et,62:nt,63:st,64:rt,65:at,66:it,67:ot,68:lt,69:ct,70:ut,71:ht,72:dt,73:pt,74:ft}),t(Tt,[2,14]),t(Wt,[2,16],{12:[1,76]}),t(Tt,[2,36],{12:[1,77]}),t(Ot,[2,19]),t(Ot,[2,20]),{25:[1,78]},{27:[1,79]},t(Ot,[2,23]),{35:80,75:81,76:S,77:T,79:k,80:C},{35:86,75:81,76:S,77:T,79:k,80:C},{35:87,75:81,76:S,77:T,79:k,80:C},{35:88,75:81,76:S,77:T,79:k,80:C},{35:89,75:81,76:S,77:T,79:k,80:C},{35:90,75:81,76:S,77:T,79:k,80:C},{35:91,75:81,76:S,77:T,79:k,80:C},{35:92,75:81,76:S,77:T,79:k,80:C},{35:93,75:81,76:S,77:T,79:k,80:C},{35:94,75:81,76:S,77:T,79:k,80:C},{35:95,75:81,76:S,77:T,79:k,80:C},{35:96,75:81,76:S,77:T,79:k,80:C},{35:97,75:81,76:S,77:T,79:k,80:C},{35:98,75:81,76:S,77:T,79:k,80:C},{35:99,75:81,76:S,77:T,79:k,80:C},{35:100,75:81,76:S,77:T,79:k,80:C},{35:101,75:81,76:S,77:T,79:k,80:C},{35:102,75:81,76:S,77:T,79:k,80:C},{35:103,75:81,76:S,77:T,79:k,80:C},{35:104,75:81,76:S,77:T,79:k,80:C},t(R,[2,59]),{35:105,75:81,76:S,77:T,79:k,80:C},{35:106,75:81,76:S,77:T,79:k,80:C},{35:107,75:81,76:S,77:T,79:k,80:C},{35:108,75:81,76:S,77:T,79:k,80:C},{35:109,75:81,76:S,77:T,79:k,80:C},{35:110,75:81,76:S,77:T,79:k,80:C},{35:111,75:81,76:S,77:T,79:k,80:C},{35:112,75:81,76:S,77:T,79:k,80:C},{35:113,75:81,76:S,77:T,79:k,80:C},{35:114,75:81,76:S,77:T,79:k,80:C},{35:115,75:81,76:S,77:T,79:k,80:C},{20:116,29:49,30:61,32:62,34:n,36:l,37:r,38:h,39:y,40:f,41:b,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:W,51:X,52:q,53:H,54:Q,55:K,56:G,57:J,58:Z,59:$,60:tt,61:et,62:nt,63:st,64:rt,65:at,66:it,67:ot,68:lt,69:ct,70:ut,71:ht,72:dt,73:pt,74:ft},{12:[1,118],33:[1,117]},{35:119,75:81,76:S,77:T,79:k,80:C},{35:120,75:81,76:S,77:T,79:k,80:C},{35:121,75:81,76:S,77:T,79:k,80:C},{35:122,75:81,76:S,77:T,79:k,80:C},{35:123,75:81,76:S,77:T,79:k,80:C},{35:124,75:81,76:S,77:T,79:k,80:C},{35:125,75:81,76:S,77:T,79:k,80:C},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},t(Tt,[2,15]),t(Wt,[2,17],{21:22,19:130,22:e,23:s,24:a,26:u,28:i}),t(Tt,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:e,23:s,24:a,26:u,28:i,34:n,36:l,37:r,38:h,39:y,40:f,41:b,44:v,45:w,46:N,47:O,48:P,49:I,50:W,51:X,52:q,53:H,54:Q,55:K,56:G,57:J,58:Z,59:$,60:tt,61:et,62:nt,63:st,64:rt,65:at,66:it,67:ot,68:lt,69:ct,70:ut,71:ht,72:dt,73:pt,74:ft}),t(Ot,[2,21]),t(Ot,[2,22]),t(R,[2,39]),t(ie,[2,71],{75:81,35:132,76:S,77:T,79:k,80:C}),t(Mt,[2,73]),{78:[1,133]},t(Mt,[2,75]),t(Mt,[2,76]),t(R,[2,40]),t(R,[2,41]),t(R,[2,42]),t(R,[2,43]),t(R,[2,44]),t(R,[2,45]),t(R,[2,46]),t(R,[2,47]),t(R,[2,48]),t(R,[2,49]),t(R,[2,50]),t(R,[2,51]),t(R,[2,52]),t(R,[2,53]),t(R,[2,54]),t(R,[2,55]),t(R,[2,56]),t(R,[2,57]),t(R,[2,58]),t(R,[2,60]),t(R,[2,61]),t(R,[2,62]),t(R,[2,63]),t(R,[2,64]),t(R,[2,65]),t(R,[2,66]),t(R,[2,67]),t(R,[2,68]),t(R,[2,69]),t(R,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},t(mt,[2,28]),t(mt,[2,29]),t(mt,[2,30]),t(mt,[2,31]),t(mt,[2,32]),t(mt,[2,33]),t(mt,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},t(Wt,[2,18]),t(Tt,[2,38]),t(ie,[2,72]),t(Mt,[2,74]),t(R,[2,24]),t(R,[2,35]),t(Xt,[2,25]),t(Xt,[2,26],{12:[1,138]}),t(Xt,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:d(function(g,x){if(x.recoverable)this.trace(g);else{var E=new Error(g);throw E.hash=x,E}},"parseError"),parse:d(function(g){var x=this,E=[0],_=[],D=[null],o=[],Pt=this.table,p="",xt=0,oe=0,Pe=2,le=1,De=o.slice.call(arguments,1),A=Object.create(this.lexer),vt={yy:{}};for(var Ht in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ht)&&(vt.yy[Ht]=this.yy[Ht]);A.setInput(g,vt.yy),vt.yy.lexer=A,vt.yy.parser=this,typeof A.yylloc>"u"&&(A.yylloc={});var Qt=A.yylloc;o.push(Qt);var Ne=A.options&&A.options.ranges;typeof vt.yy.parseError=="function"?this.parseError=vt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ae(B){E.length=E.length-2*B,D.length=D.length-B,o.length=o.length-B}d(Ae,"popStack");function ce(){var B;return B=_.pop()||A.lex()||le,typeof B!="number"&&(B instanceof Array&&(_=B,B=_.pop()),B=x.symbols_[B]||B),B}d(ce,"lex");for(var M,Et,V,Kt,kt={},Vt,j,ue,Yt;;){if(Et=E[E.length-1],this.defaultActions[Et]?V=this.defaultActions[Et]:((M===null||typeof M>"u")&&(M=ce()),V=Pt[Et]&&Pt[Et][M]),typeof V>"u"||!V.length||!V[0]){var Gt="";Yt=[];for(Vt in Pt[Et])this.terminals_[Vt]&&Vt>Pe&&Yt.push("'"+this.terminals_[Vt]+"'");A.showPosition?Gt="Parse error on line "+(xt+1)+`:
1
+ import{e as Le}from"./CUZik8MY.js";import{c6 as Ie,aK as Me,aL as Be,c7 as Ve,f as d,aO as wt,bC as he,a6 as Ye,u as Fe,W as Dt,cf as Ue,c2 as be,c3 as Jt,cA as je,a4 as $t,V as de}from"./W0ohOtfo.js";var Ut=(function(){var t=d(function(yt,g,x,E){for(x=x||{},E=yt.length;E--;x[yt[E]]=g);return x},"o"),e=[1,24],s=[1,25],a=[1,26],u=[1,27],i=[1,28],n=[1,63],l=[1,64],r=[1,65],h=[1,66],y=[1,67],f=[1,68],b=[1,69],v=[1,29],w=[1,30],N=[1,31],O=[1,32],P=[1,33],I=[1,34],W=[1,35],X=[1,36],q=[1,37],H=[1,38],Q=[1,39],K=[1,40],G=[1,41],J=[1,42],Z=[1,43],$=[1,44],tt=[1,45],et=[1,46],nt=[1,47],st=[1,48],rt=[1,50],at=[1,51],it=[1,52],ot=[1,53],lt=[1,54],ct=[1,55],ut=[1,56],ht=[1,57],dt=[1,58],pt=[1,59],ft=[1,60],Tt=[14,42],Wt=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Ot=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],S=[1,82],T=[1,83],k=[1,84],C=[1,85],R=[12,14,42],ie=[12,14,33,42],Mt=[12,14,33,42,76,77,79,80],mt=[12,33],Xt=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],qt={trace:d(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:d(function(g,x,E,_,D,o,Pt){var p=o.length-1;switch(D){case 3:_.setDirection("TB");break;case 4:_.setDirection("BT");break;case 5:_.setDirection("RL");break;case 6:_.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:_.setC4Type(o[p-3]);break;case 19:_.setTitle(o[p].substring(6)),this.$=o[p].substring(6);break;case 20:_.setAccDescription(o[p].substring(15)),this.$=o[p].substring(15);break;case 21:this.$=o[p].trim(),_.setTitle(this.$);break;case 22:case 23:this.$=o[p].trim(),_.setAccDescription(this.$);break;case 28:o[p].splice(2,0,"ENTERPRISE"),_.addPersonOrSystemBoundary(...o[p]),this.$=o[p];break;case 29:o[p].splice(2,0,"SYSTEM"),_.addPersonOrSystemBoundary(...o[p]),this.$=o[p];break;case 30:_.addPersonOrSystemBoundary(...o[p]),this.$=o[p];break;case 31:o[p].splice(2,0,"CONTAINER"),_.addContainerBoundary(...o[p]),this.$=o[p];break;case 32:_.addDeploymentNode("node",...o[p]),this.$=o[p];break;case 33:_.addDeploymentNode("nodeL",...o[p]),this.$=o[p];break;case 34:_.addDeploymentNode("nodeR",...o[p]),this.$=o[p];break;case 35:_.popBoundaryParseStack();break;case 39:_.addPersonOrSystem("person",...o[p]),this.$=o[p];break;case 40:_.addPersonOrSystem("external_person",...o[p]),this.$=o[p];break;case 41:_.addPersonOrSystem("system",...o[p]),this.$=o[p];break;case 42:_.addPersonOrSystem("system_db",...o[p]),this.$=o[p];break;case 43:_.addPersonOrSystem("system_queue",...o[p]),this.$=o[p];break;case 44:_.addPersonOrSystem("external_system",...o[p]),this.$=o[p];break;case 45:_.addPersonOrSystem("external_system_db",...o[p]),this.$=o[p];break;case 46:_.addPersonOrSystem("external_system_queue",...o[p]),this.$=o[p];break;case 47:_.addContainer("container",...o[p]),this.$=o[p];break;case 48:_.addContainer("container_db",...o[p]),this.$=o[p];break;case 49:_.addContainer("container_queue",...o[p]),this.$=o[p];break;case 50:_.addContainer("external_container",...o[p]),this.$=o[p];break;case 51:_.addContainer("external_container_db",...o[p]),this.$=o[p];break;case 52:_.addContainer("external_container_queue",...o[p]),this.$=o[p];break;case 53:_.addComponent("component",...o[p]),this.$=o[p];break;case 54:_.addComponent("component_db",...o[p]),this.$=o[p];break;case 55:_.addComponent("component_queue",...o[p]),this.$=o[p];break;case 56:_.addComponent("external_component",...o[p]),this.$=o[p];break;case 57:_.addComponent("external_component_db",...o[p]),this.$=o[p];break;case 58:_.addComponent("external_component_queue",...o[p]),this.$=o[p];break;case 60:_.addRel("rel",...o[p]),this.$=o[p];break;case 61:_.addRel("birel",...o[p]),this.$=o[p];break;case 62:_.addRel("rel_u",...o[p]),this.$=o[p];break;case 63:_.addRel("rel_d",...o[p]),this.$=o[p];break;case 64:_.addRel("rel_l",...o[p]),this.$=o[p];break;case 65:_.addRel("rel_r",...o[p]),this.$=o[p];break;case 66:_.addRel("rel_b",...o[p]),this.$=o[p];break;case 67:o[p].splice(0,1),_.addRel("rel",...o[p]),this.$=o[p];break;case 68:_.updateElStyle("update_el_style",...o[p]),this.$=o[p];break;case 69:_.updateRelStyle("update_rel_style",...o[p]),this.$=o[p];break;case 70:_.updateLayoutConfig("update_layout_config",...o[p]),this.$=o[p];break;case 71:this.$=[o[p]];break;case 72:o[p].unshift(o[p-1]),this.$=o[p];break;case 73:case 75:this.$=o[p].trim();break;case 74:let xt={};xt[o[p-1].trim()]=o[p].trim(),this.$=xt;break;case 76:this.$="";break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:e,23:s,24:a,26:u,28:i,29:49,30:61,32:62,34:n,36:l,37:r,38:h,39:y,40:f,41:b,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:W,51:X,52:q,53:H,54:Q,55:K,56:G,57:J,58:Z,59:$,60:tt,61:et,62:nt,63:st,64:rt,65:at,66:it,67:ot,68:lt,69:ct,70:ut,71:ht,72:dt,73:pt,74:ft},{13:70,19:20,20:21,21:22,22:e,23:s,24:a,26:u,28:i,29:49,30:61,32:62,34:n,36:l,37:r,38:h,39:y,40:f,41:b,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:W,51:X,52:q,53:H,54:Q,55:K,56:G,57:J,58:Z,59:$,60:tt,61:et,62:nt,63:st,64:rt,65:at,66:it,67:ot,68:lt,69:ct,70:ut,71:ht,72:dt,73:pt,74:ft},{13:71,19:20,20:21,21:22,22:e,23:s,24:a,26:u,28:i,29:49,30:61,32:62,34:n,36:l,37:r,38:h,39:y,40:f,41:b,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:W,51:X,52:q,53:H,54:Q,55:K,56:G,57:J,58:Z,59:$,60:tt,61:et,62:nt,63:st,64:rt,65:at,66:it,67:ot,68:lt,69:ct,70:ut,71:ht,72:dt,73:pt,74:ft},{13:72,19:20,20:21,21:22,22:e,23:s,24:a,26:u,28:i,29:49,30:61,32:62,34:n,36:l,37:r,38:h,39:y,40:f,41:b,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:W,51:X,52:q,53:H,54:Q,55:K,56:G,57:J,58:Z,59:$,60:tt,61:et,62:nt,63:st,64:rt,65:at,66:it,67:ot,68:lt,69:ct,70:ut,71:ht,72:dt,73:pt,74:ft},{13:73,19:20,20:21,21:22,22:e,23:s,24:a,26:u,28:i,29:49,30:61,32:62,34:n,36:l,37:r,38:h,39:y,40:f,41:b,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:W,51:X,52:q,53:H,54:Q,55:K,56:G,57:J,58:Z,59:$,60:tt,61:et,62:nt,63:st,64:rt,65:at,66:it,67:ot,68:lt,69:ct,70:ut,71:ht,72:dt,73:pt,74:ft},{14:[1,74]},t(Tt,[2,13],{43:23,29:49,30:61,32:62,20:75,34:n,36:l,37:r,38:h,39:y,40:f,41:b,44:v,45:w,46:N,47:O,48:P,49:I,50:W,51:X,52:q,53:H,54:Q,55:K,56:G,57:J,58:Z,59:$,60:tt,61:et,62:nt,63:st,64:rt,65:at,66:it,67:ot,68:lt,69:ct,70:ut,71:ht,72:dt,73:pt,74:ft}),t(Tt,[2,14]),t(Wt,[2,16],{12:[1,76]}),t(Tt,[2,36],{12:[1,77]}),t(Ot,[2,19]),t(Ot,[2,20]),{25:[1,78]},{27:[1,79]},t(Ot,[2,23]),{35:80,75:81,76:S,77:T,79:k,80:C},{35:86,75:81,76:S,77:T,79:k,80:C},{35:87,75:81,76:S,77:T,79:k,80:C},{35:88,75:81,76:S,77:T,79:k,80:C},{35:89,75:81,76:S,77:T,79:k,80:C},{35:90,75:81,76:S,77:T,79:k,80:C},{35:91,75:81,76:S,77:T,79:k,80:C},{35:92,75:81,76:S,77:T,79:k,80:C},{35:93,75:81,76:S,77:T,79:k,80:C},{35:94,75:81,76:S,77:T,79:k,80:C},{35:95,75:81,76:S,77:T,79:k,80:C},{35:96,75:81,76:S,77:T,79:k,80:C},{35:97,75:81,76:S,77:T,79:k,80:C},{35:98,75:81,76:S,77:T,79:k,80:C},{35:99,75:81,76:S,77:T,79:k,80:C},{35:100,75:81,76:S,77:T,79:k,80:C},{35:101,75:81,76:S,77:T,79:k,80:C},{35:102,75:81,76:S,77:T,79:k,80:C},{35:103,75:81,76:S,77:T,79:k,80:C},{35:104,75:81,76:S,77:T,79:k,80:C},t(R,[2,59]),{35:105,75:81,76:S,77:T,79:k,80:C},{35:106,75:81,76:S,77:T,79:k,80:C},{35:107,75:81,76:S,77:T,79:k,80:C},{35:108,75:81,76:S,77:T,79:k,80:C},{35:109,75:81,76:S,77:T,79:k,80:C},{35:110,75:81,76:S,77:T,79:k,80:C},{35:111,75:81,76:S,77:T,79:k,80:C},{35:112,75:81,76:S,77:T,79:k,80:C},{35:113,75:81,76:S,77:T,79:k,80:C},{35:114,75:81,76:S,77:T,79:k,80:C},{35:115,75:81,76:S,77:T,79:k,80:C},{20:116,29:49,30:61,32:62,34:n,36:l,37:r,38:h,39:y,40:f,41:b,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:W,51:X,52:q,53:H,54:Q,55:K,56:G,57:J,58:Z,59:$,60:tt,61:et,62:nt,63:st,64:rt,65:at,66:it,67:ot,68:lt,69:ct,70:ut,71:ht,72:dt,73:pt,74:ft},{12:[1,118],33:[1,117]},{35:119,75:81,76:S,77:T,79:k,80:C},{35:120,75:81,76:S,77:T,79:k,80:C},{35:121,75:81,76:S,77:T,79:k,80:C},{35:122,75:81,76:S,77:T,79:k,80:C},{35:123,75:81,76:S,77:T,79:k,80:C},{35:124,75:81,76:S,77:T,79:k,80:C},{35:125,75:81,76:S,77:T,79:k,80:C},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},t(Tt,[2,15]),t(Wt,[2,17],{21:22,19:130,22:e,23:s,24:a,26:u,28:i}),t(Tt,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:e,23:s,24:a,26:u,28:i,34:n,36:l,37:r,38:h,39:y,40:f,41:b,44:v,45:w,46:N,47:O,48:P,49:I,50:W,51:X,52:q,53:H,54:Q,55:K,56:G,57:J,58:Z,59:$,60:tt,61:et,62:nt,63:st,64:rt,65:at,66:it,67:ot,68:lt,69:ct,70:ut,71:ht,72:dt,73:pt,74:ft}),t(Ot,[2,21]),t(Ot,[2,22]),t(R,[2,39]),t(ie,[2,71],{75:81,35:132,76:S,77:T,79:k,80:C}),t(Mt,[2,73]),{78:[1,133]},t(Mt,[2,75]),t(Mt,[2,76]),t(R,[2,40]),t(R,[2,41]),t(R,[2,42]),t(R,[2,43]),t(R,[2,44]),t(R,[2,45]),t(R,[2,46]),t(R,[2,47]),t(R,[2,48]),t(R,[2,49]),t(R,[2,50]),t(R,[2,51]),t(R,[2,52]),t(R,[2,53]),t(R,[2,54]),t(R,[2,55]),t(R,[2,56]),t(R,[2,57]),t(R,[2,58]),t(R,[2,60]),t(R,[2,61]),t(R,[2,62]),t(R,[2,63]),t(R,[2,64]),t(R,[2,65]),t(R,[2,66]),t(R,[2,67]),t(R,[2,68]),t(R,[2,69]),t(R,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},t(mt,[2,28]),t(mt,[2,29]),t(mt,[2,30]),t(mt,[2,31]),t(mt,[2,32]),t(mt,[2,33]),t(mt,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},t(Wt,[2,18]),t(Tt,[2,38]),t(ie,[2,72]),t(Mt,[2,74]),t(R,[2,24]),t(R,[2,35]),t(Xt,[2,25]),t(Xt,[2,26],{12:[1,138]}),t(Xt,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:d(function(g,x){if(x.recoverable)this.trace(g);else{var E=new Error(g);throw E.hash=x,E}},"parseError"),parse:d(function(g){var x=this,E=[0],_=[],D=[null],o=[],Pt=this.table,p="",xt=0,oe=0,Pe=2,le=1,De=o.slice.call(arguments,1),A=Object.create(this.lexer),vt={yy:{}};for(var Ht in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ht)&&(vt.yy[Ht]=this.yy[Ht]);A.setInput(g,vt.yy),vt.yy.lexer=A,vt.yy.parser=this,typeof A.yylloc>"u"&&(A.yylloc={});var Qt=A.yylloc;o.push(Qt);var Ne=A.options&&A.options.ranges;typeof vt.yy.parseError=="function"?this.parseError=vt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ae(B){E.length=E.length-2*B,D.length=D.length-B,o.length=o.length-B}d(Ae,"popStack");function ce(){var B;return B=_.pop()||A.lex()||le,typeof B!="number"&&(B instanceof Array&&(_=B,B=_.pop()),B=x.symbols_[B]||B),B}d(ce,"lex");for(var M,Et,V,Kt,kt={},Vt,j,ue,Yt;;){if(Et=E[E.length-1],this.defaultActions[Et]?V=this.defaultActions[Et]:((M===null||typeof M>"u")&&(M=ce()),V=Pt[Et]&&Pt[Et][M]),typeof V>"u"||!V.length||!V[0]){var Gt="";Yt=[];for(Vt in Pt[Et])this.terminals_[Vt]&&Vt>Pe&&Yt.push("'"+this.terminals_[Vt]+"'");A.showPosition?Gt="Parse error on line "+(xt+1)+`:
2
2
  `+A.showPosition()+`
3
3
  Expecting `+Yt.join(", ")+", got '"+(this.terminals_[M]||M)+"'":Gt="Parse error on line "+(xt+1)+": Unexpected "+(M==le?"end of input":"'"+(this.terminals_[M]||M)+"'"),this.parseError(Gt,{text:A.match,token:this.terminals_[M]||M,line:A.yylineno,loc:Qt,expected:Yt})}if(V[0]instanceof Array&&V.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Et+", token: "+M);switch(V[0]){case 1:E.push(M),D.push(A.yytext),o.push(A.yylloc),E.push(V[1]),M=null,oe=A.yyleng,p=A.yytext,xt=A.yylineno,Qt=A.yylloc;break;case 2:if(j=this.productions_[V[1]][1],kt.$=D[D.length-j],kt._$={first_line:o[o.length-(j||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(j||1)].first_column,last_column:o[o.length-1].last_column},Ne&&(kt._$.range=[o[o.length-(j||1)].range[0],o[o.length-1].range[1]]),Kt=this.performAction.apply(kt,[p,oe,xt,vt.yy,V[1],D,o].concat(De)),typeof Kt<"u")return Kt;j&&(E=E.slice(0,-1*j*2),D=D.slice(0,-1*j),o=o.slice(0,-1*j)),E.push(this.productions_[V[1]][0]),D.push(kt.$),o.push(kt._$),ue=Pt[E[E.length-2]][E[E.length-1]],E.push(ue);break;case 3:return!0}}return!0},"parse")},Oe=(function(){var yt={EOF:1,parseError:d(function(x,E){if(this.yy.parser)this.yy.parser.parseError(x,E);else throw new Error(x)},"parseError"),setInput:d(function(g,x){return this.yy=x||this.yy||{},this._input=g,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:d(function(){var g=this._input[0];this.yytext+=g,this.yyleng++,this.offset++,this.match+=g,this.matched+=g;var x=g.match(/(?:\r\n?|\n).*/g);return x?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),g},"input"),unput:d(function(g){var x=g.length,E=g.split(/(?:\r\n?|\n)/g);this._input=g+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-x),this.offset-=x;var _=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),E.length-1&&(this.yylineno-=E.length-1);var D=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:E?(E.length===_.length?this.yylloc.first_column:0)+_[_.length-E.length].length-E[0].length:this.yylloc.first_column-x},this.options.ranges&&(this.yylloc.range=[D[0],D[0]+this.yyleng-x]),this.yyleng=this.yytext.length,this},"unput"),more:d(function(){return this._more=!0,this},"more"),reject:d(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:d(function(g){this.unput(this.match.slice(g))},"less"),pastInput:d(function(){var g=this.matched.substr(0,this.matched.length-this.match.length);return(g.length>20?"...":"")+g.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:d(function(){var g=this.match;return g.length<20&&(g+=this._input.substr(0,20-g.length)),(g.substr(0,20)+(g.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:d(function(){var g=this.pastInput(),x=new Array(g.length+1).join("-");return g+this.upcomingInput()+`
@@ -1 +1 @@
1
- import{g as p,r as u,d as a}from"./Ma3kLBUv.js";import{p as f}from"./f5JdW6NK.js";import{f as n,bC as o}from"./CyFUY7ZG.js";import{M as c,c as d}from"./DfJZNmF8.js";var v=d().RailroadAbnf.parser.LangiumParser,i=n(e=>{const r=e.alternatives.map(g);return r.length===1?r[0]:{type:"choice",alternatives:r}},"transformAlternation"),g=n(e=>{const r=e.elements.map(y);return r.length===1?r[0]:{type:"sequence",elements:r}},"transformConcatenation"),b=n(e=>{if(e.includes("*")){const[t,s]=e.split("*"),l=t?parseInt(t,10):0,m=s?parseInt(s,10):1/0;return{min:l,max:m}}const r=parseInt(e,10);return{min:r,max:r}},"parseRepeat"),y=n(e=>{const r=A(e.primary);if(!e.repeat)return r;const{min:t,max:s}=b(e.repeat);return t===0&&s===1?{type:"optional",element:r}:{type:"repetition",element:r,min:t,max:s}},"transformElement"),A=n(e=>{switch(e.$type){case"AbnfStringLiteral":return{type:"terminal",value:e.value};case"AbnfNumVal":return{type:"terminal",value:e.value};case"AbnfRuleName":return{type:"nonterminal",name:e.name};case"AbnfGroup":return i(e.element);case"AbnfOptionalGroup":return{type:"optional",element:i(e.element)};default:throw new Error(`Unsupported ABNF primary node: ${e.$type}`)}},"transformPrimary"),P=n(e=>({name:e.name,definition:i(e.definition)}),"transformRule"),h=n(e=>{f(e,a),e.title&&a.setTitle(e.title),e.rules.map(r=>a.addRule(P(r)))},"populateDb"),R={parse:n(e=>{a.clear(),o.debug("[ABNF Parser] Starting Langium parse");const r=v.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new c(r);const t=r.value;o.debug("[ABNF Parser] Parsed rules:",t.rules.length),h(t),o.debug("[ABNF Parser] Parse complete")},"parse"),parser:{yy:a}},w={parser:R,db:a,renderer:u,styles:p};export{w as diagram};
1
+ import{g as p,r as u,d as a}from"./BQoQ6YRb.js";import{p as f}from"./R2--7i5r.js";import{f as n,bC as o}from"./W0ohOtfo.js";import{M as c,c as d}from"./DfJZNmF8.js";var v=d().RailroadAbnf.parser.LangiumParser,i=n(e=>{const r=e.alternatives.map(g);return r.length===1?r[0]:{type:"choice",alternatives:r}},"transformAlternation"),g=n(e=>{const r=e.elements.map(y);return r.length===1?r[0]:{type:"sequence",elements:r}},"transformConcatenation"),b=n(e=>{if(e.includes("*")){const[t,s]=e.split("*"),l=t?parseInt(t,10):0,m=s?parseInt(s,10):1/0;return{min:l,max:m}}const r=parseInt(e,10);return{min:r,max:r}},"parseRepeat"),y=n(e=>{const r=A(e.primary);if(!e.repeat)return r;const{min:t,max:s}=b(e.repeat);return t===0&&s===1?{type:"optional",element:r}:{type:"repetition",element:r,min:t,max:s}},"transformElement"),A=n(e=>{switch(e.$type){case"AbnfStringLiteral":return{type:"terminal",value:e.value};case"AbnfNumVal":return{type:"terminal",value:e.value};case"AbnfRuleName":return{type:"nonterminal",name:e.name};case"AbnfGroup":return i(e.element);case"AbnfOptionalGroup":return{type:"optional",element:i(e.element)};default:throw new Error(`Unsupported ABNF primary node: ${e.$type}`)}},"transformPrimary"),P=n(e=>({name:e.name,definition:i(e.definition)}),"transformRule"),h=n(e=>{f(e,a),e.title&&a.setTitle(e.title),e.rules.map(r=>a.addRule(P(r)))},"populateDb"),R={parse:n(e=>{a.clear(),o.debug("[ABNF Parser] Starting Langium parse");const r=v.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new c(r);const t=r.value;o.debug("[ABNF Parser] Parsed rules:",t.rules.length),h(t),o.debug("[ABNF Parser] Parse complete")},"parse"),parser:{yy:a}},w={parser:R,db:a,renderer:u,styles:p};export{w as diagram};
@@ -1 +1 @@
1
- import{a as i,ab as d,aB as c}from"./BU-Qzzbf.js";import{c3 as l,h as p}from"./CyFUY7ZG.js";var o=p(c()),x=i((r,t)=>{const e=r.append("rect");if(e.attr("x",t.x),e.attr("y",t.y),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("width",t.width),e.attr("height",t.height),t.name&&e.attr("name",t.name),t.rx&&e.attr("rx",t.rx),t.ry&&e.attr("ry",t.ry),t.attrs!==void 0)for(const s in t.attrs)e.attr(s,t.attrs[s]);return t.class&&e.attr("class",t.class),e},"drawRect"),g=i((r,t)=>{const e={x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:"rect"};x(r,e).lower()},"drawBackgroundRect"),h=i((r,t)=>{const e=t.text.replace(d," "),s=r.append("text");s.attr("x",t.x),s.attr("y",t.y),s.attr("class","legend"),s.style("text-anchor",t.anchor),t.class&&s.attr("class",t.class);const a=s.append("tspan");return a.attr("x",t.x+t.textMargin*2),a.text(e),s},"drawText"),f=i((r,t,e,s)=>{const a=r.append("image");a.attr("x",t),a.attr("y",e);const n=(0,o.sanitizeUrl)(s);a.attr("xlink:href",n)},"drawImage"),w=i((r,t,e,s)=>{const a=r.append("use");a.attr("x",t),a.attr("y",e);const n=(0,o.sanitizeUrl)(s);a.attr("xlink:href",`#${n}`)},"drawEmbeddedImage"),k=i(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),v=i(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj"),E=i(()=>{let r=l(".mermaidTooltip");return r.empty()&&(r=l("body").append("div").attr("class","mermaidTooltip").style("opacity",0).style("position","absolute").style("text-align","center").style("max-width","200px").style("padding","2px").style("font-size","12px").style("background","#ffffde").style("border","1px solid #333").style("border-radius","2px").style("pointer-events","none").style("z-index","100")),r},"createTooltip");export{w as a,f as b,E as c,g as d,x as e,h as f,k as g,v as h};
1
+ import{a as i,ab as d,aB as c}from"./BZA0d6L5.js";import{c3 as l,h as p}from"./W0ohOtfo.js";var o=p(c()),x=i((r,t)=>{const e=r.append("rect");if(e.attr("x",t.x),e.attr("y",t.y),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("width",t.width),e.attr("height",t.height),t.name&&e.attr("name",t.name),t.rx&&e.attr("rx",t.rx),t.ry&&e.attr("ry",t.ry),t.attrs!==void 0)for(const s in t.attrs)e.attr(s,t.attrs[s]);return t.class&&e.attr("class",t.class),e},"drawRect"),g=i((r,t)=>{const e={x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:"rect"};x(r,e).lower()},"drawBackgroundRect"),h=i((r,t)=>{const e=t.text.replace(d," "),s=r.append("text");s.attr("x",t.x),s.attr("y",t.y),s.attr("class","legend"),s.style("text-anchor",t.anchor),t.class&&s.attr("class",t.class);const a=s.append("tspan");return a.attr("x",t.x+t.textMargin*2),a.text(e),s},"drawText"),f=i((r,t,e,s)=>{const a=r.append("image");a.attr("x",t),a.attr("y",e);const n=(0,o.sanitizeUrl)(s);a.attr("xlink:href",n)},"drawImage"),w=i((r,t,e,s)=>{const a=r.append("use");a.attr("x",t),a.attr("y",e);const n=(0,o.sanitizeUrl)(s);a.attr("xlink:href",`#${n}`)},"drawEmbeddedImage"),k=i(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),v=i(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj"),E=i(()=>{let r=l(".mermaidTooltip");return r.empty()&&(r=l("body").append("div").attr("class","mermaidTooltip").style("opacity",0).style("position","absolute").style("text-align","center").style("max-width","200px").style("padding","2px").style("font-size","12px").style("background","#ffffde").style("border","1px solid #333").style("border-radius","2px").style("pointer-events","none").style("z-index","100")),r},"createTooltip");export{w as a,f as b,E as c,g as d,x as e,h as f,k as g,v as h};
@@ -1 +1 @@
1
- import{t as gt,bq as n,bo as a,by as Ct,b as bt,a_ as g}from"./CiieX7lJ.js";import{bs as pt,aD as C,bn as yt,aA as o,a5 as z,bS as A,bf as xt,bA as G,W as u,c9 as b,bl as D,b_ as h,bO as W,aB as P,b$ as kt}from"./B8o4lNgr.js";import{s as At}from"./DFiy7ajR.js";import"./cHkD9nAc.js";import"./B7tGjRid.js";import"./BA63tGX8.js";import{D as ht}from"./D7UZpnOG.js";import{t as l}from"./D9pZvnq5.js";import"./MvsKYcnI.js";import"./BsIC5g2I.js";var Wt=P('<p class="type-body"> </p>'),X=P('<p class="type-body text-foreground font-medium"> </p>'),Pt=P('<p class="type-body text-muted-foreground font-normal"> </p>'),Rt=P('<p class="type-body text-muted-foreground font-normal"> <!></p>'),St=P('<div class="space-y-2"><!> <!> <!> <!></div>'),Bt=P('<div class="space-y-4"><!> <!> <!></div>');function Dt(J,e){if(new.target)return gt({component:Dt,...J});pt(e,!0);let p=n(e,"open",15,!1),F=n(e,"static",7,!1),H=n(e,"title",23,()=>a.modals_bulkActionConfirm_title()),S=n(e,"description",7,""),T=n(e,"confirmText",23,()=>a.modals_bulkActionConfirm_confirm_label()),w=n(e,"variant",7,"default"),y=n(e,"initialFocus",7,"confirm"),q=n(e,"body",7),c=n(e,"openPrCount",7,0),x=n(e,"preflightReady",7,!0),E=n(e,"mode",7,"delete"),d=n(e,"activeAgentCount",7,0),m=n(e,"activeHookCount",7,0),_=n(e,"guestCount",7,0),I=n(e,"onConfirm",7),K=n(e,"onCancel",7);const Y=b(()=>d()>0||m()>0||c()>0||_()>0);function Z(){p(!1),K()?.()}async function $(){await I()?.(),p(!1)}var tt={get open(){return p()},set open(t=!1){p(t),o()},get static(){return F()},set static(t=!1){F(t),o()},get title(){return H()},set title(t=a.modals_bulkActionConfirm_title()){H(t),o()},get description(){return S()},set description(t=""){S(t),o()},get confirmText(){return T()},set confirmText(t=a.modals_bulkActionConfirm_confirm_label()){T(t),o()},get variant(){return w()},set variant(t="default"){w(t),o()},get initialFocus(){return y()},set initialFocus(t="confirm"){y(t),o()},get body(){return q()},set body(t){q(t),o()},get openPrCount(){return c()},set openPrCount(t=0){c(t),o()},get preflightReady(){return x()},set preflightReady(t=!0){x(t),o()},get mode(){return E()},set mode(t="delete"){E(t),o()},get activeAgentCount(){return d()},set activeAgentCount(t=0){d(t),o()},get activeHookCount(){return m()},set activeHookCount(t=0){m(t),o()},get guestCount(){return _()},set guestCount(t=0){_(t),o()},get onConfirm(){return I()},set onConfirm(t){I(t),o()},get onCancel(){return K()},set onCancel(t){K(t),o()},$set:Ct,$on:(t,L)=>bt(e,t,L)};{const t=O=>{var j=Bt(),M=z(j);{var it=f=>{var k=Wt(),B=D(k,!0);h(()=>W(B,S())),u(f,k)};g(M,f=>{S()&&f(it)})}var N=A(M,2);{var st=f=>{var k=St(),B=z(k);{var lt=r=>{var i=X(),s=D(i,!0);h(v=>W(s,v),[()=>d()===1?a.modals_deleteWarning_agentsStopped_one({count:l(d())}):a.modals_deleteWarning_agentsStopped_many({count:l(d())})]),u(r,i)};g(B,r=>{d()>0&&r(lt)})}var Q=A(B,2);{var ct=r=>{var i=X(),s=D(i,!0);h(v=>W(s,v),[()=>m()===1?a.modals_deleteWarning_hooksCancelled_one({count:l(m())}):a.modals_deleteWarning_hooksCancelled_many({count:l(m())})]),u(r,i)};g(Q,r=>{m()>0&&r(ct)})}var U=A(Q,2);{var dt=r=>{var i=Pt(),s=D(i,!0);h(v=>W(s,v),[()=>c()===1?a.modals_deleteWarning_openPrs_one({count:l(c())}):a.modals_deleteWarning_openPrs_many({count:l(c())})]),u(r,i)};g(U,r=>{c()>0&&r(dt)})}var mt=A(U,2);{var _t=r=>{var i=Rt(),s=z(i),v=A(s);{var ft=R=>{var V=kt();h(vt=>W(V,vt),[()=>a.modals_bulkActionConfirm_guestsReinvite_description()]),u(R,V)};g(v,R=>{E()==="archive"&&R(ft)})}G(i),h(R=>W(s,`${R??""} `),[()=>_()===1?a.modals_bulkActionConfirm_guestsRemoved_one({count:l(_())}):a.modals_bulkActionConfirm_guestsRemoved_many({count:l(_())})]),u(r,i)};g(mt,r=>{_()>0&&r(_t)})}G(k),u(f,k)};g(N,f=>{C(Y)&&f(st)})}var ut=A(N,2);At(ut,()=>q()??xt),G(j),u(O,j)};let L=b(()=>!x()),et=b(()=>x()&&y()==="confirm"),nt=b(()=>!x()||y()==="cancel"),ot=b(()=>y()==="cancel"?"ignore":"submit"),rt=b(()=>y()==="cancel"?"ignore":"submit"),at=b(()=>w()==="destructive");ht(J,{get static(){return F()},get title(){return H()},get confirmLabel(){return T()},get submitBusy(){return C(L)},get canSubmit(){return x()},get focusSubmit(){return C(et)},get focusCancel(){return C(nt)},get enterKey(){return C(ot)},get modEnter(){return C(rt)},get destructive(){return C(at)},onConfirm:$,onCancel:Z,get open(){return p()},set open(O){p(O)},details:t,$$slots:{details:!0}})}return yt(tt)}export{Dt as B};
1
+ import{t as gt,bq as n,bo as a,by as Ct,b as bt,a_ as g}from"./CiieX7lJ.js";import{bs as pt,aD as C,bn as yt,aA as o,a5 as z,bS as A,bf as xt,bA as G,W as u,c9 as b,bl as D,b_ as h,bO as W,aB as P,b$ as kt}from"./B8o4lNgr.js";import{s as At}from"./DFiy7ajR.js";import"./cHkD9nAc.js";import"./B7tGjRid.js";import"./BA63tGX8.js";import{D as ht}from"./lPZVVuHr.js";import{t as l}from"./D9pZvnq5.js";import"./MvsKYcnI.js";import"./BsIC5g2I.js";var Wt=P('<p class="type-body"> </p>'),X=P('<p class="type-body text-foreground font-medium"> </p>'),Pt=P('<p class="type-body text-muted-foreground font-normal"> </p>'),Rt=P('<p class="type-body text-muted-foreground font-normal"> <!></p>'),St=P('<div class="space-y-2"><!> <!> <!> <!></div>'),Bt=P('<div class="space-y-4"><!> <!> <!></div>');function Dt(J,e){if(new.target)return gt({component:Dt,...J});pt(e,!0);let p=n(e,"open",15,!1),F=n(e,"static",7,!1),H=n(e,"title",23,()=>a.modals_bulkActionConfirm_title()),S=n(e,"description",7,""),T=n(e,"confirmText",23,()=>a.modals_bulkActionConfirm_confirm_label()),w=n(e,"variant",7,"default"),y=n(e,"initialFocus",7,"confirm"),q=n(e,"body",7),c=n(e,"openPrCount",7,0),x=n(e,"preflightReady",7,!0),E=n(e,"mode",7,"delete"),d=n(e,"activeAgentCount",7,0),m=n(e,"activeHookCount",7,0),_=n(e,"guestCount",7,0),I=n(e,"onConfirm",7),K=n(e,"onCancel",7);const Y=b(()=>d()>0||m()>0||c()>0||_()>0);function Z(){p(!1),K()?.()}async function $(){await I()?.(),p(!1)}var tt={get open(){return p()},set open(t=!1){p(t),o()},get static(){return F()},set static(t=!1){F(t),o()},get title(){return H()},set title(t=a.modals_bulkActionConfirm_title()){H(t),o()},get description(){return S()},set description(t=""){S(t),o()},get confirmText(){return T()},set confirmText(t=a.modals_bulkActionConfirm_confirm_label()){T(t),o()},get variant(){return w()},set variant(t="default"){w(t),o()},get initialFocus(){return y()},set initialFocus(t="confirm"){y(t),o()},get body(){return q()},set body(t){q(t),o()},get openPrCount(){return c()},set openPrCount(t=0){c(t),o()},get preflightReady(){return x()},set preflightReady(t=!0){x(t),o()},get mode(){return E()},set mode(t="delete"){E(t),o()},get activeAgentCount(){return d()},set activeAgentCount(t=0){d(t),o()},get activeHookCount(){return m()},set activeHookCount(t=0){m(t),o()},get guestCount(){return _()},set guestCount(t=0){_(t),o()},get onConfirm(){return I()},set onConfirm(t){I(t),o()},get onCancel(){return K()},set onCancel(t){K(t),o()},$set:Ct,$on:(t,L)=>bt(e,t,L)};{const t=O=>{var j=Bt(),M=z(j);{var it=f=>{var k=Wt(),B=D(k,!0);h(()=>W(B,S())),u(f,k)};g(M,f=>{S()&&f(it)})}var N=A(M,2);{var st=f=>{var k=St(),B=z(k);{var lt=r=>{var i=X(),s=D(i,!0);h(v=>W(s,v),[()=>d()===1?a.modals_deleteWarning_agentsStopped_one({count:l(d())}):a.modals_deleteWarning_agentsStopped_many({count:l(d())})]),u(r,i)};g(B,r=>{d()>0&&r(lt)})}var Q=A(B,2);{var ct=r=>{var i=X(),s=D(i,!0);h(v=>W(s,v),[()=>m()===1?a.modals_deleteWarning_hooksCancelled_one({count:l(m())}):a.modals_deleteWarning_hooksCancelled_many({count:l(m())})]),u(r,i)};g(Q,r=>{m()>0&&r(ct)})}var U=A(Q,2);{var dt=r=>{var i=Pt(),s=D(i,!0);h(v=>W(s,v),[()=>c()===1?a.modals_deleteWarning_openPrs_one({count:l(c())}):a.modals_deleteWarning_openPrs_many({count:l(c())})]),u(r,i)};g(U,r=>{c()>0&&r(dt)})}var mt=A(U,2);{var _t=r=>{var i=Rt(),s=z(i),v=A(s);{var ft=R=>{var V=kt();h(vt=>W(V,vt),[()=>a.modals_bulkActionConfirm_guestsReinvite_description()]),u(R,V)};g(v,R=>{E()==="archive"&&R(ft)})}G(i),h(R=>W(s,`${R??""} `),[()=>_()===1?a.modals_bulkActionConfirm_guestsRemoved_one({count:l(_())}):a.modals_bulkActionConfirm_guestsRemoved_many({count:l(_())})]),u(r,i)};g(mt,r=>{_()>0&&r(_t)})}G(k),u(f,k)};g(N,f=>{C(Y)&&f(st)})}var ut=A(N,2);At(ut,()=>q()??xt),G(j),u(O,j)};let L=b(()=>!x()),et=b(()=>x()&&y()==="confirm"),nt=b(()=>!x()||y()==="cancel"),ot=b(()=>y()==="cancel"?"ignore":"submit"),rt=b(()=>y()==="cancel"?"ignore":"submit"),at=b(()=>w()==="destructive");ht(J,{get static(){return F()},get title(){return H()},get confirmLabel(){return T()},get submitBusy(){return C(L)},get canSubmit(){return x()},get focusSubmit(){return C(et)},get focusCancel(){return C(nt)},get enterKey(){return C(ot)},get modEnter(){return C(rt)},get destructive(){return C(at)},onConfirm:$,onCancel:Z,get open(){return p()},set open(O){p(O)},details:t,$$slots:{details:!0}})}return yt(tt)}export{Dt as B};
@@ -1,3 +1,3 @@
1
- import{t as D,bq as d,a_ as P,by as b,b as S}from"./CiieX7lJ.js";import{bs as A,a7 as C,ay as M,W as N,bn as $,aA as m,aD as i,c9 as c}from"./B8o4lNgr.js";import{D as f,M as x}from"./CyFUY7ZG.js";import{S as z,p as B}from"./EN56DypO.js";import{N as W}from"./LZgSqmId.js";import{G2 as j,tf as E,b9 as J}from"./DScTb8GR.js";import{N as K}from"./D7UZpnOG.js";import{$ as O}from"./D8P_sRVN.js";function R(l,s){if(new.target)return D({component:R,...l});A(s,!0);let o=d(s,"kind",7),t=d(s,"source",7),a=d(s,"workspaceId",7);const g=new W,p=c(()=>{if(o()==="mermaid")return null;const e=g.parseMarkdown(`\`\`\`ws-block:diagram
1
+ import{t as D,bq as d,a_ as P,by as b,b as S}from"./CiieX7lJ.js";import{bs as A,a7 as C,ay as M,W as N,bn as $,aA as m,aD as i,c9 as c}from"./B8o4lNgr.js";import{D as f,M as x}from"./W0ohOtfo.js";import{S as z,p as B}from"./blrmT9qk.js";import{N as W}from"./PoUwsq35.js";import{G2 as j,tf as E,b9 as J}from"./DScTb8GR.js";import{N as K}from"./lPZVVuHr.js";import{$ as O}from"./D8P_sRVN.js";function R(l,s){if(new.target)return D({component:R,...l});A(s,!0);let o=d(s,"kind",7),t=d(s,"source",7),a=d(s,"workspaceId",7);const g=new W,p=c(()=>{if(o()==="mermaid")return null;const e=g.parseMarkdown(`\`\`\`ws-block:diagram
2
2
  ${t()}
3
3
  \`\`\``)[0],r=e?.primitive.type==="diagram"?JSON.stringify(e.primitive):t();return B(r,!0)});function k(e,r){if(!a()||!r.target)return;const n={openInAdjacentPanel:e.metaKey||e.ctrlKey,sourcePanelId:e.target?.closest("[data-panel-id]")?.getAttribute("data-panel-id")??void 0};r.type==="file"?j.dispatch(E(a(),r.target,n)):r.type==="note"&&K(O(r.target,a()),{...n,workspaceId:J(a()),event:e})}var w={get kind(){return o()},set kind(e){o(e),m()},get source(){return t()},set source(e){t(e),m()},get workspaceId(){return a()},set workspaceId(e){a(e),m()},$set:b,$on:(e,r)=>S(s,e,r)},u=C(),y=M(u);{var I=e=>{f(e,{kind:"mermaid",rendererOwnsActions:!0,children:(r,n)=>{x(r,{get code(){return t()},showExportButton:!0})},$$slots:{default:!0}})},_=e=>{f(e,{kind:"custom",children:(r,n)=>{{let h=c(()=>i(p)?.diagram??null),v=c(()=>i(p)?.error);z(r,{get diagram(){return i(h)},get source(){return t()},get sourceError(){return i(v)},onBindingClick:k})}},$$slots:{default:!0}})};P(y,e=>{o()==="mermaid"?e(I):e(_,-1)})}return N(l,u),$(w)}export{R as default};