@intent-hq/web 2.390.1 → 2.391.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 (325) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/chunks/{caKZ9Z4U.js → -CpNnXIW.js} +1 -1
  3. package/web/app/immutable/chunks/{iXPhOXJa.js → 0WykzpsL.js} +1 -1
  4. package/web/app/immutable/chunks/{Cp5royN1.js → 1-MeqddK.js} +1 -1
  5. package/web/app/immutable/chunks/{CXP7dPfG.js → 3bAApxgI.js} +1 -1
  6. package/web/app/immutable/chunks/{CbTbQhqy.js → 3hx_Pv3I.js} +1 -1
  7. package/web/app/immutable/chunks/{MakwazGY.js → 3zZ5VtMA.js} +1 -1
  8. package/web/app/immutable/chunks/{C9_ZEBkB.js → 5JwmgTp3.js} +1 -1
  9. package/web/app/immutable/chunks/{DCLLUF6K.js → 6JlgfFWd.js} +1 -1
  10. package/web/app/immutable/chunks/{DpIgdPs7.js → 6zjpUzOd.js} +1 -1
  11. package/web/app/immutable/chunks/{DxyD9o0t.js → 9eqoPT_C.js} +1 -1
  12. package/web/app/immutable/chunks/{D672CX3Y.js → Ao0jjYj2.js} +1 -1
  13. package/web/app/immutable/chunks/{DmrchYzR.js → B0qyjQ39.js} +1 -1
  14. package/web/app/immutable/chunks/{CiCk9_hF.js → B1U2wa0T.js} +1 -1
  15. package/web/app/immutable/chunks/{l0vFyEGM.js → B1ZnKKBC.js} +1 -1
  16. package/web/app/immutable/chunks/{_UjuBCOJ.js → B1lpukIv.js} +1 -1
  17. package/web/app/immutable/chunks/{CcJmuwXr.js → B26ZHg3s.js} +1 -1
  18. package/web/app/immutable/chunks/{CZfxrP3m.js → B28GhEWZ.js} +1 -1
  19. package/web/app/immutable/chunks/{CrpG0ldr.js → B28HQLvX.js} +1 -1
  20. package/web/app/immutable/chunks/{BIFBPuAO.js → B2Ny2uiy.js} +1 -1
  21. package/web/app/immutable/chunks/{DfheqyY9.js → B2awO10u.js} +1 -1
  22. package/web/app/immutable/chunks/{C4jSaPCg.js → B3T1oiJl.js} +1 -1
  23. package/web/app/immutable/chunks/{BtmHyUSg.js → B4Yz29Q3.js} +1 -1
  24. package/web/app/immutable/chunks/{DBAONTYG.js → B4kHSLJr.js} +1 -1
  25. package/web/app/immutable/chunks/{s6kPQOkv.js → B55WAZno.js} +1 -1
  26. package/web/app/immutable/chunks/{UuRFnpzE.js → B5TWkOLI.js} +1 -1
  27. package/web/app/immutable/chunks/{Cn9MHQyc.js → B60nx31p.js} +1 -1
  28. package/web/app/immutable/chunks/{CdGOAvU7.js → B6mEh1Cs.js} +1 -1
  29. package/web/app/immutable/chunks/{9YT9B_ti.js → B7pblHOt.js} +1 -1
  30. package/web/app/immutable/chunks/{CkmDctRH.js → BCLYeYwk.js} +1 -1
  31. package/web/app/immutable/chunks/{BbYWP3Ow.js → BFfRQORP.js} +1 -1
  32. package/web/app/immutable/chunks/{BrMDTgLg.js → BGeImWEk.js} +1 -1
  33. package/web/app/immutable/chunks/{BksTLNI4.js → BHgSQJqT.js} +1 -1
  34. package/web/app/immutable/chunks/{BJEoqPJ5.js → BJCm9MUD.js} +1 -1
  35. package/web/app/immutable/chunks/{958SNXkw.js → BM2ubpAw.js} +1 -1
  36. package/web/app/immutable/chunks/{D36C5UHH.js → BM39k1x6.js} +1 -1
  37. package/web/app/immutable/chunks/{CjPEI4fg.js → BMTanQ2Z.js} +1 -1
  38. package/web/app/immutable/chunks/{BtNlG0Qg.js → BNYZa6GV.js} +1 -1
  39. package/web/app/immutable/chunks/{Cn4A9AjR.js → BOPrepKH.js} +1 -1
  40. package/web/app/immutable/chunks/{CwxM4cLW.js → BP9YAxnw.js} +1 -1
  41. package/web/app/immutable/chunks/{D2YgP7DB.js → BPS-xChS.js} +1 -1
  42. package/web/app/immutable/chunks/{CXEn_RGs.js → BRSPDdkI.js} +1 -1
  43. package/web/app/immutable/chunks/{CgrVbtN0.js → BS9WBIBb.js} +1 -1
  44. package/web/app/immutable/chunks/{DuaPhBil.js → BSKVcPN7.js} +1 -1
  45. package/web/app/immutable/chunks/{D7b2VLAz.js → BT5iyspK.js} +1 -1
  46. package/web/app/immutable/chunks/{CJsEZbta.js → BT8mEFV6.js} +1 -1
  47. package/web/app/immutable/chunks/{DZzwt3PA.js → BTvJ4T_4.js} +1 -1
  48. package/web/app/immutable/chunks/{aZdb_rCN.js → BU3y3Xes.js} +1 -1
  49. package/web/app/immutable/chunks/{DCs992HX.js → BUSErGiB.js} +1 -1
  50. package/web/app/immutable/chunks/{p1zR6qAw.js → BWQPB65O.js} +1 -1
  51. package/web/app/immutable/chunks/{BwH4Bvte.js → BZ27qIg1.js} +1 -1
  52. package/web/app/immutable/chunks/{Dj-KLToz.js → BZ2BunMM.js} +3 -3
  53. package/web/app/immutable/chunks/{Dc4V5sMu.js → B_FwdBlO.js} +1 -1
  54. package/web/app/immutable/chunks/{CDwhmkPo.js → B_JGVEqN.js} +1 -1
  55. package/web/app/immutable/chunks/{BNCKMxAC.js → Bb-kpHQF.js} +1 -1
  56. package/web/app/immutable/chunks/{B557jpav.js → BbXTs-zc.js} +1 -1
  57. package/web/app/immutable/chunks/{k55njABd.js → BczcQRsN.js} +1 -1
  58. package/web/app/immutable/chunks/{iOLvSy8g.js → BdCPH0Ry.js} +3 -3
  59. package/web/app/immutable/chunks/{B5N8LmEF.js → BdhKX9ZN.js} +1 -1
  60. package/web/app/immutable/chunks/{DWF5uerC.js → Bdz7xLoU.js} +2 -2
  61. package/web/app/immutable/chunks/{F__rjLBg.js → Bf739dtf.js} +1 -1
  62. package/web/app/immutable/chunks/{uvhZkGDU.js → Bhq56Jsu.js} +1 -1
  63. package/web/app/immutable/chunks/{Bviyt-Xy.js → Bhyo7hBL.js} +1 -1
  64. package/web/app/immutable/chunks/{Bh9phZlQ.js → Bi8v8T9s.js} +1 -1
  65. package/web/app/immutable/chunks/{BQh5T3Ji.js → BijokBFk.js} +1 -1
  66. package/web/app/immutable/chunks/{DdNhEgdc.js → BjGqF2I6.js} +1 -1
  67. package/web/app/immutable/chunks/{LXflBOtX.js → Bk1TahM2.js} +1 -1
  68. package/web/app/immutable/chunks/{BPQFiQQc.js → BkcCJyDK.js} +1 -1
  69. package/web/app/immutable/chunks/{CHW1UVsO.js → BkoVJN8J.js} +1 -1
  70. package/web/app/immutable/chunks/{2q3SGbtI.js → BlIQH-6S.js} +1 -1
  71. package/web/app/immutable/chunks/{Bq2Q6gce.js → BlzuDW6O.js} +1 -1
  72. package/web/app/immutable/chunks/{Cio-rWcY.js → BmlW0rtZ.js} +1 -1
  73. package/web/app/immutable/chunks/{C8rJ090F.js → Bmr0NXg9.js} +1 -1
  74. package/web/app/immutable/chunks/{BTaBiqZj.js → Bn3gcMEi.js} +2 -2
  75. package/web/app/immutable/chunks/{BRc67QBD.js → BnLeDIe_.js} +1 -1
  76. package/web/app/immutable/chunks/{M9xgh-VN.js → Bnz_gGcf.js} +1 -1
  77. package/web/app/immutable/chunks/{UTM5G-w-.js → BpezAJRw.js} +1 -1
  78. package/web/app/immutable/chunks/BrS-M4QZ.js +411 -0
  79. package/web/app/immutable/chunks/{GgbLp4i9.js → Bt4BDbd9.js} +1 -1
  80. package/web/app/immutable/chunks/{WdSh5fl1.js → BudXN7v1.js} +2 -2
  81. package/web/app/immutable/chunks/{FXkLEPTk.js → Bv7vQoAK.js} +1 -1
  82. package/web/app/immutable/chunks/{Bq7odTLd.js → BvKMYZXt.js} +1 -1
  83. package/web/app/immutable/chunks/{TsuJPtsq.js → Bvnhw_a1.js} +1 -1
  84. package/web/app/immutable/chunks/{CfNIzRu8.js → Bx1P9uW7.js} +1 -1
  85. package/web/app/immutable/chunks/{BhCMc9G0.js → By2YlE-l.js} +1 -1
  86. package/web/app/immutable/chunks/{CSjV3uYy.js → Byobtdo1.js} +1 -1
  87. package/web/app/immutable/chunks/{CEE0831H.js → Bz80vYvX.js} +1 -1
  88. package/web/app/immutable/chunks/{D0qNo7Oy.js → BzX67fGt.js} +1 -1
  89. package/web/app/immutable/chunks/{pfX_M-aK.js → C-nTKxY9.js} +1 -1
  90. package/web/app/immutable/chunks/{9mJbO8Tf.js → C0wQm_cl.js} +1 -1
  91. package/web/app/immutable/chunks/{CVWwz1Ss.js → C22cBcHz.js} +1 -1
  92. package/web/app/immutable/chunks/{D9CNxngf.js → C3JJkOFb.js} +1 -1
  93. package/web/app/immutable/chunks/{96V4v2iI.js → C3jMXj_V.js} +1 -1
  94. package/web/app/immutable/chunks/{DvNAieWn.js → C4BZMChh.js} +1 -1
  95. package/web/app/immutable/chunks/{DRND1Lha.js → C4l6men1.js} +1 -1
  96. package/web/app/immutable/chunks/{Bw9XtMey.js → C6xamGmH.js} +3 -3
  97. package/web/app/immutable/chunks/C8E14ldW.js +1 -0
  98. package/web/app/immutable/chunks/{mfOfLDEg.js → C9N7yhqm.js} +1 -1
  99. package/web/app/immutable/chunks/{BId1zNus.js → CAGrRNbp.js} +1 -1
  100. package/web/app/immutable/chunks/{BOVEEbKv.js → CAUJiTuz.js} +1 -1
  101. package/web/app/immutable/chunks/{BNu1GhJn.js → CA_E2EO_.js} +1 -1
  102. package/web/app/immutable/chunks/{CpTvA0xC.js → CBZWgc2D.js} +1 -1
  103. package/web/app/immutable/chunks/{BR1TNOav.js → CDUYzZ2W.js} +1 -1
  104. package/web/app/immutable/chunks/CDVPwJHE.js +1 -0
  105. package/web/app/immutable/chunks/{CiRuCsUo.js → CDh2mZdS.js} +1 -1
  106. package/web/app/immutable/chunks/{BObTlShq.js → CDqF0p7U.js} +1 -1
  107. package/web/app/immutable/chunks/{DpCic98X.js → CEA7jD1C.js} +1 -1
  108. package/web/app/immutable/chunks/{Dp7Hm0g0.js → CEyWnfg4.js} +1 -1
  109. package/web/app/immutable/chunks/{CkkpCaXs.js → CGBripl0.js} +1 -1
  110. package/web/app/immutable/chunks/{BwNrQXlF.js → CGmYraIa.js} +1 -1
  111. package/web/app/immutable/chunks/{yofTuS8P.js → CH6Im5iM.js} +1 -1
  112. package/web/app/immutable/chunks/{BBFoj-dS.js → CHIxjTWu.js} +1 -1
  113. package/web/app/immutable/chunks/{pTmKTjdu.js → CKBFGMc-.js} +3 -3
  114. package/web/app/immutable/chunks/{TyAuxp07.js → CLvqghA8.js} +1 -1
  115. package/web/app/immutable/chunks/{DzDSM2LC.js → CM8uib8e.js} +3 -3
  116. package/web/app/immutable/chunks/{D6txwX4Y.js → COJ7FcW0.js} +4 -4
  117. package/web/app/immutable/chunks/{DPttSllj.js → COofQgO0.js} +1 -1
  118. package/web/app/immutable/chunks/{DRDYIFn4.js → COpm3Tww.js} +4 -4
  119. package/web/app/immutable/chunks/{CXz-0Ag_.js → CPjnlep8.js} +1 -1
  120. package/web/app/immutable/chunks/{C3L0F6Xc.js → CR1CxoNP.js} +1 -1
  121. package/web/app/immutable/chunks/{Lai6pqjy.js → CREbzS7Z.js} +1 -1
  122. package/web/app/immutable/chunks/{DtXgUHCj.js → CRXlvdEs.js} +1 -1
  123. package/web/app/immutable/chunks/{Tt-VDGAY.js → CRwY2AeH.js} +1 -1
  124. package/web/app/immutable/chunks/{KqqODIKw.js → CT1weljk.js} +1 -1
  125. package/web/app/immutable/chunks/{TB9r2XJy.js → CT8vPg_p.js} +2 -2
  126. package/web/app/immutable/chunks/{hkJYqn41.js → CTgYTdXw.js} +1 -1
  127. package/web/app/immutable/chunks/{o0-ObNWE.js → CU15H7o_.js} +1 -1
  128. package/web/app/immutable/chunks/{CqKjG3GQ.js → CUWwQrpD.js} +1 -1
  129. package/web/app/immutable/chunks/{C3dytrTL.js → CUZpLDKB.js} +1 -1
  130. package/web/app/immutable/chunks/{DMrzeQEi.js → CV17KbhT.js} +1 -1
  131. package/web/app/immutable/chunks/{BbhtQrkZ.js → CVtLV3_x.js} +1 -1
  132. package/web/app/immutable/chunks/{etz9IKpr.js → CWXVdpgZ.js} +1 -1
  133. package/web/app/immutable/chunks/{xvadpoNC.js → CWm_v4XX.js} +1 -1
  134. package/web/app/immutable/chunks/{CpIiMADc.js → CXlmxn9D.js} +1 -1
  135. package/web/app/immutable/chunks/{DogIXhAJ.js → CY5E-txU.js} +1 -1
  136. package/web/app/immutable/chunks/{DFFA_QTd.js → C_8_aEto.js} +1 -1
  137. package/web/app/immutable/chunks/{BNJ3edFz.js → CbB6SI0i.js} +1 -1
  138. package/web/app/immutable/chunks/{BYpFXq6h.js → Cc9GRpTQ.js} +1 -1
  139. package/web/app/immutable/chunks/{zGyI6qOq.js → CdTSfppl.js} +1 -1
  140. package/web/app/immutable/chunks/{BOmWUtDJ.js → CdVvsm2p.js} +1 -1
  141. package/web/app/immutable/chunks/{B6U9KgKY.js → CedswVQA.js} +1 -1
  142. package/web/app/immutable/chunks/{B6dUCFoz.js → CeoBhFo7.js} +1 -1
  143. package/web/app/immutable/chunks/{CwEjDuJ3.js → Cgz4dZpP.js} +1 -1
  144. package/web/app/immutable/chunks/{BqMJVUEP.js → ChLkDI4a.js} +1 -1
  145. package/web/app/immutable/chunks/{BZYS48ON.js → ChSyGlG9.js} +1 -1
  146. package/web/app/immutable/chunks/{BGniv2IE.js → ChYLETZB.js} +1 -1
  147. package/web/app/immutable/chunks/{vj8NdGWd.js → Chbrtg19.js} +1 -1
  148. package/web/app/immutable/chunks/{D54MIPdF.js → Ci6PI5sn.js} +1 -1
  149. package/web/app/immutable/chunks/{TBtn8giw.js → CiHhUIjb.js} +1 -1
  150. package/web/app/immutable/chunks/{B9vHutcJ.js → CiKoEJ2m.js} +1 -1
  151. package/web/app/immutable/chunks/{D4ytz2EC.js → CjpWOZGa.js} +1 -1
  152. package/web/app/immutable/chunks/{DhSY0ZEq.js → CkoYXKFa.js} +2 -2
  153. package/web/app/immutable/chunks/{CfQcMKZg.js → CktgkomQ.js} +1 -1
  154. package/web/app/immutable/chunks/{D99jSct3.js → ClaP_sir.js} +1 -1
  155. package/web/app/immutable/chunks/{BI0SpAnv.js → CmvX1OIv.js} +1 -1
  156. package/web/app/immutable/chunks/{KZwZoyIt.js → Cn-Afla1.js} +1 -1
  157. package/web/app/immutable/chunks/{z3SZgGAK.js → CnDgS0vt.js} +1 -1
  158. package/web/app/immutable/chunks/{B1CKzIA2.js → CnFZbWXv.js} +1 -1
  159. package/web/app/immutable/chunks/{goTVlBLf.js → CpmTFmUr.js} +1 -1
  160. package/web/app/immutable/chunks/{OyqO3fO-.js → CqVzh7wS.js} +1 -1
  161. package/web/app/immutable/chunks/{DuiDS_zT.js → CrbOuYLj.js} +2 -2
  162. package/web/app/immutable/chunks/{D7QZQ0zf.js → Crey45Oa.js} +1 -1
  163. package/web/app/immutable/chunks/{B8lliwzm.js → Cs94v59b.js} +1 -1
  164. package/web/app/immutable/chunks/{DJ9ILql1.js → Csqi0oV3.js} +1 -1
  165. package/web/app/immutable/chunks/{BYpep93f.js → Ct3K7T3j.js} +1 -1
  166. package/web/app/immutable/chunks/CtfEuoOH.js +1 -0
  167. package/web/app/immutable/chunks/{BJ_X8eP6.js → Cv_bDXRO.js} +1 -1
  168. package/web/app/immutable/chunks/{ClxyT-Se.js → CwCvyVGi.js} +1 -1
  169. package/web/app/immutable/chunks/{Ctp-YfoS.js → CwqyVbqi.js} +3 -3
  170. package/web/app/immutable/chunks/{BAAIhuts.js → CxKuw3AV.js} +1 -1
  171. package/web/app/immutable/chunks/{CZ9ViN3z.js → CxXCJ2kp.js} +1 -1
  172. package/web/app/immutable/chunks/{B_vpadVO.js → Cxc8q3rR.js} +1 -1
  173. package/web/app/immutable/chunks/{vpQRVk8F.js → Cxmepjfl.js} +1 -1
  174. package/web/app/immutable/chunks/{xfg66reS.js → CyJX_0ZH.js} +1 -1
  175. package/web/app/immutable/chunks/{CzJm3Kxa.js → CyinuwPx.js} +1 -1
  176. package/web/app/immutable/chunks/{C4fj9uDh.js → CyvzL5p8.js} +3 -3
  177. package/web/app/immutable/chunks/{X0RLj3lE.js → CzxEKNiF.js} +1 -1
  178. package/web/app/immutable/chunks/{BRaBCoIn.js → D-wrxbVY.js} +1 -1
  179. package/web/app/immutable/chunks/{Dcy1uNRG.js → D0Z4j4KD.js} +1 -1
  180. package/web/app/immutable/chunks/{D8EcsS7V.js → D1FTpY7r.js} +2 -2
  181. package/web/app/immutable/chunks/{D8rVwrWL.js → D1tq2CRk.js} +1 -1
  182. package/web/app/immutable/chunks/{GnUYJfg_.js → D3JNbQ4D.js} +1 -1
  183. package/web/app/immutable/chunks/{Dfp6ssYD.js → D3tqOSzT.js} +1 -1
  184. package/web/app/immutable/chunks/{Ch_2itxw.js → D49mWFig.js} +1 -1
  185. package/web/app/immutable/chunks/{BzWT_wQw.js → D5tDAzIo.js} +1 -1
  186. package/web/app/immutable/chunks/{DC_9qNLq.js → D6q64aEo.js} +3 -3
  187. package/web/app/immutable/chunks/{Jg5r77fy.js → D7QFmXLb.js} +1 -1
  188. package/web/app/immutable/chunks/{llldKyz-.js → D970Mqsu.js} +1 -1
  189. package/web/app/immutable/chunks/{nxtepGjE.js → D9R5fzn8.js} +1 -1
  190. package/web/app/immutable/chunks/{BB3L0Ahp.js → DCLeEFTU.js} +1 -1
  191. package/web/app/immutable/chunks/{DrgHk1UN.js → DCoRWScq.js} +1 -1
  192. package/web/app/immutable/chunks/{CIbfGsF-.js → DFKhOU69.js} +1 -1
  193. package/web/app/immutable/chunks/{BESb5QC3.js → DFlZYhla.js} +1 -1
  194. package/web/app/immutable/chunks/{BpMXdC4H.js → DG3-me8H.js} +1 -1
  195. package/web/app/immutable/chunks/{nIshZjK_.js → DGU9U1O6.js} +1 -1
  196. package/web/app/immutable/chunks/{DX2vfFPI.js → DGwxrltY.js} +1 -1
  197. package/web/app/immutable/chunks/{BEQVnLdV.js → DHQU4kkd.js} +1 -1
  198. package/web/app/immutable/chunks/{Ll0WtNFW.js → DHkcvVzr.js} +1 -1
  199. package/web/app/immutable/chunks/{tCg_s90g.js → DIIj7EWA.js} +1 -1
  200. package/web/app/immutable/chunks/{DZOkhMcO.js → DJSvqrCI.js} +1 -1
  201. package/web/app/immutable/chunks/{BYHw69-J.js → DJqiMUht.js} +1 -1
  202. package/web/app/immutable/chunks/{i5FUlYpy.js → DLqZuVvj.js} +1 -1
  203. package/web/app/immutable/chunks/{Cu5e4npY.js → DMEIbJII.js} +1 -1
  204. package/web/app/immutable/chunks/{D1BvOU2l.js → DOhHP999.js} +1 -1
  205. package/web/app/immutable/chunks/{BgXuXJpo.js → DPZ2um_T.js} +4 -4
  206. package/web/app/immutable/chunks/{BniyCzQ9.js → DPk2fLxi.js} +1 -1
  207. package/web/app/immutable/chunks/{Bcb_9iMJ.js → DPmtJhEg.js} +1 -1
  208. package/web/app/immutable/chunks/{C4iFTj8I.js → DQMrEH0w.js} +2 -2
  209. package/web/app/immutable/chunks/{CgwVRyOb.js → DQbu7pou.js} +2 -2
  210. package/web/app/immutable/chunks/DQkOZWKk.js +1 -0
  211. package/web/app/immutable/chunks/{BnV9CBUH.js → DQpGArF7.js} +1 -1
  212. package/web/app/immutable/chunks/{R-UFG3MB.js → DRuLniWc.js} +1 -1
  213. package/web/app/immutable/chunks/{z5FcOXD5.js → DSZbBNDD.js} +1 -1
  214. package/web/app/immutable/chunks/{DtzJzV-4.js → DUTvR2si.js} +1 -1
  215. package/web/app/immutable/chunks/{vIaOEmEw.js → DUkc2huG.js} +4 -4
  216. package/web/app/immutable/chunks/{D2YDfFKv.js → DW8fwVBf.js} +1 -1
  217. package/web/app/immutable/chunks/{CyBTM61A.js → DWZL93Dc.js} +1 -1
  218. package/web/app/immutable/chunks/{u4iPyMwH.js → DXCHCOFX.js} +1 -1
  219. package/web/app/immutable/chunks/{BhiYNovM.js → DaWbxwE_.js} +1 -1
  220. package/web/app/immutable/chunks/{hk_M7mFx.js → DalTYFZn.js} +1 -1
  221. package/web/app/immutable/chunks/{BBPVt-9A.js → DcNjiASe.js} +2 -2
  222. package/web/app/immutable/chunks/{CvLVVi8w.js → DcPZfWKB.js} +1 -1
  223. package/web/app/immutable/chunks/{DaWmj23r.js → DcraaizU.js} +1 -1
  224. package/web/app/immutable/chunks/{C6RhewOE.js → Dd_KPYBw.js} +1 -1
  225. package/web/app/immutable/chunks/{BEP4JwDJ.js → DeKlxkvP.js} +1 -1
  226. package/web/app/immutable/chunks/{WoMkq5ac.js → DedU58Eo.js} +2 -2
  227. package/web/app/immutable/chunks/{BWmW9W02.js → Df09ThmJ.js} +1 -1
  228. package/web/app/immutable/chunks/{CWsj4Hb7.js → Dgo57zmq.js} +1 -1
  229. package/web/app/immutable/chunks/{C8tk9ZQ3.js → Dh-DCh2Y.js} +1 -1
  230. package/web/app/immutable/chunks/{29xygHrF.js → DhTLwmro.js} +1 -1
  231. package/web/app/immutable/chunks/{1B7vLvp_.js → Dhh3ve0v.js} +1 -1
  232. package/web/app/immutable/chunks/{Bub6uL1r.js → Di-MwTUE.js} +1 -1
  233. package/web/app/immutable/chunks/{CZr8f1ch.js → DlljGo_I.js} +1 -1
  234. package/web/app/immutable/chunks/{BOwgyiCF.js → DmQ5G_6J.js} +1 -1
  235. package/web/app/immutable/chunks/{ByyFoG6W.js → DoB-G8kB.js} +1 -1
  236. package/web/app/immutable/chunks/{Dqi2LMpO.js → DoJ49Zrl.js} +1 -1
  237. package/web/app/immutable/chunks/{CFs3R4lt.js → DqtLBCnq.js} +1 -1
  238. package/web/app/immutable/chunks/{Crz8kvLc.js → Drn9m8Tp.js} +1 -1
  239. package/web/app/immutable/chunks/{BIU3Z0JX.js → DvpTRyHt.js} +1 -1
  240. package/web/app/immutable/chunks/DwJc_V5I.js +3 -0
  241. package/web/app/immutable/chunks/{7pl09QeT.js → Dxe27_xZ.js} +1 -1
  242. package/web/app/immutable/chunks/{BFgvMDua.js → DynUeYUu.js} +1 -1
  243. package/web/app/immutable/chunks/{BjE6fvlI.js → DyreqWqr.js} +1 -1
  244. package/web/app/immutable/chunks/{CvorDgLi.js → Dzp668Nh.js} +1 -1
  245. package/web/app/immutable/chunks/{DQ75EkSY.js → FM3MDwzB.js} +1 -1
  246. package/web/app/immutable/chunks/{DWH71rGR.js → HiIoMspb.js} +1 -1
  247. package/web/app/immutable/chunks/{D8xPzBy1.js → HyJzJ05j.js} +1 -1
  248. package/web/app/immutable/chunks/{Drl447ub.js → IxxdIKNN.js} +1 -1
  249. package/web/app/immutable/chunks/{BT9lzXEu.js → JpEb3pk8.js} +1 -1
  250. package/web/app/immutable/chunks/{DQw0Iiac.js → JvFe2B29.js} +1 -1
  251. package/web/app/immutable/chunks/{C3EKiijc.js → KWtYfwVq.js} +1 -1
  252. package/web/app/immutable/chunks/{CYxt6gzD.js → KaOLys0u.js} +1 -1
  253. package/web/app/immutable/chunks/{BB9aoG-e.js → OloUMTJw.js} +1 -1
  254. package/web/app/immutable/chunks/{1rpeT4f8.js → OsJD3pkm.js} +1 -1
  255. package/web/app/immutable/chunks/{CfYmMj5F.js → P7zPRuFC.js} +1 -1
  256. package/web/app/immutable/chunks/{BGrimfDs.js → QzxpbvSo.js} +1 -1
  257. package/web/app/immutable/chunks/{IXIWcEcs.js → RFYaUG5G.js} +1 -1
  258. package/web/app/immutable/chunks/{qhd9g-fv.js → RV6uszBL.js} +1 -1
  259. package/web/app/immutable/chunks/{D9y3xvsP.js → Rsl51Ay4.js} +1 -1
  260. package/web/app/immutable/chunks/{D4d1iyeR.js → TPru2I57.js} +1 -1
  261. package/web/app/immutable/chunks/{kjO__HeE.js → TU7ngkX4.js} +1 -1
  262. package/web/app/immutable/chunks/{B1bJpz3G.js → VdQBQKAO.js} +1 -1
  263. package/web/app/immutable/chunks/{Rzyk45bZ.js → WYNXUtt9.js} +1 -1
  264. package/web/app/immutable/chunks/{BB6LoQke.js → XaYlDebr.js} +1 -1
  265. package/web/app/immutable/chunks/{Chj-azz7.js → Xgzr3BTD.js} +1 -1
  266. package/web/app/immutable/chunks/{Cm0Qloca.js → ZX798KkU.js} +1 -1
  267. package/web/app/immutable/chunks/{BtmBRuf6.js → Zm39im0I.js} +1 -1
  268. package/web/app/immutable/chunks/{CLJCnlVH.js → _U0OqOFt.js} +1 -1
  269. package/web/app/immutable/chunks/{Dd-LQrG1.js → aWBSU8IQ.js} +1 -1
  270. package/web/app/immutable/chunks/{BPcIfv-A.js → avlg638g.js} +6 -6
  271. package/web/app/immutable/chunks/{CgGsxeG7.js → axwUS21u.js} +1 -1
  272. package/web/app/immutable/chunks/{BNs9wOFa.js → b776P7Kr.js} +1 -1
  273. package/web/app/immutable/chunks/{DrA_ZV1y.js → f0YGFw5j.js} +3 -3
  274. package/web/app/immutable/chunks/{DxKtLuP2.js → fImwePKC.js} +1 -1
  275. package/web/app/immutable/chunks/{VTkMkEPR.js → fKRR6mVT.js} +1 -1
  276. package/web/app/immutable/chunks/{C-HR_nje.js → g5QqP-QE.js} +1 -1
  277. package/web/app/immutable/chunks/{Dp8b1GoU.js → h_d2oU3d.js} +1 -1
  278. package/web/app/immutable/chunks/{C2UL5Ler.js → iQDlfKDR.js} +1 -1
  279. package/web/app/immutable/chunks/jlu1ZSD8.js +1 -0
  280. package/web/app/immutable/chunks/{CnN8HXjd.js → jyQWudgn.js} +1 -1
  281. package/web/app/immutable/chunks/{BWfc0sSK.js → k48f0Jn8.js} +1 -1
  282. package/web/app/immutable/chunks/{CMdo0m6e.js → kNaK7_sp.js} +2 -2
  283. package/web/app/immutable/chunks/{BxmKCIlL.js → kRR2H6lu.js} +1 -1
  284. package/web/app/immutable/chunks/{BiYZcl7D.js → kkKMJ9w9.js} +1 -1
  285. package/web/app/immutable/chunks/{BHy9cRzo.js → l7sDKa65.js} +1 -1
  286. package/web/app/immutable/chunks/{D7AN7xLp.js → mFWmuyR-.js} +1 -1
  287. package/web/app/immutable/chunks/{BVXKWrt4.js → qhttc0fS.js} +2 -2
  288. package/web/app/immutable/chunks/{BsY6roFy.js → rwibDzZr.js} +1 -1
  289. package/web/app/immutable/chunks/{da_tvSiq.js → tNEZffSS.js} +1 -1
  290. package/web/app/immutable/chunks/{CEpPVlB6.js → uWX23oC4.js} +2 -2
  291. package/web/app/immutable/chunks/{Cfr2GX8P.js → zBrnybDu.js} +1 -1
  292. package/web/app/immutable/entry/{app.qraxYAYk.js → app.DHDoU_7H.js} +3 -3
  293. package/web/app/immutable/entry/start.nfTNgo5B.js +1 -0
  294. package/web/app/immutable/nodes/{0.DJcM2RkQ.js → 0.Cu9LrIhB.js} +1 -1
  295. package/web/app/immutable/nodes/{1.Jq1-N2Pd.js → 1.D2vLkPwg.js} +1 -1
  296. package/web/app/immutable/nodes/{10.C_zzc0gt.js → 10.CsTau1tB.js} +6 -6
  297. package/web/app/immutable/nodes/{11.6gj6bfPq.js → 11.BJH0IaNU.js} +1 -1
  298. package/web/app/immutable/nodes/{12.Dwdqbt9T.js → 12.DUMat2GN.js} +1 -1
  299. package/web/app/immutable/nodes/{13.jK1i4wo4.js → 13.BEiznOPk.js} +1 -1
  300. package/web/app/immutable/nodes/{14.DdHtnE9x.js → 14.DFolVj6c.js} +3 -3
  301. package/web/app/immutable/nodes/{15.DzaMQCp_.js → 15.CODir9mj.js} +1 -1
  302. package/web/app/immutable/nodes/{16.DFPLVaTv.js → 16.cptOJ-f9.js} +1 -1
  303. package/web/app/immutable/nodes/{17.Dylz7DBe.js → 17.BVn1LtfR.js} +1 -1
  304. package/web/app/immutable/nodes/{18.CxblUMg0.js → 18.BLC8YWHJ.js} +1 -1
  305. package/web/app/immutable/nodes/{19.cFDk8lfW.js → 19.D4bkkQ_T.js} +2 -2
  306. package/web/app/immutable/nodes/{2.ByMlaGl6.js → 2.Dyr3gNeq.js} +4 -4
  307. package/web/app/immutable/nodes/{20.CXw8Twm7.js → 20.g9As4rvG.js} +1 -1
  308. package/web/app/immutable/nodes/{3.9JGSdcGo.js → 3.NGM8GOql.js} +1 -1
  309. package/web/app/immutable/nodes/{4.CBjeaWO7.js → 4.yPviv-Bq.js} +1 -1
  310. package/web/app/immutable/nodes/{5.rzCmecJm.js → 5.W4sBVxOK.js} +1 -1
  311. package/web/app/immutable/nodes/{6.ltNDZwKc.js → 6.C_4emjsH.js} +1 -1
  312. package/web/app/immutable/nodes/{7.KOkYCHHg.js → 7.yUloHxmW.js} +1 -1
  313. package/web/app/immutable/nodes/{8.DAi8MaAi.js → 8.BT8o95-5.js} +1 -1
  314. package/web/app/immutable/nodes/{9.BzVFDUkR.js → 9.Izg3VgEv.js} +5 -5
  315. package/web/app/version.json +1 -1
  316. package/web/generated/paraglide.js +45 -45
  317. package/web/index.html +18 -18
  318. package/web/app/immutable/chunks/CL3wj1V-.js +0 -1
  319. package/web/app/immutable/chunks/CLAmm_T1.js +0 -1
  320. package/web/app/immutable/chunks/CRSiOiSR.js +0 -1
  321. package/web/app/immutable/chunks/DFh0CfhB.js +0 -1
  322. package/web/app/immutable/chunks/DmapvbAr.js +0 -3
  323. package/web/app/immutable/chunks/KnkAG0HD.js +0 -1
  324. package/web/app/immutable/chunks/fAzcgPHK.js +0 -411
  325. package/web/app/immutable/entry/start.BWAelo_H.js +0 -1
