@intent-hq/web 2.369.1 → 2.370.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (260) hide show
  1. package/bin/intent-web.mjs +113 -2
  2. package/package.json +1 -1
  3. package/web/app/immutable/chunks/{DodshHwq.js → -7AqlW5j.js} +1 -1
  4. package/web/app/immutable/chunks/{8bw9vP4h.js → 1DKpnRTj.js} +1 -1
  5. package/web/app/immutable/chunks/{Ck5xuk0H.js → 1GGKXNxU.js} +1 -1
  6. package/web/app/immutable/chunks/{DR7bEdZk.js → 1GrJvO3a.js} +1 -1
  7. package/web/app/immutable/chunks/{s1m3ujOc.js → 1pIqWRUk.js} +1 -1
  8. package/web/app/immutable/chunks/{CV10cSI4.js → 1q0xL14K.js} +1 -1
  9. package/web/app/immutable/chunks/{CWybLnJv.js → 5lieSvED.js} +1 -1
  10. package/web/app/immutable/chunks/{BPCO02B5.js → 9-nUCsGi.js} +1 -1
  11. package/web/app/immutable/chunks/{V6SVTu37.js → 9sCF_0su.js} +1 -1
  12. package/web/app/immutable/chunks/{D0Z6csIX.js → A4nvdmL6.js} +1 -1
  13. package/web/app/immutable/chunks/{9wk-Hes5.js → B-1iBpaq.js} +1 -1
  14. package/web/app/immutable/chunks/{7mowE2Gg.js → B-_ROixI.js} +2 -2
  15. package/web/app/immutable/chunks/{DvPSMnYw.js → B-kUJzil.js} +1 -1
  16. package/web/app/immutable/chunks/{iTSQ9YOi.js → B0SoVMRS.js} +1 -1
  17. package/web/app/immutable/chunks/{Cu3YXFZW.js → B1hj1DGj.js} +1 -1
  18. package/web/app/immutable/chunks/{B9EhZrTN.js → B1lYPzEU.js} +1 -1
  19. package/web/app/immutable/chunks/{BigChyTJ.js → B2AfKG58.js} +2 -2
  20. package/web/app/immutable/chunks/{DyBkeTEM.js → B3Gso1ut.js} +1 -1
  21. package/web/app/immutable/chunks/{CRwqTV0i.js → B8_Ff8zl.js} +1 -1
  22. package/web/app/immutable/chunks/{BUrTAEns.js → B9BjyTgZ.js} +1 -1
  23. package/web/app/immutable/chunks/{DsI0RDZ2.js → B9mj0qwd.js} +1 -1
  24. package/web/app/immutable/chunks/{SX1khnGy.js → BAymCgEX.js} +1 -1
  25. package/web/app/immutable/chunks/{DMl4Z5o_.js → BBWuirRW.js} +1 -1
  26. package/web/app/immutable/chunks/{DCJDf3gb.js → BCQ1W7zT.js} +3 -3
  27. package/web/app/immutable/chunks/{Dd_WBgru.js → BDA31WCY.js} +1 -1
  28. package/web/app/immutable/chunks/{D7slXRL_.js → BDcauMkX.js} +1 -1
  29. package/web/app/immutable/chunks/{CQw_RyF_.js → BEV9WkWU.js} +1 -1
  30. package/web/app/immutable/chunks/{CBZ4KqrB.js → BG2RPA7A.js} +2 -2
  31. package/web/app/immutable/chunks/{wJewnowK.js → BGT9uvaQ.js} +6 -6
  32. package/web/app/immutable/chunks/{BUHAwVs7.js → BHaE4286.js} +1 -1
  33. package/web/app/immutable/chunks/{CGOlqeU_.js → BIv0yV05.js} +1 -1
  34. package/web/app/immutable/chunks/{ie53yFct.js → BR2t5nsF.js} +2 -2
  35. package/web/app/immutable/chunks/{DUItrdZb.js → BRRvOx4M.js} +1 -1
  36. package/web/app/immutable/chunks/{BKuhcLZN.js → BSD34ZVo.js} +1 -1
  37. package/web/app/immutable/chunks/{oOuL5l8A.js → BSfkjlLx.js} +1 -1
  38. package/web/app/immutable/chunks/{B6jI9-V_.js → BSsEOl8-.js} +1 -1
  39. package/web/app/immutable/chunks/{ge7HDe-3.js → BUA7BUyu.js} +1 -1
  40. package/web/app/immutable/chunks/{CJb9CQqu.js → BVLa_5Le.js} +1 -1
  41. package/web/app/immutable/chunks/{BlIreYOW.js → BX9hgO_H.js} +1 -1
  42. package/web/app/immutable/chunks/{Bo-8pH0P.js → BYMXwcID.js} +1 -1
  43. package/web/app/immutable/chunks/{BEqf00Je.js → B_IEMfS6.js} +3 -3
  44. package/web/app/immutable/chunks/{C5rcw_c7.js → Bc7pHsTy.js} +1 -1
  45. package/web/app/immutable/chunks/{CUH5IR0E.js → Bg7YNbVH.js} +1 -1
  46. package/web/app/immutable/chunks/{nRmTo2Eh.js → BgPtjifd.js} +1 -1
  47. package/web/app/immutable/chunks/{FavPgSsK.js → BhZDGIfe.js} +1 -1
  48. package/web/app/immutable/chunks/{Dxjy2MWO.js → Bi0vr71w.js} +1 -1
  49. package/web/app/immutable/chunks/{DfSzfqox.js → BimRiD6s.js} +1 -1
  50. package/web/app/immutable/chunks/{msw9XRLE.js → BinPWBvt.js} +1 -1
  51. package/web/app/immutable/chunks/{BrAu7eNn.js → BkFHmpuY.js} +1 -1
  52. package/web/app/immutable/chunks/{6i_wfV3v.js → Blu9C_Vv.js} +1 -1
  53. package/web/app/immutable/chunks/{CgXGPBF5.js → BmBa9vQp.js} +1 -1
  54. package/web/app/immutable/chunks/{D1E6y9eQ.js → BmjF1SON.js} +1 -1
  55. package/web/app/immutable/chunks/{ByCxDC-R.js → BnNJN3Ls.js} +1 -1
  56. package/web/app/immutable/chunks/{D321NUNJ.js → BnhOIUmr.js} +1 -1
  57. package/web/app/immutable/chunks/{BxbMMWzz.js → Bp098-aN.js} +1 -1
  58. package/web/app/immutable/chunks/{BLzqYDED.js → BpEHjU4g.js} +1 -1
  59. package/web/app/immutable/chunks/Bqd7fdCF.js +1 -0
  60. package/web/app/immutable/chunks/{BuveYyQe.js → Bqm2Rf6d.js} +1 -1
  61. package/web/app/immutable/chunks/{BuLzqNKd.js → BqxcrzZH.js} +1 -1
  62. package/web/app/immutable/chunks/{TaTYmBM5.js → Bu13V5mO.js} +1 -1
  63. package/web/app/immutable/chunks/{BHfEypjS.js → BulBKnVz.js} +1 -1
  64. package/web/app/immutable/chunks/{B-F2f_Hq.js → Bus1Z5ou.js} +1 -1
  65. package/web/app/immutable/chunks/{Cl71oYkB.js → BvKqDQXM.js} +1 -1
  66. package/web/app/immutable/chunks/{ByN-IDvR.js → BvZfa6RH.js} +1 -1
  67. package/web/app/immutable/chunks/{DWsHBNeU.js → Bvo32SXP.js} +1 -1
  68. package/web/app/immutable/chunks/{nIQsF0QH.js → BwtGEQS3.js} +1 -1
  69. package/web/app/immutable/chunks/{BE2y8JEQ.js → BzFy3u2D.js} +1 -1
  70. package/web/app/immutable/chunks/{CqesqBNM.js → C0wua3Vt.js} +1 -1
  71. package/web/app/immutable/chunks/{Dxs2medA.js → C14Hgf8a.js} +1 -1
  72. package/web/app/immutable/chunks/{zhSFUcJz.js → C1AEP5wW.js} +1 -1
  73. package/web/app/immutable/chunks/{D1cY0pVs.js → C2Vj5Vs6.js} +1 -1
  74. package/web/app/immutable/chunks/{ClSUFCtq.js → C2YH0P-B.js} +1 -1
  75. package/web/app/immutable/chunks/{DQUvqa9o.js → CA2ANaNj.js} +1 -1
  76. package/web/app/immutable/chunks/{DSqj6mlv.js → CADQyVDS.js} +2 -2
  77. package/web/app/immutable/chunks/{CNn7flY0.js → CBRZjI7P.js} +2 -2
  78. package/web/app/immutable/chunks/{BDbtK9be.js → CBafvv8h.js} +1 -1
  79. package/web/app/immutable/chunks/{BnRltR11.js → CCSbqNiH.js} +1 -1
  80. package/web/app/immutable/chunks/{Wv5_ui4s.js → CCrwZkau.js} +1 -1
  81. package/web/app/immutable/chunks/{B2FXFK8l.js → CCsCF1Mh.js} +1 -1
  82. package/web/app/immutable/chunks/CFNJHO2G.js +1 -0
  83. package/web/app/immutable/chunks/{6CAGpBb_.js → CGzD6XfW.js} +1 -1
  84. package/web/app/immutable/chunks/{3_UV1UgL.js → CH7fgKro.js} +1 -1
  85. package/web/app/immutable/chunks/CK4eAyad.js +1 -0
  86. package/web/app/immutable/chunks/{Dz5OBP4z.js → CKnpbRTh.js} +4 -4
  87. package/web/app/immutable/chunks/{DCOxMTSf.js → CL3a4Hm1.js} +1 -1
  88. package/web/app/immutable/chunks/{D9NDL9ta.js → CMLBE7U6.js} +1 -1
  89. package/web/app/immutable/chunks/{Bl3mtXZn.js → CPlH-52U.js} +1 -1
  90. package/web/app/immutable/chunks/{XPs8BW44.js → CQAAihrI.js} +1 -1
  91. package/web/app/immutable/chunks/{C6T3ggVX.js → CQHtdg39.js} +1 -1
  92. package/web/app/immutable/chunks/{DdKIjYo_.js → CQ_NwL45.js} +2 -2
  93. package/web/app/immutable/chunks/{Bd_VEON_.js → CR2m4w2U.js} +1 -1
  94. package/web/app/immutable/chunks/{CFvGekuw.js → CRNfAyhd.js} +1 -1
  95. package/web/app/immutable/chunks/{C5X1QcI7.js → CRY4aELR.js} +3 -3
  96. package/web/app/immutable/chunks/{BsjFeGOg.js → CSBGusi9.js} +1 -1
  97. package/web/app/immutable/chunks/{DxejgjNm.js → CUMRLgxB.js} +1 -1
  98. package/web/app/immutable/chunks/{BOCp5eAe.js → CUNx-_2d.js} +4 -4
  99. package/web/app/immutable/chunks/{DuPd2TLf.js → CUdMuhJF.js} +1 -1
  100. package/web/app/immutable/chunks/{s97D1nrA.js → CY-vjmpy.js} +1 -1
  101. package/web/app/immutable/chunks/{C1McR-sz.js → CYKOPxuJ.js} +1 -1
  102. package/web/app/immutable/chunks/{CMqhKAKf.js → C_-WdiR8.js} +1 -1
  103. package/web/app/immutable/chunks/{PxI10rWs.js → C_E26DWe.js} +1 -1
  104. package/web/app/immutable/chunks/{CxF8L5mw.js → CaHds95Q.js} +1 -1
  105. package/web/app/immutable/chunks/{C1VlgusM.js → Caqml6gj.js} +1 -1
  106. package/web/app/immutable/chunks/{N5wpZAwp.js → CbRNm5he.js} +1 -1
  107. package/web/app/immutable/chunks/{Zldsekdv.js → CbRsc9i4.js} +1 -1
  108. package/web/app/immutable/chunks/{C7kFrL62.js → CblB0zCN.js} +1 -1
  109. package/web/app/immutable/chunks/{BQGSaBlM.js → CbyU6cEf.js} +1 -1
  110. package/web/app/immutable/chunks/{Cdw_CIdg.js → CdOh_Fmv.js} +1 -1
  111. package/web/app/immutable/chunks/{BsE4jMhr.js → CfUtc4-L.js} +1 -1
  112. package/web/app/immutable/chunks/{C6MAELkY.js → CgS_FiQI.js} +1 -1
  113. package/web/app/immutable/chunks/{CF1Tu_8c.js → Cgn_eC9-.js} +3 -3
  114. package/web/app/immutable/chunks/{XJqoy2ap.js → CgwFGLCK.js} +1 -1
  115. package/web/app/immutable/chunks/{sG8VksRm.js → Chnr0_jK.js} +1 -1
  116. package/web/app/immutable/chunks/{BR9s3igW.js → CiZzqOpk.js} +1 -1
  117. package/web/app/immutable/chunks/{ocWSyOIA.js → CjTGc2Y5.js} +1 -1
  118. package/web/app/immutable/chunks/{Cs_DX3BC.js → Cj_UUgNI.js} +1 -1
  119. package/web/app/immutable/chunks/{Bo900RGs.js → CkrbZXJF.js} +1 -1
  120. package/web/app/immutable/chunks/{DEMmGTfr.js → CmVXj6KK.js} +2 -2
  121. package/web/app/immutable/chunks/{DWjKA8Pm.js → CmW3Zqh6.js} +1 -1
  122. package/web/app/immutable/chunks/{LKW_Bid7.js → CnztNSaN.js} +1 -1
  123. package/web/app/immutable/chunks/{DvdPJ4VE.js → Cq4X6ptS.js} +1 -1
  124. package/web/app/immutable/chunks/{Da2tbXc-.js → CqVZxU_G.js} +1 -1
  125. package/web/app/immutable/chunks/{CASKMy_V.js → CqwiFk32.js} +1 -1
  126. package/web/app/immutable/chunks/{x-XvE_CJ.js → Cv2YUgTX.js} +1 -1
  127. package/web/app/immutable/chunks/{BNp3_sz0.js → CwWm64yZ.js} +1 -1
  128. package/web/app/immutable/chunks/{jRFO7UbE.js → CyWgrZMk.js} +4 -4
  129. package/web/app/immutable/chunks/{Dz2wxoQy.js → CylWx-GB.js} +1 -1
  130. package/web/app/immutable/chunks/{Boh_rcCH.js → CzS5ny-g.js} +1 -1
  131. package/web/app/immutable/chunks/{Bs9TCQJX.js → CzW29tkb.js} +1 -1
  132. package/web/app/immutable/chunks/{Cc2FSrQK.js → D-NrCL67.js} +1 -1
  133. package/web/app/immutable/chunks/{BgLPrJ77.js → D0DIS-cT.js} +1 -1
  134. package/web/app/immutable/chunks/{dP7u_sPF.js → D1V2Et17.js} +1 -1
  135. package/web/app/immutable/chunks/{CzmcyLb_.js → D1bivTve.js} +2 -2
  136. package/web/app/immutable/chunks/{CKkGJ_p-.js → D2dAlclh.js} +3 -3
  137. package/web/app/immutable/chunks/{D547g0l5.js → D5_auhOU.js} +2 -2
  138. package/web/app/immutable/chunks/{hHeBjODU.js → D69ZLPjW.js} +1 -1
  139. package/web/app/immutable/chunks/{4GHsM2YX.js → D6VfSAVQ.js} +1 -1
  140. package/web/app/immutable/chunks/{JKboQXkL.js → D6dNunKo.js} +1 -1
  141. package/web/app/immutable/chunks/{fRGswTf6.js → D9MwZkzV.js} +1 -1
  142. package/web/app/immutable/chunks/{KykWEhyB.js → DB9n2KBT.js} +1 -1
  143. package/web/app/immutable/chunks/{DH6z3AzB.js → DBdkAKrm.js} +3 -3
  144. package/web/app/immutable/chunks/{6GNWsakm.js → DCW2c0FY.js} +1 -1
  145. package/web/app/immutable/chunks/{C7Ed4dxf.js → DC_1j_gh.js} +3 -3
  146. package/web/app/immutable/chunks/{BZ5fAc9N.js → DELYEsRi.js} +1 -1
  147. package/web/app/immutable/chunks/{B_QtiZYt.js → DFBd8tOh.js} +1 -1
  148. package/web/app/immutable/chunks/{CXaVTV1g.js → DFr6bn5t.js} +3 -3
  149. package/web/app/immutable/chunks/{CPatK7EU.js → DISyGoja.js} +1 -1
  150. package/web/app/immutable/chunks/{3kQ-PiCp.js → DIukqb9l.js} +1 -1
  151. package/web/app/immutable/chunks/{CtxaFpQJ.js → DJFAYXyc.js} +1 -1
  152. package/web/app/immutable/chunks/{BR5vKj6f.js → DL1CE4TH.js} +1 -1
  153. package/web/app/immutable/chunks/{D-2bQKif.js → DONrLvvt.js} +1 -1
  154. package/web/app/immutable/chunks/{xqJuIupR.js → DRy2oEmj.js} +1 -1
  155. package/web/app/immutable/chunks/{ZYL8cEBi.js → DSacn4II.js} +1 -1
  156. package/web/app/immutable/chunks/{DcvxsgOZ.js → DUGztmZo.js} +1 -1
  157. package/web/app/immutable/chunks/{Bp0nVWtT.js → DWDPOFkL.js} +1 -1
  158. package/web/app/immutable/chunks/{Cnwc7RZW.js → DWEA_zul.js} +1 -1
  159. package/web/app/immutable/chunks/{BgDYQZ_0.js → DZIz7Wk9.js} +1 -1
  160. package/web/app/immutable/chunks/{fK0I75t-.js → DZRLhNnQ.js} +1 -1
  161. package/web/app/immutable/chunks/{BXkyhXuK.js → D_-ztW_Y.js} +1 -1
  162. package/web/app/immutable/chunks/{C_A_Ikb5.js → D_hG-oZK.js} +1 -1
  163. package/web/app/immutable/chunks/{C2jA6pM8.js → D_r5h8IL.js} +1 -1
  164. package/web/app/immutable/chunks/{aHO4L7kg.js → Dawt227W.js} +1 -1
  165. package/web/app/immutable/chunks/{Csxq8_TN.js → Db8-C0Zq.js} +1 -1
  166. package/web/app/immutable/chunks/{BpwdP8dq.js → DbCFTbwM.js} +1 -1
  167. package/web/app/immutable/chunks/{CLZkKjaI.js → DcUCHDGY.js} +1 -1
  168. package/web/app/immutable/chunks/{ByDB1X4D.js → DeE0yn_3.js} +1 -1
  169. package/web/app/immutable/chunks/{C9r0mVfa.js → Dekzflbl.js} +1 -1
  170. package/web/app/immutable/chunks/{DqgCp5ae.js → Df-HaYIr.js} +1 -1
  171. package/web/app/immutable/chunks/{s3nd6_cp.js → DgMr61cU.js} +1 -1
  172. package/web/app/immutable/chunks/{BCSEMQfF.js → DkJkWZTE.js} +1 -1
  173. package/web/app/immutable/chunks/{BDP3Y6aK.js → DksUdusM.js} +1 -1
  174. package/web/app/immutable/chunks/{CtFSFfLz.js → Dp9fBXaC.js} +1 -1
  175. package/web/app/immutable/chunks/{A9EcmNK3.js → DrOwYgbZ.js} +1 -1
  176. package/web/app/immutable/chunks/{B9I2hDG-.js → Dsn82AW0.js} +1 -1
  177. package/web/app/immutable/chunks/{DgFinDjM.js → DtHX0_aW.js} +2 -2
  178. package/web/app/immutable/chunks/{C8APJtmo.js → DtfuSWPd.js} +1 -1
  179. package/web/app/immutable/chunks/{Ct_Zx4ru.js → Dv0Jc2Nv.js} +1 -1
  180. package/web/app/immutable/chunks/{DumeSIrz.js → DvATy2o1.js} +1 -1
  181. package/web/app/immutable/chunks/{M18r7swD.js → DvrEye74.js} +1 -1
  182. package/web/app/immutable/chunks/{93RUSyHg.js → DwXKCf3Q.js} +1 -1
  183. package/web/app/immutable/chunks/{Cdhrdfve.js → DxyI4IUi.js} +1 -1
  184. package/web/app/immutable/chunks/{BLlLxRVW.js → Ev5lig9W.js} +1 -1
  185. package/web/app/immutable/chunks/{CxXkuVq5.js → EzpfJOSe.js} +1 -1
  186. package/web/app/immutable/chunks/{BsKhFZ0Q.js → FtGWFokI.js} +1 -1
  187. package/web/app/immutable/chunks/{QpGjdleN.js → Hd1u2Z-S.js} +1 -1
  188. package/web/app/immutable/chunks/{CB0sfbT7.js → Iq8JI4_0.js} +1 -1
  189. package/web/app/immutable/chunks/{C1ZHQc4S.js → MifrdpDQ.js} +1 -1
  190. package/web/app/immutable/chunks/{fXS7JPx0.js → NQru5r2h.js} +1 -1
  191. package/web/app/immutable/chunks/{WHfdsTrE.js → NqK_XT0y.js} +1 -1
  192. package/web/app/immutable/chunks/{CJHs_ufb.js → R1s5ARST.js} +1 -1
  193. package/web/app/immutable/chunks/{DK2Pie4F.js → R2N5eDxY.js} +1 -1
  194. package/web/app/immutable/chunks/{RifCGV3x.js → TE7UDCh6.js} +1 -1
  195. package/web/app/immutable/chunks/{DmhHEMPi.js → THdp5Vpk.js} +1 -1
  196. package/web/app/immutable/chunks/UGr2VEtG.js +1 -0
  197. package/web/app/immutable/chunks/{BUNNt_Jr.js → UN8KT7fR.js} +1 -1
  198. package/web/app/immutable/chunks/{B9XvejAu.js → UQXXh4U7.js} +1 -1
  199. package/web/app/immutable/chunks/{5NOp7PNZ.js → VJkCr9xp.js} +1 -1
  200. package/web/app/immutable/chunks/VdR0DXlW.js +410 -0
  201. package/web/app/immutable/chunks/{Z73Hn0_g.js → WlqVlpOk.js} +1 -1
  202. package/web/app/immutable/chunks/{0NGflniG.js → YV53nLSc.js} +1 -1
  203. package/web/app/immutable/chunks/{TrRXD94r.js → YcqSYZ1W.js} +1 -1
  204. package/web/app/immutable/chunks/{DtnAdLQg.js → ZIOU9Sxd.js} +1 -1
  205. package/web/app/immutable/chunks/{u8OBGcNi.js → _EqQOSVK.js} +1 -1
  206. package/web/app/immutable/chunks/{eln8hjjQ.js → bb5Wjkri.js} +1 -1
  207. package/web/app/immutable/chunks/{DAjaV_xN.js → cFozej4U.js} +3 -3
  208. package/web/app/immutable/chunks/{D_MzuSit.js → d1EmVp98.js} +1 -1
  209. package/web/app/immutable/chunks/{DKyvRWc2.js → eCVtubQ8.js} +1 -1
  210. package/web/app/immutable/chunks/{DllP5msd.js → f686-QUd.js} +1 -1
  211. package/web/app/immutable/chunks/{DpFiDNG-.js → fr0BmHL-.js} +1 -1
  212. package/web/app/immutable/chunks/{BUtBz-tz.js → gHT8Z5q-.js} +1 -1
  213. package/web/app/immutable/chunks/{A2MGRlHV.js → gySpGbnA.js} +2 -2
  214. package/web/app/immutable/chunks/i8PKWJT0.js +1 -0
  215. package/web/app/immutable/chunks/{DdH7Q5ij.js → ir8Qz45r.js} +1 -1
  216. package/web/app/immutable/chunks/{OcJyMtNk.js → jG-4Z8qH.js} +1 -1
  217. package/web/app/immutable/chunks/{CoNmDxYv.js → qHChsLZZ.js} +1 -1
  218. package/web/app/immutable/chunks/{B1sp_kEH.js → qi41b1Ac.js} +1 -1
  219. package/web/app/immutable/chunks/{sJt4gu2x.js → qjcf4Gb9.js} +1 -1
  220. package/web/app/immutable/chunks/{dSvJdwG_.js → qvt-0QTi.js} +3 -3
  221. package/web/app/immutable/chunks/{Cu91VTQn.js → rB5UfCey.js} +1 -1
  222. package/web/app/immutable/chunks/{DVy6H5Ng.js → sS3MW5B6.js} +1 -1
  223. package/web/app/immutable/chunks/{BbQfjn7f.js → t7yAUuZn.js} +2 -2
  224. package/web/app/immutable/chunks/{BEjEPSxp.js → tDUnXf7O.js} +1 -1
  225. package/web/app/immutable/chunks/{eLOMf9Vt.js → uCQEgTob.js} +1 -1
  226. package/web/app/immutable/chunks/{CZ_Dk1nz.js → vLtMR-kj.js} +1 -1
  227. package/web/app/immutable/chunks/{iBqqkWL_.js → wEnqV1Ol.js} +1 -1
  228. package/web/app/immutable/chunks/{Danvn_nL.js → wgljT0D3.js} +1 -1
  229. package/web/app/immutable/chunks/{DvYo8gAP.js → zye35u-t.js} +1 -1
  230. package/web/app/immutable/entry/{app.OFNFrEIR.js → app.jT7Rd2u4.js} +2 -2
  231. package/web/app/immutable/entry/start.CSuXA93h.js +1 -0
  232. package/web/app/immutable/nodes/{0.BPB4y4Pk.js → 0.9lwWQtfB.js} +1 -1
  233. package/web/app/immutable/nodes/{1.CBbBqNOx.js → 1.Ck4yEk2l.js} +1 -1
  234. package/web/app/immutable/nodes/{10.B-rk3kEM.js → 10.C4FEQjC7.js} +16 -16
  235. package/web/app/immutable/nodes/{11.P0HocOtE.js → 11.C-vXNNmX.js} +1 -1
  236. package/web/app/immutable/nodes/{13.DYH2a5Wx.js → 13.DhKVmEQi.js} +1 -1
  237. package/web/app/immutable/nodes/{14.B6MrEg8x.js → 14.INZu_e5k.js} +1 -1
  238. package/web/app/immutable/nodes/{15.DhLBijej.js → 15.DdKSdQ-h.js} +1 -1
  239. package/web/app/immutable/nodes/{16.CKbY5VRM.js → 16.Ad-t6nft.js} +1 -1
  240. package/web/app/immutable/nodes/{17.DPSU7Eqq.js → 17.pLS5JsPi.js} +1 -1
  241. package/web/app/immutable/nodes/{18.BlD6ustd.js → 18.DIVxEUeB.js} +1 -1
  242. package/web/app/immutable/nodes/{19.bgAqepNt.js → 19.BB9LuT5j.js} +2 -2
  243. package/web/app/immutable/nodes/{2.DU7oYEtS.js → 2.Bp80wZmn.js} +4 -4
  244. package/web/app/immutable/nodes/{20.Cj4TGw20.js → 20.BGTcjiLa.js} +1 -1
  245. package/web/app/immutable/nodes/{3.B4hrIG7P.js → 3.DRJnaOSe.js} +1 -1
  246. package/web/app/immutable/nodes/{4.J3HSWI_f.js → 4.p67SnElB.js} +1 -1
  247. package/web/app/immutable/nodes/{5.CS5w-vHI.js → 5.DRmIJA2c.js} +1 -1
  248. package/web/app/immutable/nodes/{6.Bf53uJQ1.js → 6.Bjeibumi.js} +1 -1
  249. package/web/app/immutable/nodes/{7.q-WiNda-.js → 7.CjIaxqZ1.js} +1 -1
  250. package/web/app/immutable/nodes/{8.eHanxjw-.js → 8.DAlxovqG.js} +1 -1
  251. package/web/app/immutable/nodes/{9.BMShc48l.js → 9.BKQZzsCi.js} +4 -4
  252. package/web/app/version.json +1 -1
  253. package/web/index.html +15 -15
  254. package/web/app/immutable/chunks/BBMzDN3i.js +0 -1
  255. package/web/app/immutable/chunks/BxTyo7yU.js +0 -1
  256. package/web/app/immutable/chunks/ClHV2gp3.js +0 -1
  257. package/web/app/immutable/chunks/CqJQ3ikU.js +0 -1
  258. package/web/app/immutable/chunks/DW3gkA_F.js +0 -1
  259. package/web/app/immutable/chunks/fd1DS8nx.js +0 -410
  260. package/web/app/immutable/entry/start.CHpPu02l.js +0 -1