@@ -1,4 +1,4 @@
1
- var It=Object.defineProperty;var gt=s=>{throw TypeError(s)};var Ft=(s,e,o)=>e in s?It(s,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):s[e]=o;var se=(s,e,o)=>Ft(s,typeof e!="symbol"?e+"":e,o),ht=(s,e,o)=>e.has(s)||gt("Cannot "+o);var M=(s,e,o)=>(ht(s,e,"read from private field"),o?o.call(s):e.get(s)),re=(s,e,o)=>e.has(s)?gt("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(s):e.set(s,o);var Ve=(s,e,o)=>(ht(s,e,"access private method"),o);import{t as le,bo as t,bw as ue,b as ce,bp as ke,br as tt,bm as Ne}from"./CLAmm_T1.js";import{c9 as l,aD as n,bH as ae,bo as rt,bs as ge,a7 as j,ay as B,W as _,bn as he,aA as r,a5 as X,bf as We,bA as Y,aB as W,bS as de,bV as vt,br as Lt,bj as Dt,c5 as Rt,ca as Ht,b_ as Q,be as Xe,b$ as Te,bO as oe,bl as Ue,ai as Et,bk as Mt,aj as At}from"./3SdAC2_C.js";import{c as Ye}from"./BwH4Bvte.js";import{b as Ge,e as J,c as pe,s as T,f as ye,p as Bt}from"./CcJmuwXr.js";import{p as Ot,o as jt,e as Nt}from"./B1CKzIA2.js";import{S as Ut}from"./CfNIzRu8.js";import{i as O}from"./BFgvMDua.js";import{t as Z}from"./BwNrQXlF.js";import{an as at,ay as bt,az as we,av as K,aQ as nt,h as Wt,l as Gt,a6 as Qt,aq as ft,aE as Vt,ar as Xt,aD as Yt,at as Jt,aS as mt,a_ as pt,f as yt}from"./nxtepGjE.js";import"./DU3vNstz.js";import{i as Kt}from"./BjLb7AHW.js";import{H as Zt}from"./DCs992HX.js";import{z as $t}from"./DPttSllj.js";import"./TB9r2XJy.js";import"./CEE0831H.js";import{d as er,n as tr,m as rr,a as ar}from"./DaWmj23r.js";import{b as nr}from"./Dn334wJv.js";import{t as ir}from"./DAsc1V4f.js";import"./C4jSaPCg.js";import{e as sr}from"./Drl447ub.js";const dr=bt({component:"label",parts:["root"]});var Ie;const st=class st{constructor(e){se(this,"opts");se(this,"attachment");re(this,Ie,l(()=>({id:this.opts.id.current,[dr.root]:"",onmousedown:this.onmousedown,...this.attachment})));this.opts=e,this.attachment=at(this.opts.ref),this.onmousedown=this.onmousedown.bind(this)}static create(e){return new st(e)}onmousedown(e){e.detail>1&&e.preventDefault()}get props(){return n(M(this,Ie))}set props(e){ae(M(this,Ie),e)}};Ie=new WeakMap;let Je=st;var or=new Set(["$$slots","$$events","$$legacy","children","child","id","ref","for"]),lr=W("<label><!></label>");function xt(s,e){const o=rt();if(new.target)return le({component:xt,...s});ge(e,!0);let c=t(e,"children",7),h=t(e,"child",7),y=t(e,"id",23,()=>we(o)),x=t(e,"ref",15,null),v=t(e,"for",7),C=ke(e,or);const z=Je.create({id:K(()=>y()),ref:K(()=>x(),d=>x(d))}),w=l(()=>nt(C,z.props,{for:v()}));var b={get children(){return c()},set children(d){c(d),r()},get child(){return h()},set child(d){h(d),r()},get id(){return y()},set id(d=we(o)){y(d),r()},get ref(){return x()},set ref(d=null){x(d),r()},get for(){return v()},set for(d){v(d),r()},$set:ue,$on:(d,g)=>ce(e,d,g)},f=j(),k=B(f);{var q=d=>{var g=j(),P=B(g);Z(P,h,()=>({props:n(w)})),_(d,g)},m=d=>{var g=lr();Ge(g,()=>({...n(w),for:v()}));var P=X(g);Z(P,()=>c()??We),Y(g),_(d,g)};O(k,d=>{h()?d(q):d(m,-1)})}return _(s,f),he(b)}const _t=bt({component:"switch",parts:["root","thumb"]}),it=new Wt("Switch.Root");var Fe,Ze,Le,De,Re;const dt=class dt{constructor(e){re(this,Fe);se(this,"opts");se(this,"attachment");re(this,Le,l(()=>({"data-disabled":ft(this.opts.disabled.current),"data-state":Vt(this.opts.checked.current),"data-required":ft(this.opts.required.current)})));re(this,De,l(()=>({checked:this.opts.checked.current})));re(this,Re,l(()=>({...this.sharedProps,id:this.opts.id.current,role:"switch",disabled:Jt(this.opts.disabled.current),"aria-checked":Yt(this.opts.checked.current,!1),"aria-required":Xt(this.opts.required.current),[_t.root]:"",onclick:this.onclick,onkeydown:this.onkeydown,...this.attachment})));this.opts=e,this.attachment=at(e.ref),this.onkeydown=this.onkeydown.bind(this),this.onclick=this.onclick.bind(this)}static create(e){return it.set(new dt(e))}onkeydown(e){!(e.key===Gt||e.key===Qt)||this.opts.disabled.current||(e.preventDefault(),Ve(this,Fe,Ze).call(this))}onclick(e){this.opts.disabled.current||Ve(this,Fe,Ze).call(this)}get sharedProps(){return n(M(this,Le))}set sharedProps(e){ae(M(this,Le),e)}get snippetProps(){return n(M(this,De))}set snippetProps(e){ae(M(this,De),e)}get props(){return n(M(this,Re))}set props(e){ae(M(this,Re),e)}};Fe=new WeakSet,Ze=function(){this.opts.checked.current=!this.opts.checked.current},Le=new WeakMap,De=new WeakMap,Re=new WeakMap;let Ke=dt;var He,Ee;const ot=class ot{constructor(e){se(this,"root");re(this,He,l(()=>this.root.opts.name.current!==void 0));re(this,Ee,l(()=>({type:"checkbox",name:this.root.opts.name.current,value:this.root.opts.value.current,checked:this.root.opts.checked.current,disabled:this.root.opts.disabled.current,required:this.root.opts.required.current})));this.root=e}static create(){return new ot(it.get())}get shouldRender(){return n(M(this,He))}set shouldRender(e){ae(M(this,He),e)}get props(){return n(M(this,Ee))}set props(e){ae(M(this,Ee),e)}};He=new WeakMap,Ee=new WeakMap;let $e=ot;var Me,Ae;const lt=class lt{constructor(e,o){se(this,"opts");se(this,"root");se(this,"attachment");re(this,Me,l(()=>({checked:this.root.opts.checked.current})));re(this,Ae,l(()=>({...this.root.sharedProps,id:this.opts.id.current,[_t.thumb]:"",...this.attachment})));this.opts=e,this.root=o,this.attachment=at(e.ref)}static create(e){return new lt(e,it.get())}get snippetProps(){return n(M(this,Me))}set snippetProps(e){ae(M(this,Me),e)}get props(){return n(M(this,Ae))}set props(e){ae(M(this,Ae),e)}};Me=new WeakMap,Ae=new WeakMap;let et=lt;function wt(s,e){if(new.target)return le({component:wt,...s});ge(e,!1);const o=$e.create();var c={$set:ue,$on:(v,C)=>ce(e,v,C)};Kt();var h=j(),y=B(h);{var x=v=>{Zt(v,tt(()=>o.props))};O(y,v=>{o.shouldRender&&v(x)})}return _(s,h),he(c)}var ur=new Set(["$$slots","$$events","$$legacy","child","children","ref","id","disabled","required","checked","value","name","type","onCheckedChange"]),cr=W("<button><!></button>"),gr=W("<!> <!>",1);function kt(s,e){const o=rt();if(new.target)return le({component:kt,...s});ge(e,!0);let c=t(e,"child",7),h=t(e,"children",7),y=t(e,"ref",15,null),x=t(e,"id",23,()=>we(o)),v=t(e,"disabled",7,!1),C=t(e,"required",7,!1),z=t(e,"checked",15,!1),w=t(e,"value",7,"on"),b=t(e,"name",7,void 0),f=t(e,"type",7,"button"),k=t(e,"onCheckedChange",7,mt),q=ke(e,ur);const m=Ke.create({checked:K(()=>z(),u=>{z(u),k()?.(u)}),disabled:K(()=>v()??!1),required:K(()=>C()),value:K(()=>w()),name:K(()=>b()),id:K(()=>x()),ref:K(()=>y(),u=>y(u))}),d=l(()=>nt(q,m.props,{type:f()}));var g={get child(){return c()},set child(u){c(u),r()},get children(){return h()},set children(u){h(u),r()},get ref(){return y()},set ref(u=null){y(u),r()},get id(){return x()},set id(u=we(o)){x(u),r()},get disabled(){return v()},set disabled(u=!1){v(u),r()},get required(){return C()},set required(u=!1){C(u),r()},get checked(){return z()},set checked(u=!1){z(u),r()},get value(){return w()},set value(u="on"){w(u),r()},get name(){return b()},set name(u=void 0){b(u),r()},get type(){return f()},set type(u="button"){f(u),r()},get onCheckedChange(){return k()},set onCheckedChange(u=mt){k(u),r()},$set:ue,$on:(u,R)=>ce(e,u,R)},P=gr(),D=B(P);{var E=u=>{var R=j(),V=B(R);{let $=l(()=>({props:n(d),...m.snippetProps}));Z(V,c,()=>n($))}_(u,R)},A=u=>{var R=cr();Ge(R,()=>({...n(d)}));var V=X(R);Z(V,()=>h()??We,()=>m.snippetProps),Y(R),_(u,R)};O(D,u=>{c()?u(E):u(A,-1)})}var G=de(D,2);return wt(G,{}),_(s,P),he(g)}var hr=new Set(["$$slots","$$events","$$legacy","child","children","ref","id"]),fr=W("<span><!></span>");function Ct(s,e){const o=rt();if(new.target)return le({component:Ct,...s});ge(e,!0);let c=t(e,"child",7),h=t(e,"children",7),y=t(e,"ref",15,null),x=t(e,"id",23,()=>we(o)),v=ke(e,hr);const C=et.create({id:K(()=>x()),ref:K(()=>y(),m=>y(m))}),z=l(()=>nt(v,C.props));var w={get child(){return c()},set child(m){c(m),r()},get children(){return h()},set children(m){h(m),r()},get ref(){return y()},set ref(m=null){y(m),r()},get id(){return x()},set id(m=we(o)){x(m),r()},$set:ue,$on:(m,d)=>ce(e,m,d)},b=j(),f=B(b);{var k=m=>{var d=j(),g=B(d);{let P=l(()=>({props:n(z),...C.snippetProps}));Z(g,c,()=>n(P))}_(m,d)},q=m=>{var d=fr();Ge(d,()=>({...n(z)}));var g=X(d);Z(g,()=>h()??We,()=>C.snippetProps),Y(d),_(m,d)};O(f,m=>{c()?m(k):m(q,-1)})}return _(s,b),he(w)}var mr=new Set(["$$slots","$$events","$$legacy","ref","size","invalid","class"]);function Pt(s,e){if(new.target)return le({component:Pt,...s});ge(e,!0);const o=pt();let c=t(e,"ref",15,null),h=t(e,"size",7),y=t(e,"invalid",7,!1),x=t(e,"class",7),v=ke(e,mr);const C=l(()=>h()??o);var z={get ref(){return c()},set ref(f=null){c(f),r()},get size(){return h()},set size(f){h(f),r()},get invalid(){return y()},set invalid(f=!1){y(f),r()},get class(){return x()},set class(f){x(f),r()},$set:ue,$on:(f,k)=>ce(e,f,k)},w=j(),b=B(w);{let f=l(()=>y()||void 0),k=l(()=>J("type-caption flex min-w-0 select-none items-center font-medium tracking-normal text-muted-foreground transition-[color] duration-(--spring-fast) group-hover:text-foreground group-focus-within:text-foreground data-[state=hover]:text-foreground data-[state=focus]:text-foreground peer-disabled:cursor-not-allowed peer-disabled:opacity-60 group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-60 group-data-[invalid=true]:text-danger data-[invalid=true]:text-danger motion-reduce:transition-none",n(C)==="compact"?"gap-1.5":"gap-2",x()));Ye(b,()=>xt,(q,m)=>{m(q,tt({"data-slot":"label",get"data-size"(){return n(C)},get"data-invalid"(){return n(f)},get class(){return n(k)}},()=>v,{get ref(){return c()},set ref(d){c(d)}}))})}return _(s,w),he(z)}function vr(){let s=vt(Lt(Ot()));const e=jt(o=>{ae(s,o,!0)});return{get current(){return n(s)},cleanup:e}}function br(s){return new Ut(s,"fast")}function pr(s,e,o=!1){return s.set(e,{instant:o}),s}var yr=new Set(["$$slots","$$events","$$legacy","ref","id","checked","disabled","required","invalid","class","onCheckedChange","size","name","value","ariaLabel","ariaLabelledby","ariaDescribedby"]);function xr(s,e){if(new.target)return le({component:xr,...s});ge(e,!0);let o=t(e,"ref",15,null),c=t(e,"id",7,""),h=t(e,"checked",15,!1),y=t(e,"disabled",7,!1),x=t(e,"required",7,!1),v=t(e,"invalid",7,!1),C=t(e,"class",7,""),z=t(e,"onCheckedChange",7),w=t(e,"size",7,"md"),b=t(e,"name",7),f=t(e,"value",7,"on"),k=t(e,"ariaLabel",7),q=t(e,"ariaLabelledby",7),m=t(e,"ariaDescribedby",7),d=ke(e,yr);const g={xs:{width:24,height:14,padding:2,thumb:10},sm:{width:28,height:16,padding:2,thumb:12},compact:{width:28,height:16,padding:2,thumb:12},md:{width:34,height:20,padding:2,thumb:16},default:{width:34,height:20,padding:2,thumb:16},lg:{width:38,height:22,padding:2,thumb:18}};let P=l(()=>g[w()].width),D=l(()=>g[w()].height),E=l(()=>g[w()].padding),A=l(()=>g[w()].thumb),G=l(()=>n(A));const u=vr();Dt(u.cleanup);const R=br(Rt(()=>n(E))),V=l(()=>h()?n(P)-n(A)-n(E):n(E));Ht(()=>{pr(R,n(V),u.current)});var $={get ref(){return o()},set ref(p=null){o(p),r()},get id(){return c()},set id(p=""){c(p),r()},get checked(){return h()},set checked(p=!1){h(p),r()},get disabled(){return y()},set disabled(p=!1){y(p),r()},get required(){return x()},set required(p=!1){x(p),r()},get invalid(){return v()},set invalid(p=!1){v(p),r()},get class(){return C()},set class(p=""){C(p),r()},get onCheckedChange(){return z()},set onCheckedChange(p){z(p),r()},get size(){return w()},set size(p="md"){w(p),r()},get name(){return b()},set name(p){b(p),r()},get value(){return f()},set value(p="on"){f(p),r()},get ariaLabel(){return k()},set ariaLabel(p){k(p),r()},get ariaLabelledby(){return q()},set ariaLabelledby(p){q(p),r()},get ariaDescribedby(){return m()},set ariaDescribedby(p){m(p),r()},$set:ue,$on:(p,ve)=>ce(e,p,ve)},ne=j(),me=B(ne);{let p=l(()=>v()||void 0),ve=l(()=>J("border-border peer relative inline-flex shrink-0 cursor-pointer items-center rounded-full border bg-muted shadow-(--elevation-raised) transition-[background-color,box-shadow,opacity] duration-spring-fast ease-spring-fast after:absolute after:-inset-y-2 after:-inset-x-1 after:content-[''] motion-reduce:transition-none","hover:bg-hover active:bg-active","disabled:cursor-not-allowed disabled:opacity-60","data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=checked]:hover:bg-primary data-[state=checked]:active:bg-primary",v()&&"border-danger ring-1 ring-danger/25",C())),H=l(()=>`
1
+ var It=Object.defineProperty;var gt=s=>{throw TypeError(s)};var Ft=(s,e,o)=>e in s?It(s,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):s[e]=o;var se=(s,e,o)=>Ft(s,typeof e!="symbol"?e+"":e,o),ht=(s,e,o)=>e.has(s)||gt("Cannot "+o);var M=(s,e,o)=>(ht(s,e,"read from private field"),o?o.call(s):e.get(s)),re=(s,e,o)=>e.has(s)?gt("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(s):e.set(s,o);var Ve=(s,e,o)=>(ht(s,e,"access private method"),o);import{t as le,bo as t,bw as ue,b as ce,bp as ke,br as tt,bm as Ne}from"./CtfEuoOH.js";import{c9 as l,aD as n,bH as ae,bo as rt,bs as ge,a7 as j,ay as B,W as _,bn as he,aA as r,a5 as X,bf as We,bA as Y,aB as W,bS as de,bV as vt,br as Lt,bj as Dt,c5 as Rt,ca as Ht,b_ as Q,be as Xe,b$ as Te,bO as oe,bl as Ue,ai as Et,bk as Mt,aj as At}from"./3SdAC2_C.js";import{c as Ye}from"./BZ27qIg1.js";import{b as Ge,e as J,c as pe,s as T,f as ye,p as Bt}from"./B26ZHg3s.js";import{p as Ot,o as jt,e as Nt}from"./CnFZbWXv.js";import{S as Ut}from"./Bx1P9uW7.js";import{i as O}from"./DynUeYUu.js";import{t as Z}from"./CGmYraIa.js";import{an as at,ay as bt,az as we,av as K,aQ as nt,h as Wt,l as Gt,a6 as Qt,aq as ft,aE as Vt,ar as Xt,aD as Yt,at as Jt,aS as mt,a_ as pt,f as yt}from"./D9R5fzn8.js";import"./DU3vNstz.js";import{i as Kt}from"./BjLb7AHW.js";import{H as Zt}from"./BUSErGiB.js";import{z as $t}from"./COofQgO0.js";import"./CT8vPg_p.js";import"./Bz80vYvX.js";import{d as er,n as tr,m as rr,a as ar}from"./DcraaizU.js";import{b as nr}from"./Dn334wJv.js";import{t as ir}from"./DAsc1V4f.js";import"./B3T1oiJl.js";import{e as sr}from"./IxxdIKNN.js";const dr=bt({component:"label",parts:["root"]});var Ie;const st=class st{constructor(e){se(this,"opts");se(this,"attachment");re(this,Ie,l(()=>({id:this.opts.id.current,[dr.root]:"",onmousedown:this.onmousedown,...this.attachment})));this.opts=e,this.attachment=at(this.opts.ref),this.onmousedown=this.onmousedown.bind(this)}static create(e){return new st(e)}onmousedown(e){e.detail>1&&e.preventDefault()}get props(){return n(M(this,Ie))}set props(e){ae(M(this,Ie),e)}};Ie=new WeakMap;let Je=st;var or=new Set(["$$slots","$$events","$$legacy","children","child","id","ref","for"]),lr=W("<label><!></label>");function xt(s,e){const o=rt();if(new.target)return le({component:xt,...s});ge(e,!0);let c=t(e,"children",7),h=t(e,"child",7),y=t(e,"id",23,()=>we(o)),x=t(e,"ref",15,null),v=t(e,"for",7),C=ke(e,or);const z=Je.create({id:K(()=>y()),ref:K(()=>x(),d=>x(d))}),w=l(()=>nt(C,z.props,{for:v()}));var b={get children(){return c()},set children(d){c(d),r()},get child(){return h()},set child(d){h(d),r()},get id(){return y()},set id(d=we(o)){y(d),r()},get ref(){return x()},set ref(d=null){x(d),r()},get for(){return v()},set for(d){v(d),r()},$set:ue,$on:(d,g)=>ce(e,d,g)},f=j(),k=B(f);{var q=d=>{var g=j(),P=B(g);Z(P,h,()=>({props:n(w)})),_(d,g)},m=d=>{var g=lr();Ge(g,()=>({...n(w),for:v()}));var P=X(g);Z(P,()=>c()??We),Y(g),_(d,g)};O(k,d=>{h()?d(q):d(m,-1)})}return _(s,f),he(b)}const _t=bt({component:"switch",parts:["root","thumb"]}),it=new Wt("Switch.Root");var Fe,Ze,Le,De,Re;const dt=class dt{constructor(e){re(this,Fe);se(this,"opts");se(this,"attachment");re(this,Le,l(()=>({"data-disabled":ft(this.opts.disabled.current),"data-state":Vt(this.opts.checked.current),"data-required":ft(this.opts.required.current)})));re(this,De,l(()=>({checked:this.opts.checked.current})));re(this,Re,l(()=>({...this.sharedProps,id:this.opts.id.current,role:"switch",disabled:Jt(this.opts.disabled.current),"aria-checked":Yt(this.opts.checked.current,!1),"aria-required":Xt(this.opts.required.current),[_t.root]:"",onclick:this.onclick,onkeydown:this.onkeydown,...this.attachment})));this.opts=e,this.attachment=at(e.ref),this.onkeydown=this.onkeydown.bind(this),this.onclick=this.onclick.bind(this)}static create(e){return it.set(new dt(e))}onkeydown(e){!(e.key===Gt||e.key===Qt)||this.opts.disabled.current||(e.preventDefault(),Ve(this,Fe,Ze).call(this))}onclick(e){this.opts.disabled.current||Ve(this,Fe,Ze).call(this)}get sharedProps(){return n(M(this,Le))}set sharedProps(e){ae(M(this,Le),e)}get snippetProps(){return n(M(this,De))}set snippetProps(e){ae(M(this,De),e)}get props(){return n(M(this,Re))}set props(e){ae(M(this,Re),e)}};Fe=new WeakSet,Ze=function(){this.opts.checked.current=!this.opts.checked.current},Le=new WeakMap,De=new WeakMap,Re=new WeakMap;let Ke=dt;var He,Ee;const ot=class ot{constructor(e){se(this,"root");re(this,He,l(()=>this.root.opts.name.current!==void 0));re(this,Ee,l(()=>({type:"checkbox",name:this.root.opts.name.current,value:this.root.opts.value.current,checked:this.root.opts.checked.current,disabled:this.root.opts.disabled.current,required:this.root.opts.required.current})));this.root=e}static create(){return new ot(it.get())}get shouldRender(){return n(M(this,He))}set shouldRender(e){ae(M(this,He),e)}get props(){return n(M(this,Ee))}set props(e){ae(M(this,Ee),e)}};He=new WeakMap,Ee=new WeakMap;let $e=ot;var Me,Ae;const lt=class lt{constructor(e,o){se(this,"opts");se(this,"root");se(this,"attachment");re(this,Me,l(()=>({checked:this.root.opts.checked.current})));re(this,Ae,l(()=>({...this.root.sharedProps,id:this.opts.id.current,[_t.thumb]:"",...this.attachment})));this.opts=e,this.root=o,this.attachment=at(e.ref)}static create(e){return new lt(e,it.get())}get snippetProps(){return n(M(this,Me))}set snippetProps(e){ae(M(this,Me),e)}get props(){return n(M(this,Ae))}set props(e){ae(M(this,Ae),e)}};Me=new WeakMap,Ae=new WeakMap;let et=lt;function wt(s,e){if(new.target)return le({component:wt,...s});ge(e,!1);const o=$e.create();var c={$set:ue,$on:(v,C)=>ce(e,v,C)};Kt();var h=j(),y=B(h);{var x=v=>{Zt(v,tt(()=>o.props))};O(y,v=>{o.shouldRender&&v(x)})}return _(s,h),he(c)}var ur=new Set(["$$slots","$$events","$$legacy","child","children","ref","id","disabled","required","checked","value","name","type","onCheckedChange"]),cr=W("<button><!></button>"),gr=W("<!> <!>",1);function kt(s,e){const o=rt();if(new.target)return le({component:kt,...s});ge(e,!0);let c=t(e,"child",7),h=t(e,"children",7),y=t(e,"ref",15,null),x=t(e,"id",23,()=>we(o)),v=t(e,"disabled",7,!1),C=t(e,"required",7,!1),z=t(e,"checked",15,!1),w=t(e,"value",7,"on"),b=t(e,"name",7,void 0),f=t(e,"type",7,"button"),k=t(e,"onCheckedChange",7,mt),q=ke(e,ur);const m=Ke.create({checked:K(()=>z(),u=>{z(u),k()?.(u)}),disabled:K(()=>v()??!1),required:K(()=>C()),value:K(()=>w()),name:K(()=>b()),id:K(()=>x()),ref:K(()=>y(),u=>y(u))}),d=l(()=>nt(q,m.props,{type:f()}));var g={get child(){return c()},set child(u){c(u),r()},get children(){return h()},set children(u){h(u),r()},get ref(){return y()},set ref(u=null){y(u),r()},get id(){return x()},set id(u=we(o)){x(u),r()},get disabled(){return v()},set disabled(u=!1){v(u),r()},get required(){return C()},set required(u=!1){C(u),r()},get checked(){return z()},set checked(u=!1){z(u),r()},get value(){return w()},set value(u="on"){w(u),r()},get name(){return b()},set name(u=void 0){b(u),r()},get type(){return f()},set type(u="button"){f(u),r()},get onCheckedChange(){return k()},set onCheckedChange(u=mt){k(u),r()},$set:ue,$on:(u,R)=>ce(e,u,R)},P=gr(),D=B(P);{var E=u=>{var R=j(),V=B(R);{let $=l(()=>({props:n(d),...m.snippetProps}));Z(V,c,()=>n($))}_(u,R)},A=u=>{var R=cr();Ge(R,()=>({...n(d)}));var V=X(R);Z(V,()=>h()??We,()=>m.snippetProps),Y(R),_(u,R)};O(D,u=>{c()?u(E):u(A,-1)})}var G=de(D,2);return wt(G,{}),_(s,P),he(g)}var hr=new Set(["$$slots","$$events","$$legacy","child","children","ref","id"]),fr=W("<span><!></span>");function Ct(s,e){const o=rt();if(new.target)return le({component:Ct,...s});ge(e,!0);let c=t(e,"child",7),h=t(e,"children",7),y=t(e,"ref",15,null),x=t(e,"id",23,()=>we(o)),v=ke(e,hr);const C=et.create({id:K(()=>x()),ref:K(()=>y(),m=>y(m))}),z=l(()=>nt(v,C.props));var w={get child(){return c()},set child(m){c(m),r()},get children(){return h()},set children(m){h(m),r()},get ref(){return y()},set ref(m=null){y(m),r()},get id(){return x()},set id(m=we(o)){x(m),r()},$set:ue,$on:(m,d)=>ce(e,m,d)},b=j(),f=B(b);{var k=m=>{var d=j(),g=B(d);{let P=l(()=>({props:n(z),...C.snippetProps}));Z(g,c,()=>n(P))}_(m,d)},q=m=>{var d=fr();Ge(d,()=>({...n(z)}));var g=X(d);Z(g,()=>h()??We,()=>C.snippetProps),Y(d),_(m,d)};O(f,m=>{c()?m(k):m(q,-1)})}return _(s,b),he(w)}var mr=new Set(["$$slots","$$events","$$legacy","ref","size","invalid","class"]);function Pt(s,e){if(new.target)return le({component:Pt,...s});ge(e,!0);const o=pt();let c=t(e,"ref",15,null),h=t(e,"size",7),y=t(e,"invalid",7,!1),x=t(e,"class",7),v=ke(e,mr);const C=l(()=>h()??o);var z={get ref(){return c()},set ref(f=null){c(f),r()},get size(){return h()},set size(f){h(f),r()},get invalid(){return y()},set invalid(f=!1){y(f),r()},get class(){return x()},set class(f){x(f),r()},$set:ue,$on:(f,k)=>ce(e,f,k)},w=j(),b=B(w);{let f=l(()=>y()||void 0),k=l(()=>J("type-caption flex min-w-0 select-none items-center font-medium tracking-normal text-muted-foreground transition-[color] duration-(--spring-fast) group-hover:text-foreground group-focus-within:text-foreground data-[state=hover]:text-foreground data-[state=focus]:text-foreground peer-disabled:cursor-not-allowed peer-disabled:opacity-60 group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-60 group-data-[invalid=true]:text-danger data-[invalid=true]:text-danger motion-reduce:transition-none",n(C)==="compact"?"gap-1.5":"gap-2",x()));Ye(b,()=>xt,(q,m)=>{m(q,tt({"data-slot":"label",get"data-size"(){return n(C)},get"data-invalid"(){return n(f)},get class(){return n(k)}},()=>v,{get ref(){return c()},set ref(d){c(d)}}))})}return _(s,w),he(z)}function vr(){let s=vt(Lt(Ot()));const e=jt(o=>{ae(s,o,!0)});return{get current(){return n(s)},cleanup:e}}function br(s){return new Ut(s,"fast")}function pr(s,e,o=!1){return s.set(e,{instant:o}),s}var yr=new Set(["$$slots","$$events","$$legacy","ref","id","checked","disabled","required","invalid","class","onCheckedChange","size","name","value","ariaLabel","ariaLabelledby","ariaDescribedby"]);function xr(s,e){if(new.target)return le({component:xr,...s});ge(e,!0);let o=t(e,"ref",15,null),c=t(e,"id",7,""),h=t(e,"checked",15,!1),y=t(e,"disabled",7,!1),x=t(e,"required",7,!1),v=t(e,"invalid",7,!1),C=t(e,"class",7,""),z=t(e,"onCheckedChange",7),w=t(e,"size",7,"md"),b=t(e,"name",7),f=t(e,"value",7,"on"),k=t(e,"ariaLabel",7),q=t(e,"ariaLabelledby",7),m=t(e,"ariaDescribedby",7),d=ke(e,yr);const g={xs:{width:24,height:14,padding:2,thumb:10},sm:{width:28,height:16,padding:2,thumb:12},compact:{width:28,height:16,padding:2,thumb:12},md:{width:34,height:20,padding:2,thumb:16},default:{width:34,height:20,padding:2,thumb:16},lg:{width:38,height:22,padding:2,thumb:18}};let P=l(()=>g[w()].width),D=l(()=>g[w()].height),E=l(()=>g[w()].padding),A=l(()=>g[w()].thumb),G=l(()=>n(A));const u=vr();Dt(u.cleanup);const R=br(Rt(()=>n(E))),V=l(()=>h()?n(P)-n(A)-n(E):n(E));Ht(()=>{pr(R,n(V),u.current)});var $={get ref(){return o()},set ref(p=null){o(p),r()},get id(){return c()},set id(p=""){c(p),r()},get checked(){return h()},set checked(p=!1){h(p),r()},get disabled(){return y()},set disabled(p=!1){y(p),r()},get required(){return x()},set required(p=!1){x(p),r()},get invalid(){return v()},set invalid(p=!1){v(p),r()},get class(){return C()},set class(p=""){C(p),r()},get onCheckedChange(){return z()},set onCheckedChange(p){z(p),r()},get size(){return w()},set size(p="md"){w(p),r()},get name(){return b()},set name(p){b(p),r()},get value(){return f()},set value(p="on"){f(p),r()},get ariaLabel(){return k()},set ariaLabel(p){k(p),r()},get ariaLabelledby(){return q()},set ariaLabelledby(p){q(p),r()},get ariaDescribedby(){return m()},set ariaDescribedby(p){m(p),r()},$set:ue,$on:(p,ve)=>ce(e,p,ve)},ne=j(),me=B(ne);{let p=l(()=>v()||void 0),ve=l(()=>J("border-border peer relative inline-flex shrink-0 cursor-pointer items-center rounded-full border bg-muted shadow-(--elevation-raised) transition-[background-color,box-shadow,opacity] duration-spring-fast ease-spring-fast after:absolute after:-inset-y-2 after:-inset-x-1 after:content-[''] motion-reduce:transition-none","hover:bg-hover active:bg-active","disabled:cursor-not-allowed disabled:opacity-60","data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=checked]:hover:bg-primary data-[state=checked]:active:bg-primary",v()&&"border-danger ring-1 ring-danger/25",C())),H=l(()=>`
2
2
  width: ${n(P)}px;
3
3
  height: ${n(D)}px;