@@ -1 +1 @@
1
- import{bm as l}from"./51_h0jm2.js";import{J4 as a}from"./Zldsekdv.js";let N=1,f=null;const S=[],m=new Set;function T(){for(const e of m)e(f)}function U(){return typeof document<"u"&&document.activeElement instanceof HTMLElement?document.activeElement:null}function y(e){S.push({...e,id:N++,returnFocus:U()}),f||(f=S.shift()??null,T())}function J(e){return new Promise(t=>y({kind:"confirm",options:e,resolve:t}))}function Z(e){return new Promise(t=>y({kind:"prompt",options:e,resolve:t}))}function j(e){return m.add(e),e(f),()=>m.delete(e)}function W(e,t){if(!f||f.id!==e)return;const n=f;f=S.shift()??null,n.resolve(t),n.returnFocus?.focus(),T()}const Q={IS_AUTHENTICATED:"linear-auth:is-authenticated",START_AUTH:"linear-auth:start-auth",CANCEL_AUTH:"linear-auth:cancel-auth",LOGOUT:"linear-auth:logout",GET_AUTH_STATE:"linear-auth:get-auth-state",GET_STATUS:"linear-auth:get-status",FETCH_MY_ISSUES:"linear-auth:fetch-my-issues",SEARCH_ISSUES:"linear-auth:search-issues"},ee=[{value:"assigned",get label(){return l.linearAuth_filter_assigned_label()},get description(){return l.linearAuth_filter_assigned_description()}},{value:"created",get label(){return l.linearAuth_filter_created_label()},get description(){return l.linearAuth_filter_created_description()}},{value:"subscribed",get label(){return l.linearAuth_filter_subscribed_label()},get description(){return l.linearAuth_filter_subscribed_description()}},{value:"team",get label(){return l.linearAuth_filter_team_label()},get description(){return l.linearAuth_filter_team_description()}},{value:"all",get label(){return l.linearAuth_filter_all_label()},get description(){return l.linearAuth_filter_all_description()}}],te=a.createSelector(e=>e.linearAuth.operation),ne=a.createSelector((e,t)=>e.linearAuth.operation?.consumerId===t?e.linearAuth.operation:null),re=a.createSelector(e=>e.linearAuth.operation?.kind==="logout"&&e.linearAuth.operation.status==="pending"),se=a.createSelector(e=>e.linearAuth.isAuthenticated),oe=a.createSelector(e=>e.linearAuth.requiresDaemonAuth),ie=a.createSelector(e=>e.linearAuth.isAuthenticating),ae=a.createSelector(e=>e.linearAuth.error),ue=a.createSelector(e=>e.sentryAuth.operation),ce=a.createSelector((e,t)=>e.sentryAuth.operation?.consumerId===t?e.sentryAuth.operation:null),le=a.createSelector(e=>e.sentryAuth.operation?.kind==="logout"&&e.sentryAuth.operation.status==="pending"),de=a.createSelector(e=>e.sentryAuth.isAuthenticated),fe=a.createSelector(e=>e.sentryAuth.organization),_e=a.createSelector(e=>e.sentryAuth.isConnecting),Ae=a.createSelector(e=>e.sentryAuth.error),Ee="npx not found — install Node.js (with npm) to use Claude Code",P="********",K={claude:"claude-code",codex:"codex"},v={claude:"CLAUDE_CONFIG_DIR",codex:"CODEX_HOME"},O={claude:{differentLogin:{set:["CLAUDE_CONFIG_DIR"],optionalSet:[],unset:["ANTHROPIC_API_KEY","ANTHROPIC_AUTH_TOKEN","CLAUDE_CODE_OAUTH_TOKEN"]},apiKey:{set:["ANTHROPIC_API_KEY"],optionalSet:["ANTHROPIC_BASE_URL"],unset:["ANTHROPIC_AUTH_TOKEN","CLAUDE_CODE_OAUTH_TOKEN"]},token:{set:["CLAUDE_CODE_OAUTH_TOKEN"],optionalSet:[],unset:["ANTHROPIC_API_KEY","ANTHROPIC_AUTH_TOKEN"]}},codex:{differentLogin:{set:["CODEX_HOME"],optionalSet:[],unset:["CODEX_ACCESS_TOKEN","CODEX_API_KEY","OPENAI_API_KEY"]},apiKey:{set:["CODEX_API_KEY"],optionalSet:[],unset:["CODEX_ACCESS_TOKEN","OPENAI_API_KEY"]},token:{set:["CODEX_ACCESS_TOKEN"],optionalSet:[],unset:["CODEX_API_KEY","OPENAI_API_KEY"]}}},D=["differentLogin","apiKey","token"];function g(e,t){return O[e][t]}const I="ANTHROPIC_BASE_URL";function R(e){return K[e]}function b(e){if(e==="claude-code")return"claude";if(e==="codex")return"codex"}function he(e){return e.supportsProfiles===!0&&e.id!==void 0&&b(e.id)!==void 0}function pe(e,t){return g(t,e).set[0]}function C(e){return v[e]}function H(e){return`~/intent/profiles/${e}`}const _=e=>e.toUpperCase();function Se(e,t){if(t.length===0)return"advanced";const n=new Set,s=new Set;for(const r of t){const o=_(r.key);if(n.has(o)||s.has(o))return"advanced";(r.kind==="set"?n:s).add(o)}for(const r of D)if(w(O[e][r],n,s))return r==="differentLogin"&&!F(e,t)?"advanced":r;return"advanced"}function w(e,t,n){const s=e.set.map(_),r=new Set([...s,...e.optionalSet.map(_)]);if(!s.every(i=>t.has(i))||![...t].every(i=>r.has(i)))return!1;const o=new Set(e.unset.map(_));return[...n].every(i=>o.has(i))}function F(e,t){const n=x(e,t);return n!==void 0&&n!==""&&n!==P}function x(e,t){const n=_(C(e)),s=t.find(r=>r.kind==="set"&&_(r.key)===n);return s?.kind==="set"?s.value:void 0}const $=32;function M(e){return e.normalize("NFKD").replace(/\p{M}/gu,"").toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"").slice(0,$).replace(/-+$/g,"")||"profile"}const h="abcdefghijklmnopqrstuvwxyz0123456789",X=4;function k(){const e=new Uint32Array(1);return globalThis.crypto.getRandomValues(e),e[0]/2**32}function B(e=k){let t="";for(let n=0;n<X;n++){const s=Math.min(h.length-1,Math.floor(e()*h.length));t+=h[s]}return t}const G=64;function me(e,t,n,s=k){const r=new Set([...n].map(i=>i.toLowerCase())),o=M(t);for(let i=0;i<G;i++){const c=`${o}-${B(s)}`;if(!r.has(c))return`${H(e)}/${c}`}throw new Error(`No unused profile folder found for "${o}"`)}function q(e){return e.map(t=>({key:t,kind:"unset"}))}function E(e,t){const n=e?.trim()??"";if(!n)throw new Error(`Missing ${t}`);return n}function Ie(e,t,n){const s=g(t,e),r=[];if(e==="differentLogin")r.push({key:C(t),kind:"set",value:E(n.folder,"folder")});else if(e==="apiKey"){r.push({key:s.set[0],kind:"set",value:E(n.apiKey,"API key")});const o=n.baseUrl?.trim();o&&t==="claude"&&r.push({key:I,kind:"set",value:o})}else r.push({key:s.set[0],kind:"set",value:E(n.token,"token")});return{baseProviderId:R(t),name:n.name.trim(),backup:n.backup??!1,env:[...r,...q(s.unset)]}}function ge(e,t,n,s={}){const r=g(t,e),o=(u,d)=>n.find(A=>A.kind===d&&_(A.key)===_(u))?.key,i=(u,d)=>{const A=o(u,"set");if(d!==void 0)return{key:A??u,kind:"set",value:E(d,u)};if(!A)throw new Error(`Missing ${u}`);return{key:A,kind:"keep"}},c=[];if(e==="differentLogin")c.push(i(C(t),void 0));else if(e==="apiKey"){c.push(i(r.set[0],s.apiKey));const u=t==="claude"?o(I,"set"):void 0,d=t==="claude"?s.baseUrl:void 0;typeof d=="string"&&d.trim()?c.push({key:u??I,kind:"set",value:d.trim()}):d===void 0&&u&&c.push({key:u,kind:"keep"})}else c.push(i(r.set[0],s.token));for(const u of r.unset)c.push({key:o(u,"unset")??u,kind:"unset"});return c}const p="[A-Za-z0-9_-]+",L=new RegExp(`^${p}\\.${p}\\.${p}$`);function Ce(e){return L.test(e.trim())}const z={claude:{apiKey:/^sk-ant-api\d*-[A-Za-z0-9_-]{16,}$/,token:/^sk-ant-oat\d*-[A-Za-z0-9_-]{16,}$/},codex:{apiKey:/^sk-(?!ant-)[A-Za-z0-9_-]{20,}$/,token:L}};function Te(e,t,n,s={}){const r=n.trim();return e==="claude"&&t==="apiKey"&&s.customEndpoint?/^\S+$/.test(r):z[e][t].test(r)}function ye(e){return e==="claude"?"claude auth login":"codex login --device-auth"}export{ue as A,Ae as B,Ee as C,de as D,_e as E,le as F,fe as G,W as H,M as I,j as J,Q as L,P as M,ee as a,R as b,Ie as c,ge as d,J as e,Se as f,C as g,he as h,Ce as i,Te as j,H as k,ye as l,b as m,Z as n,pe as o,me as p,ne as q,B as r,x as s,te as t,ae as u,se as v,ie as w,re as x,oe as y,ce as z};
1
+ import{bm as l}from"./51_h0jm2.js";import{J4 as a}from"./CbRsc9i4.js";let N=1,f=null;const S=[],m=new Set;function T(){for(const e of m)e(f)}function U(){return typeof document<"u"&&document.activeElement instanceof HTMLElement?document.activeElement:null}function y(e){S.push({...e,id:N++,returnFocus:U()}),f||(f=S.shift()??null,T())}function J(e){return new Promise(t=>y({kind:"confirm",options:e,resolve:t}))}function Z(e){return new Promise(t=>y({kind:"prompt",options:e,resolve:t}))}function j(e){return m.add(e),e(f),()=>m.delete(e)}function W(e,t){if(!f||f.id!==e)return;const n=f;f=S.shift()??null,n.resolve(t),n.returnFocus?.focus(),T()}const Q={IS_AUTHENTICATED:"linear-auth:is-authenticated",START_AUTH:"linear-auth:start-auth",CANCEL_AUTH:"linear-auth:cancel-auth",LOGOUT:"linear-auth:logout",GET_AUTH_STATE:"linear-auth:get-auth-state",GET_STATUS:"linear-auth:get-status",FETCH_MY_ISSUES:"linear-auth:fetch-my-issues",SEARCH_ISSUES:"linear-auth:search-issues"},ee=[{value:"assigned",get label(){return l.linearAuth_filter_assigned_label()},get description(){return l.linearAuth_filter_assigned_description()}},{value:"created",get label(){return l.linearAuth_filter_created_label()},get description(){return l.linearAuth_filter_created_description()}},{value:"subscribed",get label(){return l.linearAuth_filter_subscribed_label()},get description(){return l.linearAuth_filter_subscribed_description()}},{value:"team",get label(){return l.linearAuth_filter_team_label()},get description(){return l.linearAuth_filter_team_description()}},{value:"all",get label(){return l.linearAuth_filter_all_label()},get description(){return l.linearAuth_filter_all_description()}}],te=a.createSelector(e=>e.linearAuth.operation),ne=a.createSelector((e,t)=>e.linearAuth.operation?.consumerId===t?e.linearAuth.operation:null),re=a.createSelector(e=>e.linearAuth.operation?.kind==="logout"&&e.linearAuth.operation.status==="pending"),se=a.createSelector(e=>e.linearAuth.isAuthenticated),oe=a.createSelector(e=>e.linearAuth.requiresDaemonAuth),ie=a.createSelector(e=>e.linearAuth.isAuthenticating),ae=a.createSelector(e=>e.linearAuth.error),ue=a.createSelector(e=>e.sentryAuth.operation),ce=a.createSelector((e,t)=>e.sentryAuth.operation?.consumerId===t?e.sentryAuth.operation:null),le=a.createSelector(e=>e.sentryAuth.operation?.kind==="logout"&&e.sentryAuth.operation.status==="pending"),de=a.createSelector(e=>e.sentryAuth.isAuthenticated),fe=a.createSelector(e=>e.sentryAuth.organization),_e=a.createSelector(e=>e.sentryAuth.isConnecting),Ae=a.createSelector(e=>e.sentryAuth.error),Ee="npx not found — install Node.js (with npm) to use Claude Code",P="********",K={claude:"claude-code",codex:"codex"},v={claude:"CLAUDE_CONFIG_DIR",codex:"CODEX_HOME"},O={claude:{differentLogin:{set:["CLAUDE_CONFIG_DIR"],optionalSet:[],unset:["ANTHROPIC_API_KEY","ANTHROPIC_AUTH_TOKEN","CLAUDE_CODE_OAUTH_TOKEN"]},apiKey:{set:["ANTHROPIC_API_KEY"],optionalSet:["ANTHROPIC_BASE_URL"],unset:["ANTHROPIC_AUTH_TOKEN","CLAUDE_CODE_OAUTH_TOKEN"]},token:{set:["CLAUDE_CODE_OAUTH_TOKEN"],optionalSet:[],unset:["ANTHROPIC_API_KEY","ANTHROPIC_AUTH_TOKEN"]}},codex:{differentLogin:{set:["CODEX_HOME"],optionalSet:[],unset:["CODEX_ACCESS_TOKEN","CODEX_API_KEY","OPENAI_API_KEY"]},apiKey:{set:["CODEX_API_KEY"],optionalSet:[],unset:["CODEX_ACCESS_TOKEN","OPENAI_API_KEY"]},token:{set:["CODEX_ACCESS_TOKEN"],optionalSet:[],unset:["CODEX_API_KEY","OPENAI_API_KEY"]}}},D=["differentLogin","apiKey","token"];function g(e,t){return O[e][t]}const I="ANTHROPIC_BASE_URL";function R(e){return K[e]}function b(e){if(e==="claude-code")return"claude";if(e==="codex")return"codex"}function he(e){return e.supportsProfiles===!0&&e.id!==void 0&&b(e.id)!==void 0}function pe(e,t){return g(t,e).set[0]}function C(e){return v[e]}function H(e){return`~/intent/profiles/${e}`}const _=e=>e.toUpperCase();function Se(e,t){if(t.length===0)return"advanced";const n=new Set,s=new Set;for(const r of t){const o=_(r.key);if(n.has(o)||s.has(o))return"advanced";(r.kind==="set"?n:s).add(o)}for(const r of D)if(w(O[e][r],n,s))return r==="differentLogin"&&!F(e,t)?"advanced":r;return"advanced"}function w(e,t,n){const s=e.set.map(_),r=new Set([...s,...e.optionalSet.map(_)]);if(!s.every(i=>t.has(i))||![...t].every(i=>r.has(i)))return!1;const o=new Set(e.unset.map(_));return[...n].every(i=>o.has(i))}function F(e,t){const n=x(e,t);return n!==void 0&&n!==""&&n!==P}function x(e,t){const n=_(C(e)),s=t.find(r=>r.kind==="set"&&_(r.key)===n);return s?.kind==="set"?s.value:void 0}const $=32;function M(e){return e.normalize("NFKD").replace(/\p{M}/gu,"").toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"").slice(0,$).replace(/-+$/g,"")||"profile"}const h="abcdefghijklmnopqrstuvwxyz0123456789",X=4;function k(){const e=new Uint32Array(1);return globalThis.crypto.getRandomValues(e),e[0]/2**32}function B(e=k){let t="";for(let n=0;n<X;n++){const s=Math.min(h.length-1,Math.floor(e()*h.length));t+=h[s]}return t}const G=64;function me(e,t,n,s=k){const r=new Set([...n].map(i=>i.toLowerCase())),o=M(t);for(let i=0;i<G;i++){const c=`${o}-${B(s)}`;if(!r.has(c))return`${H(e)}/${c}`}throw new Error(`No unused profile folder found for "${o}"`)}function q(e){return e.map(t=>({key:t,kind:"unset"}))}function E(e,t){const n=e?.trim()??"";if(!n)throw new Error(`Missing ${t}`);return n}function Ie(e,t,n){const s=g(t,e),r=[];if(e==="differentLogin")r.push({key:C(t),kind:"set",value:E(n.folder,"folder")});else if(e==="apiKey"){r.push({key:s.set[0],kind:"set",value:E(n.apiKey,"API key")});const o=n.baseUrl?.trim();o&&t==="claude"&&r.push({key:I,kind:"set",value:o})}else r.push({key:s.set[0],kind:"set",value:E(n.token,"token")});return{baseProviderId:R(t),name:n.name.trim(),backup:n.backup??!1,env:[...r,...q(s.unset)]}}function ge(e,t,n,s={}){const r=g(t,e),o=(u,d)=>n.find(A=>A.kind===d&&_(A.key)===_(u))?.key,i=(u,d)=>{const A=o(u,"set");if(d!==void 0)return{key:A??u,kind:"set",value:E(d,u)};if(!A)throw new Error(`Missing ${u}`);return{key:A,kind:"keep"}},c=[];if(e==="differentLogin")c.push(i(C(t),void 0));else if(e==="apiKey"){c.push(i(r.set[0],s.apiKey));const u=t==="claude"?o(I,"set"):void 0,d=t==="claude"?s.baseUrl:void 0;typeof d=="string"&&d.trim()?c.push({key:u??I,kind:"set",value:d.trim()}):d===void 0&&u&&c.push({key:u,kind:"keep"})}else c.push(i(r.set[0],s.token));for(const u of r.unset)c.push({key:o(u,"unset")??u,kind:"unset"});return c}const p="[A-Za-z0-9_-]+",L=new RegExp(`^${p}\\.${p}\\.${p}$`);function Ce(e){return L.test(e.trim())}const z={claude:{apiKey:/^sk-ant-api\d*-[A-Za-z0-9_-]{16,}$/,token:/^sk-ant-oat\d*-[A-Za-z0-9_-]{16,}$/},codex:{apiKey:/^sk-(?!ant-)[A-Za-z0-9_-]{20,}$/,token:L}};function Te(e,t,n,s={}){const r=n.trim();return e==="claude"&&t==="apiKey"&&s.customEndpoint?/^\S+$/.test(r):z[e][t].test(r)}function ye(e){return e==="claude"?"claude auth login":"codex login --device-auth"}export{ue as A,Ae as B,Ee as C,de as D,_e as E,le as F,fe as G,W as H,M as I,j as J,Q as L,P as M,ee as a,R as b,Ie as c,ge as d,J as e,Se as f,C as g,he as h,Ce as i,Te as j,H as k,ye as l,b as m,Z as n,pe as o,me as p,ne as q,B as r,x as s,te as t,ae as u,se as v,ie as w,re as x,oe as y,ce as z};
@@ -1 +1 @@
1
- import{b as o}from"./BOCp5eAe.js";var c=1;function i(){if(!(typeof globalThis>"u"))return globalThis}o(i,"getCaptureGlobal");function p(){return!!i()?.mermaidCaptureSizes}o(p,"shouldCaptureSizes");function u(){return typeof location>"u"?"browser-dev":`${location.pathname}${location.search}`}o(u,"capturedFromLocation");function d(n,r){const t=i();if(!t)return;const e=r.node(),s=((e&&"ownerSVGElement"in e?e.ownerSVGElement:null)??e)?.id??"(unknown)";t.mermaidCapturedSizes??=[];const a={svgId:s,sizes:n};t.mermaidCapturedSizes.push(a),t.mermaidLastCapturedSizes=a}o(d,"emitCapturedSizes");function m(n,r){const t=[];for(const e of r.nodes)e.isGroup||t.push({id:e.id,width:e.width??0,height:e.height??0});t.length!==0&&d({metadata:{captureVersion:c,capturedAt:new Date().toISOString(),capturedFrom:u()},nodes:t},n)}o(m,"captureNodeSizes");export{m as captureNodeSizes,p as shouldCaptureSizes};
1
+ import{b as o}from"./CUNx-_2d.js";var c=1;function i(){if(!(typeof globalThis>"u"))return globalThis}o(i,"getCaptureGlobal");function p(){return!!i()?.mermaidCaptureSizes}o(p,"shouldCaptureSizes");function u(){return typeof location>"u"?"browser-dev":`${location.pathname}${location.search}`}o(u,"capturedFromLocation");function d(n,r){const t=i();if(!t)return;const e=r.node(),s=((e&&"ownerSVGElement"in e?e.ownerSVGElement:null)??e)?.id??"(unknown)";t.mermaidCapturedSizes??=[];const a={svgId:s,sizes:n};t.mermaidCapturedSizes.push(a),t.mermaidLastCapturedSizes=a}o(d,"emitCapturedSizes");function m(n,r){const t=[];for(const e of r.nodes)e.isGroup||t.push({id:e.id,width:e.width??0,height:e.height??0});t.length!==0&&d({metadata:{captureVersion:c,capturedAt:new Date().toISOString(),capturedFrom:u()},nodes:t},n)}o(m,"captureNodeSizes");export{m as captureNodeSizes,p as shouldCaptureSizes};
@@ -1,4 +1,4 @@
1
- import{p as z}from"./N5wpZAwp.js";import{b as f,q as B,aX as E,B as F,ay as $,a_ as P,V as A,b0 as W,Y as _,U as N,aZ as Y,W as L,O as M,r as O}from"./BOCp5eAe.js";import{p as I}from"./C0gEyGJV.js";var U=M.packet,u,C=(u=class{constructor(){this.packet=[],this.setAccTitle=P,this.getAccTitle=A,this.setDiagramTitle=W,this.getDiagramTitle=_,this.getAccDescription=N,this.setAccDescription=Y}getConfig(){const t=B({...U,...L().packet});return t.showBits&&(t.paddingY+=10),t}getPacket(){return this.packet}pushWord(t){t.length>0&&this.packet.push(t)}clear(){O(),this.packet=[]}},f(u,"PacketDB"),u),X=1e4,j=f((e,t)=>{z(e,t);let r=-1,s=[],i=1;const{bitsPerRow:l}=t.getConfig();for(let{start:a,end:o,bits:d,label:g}of e.blocks){if(a!==void 0&&o!==void 0&&o<a)throw new Error(`Packet block ${a} - ${o} is invalid. End must be greater than start.`);if(a??=r+1,a!==r+1)throw new Error(`Packet block ${a} - ${o??a} is not contiguous. It should start from ${r+1}.`);if(d===0)throw new Error(`Packet block ${a} is invalid. Cannot have a zero bit field.`);for(o??=a+(d??1)-1,d??=o-a+1,r=o,$.debug(`Packet block ${a} - ${r} with label ${g}`);s.length<=l+1&&t.getPacket().length<X;){const[c,p]=q({start:a,end:o,bits:d,label:g},i,l);if(s.push(c),c.end+1===i*l&&(t.pushWord(s),s=[],i++),!p)break;({start:a,end:o,bits:d,label:g}=p)}}t.pushWord(s)},"populate"),q=f((e,t,r)=>{if(e.start===void 0)throw new Error("start should have been set during first phase");if(e.end===void 0)throw new Error("end should have been set during first phase");if(e.start>e.end)throw new Error(`Block start ${e.start} is greater than block end ${e.end}.`);if(e.end+1<=t*r)return[e,void 0];const s=t*r-1,i=t*r;return[{start:e.start,end:s,label:e.label,bits:s-e.start},{start:i,end:e.end,label:e.label,bits:e.end-i}]},"getNextFittingBlock"),S={parser:{yy:void 0},parse:f(async e=>{const t=await I("packet",e),r=S.parser?.yy;if(!(r instanceof C))throw new Error("parser.parser?.yy was not a PacketDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");$.debug(t),j(t,r)},"parse")},G=f((e,t,r,s)=>{const i=s.db,l=i.getConfig(),{rowHeight:a,paddingY:o,bitWidth:d,bitsPerRow:g}=l,c=i.getPacket(),p=i.getDiagramTitle(),m=a+o,n=m*(c.length+1)-(p?0:a),h=d*g+2,k=E(t);k.attr("viewBox",`0 0 ${h} ${n}`),F(k,n,h,l.useMaxWidth);for(const[x,b]of c.entries())H(k,b,x,l);k.append("text").text(p).attr("x",h/2).attr("y",n-m/2).attr("dominant-baseline","middle").attr("text-anchor","middle").attr("class","packetTitle")},"draw"),H=f((e,t,r,{rowHeight:s,paddingX:i,paddingY:l,bitWidth:a,bitsPerRow:o,showBits:d,bitOrder:g})=>{const c=e.append("g"),p=r*(s+l)+l,m=g==="descending";for(const n of t){const h=n.end-n.start+1,k=n.start%o,b=(m?o-k-h:k)*a+1,w=h*a-i;if(c.append("rect").attr("x",b).attr("y",p).attr("width",w).attr("height",s).attr("class","packetBlock"),c.append("text").attr("x",b+w/2).attr("y",p+s/2).attr("class","packetLabel").attr("dominant-baseline","middle").attr("text-anchor","middle").text(n.label),!d)continue;const[D,T]=m?[n.end,n.start]:[n.start,n.end],v=h===1,y=p-2;c.append("text").attr("x",b+(v?w/2:0)).attr("y",y).attr("class","packetByte start").attr("dominant-baseline","auto").attr("text-anchor",v?"middle":"start").text(D),v||c.append("text").attr("x",b+w).attr("y",y).attr("class","packetByte end").attr("dominant-baseline","auto").attr("text-anchor","end").text(T)}},"drawWord"),K={draw:G},V={byteFontSize:"10px",startByteColor:"black",endByteColor:"black",labelColor:"black",labelFontSize:"12px",titleColor:"black",titleFontSize:"14px",blockStrokeColor:"black",blockStrokeWidth:"1",blockFillColor:"#efefef"},Z=f(({packet:e}={})=>{const t=B(V,e);return`
1
+ import{p as z}from"./CbRNm5he.js";import{b as f,q as B,aX as E,B as F,ay as $,a_ as P,V as A,b0 as W,Y as _,U as N,aZ as Y,W as L,O as M,r as O}from"./CUNx-_2d.js";import{p as I}from"./C0gEyGJV.js";var U=M.packet,u,C=(u=class{constructor(){this.packet=[],this.setAccTitle=P,this.getAccTitle=A,this.setDiagramTitle=W,this.getDiagramTitle=_,this.getAccDescription=N,this.setAccDescription=Y}getConfig(){const t=B({...U,...L().packet});return t.showBits&&(t.paddingY+=10),t}getPacket(){return this.packet}pushWord(t){t.length>0&&this.packet.push(t)}clear(){O(),this.packet=[]}},f(u,"PacketDB"),u),X=1e4,j=f((e,t)=>{z(e,t);let r=-1,s=[],i=1;const{bitsPerRow:l}=t.getConfig();for(let{start:a,end:o,bits:d,label:g}of e.blocks){if(a!==void 0&&o!==void 0&&o<a)throw new Error(`Packet block ${a} - ${o} is invalid. End must be greater than start.`);if(a??=r+1,a!==r+1)throw new Error(`Packet block ${a} - ${o??a} is not contiguous. It should start from ${r+1}.`);if(d===0)throw new Error(`Packet block ${a} is invalid. Cannot have a zero bit field.`);for(o??=a+(d??1)-1,d??=o-a+1,r=o,$.debug(`Packet block ${a} - ${r} with label ${g}`);s.length<=l+1&&t.getPacket().length<X;){const[c,p]=q({start:a,end:o,bits:d,label:g},i,l);if(s.push(c),c.end+1===i*l&&(t.pushWord(s),s=[],i++),!p)break;({start:a,end:o,bits:d,label:g}=p)}}t.pushWord(s)},"populate"),q=f((e,t,r)=>{if(e.start===void 0)throw new Error("start should have been set during first phase");if(e.end===void 0)throw new Error("end should have been set during first phase");if(e.start>e.end)throw new Error(`Block start ${e.start} is greater than block end ${e.end}.`);if(e.end+1<=t*r)return[e,void 0];const s=t*r-1,i=t*r;return[{start:e.start,end:s,label:e.label,bits:s-e.start},{start:i,end:e.end,label:e.label,bits:e.end-i}]},"getNextFittingBlock"),S={parser:{yy:void 0},parse:f(async e=>{const t=await I("packet",e),r=S.parser?.yy;if(!(r instanceof C))throw new Error("parser.parser?.yy was not a PacketDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");$.debug(t),j(t,r)},"parse")},G=f((e,t,r,s)=>{const i=s.db,l=i.getConfig(),{rowHeight:a,paddingY:o,bitWidth:d,bitsPerRow:g}=l,c=i.getPacket(),p=i.getDiagramTitle(),m=a+o,n=m*(c.length+1)-(p?0:a),h=d*g+2,k=E(t);k.attr("viewBox",`0 0 ${h} ${n}`),F(k,n,h,l.useMaxWidth);for(const[x,b]of c.entries())H(k,b,x,l);k.append("text").text(p).attr("x",h/2).attr("y",n-m/2).attr("dominant-baseline","middle").attr("text-anchor","middle").attr("class","packetTitle")},"draw"),H=f((e,t,r,{rowHeight:s,paddingX:i,paddingY:l,bitWidth:a,bitsPerRow:o,showBits:d,bitOrder:g})=>{const c=e.append("g"),p=r*(s+l)+l,m=g==="descending";for(const n of t){const h=n.end-n.start+1,k=n.start%o,b=(m?o-k-h:k)*a+1,w=h*a-i;if(c.append("rect").attr("x",b).attr("y",p).attr("width",w).attr("height",s).attr("class","packetBlock"),c.append("text").attr("x",b+w/2).attr("y",p+s/2).attr("class","packetLabel").attr("dominant-baseline","middle").attr("text-anchor","middle").text(n.label),!d)continue;const[D,T]=m?[n.end,n.start]:[n.start,n.end],v=h===1,y=p-2;c.append("text").attr("x",b+(v?w/2:0)).attr("y",y).attr("class","packetByte start").attr("dominant-baseline","auto").attr("text-anchor",v?"middle":"start").text(D),v||c.append("text").attr("x",b+w).attr("y",y).attr("class","packetByte end").attr("dominant-baseline","auto").attr("text-anchor","end").text(T)}},"drawWord"),K={draw:G},V={byteFontSize:"10px",startByteColor:"black",endByteColor:"black",labelColor:"black",labelFontSize:"12px",titleColor:"black",titleFontSize:"14px",blockStrokeColor:"black",blockStrokeWidth:"1",blockFillColor:"#efefef"},Z=f(({packet:e}={})=>{const t=B(V,e);return`
2
2
  .packetByte {
3
3
  font-size: ${t.byteFontSize};
4
4
  }
@@ -1 +1 @@
1
- import{t as A,bo as a,bw as T,bp as D,b as E}from"./51_h0jm2.js";import{aG as F,bs as G,c5 as J,aD as K,a5 as p,bS as M,bf as P,bA as x,W as S,bn as B,c9 as Q,aA as s,aB as y}from"./CJxGDkBm.js";import{i as U}from"./PXCFrn2V.js";import{s as w}from"./DxvSggY5.js";import{b as H,e as _}from"./CpPNoOk-.js";import{b as I}from"./NtFyWdpR.js";import{u as V,c as N,s as X,b as Y,a as Z}from"./DJfJ5NWH.js";import{C as $}from"./B_QtiZYt.js";const ee=Symbol("card-group"),te=()=>F(ee);var re=new Set(["$$slots","$$events","$$legacy","ref","class","inert","interactive","level","border","selected","media","children"]),ae=y('<div data-slot="card-media" class="shrink-0 p-4"><!></div>'),se=y("<div><!> <!></div>");function ne(v,t){if(new.target)return A({component:ne,...v});G(t,!0);let i=a(t,"ref",15,null),o=a(t,"class",7),d=a(t,"inert",7,!1),l=a(t,"interactive",7,!1),m=a(t,"level",7),u=a(t,"border",7),n=a(t,"selected",7,!1),f=a(t,"media",7),r=a(t,"children",7),C=D(t,re);const c=te(),L=Q(()=>u()==="outlined"||u()===void 0&&(!c||c.border==="outlined"&&c.separated)),O=V(),h=N(J(()=>m()??O+1));X(h);const R=N(h+1);var W={get ref(){return i()},set ref(e=null){i(e),s()},get class(){return o()},set class(e){o(e),s()},get inert(){return d()},set inert(e=!1){d(e),s()},get interactive(){return l()},set interactive(e=!1){l(e),s()},get level(){return m()},set level(e){m(e),s()},get border(){return u()},set border(e){u(e),s()},get selected(){return n()},set selected(e=!1){n(e),s()},get media(){return f()},set media(e){f(e),s()},get children(){return r()},set children(e){r(e),s()},$set:T,$on:(e,g)=>E(t,e,g)},b=se();H(b,e=>({"data-slot":"card","data-selected":n()||void 0,"data-orientation":c?.orientation,"data-surface-level":h,"data-inert":d()||void 0,"data-interactive":l()||void 0,inert:d(),class:e,...C}),[()=>_("flex min-w-0 flex-col overflow-hidden rounded-md text-card-foreground",K(L)?c?"border border-border bg-transparent":Z(h):"bg-transparent",n()&&"bg-selected",c?.orientation==="inline"&&"flex-row items-center [&>[data-slot=card-header]]:min-w-0 [&>[data-slot=card-header]]:flex-1",c&&"relative",l()?_("cursor-pointer transition-[background-color,box-shadow] duration-(--motion-fast) ease-(--ease-standard)","focus-visible:outline focus-visible:-outline-offset-1","active:bg-active data-[state=pressed]:bg-active motion-reduce:transition-none",Y(R)):"",o())]);var k=p(b);{var j=e=>{var g=ae(),z=p(g);w(z,f),x(g),S(e,g)};U(k,e=>{f()&&e(j)})}var q=M(k,2);return w(q,()=>r()??P),x(b),I(b,e=>i(e),()=>i()),S(v,b),B(W)}var ie=new Set(["$$slots","$$events","$$legacy","ref","class","flush","children"]),de=y("<div><!></div>");function le(v,t){if(new.target)return A({component:le,...v});G(t,!0);let i=a(t,"ref",15,null),o=a(t,"class",7),d=a(t,"flush",7,!1),l=a(t,"children",7),m=D(t,ie);var u={get ref(){return i()},set ref(r=null){i(r),s()},get class(){return o()},set class(r){o(r),s()},get flush(){return d()},set flush(r=!1){d(r),s()},get children(){return l()},set children(r){l(r),s()},$set:T,$on:(r,C)=>E(t,r,C)},n=de();H(n,r=>({"data-slot":"card-content","data-flush":d()||void 0,class:r,...m}),[()=>_("type-body min-w-0",d()?"p-0":_($,"py-4 first:pt-4"),o())]);var f=p(n);return w(f,()=>l()??P),x(n),I(n,r=>i(r),()=>i()),S(v,n),B(u)}export{ne as C,le as a};
1
+ import{t as A,bo as a,bw as T,bp as D,b as E}from"./51_h0jm2.js";import{aG as F,bs as G,c5 as J,aD as K,a5 as p,bS as M,bf as P,bA as x,W as S,bn as B,c9 as Q,aA as s,aB as y}from"./CJxGDkBm.js";import{i as U}from"./PXCFrn2V.js";import{s as w}from"./DxvSggY5.js";import{b as H,e as _}from"./CpPNoOk-.js";import{b as I}from"./NtFyWdpR.js";import{u as V,c as N,s as X,b as Y,a as Z}from"./DJfJ5NWH.js";import{C as $}from"./DFBd8tOh.js";const ee=Symbol("card-group"),te=()=>F(ee);var re=new Set(["$$slots","$$events","$$legacy","ref","class","inert","interactive","level","border","selected","media","children"]),ae=y('<div data-slot="card-media" class="shrink-0 p-4"><!></div>'),se=y("<div><!> <!></div>");function ne(v,t){if(new.target)return A({component:ne,...v});G(t,!0);let i=a(t,"ref",15,null),o=a(t,"class",7),d=a(t,"inert",7,!1),l=a(t,"interactive",7,!1),m=a(t,"level",7),u=a(t,"border",7),n=a(t,"selected",7,!1),f=a(t,"media",7),r=a(t,"children",7),C=D(t,re);const c=te(),L=Q(()=>u()==="outlined"||u()===void 0&&(!c||c.border==="outlined"&&c.separated)),O=V(),h=N(J(()=>m()??O+1));X(h);const R=N(h+1);var W={get ref(){return i()},set ref(e=null){i(e),s()},get class(){return o()},set class(e){o(e),s()},get inert(){return d()},set inert(e=!1){d(e),s()},get interactive(){return l()},set interactive(e=!1){l(e),s()},get level(){return m()},set level(e){m(e),s()},get border(){return u()},set border(e){u(e),s()},get selected(){return n()},set selected(e=!1){n(e),s()},get media(){return f()},set media(e){f(e),s()},get children(){return r()},set children(e){r(e),s()},$set:T,$on:(e,g)=>E(t,e,g)},b=se();H(b,e=>({"data-slot":"card","data-selected":n()||void 0,"data-orientation":c?.orientation,"data-surface-level":h,"data-inert":d()||void 0,"data-interactive":l()||void 0,inert:d(),class:e,...C}),[()=>_("flex min-w-0 flex-col overflow-hidden rounded-md text-card-foreground",K(L)?c?"border border-border bg-transparent":Z(h):"bg-transparent",n()&&"bg-selected",c?.orientation==="inline"&&"flex-row items-center [&>[data-slot=card-header]]:min-w-0 [&>[data-slot=card-header]]:flex-1",c&&"relative",l()?_("cursor-pointer transition-[background-color,box-shadow] duration-(--motion-fast) ease-(--ease-standard)","focus-visible:outline focus-visible:-outline-offset-1","active:bg-active data-[state=pressed]:bg-active motion-reduce:transition-none",Y(R)):"",o())]);var k=p(b);{var j=e=>{var g=ae(),z=p(g);w(z,f),x(g),S(e,g)};U(k,e=>{f()&&e(j)})}var q=M(k,2);return w(q,()=>r()??P),x(b),I(b,e=>i(e),()=>i()),S(v,b),B(W)}var ie=new Set(["$$slots","$$events","$$legacy","ref","class","flush","children"]),de=y("<div><!></div>");function le(v,t){if(new.target)return A({component:le,...v});G(t,!0);let i=a(t,"ref",15,null),o=a(t,"class",7),d=a(t,"flush",7,!1),l=a(t,"children",7),m=D(t,ie);var u={get ref(){return i()},set ref(r=null){i(r),s()},get class(){return o()},set class(r){o(r),s()},get flush(){return d()},set flush(r=!1){d(r),s()},get children(){return l()},set children(r){l(r),s()},$set:T,$on:(r,C)=>E(t,r,C)},n=de();H(n,r=>({"data-slot":"card-content","data-flush":d()||void 0,class:r,...m}),[()=>_("type-body min-w-0",d()?"p-0":_($,"py-4 first:pt-4"),o())]);var f=p(n);return w(f,()=>l()??P),x(n),I(n,r=>i(r),()=>i()),S(v,n),B(u)}export{ne as C,le as a};
@@ -1 +1 @@
1
- import{nJ as P,nU as g,J4 as h,vb as d,vg as p,vd as y,gS as v,gt as f,gU as m,gT as A,AJ as u,AI as L,Dy as S,D8 as F,Db as B,AM as z,tN as O,BK as C,tG as M,tO as x,tP as _,gK as D,gV as R,gw as j,gv as V,L3 as H,L1 as U,L2 as E,KM as K,ns as J,IK as G,gM as N,tL as q,K_ as W,L0 as Z,BA as Q,JH as X,Bs as Y,d6 as $,os as ss,ou as es,ot as ts,ov as as,Eg as is,hZ as os,ze as rs,g6 as T,ic as cs,i6 as hs,qV as ls}from"./Zldsekdv.js";import{bm as ns}from"./51_h0jm2.js";import{u as ds,b as ps,n as us,j as b,l as bs,v as I,y as Is}from"./DUItrdZb.js";function ws(i,s,e,t){const a=s?.activeTabId;if(!s||!a||!s.tabs.some(r=>r.id===a))return null;const o=t?P(t).map(g):i.map(r=>[r]),c=o.findIndex(r=>r.includes(s.id));if(c<0)return null;const n=o[c+(e==="next"?1:-1)]?.[0];return n?{kind:"neighbor",tabId:a,targetPanelId:n}:o.length>=4||s.tabs.length<2&&o[c].length<2?null:{kind:"edge",tabId:a,position:e==="next"?"after":"before"}}class k{constructor(s){this.workspaceId=s}get state(){return h.state}dispatch(s){h.dispatch(s)}getPanelIds(){return ds.select(this.state,this.workspaceId)}getAllTabs(){return ps.select(this.state,this.workspaceId)}getPanel(s){return us.select(this.state,this.workspaceId,s)??null}getOtherPanelId(){const s=this.getPanelIds();if(s.length<2)return null;const e=b.select(this.state,this.workspaceId);return s.find(t=>t!==e)??null}openTab(s,e){if(e){this.dispatch(d(this.workspaceId,s,e));return}this.dispatch(p(this.workspaceId,s))}openUserTab(s,e){const t=e??b.select(this.state,this.workspaceId)??void 0;if(t){this.dispatch(d(this.workspaceId,s,t,void 0,!0));return}this.dispatch(p(this.workspaceId,s,{force:!0}))}openTabInAdjacentOrSplit(s,e,t){this.dispatch(y(this.workspaceId,s,e,t))}openBrowserPanel(s,e,t,a){const o={type:"browser",title:ns.layout_tabTypes_browser_title(),browserUrl:s??"about:blank",...a===void 0?{}:{browserRequestedUrl:a},contextItemId:e,closable:!0};this.openTabInAdjacentOrSplit(o,t)}closeTab(s,e){this.dispatch(v(this.workspaceId,s,e))}closeActiveTab(s){this.dispatch(f(this.workspaceId,s))}closeTabsByType(s,e,t){this.dispatch(m(this.workspaceId,s,e,t))}closeTabsByAgentId(s){this.dispatch(A(this.workspaceId,s))}reopenClosedTab(s,e){this.dispatch(u(this.workspaceId,void 0,s,e))}reopenLastClosed(){const s=bs.select(this.state,this.workspaceId);s?.kind==="column"?this.dispatch(L(this.workspaceId)):s?.kind==="tab"&&this.dispatch(u(this.workspaceId))}setActiveTab(s,e){this.dispatch(S(this.workspaceId,s,e))}selectNextTab(s){this.dispatch(F(this.workspaceId,s))}selectPreviousTab(s){this.dispatch(B(this.workspaceId,s))}reorderTabs(s,e,t){this.dispatch(z(this.workspaceId,s,e,t))}moveTabToPanel(s,e,t,a){this.dispatch(O(this.workspaceId,s,e,t,a))}moveActivePaneToColumn(s,e){const t=ws(this.getPanelIds(),this.getPanel(s),e,I.select(this.state,this.workspaceId));return t?(t.kind==="neighbor"?this.moveTabToPanel(t.tabId,s,t.targetPanelId):this.moveTabToSplitLevel(t.tabId,s,[],t.position,"horizontal"),!0):!1}canMoveActivePaneVertically(s,e){return C(I.select(this.state,this.workspaceId),this.getPanel(s),e)!==null}moveActivePaneVertically(s,e){return this.canMoveActivePaneVertically(s,e)?(this.dispatch(M(this.workspaceId,s,e)),!0):!1}moveTabToSplit(s,e,t,a){this.dispatch(x(this.workspaceId,s,e,t,a))}moveTabToSplitLevel(s,e,t,a,o){this.dispatch(_(this.workspaceId,s,e,t,a,o))}closeOtherTabs(s,e){this.dispatch(D(this.workspaceId,s,e))}closeTabsToRight(s,e){this.dispatch(R(this.workspaceId,s,e))}closeAllTabs(s){this.dispatch(j(this.workspaceId,s))}closeAllOthersEverywhere(s,e){this.dispatch(V(this.workspaceId,s,e))}updateTabTitle(s,e){this.dispatch(H(this.workspaceId,s,e))}updateTabBrowserUrl(s,e){this.dispatch(U(this.workspaceId,s,e))}updateTabFavicon(s,e){this.dispatch(E(this.workspaceId,s,e))}updateFileTabPath(s,e){this.dispatch(K(this.workspaceId,s,e))}focusPanel(s){this.dispatch(J(this.workspaceId,s))}splitPanel(s,e,t){this.dispatch(G(this.workspaceId,s,e,t))}closePanel(s){this.dispatch(N(this.workspaceId,s))}movePanel(s,e,t){this.dispatch(q(this.workspaceId,s,e,t))}updateSizes(s,e){this.dispatch(W(this.workspaceId,s,e))}updateSplitSizes(s,e){this.dispatch(Z(this.workspaceId,s,e))}resizeRootDivider(s,e){this.dispatch(Q(this.workspaceId,s,e))}toggleExpandPanel(s){this.dispatch(X(this.workspaceId,s))}resetLayout(){this.dispatch(Y(this.workspaceId))}applyPreset(s){this.dispatch($(this.workspaceId,s))}goBack(){this.dispatch(ss(this.workspaceId))}goForward(){this.dispatch(es(this.workspaceId))}goBackInFocusHistory(){this.dispatch(ts(this.workspaceId))}goForwardInFocusHistory(){this.dispatch(as(this.workspaceId))}setDeferSpecTab(s){this.dispatch(is(this.workspaceId,s))}consumePendingFocus(s){this.dispatch(os(this.workspaceId,s))}reconcileStaleAgentTabs(s,e,t){const a=Array.isArray(s)?s:Array.from(s);this.dispatch(rs(this.workspaceId,a,e,t))}clearLayout(){this.dispatch(T(this.workspaceId))}createGridLayout(s){return this.dispatch(cs(this.workspaceId,s)),this.getPanelIds()}batchMutations(s){return s()}initializeLayout(s){const e=s??hs();this.dispatch(ls(this.workspaceId,e))}cyclePresets(){const s=Is.select(this.state,this.workspaceId),e=Object.keys(s).length;e<=1?this.applyPreset("split-horizontal"):e===2?this.applyPreset("three-column"):this.applyPreset("single")}}const l=new Map;function Ts(i){let s=l.get(i);return s||(s=new k(i),l.set(i,s)),s}function ks(i){return!0}function Ps(i){l.delete(i)}function w(i){h.dispatch(T(i))}const fs=Object.freeze(Object.defineProperty({__proto__:null,PanelLayoutAdapter:k,clearPanelLayoutAdapter:Ps,clearPanelLayoutFn:w,clearPanelLayoutForWorkspace:w,getPanelLayoutManager:Ts,hasPanelLayoutManager:ks},Symbol.toStringTag,{value:"Module"}));export{Ps as c,Ts as g,ks as h,fs as p,ws as r};
1
+ import{nJ as P,nU as g,J4 as h,vb as d,vg as p,vd as y,gS as v,gt as f,gU as m,gT as A,AJ as u,AI as L,Dy as S,D8 as F,Db as B,AM as z,tN as O,BK as C,tG as M,tO as x,tP as _,gK as D,gV as R,gw as j,gv as V,L3 as H,L1 as U,L2 as E,KM as K,ns as J,IK as G,gM as N,tL as q,K_ as W,L0 as Z,BA as Q,JH as X,Bs as Y,d6 as $,os as ss,ou as es,ot as ts,ov as as,Eg as is,hZ as os,ze as rs,g6 as T,ic as cs,i6 as hs,qV as ls}from"./CbRsc9i4.js";import{bm as ns}from"./51_h0jm2.js";import{u as ds,b as ps,n as us,j as b,l as bs,v as I,y as Is}from"./BRRvOx4M.js";function ws(i,s,e,t){const a=s?.activeTabId;if(!s||!a||!s.tabs.some(r=>r.id===a))return null;const o=t?P(t).map(g):i.map(r=>[r]),c=o.findIndex(r=>r.includes(s.id));if(c<0)return null;const n=o[c+(e==="next"?1:-1)]?.[0];return n?{kind:"neighbor",tabId:a,targetPanelId:n}:o.length>=4||s.tabs.length<2&&o[c].length<2?null:{kind:"edge",tabId:a,position:e==="next"?"after":"before"}}class k{constructor(s){this.workspaceId=s}get state(){return h.state}dispatch(s){h.dispatch(s)}getPanelIds(){return ds.select(this.state,this.workspaceId)}getAllTabs(){return ps.select(this.state,this.workspaceId)}getPanel(s){return us.select(this.state,this.workspaceId,s)??null}getOtherPanelId(){const s=this.getPanelIds();if(s.length<2)return null;const e=b.select(this.state,this.workspaceId);return s.find(t=>t!==e)??null}openTab(s,e){if(e){this.dispatch(d(this.workspaceId,s,e));return}this.dispatch(p(this.workspaceId,s))}openUserTab(s,e){const t=e??b.select(this.state,this.workspaceId)??void 0;if(t){this.dispatch(d(this.workspaceId,s,t,void 0,!0));return}this.dispatch(p(this.workspaceId,s,{force:!0}))}openTabInAdjacentOrSplit(s,e,t){this.dispatch(y(this.workspaceId,s,e,t))}openBrowserPanel(s,e,t,a){const o={type:"browser",title:ns.layout_tabTypes_browser_title(),browserUrl:s??"about:blank",...a===void 0?{}:{browserRequestedUrl:a},contextItemId:e,closable:!0};this.openTabInAdjacentOrSplit(o,t)}closeTab(s,e){this.dispatch(v(this.workspaceId,s,e))}closeActiveTab(s){this.dispatch(f(this.workspaceId,s))}closeTabsByType(s,e,t){this.dispatch(m(this.workspaceId,s,e,t))}closeTabsByAgentId(s){this.dispatch(A(this.workspaceId,s))}reopenClosedTab(s,e){this.dispatch(u(this.workspaceId,void 0,s,e))}reopenLastClosed(){const s=bs.select(this.state,this.workspaceId);s?.kind==="column"?this.dispatch(L(this.workspaceId)):s?.kind==="tab"&&this.dispatch(u(this.workspaceId))}setActiveTab(s,e){this.dispatch(S(this.workspaceId,s,e))}selectNextTab(s){this.dispatch(F(this.workspaceId,s))}selectPreviousTab(s){this.dispatch(B(this.workspaceId,s))}reorderTabs(s,e,t){this.dispatch(z(this.workspaceId,s,e,t))}moveTabToPanel(s,e,t,a){this.dispatch(O(this.workspaceId,s,e,t,a))}moveActivePaneToColumn(s,e){const t=ws(this.getPanelIds(),this.getPanel(s),e,I.select(this.state,this.workspaceId));return t?(t.kind==="neighbor"?this.moveTabToPanel(t.tabId,s,t.targetPanelId):this.moveTabToSplitLevel(t.tabId,s,[],t.position,"horizontal"),!0):!1}canMoveActivePaneVertically(s,e){return C(I.select(this.state,this.workspaceId),this.getPanel(s),e)!==null}moveActivePaneVertically(s,e){return this.canMoveActivePaneVertically(s,e)?(this.dispatch(M(this.workspaceId,s,e)),!0):!1}moveTabToSplit(s,e,t,a){this.dispatch(x(this.workspaceId,s,e,t,a))}moveTabToSplitLevel(s,e,t,a,o){this.dispatch(_(this.workspaceId,s,e,t,a,o))}closeOtherTabs(s,e){this.dispatch(D(this.workspaceId,s,e))}closeTabsToRight(s,e){this.dispatch(R(this.workspaceId,s,e))}closeAllTabs(s){this.dispatch(j(this.workspaceId,s))}closeAllOthersEverywhere(s,e){this.dispatch(V(this.workspaceId,s,e))}updateTabTitle(s,e){this.dispatch(H(this.workspaceId,s,e))}updateTabBrowserUrl(s,e){this.dispatch(U(this.workspaceId,s,e))}updateTabFavicon(s,e){this.dispatch(E(this.workspaceId,s,e))}updateFileTabPath(s,e){this.dispatch(K(this.workspaceId,s,e))}focusPanel(s){this.dispatch(J(this.workspaceId,s))}splitPanel(s,e,t){this.dispatch(G(this.workspaceId,s,e,t))}closePanel(s){this.dispatch(N(this.workspaceId,s))}movePanel(s,e,t){this.dispatch(q(this.workspaceId,s,e,t))}updateSizes(s,e){this.dispatch(W(this.workspaceId,s,e))}updateSplitSizes(s,e){this.dispatch(Z(this.workspaceId,s,e))}resizeRootDivider(s,e){this.dispatch(Q(this.workspaceId,s,e))}toggleExpandPanel(s){this.dispatch(X(this.workspaceId,s))}resetLayout(){this.dispatch(Y(this.workspaceId))}applyPreset(s){this.dispatch($(this.workspaceId,s))}goBack(){this.dispatch(ss(this.workspaceId))}goForward(){this.dispatch(es(this.workspaceId))}goBackInFocusHistory(){this.dispatch(ts(this.workspaceId))}goForwardInFocusHistory(){this.dispatch(as(this.workspaceId))}setDeferSpecTab(s){this.dispatch(is(this.workspaceId,s))}consumePendingFocus(s){this.dispatch(os(this.workspaceId,s))}reconcileStaleAgentTabs(s,e,t){const a=Array.isArray(s)?s:Array.from(s);this.dispatch(rs(this.workspaceId,a,e,t))}clearLayout(){this.dispatch(T(this.workspaceId))}createGridLayout(s){return this.dispatch(cs(this.workspaceId,s)),this.getPanelIds()}batchMutations(s){return s()}initializeLayout(s){const e=s??hs();this.dispatch(ls(this.workspaceId,e))}cyclePresets(){const s=Is.select(this.state,this.workspaceId),e=Object.keys(s).length;e<=1?this.applyPreset("split-horizontal"):e===2?this.applyPreset("three-column"):this.applyPreset("single")}}const l=new Map;function Ts(i){let s=l.get(i);return s||(s=new k(i),l.set(i,s)),s}function ks(i){return!0}function Ps(i){l.delete(i)}function w(i){h.dispatch(T(i))}const fs=Object.freeze(Object.defineProperty({__proto__:null,PanelLayoutAdapter:k,clearPanelLayoutAdapter:Ps,clearPanelLayoutFn:w,clearPanelLayoutForWorkspace:w,getPanelLayoutManager:Ts,hasPanelLayoutManager:ks},Symbol.toStringTag,{value:"Module"}));export{Ps as c,Ts as g,ks as h,fs as p,ws as r};