4
4
  `);Ye(me,()=>kt,(xe,N)=>{N(xe,tt({get id(){return c()},get name(){return b()},get value(){return f()},get disabled(){return y()},get required(){return x()},get onCheckedChange(){return z()},type:"button",get"aria-label"(){return k()},get"aria-labelledby"(){return q()},get"aria-describedby"(){return m()},get"aria-invalid"(){return n(p)},get class(){return n(ve)},get style(){return n(H)}},()=>d,{get ref(){return o()},set ref(F){o(F)},get checked(){return h()},set checked(F){h(F)},children:(F,Ce)=>{var _e=j(),Pe=B(_e);{let i=l(()=>J("bg-card pointer-events-none absolute top-1/2 left-0 block rounded-full shadow-(--elevation-raised) ring-0 data-[state=checked]:bg-primary-foreground")),a=l(()=>`
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/CEpPVlB6.js","/app/immutable/chunks/CLAmm_T1.js","/app/immutable/chunks/3SdAC2_C.js","/app/immutable/chunks/B9vHutcJ.js","/app/immutable/chunks/Dms_DO28.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/BBFoj-dS.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/BwNrQXlF.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/Bqd7fdCF.js","/app/immutable/chunks/BbhtQrkZ.js","/app/immutable/chunks/B5aYN90J.js","/app/immutable/chunks/TB9r2XJy.js","/app/immutable/chunks/UTM5G-w-.js","/app/immutable/chunks/CcJmuwXr.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/BBWuirRW.js","/app/immutable/chunks/DONrLvvt.js","/app/immutable/chunks/_UjuBCOJ.js","/app/immutable/chunks/WdSh5fl1.js","/app/immutable/chunks/96V4v2iI.js","/app/immutable/chunks/BFgvMDua.js","/app/immutable/chunks/nxtepGjE.js","/app/immutable/chunks/Dn334wJv.js","/app/immutable/chunks/B1CKzIA2.js","/app/immutable/chunks/BwH4Bvte.js","/app/immutable/chunks/CIbfGsF-.js","/app/immutable/chunks/Cu5e4npY.js","/app/immutable/chunks/BbYWP3Ow.js","/app/immutable/chunks/D9tVylVS.js","/app/immutable/chunks/DPttSllj.js","/app/immutable/chunks/CfNIzRu8.js","/app/immutable/chunks/DU3vNstz.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.DylRFR3N.css","/app/immutable/chunks/C2UL5Ler.js","/app/immutable/chunks/BGrimfDs.js","/app/immutable/chunks/aZdb_rCN.js","/app/immutable/chunks/BPQFiQQc.js","/app/immutable/chunks/uvhZkGDU.js","/app/immutable/chunks/D4ytz2EC.js","/app/immutable/chunks/CMiilI_P.js","/app/immutable/chunks/B_QPRXJ5.js","/app/immutable/chunks/BPcIfv-A.js"])))=>i.map(i=>d[i]);
2
- import{_ as i}from"./CLAmm_T1.js";import{c as m}from"./ChTqQfQN.js";import{t as g}from"./DKwAaLwd.js";function d(){return typeof window<"u"&&window.location.pathname.startsWith("/hud")}function l(){return typeof window>"u"?null:g(window.location.pathname)}function h(){return l()!==null}let w=0;function y(){w+=1}function T(){return w}const v=m("Navigation"),_="settings-previous-path";function s(t){return/^\/settings(?:[/?#]|$)/.test(t)}async function E(t,e={}){if(d()||h()||typeof window<"u"&&/^\/dock(?:\/|$)/.test(window.location.pathname)){v.debug("Ignoring navigation in auxiliary window",{route:t});return}const c=e.assistantContent||t.startsWith("intent://")||/^https?:\/\//.test(t);if(c||y(),c){const{showAssistantContent:n}=await i(async()=>{const{showAssistantContent:o}=await import("./CEpPVlB6.js");return{showAssistantContent:o}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43]),import.meta.url);if(await n(t,{preserveFocus:!0,background:e.assistantContent===!0,agentId:e.assistantAgentId})){if(e.assistantContent)return;const{openPanel:o}=await i(async()=>{const{openPanel:a}=await import("./B9vHutcJ.js").then(r=>r.Jf);return{openPanel:a}},__vite__mapDeps([3,4,2,5,6,7,8,1,9,10,11]),import.meta.url),{store:f}=await i(async()=>{const{store:a}=await import("./D4ytz2EC.js");return{store:a}},__vite__mapDeps([44,3,4,2,5,6,7,8,1,9,10,11,45,46]),import.meta.url);f.dispatch(o("chief"));const{goto:p}=await i(async()=>{const{goto:a}=await import("./BPcIfv-A.js").then(r=>r.n);return{goto:a}},__vite__mapDeps([47,2]),import.meta.url);window.location.pathname!=="/"&&await p("/");return}}if(s(t)&&typeof window<"u"&&typeof sessionStorage<"u"&&!s(window.location.pathname)){const n=new URL(window.location.href);sessionStorage.setItem(_,n.pathname+n.search+n.hash)}const{goto:u}=await i(async()=>{const{goto:n}=await import("./BPcIfv-A.js").then(o=>o.n);return{goto:n}},__vite__mapDeps([47,2]),import.meta.url);return e.state?u(t,{state:e.state}):u(t)}const b=Object.freeze(Object.defineProperty({__proto__:null,SETTINGS_PREV_PATH_KEY:_,isHudWindowRenderer:d,isSettingsRoute:s,navigateToRoute:E},Symbol.toStringTag,{value:"Module"}));export{_ as S,s as a,y as b,l as c,h as d,T as e,b as f,d as i,E as n};
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/uWX23oC4.js","/app/immutable/chunks/CtfEuoOH.js","/app/immutable/chunks/3SdAC2_C.js","/app/immutable/chunks/CiKoEJ2m.js","/app/immutable/chunks/Dms_DO28.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/CHIxjTWu.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/CGmYraIa.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/Bqd7fdCF.js","/app/immutable/chunks/CVtLV3_x.js","/app/immutable/chunks/B5aYN90J.js","/app/immutable/chunks/CT8vPg_p.js","/app/immutable/chunks/BpezAJRw.js","/app/immutable/chunks/B26ZHg3s.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/BBWuirRW.js","/app/immutable/chunks/DONrLvvt.js","/app/immutable/chunks/B1lpukIv.js","/app/immutable/chunks/BudXN7v1.js","/app/immutable/chunks/C3jMXj_V.js","/app/immutable/chunks/DynUeYUu.js","/app/immutable/chunks/D9R5fzn8.js","/app/immutable/chunks/Dn334wJv.js","/app/immutable/chunks/CnFZbWXv.js","/app/immutable/chunks/BZ27qIg1.js","/app/immutable/chunks/DFKhOU69.js","/app/immutable/chunks/DMEIbJII.js","/app/immutable/chunks/BFfRQORP.js","/app/immutable/chunks/D9tVylVS.js","/app/immutable/chunks/COofQgO0.js","/app/immutable/chunks/Bx1P9uW7.js","/app/immutable/chunks/DU3vNstz.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.DylRFR3N.css","/app/immutable/chunks/iQDlfKDR.js","/app/immutable/chunks/QzxpbvSo.js","/app/immutable/chunks/BU3y3Xes.js","/app/immutable/chunks/BkcCJyDK.js","/app/immutable/chunks/Bhq56Jsu.js","/app/immutable/chunks/CjpWOZGa.js","/app/immutable/chunks/CMiilI_P.js","/app/immutable/chunks/B_QPRXJ5.js","/app/immutable/chunks/avlg638g.js"])))=>i.map(i=>d[i]);
2
+ import{_ as i}from"./CtfEuoOH.js";import{c as m}from"./ChTqQfQN.js";import{t as g}from"./DKwAaLwd.js";function d(){return typeof window<"u"&&window.location.pathname.startsWith("/hud")}function l(){return typeof window>"u"?null:g(window.location.pathname)}function h(){return l()!==null}let w=0;function y(){w+=1}function T(){return w}const v=m("Navigation"),_="settings-previous-path";function s(t){return/^\/settings(?:[/?#]|$)/.test(t)}async function E(t,e={}){if(d()||h()||typeof window<"u"&&/^\/dock(?:\/|$)/.test(window.location.pathname)){v.debug("Ignoring navigation in auxiliary window",{route:t});return}const c=e.assistantContent||t.startsWith("intent://")||/^https?:\/\//.test(t);if(c||y(),c){const{showAssistantContent:n}=await i(async()=>{const{showAssistantContent:o}=await import("./uWX23oC4.js");return{showAssistantContent:o}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43]),import.meta.url);if(await n(t,{preserveFocus:!0,background:e.assistantContent===!0,agentId:e.assistantAgentId})){if(e.assistantContent)return;const{openPanel:o}=await i(async()=>{const{openPanel:a}=await import("./CiKoEJ2m.js").then(r=>r.Jf);return{openPanel:a}},__vite__mapDeps([3,4,2,5,6,7,8,1,9,10,11]),import.meta.url),{store:f}=await i(async()=>{const{store:a}=await import("./CjpWOZGa.js");return{store:a}},__vite__mapDeps([44,3,4,2,5,6,7,8,1,9,10,11,45,46]),import.meta.url);f.dispatch(o("chief"));const{goto:p}=await i(async()=>{const{goto:a}=await import("./avlg638g.js").then(r=>r.n);return{goto:a}},__vite__mapDeps([47,2]),import.meta.url);window.location.pathname!=="/"&&await p("/");return}}if(s(t)&&typeof window<"u"&&typeof sessionStorage<"u"&&!s(window.location.pathname)){const n=new URL(window.location.href);sessionStorage.setItem(_,n.pathname+n.search+n.hash)}const{goto:u}=await i(async()=>{const{goto:n}=await import("./avlg638g.js").then(o=>o.n);return{goto:n}},__vite__mapDeps([47,2]),import.meta.url);return e.state?u(t,{state:e.state}):u(t)}const b=Object.freeze(Object.defineProperty({__proto__:null,SETTINGS_PREV_PATH_KEY:_,isHudWindowRenderer:d,isSettingsRoute:s,navigateToRoute:E},Symbol.toStringTag,{value:"Module"}));export{_ as S,s as a,y as b,l as c,h as d,T as e,b as f,d as i,E as n};
@@ -1,3 +1,3 @@
1
- import{t as D,bo as d,bw as P,b}from"./CLAmm_T1.js";import{bs as S,a7 as A,ay as C,W as M,bn as x,aA as m,aD as i,c9 as c}from"./3SdAC2_C.js";import{i as z}from"./BFgvMDua.js";import{D as f,M as B}from"./BgXuXJpo.js";import{S as J,p as K}from"./M9xgh-VN.js";import{N}from"./DBAONTYG.js";import{JH as W,vK as $,br as j}from"./B9vHutcJ.js";import{h as E}from"./DuiDS_zT.js";import{a9 as O}from"./C2UL5Ler.js";function R(l,s){if(new.target)return D({component:R,...l});S(s,!0);let o=d(s,"kind",7),t=d(s,"source",7),a=d(s,"workspaceId",7);const g=new N,p=c(()=>{if(o()==="mermaid")return null;const e=g.parseMarkdown(`\`\`\`ws-block:diagram
1
+ import{t as D,bo as d,bw as P,b}from"./CtfEuoOH.js";import{bs as S,a7 as A,ay as C,W as M,bn as x,aA as m,aD as i,c9 as c}from"./3SdAC2_C.js";import{i as z}from"./DynUeYUu.js";import{D as f,M as B}from"./DPZ2um_T.js";import{S as J,p as K}from"./Bnz_gGcf.js";import{N}from"./B4kHSLJr.js";import{JH as W,vK as $,br as j}from"./CiKoEJ2m.js";import{h as E}from"./CrbOuYLj.js";import{a9 as O}from"./iQDlfKDR.js";function R(l,s){if(new.target)return D({component:R,...l});S(s,!0);let o=d(s,"kind",7),t=d(s,"source",7),a=d(s,"workspaceId",7);const g=new N,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 K(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"?W.dispatch($(a(),r.target,n)):r.type==="note"&&E(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:P,$on:(e,r)=>b(s,e,r)},u=A(),y=C(u);{var h=e=>{f(e,{kind:"mermaid",rendererOwnsActions:!0,children:(r,n)=>{B(r,{get code(){return t()},showExportButton:!0})},$$slots:{default:!0}})},v=e=>{f(e,{kind:"custom",children:(r,n)=>{{let I=c(()=>i(p)?.diagram??null),_=c(()=>i(p)?.error);J(r,{get diagram(){return i(I)},get source(){return t()},get sourceError(){return i(_)},onBindingClick:k})}},$$slots:{default:!0}})};z(y,e=>{o()==="mermaid"?e(h):e(v,-1)})}return M(l,u),x(w)}export{R as default};
@@ -1,3 +1,3 @@
1
- import{fV as B,JH as o,n_ as F,mp as K,mg as j,tC as q}from"./B9vHutcJ.js";import{H as G,n as V,O as Y,e9 as $,cU as W,dI as k,dT as N,e2 as O,cP as z,aN as J}from"./C2UL5Ler.js";import{selectCurrentWorkspaceTabId as X,selectWorkspaceTabsHydrated as Q}from"./aZdb_rCN.js";import{t as Z}from"./BPQFiQQc.js";import{m as ee,N as te,T as se,d as re,o as oe,w as ne}from"./96V4v2iI.js";import"./3SdAC2_C.js";import"./CLAmm_T1.js";import"./CcJmuwXr.js";import"./BwNrQXlF.js";import"./TB9r2XJy.js";import"./ChTqQfQN.js";import"./BbYWP3Ow.js";function ae(e){return!e.retiredAt&&!e.pendingDeleteAt&&e.status!=="deleted"}function m(e){const t=new Date(e.lastActivity??e.updatedAt??e.createdAt).getTime()||0,s=e.messages.at(-1)?.timestamp,r=s&&new Date(s).getTime()||0;return Math.max(t,r)}function Ue(e){const t=e.filter(ae).map(s=>({agent:s,activity:m(s),created:new Date(s.createdAt).getTime()||0})).sort((s,r)=>r.activity-s.activity||r.created-s.created||String(s.agent.id).localeCompare(String(r.agent.id)));return t.find(({agent:s})=>B(s)==="topLevel")?.agent??t[0]?.agent??null}const p="__chief__",_="New chat";function ce(e){const t=e?.trim();return!t||t===_||t==="New chat with Assistant"||t==="New chat with Intent"||t==="Chief of Staff"||t.startsWith("New thread ")}function ie(e){const t=e.name?.trim();if(e.nameExplicitlySet&&t)return t;const r=e.messages.find(l=>l.role==="user")??e.messages[0],c=r?(r.role==="user"?G(r):V(r)).trim():"";return!t||ce(t)?c||_:c||t}const le="chief-of-staff",de=6,T="## Assistant Runtime Identity\n\nYou are Intent's built-in Assistant. Operate at the app level with `ws.app.*` tools: manage workspaces, settings, specialists, navigation, and cross-workspace agents. You are not a repository coding agent. Treat generic coding-agent, workspace, spec, task, and delegation instructions as subordinate to this role.\n\nWhen the user requests repository work, create or open the appropriate workspace and hand the work to the appropriate specialist. Once you have enough repository or PR information, act through the app-level proposal flow instead of merely promising to verify, prepare, or hand off the work.\n\nShow workspaces, notes, files, agent conversations and repository links beside your conversation when they help the user. Share ordinary Markdown links to notes (intent://local/note/<noteId> or intent://local/<workspaceId>/note/<noteId>) workspace links (intent://local/workspace/<workspaceId>), workspace file and agent links, and HTTPS repository URLs; clicking opens a closable content panel while keeping chat visible. To show content automatically, call `ws.app.ui.navigate` with the same link or /workspace/<workspaceId>. Calling `ws.app.workspaces.open` also shows that workspace beside chat unless the user requests a new window. Each conversation has its own panel history. Workspaces show the same detail and agent chat as Home’s Workspaces tab. Earlier content remains available in that conversation’s panel header picker. Creating a note alone does not open it: explicitly navigate when you want to show it.\n\nWhen the user asks to transfer a project between devices, find the source workspace with `ws.app.workspaces.list` and call `ws.app.workspaces.transfer(id, { destination })`. Pass the user's destination name as the hint, or omit it so they can choose a saved device in the inline card. The source is the device serving this assistant conversation. The tool only proposes the transfer: wait for approval or cancellation in the card, and report completion only after the proposal is applied.";function He(e){const t=e?.trim();return t?`${T}
1
+ import{fV as B,JH as o,n_ as F,mp as K,mg as j,tC as q}from"./CiKoEJ2m.js";import{H as G,n as V,O as Y,e9 as $,cU as W,dI as k,dT as N,e2 as O,cP as z,aN as J}from"./iQDlfKDR.js";import{selectCurrentWorkspaceTabId as X,selectWorkspaceTabsHydrated as Q}from"./BU3y3Xes.js";import{t as Z}from"./BkcCJyDK.js";import{m as ee,N as te,T as se,d as re,o as oe,w as ne}from"./C3jMXj_V.js";import"./3SdAC2_C.js";import"./CtfEuoOH.js";import"./B26ZHg3s.js";import"./CGmYraIa.js";import"./CT8vPg_p.js";import"./ChTqQfQN.js";import"./BFfRQORP.js";function ae(e){return!e.retiredAt&&!e.pendingDeleteAt&&e.status!=="deleted"}function m(e){const t=new Date(e.lastActivity??e.updatedAt??e.createdAt).getTime()||0,s=e.messages.at(-1)?.timestamp,r=s&&new Date(s).getTime()||0;return Math.max(t,r)}function Ue(e){const t=e.filter(ae).map(s=>({agent:s,activity:m(s),created:new Date(s.createdAt).getTime()||0})).sort((s,r)=>r.activity-s.activity||r.created-s.created||String(s.agent.id).localeCompare(String(r.agent.id)));return t.find(({agent:s})=>B(s)==="topLevel")?.agent??t[0]?.agent??null}const p="__chief__",_="New chat";function ce(e){const t=e?.trim();return!t||t===_||t==="New chat with Assistant"||t==="New chat with Intent"||t==="Chief of Staff"||t.startsWith("New thread ")}function ie(e){const t=e.name?.trim();if(e.nameExplicitlySet&&t)return t;const r=e.messages.find(l=>l.role==="user")??e.messages[0],c=r?(r.role==="user"?G(r):V(r)).trim():"";return!t||ce(t)?c||_:c||t}const le="chief-of-staff",de=6,T="## Assistant Runtime Identity\n\nYou are Intent's built-in Assistant. Operate at the app level with `ws.app.*` tools: manage workspaces, settings, specialists, navigation, and cross-workspace agents. You are not a repository coding agent. Treat generic coding-agent, workspace, spec, task, and delegation instructions as subordinate to this role.\n\nWhen the user requests repository work, create or open the appropriate workspace and hand the work to the appropriate specialist. Once you have enough repository or PR information, act through the app-level proposal flow instead of merely promising to verify, prepare, or hand off the work.\n\nShow workspaces, notes, files, agent conversations and repository links beside your conversation when they help the user. Share ordinary Markdown links to notes (intent://local/note/<noteId> or intent://local/<workspaceId>/note/<noteId>) workspace links (intent://local/workspace/<workspaceId>), workspace file and agent links, and HTTPS repository URLs; clicking opens a closable content panel while keeping chat visible. To show content automatically, call `ws.app.ui.navigate` with the same link or /workspace/<workspaceId>. Calling `ws.app.workspaces.open` also shows that workspace beside chat unless the user requests a new window. Each conversation has its own panel history. Workspaces show the same detail and agent chat as Home’s Workspaces tab. Earlier content remains available in that conversation’s panel header picker. Creating a note alone does not open it: explicitly navigate when you want to show it.\n\nWhen the user asks to transfer a project between devices, find the source workspace with `ws.app.workspaces.list` and call `ws.app.workspaces.transfer(id, { destination })`. Pass the user's destination name as the hint, or omit it so they can choose a saved device in the inline card. The source is the device serving this assistant conversation. The tool only proposes the transfer: wait for approval or cancellation in the card, and report completion only after the proposal is applied.";function He(e){const t=e?.trim();return t?`${T}
2
2
 
3
3
  ${t}`:T}const pe=o.createSelector((e,t)=>{const s=e.backgroundHooks?.byWorkspaceId?.[t];return s?F(s.hooks):[]}),ue=o.createSelector((e,t)=>e.backgroundHooks?.byWorkspaceId?.[t]?.snapshotStatus??"loading"),M=o.createSelector((e,t)=>e.scriptMonitor?.byWorkspaceId[t]??K),xe=o.createSelector((e,t,s)=>{const r=M.select(e,t);return r.status==="unsupported"?[]:r.monitors.filter(c=>c.agentId===s)}),u=o.createSelector((e,t,s)=>{const r=q(t,s);return e.agentSubscriptionUI.entries[r]??j}),ge=o.createSelector((e,t,s)=>u.select(e,t,s).subscriptions),fe=o.createSelector((e,t,s)=>u.select(e,t,s).eventSubscriptions??[]),he=o.createSelector((e,t,s)=>u.select(e,t,s).delegationGroups),Be=o.createSelector((e,t,s)=>u.select(e,t,s).agentStatuses),Fe=o.createSelector((e,t,s)=>u.select(e,t,s).waitingState),Ke=o.createSelector((e,t,s)=>u.select(e,t,s).wokenUpInfo);function Se(e){return[...new Set(e.filter(Boolean))]}const je=o.createSelector((e,t,s)=>{const r=u.select(e,t,s),c=[],l=new Set,i=n=>{for(const a of Se(n))l.has(a)||(l.add(a),c.push(a))},h=[...r.subscriptions].sort((n,a)=>n.createdAt.localeCompare(a.createdAt)||n.id.localeCompare(a.id));for(const n of h)n.delegationGroup?.awaitMode!=="all"&&i(n.actorIds);const g=new Map;for(const n of r.delegationGroups)n.awaitMode==="all"&&g.set(n.groupId,n);for(const n of g.values())i(n.expectedAgentIds);for(const n of h){const a=n.delegationGroup;a?.awaitMode==="all"&&!g.has(a.groupId)&&i(a.expectedAgentIds)}const d=new Set;for(const n of r.delegationGroups){for(const a of n.completedAgentIds)d.add(a);for(const a of n.deletedAgentIds)d.add(a);for(const[a,f]of Object.entries(n.agentStatuses))f==="completed"&&d.add(a)}for(const[n,a]of Object.entries(r.agentStatuses))a==="completed"&&d.add(n);const w=e.agentSessions?.byAgentId??{},A=new Set([...d].filter(n=>{const a=w[n];return!a||!Y($(a))})),v=new Map(c.map((n,a)=>[n,a])),y=n=>{const a=w[n];if(!a)return 2;if(a.attentionRequestKind==="blocker")return 0;if(a.attentionRequestKind==="discussion")return 1;if(A.has(n))return 4;const f=String(a.status).toLowerCase();return f==="responding"||f==="active"||f==="processing"?2:3},C=c.filter(n=>!A.has(n)).sort((n,a)=>y(n)-y(a)||(v.get(n)??0)-(v.get(a)??0));return{visible:r.snapshotStatus==="failed"||r.waitingState==="completed"||c.length>0||r.wokenUpInfo!==null,count:C.length,participantAgentIds:C}}),qe=o.createSelector((e,t,s)=>u.select(e,t,s).snapshotStatus),Ge=o.createSelector((e,t)=>{const s=`${t}:`,r=[];for(const c of Object.keys(e.agentSubscriptionUI.entries))c.startsWith(s)&&r.push(c.slice(s.length));return r});o.createSelector((e,t,s)=>{const r=he.select(e,t,s);let c=0,l=0;for(const i of r)c+=i.expectedAgentIds.length,l+=i.completedAgentIds.length+i.deletedAgentIds.length;return{total:c,completed:l}});const Ve=o.createSelector(e=>{const t=X.select(e);if(!t||!Q.select(e))return[];const s=new Set;for(const r of Z.select(e,t)){const c=r.panes.find(l=>l.id===r.activePaneId);c?.type==="agent"&&c.agentId&&s.add(c.agentId)}return[...s].map(r=>({wsId:t,agentId:r}))}),E="pinned",me=64;function I(e){return e.trim().toLocaleLowerCase()}function L(e){return e===E}function Ye(e,t){const s=e.trim();if(s.length===0)return{ok:!1,error:"empty"};if([...s].length>me)return{ok:!1,error:"tooLong"};const r=I(s);return r===E?{ok:!1,error:"reserved"}:t.some(c=>I(c)===r)?{ok:!1,error:"duplicate"}:{ok:!0,label:s}}function Ie(e){const t=new Map;for(const s of e){if(typeof s!="string"||L(s))continue;const r=s.trim();if(r.length===0)continue;const c=I(r);t.has(c)||t.set(c,s)}return[...t.values()].sort((s,r)=>s.localeCompare(r,void 0,{sensitivity:"base"}))}function P(e){const s=e.workspaceAgents?.byWorkspaceId?.[p]?.agentIds,r=s&&s.length>0?new Set(s.map(i=>String(i))):null,c=e.agentSessions?.agentIdsByWorkspace?.[p]??[],l=c.length>0?c.map(i=>e.agentSessions?.byAgentId?.[i]).filter(i=>!!i):Object.values(e.agentSessions?.byAgentId??{}).filter(i=>i.workspaceId===p);return r?l.filter(i=>r.has(String(i.id))):l}function R(e){return e.metadata?.specialist===le&&e.metadata?.chiefPromptVersion===de}function D(e){return Math.max(e.messages.length,e.messageCount??0)}function S(e){return{agentId:e.id,title:ie(e),isActive:e.isStreaming===!0||e.isProcessing===!0||e.isResponding===!0,messageCount:D(e),pinned:e.pinned===!0,retired:!!e.retiredAt}}function b(e){return P(e).filter(t=>!t.retiredAt)}function U(e,t){return m(t)-m(e)}function H(e,t){const s=r=>new Date(r.lastActivity??r.updatedAt??r.createdAt).getTime()||0;return s(t)-s(e)}const $e=o.createSelector(e=>e.sidebarNav.panelItem),ze=o.createSelector(e=>e.sidebarNav.onboardingActive),Je=o.createSelector(e=>e.sidebarNav.showCreateModal),Xe=o.createSelector(e=>e.sidebarNav.createModalUsesHomeRepository),Qe=o.createSelector(e=>e.sidebarNav.createModalPrefillRequest),x=o.createSelector(e=>W.select(e)?.capabilities.workspaceLabels===1),Ze=o.createSelector((e,t)=>k.select(e,t)?.label??null),et=o.createSelector(e=>Ie(N.select(e).map(t=>t.label))),ke=["id","label"],tt=o.createSelector((e,t)=>x.select(e)&&O.select(e,t,ke)!==null),be=o.createSelector(e=>W.select(e)?.capabilities.workspaceAutoArchiveOptOut===1),we=o.createSelector(e=>(e.sidebarNav.autoArchiveIdleAfterDays??0)>0),st=o.createSelector((e,t)=>k.select(e,t)?.autoArchiveDisabled===!0),Ae=["id","autoArchiveDisabled"],rt=o.createSelector((e,t)=>{if(!be.select(e)||!we.select(e))return!1;const s=k.select(e,t);return!s||s.isRemote===!0||s.environmentConfig?.type==="remote"?!1:O.select(e,t,Ae)!==null}),ot=o.createSelector(e=>e.sidebarNav.pinnedWorkspaceIds),nt=o.createSelector(e=>x.select(e)?N.select(e).filter(t=>L(t.label)).map(t=>t.id):e.sidebarNav.pinnedWorkspaceIds),at=o.createSelector((e,t)=>e.sidebarNav.multiSelectSelectedTabIdsByWorkspaceId[t]??["people","agents"]),ct=o.createSelector(e=>e.sidebarNav.hiddenSidebarTabIds??[]),it=o.createSelector((e,t)=>e.sidebarNav.noteOrderByWorkspaceId[t]??[]),lt=o.createSelector((e,t)=>e.sidebarNav.collapsedNoteIdsByWorkspaceId[t]??[]),dt=o.createSelector((e,t)=>e.sidebarNav.expandedNoteIdsByWorkspaceId?.[t]??[]),pt=o.createSelector(e=>e.sidebarNav.chiefActiveAgentId),ut=o.createSelector((e,t)=>{const s=e.agentSessions.byAgentId[t];if(s?.workspaceId!==p)return{hooks:0,monitors:0,subscriptions:0};const r=ue.select(e,p)==="ready"?pe.select(e,p).filter(d=>d.agentId===t&&(d.state==="scheduled"||d.state==="running")).length:s.waitingOnHooks?.length??0,c=z.select(e,p)==="ready"?J.select(e,p,t).filter(d=>d.state==="active").length:s.waitingOnPrMonitors?.length??0,l=M.select(e,p),i=l.status==="unsupported"?0:l.status==="ready"?l.monitors.filter(d=>d.agentId===t&&d.state==="active").length:s.waitingOnScriptMonitors?.length??0,h=s.isWaitingForOtherAgents===!1?0:s.waitingForAgentIds?.length??(ge.select(e,p,t).length||(s.isWaitingForOtherAgents?1:0)),g=fe.select(e,p,t).filter(d=>d.subscriberAgentId===t).length;return{hooks:r,monitors:c+i,subscriptions:h+g}}),gt=o.createSelector(e=>e.sidebarNav.statsOverlayOpen),ve=o.createSelector(e=>b(e).sort((t,s)=>+(s.pinned===!0)-+(t.pinned===!0)||H(t,s)).map(S)),ye=o.createSelector(e=>P(e).filter(t=>!!t.retiredAt).sort(H).map(S)),ft=o.createSelector(e=>[...ve.select(e),...ye.select(e)]),ht=o.createSelector(e=>{const t=b(e).filter(R).sort(U)[0];return t?S(t):null}),St=o.createSelector(e=>{const t=b(e).filter(s=>D(s)===0&&!s.lastMessageId&&R(s)).sort(U)[0];return t?S(t):null}),mt=Object.freeze(Object.defineProperty({__proto__:null,NOTIFY_DURATION:te,TOAST_COUNTDOWN_CLASS:se,TOAST_COUNTDOWN_NO_HOVER_PAUSE_CLASS:re,notify:ee,notifyMetadata:oe,withToastCountdown:ne},Symbol.toStringTag,{value:"Module"}));export{ot as A,at as B,de as C,_ as D,ze as E,$e as F,nt as G,ye as H,St as I,M as J,Je as K,gt as L,qe as M,Ge as N,Fe as O,E as P,Ke as Q,st as R,lt as S,dt as T,Ze as U,et as V,me as W,it as X,Ye as Y,le as a,p as b,He as c,L as d,ae as e,je as f,Be as g,ge as h,mt as i,ft as j,ut as k,pe as l,ue as m,rt as n,tt as o,pt as p,ve as q,Ue as r,xe as s,Qe as t,Xe as u,ht as v,he as w,Ve as x,ct as y,x as z};
@@ -1 +1 @@
1
- import{a6 as h,K9 as w,rR as S}from"./B9vHutcJ.js";import{cd as E}from"./3SdAC2_C.js";const f="intent://pair";function T(t){const e=t.trim().toLowerCase();if(!e.startsWith(f))return!1;const n=e.charAt(f.length);return n===""||n==="?"||n==="/"||n==="#"}function F(t){const e=t.trim();if(!T(e))return null;let n;try{n=new URL(e.replace(/^intent:\/\//i,"http://"))}catch{return null}const a=n.searchParams,c=(a.get("host")??"").split(",").map(d=>d.trim()).filter(d=>d.length>0),s=a.get("port")?.trim()??"",i=/^\d+$/.test(s)?Number(s):NaN,o=Number.isInteger(i)&&i>0&&i<=65535?i:null,u=(a.get("fp")??a.get("certFingerprint"))?.trim()||null,l=a.get("token")?.trim()||null,m=a.get("tc")?.trim()||null,k=a.get("mode")?.trim().toLowerCase()==="node"?"node":null;return{hosts:c,port:o,fingerprint:u,token:l,tcAddress:m,modeHint:k}}function H(t){return t.trim().replace(/([?&]token=)[^&#]*/gi,"$1••••")}const _=["agent:started","agent:completed","agent:failed","agent:idle","agent:status-changed","task:created","task:status-changed","workspace:displayStatus-changed","workspace:attention-changed","pr:linked","pr:updated","pr:unlinked","git:commit","git:pull"],L="agent:delegated";function r(t){return typeof t=="string"&&t.length>0?t:void 0}function N(t,e){if(t==="agent:failed")return"err";if(t==="agent:status-changed"){const n=r(e.status)??"";return n==="error"||n==="failed"?"err":n==="completed"?"ok":w(n)==="running"?"info":"idle"}if(t==="agent:idle")return"idle";if(t==="agent:completed")return"ok";if(t==="task:created")return"info";if(t==="task:status-changed")return r(e.newStatus)==="complete"?"ok":"info";if(t==="workspace:displayStatus-changed"){const n=r(e.displayStatus);return n==="pr_merged"||n==="complete"?"ok":n==="pr_ready"||n==="pr_queued"||n==="pr_open"?"accent":n==="needs_attention"?"warn":n==="idle"||n==="not_started"?"idle":"info"}return t==="workspace:attention-changed"?S(r(e.attention)??"")?"warn":"info":t.startsWith("pr:")?"accent":"info"}function I(t,e){switch(t){case"agent:started":case"agent:completed":case"agent:idle":return"";case"agent:failed":return r(e.error)??"";case"agent:status-changed":return"";case"task:created":return r(e.noteTitle)??r(e.noteId)??"";case"task:status-changed":return[r(e.noteTitle)??r(e.noteId),r(e.newStatus)].filter(Boolean).join(" → ");case"workspace:displayStatus-changed":return"";case"workspace:attention-changed":return r(e.attention)??"";case"pr:linked":case"pr:updated":return[typeof e.prNumber=="number"?`#${e.prNumber}`:void 0,r(e.prStatus)].filter(Boolean).join(" ");case"pr:unlinked":return"";case"git:commit":return r(e.message)??r(e.commit)??"";case"git:pull":return r(e.branch)??"";default:return""}}const b=new Set(["idle","inactive"]);function A(t,e){if(t!=="agent:status-changed")return!1;const n=(r(e.status)??"").toLowerCase();return b.has(n)}function y(t,e){return t==="workspace:attention-changed"&&r(e.attention)===h}function P(t){const e=typeof t.type=="string"?t.type:"";if(!_.includes(e))return null;const n=r(t.id),a=r(t.timestamp),c=r(t.workspaceId);if(!n||!a||!c)return null;const s=t.data&&typeof t.data=="object"?t.data:{};if(A(e,s)||y(e,s))return null;const i={id:n,ts:a,colorClass:N(e,s),source:c,kind:e,text:I(e,s)};if(e.startsWith("agent:")){const o=r(s.agentId),u=r(s.agentName);if(o&&(i.agentId=o),u&&(i.agentName=u),e==="agent:status-changed"){const l=r(s.status);l&&(i.agentStatus=l)}}if(e==="workspace:displayStatus-changed"){const o=r(s.displayStatus);o&&(i.displayStatus=o)}return i}const g=new Set;function R(t){return g.add(t),()=>g.delete(t)}function C(t){for(const e of g)e(t)}const p=E(null),x={subscribe:p.subscribe};function B(t){p.set(t)}export{L as H,_ as a,H as b,C as e,T as i,P as m,R as o,F as p,B as s,x as t};
1
+ import{a6 as h,K9 as w,rR as S}from"./CiKoEJ2m.js";import{cd as E}from"./3SdAC2_C.js";const f="intent://pair";function T(t){const e=t.trim().toLowerCase();if(!e.startsWith(f))return!1;const n=e.charAt(f.length);return n===""||n==="?"||n==="/"||n==="#"}function F(t){const e=t.trim();if(!T(e))return null;let n;try{n=new URL(e.replace(/^intent:\/\//i,"http://"))}catch{return null}const a=n.searchParams,c=(a.get("host")??"").split(",").map(d=>d.trim()).filter(d=>d.length>0),s=a.get("port")?.trim()??"",i=/^\d+$/.test(s)?Number(s):NaN,o=Number.isInteger(i)&&i>0&&i<=65535?i:null,u=(a.get("fp")??a.get("certFingerprint"))?.trim()||null,l=a.get("token")?.trim()||null,m=a.get("tc")?.trim()||null,k=a.get("mode")?.trim().toLowerCase()==="node"?"node":null;return{hosts:c,port:o,fingerprint:u,token:l,tcAddress:m,modeHint:k}}function H(t){return t.trim().replace(/([?&]token=)[^&#]*/gi,"$1••••")}const _=["agent:started","agent:completed","agent:failed","agent:idle","agent:status-changed","task:created","task:status-changed","workspace:displayStatus-changed","workspace:attention-changed","pr:linked","pr:updated","pr:unlinked","git:commit","git:pull"],L="agent:delegated";function r(t){return typeof t=="string"&&t.length>0?t:void 0}function N(t,e){if(t==="agent:failed")return"err";if(t==="agent:status-changed"){const n=r(e.status)??"";return n==="error"||n==="failed"?"err":n==="completed"?"ok":w(n)==="running"?"info":"idle"}if(t==="agent:idle")return"idle";if(t==="agent:completed")return"ok";if(t==="task:created")return"info";if(t==="task:status-changed")return r(e.newStatus)==="complete"?"ok":"info";if(t==="workspace:displayStatus-changed"){const n=r(e.displayStatus);return n==="pr_merged"||n==="complete"?"ok":n==="pr_ready"||n==="pr_queued"||n==="pr_open"?"accent":n==="needs_attention"?"warn":n==="idle"||n==="not_started"?"idle":"info"}return t==="workspace:attention-changed"?S(r(e.attention)??"")?"warn":"info":t.startsWith("pr:")?"accent":"info"}function I(t,e){switch(t){case"agent:started":case"agent:completed":case"agent:idle":return"";case"agent:failed":return r(e.error)??"";case"agent:status-changed":return"";case"task:created":return r(e.noteTitle)??r(e.noteId)??"";case"task:status-changed":return[r(e.noteTitle)??r(e.noteId),r(e.newStatus)].filter(Boolean).join(" → ");case"workspace:displayStatus-changed":return"";case"workspace:attention-changed":return r(e.attention)??"";case"pr:linked":case"pr:updated":return[typeof e.prNumber=="number"?`#${e.prNumber}`:void 0,r(e.prStatus)].filter(Boolean).join(" ");case"pr:unlinked":return"";case"git:commit":return r(e.message)??r(e.commit)??"";case"git:pull":return r(e.branch)??"";default:return""}}const b=new Set(["idle","inactive"]);function A(t,e){if(t!=="agent:status-changed")return!1;const n=(r(e.status)??"").toLowerCase();return b.has(n)}function y(t,e){return t==="workspace:attention-changed"&&r(e.attention)===h}function P(t){const e=typeof t.type=="string"?t.type:"";if(!_.includes(e))return null;const n=r(t.id),a=r(t.timestamp),c=r(t.workspaceId);if(!n||!a||!c)return null;const s=t.data&&typeof t.data=="object"?t.data:{};if(A(e,s)||y(e,s))return null;const i={id:n,ts:a,colorClass:N(e,s),source:c,kind:e,text:I(e,s)};if(e.startsWith("agent:")){const o=r(s.agentId),u=r(s.agentName);if(o&&(i.agentId=o),u&&(i.agentName=u),e==="agent:status-changed"){const l=r(s.status);l&&(i.agentStatus=l)}}if(e==="workspace:displayStatus-changed"){const o=r(s.displayStatus);o&&(i.displayStatus=o)}return i}const g=new Set;function R(t){return g.add(t),()=>g.delete(t)}function C(t){for(const e of g)e(t)}const p=E(null),x={subscribe:p.subscribe};function B(t){p.set(t)}export{L as H,_ as a,H as b,C as e,T as i,P as m,R as o,F as p,B as s,x as t};
@@ -1,4 +1,4 @@
1
- var Ul=Object.defineProperty;var jl=(r,t,a)=>t in r?Ul(r,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[t]=a;var pa=(r,t,a)=>jl(r,typeof t!="symbol"?t+"":t,a);import{t as pt,bo as g,bw as vt,b as ht,bm as d,bq as Ea,bs as tr,br as Vl,bp as vn}from"./CLAmm_T1.js";import{ai as Ga,bs as _t,ca as Yt,aD as e,bH as D,ay as fe,bS as A,a7 as St,W as c,a5 as V,bA as F,bn as bt,c9 as n,bV as ue,aA as m,b_ as $,aj as xr,aB as I,be as Cr,b$ as Pr,bO as Q,bf as rr,c0 as Ia,bl as oe,bj as ja,c6 as Gl,bo as nn,br as Zr,am as Da,ax as Ba,bk as as,aw as pn,bz as ns,cb as Fn,c5 as Mn,aC as Ir,cd as vo,bv as Kl}from"./3SdAC2_C.js";import{i as O}from"./BFgvMDua.js";import{g as kr,e as sa,p as ms,i as Ha,I as Zl,h as eo,X as pi,o as Ql}from"./B1CKzIA2.js";import{n as Kt,l as On,c as Xa,g as rn,s as ks,k as ss,S as Yl}from"./CfNIzRu8.js";import{s as J,f as Fe,g as hn,c as It,e as Qt,b as _n,p as Xl,S as Jl,C as ed}from"./CcJmuwXr.js";import{b as ea}from"./Dn334wJv.js";import{f as st,ae as to,a_ as td}from"./nxtepGjE.js";import{J as rd,O as ad,Q as Is}from"./TB9r2XJy.js";import"./C4jSaPCg.js";import"./CEE0831H.js";import"./CgrVbtN0.js";import{t as Ma,k as vi}from"./BwNrQXlF.js";import{F as Bt,a4 as zs,bg as ka,cK as ps,au as hi,aZ as _i,aK as nd,c9 as sd,a6 as os,aN as od,cN as id,cM as ld,a3 as vs,aC as is,aw as hs,I as ho,aj as dd,bu as cd,aS as ud,aX as fd,bJ as gd,ao as md,bk as bi,cC as pd,aP as _o,c0 as Ss,aI as Hn,cW as vd,cb as hd,bn as _d,b as bd,cp as yd,ag as wd,ba as Ts,cr as wn,cF as xd,az as kd,c6 as Id,d3 as Sd}from"./DPttSllj.js";import{C as yi,A as Td,o as Cd}from"./Dd-LQrG1.js";import{b as Cs,V as bo}from"./D99jSct3.js";import{A as wi}from"./LXflBOtX.js";import{bZ as xi,aj as Md,j as Kn,a4 as Ws,al as ls,E as Ad,au as Zn,aP as Pd,aS as yo}from"./DBAONTYG.js";import{t as an,o as Rd}from"./DAsc1V4f.js";import{ch as Qn,aO as qn,d3 as ki,d5 as Va,c6 as _s,q as Nd,cY as Ii,d2 as bs,d1 as Si,c$ as Ti,n as Ca,al as Ed,am as $d,aJ as Ld,z as Od,V as qd,a3 as wo,D as Ci,e5 as Dd,aF as Bd,ak as Fd,r as zd,C as Ms,ag as Wd,U as xn,e3 as Hd,ab as Ud,k as xo,u as jd,Z as Vd,v as Gd,i as Kd,g as As,f as ko,a0 as Zd,$ as Qd,a9 as Yd,x as Mi,y as Ai,l as Pi,j as Xd,s as Jd,a as ec,d6 as tc,ae as rc,e4 as ac,L as nc,F as sc,a2 as Io,bq as oc,av as ic}from"./C2UL5Ler.js";import{JH as mt,p0 as lc,tR as Yn,nR as So,vK as Ri,vM as Ni,s2 as dc,yJ as ds,v1 as Ei,nM as $i,br as En,nZ as cc,n_ as uc,yK as fc,qA as gc,tl as mc,vD as Li,nL as pc,mP as vc,m as hc,zk as _c,zh as bc,zj as yc}from"./B9vHutcJ.js";import{a3 as wc,y as Ps,a1 as xc,O as Rs,W as kc,$ as Ic,k as Sc,p as kn,P as un,q as Tc,G as Cc,v as Mc,t as Ac,M as Ns,K as Pc,z as Rc,L as Nc,_ as An,U as Un,N as To,n as Co,E as Ec,c as Es,F as Mo,B as $c,w as Ao,J as Pn,Q as Lc,H as Oc,j as qc,R as Dc,T as Bc,A as Fc,g as zc,b as Wc,D as Hc,f as Uc,e as jc,a as Vc,C as Gc,i as Kc,d as Hs,V as Oi,a4 as Zc,u as Qc,l as Yc}from"./iOLvSy8g.js";import{i as Xc,e as Jc}from"./BGrimfDs.js";import{g as $s}from"./B5aYN90J.js";import{M as In,C as Rn}from"./Dj-KLToz.js";import{C as Po}from"./BId1zNus.js";import"./CHW1UVsO.js";import{P as eu}from"./DFFA_QTd.js";import"./ByyFoG6W.js";import{c as qi}from"./ChTqQfQN.js";import{S as tu}from"./M9xgh-VN.js";import{D as Ro,M as ru}from"./BgXuXJpo.js";import{b as au,s as en,c as cs}from"./s6kPQOkv.js";import{O as Xn,y as Ls,E as Os,B as qs,N as nu,m as su,l as ou,k as iu,d as Dn,C as No,f as lu,e as du,g as cu}from"./BYpep93f.js";import{a as Di,s as Eo}from"./BsieX9dN.js";import{f as uu}from"./BdWqymET.js";import{c as na}from"./CRSiOiSR.js";import{a as fu,k as Bi,h as ro,q as Fi,l as wr}from"./Cu5e4npY.js";import{P as gu}from"./hkJYqn41.js";import{r as Ds,q as Bs,B as $o,i as mu}from"./C4iFTj8I.js";import{R as zi,C as ys,m as pu,h as vu,g as hu,i as Lo,P as _u}from"./96V4v2iI.js";import"./BbYWP3Ow.js";import{c as bu,s as yu}from"./DrA_ZV1y.js";import{h as gn}from"./DuiDS_zT.js";import{b as wu,a as Wi}from"./BRaBCoIn.js";import{P as Hi}from"./TyAuxp07.js";import{B as xu}from"./BGniv2IE.js";import{o as Ui,r as ku,e as Iu}from"./kjO__HeE.js";import{o as ji}from"./CgwVRyOb.js";import{A as Jn,b as Vi}from"./BhCMc9G0.js";import{g as ao}from"./BrMDTgLg.js";import{a as Su,M as Tu}from"./UTM5G-w-.js";import{a as Gi}from"./z5FcOXD5.js";import{E as Cu,n as Mu}from"./BbhtQrkZ.js";import{t as Tr}from"./C-BsEdGZ.js";import{c as Sn}from"./BwH4Bvte.js";import{A as Au}from"./C6RhewOE.js";import{f as Pu,d as Ru}from"./Bq7odTLd.js";import{ad as Nu,P as Eu,Z as $u,L as Oo,Y as Lu,w as Ou,a0 as Ki,$ as Zi}from"./DRDYIFn4.js";import{a as qu}from"./CC7to1B5.js";import{k as Du}from"./CIbfGsF-.js";import{S as Bu}from"./Chj-azz7.js";import{u as Fu,a as zu,c as qo,S as Wu}from"./D9tVylVS.js";import{T as us}from"./DMrzeQEi.js";import"./DZzwt3PA.js";import{g as Hu,a as Uu}from"./DaWmj23r.js";import{I as ju,R as Vu,q as Gu}from"./DzDSM2LC.js";import{b as Qi}from"./CVWwz1Ss.js";import{b as Do}from"./goTpbPhD.js";import{ah as Ua,n as Ku}from"./DQw0Iiac.js";import{b as Zu}from"./BPcIfv-A.js";import{r as Bo}from"./DmapvbAr.js";function Qu(r){if(!r||typeof r!="object")return null;const t=r;if(t.type!=="script_monitor_wake"||t.source!=="system")return null;const{scriptName:a,scriptId:s,runId:o,monitorId:i,workspaceId:l,reason:u}=t;if(typeof a!="string"||typeof s!="string"||!s||typeof o!="string"||!o||typeof i!="string"||!i||typeof l!="string"||!l||u!=="finished"&&u!=="ttl-expired"&&u!=="output-match"&&u!=="line-count")return null;const h=t.trigger;return{scriptName:a,scriptId:s,runId:o,monitorId:i,workspaceId:l,reason:u,...u==="output-match"&&typeof h?.matchedLine=="string"?{matchedLine:h.matchedLine}:{}}}function Yu(r){return r?.type==="script_monitor_wake"&&!("remoteAgentId"in r)}function Xu(r,t,a,s=!1){if(!r||!t)return{edit:!1,remove:!1,sendNow:!1};const o=r.messageMetadata?.fromPrincipalId??r.author?.principalId,i=Nu(r)&&r.author?.principalId!==null&&o===t;return{edit:i,remove:i||t===a||s,sendNow:(i||s)&&!Yi(r)}}function Tn(r,t){if(t)return r.find(a=>a.editing&&a.editingMessageId?a.editingMessageId===t:a.id===t)}function Yi(r){return Yu(r.messageMetadata)&&typeof r.messageMetadata?.monitorId=="string"}function Fo(r,t=Date.now()){const a=r.messageMetadata,s=a?.fromPrincipalId,o=a&&Object.hasOwn(a,"humanAuthor")&&!(typeof s=="string"&&s.length>0),i=r.holdKind!==void 0&&Date.parse(r.holdUntil??"")>t;return!r.editing&&!i&&!o&&!Yi(r)}const Cb="pl-3.5! pr-2!";var Ju=I('<span class="tile-remove-slot svelte-d8pwpf"><!></span>'),zo=I('<span class="attachment-status svelte-d8pwpf"> </span>'),ef=I('<div class="file-image tile svelte-d8pwpf" data-kind="file"><!> <!> <div class="tile-actions svelte-d8pwpf"><!> <!></div></div>'),tf=I("<!><span> </span>",1),rf=I('<img alt="" draggable="false"/>'),af=I('<span class="summary svelte-d8pwpf" data-clip-summary=""> </span>'),nf=I('<span class="clip svelte-d8pwpf"><span class="record-dot svelte-d8pwpf" aria-hidden="true"></span><span class="duration svelte-d8pwpf"> </span><!></span>'),sf=I('<div class="tile svelte-d8pwpf"><!> <!> <div class="tile-actions svelte-d8pwpf"><!> <!></div></div>'),of=I('<div class="attachment-row svelte-d8pwpf" role="group" data-dock-media-attachments=""></div>'),lf=I("<!> <!> <!>",1),df=I('<img draggable="false" class="svelte-d8pwpf"/>'),cf=I('<video controls="" playsinline="" class="svelte-d8pwpf"></video>',2),uf=I('<div class="media-viewer svelte-d8pwpf"><!></div>'),ff=I("<!> <!>",1);function gf(r,t){if(new.target)return pt({component:gf,...r});_t(t,!0);const a=(T,me=rr,le=rr)=>{var N=Ju(),ve=V(N);st(ve,{variant:"secondary",size:"icon-sm",class:"tile-action tile-remove",get disabled(){return i()},get"aria-label"(){return le()},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return le()},onclick:()=>z(me()),children:(Le,Ae)=>{Cs(Le,{glyph:"x"})},$$slots:{default:!0}}),F(N),c(T,N)};let s=g(t,"items",7),o=g(t,"labels",7),i=g(t,"disabled",7,!1),l=g(t,"onMarkUp",7),u=g(t,"onEdit",7),h=g(t,"onRemove",7),v=g(t,"onRetry",7),x=g(t,"onCopy",7),M=g(t,"onMenu",7);const B=T=>T.owner==="attachment"?2:{image:0,clip:1,file:2}[T.kind],U=n(()=>[...s()].sort((T,me)=>B(T)-B(me)));let w=ue(null),C=ue(!1),re=ue(null),G=null;const S=n(()=>s().find(T=>T.id===e(re)));Yt(()=>{(!e(S)||e(S).kind==="image"&&!j(e(S)))&&D(C,!1)});function j(T){return T.kind==="image"&&T.status!=="placing"&&T.status!=="failed"&&T.url.trim().length>0}function L(T){return T.kind==="image"?o().image(T.markCount):T.kind==="clip"?T.summary?`${o().clip(T.duration)} ${T.summary}`:o().clip(T.duration):T.name}function ne(T,me){if(!(i()||T.kind==="file"||T.kind==="image"&&!j(T)||T.kind==="clip"&&(!T.url||T.recording))){if((T.kind==="clip"||T.kind==="image")&&u()){u()(T.id);return}G=me,D(re,T.id,!0),D(C,!0)}}async function z(T){i()||(e(re)===T&&D(C,!1),h()(T),await Ia(),(!document.activeElement||document.activeElement===document.body)&&e(w)?.querySelector("button:not(:disabled)")?.focus())}function q(T){const me=s().find(le=>le.id===T);i()||!me||!j(me)||(D(C,!1),u()?u()(T):l()(T))}function ee(T,me){T.key!=="Delete"||i()||(T.preventDefault(),T.stopPropagation(),z(me))}function R(T){return T.status==="placing"||T.status==="failed"?!1:T.kind==="image"?!!T.file||j(T):T.kind==="clip"&&!T.recording&&!!T.url}function Y(T,me){const le=rd()?T.metaKey:T.ctrlKey,N=T.key.toLowerCase();if(le&&!T.shiftKey&&!T.altKey&&(N==="c"||N==="x")){if(!x()||!R(me)||(T.preventDefault(),T.stopPropagation(),N==="x"&&i()))return;x()(me.id,N==="x");return}ee(T,me.id)}function te(T,me){!M()||!R(me)||(T.preventDefault(),M()(me.id))}var _e={get items(){return s()},set items(T){s(T),m()},get labels(){return o()},set labels(T){o(T),m()},get disabled(){return i()},set disabled(T=!1){i(T),m()},get onMarkUp(){return l()},set onMarkUp(T){l(T),m()},get onEdit(){return u()},set onEdit(T){u(T),m()},get onRemove(){return h()},set onRemove(T){h(T),m()},get onRetry(){return v()},set onRetry(T){v(T),m()},get onCopy(){return x()},set onCopy(T){x(T),m()},get onMenu(){return M()},set onMenu(T){M(T),m()},$set:vt,$on:(T,me)=>ht(t,T,me)},de=ff(),ge=fe(de);{var Pe=T=>{var me=of();kr(me,21,()=>e(U),le=>le.id,(le,N)=>{var ve=St(),Le=fe(ve);{var Ae=xe=>{var P=ef(),X=V(P);{let W=n(()=>i()||e(N).status==="placing");wi(X,{get id(){return e(N).id},get name(){return e(N).file.name},get type(){return e(N).file.imageMimeType},get imageData(){return e(N).file.imageData},get imageMimeType(){return e(N).file.imageMimeType},variant:"thumbnail",thumbnailClass:"size-full",class:"size-full",get disabled(){return e(W)},get placementStatus(){return e(N).status},get placementError(){return e(N).error}})}var ae=A(X,2);{var we=W=>{var be=zo(),Re=oe(be,!0);$(()=>{J(be,"data-failed",e(N).status==="failed"||void 0),J(be,"role",e(N).status==="failed"?"alert":"status"),J(be,"title",e(N).error),Q(Re,e(N).status==="failed"?e(N).error??o().attachmentFailed:o().attachmentPending)}),c(W,be)};O(ae,W=>{e(N).status&&W(we)})}var _=A(ae,2),Se=V(_);{var Ce=W=>{st(W,{variant:"primary",size:"icon-sm",class:"tile-action",get disabled(){return i()},get"aria-label"(){return o().retry},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return o().retry},onclick:()=>v()?.(e(N).id),children:(be,Re)=>{Bt(be,{get icon(){return zs},size:16})},$$slots:{default:!0}})};O(Se,W=>{e(N).status==="failed"&&v()&&W(Ce)})}var E=A(Se,2);{let W=n(()=>d.chat_attachmentPreview_remove_ariaLabel({name:e(N).file.name}));a(E,()=>e(N).id,()=>e(W))}F(_),F(P),$(()=>J(P,"data-attachment-id",e(N).id)),xr("keydown",P,W=>Y(W,e(N))),xr("contextmenu",P,W=>te(W,e(N))),Kt(1,P,()=>On,()=>({tier:"fast",y:3,scale:.98})),Kt(2,P,()=>Xa,()=>({tier:"fast"})),c(xe,P)},Ee=xe=>{const P=n(()=>e(N).kind==="image"&&!j(e(N))&&e(N).status!=="failed");var X=sf(),ae=V(X);{var we=ke=>{st(ke,{type:"button",variant:"ghost",wrapContent:!1,class:"open-tile file",get"aria-label"(){return e(N).name},get disabled(){return i()},onkeydown:$e=>ee($e,e(N).id),children:($e,Oe)=>{var Ue=tf(),se=fe(Ue);Bt(se,{get icon(){return ka},size:20});var Ge=A(se),yt=oe(Ge,!0);$(()=>Q(yt,e(N).name)),c($e,Ue)},$$slots:{default:!0}})},_=ke=>{{let $e=n(()=>L(e(N))),Oe=n(()=>i()||e(N).kind==="clip"&&(e(N).recording||!e(N).url));st(ke,{type:"button",variant:"ghost",wrapContent:!1,class:"open-tile",get"aria-label"(){return e($e)},get disabled(){return e(Oe)},onkeydown:Ue=>Y(Ue,e(N)),onclick:Ue=>{Ue.currentTarget instanceof HTMLElement&&ne(e(N),Ue.currentTarget)},children:(Ue,se)=>{var Ge=St(),yt=fe(Ge);{var Ft=et=>{var Ke=rf();$(()=>J(Ke,"src",e(N).url)),c(et,Ke)},er=et=>{var Ke=nf(),$t=A(V(Ke)),Tt=oe($t,!0),ut=A($t);{var ze=K=>{var y=af(),pe=oe(y,!0);$(()=>Q(pe,e(N).summary)),c(K,y)};O(ut,K=>{e(N).summary&&K(ze)})}F(Ke),$(()=>Q(Tt,e(N).duration)),c(et,Ke)};O(yt,et=>{e(N).kind==="image"?et(Ft):et(er,-1)})}c(Ue,Ge)},$$slots:{default:!0}})}},Se=n(()=>e(N).kind!=="image"||j(e(N)));O(ae,ke=>{e(N).kind==="file"?ke(we):e(Se)&&ke(_,1)})}var Ce=A(ae,2);{var E=ke=>{var $e=zo(),Oe=oe($e,!0);$(()=>{J($e,"data-failed",e(N).status==="failed"||void 0),J($e,"role",e(N).status==="failed"?"alert":"status"),J($e,"title",e(N).error),Q(Oe,e(N).status==="failed"?e(N).error??o().attachmentFailed:o().attachmentPending)}),c(ke,$e)};O(Ce,ke=>{(e(N).status||e(P))&&ke(E)})}var W=A(Ce,2),be=V(W);{var Re=ke=>{st(ke,{variant:"primary",size:"icon-sm",class:"tile-action",get disabled(){return i()},get"aria-label"(){return o().retry},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return o().retry},onclick:()=>v()?.(e(N).id),children:($e,Oe)=>{Bt($e,{get icon(){return zs},size:16})},$$slots:{default:!0}})},Ve=ke=>{{let $e=n(()=>u()?o().edit:o().markUp),Oe=n(()=>u()?o().edit:o().markUp);st(ke,{variant:"primary",size:"icon-sm",class:"tile-action",get disabled(){return i()},get"aria-label"(){return e($e)},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return e(Oe)},onclick:()=>q(e(N).id),children:(Ue,se)=>{Cs(Ue,{glyph:"pencil"})},$$slots:{default:!0}})}},De=n(()=>j(e(N))),Et=ke=>{{let $e=n(()=>u()?o().edit:o().play),Oe=n(()=>u()?o().edit:o().play);st(ke,{variant:"primary",size:"icon-sm",class:"tile-action",get disabled(){return i()},get"aria-label"(){return e($e)},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return e(Oe)},onclick:Ue=>{Ue.currentTarget instanceof HTMLElement&&ne(e(N),Ue.currentTarget)},children:(Ue,se)=>{{let Ge=n(()=>u()?"pencil":"play");Cs(Ue,{get glyph(){return e(Ge)}})}},$$slots:{default:!0}})}};O(be,ke=>{e(N).status==="failed"&&v()?ke(Re):e(De)?ke(Ve,1):e(N).kind==="clip"&&!e(N).recording&&e(N).url&&ke(Et,2)})}var ye=A(be,2);a(ye,()=>e(N).id,()=>o().remove),F(W),F(X),$(()=>{J(X,"data-kind",e(N).kind),J(X,"data-attachment-id",e(N).id),J(X,"aria-busy",e(P)||void 0)}),xr("contextmenu",X,ke=>te(ke,e(N))),Kt(1,X,()=>On,()=>({tier:"fast",y:3,scale:.98})),Kt(2,X,()=>Xa,()=>({tier:"fast"})),c(xe,X)};O(Le,xe=>{e(N).kind==="image"&&e(N).file?xe(Ae):xe(Ee,-1)})}c(le,ve)}),F(me),ea(me,le=>D(w,le),()=>e(w)),$(()=>J(me,"aria-label",o().attachments)),c(T,me)};O(ge,T=>{e(U).length&&T(Pe)})}var Ie=A(ge,2);{const T=le=>{var N=St(),ve=fe(N);{var Le=Ae=>{var Ee=lf(),xe=fe(Ee);{var P=_=>{st(_,{variant:"primary",get disabled(){return i()},onclick:()=>e(S)&&q(e(S).id),children:(Se,Ce)=>{Cr();var E=Pr();$(()=>Q(E,o().markUp)),c(Se,E)},$$slots:{default:!0}})},X=n(()=>j(e(S)));O(xe,_=>{e(X)&&_(P)})}var ae=A(xe,2);st(ae,{variant:"secondary",get disabled(){return i()},onclick:()=>e(S)&&z(e(S).id),children:(_,Se)=>{Cr();var Ce=Pr();$(()=>Q(Ce,o().remove)),c(_,Ce)},$$slots:{default:!0}});var we=A(ae,2);st(we,{variant:"ghost-light",onclick:()=>{D(C,!1)},children:(_,Se)=>{Cr();var Ce=Pr();$(()=>Q(Ce,o().done)),c(_,Ce)},$$slots:{default:!0}}),c(Ae,Ee)};O(ve,Ae=>{e(S)&&e(S).kind!=="file"&&Ae(Le)})}c(le,N)};let me=n(()=>e(S)?L(e(S)):o().attachments);yi(Ie,{get title(){return e(me)},size:"wide",showCloseButton:!1,onCloseAutoFocus:le=>{le.preventDefault(),G?.isConnected?G.focus():e(w)?.querySelector("button:not(:disabled)")?.focus()},get open(){return e(C)},set open(le){D(C,le,!0)},footer:T,children:(le,N)=>{var ve=St(),Le=fe(ve);{var Ae=Ee=>{var xe=uf(),P=V(xe);{var X=_=>{var Se=df();$(Ce=>{J(Se,"src",e(S).url),J(Se,"alt",Ce)},[()=>L(e(S))]),c(_,Se)},ae=n(()=>e(S).kind==="image"&&j(e(S))),we=_=>{var Se=cf();$(Ce=>{J(Se,"src",e(S).url),J(Se,"aria-label",Ce)},[()=>L(e(S))]),c(_,Se)};O(P,_=>{e(ae)?_(X):e(S).kind==="clip"&&e(S).url&&_(we,1)})}F(xe),c(Ee,xe)};O(Le,Ee=>{e(S)&&e(S).kind!=="file"&&Ee(Ae)})}c(le,ve)},$$slots:{footer:!0,default:!0}})}return c(r,de),bt(_e)}Ga(["keydown","contextmenu"]);var mf=I("<!> ",1),pf=I('<div class="flex flex-col gap-2 px-4 py-3 bg-muted/30 border border-border rounded-lg my-4"><div class="flex items-center justify-between gap-2"><div class="flex items-center gap-2"><div class="shrink-0 text-subtle"><!></div> <div class="font-medium text-sm"> </div></div> <div class="flex items-center gap-1"><!> <!></div></div> <div class="text-xs text-subtle"> </div> <pre class="text-xs bg-background/50 rounded p-2 overflow-x-auto max-h-40 overflow-y-auto font-mono"> </pre></div>');function Xi(r,t){if(new.target)return pt({component:Xi,...r});_t(t,!0);let a=g(t,"name",7),s=g(t,"description",7),o=g(t,"content",7),i=g(t,"onUseScript",7),l=ue(!1);function u(){navigator.clipboard.writeText(o()),D(l,!0),setTimeout(()=>{D(l,!1)},2e3)}function h(){i()?.({name:a(),description:s(),content:o()})}var v={get name(){return a()},set name(R){a(R),m()},get description(){return s()},set description(R){s(R),m()},get content(){return o()},set content(R){o(R),m()},get onUseScript(){return i()},set onUseScript(R){i(R),m()},$set:vt,$on:(R,Y)=>ht(t,R,Y)},x=pf(),M=V(x),B=V(M),U=V(B),w=V(U);Bt(w,{get icon(){return ps},size:"sm"}),F(U);var C=A(U,2),re=oe(C,!0);F(B);var G=A(B,2),S=V(G);st(S,{variant:"ghost-light",size:"sm",onclick:u,class:"h-7 px-2",children:(R,Y)=>{var te=mf(),_e=fe(te);{let ge=n(()=>e(l)?hi:_i);Bt(_e,{get icon(){return e(ge)},class:"mr-1"})}var de=A(_e);$(ge=>Q(de,` ${ge??""}`),[()=>e(l)?d.chat_shared_copied_label():d.chat_shared_copy_label()]),c(R,te)},$$slots:{default:!0}});var j=A(S,2);{var L=R=>{st(R,{variant:"ghost-light",size:"sm",onclick:h,class:"h-7 px-2",children:(Y,te)=>{Cr();var _e=Pr();$(de=>Q(_e,de),[()=>d.chat_setupScriptCard_useScript_label()]),c(Y,_e)},$$slots:{default:!0}})};O(j,R=>{i()&&R(L)})}F(G),F(M);var ne=A(M,2),z=oe(ne,!0),q=A(ne,2),ee=oe(q,!0);return F(x),$(()=>{Q(re,a()),Q(z,s()),Q(ee,o())}),c(r,x),bt(v)}const yr={toolStart:/(?:\x1B\[\d+m)?🔧\s+(?:Tool call:\s+)?(.+?)(?:\x1B\[0m)?$/,toolDetail:/(?:[└├]─\s+(.+)$|^\s{3,}(.+)$)/,toolResult:/(?:\x1B\[\d+m)?📋\s+Tool result:\s+(.+?)(?:\x1B\[0m)?$/,toolSuccess:/[✓✔✅]\s+(.+)$/,toolError:/[❌✗❎]\s+(.+)$/,sessionInfo:/[Ss]ession:\s*([a-f0-9-]+)/,resumedSession:/📂?\s*Resumed session/i,assistantMarker:/🤖/,systemMarker:/💻/,userMarker:/👤/,thinkingMarker:/🤔\s*Thinking/i,waitingMarker:/^⏳\s+Running/i,indexingProgress:/^Indexing:\s*\[.*\]\s*\d+%/,agentDigest:/<agent_digest>([\s\S]*?)<\/agent_digest>/,setupScript:/<setup_script\s+name="([^"]+)"\s+description="([^"]+)">([\s\S]*?)<\/setup_script>/};class vf{constructor(){pa(this,"buffer","");pa(this,"currentToolName",null);pa(this,"currentToolId",null);pa(this,"lastToolId",null);pa(this,"currentToolParams",[]);pa(this,"currentToolResultContent",[]);pa(this,"inToolResult",!1);pa(this,"inCodeBlock",!1);pa(this,"codeBlockLanguage","");pa(this,"codeBlockContent","");pa(this,"characterBuffer","");pa(this,"inCharacterMode",!1);pa(this,"emittedToolIds",new Set)}parseChunk(t){if(this.isMarkerLine(t.trim())){const o=[];if(this.inToolResult&&this.currentToolResultContent.length>0){const u=this.currentToolResultContent.some(v=>v.startsWith("❌")||v.startsWith("Error:")),h=this.currentToolResultContent.map(v=>v.replace(/^❌\s*/,"").replace(/^Error:\s*/,"")).join(`
1
+ var Ul=Object.defineProperty;var jl=(r,t,a)=>t in r?Ul(r,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[t]=a;var pa=(r,t,a)=>jl(r,typeof t!="symbol"?t+"":t,a);import{t as pt,bo as g,bw as vt,b as ht,bm as d,bq as Ea,bs as tr,br as Vl,bp as vn}from"./CtfEuoOH.js";import{ai as Ga,bs as _t,ca as Yt,aD as e,bH as D,ay as fe,bS as A,a7 as St,W as c,a5 as V,bA as F,bn as bt,c9 as n,bV as ue,aA as m,b_ as $,aj as xr,aB as I,be as Cr,b$ as Pr,bO as Q,bf as rr,c0 as Ia,bl as oe,bj as ja,c6 as Gl,bo as nn,br as Zr,am as Da,ax as Ba,bk as as,aw as pn,bz as ns,cb as Fn,c5 as Mn,aC as Ir,cd as vo,bv as Kl}from"./3SdAC2_C.js";import{i as O}from"./DynUeYUu.js";import{g as kr,e as sa,p as ms,i as Ha,I as Zl,h as eo,X as pi,o as Ql}from"./CnFZbWXv.js";import{n as Kt,l as On,c as Xa,g as rn,s as ks,k as ss,S as Yl}from"./Bx1P9uW7.js";import{s as J,f as Fe,g as hn,c as It,e as Qt,b as _n,p as Xl,S as Jl,C as ed}from"./B26ZHg3s.js";import{b as ea}from"./Dn334wJv.js";import{f as st,ae as to,a_ as td}from"./D9R5fzn8.js";import{J as rd,O as ad,Q as Is}from"./CT8vPg_p.js";import"./B3T1oiJl.js";import"./Bz80vYvX.js";import"./BS9WBIBb.js";import{t as Ma,k as vi}from"./CGmYraIa.js";import{F as Bt,a4 as zs,bg as ka,cK as ps,au as hi,aZ as _i,aK as nd,c9 as sd,a6 as os,aN as od,cN as id,cM as ld,a3 as vs,aC as is,aw as hs,I as ho,aj as dd,bu as cd,aS as ud,aX as fd,bJ as gd,ao as md,bk as bi,cC as pd,aP as _o,c0 as Ss,aI as Hn,cW as vd,cb as hd,bn as _d,b as bd,cp as yd,ag as wd,ba as Ts,cr as wn,cF as xd,az as kd,c6 as Id,d3 as Sd}from"./COofQgO0.js";import{C as yi,A as Td,o as Cd}from"./aWBSU8IQ.js";import{b as Cs,V as bo}from"./ClaP_sir.js";import{A as wi}from"./Bk1TahM2.js";import{bZ as xi,aj as Md,j as Kn,a4 as Ws,al as ls,E as Ad,au as Zn,aP as Pd,aS as yo}from"./B4kHSLJr.js";import{t as an,o as Rd}from"./DAsc1V4f.js";import{ch as Qn,aO as qn,d3 as ki,d5 as Va,c6 as _s,q as Nd,cY as Ii,d2 as bs,d1 as Si,c$ as Ti,n as Ca,al as Ed,am as $d,aJ as Ld,z as Od,V as qd,a3 as wo,D as Ci,e5 as Dd,aF as Bd,ak as Fd,r as zd,C as Ms,ag as Wd,U as xn,e3 as Hd,ab as Ud,k as xo,u as jd,Z as Vd,v as Gd,i as Kd,g as As,f as ko,a0 as Zd,$ as Qd,a9 as Yd,x as Mi,y as Ai,l as Pi,j as Xd,s as Jd,a as ec,d6 as tc,ae as rc,e4 as ac,L as nc,F as sc,a2 as Io,bq as oc,av as ic}from"./iQDlfKDR.js";import{JH as mt,p0 as lc,tR as Yn,nR as So,vK as Ri,vM as Ni,s2 as dc,yJ as ds,v1 as Ei,nM as $i,br as En,nZ as cc,n_ as uc,yK as fc,qA as gc,tl as mc,vD as Li,nL as pc,mP as vc,m as hc,zk as _c,zh as bc,zj as yc}from"./CiKoEJ2m.js";import{a3 as wc,y as Ps,a1 as xc,O as Rs,W as kc,$ as Ic,k as Sc,p as kn,P as un,q as Tc,G as Cc,v as Mc,t as Ac,M as Ns,K as Pc,z as Rc,L as Nc,_ as An,U as Un,N as To,n as Co,E as Ec,c as Es,F as Mo,B as $c,w as Ao,J as Pn,Q as Lc,H as Oc,j as qc,R as Dc,T as Bc,A as Fc,g as zc,b as Wc,D as Hc,f as Uc,e as jc,a as Vc,C as Gc,i as Kc,d as Hs,V as Oi,a4 as Zc,u as Qc,l as Yc}from"./BdCPH0Ry.js";import{i as Xc,e as Jc}from"./QzxpbvSo.js";import{g as $s}from"./B5aYN90J.js";import{M as In,C as Rn}from"./BZ2BunMM.js";import{C as Po}from"./CAGrRNbp.js";import"./BkoVJN8J.js";import{P as eu}from"./C_8_aEto.js";import"./DoB-G8kB.js";import{c as qi}from"./ChTqQfQN.js";import{S as tu}from"./Bnz_gGcf.js";import{D as Ro,M as ru}from"./DPZ2um_T.js";import{b as au,s as en,c as cs}from"./B55WAZno.js";import{O as Xn,y as Ls,E as Os,B as qs,N as nu,m as su,l as ou,k as iu,d as Dn,C as No,f as lu,e as du,g as cu}from"./Ct3K7T3j.js";import{a as Di,s as Eo}from"./BsieX9dN.js";import{f as uu}from"./BdWqymET.js";import{c as na}from"./CDVPwJHE.js";import{a as fu,k as Bi,h as ro,q as Fi,l as wr}from"./DMEIbJII.js";import{P as gu}from"./CTgYTdXw.js";import{r as Ds,q as Bs,B as $o,i as mu}from"./DQMrEH0w.js";import{R as zi,C as ys,m as pu,h as vu,g as hu,i as Lo,P as _u}from"./C3jMXj_V.js";import"./BFfRQORP.js";import{c as bu,s as yu}from"./f0YGFw5j.js";import{h as gn}from"./CrbOuYLj.js";import{b as wu,a as Wi}from"./D-wrxbVY.js";import{P as Hi}from"./CLvqghA8.js";import{B as xu}from"./ChYLETZB.js";import{o as Ui,r as ku,e as Iu}from"./TU7ngkX4.js";import{o as ji}from"./DQbu7pou.js";import{A as Jn,b as Vi}from"./By2YlE-l.js";import{g as ao}from"./BGeImWEk.js";import{a as Su,M as Tu}from"./BpezAJRw.js";import{a as Gi}from"./DSZbBNDD.js";import{E as Cu,n as Mu}from"./CVtLV3_x.js";import{t as Tr}from"./C-BsEdGZ.js";import{c as Sn}from"./BZ27qIg1.js";import{A as Au}from"./Dd_KPYBw.js";import{f as Pu,d as Ru}from"./BvKMYZXt.js";import{ad as Nu,P as Eu,Z as $u,L as Oo,Y as Lu,w as Ou,a0 as Ki,$ as Zi}from"./COpm3Tww.js";import{a as qu}from"./CC7to1B5.js";import{k as Du}from"./DFKhOU69.js";import{S as Bu}from"./Xgzr3BTD.js";import{u as Fu,a as zu,c as qo,S as Wu}from"./D9tVylVS.js";import{T as us}from"./CV17KbhT.js";import"./BTvJ4T_4.js";import{g as Hu,a as Uu}from"./DcraaizU.js";import{I as ju,R as Vu,q as Gu}from"./CM8uib8e.js";import{b as Qi}from"./C22cBcHz.js";import{b as Do}from"./goTpbPhD.js";import{ah as Ua,n as Ku}from"./JvFe2B29.js";import{b as Zu}from"./avlg638g.js";import{r as Bo}from"./DwJc_V5I.js";function Qu(r){if(!r||typeof r!="object")return null;const t=r;if(t.type!=="script_monitor_wake"||t.source!=="system")return null;const{scriptName:a,scriptId:s,runId:o,monitorId:i,workspaceId:l,reason:u}=t;if(typeof a!="string"||typeof s!="string"||!s||typeof o!="string"||!o||typeof i!="string"||!i||typeof l!="string"||!l||u!=="finished"&&u!=="ttl-expired"&&u!=="output-match"&&u!=="line-count")return null;const h=t.trigger;return{scriptName:a,scriptId:s,runId:o,monitorId:i,workspaceId:l,reason:u,...u==="output-match"&&typeof h?.matchedLine=="string"?{matchedLine:h.matchedLine}:{}}}function Yu(r){return r?.type==="script_monitor_wake"&&!("remoteAgentId"in r)}function Xu(r,t,a,s=!1){if(!r||!t)return{edit:!1,remove:!1,sendNow:!1};const o=r.messageMetadata?.fromPrincipalId??r.author?.principalId,i=Nu(r)&&r.author?.principalId!==null&&o===t;return{edit:i,remove:i||t===a||s,sendNow:(i||s)&&!Yi(r)}}function Tn(r,t){if(t)return r.find(a=>a.editing&&a.editingMessageId?a.editingMessageId===t:a.id===t)}function Yi(r){return Yu(r.messageMetadata)&&typeof r.messageMetadata?.monitorId=="string"}function Fo(r,t=Date.now()){const a=r.messageMetadata,s=a?.fromPrincipalId,o=a&&Object.hasOwn(a,"humanAuthor")&&!(typeof s=="string"&&s.length>0),i=r.holdKind!==void 0&&Date.parse(r.holdUntil??"")>t;return!r.editing&&!i&&!o&&!Yi(r)}const Cb="pl-3.5! pr-2!";var Ju=I('<span class="tile-remove-slot svelte-d8pwpf"><!></span>'),zo=I('<span class="attachment-status svelte-d8pwpf"> </span>'),ef=I('<div class="file-image tile svelte-d8pwpf" data-kind="file"><!> <!> <div class="tile-actions svelte-d8pwpf"><!> <!></div></div>'),tf=I("<!><span> </span>",1),rf=I('<img alt="" draggable="false"/>'),af=I('<span class="summary svelte-d8pwpf" data-clip-summary=""> </span>'),nf=I('<span class="clip svelte-d8pwpf"><span class="record-dot svelte-d8pwpf" aria-hidden="true"></span><span class="duration svelte-d8pwpf"> </span><!></span>'),sf=I('<div class="tile svelte-d8pwpf"><!> <!> <div class="tile-actions svelte-d8pwpf"><!> <!></div></div>'),of=I('<div class="attachment-row svelte-d8pwpf" role="group" data-dock-media-attachments=""></div>'),lf=I("<!> <!> <!>",1),df=I('<img draggable="false" class="svelte-d8pwpf"/>'),cf=I('<video controls="" playsinline="" class="svelte-d8pwpf"></video>',2),uf=I('<div class="media-viewer svelte-d8pwpf"><!></div>'),ff=I("<!> <!>",1);function gf(r,t){if(new.target)return pt({component:gf,...r});_t(t,!0);const a=(T,me=rr,le=rr)=>{var N=Ju(),ve=V(N);st(ve,{variant:"secondary",size:"icon-sm",class:"tile-action tile-remove",get disabled(){return i()},get"aria-label"(){return le()},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return le()},onclick:()=>z(me()),children:(Le,Ae)=>{Cs(Le,{glyph:"x"})},$$slots:{default:!0}}),F(N),c(T,N)};let s=g(t,"items",7),o=g(t,"labels",7),i=g(t,"disabled",7,!1),l=g(t,"onMarkUp",7),u=g(t,"onEdit",7),h=g(t,"onRemove",7),v=g(t,"onRetry",7),x=g(t,"onCopy",7),M=g(t,"onMenu",7);const B=T=>T.owner==="attachment"?2:{image:0,clip:1,file:2}[T.kind],U=n(()=>[...s()].sort((T,me)=>B(T)-B(me)));let w=ue(null),C=ue(!1),re=ue(null),G=null;const S=n(()=>s().find(T=>T.id===e(re)));Yt(()=>{(!e(S)||e(S).kind==="image"&&!j(e(S)))&&D(C,!1)});function j(T){return T.kind==="image"&&T.status!=="placing"&&T.status!=="failed"&&T.url.trim().length>0}function L(T){return T.kind==="image"?o().image(T.markCount):T.kind==="clip"?T.summary?`${o().clip(T.duration)} ${T.summary}`:o().clip(T.duration):T.name}function ne(T,me){if(!(i()||T.kind==="file"||T.kind==="image"&&!j(T)||T.kind==="clip"&&(!T.url||T.recording))){if((T.kind==="clip"||T.kind==="image")&&u()){u()(T.id);return}G=me,D(re,T.id,!0),D(C,!0)}}async function z(T){i()||(e(re)===T&&D(C,!1),h()(T),await Ia(),(!document.activeElement||document.activeElement===document.body)&&e(w)?.querySelector("button:not(:disabled)")?.focus())}function q(T){const me=s().find(le=>le.id===T);i()||!me||!j(me)||(D(C,!1),u()?u()(T):l()(T))}function ee(T,me){T.key!=="Delete"||i()||(T.preventDefault(),T.stopPropagation(),z(me))}function R(T){return T.status==="placing"||T.status==="failed"?!1:T.kind==="image"?!!T.file||j(T):T.kind==="clip"&&!T.recording&&!!T.url}function Y(T,me){const le=rd()?T.metaKey:T.ctrlKey,N=T.key.toLowerCase();if(le&&!T.shiftKey&&!T.altKey&&(N==="c"||N==="x")){if(!x()||!R(me)||(T.preventDefault(),T.stopPropagation(),N==="x"&&i()))return;x()(me.id,N==="x");return}ee(T,me.id)}function te(T,me){!M()||!R(me)||(T.preventDefault(),M()(me.id))}var _e={get items(){return s()},set items(T){s(T),m()},get labels(){return o()},set labels(T){o(T),m()},get disabled(){return i()},set disabled(T=!1){i(T),m()},get onMarkUp(){return l()},set onMarkUp(T){l(T),m()},get onEdit(){return u()},set onEdit(T){u(T),m()},get onRemove(){return h()},set onRemove(T){h(T),m()},get onRetry(){return v()},set onRetry(T){v(T),m()},get onCopy(){return x()},set onCopy(T){x(T),m()},get onMenu(){return M()},set onMenu(T){M(T),m()},$set:vt,$on:(T,me)=>ht(t,T,me)},de=ff(),ge=fe(de);{var Pe=T=>{var me=of();kr(me,21,()=>e(U),le=>le.id,(le,N)=>{var ve=St(),Le=fe(ve);{var Ae=xe=>{var P=ef(),X=V(P);{let W=n(()=>i()||e(N).status==="placing");wi(X,{get id(){return e(N).id},get name(){return e(N).file.name},get type(){return e(N).file.imageMimeType},get imageData(){return e(N).file.imageData},get imageMimeType(){return e(N).file.imageMimeType},variant:"thumbnail",thumbnailClass:"size-full",class:"size-full",get disabled(){return e(W)},get placementStatus(){return e(N).status},get placementError(){return e(N).error}})}var ae=A(X,2);{var we=W=>{var be=zo(),Re=oe(be,!0);$(()=>{J(be,"data-failed",e(N).status==="failed"||void 0),J(be,"role",e(N).status==="failed"?"alert":"status"),J(be,"title",e(N).error),Q(Re,e(N).status==="failed"?e(N).error??o().attachmentFailed:o().attachmentPending)}),c(W,be)};O(ae,W=>{e(N).status&&W(we)})}var _=A(ae,2),Se=V(_);{var Ce=W=>{st(W,{variant:"primary",size:"icon-sm",class:"tile-action",get disabled(){return i()},get"aria-label"(){return o().retry},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return o().retry},onclick:()=>v()?.(e(N).id),children:(be,Re)=>{Bt(be,{get icon(){return zs},size:16})},$$slots:{default:!0}})};O(Se,W=>{e(N).status==="failed"&&v()&&W(Ce)})}var E=A(Se,2);{let W=n(()=>d.chat_attachmentPreview_remove_ariaLabel({name:e(N).file.name}));a(E,()=>e(N).id,()=>e(W))}F(_),F(P),$(()=>J(P,"data-attachment-id",e(N).id)),xr("keydown",P,W=>Y(W,e(N))),xr("contextmenu",P,W=>te(W,e(N))),Kt(1,P,()=>On,()=>({tier:"fast",y:3,scale:.98})),Kt(2,P,()=>Xa,()=>({tier:"fast"})),c(xe,P)},Ee=xe=>{const P=n(()=>e(N).kind==="image"&&!j(e(N))&&e(N).status!=="failed");var X=sf(),ae=V(X);{var we=ke=>{st(ke,{type:"button",variant:"ghost",wrapContent:!1,class:"open-tile file",get"aria-label"(){return e(N).name},get disabled(){return i()},onkeydown:$e=>ee($e,e(N).id),children:($e,Oe)=>{var Ue=tf(),se=fe(Ue);Bt(se,{get icon(){return ka},size:20});var Ge=A(se),yt=oe(Ge,!0);$(()=>Q(yt,e(N).name)),c($e,Ue)},$$slots:{default:!0}})},_=ke=>{{let $e=n(()=>L(e(N))),Oe=n(()=>i()||e(N).kind==="clip"&&(e(N).recording||!e(N).url));st(ke,{type:"button",variant:"ghost",wrapContent:!1,class:"open-tile",get"aria-label"(){return e($e)},get disabled(){return e(Oe)},onkeydown:Ue=>Y(Ue,e(N)),onclick:Ue=>{Ue.currentTarget instanceof HTMLElement&&ne(e(N),Ue.currentTarget)},children:(Ue,se)=>{var Ge=St(),yt=fe(Ge);{var Ft=et=>{var Ke=rf();$(()=>J(Ke,"src",e(N).url)),c(et,Ke)},er=et=>{var Ke=nf(),$t=A(V(Ke)),Tt=oe($t,!0),ut=A($t);{var ze=K=>{var y=af(),pe=oe(y,!0);$(()=>Q(pe,e(N).summary)),c(K,y)};O(ut,K=>{e(N).summary&&K(ze)})}F(Ke),$(()=>Q(Tt,e(N).duration)),c(et,Ke)};O(yt,et=>{e(N).kind==="image"?et(Ft):et(er,-1)})}c(Ue,Ge)},$$slots:{default:!0}})}},Se=n(()=>e(N).kind!=="image"||j(e(N)));O(ae,ke=>{e(N).kind==="file"?ke(we):e(Se)&&ke(_,1)})}var Ce=A(ae,2);{var E=ke=>{var $e=zo(),Oe=oe($e,!0);$(()=>{J($e,"data-failed",e(N).status==="failed"||void 0),J($e,"role",e(N).status==="failed"?"alert":"status"),J($e,"title",e(N).error),Q(Oe,e(N).status==="failed"?e(N).error??o().attachmentFailed:o().attachmentPending)}),c(ke,$e)};O(Ce,ke=>{(e(N).status||e(P))&&ke(E)})}var W=A(Ce,2),be=V(W);{var Re=ke=>{st(ke,{variant:"primary",size:"icon-sm",class:"tile-action",get disabled(){return i()},get"aria-label"(){return o().retry},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return o().retry},onclick:()=>v()?.(e(N).id),children:($e,Oe)=>{Bt($e,{get icon(){return zs},size:16})},$$slots:{default:!0}})},Ve=ke=>{{let $e=n(()=>u()?o().edit:o().markUp),Oe=n(()=>u()?o().edit:o().markUp);st(ke,{variant:"primary",size:"icon-sm",class:"tile-action",get disabled(){return i()},get"aria-label"(){return e($e)},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return e(Oe)},onclick:()=>q(e(N).id),children:(Ue,se)=>{Cs(Ue,{glyph:"pencil"})},$$slots:{default:!0}})}},De=n(()=>j(e(N))),Et=ke=>{{let $e=n(()=>u()?o().edit:o().play),Oe=n(()=>u()?o().edit:o().play);st(ke,{variant:"primary",size:"icon-sm",class:"tile-action",get disabled(){return i()},get"aria-label"(){return e($e)},tooltipContentClass:"dock-chrome-tooltip",get tooltip(){return e(Oe)},onclick:Ue=>{Ue.currentTarget instanceof HTMLElement&&ne(e(N),Ue.currentTarget)},children:(Ue,se)=>{{let Ge=n(()=>u()?"pencil":"play");Cs(Ue,{get glyph(){return e(Ge)}})}},$$slots:{default:!0}})}};O(be,ke=>{e(N).status==="failed"&&v()?ke(Re):e(De)?ke(Ve,1):e(N).kind==="clip"&&!e(N).recording&&e(N).url&&ke(Et,2)})}var ye=A(be,2);a(ye,()=>e(N).id,()=>o().remove),F(W),F(X),$(()=>{J(X,"data-kind",e(N).kind),J(X,"data-attachment-id",e(N).id),J(X,"aria-busy",e(P)||void 0)}),xr("contextmenu",X,ke=>te(ke,e(N))),Kt(1,X,()=>On,()=>({tier:"fast",y:3,scale:.98})),Kt(2,X,()=>Xa,()=>({tier:"fast"})),c(xe,X)};O(Le,xe=>{e(N).kind==="image"&&e(N).file?xe(Ae):xe(Ee,-1)})}c(le,ve)}),F(me),ea(me,le=>D(w,le),()=>e(w)),$(()=>J(me,"aria-label",o().attachments)),c(T,me)};O(ge,T=>{e(U).length&&T(Pe)})}var Ie=A(ge,2);{const T=le=>{var N=St(),ve=fe(N);{var Le=Ae=>{var Ee=lf(),xe=fe(Ee);{var P=_=>{st(_,{variant:"primary",get disabled(){return i()},onclick:()=>e(S)&&q(e(S).id),children:(Se,Ce)=>{Cr();var E=Pr();$(()=>Q(E,o().markUp)),c(Se,E)},$$slots:{default:!0}})},X=n(()=>j(e(S)));O(xe,_=>{e(X)&&_(P)})}var ae=A(xe,2);st(ae,{variant:"secondary",get disabled(){return i()},onclick:()=>e(S)&&z(e(S).id),children:(_,Se)=>{Cr();var Ce=Pr();$(()=>Q(Ce,o().remove)),c(_,Ce)},$$slots:{default:!0}});var we=A(ae,2);st(we,{variant:"ghost-light",onclick:()=>{D(C,!1)},children:(_,Se)=>{Cr();var Ce=Pr();$(()=>Q(Ce,o().done)),c(_,Ce)},$$slots:{default:!0}}),c(Ae,Ee)};O(ve,Ae=>{e(S)&&e(S).kind!=="file"&&Ae(Le)})}c(le,N)};let me=n(()=>e(S)?L(e(S)):o().attachments);yi(Ie,{get title(){return e(me)},size:"wide",showCloseButton:!1,onCloseAutoFocus:le=>{le.preventDefault(),G?.isConnected?G.focus():e(w)?.querySelector("button:not(:disabled)")?.focus()},get open(){return e(C)},set open(le){D(C,le,!0)},footer:T,children:(le,N)=>{var ve=St(),Le=fe(ve);{var Ae=Ee=>{var xe=uf(),P=V(xe);{var X=_=>{var Se=df();$(Ce=>{J(Se,"src",e(S).url),J(Se,"alt",Ce)},[()=>L(e(S))]),c(_,Se)},ae=n(()=>e(S).kind==="image"&&j(e(S))),we=_=>{var Se=cf();$(Ce=>{J(Se,"src",e(S).url),J(Se,"aria-label",Ce)},[()=>L(e(S))]),c(_,Se)};O(P,_=>{e(ae)?_(X):e(S).kind==="clip"&&e(S).url&&_(we,1)})}F(xe),c(Ee,xe)};O(Le,Ee=>{e(S)&&e(S).kind!=="file"&&Ee(Ae)})}c(le,ve)},$$slots:{footer:!0,default:!0}})}return c(r,de),bt(_e)}Ga(["keydown","contextmenu"]);var mf=I("<!> ",1),pf=I('<div class="flex flex-col gap-2 px-4 py-3 bg-muted/30 border border-border rounded-lg my-4"><div class="flex items-center justify-between gap-2"><div class="flex items-center gap-2"><div class="shrink-0 text-subtle"><!></div> <div class="font-medium text-sm"> </div></div> <div class="flex items-center gap-1"><!> <!></div></div> <div class="text-xs text-subtle"> </div> <pre class="text-xs bg-background/50 rounded p-2 overflow-x-auto max-h-40 overflow-y-auto font-mono"> </pre></div>');function Xi(r,t){if(new.target)return pt({component:Xi,...r});_t(t,!0);let a=g(t,"name",7),s=g(t,"description",7),o=g(t,"content",7),i=g(t,"onUseScript",7),l=ue(!1);function u(){navigator.clipboard.writeText(o()),D(l,!0),setTimeout(()=>{D(l,!1)},2e3)}function h(){i()?.({name:a(),description:s(),content:o()})}var v={get name(){return a()},set name(R){a(R),m()},get description(){return s()},set description(R){s(R),m()},get content(){return o()},set content(R){o(R),m()},get onUseScript(){return i()},set onUseScript(R){i(R),m()},$set:vt,$on:(R,Y)=>ht(t,R,Y)},x=pf(),M=V(x),B=V(M),U=V(B),w=V(U);Bt(w,{get icon(){return ps},size:"sm"}),F(U);var C=A(U,2),re=oe(C,!0);F(B);var G=A(B,2),S=V(G);st(S,{variant:"ghost-light",size:"sm",onclick:u,class:"h-7 px-2",children:(R,Y)=>{var te=mf(),_e=fe(te);{let ge=n(()=>e(l)?hi:_i);Bt(_e,{get icon(){return e(ge)},class:"mr-1"})}var de=A(_e);$(ge=>Q(de,` ${ge??""}`),[()=>e(l)?d.chat_shared_copied_label():d.chat_shared_copy_label()]),c(R,te)},$$slots:{default:!0}});var j=A(S,2);{var L=R=>{st(R,{variant:"ghost-light",size:"sm",onclick:h,class:"h-7 px-2",children:(Y,te)=>{Cr();var _e=Pr();$(de=>Q(_e,de),[()=>d.chat_setupScriptCard_useScript_label()]),c(Y,_e)},$$slots:{default:!0}})};O(j,R=>{i()&&R(L)})}F(G),F(M);var ne=A(M,2),z=oe(ne,!0),q=A(ne,2),ee=oe(q,!0);return F(x),$(()=>{Q(re,a()),Q(z,s()),Q(ee,o())}),c(r,x),bt(v)}const yr={toolStart:/(?:\x1B\[\d+m)?🔧\s+(?:Tool call:\s+)?(.+?)(?:\x1B\[0m)?$/,toolDetail:/(?:[└├]─\s+(.+)$|^\s{3,}(.+)$)/,toolResult:/(?:\x1B\[\d+m)?📋\s+Tool result:\s+(.+?)(?:\x1B\[0m)?$/,toolSuccess:/[✓✔✅]\s+(.+)$/,toolError:/[❌✗❎]\s+(.+)$/,sessionInfo:/[Ss]ession:\s*([a-f0-9-]+)/,resumedSession:/📂?\s*Resumed session/i,assistantMarker:/🤖/,systemMarker:/💻/,userMarker:/👤/,thinkingMarker:/🤔\s*Thinking/i,waitingMarker:/^⏳\s+Running/i,indexingProgress:/^Indexing:\s*\[.*\]\s*\d+%/,agentDigest:/<agent_digest>([\s\S]*?)<\/agent_digest>/,setupScript:/<setup_script\s+name="([^"]+)"\s+description="([^"]+)">([\s\S]*?)<\/setup_script>/};class vf{constructor(){pa(this,"buffer","");pa(this,"currentToolName",null);pa(this,"currentToolId",null);pa(this,"lastToolId",null);pa(this,"currentToolParams",[]);pa(this,"currentToolResultContent",[]);pa(this,"inToolResult",!1);pa(this,"inCodeBlock",!1);pa(this,"codeBlockLanguage","");pa(this,"codeBlockContent","");pa(this,"characterBuffer","");pa(this,"inCharacterMode",!1);pa(this,"emittedToolIds",new Set)}parseChunk(t){if(this.isMarkerLine(t.trim())){const o=[];if(this.inToolResult&&this.currentToolResultContent.length>0){const u=this.currentToolResultContent.some(v=>v.startsWith("❌")||v.startsWith("Error:")),h=this.currentToolResultContent.map(v=>v.replace(/^❌\s*/,"").replace(/^Error:\s*/,"")).join(`
2
2
  `);o.push({type:"tool_result",content:h,metadata:{toolId:this.currentToolId,isError:u}}),this.lastToolId=this.currentToolId,this.currentToolId=null,this.inToolResult=!1,this.currentToolResultContent=[]}const i=t.indexOf("🤖"),l=t.substring(i+2);if(this.inCharacterMode=!0,this.characterBuffer="",l&&l.trim()&&l!==`
3
3
  `){const u=l.replace(/^\n/,"");u&&(this.characterBuffer=u)}return o}if(this.inCharacterMode){if(t.trim()===""&&this.characterBuffer==="")return[];if(t.includes(`
4
4
  `)&&this.characterBuffer.length>0){const o=t.substring(0,t.indexOf(`
@@ -1 +1 @@
1
- import{b as a,B as w,ay as x}from"./BgXuXJpo.js";var g=a((e,t,i,r)=>{e.attr("class",i);const{width:o,height:h,x:n,y:c}=u(e,t);w(e,h,o,r);const s=B(n,c,o,h,t);e.attr("viewBox",s),x.debug(`viewBox configured: ${s} with padding: ${t}`)},"setupViewPortForSVG"),u=a((e,t)=>{const i=e.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:i.width+t*2,height:i.height+t*2,x:i.x,y:i.y}},"calculateDimensionsWithPadding"),B=a((e,t,i,r,o)=>`${e-o} ${t-o} ${i} ${r}`,"createViewBox");export{g as s};
1
+ import{b as a,B as w,ay as x}from"./DPZ2um_T.js";var g=a((e,t,i,r)=>{e.attr("class",i);const{width:o,height:h,x:n,y:c}=u(e,t);w(e,h,o,r);const s=B(n,c,o,h,t);e.attr("viewBox",s),x.debug(`viewBox configured: ${s} with padding: ${t}`)},"setupViewPortForSVG"),u=a((e,t)=>{const i=e.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:i.width+t*2,height:i.height+t*2,x:i.x,y:i.y}},"calculateDimensionsWithPadding"),B=a((e,t,i,r,o)=>`${e-o} ${t-o} ${i} ${r}`,"createViewBox");export{g as s};
@@ -1 +1 @@
1
- import{t as fe,bo as m,bw as ue,b as pe,bm as y}from"./CLAmm_T1.js";import{bs as ge,a7 as X,ay as E,W as b,bn as ve,aA as _,a5 as V,aD as e,bS as j,bl as Z,b_ as P,bO as ee,bA as G,aB as z,bf as me,c9 as i}from"./3SdAC2_C.js";import{i as I}from"./BFgvMDua.js";import{g as be}from"./B1CKzIA2.js";import{f as N,s as u,g as O}from"./CcJmuwXr.js";import{F as _e,bu as he,bt as xe}from"./DPttSllj.js";import{f as ye,ae as ke}from"./nxtepGjE.js";import"./TB9r2XJy.js";import{P as Se}from"./TyAuxp07.js";import{l as H}from"./Cu5e4npY.js";import{a as te,p as we,b as Pe,d as ze}from"./Cm0Qloca.js";var $e=z('<span aria-hidden="true"></span>'),Ie=z('<span class="absolute -right-0.5 -bottom-0.5 inline-flex items-center justify-center rounded-full bg-background text-foreground" aria-hidden="true"><!></span>'),Me=z('<span><span data-presence-avatar-tile=""><!></span> <!> <!></span>'),Ae=z('<!> <span class="sr-only"> </span>',1),Ce=z('<span class="inline-flex shrink-0 items-center justify-center rounded-full border border-background bg-muted px-1 font-medium leading-none text-muted-foreground"> </span>'),Le=z('<span role="group" data-presence-avatar-stack=""><!> <!></span>');function Ve(J,f){if(new.target)return fe({component:Ve,...J});ge(f,!0);const R=(t,a=me)=>{const k=i(()=>ze(a())),L=i(()=>a().online===!1);var d=Me();let o;var r=V(d);let v;var $=V(r);{let n=i(()=>Pe(a()));Se($,{fill:!0,get avatarUrl(){return a().avatarUrl},get label(){return e(n)}})}G(r);var S=j(r,2);{var Y=n=>{var s=$e();P(()=>{N(s,1,`absolute -right-0.5 -top-0.5 h-1.5 w-1.5 rounded-full border border-background ${a().online?"bg-success":"bg-muted-foreground"}`),u(s,"data-presence-status",a().online?"online":"offline")}),b(n,s)};I(S,n=>{l()==="stack"&&a().hostRole&&a().online!==void 0&&n(Y)})}var q=j(S,2);{var c=n=>{var s=Ie();let h;var w=V(s);{let x=i(()=>a().identity.provider==="gitlab"?he:xe);_e(w,{get icon(){return e(x)}})}G(s),P(x=>{u(s,"data-presence-identity-provider",a().identity.provider),u(s,"data-presence-identity-host",a().identity.host),h=O(s,"",h,{width:`${e(D)??""}px`,height:`${e(D)??""}px`,"font-size":x})},[()=>`${Math.round(e(D)*.8)}px`]),b(n,s)};I(q,n=>{l()==="stack"&&a().identity&&n(c)})}G(d),P(n=>{N(d,1,`relative inline-flex shrink-0 rounded-full border ${l()==="tile"?"border-border":`border-background ${e(k)?ne[e(k)]:""}`}`),u(d,"data-presence-avatar",a().principalId),u(d,"data-presence-ring",l()==="stack"?e(k)??void 0:void 0),u(d,"data-presence-offline",e(L)||void 0),u(d,"data-presence-self",a().self||void 0),o=O(d,"",o,{width:`${g()??""}px`,height:`${g()??""}px`}),N(r,1,`inline-flex h-full w-full items-center justify-center overflow-hidden rounded-full font-medium leading-none ${l()==="tile"?"bg-muted text-muted-foreground":"text-primary-foreground"} ${e(L)||l()==="tile"&&a().viewing===!1?"grayscale":""}`),v=O(r,"",v,{"font-size":e(K),"background-color":n})},[()=>l()==="stack"?we(a().principalId):void 0]),b(t,d)};let p=m(f,"people",7),M=m(f,"maxVisible",7,3),g=m(f,"size",7,16),l=m(f,"variant",7,"stack"),A=m(f,"side",7,"bottom"),B=m(f,"decorative",7,!1),C=m(f,"action",7),F=m(f,"class",7,"");const ae=i(()=>p().slice(0,M())),T=i(()=>Math.max(0,p().length-M())),U=i(()=>p().filter(t=>!t.self&&t.online!==!1).length),W=i(()=>p().filter(t=>!t.self&&t.online===!1).length),re=i(()=>e(U)===1?y.presence_avatarStack_people_one():e(U)>1?y.presence_avatarStack_people_many({count:H(e(U))}):e(W)===0?y.presence_avatarStack_onlyYou_label():e(W)===1?y.presence_avatarStack_offline_one():y.presence_avatarStack_offline_many({count:H(e(W))})),K=i(()=>`${Math.max(8,Math.round(g()*.55))}px`),D=i(()=>Math.max(9,Math.round(g()*.5))),ne={owner:"ring-2 ring-info",member:"ring-2 ring-success",guest:"ring-2 ring-warning-ink",offline:"ring-2 ring-muted-foreground/40"};var se={get people(){return p()},set people(t){p(t),_()},get maxVisible(){return M()},set maxVisible(t=3){M(t),_()},get size(){return g()},set size(t=16){g(t),_()},get variant(){return l()},set variant(t="stack"){l(t),_()},get side(){return A()},set side(t="bottom"){A(t),_()},get decorative(){return B()},set decorative(t=!1){B(t),_()},get action(){return C()},set action(t){C(t),_()},get class(){return F()},set class(t=""){F(t),_()},$set:ue,$on:(t,a)=>pe(f,t,a)},Q=X(),ie=E(Q);{var oe=t=>{var a=Le(),k=V(a);be(k,17,()=>e(ae),o=>o.principalId,(o,r)=>{var v=X(),$=E(v);{var S=c=>{const n=i(()=>{const{label:s,onSelect:h}=C()(e(r));return{personLabel:s,onSelect:h}});{let s=i(()=>e(n).onSelect?void 0:!0),h=i(()=>e(n).onSelect??void 0);ye(c,{variant:"plain",wrapContent:!1,class:"h-auto rounded-full p-0 aria-disabled:opacity-100",get tooltip(){return e(n).personLabel},get tooltipSide(){return A()},get"aria-label"(){return e(n).personLabel},get"aria-disabled"(){return e(s)},get onclick(){return e(h)},get"data-presence-person-button"(){return e(r).principalId},children:(w,x)=>{R(w,()=>e(r))},$$slots:{default:!0}})}},Y=c=>{R(c,()=>e(r))},q=c=>{{let n=i(()=>te(e(r)));ke(c,{get content(){return e(n)},get side(){return A()},children:(s,h)=>{var w=Ae(),x=E(w);R(x,()=>e(r));var le=j(x,2),de=Z(le,!0);P(ce=>ee(de,ce),[()=>te(e(r))]),b(s,w)},$$slots:{default:!0}})}};I($,c=>{C()?c(S):B()?c(Y,1):c(q,-1)})}b(o,v)});var L=j(k,2);{var d=o=>{var r=Ce();let v;var $=Z(r,!0);P(S=>{u(r,"data-presence-overflow",e(T)),v=O(r,"",v,{"min-width":`${g()??""}px`,height:`${g()??""}px`,"font-size":e(K)}),ee($,S)},[()=>y.presence_avatarStack_more_label({count:H(e(T))})]),b(o,r)};I(L,o=>{e(T)>0&&o(d)})}G(a),P(o=>{N(a,1,`inline-flex items-center ${l()==="tile"?"flex-wrap gap-1.25":"-space-x-1"} ${F()??""}`),u(a,"aria-label",o),u(a,"data-presence-count",p().length)},[()=>l()==="tile"?y.workspace_peopleTile_title():e(re)]),b(t,a)};I(ie,t=>{p().length>0&&t(oe)})}return b(J,Q),ve(se)}export{Ve as P};
1
+ import{t as fe,bo as m,bw as ue,b as pe,bm as y}from"./CtfEuoOH.js";import{bs as ge,a7 as X,ay as E,W as b,bn as ve,aA as _,a5 as V,aD as e,bS as j,bl as Z,b_ as P,bO as ee,bA as G,aB as z,bf as me,c9 as i}from"./3SdAC2_C.js";import{i as I}from"./DynUeYUu.js";import{g as be}from"./CnFZbWXv.js";import{f as N,s as u,g as O}from"./B26ZHg3s.js";import{F as _e,bu as he,bt as xe}from"./COofQgO0.js";import{f as ye,ae as ke}from"./D9R5fzn8.js";import"./CT8vPg_p.js";import{P as Se}from"./CLvqghA8.js";import{l as H}from"./DMEIbJII.js";import{a as te,p as we,b as Pe,d as ze}from"./ZX798KkU.js";var $e=z('<span aria-hidden="true"></span>'),Ie=z('<span class="absolute -right-0.5 -bottom-0.5 inline-flex items-center justify-center rounded-full bg-background text-foreground" aria-hidden="true"><!></span>'),Me=z('<span><span data-presence-avatar-tile=""><!></span> <!> <!></span>'),Ae=z('<!> <span class="sr-only"> </span>',1),Ce=z('<span class="inline-flex shrink-0 items-center justify-center rounded-full border border-background bg-muted px-1 font-medium leading-none text-muted-foreground"> </span>'),Le=z('<span role="group" data-presence-avatar-stack=""><!> <!></span>');function Ve(J,f){if(new.target)return fe({component:Ve,...J});ge(f,!0);const R=(t,a=me)=>{const k=i(()=>ze(a())),L=i(()=>a().online===!1);var d=Me();let o;var r=V(d);let v;var $=V(r);{let n=i(()=>Pe(a()));Se($,{fill:!0,get avatarUrl(){return a().avatarUrl},get label(){return e(n)}})}G(r);var S=j(r,2);{var Y=n=>{var s=$e();P(()=>{N(s,1,`absolute -right-0.5 -top-0.5 h-1.5 w-1.5 rounded-full border border-background ${a().online?"bg-success":"bg-muted-foreground"}`),u(s,"data-presence-status",a().online?"online":"offline")}),b(n,s)};I(S,n=>{l()==="stack"&&a().hostRole&&a().online!==void 0&&n(Y)})}var q=j(S,2);{var c=n=>{var s=Ie();let h;var w=V(s);{let x=i(()=>a().identity.provider==="gitlab"?he:xe);_e(w,{get icon(){return e(x)}})}G(s),P(x=>{u(s,"data-presence-identity-provider",a().identity.provider),u(s,"data-presence-identity-host",a().identity.host),h=O(s,"",h,{width:`${e(D)??""}px`,height:`${e(D)??""}px`,"font-size":x})},[()=>`${Math.round(e(D)*.8)}px`]),b(n,s)};I(q,n=>{l()==="stack"&&a().identity&&n(c)})}G(d),P(n=>{N(d,1,`relative inline-flex shrink-0 rounded-full border ${l()==="tile"?"border-border":`border-background ${e(k)?ne[e(k)]:""}`}`),u(d,"data-presence-avatar",a().principalId),u(d,"data-presence-ring",l()==="stack"?e(k)??void 0:void 0),u(d,"data-presence-offline",e(L)||void 0),u(d,"data-presence-self",a().self||void 0),o=O(d,"",o,{width:`${g()??""}px`,height:`${g()??""}px`}),N(r,1,`inline-flex h-full w-full items-center justify-center overflow-hidden rounded-full font-medium leading-none ${l()==="tile"?"bg-muted text-muted-foreground":"text-primary-foreground"} ${e(L)||l()==="tile"&&a().viewing===!1?"grayscale":""}`),v=O(r,"",v,{"font-size":e(K),"background-color":n})},[()=>l()==="stack"?we(a().principalId):void 0]),b(t,d)};let p=m(f,"people",7),M=m(f,"maxVisible",7,3),g=m(f,"size",7,16),l=m(f,"variant",7,"stack"),A=m(f,"side",7,"bottom"),B=m(f,"decorative",7,!1),C=m(f,"action",7),F=m(f,"class",7,"");const ae=i(()=>p().slice(0,M())),T=i(()=>Math.max(0,p().length-M())),U=i(()=>p().filter(t=>!t.self&&t.online!==!1).length),W=i(()=>p().filter(t=>!t.self&&t.online===!1).length),re=i(()=>e(U)===1?y.presence_avatarStack_people_one():e(U)>1?y.presence_avatarStack_people_many({count:H(e(U))}):e(W)===0?y.presence_avatarStack_onlyYou_label():e(W)===1?y.presence_avatarStack_offline_one():y.presence_avatarStack_offline_many({count:H(e(W))})),K=i(()=>`${Math.max(8,Math.round(g()*.55))}px`),D=i(()=>Math.max(9,Math.round(g()*.5))),ne={owner:"ring-2 ring-info",member:"ring-2 ring-success",guest:"ring-2 ring-warning-ink",offline:"ring-2 ring-muted-foreground/40"};var se={get people(){return p()},set people(t){p(t),_()},get maxVisible(){return M()},set maxVisible(t=3){M(t),_()},get size(){return g()},set size(t=16){g(t),_()},get variant(){return l()},set variant(t="stack"){l(t),_()},get side(){return A()},set side(t="bottom"){A(t),_()},get decorative(){return B()},set decorative(t=!1){B(t),_()},get action(){return C()},set action(t){C(t),_()},get class(){return F()},set class(t=""){F(t),_()},$set:ue,$on:(t,a)=>pe(f,t,a)},Q=X(),ie=E(Q);{var oe=t=>{var a=Le(),k=V(a);be(k,17,()=>e(ae),o=>o.principalId,(o,r)=>{var v=X(),$=E(v);{var S=c=>{const n=i(()=>{const{label:s,onSelect:h}=C()(e(r));return{personLabel:s,onSelect:h}});{let s=i(()=>e(n).onSelect?void 0:!0),h=i(()=>e(n).onSelect??void 0);ye(c,{variant:"plain",wrapContent:!1,class:"h-auto rounded-full p-0 aria-disabled:opacity-100",get tooltip(){return e(n).personLabel},get tooltipSide(){return A()},get"aria-label"(){return e(n).personLabel},get"aria-disabled"(){return e(s)},get onclick(){return e(h)},get"data-presence-person-button"(){return e(r).principalId},children:(w,x)=>{R(w,()=>e(r))},$$slots:{default:!0}})}},Y=c=>{R(c,()=>e(r))},q=c=>{{let n=i(()=>te(e(r)));ke(c,{get content(){return e(n)},get side(){return A()},children:(s,h)=>{var w=Ae(),x=E(w);R(x,()=>e(r));var le=j(x,2),de=Z(le,!0);P(ce=>ee(de,ce),[()=>te(e(r))]),b(s,w)},$$slots:{default:!0}})}};I($,c=>{C()?c(S):B()?c(Y,1):c(q,-1)})}b(o,v)});var L=j(k,2);{var d=o=>{var r=Ce();let v;var $=Z(r,!0);P(S=>{u(r,"data-presence-overflow",e(T)),v=O(r,"",v,{"min-width":`${g()??""}px`,height:`${g()??""}px`,"font-size":e(K)}),ee($,S)},[()=>y.presence_avatarStack_more_label({count:H(e(T))})]),b(o,r)};I(L,o=>{e(T)>0&&o(d)})}G(a),P(o=>{N(a,1,`inline-flex items-center ${l()==="tile"?"flex-wrap gap-1.25":"-space-x-1"} ${F()??""}`),u(a,"aria-label",o),u(a,"data-presence-count",p().length)},[()=>l()==="tile"?y.workspace_peopleTile_title():e(re)]),b(t,a)};I(ie,t=>{p().length>0&&t(oe)})}return b(J,Q),ve(se)}export{Ve as P};
@@ -1 +1 @@
1
- import{t as ee,bo as i,bw as te,b as ae,br as qe,bs as xe,bq as He,bp as Ke,bm as N}from"./CLAmm_T1.js";import{bs as re,b_ as $,aD as t,W as h,bA as q,bn as se,c9 as v,aA as l,aB as z,bV as O,br as Ve,ca as Me,bH as T,a5 as Q,bl as Z,bS as M,bO as be,ay as B,a7 as ke,aw as ze,bz as Pe}from"./3SdAC2_C.js";import{f as W}from"./nxtepGjE.js";import{Y as Xe}from"./TB9r2XJy.js";import{F as I,cF as Ye,bF as Ae,d3 as Re,aC as Ge,cr as Je,bn as Qe,bi as Ze,bh as et,bg as tt}from"./DPttSllj.js";import{ay as at,aB as rt}from"./DQw0Iiac.js";import{f as st}from"./u4iPyMwH.js";import{g as nt,i as it,I as lt}from"./B1CKzIA2.js";import{s as E,g as ot,f as De}from"./CcJmuwXr.js";import{a as Te}from"./BVXKWrt4.js";import{i as S}from"./BFgvMDua.js";import{n as J,l as Ce,c as Le}from"./CfNIzRu8.js";import{m as ct}from"./Cu5e4npY.js";import{a as ut}from"./BRaBCoIn.js";import{al as mt,j as pe}from"./DBAONTYG.js";var dt=z('<span class="svelte-dywwvd"></span>'),vt=z('<span class="waveform svelte-dywwvd" aria-hidden="true" data-dictation-waveform=""></span>');function Ue(w,a){if(new.target)return ee({component:Ue,...w});re(a,!0);let g=i(a,"levels",7);const r=v(()=>{const s=g().slice(-Te).map(m=>Number.isFinite(m)?Math.min(1,Math.max(0,m)):0);return[...new Array(Te-s.length).fill(0),...s]});var d={get levels(){return g()},set levels(s){g(s),l()},$set:te,$on:(s,m)=>ae(a,s,m)},_=vt();return nt(_,21,()=>t(r),it,(s,m)=>{var c=dt();let x;$(()=>{E(c,"data-level",t(m)),x=ot(c,"",x,{height:`${2+t(m)*12}px`})}),h(s,c)}),q(_),h(w,_),se(d)}var gt=z('<span class="dictation-meter svelte-1oz1rct"><span class="elapsed svelte-1oz1rct" data-dictation-elapsed=""> </span> <!></span>');function Fe(w,a){if(new.target)return ee({component:Fe,...w});re(a,!0);let g=i(a,"levels",7),r=i(a,"startedAt",7,null),d=i(a,"elapsed",7),_=O(Ve(Date.now()));Me(()=>{if(!(d()!==void 0||r()===null))return T(_,Date.now(),!0),Xe.subscribe(new Date(r()),()=>T(_,Date.now(),!0),"second")});const s=v(()=>d()??st(r()===null?0:t(_)-r()));var m={get levels(){return g()},set levels(u){g(u),l()},get startedAt(){return r()},set startedAt(u=null){r(u),l()},get elapsed(){return d()},set elapsed(u){d(u),l()},$set:te,$on:(u,R)=>ae(a,u,R)},c=gt(),x=Q(c),P=Z(x,!0),C=M(x,2);return Ue(C,{get levels(){return g()}}),q(c),$(()=>be(P,t(s))),h(w,c),se(m)}var ft=new Set(["$$slots","$$events","$$legacy","class"]),pt=z("<!> <!>",1);function bt(w,a){if(new.target)return ee({component:bt,...w});re(a,!0);const g=()=>xe(c,"$levels$",d),r=()=>xe(x,"$startedAt$",d),[d,_]=He();let s=i(a,"class",7,""),m=Ke(a,ft);const c=at(),x=rt();var P={get class(){return s()},set class(u=""){s(u),l()},$set:te,$on:(u,R)=>ae(a,u,R)};{let u=v(()=>`dictation-stop-pill ${s()}`.trim());W(w,qe({variant:"ghost",size:"sm",get class(){return t(u)},"aria-pressed":"true"},()=>m,{children:(R,H)=>{var p=pt(),U=B(p);I(U,{get icon(){return Ye},size:14});var j=M(U,2);Fe(j,{get levels(){return g()},get startedAt(){return r()}}),h(R,p)},$$slots:{default:!0}}))}var C=se(P);return _(),C}var ht=z('<img class="w-full h-full object-cover"/>'),_t=z('<div class="flex size-full items-center justify-center bg-muted text-subtle"><!></div>'),yt=z("<div><!> <!></div> <!>",1),wt=z('<span class="tabular-nums opacity-70 shrink-0" data-testid="attachment-upload-progress"> </span>'),xt=z("<!> <!>",1),kt=z('<div class="w-4 h-4 rounded overflow-hidden shrink-0"><img class="w-full h-full object-cover"/></div>'),zt=z('<div><!> <span class="font-medium truncate max-w-30"> </span> <!> <!></div>');function Pt(w,a){if(new.target)return ee({component:Pt,...w});re(a,!0);let g=i(a,"id",7),r=i(a,"name",7),d=i(a,"type",7,""),_=i(a,"size",7),s=i(a,"file",7),m=i(a,"imageData",7),c=i(a,"imageMimeType",7),x=i(a,"imageUrl",7),P=i(a,"onRemove",7),C=i(a,"class",7,""),u=i(a,"variant",7,"chip"),R=i(a,"thumbnailClass",7,"w-16 h-16"),H=i(a,"disabled",7,!1),p=i(a,"placementStatus",7,void 0),U=i(a,"placementProgress",7,void 0),j=i(a,"placementError",7,void 0),K=i(a,"onRetry",7),V=O(null);const ne=v(()=>mt(c()||d()||s()?.type));let ie=O(null);const y=v(()=>t(ne)?m()&&c()?`data:${pe(c())};base64,${m()}`:x()??t(ie):null);Me(()=>{if(t(ne)&&!(m()&&c())&&s()){const e=URL.createObjectURL(s());return T(ie,e,!0),()=>URL.revokeObjectURL(e)}T(ie,null)});const Se=v(()=>{if(d()==="folder")return Qe;const e=pe(d()||c()||s()?.type);return e.startsWith("image")?Ae:e.includes("javascript")||e.includes("typescript")||e.includes("json")?Ze:e.includes("text")||e.includes("markdown")?et:tt}),le=v(()=>pe(d()||c()||s()?.type).startsWith("image")),Ie=v(()=>{if(p()!=="failed")return;const e=N.chat_attachmentPreview_placementFailed_tooltip({name:r()});return j()?`${e} — ${j()}`:e}),he=v(()=>{if(p()!=="placing"||U()===void 0)return;const e=Math.max(0,Math.min(1,U()));return ct(e,{style:"percent",maximumFractionDigits:0})});let oe=O(!1),ce=O(null);function _e(){u()==="thumbnail"&&t(le)&&t(y)&&T(oe,!0)}function Ee(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),_e())}function $e(e){e.stopPropagation(),P()?.(g())}var je={get id(){return g()},set id(e){g(e),l()},get name(){return r()},set name(e){r(e),l()},get type(){return d()},set type(e=""){d(e),l()},get size(){return _()},set size(e){_(e),l()},get file(){return s()},set file(e){s(e),l()},get imageData(){return m()},set imageData(e){m(e),l()},get imageMimeType(){return c()},set imageMimeType(e){c(e),l()},get imageUrl(){return x()},set imageUrl(e){x(e),l()},get onRemove(){return P()},set onRemove(e){P(e),l()},get class(){return C()},set class(e=""){C(e),l()},get variant(){return u()},set variant(e="chip"){u(e),l()},get thumbnailClass(){return R()},set thumbnailClass(e="w-16 h-16"){R(e),l()},get disabled(){return H()},set disabled(e=!1){H(e),l()},get placementStatus(){return p()},set placementStatus(e=void 0){p(e),l()},get placementProgress(){return U()},set placementProgress(e=void 0){U(e),l()},get placementError(){return j()},set placementError(e=void 0){j(e),l()},get onRetry(){return K()},set onRetry(e){K(e),l()},$set:te,$on:(e,b)=>ae(a,e,b)},ye=ke(),Ne=B(ye);{var Oe=e=>{var b=yt(),D=B(b),X=Q(D);{let A=v(()=>N.chat_attachmentPreview_viewFullSize_ariaLabel({name:r()})),F=v(()=>H()||!t(y));W(X,{variant:"plain",wrapContent:!1,type:"button",get class(){return`${R()??""} rounded-lg overflow-hidden cursor-pointer hover:opacity-90 transition-opacity`},onclick:_e,onkeydown:Ee,get"aria-label"(){return t(A)},get title(){return r()},get disabled(){return t(F)},get ref(){return t(ce)},set ref(L){T(ce,L,!0)},children:(L,ve)=>{var Y=ke(),ge=B(Y);{var n=o=>{var f=ht();$(()=>{E(f,"src",t(y)),E(f,"alt",r())}),ze("error",f,()=>T(V,t(y),!0)),Pe(f),h(o,f)},k=o=>{var f=_t(),G=Q(f);I(G,{get icon(){return Ae},size:"15"}),q(f),h(o,f)};S(ge,o=>{t(y)?o(n):o(k,-1)})}h(L,Y)},$$slots:{default:!0}})}var ue=M(X,2);{var me=A=>{{let F=v(()=>N.chat_attachmentPreview_remove_ariaLabel({name:r()}));W(A,{variant:"ghost",size:"icon-xs",class:"absolute top-0.5 right-0.5 opacity-0 group-hover:opacity-100 focus-visible:opacity-100 transition-opacity duration-spring-fast ease-spring-fast motion-reduce:transition-none bg-background/80 hover:bg-background shadow-sm",onclick:$e,get"aria-label"(){return t(F)},children:(L,ve)=>{I(L,{get icon(){return Re},size:"10"})},$$slots:{default:!0}})}};S(ue,A=>{P()&&A(me)})}q(D);var de=M(D,2);{let A=v(()=>t(y)??"");ut(de,{get imageUrl(){return t(A)},get imageName(){return r()},get openerElement(){return t(ce)},get open(){return t(oe)},set open(F){T(oe,F,!0)}})}$(()=>De(D,1,`relative group shrink-0 ${C()??""}`)),J(1,D,()=>Ce,()=>({tier:"moderate",y:0,scale:.9})),J(2,D,()=>Le,()=>({tier:"fast"})),h(e,b)},Be=e=>{var b=zt(),D=Q(b);{var X=n=>{var k=xt(),o=B(k);lt(o,{size:15,class:"opacity-50 shrink-0"});var f=M(o,2);{var G=fe=>{var we=wt(),We=Z(we,!0);$(()=>be(We,t(he))),h(fe,we)};S(f,fe=>{t(he)!==void 0&&fe(G)})}h(n,k)},ue=n=>{I(n,{get icon(){return Ge},size:"15",class:"shrink-0"})},me=n=>{var k=kt(),o=Z(k);$(()=>{E(o,"src",t(y)),E(o,"alt",r())}),ze("error",o,()=>T(V,t(y),!0)),Pe(o),h(n,k)},de=n=>{I(n,{get icon(){return t(Se)},size:"15",class:"opacity-30 shrink-0"})};S(D,n=>{p()==="placing"?n(X):p()==="failed"?n(ue,1):t(le)&&t(y)&&t(V)!==t(y)?n(me,2):n(de,-1)})}var A=M(D,2),F=Z(A,!0),L=M(A,2);{var ve=n=>{{let k=v(()=>N.chat_attachmentPreview_retryPlacement_ariaLabel({name:r()}));W(n,{variant:"ghost-light",size:"icon-xs",class:"shrink-0 -my-1",onclick:o=>{o.stopPropagation(),K()(g())},get"aria-label"(){return t(k)},"data-testid":"attachment-retry",children:(o,f)=>{I(o,{get icon(){return Je},size:"10"})},$$slots:{default:!0}})}};S(L,n=>{p()==="failed"&&K()&&n(ve)})}var Y=M(L,2);{var ge=n=>{{let k=v(()=>p()==="failed"?"":"opacity-0 group-hover:opacity-100 focus-visible:opacity-100"),o=v(()=>N.chat_attachmentPreview_removeAttachment_ariaLabel());W(n,{variant:"ghost-light",size:"icon-xs",get class(){return`shrink-0 ${t(k)??""} transition-opacity duration-spring-fast ease-spring-fast motion-reduce:transition-none -my-1 -mr-1`},onclick:()=>P()(g()),get"aria-label"(){return t(o)},children:(f,G)=>{I(f,{get icon(){return Re},size:"10"})},$$slots:{default:!0}})}};S(Y,n=>{P()&&n(ge)})}q(b),$(()=>{De(b,1,`flex items-center gap-1.5 px-2 py-0.5 rounded text-xs whitespace-nowrap group shrink-0 ${p()==="failed"?"bg-danger-background/10 text-danger border border-danger/40":"bg-muted/70 text-subtle"} ${C()??""}`),E(b,"data-placement-status",p()),E(b,"title",t(Ie)),be(F,r())}),J(1,b,()=>Ce,()=>({tier:"moderate",y:0,scale:.9})),J(2,b,()=>Le,()=>({tier:"fast"})),h(e,b)};S(Ne,e=>{u()==="thumbnail"&&t(le)&&t(ne)&&(!t(y)||t(V)!==t(y))?e(Oe):e(Be,-1)})}return h(w,ye),se(je)}export{Pt as A,Fe as D,bt as a};
1
+ import{t as ee,bo as i,bw as te,b as ae,br as qe,bs as xe,bq as He,bp as Ke,bm as N}from"./CtfEuoOH.js";import{bs as re,b_ as $,aD as t,W as h,bA as q,bn as se,c9 as v,aA as l,aB as z,bV as O,br as Ve,ca as Me,bH as T,a5 as Q,bl as Z,bS as M,bO as be,ay as B,a7 as ke,aw as ze,bz as Pe}from"./3SdAC2_C.js";import{f as W}from"./D9R5fzn8.js";import{Y as Xe}from"./CT8vPg_p.js";import{F as I,cF as Ye,bF as Ae,d3 as Re,aC as Ge,cr as Je,bn as Qe,bi as Ze,bh as et,bg as tt}from"./COofQgO0.js";import{ay as at,aB as rt}from"./JvFe2B29.js";import{f as st}from"./DXCHCOFX.js";import{g as nt,i as it,I as lt}from"./CnFZbWXv.js";import{s as E,g as ot,f as De}from"./B26ZHg3s.js";import{a as Te}from"./qhttc0fS.js";import{i as S}from"./DynUeYUu.js";import{n as J,l as Ce,c as Le}from"./Bx1P9uW7.js";import{m as ct}from"./DMEIbJII.js";import{a as ut}from"./D-wrxbVY.js";import{al as mt,j as pe}from"./B4kHSLJr.js";var dt=z('<span class="svelte-dywwvd"></span>'),vt=z('<span class="waveform svelte-dywwvd" aria-hidden="true" data-dictation-waveform=""></span>');function Ue(w,a){if(new.target)return ee({component:Ue,...w});re(a,!0);let g=i(a,"levels",7);const r=v(()=>{const s=g().slice(-Te).map(m=>Number.isFinite(m)?Math.min(1,Math.max(0,m)):0);return[...new Array(Te-s.length).fill(0),...s]});var d={get levels(){return g()},set levels(s){g(s),l()},$set:te,$on:(s,m)=>ae(a,s,m)},_=vt();return nt(_,21,()=>t(r),it,(s,m)=>{var c=dt();let x;$(()=>{E(c,"data-level",t(m)),x=ot(c,"",x,{height:`${2+t(m)*12}px`})}),h(s,c)}),q(_),h(w,_),se(d)}var gt=z('<span class="dictation-meter svelte-1oz1rct"><span class="elapsed svelte-1oz1rct" data-dictation-elapsed=""> </span> <!></span>');function Fe(w,a){if(new.target)return ee({component:Fe,...w});re(a,!0);let g=i(a,"levels",7),r=i(a,"startedAt",7,null),d=i(a,"elapsed",7),_=O(Ve(Date.now()));Me(()=>{if(!(d()!==void 0||r()===null))return T(_,Date.now(),!0),Xe.subscribe(new Date(r()),()=>T(_,Date.now(),!0),"second")});const s=v(()=>d()??st(r()===null?0:t(_)-r()));var m={get levels(){return g()},set levels(u){g(u),l()},get startedAt(){return r()},set startedAt(u=null){r(u),l()},get elapsed(){return d()},set elapsed(u){d(u),l()},$set:te,$on:(u,R)=>ae(a,u,R)},c=gt(),x=Q(c),P=Z(x,!0),C=M(x,2);return Ue(C,{get levels(){return g()}}),q(c),$(()=>be(P,t(s))),h(w,c),se(m)}var ft=new Set(["$$slots","$$events","$$legacy","class"]),pt=z("<!> <!>",1);function bt(w,a){if(new.target)return ee({component:bt,...w});re(a,!0);const g=()=>xe(c,"$levels$",d),r=()=>xe(x,"$startedAt$",d),[d,_]=He();let s=i(a,"class",7,""),m=Ke(a,ft);const c=at(),x=rt();var P={get class(){return s()},set class(u=""){s(u),l()},$set:te,$on:(u,R)=>ae(a,u,R)};{let u=v(()=>`dictation-stop-pill ${s()}`.trim());W(w,qe({variant:"ghost",size:"sm",get class(){return t(u)},"aria-pressed":"true"},()=>m,{children:(R,H)=>{var p=pt(),U=B(p);I(U,{get icon(){return Ye},size:14});var j=M(U,2);Fe(j,{get levels(){return g()},get startedAt(){return r()}}),h(R,p)},$$slots:{default:!0}}))}var C=se(P);return _(),C}var ht=z('<img class="w-full h-full object-cover"/>'),_t=z('<div class="flex size-full items-center justify-center bg-muted text-subtle"><!></div>'),yt=z("<div><!> <!></div> <!>",1),wt=z('<span class="tabular-nums opacity-70 shrink-0" data-testid="attachment-upload-progress"> </span>'),xt=z("<!> <!>",1),kt=z('<div class="w-4 h-4 rounded overflow-hidden shrink-0"><img class="w-full h-full object-cover"/></div>'),zt=z('<div><!> <span class="font-medium truncate max-w-30"> </span> <!> <!></div>');function Pt(w,a){if(new.target)return ee({component:Pt,...w});re(a,!0);let g=i(a,"id",7),r=i(a,"name",7),d=i(a,"type",7,""),_=i(a,"size",7),s=i(a,"file",7),m=i(a,"imageData",7),c=i(a,"imageMimeType",7),x=i(a,"imageUrl",7),P=i(a,"onRemove",7),C=i(a,"class",7,""),u=i(a,"variant",7,"chip"),R=i(a,"thumbnailClass",7,"w-16 h-16"),H=i(a,"disabled",7,!1),p=i(a,"placementStatus",7,void 0),U=i(a,"placementProgress",7,void 0),j=i(a,"placementError",7,void 0),K=i(a,"onRetry",7),V=O(null);const ne=v(()=>mt(c()||d()||s()?.type));let ie=O(null);const y=v(()=>t(ne)?m()&&c()?`data:${pe(c())};base64,${m()}`:x()??t(ie):null);Me(()=>{if(t(ne)&&!(m()&&c())&&s()){const e=URL.createObjectURL(s());return T(ie,e,!0),()=>URL.revokeObjectURL(e)}T(ie,null)});const Se=v(()=>{if(d()==="folder")return Qe;const e=pe(d()||c()||s()?.type);return e.startsWith("image")?Ae:e.includes("javascript")||e.includes("typescript")||e.includes("json")?Ze:e.includes("text")||e.includes("markdown")?et:tt}),le=v(()=>pe(d()||c()||s()?.type).startsWith("image")),Ie=v(()=>{if(p()!=="failed")return;const e=N.chat_attachmentPreview_placementFailed_tooltip({name:r()});return j()?`${e} — ${j()}`:e}),he=v(()=>{if(p()!=="placing"||U()===void 0)return;const e=Math.max(0,Math.min(1,U()));return ct(e,{style:"percent",maximumFractionDigits:0})});let oe=O(!1),ce=O(null);function _e(){u()==="thumbnail"&&t(le)&&t(y)&&T(oe,!0)}function Ee(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),_e())}function $e(e){e.stopPropagation(),P()?.(g())}var je={get id(){return g()},set id(e){g(e),l()},get name(){return r()},set name(e){r(e),l()},get type(){return d()},set type(e=""){d(e),l()},get size(){return _()},set size(e){_(e),l()},get file(){return s()},set file(e){s(e),l()},get imageData(){return m()},set imageData(e){m(e),l()},get imageMimeType(){return c()},set imageMimeType(e){c(e),l()},get imageUrl(){return x()},set imageUrl(e){x(e),l()},get onRemove(){return P()},set onRemove(e){P(e),l()},get class(){return C()},set class(e=""){C(e),l()},get variant(){return u()},set variant(e="chip"){u(e),l()},get thumbnailClass(){return R()},set thumbnailClass(e="w-16 h-16"){R(e),l()},get disabled(){return H()},set disabled(e=!1){H(e),l()},get placementStatus(){return p()},set placementStatus(e=void 0){p(e),l()},get placementProgress(){return U()},set placementProgress(e=void 0){U(e),l()},get placementError(){return j()},set placementError(e=void 0){j(e),l()},get onRetry(){return K()},set onRetry(e){K(e),l()},$set:te,$on:(e,b)=>ae(a,e,b)},ye=ke(),Ne=B(ye);{var Oe=e=>{var b=yt(),D=B(b),X=Q(D);{let A=v(()=>N.chat_attachmentPreview_viewFullSize_ariaLabel({name:r()})),F=v(()=>H()||!t(y));W(X,{variant:"plain",wrapContent:!1,type:"button",get class(){return`${R()??""} rounded-lg overflow-hidden cursor-pointer hover:opacity-90 transition-opacity`},onclick:_e,onkeydown:Ee,get"aria-label"(){return t(A)},get title(){return r()},get disabled(){return t(F)},get ref(){return t(ce)},set ref(L){T(ce,L,!0)},children:(L,ve)=>{var Y=ke(),ge=B(Y);{var n=o=>{var f=ht();$(()=>{E(f,"src",t(y)),E(f,"alt",r())}),ze("error",f,()=>T(V,t(y),!0)),Pe(f),h(o,f)},k=o=>{var f=_t(),G=Q(f);I(G,{get icon(){return Ae},size:"15"}),q(f),h(o,f)};S(ge,o=>{t(y)?o(n):o(k,-1)})}h(L,Y)},$$slots:{default:!0}})}var ue=M(X,2);{var me=A=>{{let F=v(()=>N.chat_attachmentPreview_remove_ariaLabel({name:r()}));W(A,{variant:"ghost",size:"icon-xs",class:"absolute top-0.5 right-0.5 opacity-0 group-hover:opacity-100 focus-visible:opacity-100 transition-opacity duration-spring-fast ease-spring-fast motion-reduce:transition-none bg-background/80 hover:bg-background shadow-sm",onclick:$e,get"aria-label"(){return t(F)},children:(L,ve)=>{I(L,{get icon(){return Re},size:"10"})},$$slots:{default:!0}})}};S(ue,A=>{P()&&A(me)})}q(D);var de=M(D,2);{let A=v(()=>t(y)??"");ut(de,{get imageUrl(){return t(A)},get imageName(){return r()},get openerElement(){return t(ce)},get open(){return t(oe)},set open(F){T(oe,F,!0)}})}$(()=>De(D,1,`relative group shrink-0 ${C()??""}`)),J(1,D,()=>Ce,()=>({tier:"moderate",y:0,scale:.9})),J(2,D,()=>Le,()=>({tier:"fast"})),h(e,b)},Be=e=>{var b=zt(),D=Q(b);{var X=n=>{var k=xt(),o=B(k);lt(o,{size:15,class:"opacity-50 shrink-0"});var f=M(o,2);{var G=fe=>{var we=wt(),We=Z(we,!0);$(()=>be(We,t(he))),h(fe,we)};S(f,fe=>{t(he)!==void 0&&fe(G)})}h(n,k)},ue=n=>{I(n,{get icon(){return Ge},size:"15",class:"shrink-0"})},me=n=>{var k=kt(),o=Z(k);$(()=>{E(o,"src",t(y)),E(o,"alt",r())}),ze("error",o,()=>T(V,t(y),!0)),Pe(o),h(n,k)},de=n=>{I(n,{get icon(){return t(Se)},size:"15",class:"opacity-30 shrink-0"})};S(D,n=>{p()==="placing"?n(X):p()==="failed"?n(ue,1):t(le)&&t(y)&&t(V)!==t(y)?n(me,2):n(de,-1)})}var A=M(D,2),F=Z(A,!0),L=M(A,2);{var ve=n=>{{let k=v(()=>N.chat_attachmentPreview_retryPlacement_ariaLabel({name:r()}));W(n,{variant:"ghost-light",size:"icon-xs",class:"shrink-0 -my-1",onclick:o=>{o.stopPropagation(),K()(g())},get"aria-label"(){return t(k)},"data-testid":"attachment-retry",children:(o,f)=>{I(o,{get icon(){return Je},size:"10"})},$$slots:{default:!0}})}};S(L,n=>{p()==="failed"&&K()&&n(ve)})}var Y=M(L,2);{var ge=n=>{{let k=v(()=>p()==="failed"?"":"opacity-0 group-hover:opacity-100 focus-visible:opacity-100"),o=v(()=>N.chat_attachmentPreview_removeAttachment_ariaLabel());W(n,{variant:"ghost-light",size:"icon-xs",get class(){return`shrink-0 ${t(k)??""} transition-opacity duration-spring-fast ease-spring-fast motion-reduce:transition-none -my-1 -mr-1`},onclick:()=>P()(g()),get"aria-label"(){return t(o)},children:(f,G)=>{I(f,{get icon(){return Re},size:"10"})},$$slots:{default:!0}})}};S(Y,n=>{P()&&n(ge)})}q(b),$(()=>{De(b,1,`flex items-center gap-1.5 px-2 py-0.5 rounded text-xs whitespace-nowrap group shrink-0 ${p()==="failed"?"bg-danger-background/10 text-danger border border-danger/40":"bg-muted/70 text-subtle"} ${C()??""}`),E(b,"data-placement-status",p()),E(b,"title",t(Ie)),be(F,r())}),J(1,b,()=>Ce,()=>({tier:"moderate",y:0,scale:.9})),J(2,b,()=>Le,()=>({tier:"fast"})),h(e,b)};S(Ne,e=>{u()==="thumbnail"&&t(le)&&t(ne)&&(!t(y)||t(V)!==t(y))?e(Oe):e(Be,-1)})}return h(w,ye),se(je)}export{Pt as A,Fe as D,bt as a};
@@ -1,3 +1,3 @@
1
- import{JH as n,mA as o,n_ as u,ia as W,nW as k,nP as P,o6 as b,ih as S,s3 as h,vY as y}from"./B9vHutcJ.js";function L(e,t){return t?JSON.stringify(["git-root",t,e]):e}const p=[];function v(e){return!!e&&e!=="new"&&!e.startsWith("optimistic-")&&e!=="undefined"}const j=n.createSelector((e,t)=>e.panelLayout.byWorkspaceId[t]??o),A=n.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??o).pendingPanelReveal??null),f={count:0,isOpen:!1,isActive:!1,isOpenElsewhere:!1};function R(e,t,a,s){if(s.workspaceId&&s.workspaceId!==a)return f;const c=s,r=e.filter(l=>(!l.workspaceId||l.workspaceId===a)&&y(l,c));if(r.length===0)return f;const d=!!t&&(!t.workspaceId||t.workspaceId===a)&&y(t,c);return{count:r.length,isOpen:!0,isActive:d,isOpenElsewhere:!d}}const E=n.createSelector(e=>e.panelLayout.byWorkspaceId),F=n.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??o).root),H=n.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??o).expandedPanelId),M=n.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??o).panels),q=n.createSelector((e,t,a)=>(e.panelLayout.byWorkspaceId[t]??o).panels[a]),x=n.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??o).focusedPanelId),$=n.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??o;return a.focusedPanelId?a.panels[a.focusedPanelId]:void 0});n.createSelector(e=>Object.fromEntries(Object.entries(e.panelLayout.byWorkspaceId).map(([t,a])=>{const s=a.focusedPanelId,c=s?a.panels[s]:void 0;return[t,{panelId:c?s:null,activeTabId:c?.activeTabId??null}]})));const B=n.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??o).restoreStatus),z=n.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??o;if(!a.focusedPanelId)return;const s=a.panels[a.focusedPanelId];if(!(!s||!s.activeTabId))return s.tabs.find(c=>c.id===s.activeTabId)}),D=n.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??o;for(let s=a.focusHistory.length-1;s>=0;s-=1){const c=a.focusHistory[s],r=a.panels[c.panelId]?.tabs.find(d=>d.id===c.tabId);if(r?.type==="agent")return r}}),J=n.createSelector((e,t,a)=>{const c=(e.panelLayout.byWorkspaceId[t]??o).panels[a];if(!(!c||!c.activeTabId))return c.tabs.find(r=>r.id===c.activeTabId)}),N=n.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??o;return Object.values(a.panels).flatMap(s=>s.tabs)}),V=n.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??o;return u(a.hiddenTabs??o.hiddenTabs)});function m(e){const t=[];for(const a of Object.values(e.panels))for(const s of a.tabs)s.type==="browser"&&t.push({tab:s,visibility:"visible",displayed:a.activeTabId===s.id});for(const a of u(e.hiddenTabs??o.hiddenTabs))a.type==="browser"&&t.push({tab:a,visibility:"hidden",displayed:!1});return t}const C=n.createSelector((e,t)=>{const a=e?.panelLayout?.byWorkspaceId[t]??o;return m(a).length>0}),K=n.createSelector(e=>Object.keys(e.panelLayout.byWorkspaceId).filter(t=>C.select(e,t)));n.createSelector(e=>Object.fromEntries(Object.entries(e.panelLayout.byWorkspaceId).map(([t,a])=>{const s=Object.values(a.panels).some(c=>c.tabs.length>0);return[t,s?W(a.root):0]})));const Y=n.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??o;return k(a.root,a.panels)});n.createSelector(e=>Object.fromEntries(Object.entries(e.panelLayout.byWorkspaceId).map(([t,a])=>[t,a.canvasWidth??P(a.root,a.panels,"content")])));const _=n.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??o).canvasWidth),G=n.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??o).canvasWidthSource),Q=n.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??o).columnCount);n.createSelector(e=>Object.fromEntries(Object.entries(e.panelLayout.byWorkspaceId).map(([t,a])=>[t,a.restoreStatus])));const U=n.createSelector((e,t,a=!1)=>{if(!v(t))return p;const s=e.panelLayout.byWorkspaceId[t],c=e.files.byWorkspaceId[t];if(!c)return p;if(!s)return a?[...c.files.ids].sort((l,i)=>l.localeCompare(i)):p;const r=new Set;for(const l of Object.values(s.panels))for(const i of l.tabs)i.type==="file"&&typeof i.filePath=="string"&&i.filePath.length>0&&r.add(L(i.filePath,typeof i.data?.gitRootId=="string"?i.data.gitRootId:void 0));const d=[];for(const l of c.files.ids)r.has(l)||d.push(l);return d.length===0?p:(d.sort((l,i)=>l.localeCompare(i)),d)}),X=n.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??o;return b(a.root)});function I(e){return b(e.root).flatMap(t=>{const a=e.panels[t];return a?[{panelId:t,panes:a.tabs,activePaneId:a.activeTabId,attentionPaneIds:a.attentionTabIds??[]}]:[]})}const Z=n.createSelector((e,t)=>I(e.panelLayout.byWorkspaceId[t]??o));n.createSelector((e,t,a)=>I(e.panelLayout.byWorkspaceId[t]??o).find(s=>s.panelId===a));function T(e){return b(e.root).flatMap(t=>{const a=e.panels[t];if(!a)return[];const c=a.tabs.find(r=>r.id===a.activeTabId)??a.tabs[0];return[{id:t,title:c?.title??"",type:c?.type}]})}n.createSelector((e,t)=>T(e.panelLayout.byWorkspaceId[t]??o));const w=n.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??o).recentlyClosed),g=n.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??o;return u(a.recentlyClosedColumns??S("historyId")).find(s=>h(a,s))??null}),ee=n.createSelector((e,t)=>{const a=w.select(e,t)[0]??null,s=g.select(e,t);return s&&(!a||s.closedAt>=a.closedAt)?{kind:"column",closedAt:s.closedAt}:a?{kind:"tab",closedAt:a.closedAt}:null}),te=n.createSelector(e=>Object.entries(e.panelLayout.byWorkspaceId).flatMap(([t,a])=>a.tabWindowFocusRequest?[`${t}\0${a.tabWindowFocusRequest.seq}\0${a.tabWindowFocusRequest.tabWindowId}`]:[]).join(`
1
+ import{JH as n,mA as o,n_ as u,ia as W,nW as k,nP as P,o6 as b,ih as S,s3 as h,vY as y}from"./CiKoEJ2m.js";function L(e,t){return t?JSON.stringify(["git-root",t,e]):e}const p=[];function v(e){return!!e&&e!=="new"&&!e.startsWith("optimistic-")&&e!=="undefined"}const j=n.createSelector((e,t)=>e.panelLayout.byWorkspaceId[t]??o),A=n.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??o).pendingPanelReveal??null),f={count:0,isOpen:!1,isActive:!1,isOpenElsewhere:!1};function R(e,t,a,s){if(s.workspaceId&&s.workspaceId!==a)return f;const c=s,r=e.filter(l=>(!l.workspaceId||l.workspaceId===a)&&y(l,c));if(r.length===0)return f;const d=!!t&&(!t.workspaceId||t.workspaceId===a)&&y(t,c);return{count:r.length,isOpen:!0,isActive:d,isOpenElsewhere:!d}}const E=n.createSelector(e=>e.panelLayout.byWorkspaceId),F=n.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??o).root),H=n.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??o).expandedPanelId),M=n.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??o).panels),q=n.createSelector((e,t,a)=>(e.panelLayout.byWorkspaceId[t]??o).panels[a]),x=n.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??o).focusedPanelId),$=n.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??o;return a.focusedPanelId?a.panels[a.focusedPanelId]:void 0});n.createSelector(e=>Object.fromEntries(Object.entries(e.panelLayout.byWorkspaceId).map(([t,a])=>{const s=a.focusedPanelId,c=s?a.panels[s]:void 0;return[t,{panelId:c?s:null,activeTabId:c?.activeTabId??null}]})));const B=n.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??o).restoreStatus),z=n.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??o;if(!a.focusedPanelId)return;const s=a.panels[a.focusedPanelId];if(!(!s||!s.activeTabId))return s.tabs.find(c=>c.id===s.activeTabId)}),D=n.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??o;for(let s=a.focusHistory.length-1;s>=0;s-=1){const c=a.focusHistory[s],r=a.panels[c.panelId]?.tabs.find(d=>d.id===c.tabId);if(r?.type==="agent")return r}}),J=n.createSelector((e,t,a)=>{const c=(e.panelLayout.byWorkspaceId[t]??o).panels[a];if(!(!c||!c.activeTabId))return c.tabs.find(r=>r.id===c.activeTabId)}),N=n.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??o;return Object.values(a.panels).flatMap(s=>s.tabs)}),V=n.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??o;return u(a.hiddenTabs??o.hiddenTabs)});function m(e){const t=[];for(const a of Object.values(e.panels))for(const s of a.tabs)s.type==="browser"&&t.push({tab:s,visibility:"visible",displayed:a.activeTabId===s.id});for(const a of u(e.hiddenTabs??o.hiddenTabs))a.type==="browser"&&t.push({tab:a,visibility:"hidden",displayed:!1});return t}const C=n.createSelector((e,t)=>{const a=e?.panelLayout?.byWorkspaceId[t]??o;return m(a).length>0}),K=n.createSelector(e=>Object.keys(e.panelLayout.byWorkspaceId).filter(t=>C.select(e,t)));n.createSelector(e=>Object.fromEntries(Object.entries(e.panelLayout.byWorkspaceId).map(([t,a])=>{const s=Object.values(a.panels).some(c=>c.tabs.length>0);return[t,s?W(a.root):0]})));const Y=n.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??o;return k(a.root,a.panels)});n.createSelector(e=>Object.fromEntries(Object.entries(e.panelLayout.byWorkspaceId).map(([t,a])=>[t,a.canvasWidth??P(a.root,a.panels,"content")])));const _=n.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??o).canvasWidth),G=n.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??o).canvasWidthSource),Q=n.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??o).columnCount);n.createSelector(e=>Object.fromEntries(Object.entries(e.panelLayout.byWorkspaceId).map(([t,a])=>[t,a.restoreStatus])));const U=n.createSelector((e,t,a=!1)=>{if(!v(t))return p;const s=e.panelLayout.byWorkspaceId[t],c=e.files.byWorkspaceId[t];if(!c)return p;if(!s)return a?[...c.files.ids].sort((l,i)=>l.localeCompare(i)):p;const r=new Set;for(const l of Object.values(s.panels))for(const i of l.tabs)i.type==="file"&&typeof i.filePath=="string"&&i.filePath.length>0&&r.add(L(i.filePath,typeof i.data?.gitRootId=="string"?i.data.gitRootId:void 0));const d=[];for(const l of c.files.ids)r.has(l)||d.push(l);return d.length===0?p:(d.sort((l,i)=>l.localeCompare(i)),d)}),X=n.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??o;return b(a.root)});function I(e){return b(e.root).flatMap(t=>{const a=e.panels[t];return a?[{panelId:t,panes:a.tabs,activePaneId:a.activeTabId,attentionPaneIds:a.attentionTabIds??[]}]:[]})}const Z=n.createSelector((e,t)=>I(e.panelLayout.byWorkspaceId[t]??o));n.createSelector((e,t,a)=>I(e.panelLayout.byWorkspaceId[t]??o).find(s=>s.panelId===a));function T(e){return b(e.root).flatMap(t=>{const a=e.panels[t];if(!a)return[];const c=a.tabs.find(r=>r.id===a.activeTabId)??a.tabs[0];return[{id:t,title:c?.title??"",type:c?.type}]})}n.createSelector((e,t)=>T(e.panelLayout.byWorkspaceId[t]??o));const w=n.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??o).recentlyClosed),g=n.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??o;return u(a.recentlyClosedColumns??S("historyId")).find(s=>h(a,s))??null}),ee=n.createSelector((e,t)=>{const a=w.select(e,t)[0]??null,s=g.select(e,t);return s&&(!a||s.closedAt>=a.closedAt)?{kind:"column",closedAt:s.closedAt}:a?{kind:"tab",closedAt:a.closedAt}:null}),te=n.createSelector(e=>Object.entries(e.panelLayout.byWorkspaceId).flatMap(([t,a])=>a.tabWindowFocusRequest?[`${t}\0${a.tabWindowFocusRequest.seq}\0${a.tabWindowFocusRequest.tabWindowId}`]:[]).join(`
2
2
  `)),ae=n.createSelector(e=>Object.entries(e.panelLayout.byWorkspaceId).flatMap(([t,a])=>a.restoreStatus==="restored"?u(a.hiddenTabs??o.hiddenTabs).filter(s=>s.tabWindowId).map(s=>`${t}\0${s.id}`):[]).join(`
3
3
  `));export{w as A,B,ae as C,te as D,C as E,J as a,N as b,m as c,K as d,H as e,L as f,R as g,U as h,$ as i,x as j,V as k,ee as l,D as m,q as n,_ as o,G as p,Q as q,Y as r,z as s,Z as t,X as u,F as v,j as w,E as x,M as y,A as z};
@@ -1,4 +1,4 @@
1
- var Cr=Object.defineProperty;var xr=(e,t,n)=>t in e?Cr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var b=(e,t,n)=>xr(e,typeof t!="symbol"?t+"":t,n);import{t as oo,bo as M,bw as ro,b as so,bs as di,bq as Lr,bm as $e}from"./CLAmm_T1.js";import{bs as ao,a5 as Me,ay as ui,bS as Xe,aD as C,bA as ke,b_ as Ie,bO as it,W as de,bl as Xt,be as Dn,bn as lo,c9 as oe,aA as I,b$ as uo,aB as ge,ai as wr,bV as Te,br as kr,ca as je,bH as Q,c5 as dt,bk as Er,bj as Rr,aj as Ar,c0 as ci}from"./3SdAC2_C.js";import{i as we}from"./BFgvMDua.js";import{f as hi,g as mn,s as fi}from"./CcJmuwXr.js";import{b as Hr}from"./goTpbPhD.js";import{b as pi}from"./Dn334wJv.js";import{h as Dr,c as rt,J as co,Y as B,Z as Zt,a as ho,k as fo,_ as Je,H as po,j as go,aW as Tr,ak as mo,U as Mr,f as Ir,e as vo,T as Fr,g as Nr,S as Pr,ad as Qe,ac as Ve,C as zr,G as bo,F as Ur,I as _r,N as mt,ar as Or,a8 as Ht,am as Dt,x as K,w as Ue,ax as wt,ay as So,D as Br,d as Vr,aj as yo,aa as ct,l as Tn,b as gi,B as mi,z as vi,aU as Wr,aA as ft,al as Gr,V as Le,X as Ut,W as $r,a9 as Tt,E as jr,i as qr,av as Co,af as Kr,ab as bi,y as xo,ap as kt,ae as Et,an as ot,aq as Lo,O as vn,ao as Si,ai as bn,n as Xr,aS as yi}from"./D6txwX4Y.js";import{h as Ye}from"./DEB8jcix.js";import{g as Yr,i as Jr}from"./B1CKzIA2.js";import{F as Sn,c9 as Qr,bi as Zr,ax as es,aw as ts}from"./DPttSllj.js";import{f as Mn}from"./nxtepGjE.js";import"./TB9r2XJy.js";import{g as ns}from"./BGrimfDs.js";import{c as is}from"./BbYWP3Ow.js";import{P as os}from"./TBtn8giw.js";import{l as Ci}from"./Cu5e4npY.js";class rs extends Dr{constructor(){super(...arguments),this.tokenize=as}equals(t,n,i){return i.ignoreWhitespace?((!i.newlineIsToken||!t.includes(`
1
+ var Cr=Object.defineProperty;var xr=(e,t,n)=>t in e?Cr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var b=(e,t,n)=>xr(e,typeof t!="symbol"?t+"":t,n);import{t as oo,bo as M,bw as ro,b as so,bs as di,bq as Lr,bm as $e}from"./CtfEuoOH.js";import{bs as ao,a5 as Me,ay as ui,bS as Xe,aD as C,bA as ke,b_ as Ie,bO as it,W as de,bl as Xt,be as Dn,bn as lo,c9 as oe,aA as I,b$ as uo,aB as ge,ai as wr,bV as Te,br as kr,ca as je,bH as Q,c5 as dt,bk as Er,bj as Rr,aj as Ar,c0 as ci}from"./3SdAC2_C.js";import{i as we}from"./DynUeYUu.js";import{f as hi,g as mn,s as fi}from"./B26ZHg3s.js";import{b as Hr}from"./goTpbPhD.js";import{b as pi}from"./Dn334wJv.js";import{h as Dr,c as rt,J as co,Y as B,Z as Zt,a as ho,k as fo,_ as Je,H as po,j as go,aW as Tr,ak as mo,U as Mr,f as Ir,e as vo,T as Fr,g as Nr,S as Pr,ad as Qe,ac as Ve,C as zr,G as bo,F as Ur,I as _r,N as mt,ar as Or,a8 as Ht,am as Dt,x as K,w as Ue,ax as wt,ay as So,D as Br,d as Vr,aj as yo,aa as ct,l as Tn,b as gi,B as mi,z as vi,aU as Wr,aA as ft,al as Gr,V as Le,X as Ut,W as $r,a9 as Tt,E as jr,i as qr,av as Co,af as Kr,ab as bi,y as xo,ap as kt,ae as Et,an as ot,aq as Lo,O as vn,ao as Si,ai as bn,n as Xr,aS as yi}from"./COJ7FcW0.js";import{h as Ye}from"./DEB8jcix.js";import{g as Yr,i as Jr}from"./CnFZbWXv.js";import{F as Sn,c9 as Qr,bi as Zr,ax as es,aw as ts}from"./COofQgO0.js";import{f as Mn}from"./D9R5fzn8.js";import"./CT8vPg_p.js";import{g as ns}from"./QzxpbvSo.js";import{c as is}from"./BFfRQORP.js";import{P as os}from"./CiHhUIjb.js";import{l as Ci}from"./DMEIbJII.js";class rs extends Dr{constructor(){super(...arguments),this.tokenize=as}equals(t,n,i){return i.ignoreWhitespace?((!i.newlineIsToken||!t.includes(`
2
2
  `))&&(t=t.trim()),(!i.newlineIsToken||!n.includes(`
3
3
  `))&&(n=n.trim())):i.ignoreNewlineAtEof&&!i.newlineIsToken&&(t.endsWith(`
4
4
  `)&&(t=t.slice(0,-1)),n.endsWith(`
@@ -1,4 +1,4 @@
1
- import{I as pr}from"./DvNAieWn.js";import{b as f,a$ as Er,X as j,aW as Kt,ay as nt,P as Ue,B as ur,h as fr,z as N,a_ as Ke,aZ as _r,b0 as gr,V as xr,U as yr,Y as Ir,ax as Rr,J as Or,r as Lr,aV as Ft,bh as Q,aa as tt,l as vt,aH as Ge,Z as br,W as zt,a7 as mr,aQ as Xe}from"./BgXuXJpo.js";import{d as Sr,h as le,g as pt,e as Ar,a as he,b as de}from"./BT9lzXEu.js";var ne=(function(){var e=f(function(_t,w,C,D){for(C=C||{},D=_t.length;D--;C[_t[D]]=w);return C},"o"),t=[1,2],a=[1,3],r=[1,4],i=[2,4],o=[1,9],s=[1,11],n=[1,12],h=[1,14],d=[1,15],E=[1,17],u=[1,18],_=[1,19],L=[1,25],g=[1,26],R=[1,27],T=[1,28],O=[1,29],x=[1,30],m=[1,31],S=[1,32],b=[1,33],P=[1,34],k=[1,35],B=[1,36],V=[1,37],H=[1,38],z=[1,39],X=[1,40],et=[1,42],rt=[1,43],U=[1,44],ot=[1,45],at=[1,46],W=[1,47],M=[1,4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,48,49,50,51,53,54,56,61,62,63,64,73],Z=[1,56],Mt=[1,75],A=[1,81],v=[1,82],dt=[1,83],st=[1,84],K=[1,85],mt=[1,86],pe=[1,87],Ee=[1,88],ue=[1,89],fe=[1,90],_e=[1,91],ge=[1,92],xe=[1,93],ye=[1,94],Ie=[1,95],Re=[1,96],Oe=[1,97],Le=[1,98],be=[1,99],me=[1,100],Se=[1,101],Ae=[1,102],we=[1,103],Ne=[1,104],Pe=[1,105],ke=[1,106],De=[2,79],ve=[2,78],Pt=[4,5,17,51,53,54],Bt=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,51,53,54,56,61,62,63,64,73],Ce=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,50,51,53,54,56,61,62,63,64,73],$t=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,49,51,53,54,56,61,62,63,64,73],Me=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,48,51,53,54,56,61,62,63,64,73],jt=[5,52],F=[62,70,71,72,73],Be=[62,73],lt=[1,152],te={trace:f(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,INVALID:10,box_section:11,box_line:12,participant_statement:13,create:14,box:15,restOfLine:16,end:17,signal:18,autonumber:19,NUM:20,off:21,activate:22,actor:23,deactivate:24,note_statement:25,links_statement:26,link_statement:27,properties_statement:28,details_statement:29,title:30,legacy_title:31,acc_title:32,acc_title_value:33,acc_descr:34,acc_descr_value:35,acc_descr_multiline_value:36,loop:37,rect:38,opt:39,alt:40,else_sections:41,par:42,par_sections:43,par_over:44,critical:45,option_sections:46,break:47,option:48,and:49,else:50,participant:51,AS:52,participant_actor:53,destroy:54,actor_with_config:55,note:56,placement:57,text2:58,over:59,actor_pair:60,links:61,link:62,properties:63,details:64,spaceList:65,",":66,left_of:67,right_of:68,signaltype:69,"+":70,"-":71,"()":72,ACTOR:73,config_object:74,CONFIG_START:75,CONFIG_CONTENT:76,CONFIG_END:77,SOLID_OPEN_ARROW:78,DOTTED_OPEN_ARROW:79,SOLID_ARROW:80,SOLID_ARROW_TOP:81,SOLID_ARROW_BOTTOM:82,STICK_ARROW_TOP:83,STICK_ARROW_BOTTOM:84,SOLID_ARROW_TOP_DOTTED:85,SOLID_ARROW_BOTTOM_DOTTED:86,STICK_ARROW_TOP_DOTTED:87,STICK_ARROW_BOTTOM_DOTTED:88,SOLID_ARROW_TOP_REVERSE:89,SOLID_ARROW_BOTTOM_REVERSE:90,STICK_ARROW_TOP_REVERSE:91,STICK_ARROW_BOTTOM_REVERSE:92,SOLID_ARROW_TOP_REVERSE_DOTTED:93,SOLID_ARROW_BOTTOM_REVERSE_DOTTED:94,STICK_ARROW_TOP_REVERSE_DOTTED:95,STICK_ARROW_BOTTOM_REVERSE_DOTTED:96,BIDIRECTIONAL_SOLID_ARROW:97,DOTTED_ARROW:98,BIDIRECTIONAL_DOTTED_ARROW:99,SOLID_CROSS:100,DOTTED_CROSS:101,SOLID_POINT:102,DOTTED_POINT:103,TXT:104,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",10:"INVALID",14:"create",15:"box",16:"restOfLine",17:"end",19:"autonumber",20:"NUM",21:"off",22:"activate",24:"deactivate",30:"title",31:"legacy_title",32:"acc_title",33:"acc_title_value",34:"acc_descr",35:"acc_descr_value",36:"acc_descr_multiline_value",37:"loop",38:"rect",39:"opt",40:"alt",42:"par",44:"par_over",45:"critical",47:"break",48:"option",49:"and",50:"else",51:"participant",52:"AS",53:"participant_actor",54:"destroy",56:"note",59:"over",61:"links",62:"link",63:"properties",64:"details",66:",",67:"left_of",68:"right_of",70:"+",71:"-",72:"()",73:"ACTOR",75:"CONFIG_START",76:"CONFIG_CONTENT",77:"CONFIG_END",78:"SOLID_OPEN_ARROW",79:"DOTTED_OPEN_ARROW",80:"SOLID_ARROW",81:"SOLID_ARROW_TOP",82:"SOLID_ARROW_BOTTOM",83:"STICK_ARROW_TOP",84:"STICK_ARROW_BOTTOM",85:"SOLID_ARROW_TOP_DOTTED",86:"SOLID_ARROW_BOTTOM_DOTTED",87:"STICK_ARROW_TOP_DOTTED",88:"STICK_ARROW_BOTTOM_DOTTED",89:"SOLID_ARROW_TOP_REVERSE",90:"SOLID_ARROW_BOTTOM_REVERSE",91:"STICK_ARROW_TOP_REVERSE",92:"STICK_ARROW_BOTTOM_REVERSE",93:"SOLID_ARROW_TOP_REVERSE_DOTTED",94:"SOLID_ARROW_BOTTOM_REVERSE_DOTTED",95:"STICK_ARROW_TOP_REVERSE_DOTTED",96:"STICK_ARROW_BOTTOM_REVERSE_DOTTED",97:"BIDIRECTIONAL_SOLID_ARROW",98:"DOTTED_ARROW",99:"BIDIRECTIONAL_DOTTED_ARROW",100:"SOLID_CROSS",101:"DOTTED_CROSS",102:"SOLID_POINT",103:"DOTTED_POINT",104:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[8,1],[11,0],[11,2],[12,2],[12,1],[12,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[46,1],[46,4],[43,1],[43,4],[41,1],[41,4],[13,5],[13,3],[13,5],[13,3],[13,3],[13,5],[13,3],[13,5],[13,3],[25,4],[25,4],[26,3],[27,3],[28,3],[29,3],[65,2],[65,1],[60,3],[60,1],[57,1],[57,1],[18,5],[18,5],[18,5],[18,5],[18,6],[18,4],[55,2],[74,3],[23,1],[23,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[58,1]],performAction:f(function(w,C,D,y,G,c,kt){var p=c.length-1;switch(G){case 3:return y.apply(c[p]),c[p];case 4:case 10:this.$=[];break;case 5:case 11:c[p-1].push(c[p]),this.$=c[p-1];break;case 6:case 7:case 12:case 13:this.$=c[p];break;case 8:case 9:case 14:this.$=[];break;case 16:c[p].type="createParticipant",this.$=c[p];break;case 17:c[p-1].unshift({type:"boxStart",boxData:y.parseBoxData(c[p-2])}),c[p-1].push({type:"boxEnd",boxText:c[p-2]}),this.$=c[p-1];break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(c[p-2]),sequenceIndexStep:Number(c[p-1]),sequenceVisible:!0,signalType:y.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceIndex:Number(c[p-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:y.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:y.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:y.LINETYPE.AUTONUMBER};break;case 23:this.$={type:"activeStart",signalType:y.LINETYPE.ACTIVE_START,actor:c[p-1].actor};break;case 24:this.$={type:"activeEnd",signalType:y.LINETYPE.ACTIVE_END,actor:c[p-1].actor};break;case 30:y.setDiagramTitle(c[p].substring(6)),this.$=c[p].substring(6);break;case 31:y.setDiagramTitle(c[p].substring(7)),this.$=c[p].substring(7);break;case 32:this.$=c[p].trim(),y.setAccTitle(this.$);break;case 33:case 34:this.$=c[p].trim(),y.setAccDescription(this.$);break;case 35:c[p-1].unshift({type:"loopStart",loopText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.LOOP_START}),c[p-1].push({type:"loopEnd",loopText:c[p-2],signalType:y.LINETYPE.LOOP_END}),this.$=c[p-1];break;case 36:c[p-1].unshift({type:"rectStart",color:y.parseMessage(c[p-2]),signalType:y.LINETYPE.RECT_START}),c[p-1].push({type:"rectEnd",color:y.parseMessage(c[p-2]),signalType:y.LINETYPE.RECT_END}),this.$=c[p-1];break;case 37:c[p-1].unshift({type:"optStart",optText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.OPT_START}),c[p-1].push({type:"optEnd",optText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.OPT_END}),this.$=c[p-1];break;case 38:c[p-1].unshift({type:"altStart",altText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.ALT_START}),c[p-1].push({type:"altEnd",signalType:y.LINETYPE.ALT_END}),this.$=c[p-1];break;case 39:c[p-1].unshift({type:"parStart",parText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.PAR_START}),c[p-1].push({type:"parEnd",signalType:y.LINETYPE.PAR_END}),this.$=c[p-1];break;case 40:c[p-1].unshift({type:"parStart",parText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.PAR_OVER_START}),c[p-1].push({type:"parEnd",signalType:y.LINETYPE.PAR_END}),this.$=c[p-1];break;case 41:c[p-1].unshift({type:"criticalStart",criticalText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.CRITICAL_START}),c[p-1].push({type:"criticalEnd",signalType:y.LINETYPE.CRITICAL_END}),this.$=c[p-1];break;case 42:c[p-1].unshift({type:"breakStart",breakText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.BREAK_START}),c[p-1].push({type:"breakEnd",optText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.BREAK_END}),this.$=c[p-1];break;case 44:this.$=c[p-3].concat([{type:"option",optionText:y.parseMessage(c[p-1]),signalType:y.LINETYPE.CRITICAL_OPTION},c[p]]);break;case 46:this.$=c[p-3].concat([{type:"and",parText:y.parseMessage(c[p-1]),signalType:y.LINETYPE.PAR_AND},c[p]]);break;case 48:this.$=c[p-3].concat([{type:"else",altText:y.parseMessage(c[p-1]),signalType:y.LINETYPE.ALT_ELSE},c[p]]);break;case 49:c[p-3].draw="participant",c[p-3].type="addParticipant",c[p-3].description=y.parseMessage(c[p-1]),this.$=c[p-3];break;case 50:c[p-1].draw="participant",c[p-1].type="addParticipant",this.$=c[p-1];break;case 51:c[p-3].draw="actor",c[p-3].type="addParticipant",c[p-3].description=y.parseMessage(c[p-1]),this.$=c[p-3];break;case 52:case 57:c[p-1].draw="actor",c[p-1].type="addParticipant",this.$=c[p-1];break;case 53:c[p-1].type="destroyParticipant",this.$=c[p-1];break;case 54:c[p-3].draw="participant",c[p-3].type="addParticipant",c[p-3].description=y.parseMessage(c[p-1]),this.$=c[p-3];break;case 55:c[p-1].draw="participant",c[p-1].type="addParticipant",this.$=c[p-1];break;case 56:c[p-3].draw="actor",c[p-3].type="addParticipant",c[p-3].description=y.parseMessage(c[p-1]),this.$=c[p-3];break;case 58:this.$=[c[p-1],{type:"addNote",placement:c[p-2],actor:c[p-1].actor,text:c[p]}];break;case 59:c[p-2]=[].concat(c[p-1],c[p-1]).slice(0,2),c[p-2][0]=c[p-2][0].actor,c[p-2][1]=c[p-2][1].actor,this.$=[c[p-1],{type:"addNote",placement:y.PLACEMENT.OVER,actor:c[p-2].slice(0,2),text:c[p]}];break;case 60:this.$=[c[p-1],{type:"addLinks",actor:c[p-1].actor,text:c[p]}];break;case 61:this.$=[c[p-1],{type:"addALink",actor:c[p-1].actor,text:c[p]}];break;case 62:this.$=[c[p-1],{type:"addProperties",actor:c[p-1].actor,text:c[p]}];break;case 63:this.$=[c[p-1],{type:"addDetails",actor:c[p-1].actor,text:c[p]}];break;case 66:this.$=[c[p-2],c[p]];break;case 67:this.$=c[p];break;case 68:this.$=y.PLACEMENT.LEFTOF;break;case 69:this.$=y.PLACEMENT.RIGHTOF;break;case 70:this.$=[c[p-4],c[p-1],{type:"addMessage",from:c[p-4].actor,to:c[p-1].actor,signalType:c[p-3],msg:c[p],activate:!0},{type:"activeStart",signalType:y.LINETYPE.ACTIVE_START,actor:c[p-1].actor}];break;case 71:this.$=[c[p-4],c[p-1],{type:"addMessage",from:c[p-4].actor,to:c[p-1].actor,signalType:c[p-3],msg:c[p]},{type:"activeEnd",signalType:y.LINETYPE.ACTIVE_END,actor:c[p-4].actor}];break;case 72:this.$=[c[p-4],c[p-1],{type:"addMessage",from:c[p-4].actor,to:c[p-1].actor,signalType:c[p-3],msg:c[p],activate:!0,centralConnection:y.LINETYPE.CENTRAL_CONNECTION},{type:"centralConnection",signalType:y.LINETYPE.CENTRAL_CONNECTION,actor:c[p-1].actor}];break;case 73:this.$=[c[p-4],c[p-1],{type:"addMessage",from:c[p-4].actor,to:c[p-1].actor,signalType:c[p-2],msg:c[p],activate:!1,centralConnection:y.LINETYPE.CENTRAL_CONNECTION_REVERSE},{type:"centralConnectionReverse",signalType:y.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:c[p-4].actor}];break;case 74:this.$=[c[p-5],c[p-1],{type:"addMessage",from:c[p-5].actor,to:c[p-1].actor,signalType:c[p-3],msg:c[p],activate:!0,centralConnection:y.LINETYPE.CENTRAL_CONNECTION_DUAL},{type:"centralConnection",signalType:y.LINETYPE.CENTRAL_CONNECTION,actor:c[p-1].actor},{type:"centralConnectionReverse",signalType:y.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:c[p-5].actor}];break;case 75:this.$=[c[p-3],c[p-1],{type:"addMessage",from:c[p-3].actor,to:c[p-1].actor,signalType:c[p-2],msg:c[p]}];break;case 76:this.$={type:"addParticipant",actor:c[p-1],config:c[p]};break;case 77:this.$=c[p-1].trim();break;case 78:case 79:this.$={type:"addParticipant",actor:c[p]};break;case 80:this.$=y.LINETYPE.SOLID_OPEN;break;case 81:this.$=y.LINETYPE.DOTTED_OPEN;break;case 82:this.$=y.LINETYPE.SOLID;break;case 83:this.$=y.LINETYPE.SOLID_TOP;break;case 84:this.$=y.LINETYPE.SOLID_BOTTOM;break;case 85:this.$=y.LINETYPE.STICK_TOP;break;case 86:this.$=y.LINETYPE.STICK_BOTTOM;break;case 87:this.$=y.LINETYPE.SOLID_TOP_DOTTED;break;case 88:this.$=y.LINETYPE.SOLID_BOTTOM_DOTTED;break;case 89:this.$=y.LINETYPE.STICK_TOP_DOTTED;break;case 90:this.$=y.LINETYPE.STICK_BOTTOM_DOTTED;break;case 91:this.$=y.LINETYPE.SOLID_ARROW_TOP_REVERSE;break;case 92:this.$=y.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE;break;case 93:this.$=y.LINETYPE.STICK_ARROW_TOP_REVERSE;break;case 94:this.$=y.LINETYPE.STICK_ARROW_BOTTOM_REVERSE;break;case 95:this.$=y.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED;break;case 96:this.$=y.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED;break;case 97:this.$=y.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED;break;case 98:this.$=y.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED;break;case 99:this.$=y.LINETYPE.BIDIRECTIONAL_SOLID;break;case 100:this.$=y.LINETYPE.DOTTED;break;case 101:this.$=y.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 102:this.$=y.LINETYPE.SOLID_CROSS;break;case 103:this.$=y.LINETYPE.DOTTED_CROSS;break;case 104:this.$=y.LINETYPE.SOLID_POINT;break;case 105:this.$=y.LINETYPE.DOTTED_POINT;break;case 106:this.$=y.parseMessage(c[p].trim().substring(1));break}},"anonymous"),table:[{3:1,4:t,5:a,6:r},{1:[3]},{3:5,4:t,5:a,6:r},{3:6,4:t,5:a,6:r},e([1,4,5,10,14,15,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,51,53,54,56,61,62,63,64,73],i,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},e(M,[2,5]),{9:48,13:13,14:h,15:d,18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},e(M,[2,7]),e(M,[2,8]),e(M,[2,9]),e(M,[2,15]),{13:49,51:H,53:z,54:X},{16:[1,50]},{5:[1,51]},{5:[1,54],20:[1,52],21:[1,53]},{23:55,62:Z,73:W},{23:57,62:Z,73:W},{5:[1,58]},{5:[1,59]},{5:[1,60]},{5:[1,61]},{5:[1,62]},e(M,[2,30]),e(M,[2,31]),{33:[1,63]},{35:[1,64]},e(M,[2,34]),{16:[1,65]},{16:[1,66]},{16:[1,67]},{16:[1,68]},{16:[1,69]},{16:[1,70]},{16:[1,71]},{16:[1,72]},{23:73,55:74,62:Z,73:Mt},{23:76,55:77,62:Z,73:Mt},{23:78,62:Z,73:W},{69:79,72:[1,80],78:A,79:v,80:dt,81:st,82:K,83:mt,84:pe,85:Ee,86:ue,87:fe,88:_e,89:ge,90:xe,91:ye,92:Ie,93:Re,94:Oe,95:Le,96:be,97:me,98:Se,99:Ae,100:we,101:Ne,102:Pe,103:ke},{57:107,59:[1,108],67:[1,109],68:[1,110]},{23:111,62:Z,73:W},e([72,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103],De,{23:112,62:Z,73:W}),{23:113,62:Z,73:W},{23:114,62:Z,73:W},e([5,66,72,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104],ve),e(M,[2,6]),e(M,[2,16]),e(Pt,[2,10],{11:115}),e(M,[2,18]),{5:[1,117],20:[1,116]},{5:[1,118]},e(M,[2,22]),{5:[1,119]},e([5,52,66,104],De),{5:[1,120]},e(M,[2,25]),e(M,[2,26]),e(M,[2,27]),e(M,[2,28]),e(M,[2,29]),e(M,[2,32]),e(M,[2,33]),e(Bt,i,{7:121}),e(Bt,i,{7:122}),e(Bt,i,{7:123}),e(Ce,i,{41:124,7:125}),e($t,i,{43:126,7:127}),e($t,i,{7:127,43:128}),e(Me,i,{46:129,7:130}),e(Bt,i,{7:131}),{5:[1,133],52:[1,132]},{5:[1,135],52:[1,134]},e(jt,ve,{74:136,75:[1,137]}),{5:[1,139],52:[1,138]},{5:[1,141],52:[1,140]},{5:[1,142]},{23:146,62:Z,70:[1,143],71:[1,144],72:[1,145],73:W},{69:147,78:A,79:v,80:dt,81:st,82:K,83:mt,84:pe,85:Ee,86:ue,87:fe,88:_e,89:ge,90:xe,91:ye,92:Ie,93:Re,94:Oe,95:Le,96:be,97:me,98:Se,99:Ae,100:we,101:Ne,102:Pe,103:ke},e(F,[2,80]),e(F,[2,81]),e(F,[2,82]),e(F,[2,83]),e(F,[2,84]),e(F,[2,85]),e(F,[2,86]),e(F,[2,87]),e(F,[2,88]),e(F,[2,89]),e(F,[2,90]),e(F,[2,91]),e(F,[2,92]),e(F,[2,93]),e(F,[2,94]),e(F,[2,95]),e(F,[2,96]),e(F,[2,97]),e(F,[2,98]),e(F,[2,99]),e(F,[2,100]),e(F,[2,101]),e(F,[2,102]),e(F,[2,103]),e(F,[2,104]),e(F,[2,105]),{23:148,62:Z,73:W},{23:150,60:149,62:Z,73:W},e(Be,[2,68]),e(Be,[2,69]),{58:151,104:lt},{58:153,104:lt},{58:154,104:lt},{58:155,104:lt},{4:[1,158],5:[1,160],12:157,13:159,17:[1,156],51:H,53:z,54:X},{5:[1,161]},e(M,[2,20]),e(M,[2,21]),e(M,[2,23]),e(M,[2,24]),{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[1,162],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[1,163],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[1,164],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{17:[1,165]},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[2,47],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,50:[1,166],51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{17:[1,167]},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[2,45],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,49:[1,168],51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{17:[1,169]},{17:[1,170]},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[2,43],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,48:[1,171],51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[1,172],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{16:[1,173]},e(M,[2,50]),{16:[1,174]},e(M,[2,55]),e(jt,[2,76]),{76:[1,175]},{16:[1,176]},e(M,[2,52]),{16:[1,177]},e(M,[2,57]),e(M,[2,53]),{23:178,62:Z,73:W},{23:179,62:Z,73:W},{23:180,62:Z,73:W},{58:181,104:lt},{23:182,62:Z,72:[1,183],73:W},{58:184,104:lt},{58:185,104:lt},{66:[1,186],104:[2,67]},{5:[2,60]},{5:[2,106]},{5:[2,61]},{5:[2,62]},{5:[2,63]},e(M,[2,17]),e(Pt,[2,11]),{13:187,51:H,53:z,54:X},e(Pt,[2,13]),e(Pt,[2,14]),e(M,[2,19]),e(M,[2,35]),e(M,[2,36]),e(M,[2,37]),e(M,[2,38]),{16:[1,188]},e(M,[2,39]),{16:[1,189]},e(M,[2,40]),e(M,[2,41]),{16:[1,190]},e(M,[2,42]),{5:[1,191]},{5:[1,192]},{77:[1,193]},{5:[1,194]},{5:[1,195]},{58:196,104:lt},{58:197,104:lt},{58:198,104:lt},{5:[2,75]},{58:199,104:lt},{23:200,62:Z,73:W},{5:[2,58]},{5:[2,59]},{23:201,62:Z,73:W},e(Pt,[2,12]),e(Ce,i,{7:125,41:202}),e($t,i,{7:127,43:203}),e(Me,i,{7:130,46:204}),e(M,[2,49]),e(M,[2,54]),e(jt,[2,77]),e(M,[2,51]),e(M,[2,56]),{5:[2,70]},{5:[2,71]},{5:[2,72]},{5:[2,73]},{58:205,104:lt},{104:[2,66]},{17:[2,48]},{17:[2,46]},{17:[2,44]},{5:[2,74]}],defaultActions:{5:[2,1],6:[2,2],151:[2,60],152:[2,106],153:[2,61],154:[2,62],155:[2,63],181:[2,75],184:[2,58],185:[2,59],196:[2,70],197:[2,71],198:[2,72],199:[2,73],201:[2,66],202:[2,48],203:[2,46],204:[2,44],205:[2,74]},parseError:f(function(w,C){if(C.recoverable)this.trace(w);else{var D=new Error(w);throw D.hash=C,D}},"parseError"),parse:f(function(w){var C=this,D=[0],y=[],G=[null],c=[],kt=this.table,p="",Vt=0,Ye=0,lr=2,Ve=1,hr=c.slice.call(arguments,1),$=Object.create(this.lexer),It={yy:{}};for(var ee in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ee)&&(It.yy[ee]=this.yy[ee]);$.setInput(w,It.yy),It.yy.lexer=$,It.yy.parser=this,typeof $.yylloc>"u"&&($.yylloc={});var re=$.yylloc;c.push(re);var dr=$.options&&$.options.ranges;typeof It.yy.parseError=="function"?this.parseError=It.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Tr(ct){D.length=D.length-2*ct,G.length=G.length-ct,c.length=c.length-ct}f(Tr,"popStack");function We(){var ct;return ct=y.pop()||$.lex()||Ve,typeof ct!="number"&&(ct instanceof Array&&(y=ct,ct=y.pop()),ct=C.symbols_[ct]||ct),ct}f(We,"lex");for(var it,Rt,ht,ae,St={},Wt,Et,He,Ht;;){if(Rt=D[D.length-1],this.defaultActions[Rt]?ht=this.defaultActions[Rt]:((it===null||typeof it>"u")&&(it=We()),ht=kt[Rt]&&kt[Rt][it]),typeof ht>"u"||!ht.length||!ht[0]){var se="";Ht=[];for(Wt in kt[Rt])this.terminals_[Wt]&&Wt>lr&&Ht.push("'"+this.terminals_[Wt]+"'");$.showPosition?se="Parse error on line "+(Vt+1)+`:
1
+ import{I as pr}from"./C4BZMChh.js";import{b as f,a$ as Er,X as j,aW as Kt,ay as nt,P as Ue,B as ur,h as fr,z as N,a_ as Ke,aZ as _r,b0 as gr,V as xr,U as yr,Y as Ir,ax as Rr,J as Or,r as Lr,aV as Ft,bh as Q,aa as tt,l as vt,aH as Ge,Z as br,W as zt,a7 as mr,aQ as Xe}from"./DPZ2um_T.js";import{d as Sr,h as le,g as pt,e as Ar,a as he,b as de}from"./JpEb3pk8.js";var ne=(function(){var e=f(function(_t,w,C,D){for(C=C||{},D=_t.length;D--;C[_t[D]]=w);return C},"o"),t=[1,2],a=[1,3],r=[1,4],i=[2,4],o=[1,9],s=[1,11],n=[1,12],h=[1,14],d=[1,15],E=[1,17],u=[1,18],_=[1,19],L=[1,25],g=[1,26],R=[1,27],T=[1,28],O=[1,29],x=[1,30],m=[1,31],S=[1,32],b=[1,33],P=[1,34],k=[1,35],B=[1,36],V=[1,37],H=[1,38],z=[1,39],X=[1,40],et=[1,42],rt=[1,43],U=[1,44],ot=[1,45],at=[1,46],W=[1,47],M=[1,4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,48,49,50,51,53,54,56,61,62,63,64,73],Z=[1,56],Mt=[1,75],A=[1,81],v=[1,82],dt=[1,83],st=[1,84],K=[1,85],mt=[1,86],pe=[1,87],Ee=[1,88],ue=[1,89],fe=[1,90],_e=[1,91],ge=[1,92],xe=[1,93],ye=[1,94],Ie=[1,95],Re=[1,96],Oe=[1,97],Le=[1,98],be=[1,99],me=[1,100],Se=[1,101],Ae=[1,102],we=[1,103],Ne=[1,104],Pe=[1,105],ke=[1,106],De=[2,79],ve=[2,78],Pt=[4,5,17,51,53,54],Bt=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,51,53,54,56,61,62,63,64,73],Ce=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,50,51,53,54,56,61,62,63,64,73],$t=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,49,51,53,54,56,61,62,63,64,73],Me=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,48,51,53,54,56,61,62,63,64,73],jt=[5,52],F=[62,70,71,72,73],Be=[62,73],lt=[1,152],te={trace:f(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,INVALID:10,box_section:11,box_line:12,participant_statement:13,create:14,box:15,restOfLine:16,end:17,signal:18,autonumber:19,NUM:20,off:21,activate:22,actor:23,deactivate:24,note_statement:25,links_statement:26,link_statement:27,properties_statement:28,details_statement:29,title:30,legacy_title:31,acc_title:32,acc_title_value:33,acc_descr:34,acc_descr_value:35,acc_descr_multiline_value:36,loop:37,rect:38,opt:39,alt:40,else_sections:41,par:42,par_sections:43,par_over:44,critical:45,option_sections:46,break:47,option:48,and:49,else:50,participant:51,AS:52,participant_actor:53,destroy:54,actor_with_config:55,note:56,placement:57,text2:58,over:59,actor_pair:60,links:61,link:62,properties:63,details:64,spaceList:65,",":66,left_of:67,right_of:68,signaltype:69,"+":70,"-":71,"()":72,ACTOR:73,config_object:74,CONFIG_START:75,CONFIG_CONTENT:76,CONFIG_END:77,SOLID_OPEN_ARROW:78,DOTTED_OPEN_ARROW:79,SOLID_ARROW:80,SOLID_ARROW_TOP:81,SOLID_ARROW_BOTTOM:82,STICK_ARROW_TOP:83,STICK_ARROW_BOTTOM:84,SOLID_ARROW_TOP_DOTTED:85,SOLID_ARROW_BOTTOM_DOTTED:86,STICK_ARROW_TOP_DOTTED:87,STICK_ARROW_BOTTOM_DOTTED:88,SOLID_ARROW_TOP_REVERSE:89,SOLID_ARROW_BOTTOM_REVERSE:90,STICK_ARROW_TOP_REVERSE:91,STICK_ARROW_BOTTOM_REVERSE:92,SOLID_ARROW_TOP_REVERSE_DOTTED:93,SOLID_ARROW_BOTTOM_REVERSE_DOTTED:94,STICK_ARROW_TOP_REVERSE_DOTTED:95,STICK_ARROW_BOTTOM_REVERSE_DOTTED:96,BIDIRECTIONAL_SOLID_ARROW:97,DOTTED_ARROW:98,BIDIRECTIONAL_DOTTED_ARROW:99,SOLID_CROSS:100,DOTTED_CROSS:101,SOLID_POINT:102,DOTTED_POINT:103,TXT:104,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",10:"INVALID",14:"create",15:"box",16:"restOfLine",17:"end",19:"autonumber",20:"NUM",21:"off",22:"activate",24:"deactivate",30:"title",31:"legacy_title",32:"acc_title",33:"acc_title_value",34:"acc_descr",35:"acc_descr_value",36:"acc_descr_multiline_value",37:"loop",38:"rect",39:"opt",40:"alt",42:"par",44:"par_over",45:"critical",47:"break",48:"option",49:"and",50:"else",51:"participant",52:"AS",53:"participant_actor",54:"destroy",56:"note",59:"over",61:"links",62:"link",63:"properties",64:"details",66:",",67:"left_of",68:"right_of",70:"+",71:"-",72:"()",73:"ACTOR",75:"CONFIG_START",76:"CONFIG_CONTENT",77:"CONFIG_END",78:"SOLID_OPEN_ARROW",79:"DOTTED_OPEN_ARROW",80:"SOLID_ARROW",81:"SOLID_ARROW_TOP",82:"SOLID_ARROW_BOTTOM",83:"STICK_ARROW_TOP",84:"STICK_ARROW_BOTTOM",85:"SOLID_ARROW_TOP_DOTTED",86:"SOLID_ARROW_BOTTOM_DOTTED",87:"STICK_ARROW_TOP_DOTTED",88:"STICK_ARROW_BOTTOM_DOTTED",89:"SOLID_ARROW_TOP_REVERSE",90:"SOLID_ARROW_BOTTOM_REVERSE",91:"STICK_ARROW_TOP_REVERSE",92:"STICK_ARROW_BOTTOM_REVERSE",93:"SOLID_ARROW_TOP_REVERSE_DOTTED",94:"SOLID_ARROW_BOTTOM_REVERSE_DOTTED",95:"STICK_ARROW_TOP_REVERSE_DOTTED",96:"STICK_ARROW_BOTTOM_REVERSE_DOTTED",97:"BIDIRECTIONAL_SOLID_ARROW",98:"DOTTED_ARROW",99:"BIDIRECTIONAL_DOTTED_ARROW",100:"SOLID_CROSS",101:"DOTTED_CROSS",102:"SOLID_POINT",103:"DOTTED_POINT",104:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[8,1],[11,0],[11,2],[12,2],[12,1],[12,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[46,1],[46,4],[43,1],[43,4],[41,1],[41,4],[13,5],[13,3],[13,5],[13,3],[13,3],[13,5],[13,3],[13,5],[13,3],[25,4],[25,4],[26,3],[27,3],[28,3],[29,3],[65,2],[65,1],[60,3],[60,1],[57,1],[57,1],[18,5],[18,5],[18,5],[18,5],[18,6],[18,4],[55,2],[74,3],[23,1],[23,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[58,1]],performAction:f(function(w,C,D,y,G,c,kt){var p=c.length-1;switch(G){case 3:return y.apply(c[p]),c[p];case 4:case 10:this.$=[];break;case 5:case 11:c[p-1].push(c[p]),this.$=c[p-1];break;case 6:case 7:case 12:case 13:this.$=c[p];break;case 8:case 9:case 14:this.$=[];break;case 16:c[p].type="createParticipant",this.$=c[p];break;case 17:c[p-1].unshift({type:"boxStart",boxData:y.parseBoxData(c[p-2])}),c[p-1].push({type:"boxEnd",boxText:c[p-2]}),this.$=c[p-1];break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(c[p-2]),sequenceIndexStep:Number(c[p-1]),sequenceVisible:!0,signalType:y.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceIndex:Number(c[p-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:y.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:y.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:y.LINETYPE.AUTONUMBER};break;case 23:this.$={type:"activeStart",signalType:y.LINETYPE.ACTIVE_START,actor:c[p-1].actor};break;case 24:this.$={type:"activeEnd",signalType:y.LINETYPE.ACTIVE_END,actor:c[p-1].actor};break;case 30:y.setDiagramTitle(c[p].substring(6)),this.$=c[p].substring(6);break;case 31:y.setDiagramTitle(c[p].substring(7)),this.$=c[p].substring(7);break;case 32:this.$=c[p].trim(),y.setAccTitle(this.$);break;case 33:case 34:this.$=c[p].trim(),y.setAccDescription(this.$);break;case 35:c[p-1].unshift({type:"loopStart",loopText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.LOOP_START}),c[p-1].push({type:"loopEnd",loopText:c[p-2],signalType:y.LINETYPE.LOOP_END}),this.$=c[p-1];break;case 36:c[p-1].unshift({type:"rectStart",color:y.parseMessage(c[p-2]),signalType:y.LINETYPE.RECT_START}),c[p-1].push({type:"rectEnd",color:y.parseMessage(c[p-2]),signalType:y.LINETYPE.RECT_END}),this.$=c[p-1];break;case 37:c[p-1].unshift({type:"optStart",optText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.OPT_START}),c[p-1].push({type:"optEnd",optText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.OPT_END}),this.$=c[p-1];break;case 38:c[p-1].unshift({type:"altStart",altText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.ALT_START}),c[p-1].push({type:"altEnd",signalType:y.LINETYPE.ALT_END}),this.$=c[p-1];break;case 39:c[p-1].unshift({type:"parStart",parText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.PAR_START}),c[p-1].push({type:"parEnd",signalType:y.LINETYPE.PAR_END}),this.$=c[p-1];break;case 40:c[p-1].unshift({type:"parStart",parText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.PAR_OVER_START}),c[p-1].push({type:"parEnd",signalType:y.LINETYPE.PAR_END}),this.$=c[p-1];break;case 41:c[p-1].unshift({type:"criticalStart",criticalText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.CRITICAL_START}),c[p-1].push({type:"criticalEnd",signalType:y.LINETYPE.CRITICAL_END}),this.$=c[p-1];break;case 42:c[p-1].unshift({type:"breakStart",breakText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.BREAK_START}),c[p-1].push({type:"breakEnd",optText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.BREAK_END}),this.$=c[p-1];break;case 44:this.$=c[p-3].concat([{type:"option",optionText:y.parseMessage(c[p-1]),signalType:y.LINETYPE.CRITICAL_OPTION},c[p]]);break;case 46:this.$=c[p-3].concat([{type:"and",parText:y.parseMessage(c[p-1]),signalType:y.LINETYPE.PAR_AND},c[p]]);break;case 48:this.$=c[p-3].concat([{type:"else",altText:y.parseMessage(c[p-1]),signalType:y.LINETYPE.ALT_ELSE},c[p]]);break;case 49:c[p-3].draw="participant",c[p-3].type="addParticipant",c[p-3].description=y.parseMessage(c[p-1]),this.$=c[p-3];break;case 50:c[p-1].draw="participant",c[p-1].type="addParticipant",this.$=c[p-1];break;case 51:c[p-3].draw="actor",c[p-3].type="addParticipant",c[p-3].description=y.parseMessage(c[p-1]),this.$=c[p-3];break;case 52:case 57:c[p-1].draw="actor",c[p-1].type="addParticipant",this.$=c[p-1];break;case 53:c[p-1].type="destroyParticipant",this.$=c[p-1];break;case 54:c[p-3].draw="participant",c[p-3].type="addParticipant",c[p-3].description=y.parseMessage(c[p-1]),this.$=c[p-3];break;case 55:c[p-1].draw="participant",c[p-1].type="addParticipant",this.$=c[p-1];break;case 56:c[p-3].draw="actor",c[p-3].type="addParticipant",c[p-3].description=y.parseMessage(c[p-1]),this.$=c[p-3];break;case 58:this.$=[c[p-1],{type:"addNote",placement:c[p-2],actor:c[p-1].actor,text:c[p]}];break;case 59:c[p-2]=[].concat(c[p-1],c[p-1]).slice(0,2),c[p-2][0]=c[p-2][0].actor,c[p-2][1]=c[p-2][1].actor,this.$=[c[p-1],{type:"addNote",placement:y.PLACEMENT.OVER,actor:c[p-2].slice(0,2),text:c[p]}];break;case 60:this.$=[c[p-1],{type:"addLinks",actor:c[p-1].actor,text:c[p]}];break;case 61:this.$=[c[p-1],{type:"addALink",actor:c[p-1].actor,text:c[p]}];break;case 62:this.$=[c[p-1],{type:"addProperties",actor:c[p-1].actor,text:c[p]}];break;case 63:this.$=[c[p-1],{type:"addDetails",actor:c[p-1].actor,text:c[p]}];break;case 66:this.$=[c[p-2],c[p]];break;case 67:this.$=c[p];break;case 68:this.$=y.PLACEMENT.LEFTOF;break;case 69:this.$=y.PLACEMENT.RIGHTOF;break;case 70:this.$=[c[p-4],c[p-1],{type:"addMessage",from:c[p-4].actor,to:c[p-1].actor,signalType:c[p-3],msg:c[p],activate:!0},{type:"activeStart",signalType:y.LINETYPE.ACTIVE_START,actor:c[p-1].actor}];break;case 71:this.$=[c[p-4],c[p-1],{type:"addMessage",from:c[p-4].actor,to:c[p-1].actor,signalType:c[p-3],msg:c[p]},{type:"activeEnd",signalType:y.LINETYPE.ACTIVE_END,actor:c[p-4].actor}];break;case 72:this.$=[c[p-4],c[p-1],{type:"addMessage",from:c[p-4].actor,to:c[p-1].actor,signalType:c[p-3],msg:c[p],activate:!0,centralConnection:y.LINETYPE.CENTRAL_CONNECTION},{type:"centralConnection",signalType:y.LINETYPE.CENTRAL_CONNECTION,actor:c[p-1].actor}];break;case 73:this.$=[c[p-4],c[p-1],{type:"addMessage",from:c[p-4].actor,to:c[p-1].actor,signalType:c[p-2],msg:c[p],activate:!1,centralConnection:y.LINETYPE.CENTRAL_CONNECTION_REVERSE},{type:"centralConnectionReverse",signalType:y.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:c[p-4].actor}];break;case 74:this.$=[c[p-5],c[p-1],{type:"addMessage",from:c[p-5].actor,to:c[p-1].actor,signalType:c[p-3],msg:c[p],activate:!0,centralConnection:y.LINETYPE.CENTRAL_CONNECTION_DUAL},{type:"centralConnection",signalType:y.LINETYPE.CENTRAL_CONNECTION,actor:c[p-1].actor},{type:"centralConnectionReverse",signalType:y.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:c[p-5].actor}];break;case 75:this.$=[c[p-3],c[p-1],{type:"addMessage",from:c[p-3].actor,to:c[p-1].actor,signalType:c[p-2],msg:c[p]}];break;case 76:this.$={type:"addParticipant",actor:c[p-1],config:c[p]};break;case 77:this.$=c[p-1].trim();break;case 78:case 79:this.$={type:"addParticipant",actor:c[p]};break;case 80:this.$=y.LINETYPE.SOLID_OPEN;break;case 81:this.$=y.LINETYPE.DOTTED_OPEN;break;case 82:this.$=y.LINETYPE.SOLID;break;case 83:this.$=y.LINETYPE.SOLID_TOP;break;case 84:this.$=y.LINETYPE.SOLID_BOTTOM;break;case 85:this.$=y.LINETYPE.STICK_TOP;break;case 86:this.$=y.LINETYPE.STICK_BOTTOM;break;case 87:this.$=y.LINETYPE.SOLID_TOP_DOTTED;break;case 88:this.$=y.LINETYPE.SOLID_BOTTOM_DOTTED;break;case 89:this.$=y.LINETYPE.STICK_TOP_DOTTED;break;case 90:this.$=y.LINETYPE.STICK_BOTTOM_DOTTED;break;case 91:this.$=y.LINETYPE.SOLID_ARROW_TOP_REVERSE;break;case 92:this.$=y.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE;break;case 93:this.$=y.LINETYPE.STICK_ARROW_TOP_REVERSE;break;case 94:this.$=y.LINETYPE.STICK_ARROW_BOTTOM_REVERSE;break;case 95:this.$=y.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED;break;case 96:this.$=y.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED;break;case 97:this.$=y.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED;break;case 98:this.$=y.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED;break;case 99:this.$=y.LINETYPE.BIDIRECTIONAL_SOLID;break;case 100:this.$=y.LINETYPE.DOTTED;break;case 101:this.$=y.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 102:this.$=y.LINETYPE.SOLID_CROSS;break;case 103:this.$=y.LINETYPE.DOTTED_CROSS;break;case 104:this.$=y.LINETYPE.SOLID_POINT;break;case 105:this.$=y.LINETYPE.DOTTED_POINT;break;case 106:this.$=y.parseMessage(c[p].trim().substring(1));break}},"anonymous"),table:[{3:1,4:t,5:a,6:r},{1:[3]},{3:5,4:t,5:a,6:r},{3:6,4:t,5:a,6:r},e([1,4,5,10,14,15,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,51,53,54,56,61,62,63,64,73],i,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},e(M,[2,5]),{9:48,13:13,14:h,15:d,18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},e(M,[2,7]),e(M,[2,8]),e(M,[2,9]),e(M,[2,15]),{13:49,51:H,53:z,54:X},{16:[1,50]},{5:[1,51]},{5:[1,54],20:[1,52],21:[1,53]},{23:55,62:Z,73:W},{23:57,62:Z,73:W},{5:[1,58]},{5:[1,59]},{5:[1,60]},{5:[1,61]},{5:[1,62]},e(M,[2,30]),e(M,[2,31]),{33:[1,63]},{35:[1,64]},e(M,[2,34]),{16:[1,65]},{16:[1,66]},{16:[1,67]},{16:[1,68]},{16:[1,69]},{16:[1,70]},{16:[1,71]},{16:[1,72]},{23:73,55:74,62:Z,73:Mt},{23:76,55:77,62:Z,73:Mt},{23:78,62:Z,73:W},{69:79,72:[1,80],78:A,79:v,80:dt,81:st,82:K,83:mt,84:pe,85:Ee,86:ue,87:fe,88:_e,89:ge,90:xe,91:ye,92:Ie,93:Re,94:Oe,95:Le,96:be,97:me,98:Se,99:Ae,100:we,101:Ne,102:Pe,103:ke},{57:107,59:[1,108],67:[1,109],68:[1,110]},{23:111,62:Z,73:W},e([72,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103],De,{23:112,62:Z,73:W}),{23:113,62:Z,73:W},{23:114,62:Z,73:W},e([5,66,72,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104],ve),e(M,[2,6]),e(M,[2,16]),e(Pt,[2,10],{11:115}),e(M,[2,18]),{5:[1,117],20:[1,116]},{5:[1,118]},e(M,[2,22]),{5:[1,119]},e([5,52,66,104],De),{5:[1,120]},e(M,[2,25]),e(M,[2,26]),e(M,[2,27]),e(M,[2,28]),e(M,[2,29]),e(M,[2,32]),e(M,[2,33]),e(Bt,i,{7:121}),e(Bt,i,{7:122}),e(Bt,i,{7:123}),e(Ce,i,{41:124,7:125}),e($t,i,{43:126,7:127}),e($t,i,{7:127,43:128}),e(Me,i,{46:129,7:130}),e(Bt,i,{7:131}),{5:[1,133],52:[1,132]},{5:[1,135],52:[1,134]},e(jt,ve,{74:136,75:[1,137]}),{5:[1,139],52:[1,138]},{5:[1,141],52:[1,140]},{5:[1,142]},{23:146,62:Z,70:[1,143],71:[1,144],72:[1,145],73:W},{69:147,78:A,79:v,80:dt,81:st,82:K,83:mt,84:pe,85:Ee,86:ue,87:fe,88:_e,89:ge,90:xe,91:ye,92:Ie,93:Re,94:Oe,95:Le,96:be,97:me,98:Se,99:Ae,100:we,101:Ne,102:Pe,103:ke},e(F,[2,80]),e(F,[2,81]),e(F,[2,82]),e(F,[2,83]),e(F,[2,84]),e(F,[2,85]),e(F,[2,86]),e(F,[2,87]),e(F,[2,88]),e(F,[2,89]),e(F,[2,90]),e(F,[2,91]),e(F,[2,92]),e(F,[2,93]),e(F,[2,94]),e(F,[2,95]),e(F,[2,96]),e(F,[2,97]),e(F,[2,98]),e(F,[2,99]),e(F,[2,100]),e(F,[2,101]),e(F,[2,102]),e(F,[2,103]),e(F,[2,104]),e(F,[2,105]),{23:148,62:Z,73:W},{23:150,60:149,62:Z,73:W},e(Be,[2,68]),e(Be,[2,69]),{58:151,104:lt},{58:153,104:lt},{58:154,104:lt},{58:155,104:lt},{4:[1,158],5:[1,160],12:157,13:159,17:[1,156],51:H,53:z,54:X},{5:[1,161]},e(M,[2,20]),e(M,[2,21]),e(M,[2,23]),e(M,[2,24]),{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[1,162],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[1,163],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[1,164],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{17:[1,165]},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[2,47],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,50:[1,166],51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{17:[1,167]},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[2,45],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,49:[1,168],51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{17:[1,169]},{17:[1,170]},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[2,43],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,48:[1,171],51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[1,172],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{16:[1,173]},e(M,[2,50]),{16:[1,174]},e(M,[2,55]),e(jt,[2,76]),{76:[1,175]},{16:[1,176]},e(M,[2,52]),{16:[1,177]},e(M,[2,57]),e(M,[2,53]),{23:178,62:Z,73:W},{23:179,62:Z,73:W},{23:180,62:Z,73:W},{58:181,104:lt},{23:182,62:Z,72:[1,183],73:W},{58:184,104:lt},{58:185,104:lt},{66:[1,186],104:[2,67]},{5:[2,60]},{5:[2,106]},{5:[2,61]},{5:[2,62]},{5:[2,63]},e(M,[2,17]),e(Pt,[2,11]),{13:187,51:H,53:z,54:X},e(Pt,[2,13]),e(Pt,[2,14]),e(M,[2,19]),e(M,[2,35]),e(M,[2,36]),e(M,[2,37]),e(M,[2,38]),{16:[1,188]},e(M,[2,39]),{16:[1,189]},e(M,[2,40]),e(M,[2,41]),{16:[1,190]},e(M,[2,42]),{5:[1,191]},{5:[1,192]},{77:[1,193]},{5:[1,194]},{5:[1,195]},{58:196,104:lt},{58:197,104:lt},{58:198,104:lt},{5:[2,75]},{58:199,104:lt},{23:200,62:Z,73:W},{5:[2,58]},{5:[2,59]},{23:201,62:Z,73:W},e(Pt,[2,12]),e(Ce,i,{7:125,41:202}),e($t,i,{7:127,43:203}),e(Me,i,{7:130,46:204}),e(M,[2,49]),e(M,[2,54]),e(jt,[2,77]),e(M,[2,51]),e(M,[2,56]),{5:[2,70]},{5:[2,71]},{5:[2,72]},{5:[2,73]},{58:205,104:lt},{104:[2,66]},{17:[2,48]},{17:[2,46]},{17:[2,44]},{5:[2,74]}],defaultActions:{5:[2,1],6:[2,2],151:[2,60],152:[2,106],153:[2,61],154:[2,62],155:[2,63],181:[2,75],184:[2,58],185:[2,59],196:[2,70],197:[2,71],198:[2,72],199:[2,73],201:[2,66],202:[2,48],203:[2,46],204:[2,44],205:[2,74]},parseError:f(function(w,C){if(C.recoverable)this.trace(w);else{var D=new Error(w);throw D.hash=C,D}},"parseError"),parse:f(function(w){var C=this,D=[0],y=[],G=[null],c=[],kt=this.table,p="",Vt=0,Ye=0,lr=2,Ve=1,hr=c.slice.call(arguments,1),$=Object.create(this.lexer),It={yy:{}};for(var ee in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ee)&&(It.yy[ee]=this.yy[ee]);$.setInput(w,It.yy),It.yy.lexer=$,It.yy.parser=this,typeof $.yylloc>"u"&&($.yylloc={});var re=$.yylloc;c.push(re);var dr=$.options&&$.options.ranges;typeof It.yy.parseError=="function"?this.parseError=It.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Tr(ct){D.length=D.length-2*ct,G.length=G.length-ct,c.length=c.length-ct}f(Tr,"popStack");function We(){var ct;return ct=y.pop()||$.lex()||Ve,typeof ct!="number"&&(ct instanceof Array&&(y=ct,ct=y.pop()),ct=C.symbols_[ct]||ct),ct}f(We,"lex");for(var it,Rt,ht,ae,St={},Wt,Et,He,Ht;;){if(Rt=D[D.length-1],this.defaultActions[Rt]?ht=this.defaultActions[Rt]:((it===null||typeof it>"u")&&(it=We()),ht=kt[Rt]&&kt[Rt][it]),typeof ht>"u"||!ht.length||!ht[0]){var se="";Ht=[];for(Wt in kt[Rt])this.terminals_[Wt]&&Wt>lr&&Ht.push("'"+this.terminals_[Wt]+"'");$.showPosition?se="Parse error on line "+(Vt+1)+`:
2
2
  `+$.showPosition()+`
3
3
  Expecting `+Ht.join(", ")+", got '"+(this.terminals_[it]||it)+"'":se="Parse error on line "+(Vt+1)+": Unexpected "+(it==Ve?"end of input":"'"+(this.terminals_[it]||it)+"'"),this.parseError(se,{text:$.match,token:this.terminals_[it]||it,line:$.yylineno,loc:re,expected:Ht})}if(ht[0]instanceof Array&&ht.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Rt+", token: "+it);switch(ht[0]){case 1:D.push(it),G.push($.yytext),c.push($.yylloc),D.push(ht[1]),it=null,Ye=$.yyleng,p=$.yytext,Vt=$.yylineno,re=$.yylloc;break;case 2:if(Et=this.productions_[ht[1]][1],St.$=G[G.length-Et],St._$={first_line:c[c.length-(Et||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(Et||1)].first_column,last_column:c[c.length-1].last_column},dr&&(St._$.range=[c[c.length-(Et||1)].range[0],c[c.length-1].range[1]]),ae=this.performAction.apply(St,[p,Ye,Vt,It.yy,ht[1],G,c].concat(hr)),typeof ae<"u")return ae;Et&&(D=D.slice(0,-1*Et*2),G=G.slice(0,-1*Et),c=c.slice(0,-1*Et)),D.push(this.productions_[ht[1]][0]),G.push(St.$),c.push(St._$),He=kt[D[D.length-2]][D[D.length-1]],D.push(He);break;case 3:return!0}}return!0},"parse")},cr=(function(){var _t={EOF:1,parseError:f(function(C,D){if(this.yy.parser)this.yy.parser.parseError(C,D);else throw new Error(C)},"parseError"),setInput:f(function(w,C){return this.yy=C||this.yy||{},this._input=w,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:f(function(){var w=this._input[0];this.yytext+=w,this.yyleng++,this.offset++,this.match+=w,this.matched+=w;var C=w.match(/(?:\r\n?|\n).*/g);return C?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),w},"input"),unput:f(function(w){var C=w.length,D=w.split(/(?:\r\n?|\n)/g);this._input=w+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-C),this.offset-=C;var y=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),D.length-1&&(this.yylineno-=D.length-1);var G=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:D?(D.length===y.length?this.yylloc.first_column:0)+y[y.length-D.length].length-D[0].length:this.yylloc.first_column-C},this.options.ranges&&(this.yylloc.range=[G[0],G[0]+this.yyleng-C]),this.yyleng=this.yytext.length,this},"unput"),more:f(function(){return this._more=!0,this},"more"),reject:f(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:f(function(w){this.unput(this.match.slice(w))},"less"),pastInput:f(function(){var w=this.matched.substr(0,this.matched.length-this.match.length);return(w.length>20?"...":"")+w.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:f(function(){var w=this.match;return w.length<20&&(w+=this._input.substr(0,20-w.length)),(w.substr(0,20)+(w.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:f(function(){var w=this.pastInput(),C=new Array(w.length+1).join("-");return w+this.upcomingInput()+`