@intent-hq/web 2.359.0 → 2.360.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 (322) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/chunks/{Dwycp9kz.js → -UDhr0q5.js} +1 -1
  3. package/web/app/immutable/chunks/{DYd8nNWc.js → 1R56Qj8Y.js} +1 -1
  4. package/web/app/immutable/chunks/{DoZBqkYF.js → 32iKFv4-.js} +1 -1
  5. package/web/app/immutable/chunks/{Cl9D9QD8.js → 4f4S0sUh.js} +1 -1
  6. package/web/app/immutable/chunks/{j2jTU61E.js → 4kuiywlQ.js} +1 -1
  7. package/web/app/immutable/chunks/{0GiDyxSH.js → 5nGPNxrH.js} +1 -1
  8. package/web/app/immutable/chunks/{DrJhzfF1.js → 6HkyTXcq.js} +1 -1
  9. package/web/app/immutable/chunks/{B2VWtQXD.js → 8JflFTpI.js} +1 -1
  10. package/web/app/immutable/chunks/{BM8PGEcO.js → 9GiEkE-P.js} +1 -1
  11. package/web/app/immutable/chunks/{BjRCAf8X.js → 9y5vkRaS.js} +1 -1
  12. package/web/app/immutable/chunks/{C-KmDSVv.js → A91xcSiw.js} +1 -1
  13. package/web/app/immutable/chunks/{BR6nXvi2.js → B-wvdvfF.js} +1 -1
  14. package/web/app/immutable/chunks/{_KJ048jX.js → B2pIq9fg.js} +1 -1
  15. package/web/app/immutable/chunks/{D5XiG13m.js → B34oQCN1.js} +1 -1
  16. package/web/app/immutable/chunks/{8RYLPrR5.js → B3fJGWt9.js} +1 -1
  17. package/web/app/immutable/chunks/{C0HpRgD4.js → B4P8KmTp.js} +1 -1
  18. package/web/app/immutable/chunks/{C8BKrcE1.js → B4R_0jQo.js} +1 -1
  19. package/web/app/immutable/chunks/{vkhyqDoZ.js → B5IW1VlE.js} +1 -1
  20. package/web/app/immutable/chunks/{CzCt7LFa.js → B6OxFt0S.js} +1 -1
  21. package/web/app/immutable/chunks/{CS2E7BOf.js → B7KiQTDj.js} +2 -2
  22. package/web/app/immutable/chunks/{BDu_-2pO.js → B7hW9x49.js} +1 -1
  23. package/web/app/immutable/chunks/B8PCLBxN.js +1 -0
  24. package/web/app/immutable/chunks/{vKIItbxs.js → BBFx0QAL.js} +1 -1
  25. package/web/app/immutable/chunks/{CNjFQiNk.js → BBnLbsoD.js} +3 -3
  26. package/web/app/immutable/chunks/{CfdrPzuS.js → BCnWCh48.js} +3 -3
  27. package/web/app/immutable/chunks/{CeXrdQTj.js → BDrSOwDu.js} +1 -1
  28. package/web/app/immutable/chunks/{t1Reg1-l.js → BEJv0Pc9.js} +1 -1
  29. package/web/app/immutable/chunks/{GLifdN8w.js → BFPmZe29.js} +1 -1
  30. package/web/app/immutable/chunks/{Bff7OX_M.js → BFeZEby1.js} +1 -1
  31. package/web/app/immutable/chunks/{DNvbM_Jw.js → BFoEwS3N.js} +14 -14
  32. package/web/app/immutable/chunks/{DNhi2pnC.js → BGGHmOCQ.js} +1 -1
  33. package/web/app/immutable/chunks/{Bxt1GZdu.js → BHUOcy1d.js} +1 -1
  34. package/web/app/immutable/chunks/{BomWh1eD.js → BHlsW_o1.js} +1 -1
  35. package/web/app/immutable/chunks/{C-ZYRRid.js → BJtZTy_N.js} +1 -1
  36. package/web/app/immutable/chunks/{YNY2RV1c.js → BL0zmkuy.js} +1 -1
  37. package/web/app/immutable/chunks/{B_VapsyM.js → BLyqJ_tX.js} +1 -1
  38. package/web/app/immutable/chunks/{CVwloYeX.js → BMl2xNoL.js} +1 -1
  39. package/web/app/immutable/chunks/{-6O_hwvF.js → BNoTLiJq.js} +1 -1
  40. package/web/app/immutable/chunks/{B08-5Fsn.js → BOCQKOZ_.js} +1 -1
  41. package/web/app/immutable/chunks/{Bn81D_5T.js → BOWtLHmq.js} +1 -1
  42. package/web/app/immutable/chunks/{fXQtWVk2.js → BREs1pEK.js} +1 -1
  43. package/web/app/immutable/chunks/{Ci5YRbmm.js → BRT5I2VH.js} +1 -1
  44. package/web/app/immutable/chunks/{Clfqtwbt.js → BSWgqRaC.js} +1 -1
  45. package/web/app/immutable/chunks/{pYgZjzLi.js → BVSy1i1c.js} +1 -1
  46. package/web/app/immutable/chunks/{DB4pEg85.js → BVtazWzZ.js} +1 -1
  47. package/web/app/immutable/chunks/{CWnW1H_r.js → BWW2m17x.js} +1 -1
  48. package/web/app/immutable/chunks/{Blu36gU0.js → BX-wlbf1.js} +1 -1
  49. package/web/app/immutable/chunks/{DtAi5eiG.js → BX3Qm7r_.js} +1 -1
  50. package/web/app/immutable/chunks/{B7ID5lhM.js → BXVqjGzF.js} +1 -1
  51. package/web/app/immutable/chunks/{CfTOR9Xs.js → BY8Zvp_5.js} +1 -1
  52. package/web/app/immutable/chunks/{BghNeZnO.js → BYHyHMOf.js} +1 -1
  53. package/web/app/immutable/chunks/{DyM6oXRa.js → B_PtieXN.js} +1 -1
  54. package/web/app/immutable/chunks/{CmjC2IOn.js → BctdwcHy.js} +1 -1
  55. package/web/app/immutable/chunks/{lJ2hrkPe.js → Bd92b52s.js} +1 -1
  56. package/web/app/immutable/chunks/{CILpVksu.js → Bd_P-L3U.js} +2 -2
  57. package/web/app/immutable/chunks/{BDECMwd0.js → BdkhvtBn.js} +3 -3
  58. package/web/app/immutable/chunks/{XsqUZwYc.js → Be4cU-9x.js} +1 -1
  59. package/web/app/immutable/chunks/{CdQskv_M.js → BeCv1r50.js} +1 -1
  60. package/web/app/immutable/chunks/{C9k6syqr.js → BeJ9dLu2.js} +1 -1
  61. package/web/app/immutable/chunks/{C61zN4kC.js → BifMsF0g.js} +1 -1
  62. package/web/app/immutable/chunks/{jg75CCgI.js → BioI1i4g.js} +2 -2
  63. package/web/app/immutable/chunks/{utZHhb7g.js → BkAhwE4C.js} +1 -1
  64. package/web/app/immutable/chunks/{K9El2yPE.js → BkqaxMfg.js} +1 -1
  65. package/web/app/immutable/chunks/{DrjLBq4b.js → BkzHDegO.js} +2 -2
  66. package/web/app/immutable/chunks/{Dvz4y7lb.js → Bldr-p8H.js} +1 -1
  67. package/web/app/immutable/chunks/{BO1UvMYh.js → BmCHTIDH.js} +1 -1
  68. package/web/app/immutable/chunks/{D7Fu5qfY.js → BnE71Sxv.js} +1 -1
  69. package/web/app/immutable/chunks/{BKkJ5wmq.js → BoPOsJod.js} +1 -1
  70. package/web/app/immutable/chunks/{BEUX_9Gf.js → BpCBwtvA.js} +1 -1
  71. package/web/app/immutable/chunks/{Cqo5h0cq.js → BpE3z_V4.js} +1 -1
  72. package/web/app/immutable/chunks/{C3DfjxaV.js → BpozSsrs.js} +1 -1
  73. package/web/app/immutable/chunks/{Di9Z0x4r.js → BqCQZYkF.js} +1 -1
  74. package/web/app/immutable/chunks/{BNdkWvF7.js → BrbwH5yU.js} +1 -1
  75. package/web/app/immutable/chunks/{DvKZFqCo.js → Brujc5Qs.js} +1 -1
  76. package/web/app/immutable/chunks/{fPif4XLT.js → BsRAiU3M.js} +1 -1
  77. package/web/app/immutable/chunks/{BTTOyJaN.js → BsRUTEry.js} +1 -1
  78. package/web/app/immutable/chunks/{BUwnMspE.js → BsVek4ep.js} +1 -1
  79. package/web/app/immutable/chunks/{C0LUTbI7.js → Bsozz-8j.js} +1 -1
  80. package/web/app/immutable/chunks/{DJtAtlMe.js → Bst2sLeL.js} +1 -1
  81. package/web/app/immutable/chunks/{CFYbMOQh.js → BtWZ63FE.js} +1 -1
  82. package/web/app/immutable/chunks/{Da2l_kGL.js → BuHRLZKa.js} +1 -1
  83. package/web/app/immutable/chunks/{B5OEBl_F.js → Bvu_tazq.js} +1 -1
  84. package/web/app/immutable/chunks/{BibvkaKz.js → Bx2B90L7.js} +1 -1
  85. package/web/app/immutable/chunks/{EM0-8M4u.js → Bx903o6z.js} +1 -1
  86. package/web/app/immutable/chunks/{Chk2VmFC.js → BzFtQkIk.js} +1 -1
  87. package/web/app/immutable/chunks/{waNhHeBe.js → BzhmxD74.js} +1 -1
  88. package/web/app/immutable/chunks/{D1AHHNz_.js → C0GOL7QH.js} +1 -1
  89. package/web/app/immutable/chunks/{CjyYp1d6.js → C0s3H3cX.js} +1 -1
  90. package/web/app/immutable/chunks/{bDYVRgHv.js → C2Q_f-Ao.js} +1 -1
  91. package/web/app/immutable/chunks/{BN2Xx7qY.js → C2gV5GaR.js} +4 -4
  92. package/web/app/immutable/chunks/{CwN0y7xj.js → C54_KTzu.js} +4 -4
  93. package/web/app/immutable/chunks/{CMOu7J7m.js → C5hIBQ3i.js} +1 -1
  94. package/web/app/immutable/chunks/{BlfSgRgz.js → C6gTWqQd.js} +1 -1
  95. package/web/app/immutable/chunks/{C9g6kBvz.js → C7xMm-xs.js} +1 -1
  96. package/web/app/immutable/chunks/{CELWxQ_U.js → C8PDklve.js} +1 -1
  97. package/web/app/immutable/chunks/{CkjVC7MP.js → C9JwZT8z.js} +1 -1
  98. package/web/app/immutable/chunks/{B8TUirrt.js → C9m9xaQX.js} +1 -1
  99. package/web/app/immutable/chunks/{ZlUXDv9w.js → CB0BBmB3.js} +2 -2
  100. package/web/app/immutable/chunks/{BGfY3mAg.js → CB8Kg0_N.js} +1 -1
  101. package/web/app/immutable/chunks/{CQGkGXEd.js → CCW4xg3d.js} +1 -1
  102. package/web/app/immutable/chunks/{Ba7JIG6D.js → CCq7LQoR.js} +1 -1
  103. package/web/app/immutable/chunks/{o4jWsDx5.js → CDAGrCMS.js} +1 -1
  104. package/web/app/immutable/chunks/{CvCQt2D9.js → CDCwuoNC.js} +1 -1
  105. package/web/app/immutable/chunks/{BJrEWx4G.js → CEdXFb7B.js} +1 -1
  106. package/web/app/immutable/chunks/{CQeKyPfB.js → CFPO-Gdn.js} +1 -1
  107. package/web/app/immutable/chunks/{D3dCNwq6.js → CGpu-8LN.js} +4 -4
  108. package/web/app/immutable/chunks/{BiD0cL9w.js → CIBrW7Ku.js} +1 -1
  109. package/web/app/immutable/chunks/{wSDPkPFW.js → CIQ39w4Y.js} +1 -1
  110. package/web/app/immutable/chunks/{o7jQDkBd.js → CJD0yCmp.js} +1 -1
  111. package/web/app/immutable/chunks/{_9zJA_sE.js → CJftmRaI.js} +2 -2
  112. package/web/app/immutable/chunks/{CjCKLQJ9.js → CJmMm5OV.js} +3 -3
  113. package/web/app/immutable/chunks/{Cy1jfWDK.js → CJx5kB-H.js} +1 -1
  114. package/web/app/immutable/chunks/{wV3FJ8_B.js → CK9vN0Vx.js} +1 -1
  115. package/web/app/immutable/chunks/{DaBtQ4Rq.js → CKZSqILX.js} +1 -1
  116. package/web/app/immutable/chunks/{BhHMFSp2.js → CLN26_YU.js} +1 -1
  117. package/web/app/immutable/chunks/{yfZcC2N6.js → CMFCeNSK.js} +1 -1
  118. package/web/app/immutable/chunks/{tkvqiJWu.js → CMPYMsb3.js} +1 -1
  119. package/web/app/immutable/chunks/{Dqvqq37X.js → CMUpwbv3.js} +1 -1
  120. package/web/app/immutable/chunks/{DB3uT95Q.js → CMlZAr5p.js} +1 -1
  121. package/web/app/immutable/chunks/{B_41a3se.js → CNfKBI6L.js} +1 -1
  122. package/web/app/immutable/chunks/{BKY4Q0TT.js → CO3XLT45.js} +1 -1
  123. package/web/app/immutable/chunks/{BNSN6XCP.js → COnJo1Ps.js} +1 -1
  124. package/web/app/immutable/chunks/COqplkxR.js +1 -0
  125. package/web/app/immutable/chunks/{D_eImbVR.js → CS70Dx2B.js} +1 -1
  126. package/web/app/immutable/chunks/{DM_khyu7.js → CSKp9zzd.js} +1 -1
  127. package/web/app/immutable/chunks/{RqQMOZAT.js → CU4KWWbD.js} +1 -1
  128. package/web/app/immutable/chunks/{Dwp84kQu.js → CVmPa1mG.js} +1 -1
  129. package/web/app/immutable/chunks/{CabY5Ajz.js → CWwVTuEX.js} +1 -1
  130. package/web/app/immutable/chunks/{D_LNh-Ja.js → CWz2XNBO.js} +1 -1
  131. package/web/app/immutable/chunks/{Bzcuhxw_.js → CXFlWWO4.js} +1 -1
  132. package/web/app/immutable/chunks/{BFfFhR1D.js → CZ-QhNUI.js} +1 -1
  133. package/web/app/immutable/chunks/{G3F9ni6B.js → C_9mGNUw.js} +1 -1
  134. package/web/app/immutable/chunks/{ZY6P3elZ.js → Ca98gcvs.js} +1 -1
  135. package/web/app/immutable/chunks/{CEM8KTTx.js → Cak06Ipv.js} +1 -1
  136. package/web/app/immutable/chunks/{BtBvnlNb.js → Cb4SpXNJ.js} +1 -1
  137. package/web/app/immutable/chunks/{cw-15yhi.js → Cd1q1wWY.js} +1 -1
  138. package/web/app/immutable/chunks/{Dh18lLbG.js → CdEPpK5c.js} +1 -1
  139. package/web/app/immutable/chunks/{DR4IFZXy.js → CdIWJpFL.js} +1 -1
  140. package/web/app/immutable/chunks/{CMxGr_ey.js → CeXNhl9e.js} +1 -1
  141. package/web/app/immutable/chunks/{Dp6TtOQM.js → CgGU0gTh.js} +1 -1
  142. package/web/app/immutable/chunks/{MlkHiaSF.js → ChjOKBnG.js} +1 -1
  143. package/web/app/immutable/chunks/{C_ZgD3DB.js → Cho0-9KA.js} +1 -1
  144. package/web/app/immutable/chunks/{DfUAlDfK.js → Ci0DCXei.js} +1 -1
  145. package/web/app/immutable/chunks/{CwnD43Xy.js → CiPzAmKo.js} +1 -1
  146. package/web/app/immutable/chunks/{g7hC9VeO.js → CjPOxOh3.js} +1 -1
  147. package/web/app/immutable/chunks/{D-sEMjzy.js → CkWz1mLV.js} +1 -1
  148. package/web/app/immutable/chunks/{B0RvqECX.js → CkY0UrZh.js} +1 -1
  149. package/web/app/immutable/chunks/{CIOI2vcP.js → CkdaiT2c.js} +1 -1
  150. package/web/app/immutable/chunks/{FdrUgkC6.js → CktoO_4b.js} +1 -1
  151. package/web/app/immutable/chunks/{Dl4PtwLv.js → ClPEPp33.js} +1 -1
  152. package/web/app/immutable/chunks/{CQ2L5Zaq.js → CmQUy1iX.js} +1 -1
  153. package/web/app/immutable/chunks/Cn0dUMcV.js +1 -0
  154. package/web/app/immutable/chunks/{CrTnLjrr.js → Con90c3P.js} +1 -1
  155. package/web/app/immutable/chunks/{BWvY9nb-.js → CpYOvNz6.js} +1 -1
  156. package/web/app/immutable/chunks/{CZhfnI2G.js → Crm_Oabm.js} +1 -1
  157. package/web/app/immutable/chunks/{Ce7GGwjY.js → CsZJMlJ8.js} +1 -1
  158. package/web/app/immutable/chunks/{BZWFeX8A.js → CsxWziDD.js} +1 -1
  159. package/web/app/immutable/chunks/{DB5XpEWp.js → CukxP3bH.js} +1 -1
  160. package/web/app/immutable/chunks/{CIe_IdcQ.js → CurjThIN.js} +1 -1
  161. package/web/app/immutable/chunks/{C5SRkSUi.js → CwhU2GJj.js} +1 -1
  162. package/web/app/immutable/chunks/{DWHgu0is.js → CycTTYyM.js} +1 -1
  163. package/web/app/immutable/chunks/{DHAp2Kc0.js → CzX6D7dd.js} +1 -1
  164. package/web/app/immutable/chunks/{dvtB8PCn.js → CzaiY1Hd.js} +1 -1
  165. package/web/app/immutable/chunks/{6myNhyGM.js → CzxOAjWm.js} +1 -1
  166. package/web/app/immutable/chunks/{klnEQWHo.js → D0TCMhf8.js} +1 -1
  167. package/web/app/immutable/chunks/{C7eqIAuZ.js → D0bF1ewx.js} +1 -1
  168. package/web/app/immutable/chunks/{5wkpHjhE.js → D0j6Pw9H.js} +1 -1
  169. package/web/app/immutable/chunks/{Dla5GTQo.js → D2BBYrzr.js} +1 -1
  170. package/web/app/immutable/chunks/{CGVGh8Xh.js → D3nmUaz-.js} +1 -1
  171. package/web/app/immutable/chunks/{CvLyzc7I.js → D3rExJpy.js} +2 -2
  172. package/web/app/immutable/chunks/{lzlrZOOx.js → D6WUVWA7.js} +3 -3
  173. package/web/app/immutable/chunks/{BsfZKUyJ.js → D6ag701e.js} +1 -1
  174. package/web/app/immutable/chunks/{D5TVVdCO.js → D77SC-WI.js} +1 -1
  175. package/web/app/immutable/chunks/{B3gMfjd-.js → D79Xzbwc.js} +1 -1
  176. package/web/app/immutable/chunks/{CzOKs-9h.js → D7XN10mW.js} +1 -1
  177. package/web/app/immutable/chunks/{DhJiUMGh.js → D7saN_TE.js} +1 -1
  178. package/web/app/immutable/chunks/{DS1-LIJo.js → D88N7fik.js} +1 -1
  179. package/web/app/immutable/chunks/{D7S6-tcN.js → D9e6EkDi.js} +1 -1
  180. package/web/app/immutable/chunks/{DY_VgpBE.js → DA1JRBSr.js} +1 -1
  181. package/web/app/immutable/chunks/{CUgyGwcZ.js → DB1FUARM.js} +1 -1
  182. package/web/app/immutable/chunks/{XDFbJjVz.js → DB2nf3HK.js} +1 -1
  183. package/web/app/immutable/chunks/{D2C9COn-.js → DB5oJv4b.js} +2 -2
  184. package/web/app/immutable/chunks/{BQqk8D2k.js → DBeaWkI6.js} +1 -1
  185. package/web/app/immutable/chunks/{DkXhJ1BL.js → DCAdK-TK.js} +1 -1
  186. package/web/app/immutable/chunks/{YDiGw5NX.js → DDEi4ohI.js} +3 -3
  187. package/web/app/immutable/chunks/{BxzohA4k.js → DEFiLw0G.js} +1 -1
  188. package/web/app/immutable/chunks/{CW-B1B_2.js → DFA3fNuM.js} +1 -1
  189. package/web/app/immutable/chunks/{hpioGaKy.js → DFngs4Y1.js} +2 -2
  190. package/web/app/immutable/chunks/{10-QywS9.js → DG1-cBAz.js} +1 -1
  191. package/web/app/immutable/chunks/{Di3YCBTy.js → DKvrlewQ.js} +2 -2
  192. package/web/app/immutable/chunks/{CJGJtaIh.js → DLx-21ka.js} +1 -1
  193. package/web/app/immutable/chunks/{DVqlnAf4.js → DMDLNgZw.js} +1 -1
  194. package/web/app/immutable/chunks/{CZnzjQ8w.js → DNSvJh5E.js} +1 -1
  195. package/web/app/immutable/chunks/{DMicUhyp.js → DODIyxsG.js} +1 -1
  196. package/web/app/immutable/chunks/{BAB5cGdR.js → DP1Kxs4G.js} +1 -1
  197. package/web/app/immutable/chunks/{C-6RTvqK.js → DRfuH7ia.js} +1 -1
  198. package/web/app/immutable/chunks/{DJXbxolz.js → DSGWdxMc.js} +1 -1
  199. package/web/app/immutable/chunks/{BveCGFpc.js → DSgbJdfR.js} +1 -1
  200. package/web/app/immutable/chunks/{BosvHmXn.js → DT7EyIEo.js} +1 -1
  201. package/web/app/immutable/chunks/{C9c1XoGB.js → DTY9Anmi.js} +3 -3
  202. package/web/app/immutable/chunks/{ADgiB_JD.js → DTzZbirR.js} +1 -1
  203. package/web/app/immutable/chunks/{BwCXlNwV.js → DUUOaZUX.js} +1 -1
  204. package/web/app/immutable/chunks/{R_gbTJLb.js → DUyvq6BR.js} +1 -1
  205. package/web/app/immutable/chunks/{CdhsB6Tk.js → DYhAW_nh.js} +1 -1
  206. package/web/app/immutable/chunks/{CZuwX70n.js → DYv-ImbG.js} +1 -1
  207. package/web/app/immutable/chunks/{i6o2muyh.js → D_tjJvUn.js} +1 -1
  208. package/web/app/immutable/chunks/{DCDVRPan.js → Db1vsTVc.js} +1 -1
  209. package/web/app/immutable/chunks/{CLgO49-n.js → Dcity0ZX.js} +1 -1
  210. package/web/app/immutable/chunks/{BJKM0aco.js → DcsVySxU.js} +2 -2
  211. package/web/app/immutable/chunks/{DreRsNdo.js → DdAEgsrh.js} +2 -2
  212. package/web/app/immutable/chunks/{CbwoPYB3.js → DfCpph1F.js} +1 -1
  213. package/web/app/immutable/chunks/{DE2DQy0T.js → DfQtmVKc.js} +1 -1
  214. package/web/app/immutable/chunks/{By3Fe9OQ.js → DhbB133w.js} +1 -1
  215. package/web/app/immutable/chunks/{Uz0kppPo.js → DjkW13rw.js} +1 -1
  216. package/web/app/immutable/chunks/{g1QznGhp.js → DkGGr_35.js} +1 -1
  217. package/web/app/immutable/chunks/{C5Pv37ZW.js → DlVBS_bY.js} +1 -1
  218. package/web/app/immutable/chunks/{bqipvca_.js → DmOmVRF-.js} +1 -1
  219. package/web/app/immutable/chunks/{B_3LwjEE.js → DmSe6pPh.js} +1 -1
  220. package/web/app/immutable/chunks/{BFZDKSps.js → DmfXn75c.js} +1 -1
  221. package/web/app/immutable/chunks/{uDkSpspe.js → Dn7IHtB4.js} +1 -1
  222. package/web/app/immutable/chunks/{CmxpZd0C.js → DnR6iKmC.js} +1 -1
  223. package/web/app/immutable/chunks/{DsLK0lhE.js → Dqbu3Xgt.js} +1 -1
  224. package/web/app/immutable/chunks/{BnFk2thR.js → DqvZHD0T.js} +1 -1
  225. package/web/app/immutable/chunks/{BqUNG33_.js → DrPmlbuk.js} +1 -1
  226. package/web/app/immutable/chunks/{BPDm13z6.js → Drhk0kLj.js} +1 -1
  227. package/web/app/immutable/chunks/{BpJkEHyp.js → DsB0QHTZ.js} +1 -1
  228. package/web/app/immutable/chunks/{BgwmEIlo.js → DsDqvgC9.js} +2 -2
  229. package/web/app/immutable/chunks/{CUF6AFLj.js → Dt2PgbAx.js} +1 -1
  230. package/web/app/immutable/chunks/{XfZ7vUz0.js → DtrdP8PT.js} +1 -1
  231. package/web/app/immutable/chunks/{BduQZGB-.js → Dw86rOY4.js} +1 -1
  232. package/web/app/immutable/chunks/{CHJwDFbB.js → Dwc9p0hU.js} +1 -1
  233. package/web/app/immutable/chunks/{BH8Pvo2Y.js → DxFe9Sj2.js} +1 -1
  234. package/web/app/immutable/chunks/{BjE588G3.js → DzCNJq2j.js} +1 -1
  235. package/web/app/immutable/chunks/{CHwCT_tY.js → EBip0AWO.js} +1 -1
  236. package/web/app/immutable/chunks/{CyqRVYAu.js → ELAGDjsa.js} +6 -6
  237. package/web/app/immutable/chunks/{Dv95zz7s.js → F5q6OMDX.js} +1 -1
  238. package/web/app/immutable/chunks/{C-3h7Yfn.js → FNy8h0Ka.js} +1 -1
  239. package/web/app/immutable/chunks/{Bh3EI3zr.js → HjEy7vfo.js} +1 -1
  240. package/web/app/immutable/chunks/{CWYIb5h_.js → HxrItRGs.js} +1 -1
  241. package/web/app/immutable/chunks/{COizPexY.js → LQm_WUG-.js} +1 -1
  242. package/web/app/immutable/chunks/{CRQ7p08H.js → MNJDbe1l.js} +1 -1
  243. package/web/app/immutable/chunks/{ryJoABjA.js → MQB3-RUl.js} +1 -1
  244. package/web/app/immutable/chunks/{BRhTL40m.js → NtBDgvZ2.js} +1 -1
  245. package/web/app/immutable/chunks/NtxbXOxK.js +1 -0
  246. package/web/app/immutable/chunks/{CDthvhNa.js → O077287M.js} +1 -1
  247. package/web/app/immutable/chunks/{BldMt0qe.js → OJdRtUTM.js} +1 -1
  248. package/web/app/immutable/chunks/{BNxYYK1k.js → OfJYxV7d.js} +1 -1
  249. package/web/app/immutable/chunks/{YXtDIgke.js → OvgkhrA7.js} +1 -1
  250. package/web/app/immutable/chunks/{yFbmvZcp.js → P3QocI-G.js} +1 -1
  251. package/web/app/immutable/chunks/{BddjjpyI.js → S6AtfZPI.js} +1 -1
  252. package/web/app/immutable/chunks/{CUqDFxUi.js → SM6VUydw.js} +1 -1
  253. package/web/app/immutable/chunks/{Cq94dOBc.js → SXQhdPre.js} +1 -1
  254. package/web/app/immutable/chunks/{ByA2IWok.js → S_DaaRo9.js} +3 -3
  255. package/web/app/immutable/chunks/{q9ZyJAa1.js → SmHZXgwN.js} +1 -1
  256. package/web/app/immutable/chunks/{Bm2P91T0.js → UunyqK3Z.js} +1 -1
  257. package/web/app/immutable/chunks/{DiJNvptO.js → W6sF2Cur.js} +1 -1
  258. package/web/app/immutable/chunks/{wM59GHbh.js → WoXHXc-b.js} +1 -1
  259. package/web/app/immutable/chunks/{CLp5K2Cv.js → XFXlU9Ox.js} +1 -1
  260. package/web/app/immutable/chunks/{MqeYlZEc.js → Z14_HVFv.js} +1 -1
  261. package/web/app/immutable/chunks/{DRzVKoEr.js → ZdVOG1YL.js} +1 -1
  262. package/web/app/immutable/chunks/{DryREkHP.js → ZyHSqKKz.js} +1 -1
  263. package/web/app/immutable/chunks/{Cb35PO19.js → a-uzFDRe.js} +1 -1
  264. package/web/app/immutable/chunks/{BiVxPdNt.js → b_O4pZtc.js} +1 -1
  265. package/web/app/immutable/chunks/{WVUqAkKa.js → cNKe5jVM.js} +1 -1
  266. package/web/app/immutable/chunks/{BtE8ng9B.js → cPv_DFdy.js} +1 -1
  267. package/web/app/immutable/chunks/{DUpzlKAB.js → dRfjsn2g.js} +1 -1
  268. package/web/app/immutable/chunks/{B-Q3uU6_.js → frxcf8rJ.js} +1 -1
  269. package/web/app/immutable/chunks/{DgrkG05k.js → guxjwWAr.js} +1 -1
  270. package/web/app/immutable/chunks/{C2sr3EWe.js → h3NGlSjH.js} +1 -1
  271. package/web/app/immutable/chunks/{FQFJV7C0.js → h9OLCnwu.js} +1 -1
  272. package/web/app/immutable/chunks/{CCAjvk0X.js → hCt1V8jO.js} +3 -3
  273. package/web/app/immutable/chunks/{DqJHcisc.js → hLkstuSa.js} +1 -1
  274. package/web/app/immutable/chunks/{DCtyzj03.js → jSlXIbXa.js} +1 -1
  275. package/web/app/immutable/chunks/{DiW8XnY5.js → kBqzcezI.js} +1 -1
  276. package/web/app/immutable/chunks/{CMziHXPQ.js → kNipFpJ2.js} +1 -1
  277. package/web/app/immutable/chunks/{Fd-rEJnu.js → liwjXrkc.js} +1 -1
  278. package/web/app/immutable/chunks/{Dk51AkwK.js → oB7eN-Qf.js} +1 -1
  279. package/web/app/immutable/chunks/{Bn37CRsE.js → oIy1WGn7.js} +1 -1
  280. package/web/app/immutable/chunks/{BrJIlZXG.js → plaTXQg3.js} +1 -1
  281. package/web/app/immutable/chunks/{DrzhapyO.js → puisNM3r.js} +1 -1
  282. package/web/app/immutable/chunks/{BpMUTlD3.js → qW1_mixC.js} +1 -1
  283. package/web/app/immutable/chunks/{Bl7A2mT8.js → qzRpsGdv.js} +1 -1
  284. package/web/app/immutable/chunks/{BugaF9Gz.js → roVeGd8G.js} +1 -1
  285. package/web/app/immutable/chunks/{Bw4cxMjz.js → tU-erPwy.js} +1 -1
  286. package/web/app/immutable/chunks/{D5HWvTpD.js → tguQ0uKY.js} +1 -1
  287. package/web/app/immutable/chunks/{BTLBASJX.js → wZqQTU3s.js} +1 -1
  288. package/web/app/immutable/chunks/{D94cTefs.js → yerK1wE4.js} +3 -3
  289. package/web/app/immutable/chunks/{BL7BGzQb.js → z-LfKEyT.js} +1 -1
  290. package/web/app/immutable/chunks/{CNgTnn6E.js → zKe1EQER.js} +1 -1
  291. package/web/app/immutable/chunks/{CLGFCqMt.js → zsS-jFOF.js} +1 -1
  292. package/web/app/immutable/entry/{app.B_j9AtYN.js → app.xn8bouEy.js} +3 -3
  293. package/web/app/immutable/entry/start.8SWo5eaL.js +1 -0
  294. package/web/app/immutable/nodes/{0.DI5KXj3q.js → 0.Czkxq6nC.js} +1 -1
  295. package/web/app/immutable/nodes/{1.BvUSq5GT.js → 1.CO4mj6IJ.js} +1 -1
  296. package/web/app/immutable/nodes/{10.ybliADtC.js → 10.BComrAcc.js} +5 -5
  297. package/web/app/immutable/nodes/{11.CWdfbS9L.js → 11.CNzRS9fn.js} +1 -1
  298. package/web/app/immutable/nodes/{12.DSU3TNHa.js → 12.C2n7WplF.js} +1 -1
  299. package/web/app/immutable/nodes/{13.B395oPY5.js → 13.D60oIlHW.js} +1 -1
  300. package/web/app/immutable/nodes/{14.DPnho-i5.js → 14.RHTyY8ed.js} +3 -3
  301. package/web/app/immutable/nodes/{15.IPdMXrpa.js → 15.DXCA05Q9.js} +1 -1
  302. package/web/app/immutable/nodes/{16.Cw2bhRT9.js → 16.BHGcOoK4.js} +1 -1
  303. package/web/app/immutable/nodes/{17.B-8GZWIV.js → 17.DMb17SuB.js} +1 -1
  304. package/web/app/immutable/nodes/{18.B_8rjYQB.js → 18.DZXncr1W.js} +1 -1
  305. package/web/app/immutable/nodes/{19.xCKjx5de.js → 19.BtsQ8Lfg.js} +2 -2
  306. package/web/app/immutable/nodes/{2.4eqTbGC7.js → 2.9HsLNQbg.js} +4 -4
  307. package/web/app/immutable/nodes/{20.DOuPBU4q.js → 20.JY9Qq_nG.js} +1 -1
  308. package/web/app/immutable/nodes/{3.gnGgxc2q.js → 3.BlmNm3mg.js} +1 -1
  309. package/web/app/immutable/nodes/{4.DhWSCpDA.js → 4.Cpy2Xerc.js} +1 -1
  310. package/web/app/immutable/nodes/{5.D-CLZiU3.js → 5.DeXJEhFX.js} +1 -1
  311. package/web/app/immutable/nodes/{6.D8GgaYC7.js → 6.Bpl-_47P.js} +1 -1
  312. package/web/app/immutable/nodes/{7.CYuvhsU8.js → 7.B1PEqe7o.js} +1 -1
  313. package/web/app/immutable/nodes/{8.Cfa_YzNb.js → 8.DEBn-U8f.js} +1 -1
  314. package/web/app/immutable/nodes/{9.Cjn8-jSI.js → 9.DtFfiQ9-.js} +4 -4
  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/ClwCcrCE.js +0 -1
  319. package/web/app/immutable/chunks/D4MngzTk.js +0 -1
  320. package/web/app/immutable/chunks/DkN1HOvv.js +0 -1
  321. package/web/app/immutable/chunks/cRhti_97.js +0 -1
  322. package/web/app/immutable/entry/start.D5KmTXnC.js +0 -1
@@ -1 +1 @@
1
- import{t as B,bo as f,bw as T,bq as W,b as j,bm as q,bs as z}from"./D4MngzTk.js";import{bs as D,cd as L,ca as O,a7 as E,ay as F,W as d,bn as G,aA as h,aD as t,c9 as r,a5 as H,bl as J,bA as K,b_ as M,bO as N,aB as Q}from"./CJxGDkBm.js";import{i as R}from"./BqUNG33_.js";import{C as U}from"./DR4IFZXy.js";import{ds as V}from"./lJ2hrkPe.js";import{i as X}from"./H2jLkRRS.js";var Y=Q('<div class="flex flex-col items-center justify-center h-full text-subtle gap-4"><p class="text-sm"> </p></div>');function Z(c,o){if(new.target)return B({component:Z,...c});D(o,!0);const l=()=>z(b,"$workspace",m),[m,u]=W();let s=f(o,"tab",7),n=f(o,"workspaceId",7);const i=L(n());O(()=>{i.set(n())});const b=V(i),_=r(()=>l()?.worktreePath||l()?.repositoryPath||""),g=r(()=>s().data?.changes||[]),v=r(()=>s().data?.isAggregate||!1),w=r(()=>s().data?.agentId),k=r(()=>t(g).map(e=>{const a=e.filePath&&X(e.filePath)?e.filePath:`${t(_)}/${e.filePath}`;return{...e,filePath:a}}));var C={get tab(){return s()},set tab(e){s(e),h()},get workspaceId(){return n()},set workspaceId(e){n(e),h()},$set:T,$on:(e,a)=>j(o,e,a)},p=E(),y=F(p);{var P=e=>{U(e,{isLoading:!1,get changes(){return t(k)},get isAggregate(){return t(v)},get agentId(){return t(w)},showStagingControls:!0})},I=e=>{var a=Y(),A=H(a),$=J(A,!0);K(a),M(S=>N($,S),[()=>q.layout_chatChanges_noChanges_label()]),d(e,a)};R(y,e=>{t(g).length>0?e(P):e(I,-1)})}d(c,p);var x=G(C);return u(),x}export{Z as default};
1
+ import{t as B,bo as f,bw as T,bq as W,b as j,bm as q,bs as z}from"./NtxbXOxK.js";import{bs as D,cd as L,ca as O,a7 as E,ay as F,W as d,bn as G,aA as h,aD as t,c9 as r,a5 as H,bl as J,bA as K,b_ as M,bO as N,aB as Q}from"./CJxGDkBm.js";import{i as R}from"./DrPmlbuk.js";import{C as U}from"./CdIWJpFL.js";import{ds as V}from"./Bd92b52s.js";import{i as X}from"./H2jLkRRS.js";var Y=Q('<div class="flex flex-col items-center justify-center h-full text-subtle gap-4"><p class="text-sm"> </p></div>');function Z(c,o){if(new.target)return B({component:Z,...c});D(o,!0);const l=()=>z(b,"$workspace",m),[m,u]=W();let s=f(o,"tab",7),n=f(o,"workspaceId",7);const i=L(n());O(()=>{i.set(n())});const b=V(i),_=r(()=>l()?.worktreePath||l()?.repositoryPath||""),g=r(()=>s().data?.changes||[]),v=r(()=>s().data?.isAggregate||!1),w=r(()=>s().data?.agentId),k=r(()=>t(g).map(e=>{const a=e.filePath&&X(e.filePath)?e.filePath:`${t(_)}/${e.filePath}`;return{...e,filePath:a}}));var C={get tab(){return s()},set tab(e){s(e),h()},get workspaceId(){return n()},set workspaceId(e){n(e),h()},$set:T,$on:(e,a)=>j(o,e,a)},p=E(),y=F(p);{var P=e=>{U(e,{isLoading:!1,get changes(){return t(k)},get isAggregate(){return t(v)},get agentId(){return t(w)},showStagingControls:!0})},I=e=>{var a=Y(),A=H(a),$=J(A,!0);K(a),M(S=>N($,S),[()=>q.layout_chatChanges_noChanges_label()]),d(e,a)};R(y,e=>{t(g).length>0?e(P):e(I,-1)})}d(c,p);var x=G(C);return u(),x}export{Z as default};
@@ -1 +1 @@
1
- import{b as a,B as w,ay as x}from"./BN2Xx7qY.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"./C2gV5GaR.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,2 +1,2 @@
1
- import{t as zt,bo as ee,_ as Yr,bw as Lt,bs as ce,bq as ir,b as At,bm as c}from"./D4MngzTk.js";import{bs as Wt,ca as pe,aD as e,bH as f,a5 as T,bA as x,W as l,bn as Nt,bV as N,c9 as n,aA as te,c6 as Mt,ay as ne,be as Ze,b$ as tt,b_ as k,bO as g,bS as p,bl as C,aB as P,bj as Gr,aw as rt,ai as Jr,c5 as rr,a as yr,a7 as Ue,aj as gt,cd as Xr,br as Zr}from"./CJxGDkBm.js";import{i as Q}from"./BqUNG33_.js";import{k as Pr}from"./Cl9D9QD8.js";import{g as St}from"./DCtyzj03.js";import{c as Rt}from"./o4jWsDx5.js";import{b as $r}from"./NtFyWdpR.js";import{IS as U,nG as kr,vS as Ir,vR as Sr,L6 as Qr,L7 as ea,ex as ta,ey as ra,Ky as fr,lS as Xt,C0 as vr,sj as pr,o2 as aa,zE as oa,a7 as gr,Jp as ia,JF as na,nh as sa,iI as la,nI as da,vj as ca,z$ as ua,Kx as fa}from"./BwCXlNwV.js";import{g as va}from"./BrMXrCxP.js";import{a as pa,h as ga,j as ma,c as _a,d as ha,i as wa,e as ba,f as mr,g as xa,b as Zt}from"./DiJNvptO.js";import{bA as ya,bN as Pa,ds as $a}from"./lJ2hrkPe.js";import{w as _r,d as ka}from"./BGJLgHC7.js";import{f as Ia}from"./yfZcC2N6.js";import{k as Qt}from"./pYgZjzLi.js";import{f as Se}from"./DJtAtlMe.js";import{h as Sa}from"./BJKM0aco.js";import"./C3DfjxaV.js";import{s as at,g as It,f as hr}from"./DrzhapyO.js";import{F as et,ab as Ca,at as Fa,aY as Da,b2 as Ut,cs as Ta,ct as Ea,bl as Ra,cR as ja,c8 as Ma}from"./BddjjpyI.js";import{S as wr}from"./B8TUirrt.js";import{c as Ua}from"./ChTqQfQN.js";import"./BiVxPdNt.js";import{$ as Va}from"./DNvbM_Jw.js";import{i as er,b as za,a as La}from"./H2jLkRRS.js";import{C as ar,p as Aa}from"./CWYIb5h_.js";import{M as Wa}from"./BDECMwd0.js";import{l as tr,m as Cr}from"./Di9Z0x4r.js";import"./BM8PGEcO.js";import{E as Na}from"./BL7BGzQb.js";import{a as Ba}from"./DHAp2Kc0.js";import"./C-ZYRRid.js";import{M as jt}from"./CLp5K2Cv.js";import{V as Oa}from"./ryJoABjA.js";import{bT as Ha,b7 as qa}from"./D7S6-tcN.js";import{g as Ka}from"./waNhHeBe.js";import{G as Ya}from"./DWPd-rzt.js";import{g as Ga,W as Ja}from"./CFYbMOQh.js";import{b as Xa,h as Za}from"./Bxt1GZdu.js";import{t as Qa}from"./C9k6syqr.js";const Fr=U.createSelector((G,w)=>kr(G.pdfPreview.previews,w));var eo=P('<div class="flex shrink-0 flex-wrap items-center justify-center gap-2 border-b border-border p-2"><!> <span aria-live="polite"> </span> <!> <!> <span> </span> <!></div> <div class="min-h-0 flex-1 overflow-auto p-4"><canvas class="mx-auto block" role="img"></canvas></div>',1),to=P('<div class="flex h-full min-h-0 flex-col" data-testid="pdf-viewer"><!></div>');function or(G,w){if(new.target)return zt({component:or,...G});Wt(w,!0);const ye=()=>ce(we,"$preview",ot),[ot,re]=ir();let y=ee(w,"workspaceId",7),ae=ee(w,"filePath",7),Pe=ee(w,"gitRootId",7);const Ce=crypto.randomUUID(),we=Fr(Ce),ge=new WeakMap;let X=N(null),Ye=N(void 0),z=N(1),B=N(1),se=N(!0),me=N(!1),Fe=N(null),A=N(0);const be=n(()=>ye()?.error??e(Fe)),De=n(()=>e(be)==="missing"?c.file_pdf_missing_error():e(be)==="large"?c.file_pdf_large_error():e(be)==="invalid"?c.file_pdf_invalid_error():e(be)==="password"?c.file_pdf_password_error():c.file_pdf_load_error());pe(()=>{const d=y(),I=ae();e(A);const b=crypto.randomUUID();return U.dispatch(Ir(Ce,b,d,I,...Pe()?[{gitRootId:Pe()}]:[])),()=>{U.dispatch(Sr(Ce,b))}}),pe(()=>{const d=ye()?.url;let I=!1,b;if(f(X,null),f(Fe,null),f(se,!0),f(z,1),f(B,1),!!d)return(async()=>{try{const{loadPdfDocument:W}=await Yr(async()=>{const{loadPdfDocument:_e}=await import("./cb1JHFKl.js");return{loadPdfDocument:_e}},[],import.meta.url);if(I)return;b=W(d);const j=await b.promise;I||f(X,j)}catch(W){if(I)return;f(Fe,W instanceof Error&&W.name==="PasswordException"?"password":W instanceof Error&&W.name==="InvalidPDFException"?"invalid":"load",!0)}finally{I||f(se,!1)}})(),()=>{I=!0,b?.destroy()}}),pe(()=>{const d=e(X),I=e(Ye),b=e(z),W=e(B);if(!d||!I)return;let j=!1,_e,E;const oe=()=>{if(!E)return;const Y=(ge.get(E)??1)-1;Y?ge.set(E,Y):(ge.delete(E),E.cleanup()),E=void 0};return f(me,!0),(async()=>{try{if(E=await d.getPage(b),ge.set(E,(ge.get(E)??0)+1),j){oe();return}const Y=E.getViewport({scale:W}),Z=Math.min(window.devicePixelRatio||1,2,Math.sqrt(16e6/(Y.width*Y.height)));I.width=Math.ceil(Y.width*Z),I.height=Math.ceil(Y.height*Z),I.style.width=`${Y.width}px`,I.style.height=`${Y.height}px`,_e=E.render({canvas:I,viewport:Y,transform:[Z,0,0,Z,0,0]}),await _e.promise}catch{j||f(Fe,"invalid")}finally{j||f(me,!1)}})(),()=>{j=!0,_e?.cancel(),_e?_e.promise.then(oe,oe):oe()}});var Ne={get workspaceId(){return y()},set workspaceId(d){y(d),te()},get filePath(){return ae()},set filePath(d){ae(d),te()},get gitRootId(){return Pe()},set gitRootId(d){Pe(d),te()},$set:Lt,$on:(d,I)=>At(w,d,I)},Ve=to(),Be=T(Ve);{var o=d=>{{const I=W=>{Ze();var j=tt();k(()=>g(j,e(De))),l(W,j)};let b=n(()=>c.ui_combobox_retry_label());Na(d,{onRetry:()=>Mt(A),get retryLabel(){return e(b)},class:"m-auto",message:I,$$slots:{message:!0}})}},i=d=>{{let I=n(()=>c.file_pdf_loading_label());Ba(d,{get label(){return e(I)},count:1,class:"p-4"})}},F=d=>{var I=eo(),b=ne(I),W=T(b);{let ue=n(()=>e(z)<=1);Se(W,{variant:"ghost",size:"compact",get disabled(){return e(ue)},onclick:()=>Mt(z,-1),children:(Ee,ze)=>{Ze();var fe=tt();k(Le=>g(fe,Le),[()=>c.file_pdf_previous_label()]),l(Ee,fe)},$$slots:{default:!0}})}var j=p(W,2),_e=C(j,!0),E=p(j,2);{let ue=n(()=>e(z)>=e(X).numPages);Se(E,{variant:"ghost",size:"compact",get disabled(){return e(ue)},onclick:()=>Mt(z),children:(Ee,ze)=>{Ze();var fe=tt();k(Le=>g(fe,Le),[()=>c.file_pdf_next_label()]),l(Ee,fe)},$$slots:{default:!0}})}var oe=p(E,2);{let ue=n(()=>e(B)<=.25);Se(oe,{variant:"ghost",size:"compact",get disabled(){return e(ue)},onclick:()=>f(B,Math.max(.25,e(B)-.25),!0),children:(Ee,ze)=>{Ze();var fe=tt();k(Le=>g(fe,Le),[()=>c.editor_fileViewer_zoomOut_tooltip()]),l(Ee,fe)},$$slots:{default:!0}})}var Y=p(oe,2),Z=C(Y,!0),it=p(Y,2);{let ue=n(()=>e(B)>=3);Se(it,{variant:"ghost",size:"compact",get disabled(){return e(ue)},onclick:()=>f(B,Math.min(3,e(B)+.25),!0),children:(Ee,ze)=>{Ze();var fe=tt();k(Le=>g(fe,Le),[()=>c.editor_fileViewer_zoomIn_tooltip()]),l(Ee,fe)},$$slots:{default:!0}})}x(b);var nt=p(b,2),st=T(nt);let ut;$r(st,ue=>f(Ye,ue),()=>e(Ye)),x(nt),k((ue,Ee,ze)=>{g(_e,ue),g(Z,Ee),at(nt,"aria-busy",e(me)),at(st,"aria-label",ze),ut=It(st,"",ut,{visibility:e(me)?"hidden":"visible"})},[()=>c.file_pdf_page_label({page:tr(e(z)),total:tr(e(X).numPages)}),()=>Cr(e(B),{style:"percent"}),()=>c.file_pdf_canvas_ariaLabel({name:ae(),page:tr(e(z))})]),l(d,I)};Q(Be,d=>{e(be)?d(o):e(se)||ye()?.status==="loading"?d(i,1):e(X)&&d(F,2)})}x(Ve),l(G,Ve);var Te=Nt(Ne);return re(),Te}const ro=U.createSelector((G,w)=>kr(G.videoPreview.previews,w));var ao=P('<p role="status"> </p>'),oo=P('<p role="alert"> </p>'),io=P('<div class="flex flex-col items-center gap-3 p-6 text-center text-sm text-subtle"><p class="break-all"> </p> <!> <!></div>'),no=P('<video controls="" preload="metadata" playsinline="" class="max-w-full max-h-full" data-testid="file-video"> </video>',2),so=P('<div class="min-h-0 flex-1 flex items-center justify-center bg-background"><!></div>');function Dr(G,w){if(new.target)return zt({component:Dr,...G});Wt(w,!0);const ye=()=>ce(Ye,"$preview",ot),[ot,re]=ir();let y=ee(w,"sourceUrl",7),ae=ee(w,"fileName",7),Pe=ee(w,"allowDownload",7),Ce=ee(w,"downloading",7),we=ee(w,"onDownload",7),ge=N(null);const X=crypto.randomUUID(),Ye=ro(X),z=n(()=>ye()?.status==="loading"),B=n(()=>e(ge)??ye()?.error);let se=!1,me=!1;Gr(()=>{me=!0,U.dispatch(Qr(X))});function Fe(){if(me||e(z))return;const i=y().startsWith("workspace-file://")?new URL(y()):null;if(se||!i||!i.pathname.toLowerCase().endsWith(".mp4")){f(ge,"unsupported");return}se=!0,i.searchParams.set("preview","h264"),U.dispatch(ea(X,i.hostname,i.toString()))}function A(i){if(me)return;const F=i.currentTarget.error?.code;F===2?f(ge,"network"):F!==1&&Fe()}var be={get sourceUrl(){return y()},set sourceUrl(i){y(i),te()},get fileName(){return ae()},set fileName(i){ae(i),te()},get allowDownload(){return Pe()},set allowDownload(i){Pe(i),te()},get downloading(){return Ce()},set downloading(i){Ce(i),te()},get onDownload(){return we()},set onDownload(i){we(i),te()},$set:Lt,$on:(i,F)=>At(w,i,F)},De=so(),Ne=T(De);{var Ve=i=>{var F=io(),Te=T(F),d=C(Te,!0),I=p(Te,2);{var b=E=>{var oe=ao(),Y=C(oe,!0);k(Z=>g(Y,Z),[()=>c.editor_fileViewer_videoPreparing_label()]),l(E,oe)},W=E=>{var oe=oo(),Y=C(oe,!0);k(Z=>g(Y,Z),[()=>e(B)==="network"?c.editor_fileViewer_videoLoad_error():c.editor_fileViewer_videoUnsupported_label()]),l(E,oe)};Q(I,E=>{e(z)?E(b):E(W,-1)})}var j=p(I,2);{var _e=E=>{Se(E,{variant:"secondary",size:"sm",get onclick(){return we()},get disabled(){return Ce()},children:(oe,Y)=>{Ze();var Z=tt();k(it=>g(Z,it),[()=>c.layout_fileTab_downloadFile_label()]),l(oe,Z)},$$slots:{default:!0}})};Q(j,E=>{Pe()&&E(_e)})}x(F),k(()=>g(d,ae())),l(i,F)},Be=i=>{var F=no(),Te=C(F,!0);k(d=>{at(F,"src",ye()?.url??y()),g(Te,d)},[()=>c.editor_fileViewer_videoUnsupported_label()]),rt("error",F,A),rt("loadedmetadata",F,d=>{d.currentTarget.videoWidth===0&&Fe()}),l(i,F)};Q(Ne,i=>{e(B)||e(z)?i(Ve):i(Be,-1)})}x(De),l(G,De);var o=Nt(be);return re(),o}var lo=P('<!> <span class="text-xs text-subtle min-w-[50px] text-center"> </span> <!> <div class="w-px h-5 bg-border mx-1"></div>',1),co=P('<div class="min-h-0 flex-1 flex flex-col"><div class="flex items-center gap-2 p-2 border-b border-border bg-muted/30"><!> <!> <div class="w-px h-5 bg-border mx-1"></div> <!> <!> <div class="ml-auto text-xs text-subtle"> </div></div> <div><img draggable="false" class="max-w-full max-h-full object-contain"/></div></div>'),uo=P('<div class="min-h-0 flex-1 flex flex-col"><div class="flex items-center gap-2 p-2 border-b border-border bg-muted/30"><!> <!> <div class="ml-auto text-xs text-subtle"> </div></div> <div><img draggable="false" class="max-w-full max-h-full object-contain"/></div></div>'),fo=P('<div class="flex-1 flex flex-col items-center justify-center p-8"><div class="text-subtle mb-4"><svg class="w-24 h-24" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 19V6l12-3v13M9 19c0 1.105-1.343 2-3 2s-3-.895-3-2 1.343-2 3-2 3 .895 3 2zm12-3c0 1.105-1.343 2-3 2s-3-.895-3-2 1.343-2 3-2 3 .895 3 2zM9 10l12-3"></path></svg></div> <div class="text-sm text-subtle mb-4"> </div> <audio controls="" class="w-full max-w-md"><source/> </audio></div>'),vo=P("<!> ",1),po=P('<div class="flex-1 flex flex-col items-center justify-center p-8"><div class="text-subtle mb-4"><svg class="w-24 h-24" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 21h10a2 2 0 002-2V9.414a1 1 0 00-.293-.707l-5.414-5.414A1 1 0 0012.586 3H7a2 2 0 00-2 2v14a2 2 0 002 2z"></path></svg></div> <p class="text-sm text-subtle mb-4"> </p> <!></div>'),go=P('<th class="border border-border px-2 py-1 text-left text-xs font-medium bg-muted"> </th>'),mo=P('<td class="border border-border px-2 py-1 text-xs"> </td>'),_o=P("<tr></tr>"),ho=P('<div class="flex-1 overflow-auto p-4"><table class="w-full border-collapse"><thead><tr></tr></thead><tbody></tbody></table></div>'),wo=P('<div class="flex-1 flex flex-col items-center justify-center p-8"><div class="text-subtle mb-4"><svg class="w-24 h-24" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M20 13V6a2 2 0 00-2-2H6a2 2 0 00-2 2v7m16 0v5a2 2 0 01-2 2H6a2 2 0 01-2-2v-5m16 0h-2.586a1 1 0 00-.707.293l-2.414 2.414a1 1 0 01-.707.293h-3.172a1 1 0 01-.707-.293l-2.414-2.414A1 1 0 006.586 13H4"></path></svg></div> <p class="text-sm text-subtle mb-2"> </p> <p class="text-xs text-subtle"> </p></div>'),bo=P('<div class="flex-1 flex flex-col items-center justify-center p-8"><div class="text-subtle mb-4"><svg class="w-24 h-24" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 3v2m6-2v2M9 19v2m6-2v2M5 9H3m2 6H3m18-6h-2m2 6h-2M7 19h10a2 2 0 002-2V7a2 2 0 00-2-2H7a2 2 0 00-2 2v10a2 2 0 002 2zM9 9h6v6H9V9z"></path></svg></div> <p class="text-sm text-subtle mb-2"> </p> <p class="text-xs text-subtle"> </p></div>'),xo=P('<div class="h-full flex flex-col"><!></div>');function Vt(G,w){if(new.target)return zt({component:Vt,...G});Wt(w,!0);const ye=t=>{var a=lo(),u=ne(a);{let O=n(()=>c.editor_fileViewer_zoomOut_tooltip());Se(u,{size:"icon",variant:"ghost",class:"h-7 w-7",onclick:oe,get title(){return e(O)},children:(D,V)=>{et(D,{get icon(){return Ta},size:"sm"})},$$slots:{default:!0}})}var m=p(u,2),h=C(m,!0),R=p(m,2);{let O=n(()=>c.editor_fileViewer_zoomIn_tooltip());Se(R,{size:"icon",variant:"ghost",class:"h-7 w-7",onclick:E,get title(){return e(O)},children:(D,V)=>{et(D,{get icon(){return Ea},size:"sm"})},$$slots:{default:!0}})}Ze(2),k(()=>g(h,e(Fe))),l(t,a)},ot=Ua("FileViewer");let re=ee(w,"filePath",7),y=ee(w,"fileContent",7,""),ae=ee(w,"sourceUrl",7),Pe=ee(w,"language",7),Ce=ee(w,"isBinary",7),we=ee(w,"allowDownload",7,!0),ge=ee(w,"onDownload",7),X=ee(w,"downloading",7,!1);const Ye=t=>{const a=t.split(".").pop()?.toLowerCase()||"";return["png","jpg","jpeg","gif","webp","bmp","ico","avif"].includes(a)?"image":a==="svg"?"svg":["mp4","webm","ogg","mov","avi"].includes(a)?"video":["mp3","wav","ogg","m4a","flac"].includes(a)?"audio":a==="pdf"?"pdf":["md","markdown"].includes(a)?"markdown":a==="json"?"json":a==="csv"?"csv":["yaml","yml"].includes(a)?"yaml":a==="xml"?"xml":["zip","tar","gz","rar","7z","bz2"].includes(a)?"archive":["exe","dll","so","dylib","wasm"].includes(a)?"binary":"text"},z=n(()=>Ye(re())),B=n(()=>re().split("/").pop()||c.editor_fileViewer_unknown_fallback());let se=N(100),me=N(0);const Fe=n(()=>Cr(e(se)/100,{style:"percent",maximumFractionDigits:0}));let A=N(!1),be=N(0),De=N(0),Ne=N(0),Ve=N(0),Be=N(!1),o=null;function i(){const t=o;o=null,f(Be,!1),t?.viewport.hasPointerCapture(t.pointerId)&&t.viewport.releasePointerCapture(t.pointerId)}function F(t){if(t.button!==0||!t.isPrimary||o)return;const a=t.currentTarget;a.setPointerCapture(t.pointerId),o={pointerId:t.pointerId,x:t.clientX,y:t.clientY,viewport:a},f(Be,!0),t.preventDefault()}function Te(t){if(!(!o||t.pointerId!==o.pointerId)){if((t.buttons&1)===0){i();return}f(Ne,o.viewport.scrollLeft,!0),f(Ve,o.viewport.scrollTop,!0),f(be,e(be)+(t.clientX-o.x)),f(De,e(De)+(t.clientY-o.y)),o.x=t.clientX,o.y=t.clientY}}function d(t){t.pointerId===o?.pointerId&&i()}pe(()=>{re(),ae(),e(se),e(me),f(Ne,0),f(Ve,0)}),pe(()=>(re(),ae(),rr(()=>{i(),f(be,0),f(De,0)}),i));const I=t=>{const a=t.split(".").pop()?.toLowerCase();return a==="jpg"||a==="jpeg"?"image/jpeg":a==="png"?"image/png":a==="gif"?"image/gif":a==="webp"?"image/webp":"application/octet-stream"},b=t=>{const a=t.split(".").pop()?.toLowerCase();if(a==="mp4")return"video/mp4";if(a==="webm")return"video/webm"},W=()=>{if(ae())return ae();if(typeof y()=="string")return y().startsWith("data:")||y().startsWith("http")?y():Ce()?`data:${I(re())};base64,${y()}`:`data:${I(re())};base64,${y()}`;if(y()instanceof ArrayBuffer){const a=new Uint8Array(y()).reduce((m,h)=>m+String.fromCharCode(h),""),u=btoa(a);return`data:${I(re())};base64,${u}`}return""},j=()=>{if(ae())return ae();const t=b(re());if(!t)return"";if(typeof y()=="string")return y().startsWith("data:")||y().startsWith("http")?y():`data:${t};base64,${y()}`;const a=new Uint8Array(y()),u=[],m=32768;for(let h=0;h<a.length;h+=m)u.push(String.fromCharCode(...a.subarray(h,h+m)));return`data:${t};base64,${btoa(u.join(""))}`},_e=()=>{const t=typeof y()=="string"?new TextEncoder().encode(y()):new Uint8Array(y()),a=[],u=32768;for(let m=0;m<t.length;m+=u)a.push(String.fromCharCode(...t.subarray(m,m+u)));return`data:image/svg+xml;base64,${btoa(a.join(""))}`},E=()=>{f(se,Math.min(e(se)+25,500),!0)},oe=()=>{f(se,Math.max(e(se)-25,25),!0)},Y=()=>{f(me,(e(me)+90)%360)},Z=()=>{if(!we()||X())return;if(ge()){ge()();return}const t=document.createElement("a");t.href=e(z)==="video"?j():e(z)==="svg"?_e():W(),t.download=e(B),t.click()},it=async()=>{try{const t=W(),a=new Image;a.crossOrigin="anonymous";const u=await new Promise((m,h)=>{a.onload=()=>{const R=document.createElement("canvas");R.width=a.naturalWidth,R.height=a.naturalHeight;const O=R.getContext("2d");if(!O){h(new Error("Failed to get canvas context"));return}O.drawImage(a,0,0),R.toBlob(D=>{D?m(D):h(new Error("Failed to create blob from canvas"))},"image/png",1)},a.onerror=()=>h(new Error("Failed to load image")),a.src=t});await navigator.clipboard.write([new ClipboardItem({"image/png":u})]),f(A,!0),setTimeout(()=>f(A,!1),2e3)}catch(t){ot.error("Failed to copy image:",t)}},nt=t=>{try{const a=JSON.parse(t);return JSON.stringify(a,null,2)}catch{return t}},st=t=>t.split(`
1
+ import{t as zt,bo as ee,_ as Yr,bw as Lt,bs as ce,bq as ir,b as At,bm as c}from"./NtxbXOxK.js";import{bs as Wt,ca as pe,aD as e,bH as f,a5 as T,bA as x,W as l,bn as Nt,bV as N,c9 as n,aA as te,c6 as Mt,ay as ne,be as Ze,b$ as tt,b_ as k,bO as g,bS as p,bl as C,aB as P,bj as Gr,aw as rt,ai as Jr,c5 as rr,a as yr,a7 as Ue,aj as gt,cd as Xr,br as Zr}from"./CJxGDkBm.js";import{i as Q}from"./DrPmlbuk.js";import{k as Pr}from"./4f4S0sUh.js";import{g as St}from"./jSlXIbXa.js";import{c as Rt}from"./CDAGrCMS.js";import{b as $r}from"./NtFyWdpR.js";import{IS as U,nG as kr,vS as Ir,vR as Sr,L6 as Qr,L7 as ea,ex as ta,ey as ra,Ky as fr,lS as Xt,C0 as vr,sj as pr,o2 as aa,zE as oa,a7 as gr,Jp as ia,JF as na,nh as sa,iI as la,nI as da,vj as ca,z$ as ua,Kx as fa}from"./DUUOaZUX.js";import{g as va}from"./BrMXrCxP.js";import{a as pa,h as ga,j as ma,c as _a,d as ha,i as wa,e as ba,f as mr,g as xa,b as Zt}from"./W6sF2Cur.js";import{bA as ya,bN as Pa,ds as $a}from"./Bd92b52s.js";import{w as _r,d as ka}from"./BGJLgHC7.js";import{f as Ia}from"./CMFCeNSK.js";import{k as Qt}from"./BVSy1i1c.js";import{f as Se}from"./Bst2sLeL.js";import{h as Sa}from"./DcsVySxU.js";import"./BpozSsrs.js";import{s as at,g as It,f as hr}from"./puisNM3r.js";import{F as et,ab as Ca,at as Fa,aY as Da,b2 as Ut,cs as Ta,ct as Ea,bl as Ra,cR as ja,c8 as Ma}from"./S6AtfZPI.js";import{S as wr}from"./C9m9xaQX.js";import{c as Ua}from"./ChTqQfQN.js";import"./b_O4pZtc.js";import{$ as Va}from"./BFoEwS3N.js";import{i as er,b as za,a as La}from"./H2jLkRRS.js";import{C as ar,p as Aa}from"./HxrItRGs.js";import{M as Wa}from"./BdkhvtBn.js";import{l as tr,m as Cr}from"./BqCQZYkF.js";import"./9GiEkE-P.js";import{E as Na}from"./z-LfKEyT.js";import{a as Ba}from"./CzX6D7dd.js";import"./BJtZTy_N.js";import{M as jt}from"./XFXlU9Ox.js";import{V as Oa}from"./MQB3-RUl.js";import{bT as Ha,b7 as qa}from"./D9e6EkDi.js";import{g as Ka}from"./BzhmxD74.js";import{G as Ya}from"./DWPd-rzt.js";import{g as Ga,W as Ja}from"./BtWZ63FE.js";import{b as Xa,h as Za}from"./BHUOcy1d.js";import{t as Qa}from"./BeJ9dLu2.js";const Fr=U.createSelector((G,w)=>kr(G.pdfPreview.previews,w));var eo=P('<div class="flex shrink-0 flex-wrap items-center justify-center gap-2 border-b border-border p-2"><!> <span aria-live="polite"> </span> <!> <!> <span> </span> <!></div> <div class="min-h-0 flex-1 overflow-auto p-4"><canvas class="mx-auto block" role="img"></canvas></div>',1),to=P('<div class="flex h-full min-h-0 flex-col" data-testid="pdf-viewer"><!></div>');function or(G,w){if(new.target)return zt({component:or,...G});Wt(w,!0);const ye=()=>ce(we,"$preview",ot),[ot,re]=ir();let y=ee(w,"workspaceId",7),ae=ee(w,"filePath",7),Pe=ee(w,"gitRootId",7);const Ce=crypto.randomUUID(),we=Fr(Ce),ge=new WeakMap;let X=N(null),Ye=N(void 0),z=N(1),B=N(1),se=N(!0),me=N(!1),Fe=N(null),A=N(0);const be=n(()=>ye()?.error??e(Fe)),De=n(()=>e(be)==="missing"?c.file_pdf_missing_error():e(be)==="large"?c.file_pdf_large_error():e(be)==="invalid"?c.file_pdf_invalid_error():e(be)==="password"?c.file_pdf_password_error():c.file_pdf_load_error());pe(()=>{const d=y(),I=ae();e(A);const b=crypto.randomUUID();return U.dispatch(Ir(Ce,b,d,I,...Pe()?[{gitRootId:Pe()}]:[])),()=>{U.dispatch(Sr(Ce,b))}}),pe(()=>{const d=ye()?.url;let I=!1,b;if(f(X,null),f(Fe,null),f(se,!0),f(z,1),f(B,1),!!d)return(async()=>{try{const{loadPdfDocument:W}=await Yr(async()=>{const{loadPdfDocument:_e}=await import("./cb1JHFKl.js");return{loadPdfDocument:_e}},[],import.meta.url);if(I)return;b=W(d);const j=await b.promise;I||f(X,j)}catch(W){if(I)return;f(Fe,W instanceof Error&&W.name==="PasswordException"?"password":W instanceof Error&&W.name==="InvalidPDFException"?"invalid":"load",!0)}finally{I||f(se,!1)}})(),()=>{I=!0,b?.destroy()}}),pe(()=>{const d=e(X),I=e(Ye),b=e(z),W=e(B);if(!d||!I)return;let j=!1,_e,E;const oe=()=>{if(!E)return;const Y=(ge.get(E)??1)-1;Y?ge.set(E,Y):(ge.delete(E),E.cleanup()),E=void 0};return f(me,!0),(async()=>{try{if(E=await d.getPage(b),ge.set(E,(ge.get(E)??0)+1),j){oe();return}const Y=E.getViewport({scale:W}),Z=Math.min(window.devicePixelRatio||1,2,Math.sqrt(16e6/(Y.width*Y.height)));I.width=Math.ceil(Y.width*Z),I.height=Math.ceil(Y.height*Z),I.style.width=`${Y.width}px`,I.style.height=`${Y.height}px`,_e=E.render({canvas:I,viewport:Y,transform:[Z,0,0,Z,0,0]}),await _e.promise}catch{j||f(Fe,"invalid")}finally{j||f(me,!1)}})(),()=>{j=!0,_e?.cancel(),_e?_e.promise.then(oe,oe):oe()}});var Ne={get workspaceId(){return y()},set workspaceId(d){y(d),te()},get filePath(){return ae()},set filePath(d){ae(d),te()},get gitRootId(){return Pe()},set gitRootId(d){Pe(d),te()},$set:Lt,$on:(d,I)=>At(w,d,I)},Ve=to(),Be=T(Ve);{var o=d=>{{const I=W=>{Ze();var j=tt();k(()=>g(j,e(De))),l(W,j)};let b=n(()=>c.ui_combobox_retry_label());Na(d,{onRetry:()=>Mt(A),get retryLabel(){return e(b)},class:"m-auto",message:I,$$slots:{message:!0}})}},i=d=>{{let I=n(()=>c.file_pdf_loading_label());Ba(d,{get label(){return e(I)},count:1,class:"p-4"})}},F=d=>{var I=eo(),b=ne(I),W=T(b);{let ue=n(()=>e(z)<=1);Se(W,{variant:"ghost",size:"compact",get disabled(){return e(ue)},onclick:()=>Mt(z,-1),children:(Ee,ze)=>{Ze();var fe=tt();k(Le=>g(fe,Le),[()=>c.file_pdf_previous_label()]),l(Ee,fe)},$$slots:{default:!0}})}var j=p(W,2),_e=C(j,!0),E=p(j,2);{let ue=n(()=>e(z)>=e(X).numPages);Se(E,{variant:"ghost",size:"compact",get disabled(){return e(ue)},onclick:()=>Mt(z),children:(Ee,ze)=>{Ze();var fe=tt();k(Le=>g(fe,Le),[()=>c.file_pdf_next_label()]),l(Ee,fe)},$$slots:{default:!0}})}var oe=p(E,2);{let ue=n(()=>e(B)<=.25);Se(oe,{variant:"ghost",size:"compact",get disabled(){return e(ue)},onclick:()=>f(B,Math.max(.25,e(B)-.25),!0),children:(Ee,ze)=>{Ze();var fe=tt();k(Le=>g(fe,Le),[()=>c.editor_fileViewer_zoomOut_tooltip()]),l(Ee,fe)},$$slots:{default:!0}})}var Y=p(oe,2),Z=C(Y,!0),it=p(Y,2);{let ue=n(()=>e(B)>=3);Se(it,{variant:"ghost",size:"compact",get disabled(){return e(ue)},onclick:()=>f(B,Math.min(3,e(B)+.25),!0),children:(Ee,ze)=>{Ze();var fe=tt();k(Le=>g(fe,Le),[()=>c.editor_fileViewer_zoomIn_tooltip()]),l(Ee,fe)},$$slots:{default:!0}})}x(b);var nt=p(b,2),st=T(nt);let ut;$r(st,ue=>f(Ye,ue),()=>e(Ye)),x(nt),k((ue,Ee,ze)=>{g(_e,ue),g(Z,Ee),at(nt,"aria-busy",e(me)),at(st,"aria-label",ze),ut=It(st,"",ut,{visibility:e(me)?"hidden":"visible"})},[()=>c.file_pdf_page_label({page:tr(e(z)),total:tr(e(X).numPages)}),()=>Cr(e(B),{style:"percent"}),()=>c.file_pdf_canvas_ariaLabel({name:ae(),page:tr(e(z))})]),l(d,I)};Q(Be,d=>{e(be)?d(o):e(se)||ye()?.status==="loading"?d(i,1):e(X)&&d(F,2)})}x(Ve),l(G,Ve);var Te=Nt(Ne);return re(),Te}const ro=U.createSelector((G,w)=>kr(G.videoPreview.previews,w));var ao=P('<p role="status"> </p>'),oo=P('<p role="alert"> </p>'),io=P('<div class="flex flex-col items-center gap-3 p-6 text-center text-sm text-subtle"><p class="break-all"> </p> <!> <!></div>'),no=P('<video controls="" preload="metadata" playsinline="" class="max-w-full max-h-full" data-testid="file-video"> </video>',2),so=P('<div class="min-h-0 flex-1 flex items-center justify-center bg-background"><!></div>');function Dr(G,w){if(new.target)return zt({component:Dr,...G});Wt(w,!0);const ye=()=>ce(Ye,"$preview",ot),[ot,re]=ir();let y=ee(w,"sourceUrl",7),ae=ee(w,"fileName",7),Pe=ee(w,"allowDownload",7),Ce=ee(w,"downloading",7),we=ee(w,"onDownload",7),ge=N(null);const X=crypto.randomUUID(),Ye=ro(X),z=n(()=>ye()?.status==="loading"),B=n(()=>e(ge)??ye()?.error);let se=!1,me=!1;Gr(()=>{me=!0,U.dispatch(Qr(X))});function Fe(){if(me||e(z))return;const i=y().startsWith("workspace-file://")?new URL(y()):null;if(se||!i||!i.pathname.toLowerCase().endsWith(".mp4")){f(ge,"unsupported");return}se=!0,i.searchParams.set("preview","h264"),U.dispatch(ea(X,i.hostname,i.toString()))}function A(i){if(me)return;const F=i.currentTarget.error?.code;F===2?f(ge,"network"):F!==1&&Fe()}var be={get sourceUrl(){return y()},set sourceUrl(i){y(i),te()},get fileName(){return ae()},set fileName(i){ae(i),te()},get allowDownload(){return Pe()},set allowDownload(i){Pe(i),te()},get downloading(){return Ce()},set downloading(i){Ce(i),te()},get onDownload(){return we()},set onDownload(i){we(i),te()},$set:Lt,$on:(i,F)=>At(w,i,F)},De=so(),Ne=T(De);{var Ve=i=>{var F=io(),Te=T(F),d=C(Te,!0),I=p(Te,2);{var b=E=>{var oe=ao(),Y=C(oe,!0);k(Z=>g(Y,Z),[()=>c.editor_fileViewer_videoPreparing_label()]),l(E,oe)},W=E=>{var oe=oo(),Y=C(oe,!0);k(Z=>g(Y,Z),[()=>e(B)==="network"?c.editor_fileViewer_videoLoad_error():c.editor_fileViewer_videoUnsupported_label()]),l(E,oe)};Q(I,E=>{e(z)?E(b):E(W,-1)})}var j=p(I,2);{var _e=E=>{Se(E,{variant:"secondary",size:"sm",get onclick(){return we()},get disabled(){return Ce()},children:(oe,Y)=>{Ze();var Z=tt();k(it=>g(Z,it),[()=>c.layout_fileTab_downloadFile_label()]),l(oe,Z)},$$slots:{default:!0}})};Q(j,E=>{Pe()&&E(_e)})}x(F),k(()=>g(d,ae())),l(i,F)},Be=i=>{var F=no(),Te=C(F,!0);k(d=>{at(F,"src",ye()?.url??y()),g(Te,d)},[()=>c.editor_fileViewer_videoUnsupported_label()]),rt("error",F,A),rt("loadedmetadata",F,d=>{d.currentTarget.videoWidth===0&&Fe()}),l(i,F)};Q(Ne,i=>{e(B)||e(z)?i(Ve):i(Be,-1)})}x(De),l(G,De);var o=Nt(be);return re(),o}var lo=P('<!> <span class="text-xs text-subtle min-w-[50px] text-center"> </span> <!> <div class="w-px h-5 bg-border mx-1"></div>',1),co=P('<div class="min-h-0 flex-1 flex flex-col"><div class="flex items-center gap-2 p-2 border-b border-border bg-muted/30"><!> <!> <div class="w-px h-5 bg-border mx-1"></div> <!> <!> <div class="ml-auto text-xs text-subtle"> </div></div> <div><img draggable="false" class="max-w-full max-h-full object-contain"/></div></div>'),uo=P('<div class="min-h-0 flex-1 flex flex-col"><div class="flex items-center gap-2 p-2 border-b border-border bg-muted/30"><!> <!> <div class="ml-auto text-xs text-subtle"> </div></div> <div><img draggable="false" class="max-w-full max-h-full object-contain"/></div></div>'),fo=P('<div class="flex-1 flex flex-col items-center justify-center p-8"><div class="text-subtle mb-4"><svg class="w-24 h-24" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 19V6l12-3v13M9 19c0 1.105-1.343 2-3 2s-3-.895-3-2 1.343-2 3-2 3 .895 3 2zm12-3c0 1.105-1.343 2-3 2s-3-.895-3-2 1.343-2 3-2 3 .895 3 2zM9 10l12-3"></path></svg></div> <div class="text-sm text-subtle mb-4"> </div> <audio controls="" class="w-full max-w-md"><source/> </audio></div>'),vo=P("<!> ",1),po=P('<div class="flex-1 flex flex-col items-center justify-center p-8"><div class="text-subtle mb-4"><svg class="w-24 h-24" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 21h10a2 2 0 002-2V9.414a1 1 0 00-.293-.707l-5.414-5.414A1 1 0 0012.586 3H7a2 2 0 00-2 2v14a2 2 0 002 2z"></path></svg></div> <p class="text-sm text-subtle mb-4"> </p> <!></div>'),go=P('<th class="border border-border px-2 py-1 text-left text-xs font-medium bg-muted"> </th>'),mo=P('<td class="border border-border px-2 py-1 text-xs"> </td>'),_o=P("<tr></tr>"),ho=P('<div class="flex-1 overflow-auto p-4"><table class="w-full border-collapse"><thead><tr></tr></thead><tbody></tbody></table></div>'),wo=P('<div class="flex-1 flex flex-col items-center justify-center p-8"><div class="text-subtle mb-4"><svg class="w-24 h-24" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M20 13V6a2 2 0 00-2-2H6a2 2 0 00-2 2v7m16 0v5a2 2 0 01-2 2H6a2 2 0 01-2-2v-5m16 0h-2.586a1 1 0 00-.707.293l-2.414 2.414a1 1 0 01-.707.293h-3.172a1 1 0 01-.707-.293l-2.414-2.414A1 1 0 006.586 13H4"></path></svg></div> <p class="text-sm text-subtle mb-2"> </p> <p class="text-xs text-subtle"> </p></div>'),bo=P('<div class="flex-1 flex flex-col items-center justify-center p-8"><div class="text-subtle mb-4"><svg class="w-24 h-24" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 3v2m6-2v2M9 19v2m6-2v2M5 9H3m2 6H3m18-6h-2m2 6h-2M7 19h10a2 2 0 002-2V7a2 2 0 00-2-2H7a2 2 0 00-2 2v10a2 2 0 002 2zM9 9h6v6H9V9z"></path></svg></div> <p class="text-sm text-subtle mb-2"> </p> <p class="text-xs text-subtle"> </p></div>'),xo=P('<div class="h-full flex flex-col"><!></div>');function Vt(G,w){if(new.target)return zt({component:Vt,...G});Wt(w,!0);const ye=t=>{var a=lo(),u=ne(a);{let O=n(()=>c.editor_fileViewer_zoomOut_tooltip());Se(u,{size:"icon",variant:"ghost",class:"h-7 w-7",onclick:oe,get title(){return e(O)},children:(D,V)=>{et(D,{get icon(){return Ta},size:"sm"})},$$slots:{default:!0}})}var m=p(u,2),h=C(m,!0),R=p(m,2);{let O=n(()=>c.editor_fileViewer_zoomIn_tooltip());Se(R,{size:"icon",variant:"ghost",class:"h-7 w-7",onclick:E,get title(){return e(O)},children:(D,V)=>{et(D,{get icon(){return Ea},size:"sm"})},$$slots:{default:!0}})}Ze(2),k(()=>g(h,e(Fe))),l(t,a)},ot=Ua("FileViewer");let re=ee(w,"filePath",7),y=ee(w,"fileContent",7,""),ae=ee(w,"sourceUrl",7),Pe=ee(w,"language",7),Ce=ee(w,"isBinary",7),we=ee(w,"allowDownload",7,!0),ge=ee(w,"onDownload",7),X=ee(w,"downloading",7,!1);const Ye=t=>{const a=t.split(".").pop()?.toLowerCase()||"";return["png","jpg","jpeg","gif","webp","bmp","ico","avif"].includes(a)?"image":a==="svg"?"svg":["mp4","webm","ogg","mov","avi"].includes(a)?"video":["mp3","wav","ogg","m4a","flac"].includes(a)?"audio":a==="pdf"?"pdf":["md","markdown"].includes(a)?"markdown":a==="json"?"json":a==="csv"?"csv":["yaml","yml"].includes(a)?"yaml":a==="xml"?"xml":["zip","tar","gz","rar","7z","bz2"].includes(a)?"archive":["exe","dll","so","dylib","wasm"].includes(a)?"binary":"text"},z=n(()=>Ye(re())),B=n(()=>re().split("/").pop()||c.editor_fileViewer_unknown_fallback());let se=N(100),me=N(0);const Fe=n(()=>Cr(e(se)/100,{style:"percent",maximumFractionDigits:0}));let A=N(!1),be=N(0),De=N(0),Ne=N(0),Ve=N(0),Be=N(!1),o=null;function i(){const t=o;o=null,f(Be,!1),t?.viewport.hasPointerCapture(t.pointerId)&&t.viewport.releasePointerCapture(t.pointerId)}function F(t){if(t.button!==0||!t.isPrimary||o)return;const a=t.currentTarget;a.setPointerCapture(t.pointerId),o={pointerId:t.pointerId,x:t.clientX,y:t.clientY,viewport:a},f(Be,!0),t.preventDefault()}function Te(t){if(!(!o||t.pointerId!==o.pointerId)){if((t.buttons&1)===0){i();return}f(Ne,o.viewport.scrollLeft,!0),f(Ve,o.viewport.scrollTop,!0),f(be,e(be)+(t.clientX-o.x)),f(De,e(De)+(t.clientY-o.y)),o.x=t.clientX,o.y=t.clientY}}function d(t){t.pointerId===o?.pointerId&&i()}pe(()=>{re(),ae(),e(se),e(me),f(Ne,0),f(Ve,0)}),pe(()=>(re(),ae(),rr(()=>{i(),f(be,0),f(De,0)}),i));const I=t=>{const a=t.split(".").pop()?.toLowerCase();return a==="jpg"||a==="jpeg"?"image/jpeg":a==="png"?"image/png":a==="gif"?"image/gif":a==="webp"?"image/webp":"application/octet-stream"},b=t=>{const a=t.split(".").pop()?.toLowerCase();if(a==="mp4")return"video/mp4";if(a==="webm")return"video/webm"},W=()=>{if(ae())return ae();if(typeof y()=="string")return y().startsWith("data:")||y().startsWith("http")?y():Ce()?`data:${I(re())};base64,${y()}`:`data:${I(re())};base64,${y()}`;if(y()instanceof ArrayBuffer){const a=new Uint8Array(y()).reduce((m,h)=>m+String.fromCharCode(h),""),u=btoa(a);return`data:${I(re())};base64,${u}`}return""},j=()=>{if(ae())return ae();const t=b(re());if(!t)return"";if(typeof y()=="string")return y().startsWith("data:")||y().startsWith("http")?y():`data:${t};base64,${y()}`;const a=new Uint8Array(y()),u=[],m=32768;for(let h=0;h<a.length;h+=m)u.push(String.fromCharCode(...a.subarray(h,h+m)));return`data:${t};base64,${btoa(u.join(""))}`},_e=()=>{const t=typeof y()=="string"?new TextEncoder().encode(y()):new Uint8Array(y()),a=[],u=32768;for(let m=0;m<t.length;m+=u)a.push(String.fromCharCode(...t.subarray(m,m+u)));return`data:image/svg+xml;base64,${btoa(a.join(""))}`},E=()=>{f(se,Math.min(e(se)+25,500),!0)},oe=()=>{f(se,Math.max(e(se)-25,25),!0)},Y=()=>{f(me,(e(me)+90)%360)},Z=()=>{if(!we()||X())return;if(ge()){ge()();return}const t=document.createElement("a");t.href=e(z)==="video"?j():e(z)==="svg"?_e():W(),t.download=e(B),t.click()},it=async()=>{try{const t=W(),a=new Image;a.crossOrigin="anonymous";const u=await new Promise((m,h)=>{a.onload=()=>{const R=document.createElement("canvas");R.width=a.naturalWidth,R.height=a.naturalHeight;const O=R.getContext("2d");if(!O){h(new Error("Failed to get canvas context"));return}O.drawImage(a,0,0),R.toBlob(D=>{D?m(D):h(new Error("Failed to create blob from canvas"))},"image/png",1)},a.onerror=()=>h(new Error("Failed to load image")),a.src=t});await navigator.clipboard.write([new ClipboardItem({"image/png":u})]),f(A,!0),setTimeout(()=>f(A,!1),2e3)}catch(t){ot.error("Failed to copy image:",t)}},nt=t=>{try{const a=JSON.parse(t);return JSON.stringify(a,null,2)}catch{return t}},st=t=>t.split(`
2
2
  `).map(u=>u.split(",").map(m=>m.trim()));var ut={get filePath(){return re()},set filePath(t){re(t),te()},get fileContent(){return y()},set fileContent(t=""){y(t),te()},get sourceUrl(){return ae()},set sourceUrl(t){ae(t),te()},get language(){return Pe()},set language(t){Pe(t),te()},get isBinary(){return Ce()},set isBinary(t){Ce(t),te()},get allowDownload(){return we()},set allowDownload(t=!0){we(t),te()},get onDownload(){return ge()},set onDownload(t){ge(t),te()},get downloading(){return X()},set downloading(t=!1){X(t),te()},$set:Lt,$on:(t,a)=>At(w,t,a)},ue=xo();rt("blur",yr,i);var Ee=T(ue);{var ze=t=>{var a=co(),u=T(a),m=T(u);ye(m);var h=p(m,2);{let he=n(()=>c.editor_fileViewer_rotate_tooltip());Se(h,{size:"icon",variant:"ghost",class:"h-7 w-7",onclick:Y,get title(){return e(he)},children:($e,He)=>{et($e,{get icon(){return Ca},size:"sm"})},$$slots:{default:!0}})}var R=p(h,4);{let he=n(()=>c.editor_fileViewer_copyImage_tooltip());Se(R,{size:"icon",variant:"ghost",class:"h-7 w-7",onclick:it,get title(){return e(he)},children:($e,He)=>{var ke=Ue(),Ft=ne(ke);{var Dt=Ie=>{et(Ie,{get icon(){return Fa},size:"sm",class:"text-green-500"})},Je=Ie=>{et(Ie,{get icon(){return Da},size:"sm"})};Q(Ft,Ie=>{e(A)?Ie(Dt):Ie(Je,-1)})}l($e,ke)},$$slots:{default:!0}})}var O=p(R,2);{let he=n(()=>!we()||X()),$e=n(()=>c.editor_fileViewer_download_tooltip());Se(O,{size:"icon",variant:"ghost",class:"h-7 w-7",onclick:Z,get disabled(){return e(he)},get title(){return e($e)},children:(He,ke)=>{et(He,{get icon(){return Ut},size:"sm"})},$$slots:{default:!0}})}var D=p(O,2),V=C(D,!0);x(u);var H=p(u,2),xe=C(H);x(a),k(he=>{g(V,e(B)),hr(H,1,`relative min-h-0 flex-1 overflow-auto bg-checkered flex items-center justify-center p-4 select-none ${e(Be)?"cursor-grabbing":"cursor-grab"}`,"svelte-1uj35xu"),It(H,`--pan-scroll-x: ${e(Ne)??""}px; --pan-scroll-y: ${e(Ve)??""}px;`),at(xe,"src",he),at(xe,"alt",e(B)),It(xe,`translate: ${e(be)??""}px ${e(De)??""}px; transform: scale(${e(se)/100}) rotate(${e(me)??""}deg); transition: transform 0.2s;`)},[()=>W()]),gt("pointerdown",H,F),gt("pointermove",H,Te),gt("pointerup",H,d),rt("pointercancel",H,d),rt("lostpointercapture",H,d),l(t,a)},fe=t=>{var a=uo(),u=T(a),m=T(u);ye(m);var h=p(m,2);{let H=n(()=>!we()||X()),xe=n(()=>c.editor_fileViewer_download_tooltip());Se(h,{size:"icon",variant:"ghost",class:"h-7 w-7",onclick:Z,get disabled(){return e(H)},get title(){return e(xe)},children:(he,$e)=>{et(he,{get icon(){return Ut},size:"sm"})},$$slots:{default:!0}})}var R=p(h,2),O=C(R,!0);x(u);var D=p(u,2),V=C(D);x(a),k(H=>{g(O,e(B)),hr(D,1,`relative min-h-0 flex-1 overflow-auto bg-checkered flex items-center justify-center p-4 select-none ${e(Be)?"cursor-grabbing":"cursor-grab"}`,"svelte-1uj35xu"),It(D,`--pan-scroll-x: ${e(Ne)??""}px; --pan-scroll-y: ${e(Ve)??""}px;`),at(V,"src",H),at(V,"alt",e(B)),It(V,`translate: ${e(be)??""}px ${e(De)??""}px; transform: scale(${e(se)/100});`)},[()=>_e()]),gt("pointerdown",D,F),gt("pointermove",D,Te),gt("pointerup",D,d),rt("pointercancel",D,d),rt("lostpointercapture",D,d),l(t,a)},Le=t=>{const a=n(j);var u=Ue(),m=ne(u);Pr(m,()=>re()+e(a),h=>{Dr(h,{get sourceUrl(){return e(a)},get fileName(){return e(B)},get allowDownload(){return we()},get downloading(){return X()},onDownload:Z})}),l(t,u)},mt=t=>{var a=fo(),u=p(T(a),2),m=C(u,!0),h=p(u,2),R=T(h),O=p(R);x(h),x(a),k((D,V)=>{g(m,e(B)),at(R,"src",D),g(O,` ${V??""}`)},[()=>W(),()=>c.editor_fileViewer_audioUnsupported_label()]),l(t,a)},Bt=t=>{var a=po(),u=p(T(a),2),m=C(u,!0),h=p(u,2);{let R=n(()=>!we()||X());Se(h,{size:"sm",variant:"secondary",onclick:Z,get disabled(){return e(R)},children:(O,D)=>{var V=vo(),H=ne(V);et(H,{get icon(){return Ut},size:"sm",class:"mr-2"});var xe=p(H);k(he=>g(xe,` ${he??""}`),[()=>c.editor_fileViewer_downloadPdf_label()]),l(O,V)},$$slots:{default:!0}})}x(a),k(R=>g(m,R),[()=>c.editor_fileViewer_pdfUnavailable_label()]),l(t,a)},Ot=t=>{{let a=n(()=>nt(y().toString()));ar(t,{get value(){return e(a)},language:"json",get fileName(){return re()},lineNumbers:!0,readOnly:!0})}},Oe=t=>{const a=n(()=>st(y().toString()));var u=ho(),m=T(u),h=T(m),R=T(h);St(R,23,()=>e(a)[0]||[],(D,V)=>`header-${V}-${D}`,(D,V)=>{var H=go(),xe=C(H,!0);k(()=>g(xe,e(V))),l(D,H)}),x(R),x(h);var O=p(h);St(O,23,()=>e(a).slice(1),(D,V)=>`row-${V}`,(D,V,H)=>{var xe=_o();St(xe,23,()=>e(V),(he,$e)=>`cell-${e(H)}-${$e}`,(he,$e)=>{var He=mo(),ke=C(He,!0);k(()=>g(ke,e($e))),l(he,He)}),x(xe),l(D,xe)}),x(O),x(m),x(u),l(t,u)},Ge=t=>{var a=wo(),u=p(T(a),2),m=C(u,!0),h=p(u,2),R=C(h,!0);x(a),k(O=>{g(m,e(B)),g(R,O)},[()=>c.editor_fileViewer_archive_label()]),l(t,a)},Ht=t=>{var a=bo(),u=p(T(a),2),m=C(u,!0),h=p(u,2),R=C(h,!0);x(a),k(O=>{g(m,e(B)),g(R,O)},[()=>c.editor_fileViewer_binary_label()]),l(t,a)},Ct=t=>{{let a=n(()=>y().toString());ar(t,{get value(){return e(a)},get language(){return Pe()},get fileName(){return re()},lineNumbers:!0,highlightActiveLine:!0})}};Q(Ee,t=>{e(z)==="image"?t(ze):e(z)==="svg"?t(fe,1):e(z)==="video"?t(Le,2):e(z)==="audio"?t(mt,3):e(z)==="pdf"?t(Bt,4):e(z)==="json"?t(Ot,5):e(z)==="csv"?t(Oe,6):e(z)==="archive"?t(Ge,7):e(z)==="binary"?t(Ht,8):t(Ct,-1)})}return x(ue),l(G,ue),Nt(ut)}Jr(["pointerdown","pointermove","pointerup"]);const yo=/access denied|permission denied|outside (?:the )?workspace/i,Po=/file not found|no such file or directory/i;function $o(G){return yo.test(G)?"access-denied":G===c.files_read_notFound_error()||Po.test(G)?"not-found":"generic"}function ko(G){switch(G){case"access-denied":return c.layout_fileTab_errorAccessDenied_label();case"not-found":return c.layout_fileTab_errorNotFound_label();case"generic":return c.layout_fileTab_errorGeneric_label()}}var Io=P("<!> <!>",1),So=P("<!> <!> <!>",1),Co=P('<div class="flex flex-col items-center justify-center h-full text-subtle gap-2"><p> </p> <p class="text-xs"> </p></div>'),br=P('<div class="flex h-full items-center justify-center p-4 text-subtle"><p role="alert"> </p></div>'),Fo=P('<div class="flex h-full items-center justify-center text-subtle"><p> </p></div>'),xr=P('<div class="flex items-center justify-center h-full text-subtle"><p> </p></div>'),Do=P('<div class="flex items-center gap-3"><!> <!></div>'),To=P('<div class="flex flex-col h-full"><div class="flex-1 p-4 space-y-2"></div></div>'),Eo=P('<p class="text-xs"> </p>'),Ro=P("<li><!></li>"),jo=P('<p class="text-xs mt-2"> </p> <ul class="flex flex-col items-center gap-1"></ul>',1),Mo=P('<div class="flex flex-col items-center justify-center h-full text-subtle gap-2"><p class="text-danger" role="alert"> </p> <p class="text-xs font-mono"> </p> <!> <!></div>'),Uo=P('<div class="flex flex-col items-center justify-center h-full text-subtle gap-3 p-4"><p> </p> <p class="text-xs break-all"> </p> <!></div>'),Vo=P('<div class="h-full overflow-auto p-4"><!></div>');function zo(G,w){if(new.target)return zt({component:zo,...G});Wt(w,!0);const ye=()=>ce(Ot,"$workspace",A),ot=()=>ce(_e,"$fileContentStore",A),re=()=>ce(E,"$fileLoadingStore",A),y=()=>ce(oe,"$fileSavingStore",A),ae=()=>ce(Y,"$fileErrorStore",A),Pe=()=>ce(Z,"$fileErrorInfoStore",A),Ce=()=>ce(it,"$homeView$",A),we=()=>ce(nt,"$fileNotFoundCandidatesStore",A),ge=()=>ce(st,"$isFileBinaryStore",A),X=()=>ce(ut,"$isFileDirtyStore",A),Ye=()=>ce(ue,"$fileLastUpdatedStore",A),z=()=>ce(Ee,"$ftChanges$",A),B=()=>ce(Bt,"$gutterRead$",A),se=()=>ce(Ve,"$lineWrapping",A),me=()=>ce(Be,"$diffIndicators",A),Fe=()=>ce(Le,"$rootMediaPreview",A),[A,be]=ir(),De=r=>{var s=Io(),$=ne(s);{var S=de=>{var Ae=Ue(),qe=ne(Ae);Rt(qe,()=>jt,(pt,xt)=>{xt(pt,{get icon(){return Ra},get label(){return e(he)},disabled:!0})}),l(de,Ae)};Q($,de=>{!e(_t)&&!e(b)&&!e(V)&&de(S)})}var le=p($,2);{var Re=de=>{{let Ae=n(()=>!e(Tt)||!e(Je)),qe=n(()=>!e(b)&&(!e(Tt)||!e(Je)));Oa(de,{embedded:!0,showFold:!1,showSplit:!1,get showPreview(){return e(Tt)},get previewEnabled(){return e(Je)},onTogglePreview:()=>f(Je,!e(Je)),get showWrap(){return e(Ae)},get wrapEnabled(){return se()},onToggleWrap:()=>U.dispatch(na()),get showDiff(){return e(qe)},get diffEnabled(){return me()},onToggleDiff:()=>U.dispatch(ia())})}};Q(le,de=>{o().filePath&&!e(_t)&&!e(V)&&de(Re)})}l(r,s)},Ne=r=>{var s=Ue(),$=ne(s);{var S=le=>{var Re=So(),de=ne(Re);{var Ae=We=>{var Xe=Ue(),dt=ne(Xe);{let yt=n(()=>c.layout_fileTab_goToChanges_tooltip());Rt(dt,()=>jt,(Pt,$t)=>{$t(Pt,{get icon(){return Ma},get label(){return e(yt)},onclick:Lr})})}l(We,Xe)};Q(de,We=>{e(Rr)&&We(Ae)})}var qe=p(de,2);{var pt=We=>{var Xe=Ue(),dt=ne(Xe);{let yt=n(()=>c.layout_fileTab_downloadFile_label()),Pt=n(()=>!e(wt)||e(lt));Rt(dt,()=>jt,($t,Yt)=>{Yt($t,{get icon(){return Ut},get label(){return e(yt)},onclick:Et,get disabled(){return e(Pt)}})})}l(We,Xe)};Q(qe,We=>{e(Qe)&&We(pt)})}var xt=p(qe,2);{let We=n(()=>c.layout_fileTab_deleteFile_tooltip());Rt(xt,()=>jt,(Xe,dt)=>{dt(Xe,{get icon(){return ja},get label(){return e(We)},onclick:Ar,destructive:!0})})}l(le,Re)};Q($,le=>{o().filePath&&!e(_t)&&!e(b)&&le(S)})}l(r,s)},Ve=Ha(),Be=qa();let o=ee(w,"tab",7),i=ee(w,"workspaceId",7),F=ee(w,"isActive",7),Te=ee(w,"isPanelFocused",7);pe(()=>{const r=i();if(!(!F()||!r||e(d)))return U.dispatch(ta(r,"files")),()=>U.dispatch(ra(r,"files"))});const d=n(()=>typeof o().data?.gitRootId=="string"?o().data.gitRootId:void 0),I=n(()=>typeof o().data?.gitRootPath=="string"?o().data.gitRootPath:void 0),b=n(()=>!!e(d)),W=n(()=>o().filePath?Ia(o().filePath,e(d)):o().filePath),j=Xr(e(W));pe(()=>{j.set(e(W))});const _e=pa(i(),j),E=ga(i(),j),oe=ma(i(),j),Y=_a(i(),j),Z=ha(i(),j),it=Qa(i()),nt=wa(i(),j),st=ba(i(),j),ut=mr(i(),j),ue=xa(i(),j),Ee=ya(i()),ze=va(),fe=crypto.randomUUID(),Le=Fr(fe),mt=`file-gutter:${crypto.randomUUID()}`,Bt=Pa(i(),mt),Ot=$a(i()),Oe=n(()=>ye()?.worktreePath||ye()?.repositoryPath||ye()?.path||null),Ge=n(ot),Ht=Ga();pe(()=>{e(Ge)!==null&&e(Ge)!==void 0&&Ht?.markContentLoaded()});const Ct=n(re),t=n(y),a=n(ae),u=n(()=>e(a)?$o(e(a)):"generic"),m=n(()=>e(a)?Xa(Pe()):null);let h=N(0),R=!1;pe(()=>{const r=Ce();if(!r||r.unavailable){R=!1;return}e(m)&&!R&&(R=!0,rr(()=>Mt(h)))});const O=5,D=n(()=>(we()??[]).slice(0,O)),V=n(ge),H=n(X),xe=n(Ye),he=n(()=>e(t)?c.ui_saveIndicator_saving_tooltip():e(H)?c.ui_saveIndicator_autoSaving_tooltip():c.ui_saveIndicator_saved_tooltip());let $e=N(null),He=N(Zr([])),ke=N(null),Ft=N(void 0),Dt=N(void 0),Je=N(!0);pe(()=>{const r=o().data?.line,s=o().data?.jumpTimestamp;!r||s!==void 0&&s===e(Dt)||(f(Dt,s,!0),f(Ft,{line:r},!0),f(Je,!1))});const Ie=n(()=>e(d)?_r(o().filePath,e(I)):null),_t=n(()=>e(d)?!e(Ie):!!(o().filePath&&(za(o().filePath)||e(Oe)&&La(o().filePath,e(Oe))))),ht=n(()=>o().filePath&&e(Oe)?er(o().filePath)?o().filePath:`${e(Oe)}/${o().filePath}`:null),ft=n(()=>!!o().filePath&&/\.pdf$/i.test(o().filePath)),vt=n(()=>!!o().filePath&&/\.(?:png|jpe?g|gif|webp|mp4|webm)$/i.test(o().filePath)),Qe=n(()=>i()&&/^[A-Za-z0-9._-]+$/.test(i())?_r(o().filePath,e(Oe)):null),Tr=n(()=>!e(d)&&e(Qe)?e(Qe).split("/").slice(0,-1).join("/"):void 0),qt=n(()=>e(ft)||e(vt)?e(Qe):null),nr=n(()=>e(d)&&e(vt)?{png:"image/png",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",webp:"image/webp",mp4:"video/mp4",webm:"video/webm"}[o().filePath?.split(".").pop()?.toLowerCase()??""]:void 0);pe(()=>{if(!F()||!e(d)||!e(Ie)||!e(nr))return;const r=crypto.randomUUID();return U.dispatch(Ir(fe,r,i(),e(Ie),{gitRootId:e(d),mimeType:e(nr)})),()=>U.dispatch(Sr(fe,r))});let lt=N(!1);const wt=n(()=>!!e(Qe)&&!e(Ct)&&(!e(vt)||e(ke)===e(Qe))),sr=n(()=>e(ke)&&i()?`workspace-file://${i()}/${e(ke).split("/").map(encodeURIComponent).join("/")}`:null),Kt=n(()=>o().filePath?da(o().filePath):"plaintext"),Tt=n(()=>e(Kt)==="markdown");pe(()=>{if(!F()||e(ft)||e(d))return;const r=e(qt),s=o().filePath,$=i(),S=o().id;if(f(ke,null),!r||!s||!$)return;let le=!1;const Re=()=>!le&&i()===$&&o().id===S&&o().filePath===s;return(async()=>{let de=!1;try{de=(await Sa("file.stat",{workspaceId:$,path:r}))?.isFile===!0}catch{}if(!Re())return;if(de){f(ke,r,!0);return}if(!/\.(?:png|jpe?g|gif|webp|mp4|webm)$/i.test(r)){f(ke,r,!0);return}const{candidates:Ae,truncated:qe}=await Va($,r);if(Re()){if(!qe&&Ae.length===1){U.dispatch(fr($,s,Ae[0],S));return}f(ke,r,!0)}})(),()=>{le=!0}});function Er(r,s){return!!(r.file===s||r.relativePath===s||r.relativePath&&s.endsWith("/"+r.relativePath)||r.file&&s.endsWith("/"+r.file)||r.relativePath&&r.relativePath.endsWith("/"+s)||r.file&&r.file.endsWith("/"+s))}const bt=n(()=>e(b)||!o().filePath?null:z().find(r=>Er(r,o().filePath))??null),Rr=n(()=>!!e(bt));pe(()=>{if(e(b))return;const r=i(),s=o().filePath,$=e(Oe);return()=>{if(!r||!s)return;const S=Zt.select(U.state,r,s);if(S?.kind!=="editable-text")return;const le=Xt(S.localContent),Re=mr.select(U.state,r,s),de=er(s)?s:$?`${$}/${s}`:null;Re&&de&&U.dispatch(vr(r,s,de,le))}}),pe(()=>{const r=o().filePath,s=e(ht),$=i();if(e(h),!F())return;const S=!e(d)&&!!r&&er(r)&&!e(Oe);r&&$&&!e(_t)&&!e(vt)&&!e(ft)&&!S&&(e(d)&&e(Ie)&&e(W)?U.dispatch(pr($,e(W),s??r,{gitRoot:{id:e(d),relativePath:e(Ie)}})):U.dispatch(pr($,r,s??r)))});function jr(){return e(Ge)??""}function Mr(r){e(b)||e(V)||!o().filePath||!i()||!e(ht)||U.dispatch(fa(i(),o().filePath,Xt(r)))}function Ur(){if(e(b)||e(V)||!o().filePath||!e(ht)||e(Ge)===null||e(t))return;const r=Zt.select(U.state,i(),o().filePath);r?.kind==="editable-text"&&U.dispatch(vr(i(),o().filePath,e(ht),Xt(r.localContent)))}function Vr(r){const s=o().filePath;!s||!i()||(U.dispatch(ua(i(),s)),U.dispatch(fr(i(),s,r,o().id)))}pe(()=>{const r=o().filePath,s=e(bt);if(!r||!s){f(He,[],!0);return}if(!F())return;const $=i(),S=crypto.randomUUID();return U.dispatch(aa($,mt,S,{kind:"diffs",path:r,staged:s.stage==="staged"})),()=>{U.dispatch(oa($,mt,S))}}),pe(()=>{const r=B(),s=r?.result?.kind==="diffs"?r.result.chunks:[],$=s.find(S=>S.file===o().filePath)??s[0];f(He,$?Aa($.chunks.map(S=>({oldStart:S.oldStart,oldLines:S.oldLines,newStart:S.newStart,newLines:S.newLines,lines:S.lines.map(le=>(le.type===gr.Addition?"+":le.type===gr.Deletion?"-":" ")+le.content)}))):[],!0)});function zr(r){const s=/Mac|iPhone|iPad|iPod/.test(navigator.userAgent),$=Re=>Ya(r,Ka(Re),s);if($("editor.save")){r.preventDefault(),e(H)&&!e(t)&&Ur();return}const S=$("editor.undo")?"undo":$("editor.redo")?"redo":$("editor.toggle-task-list")?"toggle-task-list":$("editor.copy")?"copy":$("editor.select-all")?"select-all":null;if(!S||e(b)&&S!=="copy"&&S!=="select-all")return;S!=="toggle-task-list"&&e($e)?.runShortcut(S)&&r.preventDefault()}function Lr(r){if(!o().filePath||!e(bt))return;const s=r?.metaKey||r?.ctrlKey||!1,S=r?.target?.closest("[data-panel-id]")?.getAttribute("data-panel-id")??void 0;U.dispatch(ca(i(),e(bt),{filePath:o().filePath,changeId:e(bt).id,openInAdjacentPanel:s,sourcePanelId:S}))}async function Et(){const r=e(Qe);if(!(e(b)||!r||!i()||!e(wt)||e(lt))){f(lt,!0);try{const s=await ka(i(),r,e(Oe));!s?.success&&!s?.canceled&&Qt.error(s?.error?.message||c.layout_fileTab_downloadFailed_error())}catch{Qt.error(c.layout_fileTab_downloadFailed_error())}finally{f(lt,!1)}}}function Ar(){const r=e(ht);if(e(b)||!o().filePath||!i()||!r)return;const s=sa(Zt.select(U.state,i(),o().filePath));if(!s){Qt.error(c.ui_reversibleActions_failed_error({message:c.fileExplorer_tree_undoUnavailable_error()}));return}U.dispatch(la(i(),o().filePath,{absolutePath:r,tabId:o().id,snapshot:s}))}pe(()=>{if(!ze||!F())return;const r={isDirty:!e(b)&&e(H),isSaving:!e(b)&&e(t)};rr(()=>{ze.registerActions({display:De,actions:Ne}),ze.registerState(r)})});var Wr={get tab(){return o()},set tab(r){o(r),te()},get workspaceId(){return i()},set workspaceId(r){i(r),te()},get isActive(){return F()},set isActive(r){F(r),te()},get isPanelFocused(){return Te()},set isPanelFocused(r){Te(r),te()},$set:Lt,$on:(r,s)=>At(w,r,s)},lr=Ue();rt("keydown",yr,r=>F()&&zr(r));var Nr=ne(lr);{var Br=r=>{var s=Ue(),$=ne(s);Pr($,()=>o().filePath,S=>{var le=Ue(),Re=ne(le);{var de=_=>{var v=Co(),M=T(v),q=C(M,!0),L=p(M,2),je=C(L,!0);x(v),k(J=>{g(q,J),g(je,o().filePath)},[()=>c.layout_fileTab_outsideWorkspace_label()]),l(_,v)},Ae=_=>{var v=Ue(),M=ne(v);{var q=L=>{or(L,{get workspaceId(){return i()},get filePath(){return e(Ie)},get gitRootId(){return e(d)}})};Q(M,L=>{F()&&L(q)})}l(_,v)},qe=_=>{var v=Ue(),M=ne(v);{var q=J=>{var K=br(),ie=T(K),Me=C(ie,!0);x(K),k(ve=>g(Me,ve),[()=>c.layout_fileTab_errorLoading_label()]),l(J,K)},L=J=>{Vt(J,{get filePath(){return o().filePath},get sourceUrl(){return Fe().url},allowDownload:!1})},je=J=>{var K=Fo(),ie=T(K),Me=C(ie,!0);x(K),k(ve=>g(Me,ve),[()=>c.layout_fileTab_preparing_label()]),l(J,K)};Q(M,J=>{Fe()?.error?J(q):Fe()?.url?J(L,1):J(je,-1)})}l(_,v)},pt=_=>{var v=Ue(),M=ne(v);{var q=L=>{or(L,{get workspaceId(){return i()},get filePath(){return e(qt)}})};Q(M,L=>{F()&&L(q)})}l(_,v)},xt=_=>{var v=br(),M=T(v),q=C(M,!0);x(v),k(L=>g(q,L),[()=>c.file_pdf_load_error()]),l(_,v)},We=_=>{{let v=n(()=>e(ke)??o().filePath),M=n(()=>!e(b)&&e(wt));Vt(_,{get filePath(){return e(v)},get sourceUrl(){return e(sr)},onDownload:Et,get allowDownload(){return e(M)},get downloading(){return e(lt)}})}},Xe=_=>{var v=xr(),M=T(v),q=C(M,!0);x(v),k(L=>g(q,L),[()=>c.layout_fileTab_preparing_label()]),l(_,v)},dt=_=>{var v=To(),M=T(v);St(M,20,()=>[...Array(20).keys()],q=>q,(q,L)=>{var je=Do(),J=T(je);wr(J,{class:"h-3 w-8 shrink-0"});var K=p(J,2);wr(K,{class:"h-3",style:`width: ${30+Math.random()*60}%`}),x(je),l(q,je)}),x(M),x(v),l(_,v)},yt=_=>{{let v=n(()=>Za(e(m)));Ja(_,{get view(){return e(v)}})}},Pt=_=>{var v=Mo(),M=T(v),q=C(M,!0),L=p(M,2),je=C(L,!0),J=p(L,2);{var K=ve=>{var Ke=Eo(),ct=C(Ke,!0);k(()=>g(ct,e(a))),l(ve,Ke)};Q(J,ve=>{e(u)==="generic"&&ve(K)})}var ie=p(J,2);{var Me=ve=>{var Ke=jo(),ct=ne(Ke),Gt=C(ct,!0),dr=p(ct,2);St(dr,20,()=>e(D),kt=>kt,(kt,cr)=>{var Jt=Ro(),qr=T(Jt);Se(qr,{variant:"link",size:"compact",class:"h-auto p-0 font-mono text-xs",onclick:()=>Vr(cr),children:(Kr,Lo)=>{Ze();var ur=tt();k(()=>g(ur,cr)),l(Kr,ur)},$$slots:{default:!0}}),x(Jt),l(kt,Jt)}),x(dr),k(kt=>g(Gt,kt),[()=>c.layout_fileTab_didYouMean_label()]),l(ve,Ke)};Q(ie,ve=>{e(D).length>0&&ve(Me)})}x(v),k(ve=>{g(q,ve),g(je,o().filePath)},[()=>ko(e(u))]),l(_,v)},$t=_=>{var v=Uo(),M=T(v),q=C(M,!0),L=p(M,2),je=C(L,!0),J=p(L,2);{var K=ie=>{{let Me=n(()=>!e(wt)||e(lt));Se(ie,{variant:"secondary",size:"sm",onclick:Et,get disabled(){return e(Me)},children:(ve,Ke)=>{Ze();var ct=tt();k(Gt=>g(ct,Gt),[()=>c.layout_fileTab_downloadFile_label()]),l(ve,ct)},$$slots:{default:!0}})}};Q(J,ie=>{!e(b)&&e(Qe)&&ie(K)})}x(v),k(ie=>{g(q,ie),g(je,o().filePath)},[()=>c.editor_fileViewer_binary_label()]),l(_,v)},Yt=_=>{const v=n(()=>o().filePath?.toLowerCase().endsWith(".svg"));var M=Ue(),q=ne(M);{var L=K=>{{let ie=n(()=>o().filePath||""),Me=n(()=>!e(b)&&e(wt));Vt(K,{get filePath(){return e(ie)},get fileContent(){return e(Ge)},get language(){return e(Kt)},get isBinary(){return e(V)},onDownload:Et,get allowDownload(){return e(Me)},get downloading(){return e(lt)}})}},je=K=>{var ie=Vo(),Me=T(ie);Wa(Me,{get content(){return e(Ge)},get workspaceId(){return i()},get relativeMediaBase(){return e(Tr)},renderRichFencesAsCode:!0,renderDiagrams:!0}),x(ie),l(K,ie)},J=K=>{var ie=jr,Me=Mr;{let ve=n(()=>me()?e(He):[]);$r(ar(K,{get value(){return ie()},set value(Ke){Me(Ke)},get language(){return e(Kt)},get readOnly(){return e(b)},get fileName(){return o().filePath},get workspaceId(){return i()},get filePath(){return o().filePath},get lineWrapping(){return se()},get lineChanges(){return e(ve)},get jumpTo(){return e(Ft)},get externalContentVersion(){return e(xe)},get isPanelFocused(){return Te()}}),Ke=>f($e,Ke,!0),()=>e($e))}};Q(q,K=>{e(v)?K(L):e(Tt)&&e(Je)?K(je,1):K(J,-1)})}l(_,M)},Hr=_=>{var v=xr(),M=T(v),q=C(M,!0);x(v),k(L=>g(q,L),[()=>c.layout_fileTab_preparing_label()]),l(_,v)};Q(Re,_=>{e(_t)?_(de):e(d)&&e(ft)&&e(Ie)?_(Ae,1):e(d)&&e(vt)?_(qe,2):e(ft)&&e(qt)?_(pt,3):e(ft)?_(xt,4):e(sr)?_(We,5):e(vt)?_(Xe,6):e(Ct)?_(dt,7):e(m)?_(yt,8):e(a)?_(Pt,9):e(V)?_($t,10):e(Ge)!==null?_(Yt,11):_(Hr,-1)})}l(S,le)}),l(r,s)};Q(Nr,r=>{o().filePath&&r(Br)})}l(G,lr);var Or=Nt(Wr);return be(),Or}export{zo as default};
@@ -1 +1 @@
1
- import{t as W,bo as A,bm as s,bw as O,b as R}from"./D4MngzTk.js";import{bs as S,a5 as j,aD as i,bS as p,bl as u,bA as k,b_ as h,bO as b,W as f,bn as B,c9 as q,aA as E,aB as g}from"./CJxGDkBm.js";import{i as F}from"./BqUNG33_.js";import{g as G}from"./DCtyzj03.js";import{s as m}from"./DrzhapyO.js";import{i as H,W as J,j as K}from"./BddjjpyI.js";var L=g('<li class="flex items-center gap-2"><!> <span class="min-w-0 flex-1 break-words"> </span> <span class="shrink-0 text-muted-foreground"> </span></li>'),M=g('<ul class="space-y-1 text-sm"></ul>');function N(n,o){if(new.target)return W({component:N,...n});S(o,!0);let r=A(o,"checklist",7);const v=q(()=>{const e=c=>({state:c?"done":"waiting",status:c?s.desktop_os_checklist_allowed():s.desktop_os_checklist_missing()}),t=()=>r().screenCapture==="blocked"?{state:"waiting",status:s.desktop_os_checklist_blocked()}:r().screenCapture==="ready"?{state:"done",status:s.desktop_os_checklist_ready()}:r().screenCapture==="checking"?{state:"waiting",status:s.desktop_os_checklist_checking()}:{state:"failed",status:s.desktop_os_checklist_unconfirmed()};return[{label:s.desktop_os_checklist_accessibility(),...e(r().accessibility)},{label:s.desktop_os_checklist_screenRecording(),...e(r().screenRecording)},{label:s.desktop_os_checklist_screenCapture(),...t()}]});var x={get checklist(){return r()},set checklist(e){r(e),E()},$set:O,$on:(e,t)=>R(o,e,t)},l=M();return G(l,21,()=>i(v),e=>e.label,(e,t)=>{var c=L(),_=j(c);{var C=a=>{H(a,{class:"size-4 shrink-0 text-success","aria-hidden":"true"})},y=a=>{J(a,{class:"size-4 shrink-0 text-danger","aria-hidden":"true"})},w=a=>{K(a,{class:"size-4 shrink-0 text-muted-foreground","aria-hidden":"true"})};F(_,a=>{i(t).state==="done"?a(C):i(t).state==="failed"?a(y,1):a(w,-1)})}var d=p(_,2),z=u(d,!0),D=p(d,2),I=u(D,!0);k(c),h(()=>{m(c,"data-state",i(t).state),b(z,i(t).label),b(I,i(t).status)}),f(e,c)}),k(l),h(e=>m(l,"aria-label",e),[()=>s.desktop_os_checklist_title()]),f(n,l),B(x)}export{N as D};
1
+ import{t as W,bo as A,bm as s,bw as O,b as R}from"./NtxbXOxK.js";import{bs as S,a5 as j,aD as i,bS as p,bl as u,bA as k,b_ as h,bO as b,W as f,bn as B,c9 as q,aA as E,aB as g}from"./CJxGDkBm.js";import{i as F}from"./DrPmlbuk.js";import{g as G}from"./jSlXIbXa.js";import{s as m}from"./puisNM3r.js";import{i as H,W as J,j as K}from"./S6AtfZPI.js";var L=g('<li class="flex items-center gap-2"><!> <span class="min-w-0 flex-1 break-words"> </span> <span class="shrink-0 text-muted-foreground"> </span></li>'),M=g('<ul class="space-y-1 text-sm"></ul>');function N(n,o){if(new.target)return W({component:N,...n});S(o,!0);let r=A(o,"checklist",7);const v=q(()=>{const e=c=>({state:c?"done":"waiting",status:c?s.desktop_os_checklist_allowed():s.desktop_os_checklist_missing()}),t=()=>r().screenCapture==="blocked"?{state:"waiting",status:s.desktop_os_checklist_blocked()}:r().screenCapture==="ready"?{state:"done",status:s.desktop_os_checklist_ready()}:r().screenCapture==="checking"?{state:"waiting",status:s.desktop_os_checklist_checking()}:{state:"failed",status:s.desktop_os_checklist_unconfirmed()};return[{label:s.desktop_os_checklist_accessibility(),...e(r().accessibility)},{label:s.desktop_os_checklist_screenRecording(),...e(r().screenRecording)},{label:s.desktop_os_checklist_screenCapture(),...t()}]});var x={get checklist(){return r()},set checklist(e){r(e),E()},$set:O,$on:(e,t)=>R(o,e,t)},l=M();return G(l,21,()=>i(v),e=>e.label,(e,t)=>{var c=L(),_=j(c);{var C=a=>{H(a,{class:"size-4 shrink-0 text-success","aria-hidden":"true"})},y=a=>{J(a,{class:"size-4 shrink-0 text-danger","aria-hidden":"true"})},w=a=>{K(a,{class:"size-4 shrink-0 text-muted-foreground","aria-hidden":"true"})};F(_,a=>{i(t).state==="done"?a(C):i(t).state==="failed"?a(y,1):a(w,-1)})}var d=p(_,2),z=u(d,!0),D=p(d,2),I=u(D,!0);k(c),h(()=>{m(c,"data-state",i(t).state),b(z,i(t).label),b(I,i(t).status)}),f(e,c)}),k(l),h(e=>m(l,"aria-label",e),[()=>s.desktop_os_checklist_title()]),f(n,l),B(x)}export{N as D};
@@ -0,0 +1 @@
1
+ import{n as i}from"./DsDqvgC9.js";import{o as n}from"./CMPYMsb3.js";import{i as o,IS as a,DO as s,v2 as r,uE as f}from"./DUUOaZUX.js";async function m(t,e){if(!(!t||!e)){if(t===o){await i("/"),a.dispatch(s(e)),a.dispatch(r("chief"));return}await n(t)&&a.dispatch(f(t,{agentId:e}))}}export{m as n};
@@ -1,4 +1,4 @@
1
- import{g as Jt}from"./DMicUhyp.js";import{g as Zt}from"./CdhsB6Tk.js";import{s as $t}from"./FdrUgkC6.js";import{b as C,a$ as e1,ay as Z,X as Ae,a1 as t1,aP as s1,bh as at,a_ as i1,aZ as r1,b0 as a1,V as n1,U as u1,Y as o1,z as l1,ax as c1,J as h1,aq as st,as as d1,$ as it,aW as rt,r as p1,a2 as f1,N as g1,am as b1,aU as k1,ab as A1,x as m1,aT as C1,p as S1}from"./BN2Xx7qY.js";import{c as D1}from"./Blu36gU0.js";import{aR as T1}from"./D7S6-tcN.js";var E1="flowchart-",y1=["laneRole","laneIndex","drawnExtent"];function Wt(s){if(!s||typeof s!="object")return s;const i={...s};for(const a of y1)Reflect.deleteProperty(i,a);return i}C(Wt,"withoutInternalKeys");var Pe,x1=(Pe=class{constructor(){this.vertexCounter=0,this.config=Ae(),this.diagramId="",this.vertices=new Map,this.edges=[],this.classes=new Map,this.subGraphs=[],this.subGraphLookup=new Map,this.droppedSubGraphMembers=[],this.tooltips=new Map,this.subCount=0,this.firstGraphFlag=!0,this.secCount=-1,this.posCrossRef=[],this.funs=[],this.setAccTitle=i1,this.setAccDescription=r1,this.setDiagramTitle=a1,this.getAccTitle=n1,this.getAccDescription=u1,this.getDiagramTitle=o1,this.funs.push(this.setupToolTips.bind(this)),this.addVertex=this.addVertex.bind(this),this.firstGraph=this.firstGraph.bind(this),this.setDirection=this.setDirection.bind(this),this.addSubGraph=this.addSubGraph.bind(this),this.addLink=this.addLink.bind(this),this.setLink=this.setLink.bind(this),this.updateLink=this.updateLink.bind(this),this.addClass=this.addClass.bind(this),this.setClass=this.setClass.bind(this),this.destructLink=this.destructLink.bind(this),this.setClickEvent=this.setClickEvent.bind(this),this.setTooltip=this.setTooltip.bind(this),this.updateLinkInterpolate=this.updateLinkInterpolate.bind(this),this.setClickFun=this.setClickFun.bind(this),this.bindFunctions=this.bindFunctions.bind(this),this.lex={firstGraph:this.firstGraph.bind(this)},this.clear(),this.setGen("gen-2")}sanitizeText(i){return l1.sanitizeText(i,this.config)}sanitizeNodeLabelType(i){switch(i){case"markdown":case"string":case"text":return i;default:return"markdown"}}setDiagramId(i){this.diagramId=i}lookUpDomId(i){for(const a of this.vertices.values())if(a.id===i)return this.diagramId?`${this.diagramId}-${a.domId}`:a.domId;return this.diagramId?`${this.diagramId}-${i}`:i}addVertex(i,a,n,r,l,g,o={},m){if(!i||i.trim().length===0)return;let d;if(m!==void 0){let f;m.includes(`
1
+ import{g as Jt}from"./DODIyxsG.js";import{g as Zt}from"./DYhAW_nh.js";import{s as $t}from"./CktoO_4b.js";import{b as C,a$ as e1,ay as Z,X as Ae,a1 as t1,aP as s1,bh as at,a_ as i1,aZ as r1,b0 as a1,V as n1,U as u1,Y as o1,z as l1,ax as c1,J as h1,aq as st,as as d1,$ as it,aW as rt,r as p1,a2 as f1,N as g1,am as b1,aU as k1,ab as A1,x as m1,aT as C1,p as S1}from"./C2gV5GaR.js";import{c as D1}from"./BX-wlbf1.js";import{aR as T1}from"./D9e6EkDi.js";var E1="flowchart-",y1=["laneRole","laneIndex","drawnExtent"];function Wt(s){if(!s||typeof s!="object")return s;const i={...s};for(const a of y1)Reflect.deleteProperty(i,a);return i}C(Wt,"withoutInternalKeys");var Pe,x1=(Pe=class{constructor(){this.vertexCounter=0,this.config=Ae(),this.diagramId="",this.vertices=new Map,this.edges=[],this.classes=new Map,this.subGraphs=[],this.subGraphLookup=new Map,this.droppedSubGraphMembers=[],this.tooltips=new Map,this.subCount=0,this.firstGraphFlag=!0,this.secCount=-1,this.posCrossRef=[],this.funs=[],this.setAccTitle=i1,this.setAccDescription=r1,this.setDiagramTitle=a1,this.getAccTitle=n1,this.getAccDescription=u1,this.getDiagramTitle=o1,this.funs.push(this.setupToolTips.bind(this)),this.addVertex=this.addVertex.bind(this),this.firstGraph=this.firstGraph.bind(this),this.setDirection=this.setDirection.bind(this),this.addSubGraph=this.addSubGraph.bind(this),this.addLink=this.addLink.bind(this),this.setLink=this.setLink.bind(this),this.updateLink=this.updateLink.bind(this),this.addClass=this.addClass.bind(this),this.setClass=this.setClass.bind(this),this.destructLink=this.destructLink.bind(this),this.setClickEvent=this.setClickEvent.bind(this),this.setTooltip=this.setTooltip.bind(this),this.updateLinkInterpolate=this.updateLinkInterpolate.bind(this),this.setClickFun=this.setClickFun.bind(this),this.bindFunctions=this.bindFunctions.bind(this),this.lex={firstGraph:this.firstGraph.bind(this)},this.clear(),this.setGen("gen-2")}sanitizeText(i){return l1.sanitizeText(i,this.config)}sanitizeNodeLabelType(i){switch(i){case"markdown":case"string":case"text":return i;default:return"markdown"}}setDiagramId(i){this.diagramId=i}lookUpDomId(i){for(const a of this.vertices.values())if(a.id===i)return this.diagramId?`${this.diagramId}-${a.domId}`:a.domId;return this.diagramId?`${this.diagramId}-${i}`:i}addVertex(i,a,n,r,l,g,o={},m){if(!i||i.trim().length===0)return;let d;if(m!==void 0){let f;m.includes(`
2
2
  `)?f=m+`
3
3
  `:f=`{
4
4
  `+m+`
@@ -1,4 +1,4 @@
1
- import{g as ae}from"./CdhsB6Tk.js";import{s as ce}from"./FdrUgkC6.js";import{b as l,ay as C,a1 as le,aP as he,W as de,O as G,X as B,aV as F,a8 as ge,an as ue,au as pe,H as fe}from"./BN2Xx7qY.js";var Y=(function(){var n=l(function(x,s,i,o){for(i=i||{},o=x.length;o--;i[x[o]]=s);return i},"o"),e=[1,4],a=[1,13],d=[1,12],t=[1,15],h=[1,16],u=[1,20],m=[1,19],E=[6,7,8],_=[1,26],D=[1,24],w=[1,25],g=[6,7,11],R=[1,6,13,15,16,19,22],q=[1,33],J=[1,34],A=[1,6,7,11,13,15,16,19,22],j={trace:l(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"MINDMAP",11:"EOF",13:"SPACELIST",15:"ICON",16:"CLASS",19:"NODE_DSTART",20:"NODE_DESCR",21:"NODE_DEND",22:"NODE_ID"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:l(function(s,i,o,c,f,r,$){var p=r.length-1;switch(f){case 6:case 7:return c;case 8:c.getLogger().trace("Stop NL ");break;case 9:c.getLogger().trace("Stop EOF ");break;case 11:c.getLogger().trace("Stop NL2 ");break;case 12:c.getLogger().trace("Stop EOF2 ");break;case 15:c.getLogger().info("Node: ",r[p].id),c.addNode(r[p-1].length,r[p].id,r[p].descr,r[p].type);break;case 16:c.getLogger().trace("Icon: ",r[p]),c.decorateNode({icon:r[p]});break;case 17:case 21:c.decorateNode({class:r[p]});break;case 18:c.getLogger().trace("SPACELIST");break;case 19:c.getLogger().trace("Node: ",r[p].id),c.addNode(0,r[p].id,r[p].descr,r[p].type);break;case 20:c.decorateNode({icon:r[p]});break;case 25:c.getLogger().trace("node found ..",r[p-2]),this.$={id:r[p-1],descr:r[p-1],type:c.getType(r[p-2],r[p])};break;case 26:this.$={id:r[p],descr:r[p],type:c.nodeType.DEFAULT};break;case 27:c.getLogger().trace("node found ..",r[p-3]),this.$={id:r[p-3],descr:r[p-1],type:c.getType(r[p-2],r[p])};break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:e},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:e},{6:a,7:[1,10],9:9,12:11,13:d,14:14,15:t,16:h,17:17,18:18,19:u,22:m},n(E,[2,3]),{1:[2,2]},n(E,[2,4]),n(E,[2,5]),{1:[2,6],6:a,12:21,13:d,14:14,15:t,16:h,17:17,18:18,19:u,22:m},{6:a,9:22,12:11,13:d,14:14,15:t,16:h,17:17,18:18,19:u,22:m},{6:_,7:D,10:23,11:w},n(g,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:u,22:m}),n(g,[2,18]),n(g,[2,19]),n(g,[2,20]),n(g,[2,21]),n(g,[2,23]),n(g,[2,24]),n(g,[2,26],{19:[1,30]}),{20:[1,31]},{6:_,7:D,10:32,11:w},{1:[2,7],6:a,12:21,13:d,14:14,15:t,16:h,17:17,18:18,19:u,22:m},n(R,[2,14],{7:q,11:J}),n(A,[2,8]),n(A,[2,9]),n(A,[2,10]),n(g,[2,15]),n(g,[2,16]),n(g,[2,17]),{20:[1,35]},{21:[1,36]},n(R,[2,13],{7:q,11:J}),n(A,[2,11]),n(A,[2,12]),{21:[1,37]},n(g,[2,25]),n(g,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:l(function(s,i){if(i.recoverable)this.trace(s);else{var o=new Error(s);throw o.hash=i,o}},"parseError"),parse:l(function(s){var i=this,o=[0],c=[],f=[null],r=[],$=this.table,p="",M=0,K=0,ie=2,Q=1,se=r.slice.call(arguments,1),y=Object.create(this.lexer),v={yy:{}};for(var H in this.yy)Object.prototype.hasOwnProperty.call(this.yy,H)&&(v.yy[H]=this.yy[H]);y.setInput(s,v.yy),v.yy.lexer=y,v.yy.parser=this,typeof y.yylloc>"u"&&(y.yylloc={});var W=y.yylloc;r.push(W);var re=y.options&&y.options.ranges;typeof v.yy.parseError=="function"?this.parseError=v.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function oe(b){o.length=o.length-2*b,f.length=f.length-b,r.length=r.length-b}l(oe,"popStack");function Z(){var b;return b=c.pop()||y.lex()||Q,typeof b!="number"&&(b instanceof Array&&(c=b,b=c.pop()),b=i.symbols_[b]||b),b}l(Z,"lex");for(var k,T,S,X,O={},U,N,ee,V;;){if(T=o[o.length-1],this.defaultActions[T]?S=this.defaultActions[T]:((k===null||typeof k>"u")&&(k=Z()),S=$[T]&&$[T][k]),typeof S>"u"||!S.length||!S[0]){var z="";V=[];for(U in $[T])this.terminals_[U]&&U>ie&&V.push("'"+this.terminals_[U]+"'");y.showPosition?z="Parse error on line "+(M+1)+`:
1
+ import{g as ae}from"./DYhAW_nh.js";import{s as ce}from"./CktoO_4b.js";import{b as l,ay as C,a1 as le,aP as he,W as de,O as G,X as B,aV as F,a8 as ge,an as ue,au as pe,H as fe}from"./C2gV5GaR.js";var Y=(function(){var n=l(function(x,s,i,o){for(i=i||{},o=x.length;o--;i[x[o]]=s);return i},"o"),e=[1,4],a=[1,13],d=[1,12],t=[1,15],h=[1,16],u=[1,20],m=[1,19],E=[6,7,8],_=[1,26],D=[1,24],w=[1,25],g=[6,7,11],R=[1,6,13,15,16,19,22],q=[1,33],J=[1,34],A=[1,6,7,11,13,15,16,19,22],j={trace:l(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"MINDMAP",11:"EOF",13:"SPACELIST",15:"ICON",16:"CLASS",19:"NODE_DSTART",20:"NODE_DESCR",21:"NODE_DEND",22:"NODE_ID"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:l(function(s,i,o,c,f,r,$){var p=r.length-1;switch(f){case 6:case 7:return c;case 8:c.getLogger().trace("Stop NL ");break;case 9:c.getLogger().trace("Stop EOF ");break;case 11:c.getLogger().trace("Stop NL2 ");break;case 12:c.getLogger().trace("Stop EOF2 ");break;case 15:c.getLogger().info("Node: ",r[p].id),c.addNode(r[p-1].length,r[p].id,r[p].descr,r[p].type);break;case 16:c.getLogger().trace("Icon: ",r[p]),c.decorateNode({icon:r[p]});break;case 17:case 21:c.decorateNode({class:r[p]});break;case 18:c.getLogger().trace("SPACELIST");break;case 19:c.getLogger().trace("Node: ",r[p].id),c.addNode(0,r[p].id,r[p].descr,r[p].type);break;case 20:c.decorateNode({icon:r[p]});break;case 25:c.getLogger().trace("node found ..",r[p-2]),this.$={id:r[p-1],descr:r[p-1],type:c.getType(r[p-2],r[p])};break;case 26:this.$={id:r[p],descr:r[p],type:c.nodeType.DEFAULT};break;case 27:c.getLogger().trace("node found ..",r[p-3]),this.$={id:r[p-3],descr:r[p-1],type:c.getType(r[p-2],r[p])};break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:e},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:e},{6:a,7:[1,10],9:9,12:11,13:d,14:14,15:t,16:h,17:17,18:18,19:u,22:m},n(E,[2,3]),{1:[2,2]},n(E,[2,4]),n(E,[2,5]),{1:[2,6],6:a,12:21,13:d,14:14,15:t,16:h,17:17,18:18,19:u,22:m},{6:a,9:22,12:11,13:d,14:14,15:t,16:h,17:17,18:18,19:u,22:m},{6:_,7:D,10:23,11:w},n(g,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:u,22:m}),n(g,[2,18]),n(g,[2,19]),n(g,[2,20]),n(g,[2,21]),n(g,[2,23]),n(g,[2,24]),n(g,[2,26],{19:[1,30]}),{20:[1,31]},{6:_,7:D,10:32,11:w},{1:[2,7],6:a,12:21,13:d,14:14,15:t,16:h,17:17,18:18,19:u,22:m},n(R,[2,14],{7:q,11:J}),n(A,[2,8]),n(A,[2,9]),n(A,[2,10]),n(g,[2,15]),n(g,[2,16]),n(g,[2,17]),{20:[1,35]},{21:[1,36]},n(R,[2,13],{7:q,11:J}),n(A,[2,11]),n(A,[2,12]),{21:[1,37]},n(g,[2,25]),n(g,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:l(function(s,i){if(i.recoverable)this.trace(s);else{var o=new Error(s);throw o.hash=i,o}},"parseError"),parse:l(function(s){var i=this,o=[0],c=[],f=[null],r=[],$=this.table,p="",M=0,K=0,ie=2,Q=1,se=r.slice.call(arguments,1),y=Object.create(this.lexer),v={yy:{}};for(var H in this.yy)Object.prototype.hasOwnProperty.call(this.yy,H)&&(v.yy[H]=this.yy[H]);y.setInput(s,v.yy),v.yy.lexer=y,v.yy.parser=this,typeof y.yylloc>"u"&&(y.yylloc={});var W=y.yylloc;r.push(W);var re=y.options&&y.options.ranges;typeof v.yy.parseError=="function"?this.parseError=v.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function oe(b){o.length=o.length-2*b,f.length=f.length-b,r.length=r.length-b}l(oe,"popStack");function Z(){var b;return b=c.pop()||y.lex()||Q,typeof b!="number"&&(b instanceof Array&&(c=b,b=c.pop()),b=i.symbols_[b]||b),b}l(Z,"lex");for(var k,T,S,X,O={},U,N,ee,V;;){if(T=o[o.length-1],this.defaultActions[T]?S=this.defaultActions[T]:((k===null||typeof k>"u")&&(k=Z()),S=$[T]&&$[T][k]),typeof S>"u"||!S.length||!S[0]){var z="";V=[];for(U in $[T])this.terminals_[U]&&U>ie&&V.push("'"+this.terminals_[U]+"'");y.showPosition?z="Parse error on line "+(M+1)+`:
2
2
  `+y.showPosition()+`
3
3
  Expecting `+V.join(", ")+", got '"+(this.terminals_[k]||k)+"'":z="Parse error on line "+(M+1)+": Unexpected "+(k==Q?"end of input":"'"+(this.terminals_[k]||k)+"'"),this.parseError(z,{text:y.match,token:this.terminals_[k]||k,line:y.yylineno,loc:W,expected:V})}if(S[0]instanceof Array&&S.length>1)throw new Error("Parse Error: multiple actions possible at state: "+T+", token: "+k);switch(S[0]){case 1:o.push(k),f.push(y.yytext),r.push(y.yylloc),o.push(S[1]),k=null,K=y.yyleng,p=y.yytext,M=y.yylineno,W=y.yylloc;break;case 2:if(N=this.productions_[S[1]][1],O.$=f[f.length-N],O._$={first_line:r[r.length-(N||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(N||1)].first_column,last_column:r[r.length-1].last_column},re&&(O._$.range=[r[r.length-(N||1)].range[0],r[r.length-1].range[1]]),X=this.performAction.apply(O,[p,K,M,v.yy,S[1],f,r].concat(se)),typeof X<"u")return X;N&&(o=o.slice(0,-1*N*2),f=f.slice(0,-1*N),r=r.slice(0,-1*N)),o.push(this.productions_[S[1]][0]),f.push(O.$),r.push(O._$),ee=$[o[o.length-2]][o[o.length-1]],o.push(ee);break;case 3:return!0}}return!0},"parse")},ne=(function(){var x={EOF:1,parseError:l(function(i,o){if(this.yy.parser)this.yy.parser.parseError(i,o);else throw new Error(i)},"parseError"),setInput:l(function(s,i){return this.yy=i||this.yy||{},this._input=s,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:l(function(){var s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var i=s.match(/(?:\r\n?|\n).*/g);return i?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),s},"input"),unput:l(function(s){var i=s.length,o=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;var c=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),o.length-1&&(this.yylineno-=o.length-1);var f=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:o?(o.length===c.length?this.yylloc.first_column:0)+c[c.length-o.length].length-o[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[f[0],f[0]+this.yyleng-i]),this.yyleng=this.yytext.length,this},"unput"),more:l(function(){return this._more=!0,this},"more"),reject:l(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:l(function(s){this.unput(this.match.slice(s))},"less"),pastInput:l(function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:l(function(){var s=this.match;return s.length<20&&(s+=this._input.substr(0,20-s.length)),(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:l(function(){var s=this.pastInput(),i=new Array(s.length+1).join("-");return s+this.upcomingInput()+`
@@ -1,3 +1,3 @@
1
- import{l as c}from"./C9c1XoGB.js";const s=["assign","flush","ftl","return","global","import","include","break","continue","local","nested","nt","setting","stop","t","lt","rt","fallback"],d=["attempt","autoesc","autoEsc","compress","comment","escape","noescape","function","if","list","items","sep","macro","noparse","noParse","noautoesc","noAutoEsc","outputformat","switch","visit","recurse"],a={close:">",id:"angle",open:"<"},r={close:"\\]",id:"bracket",open:"\\["},F={close:"[>\\]]",id:"auto",open:"[<\\[]"},k={close:"\\}",id:"dollar",open1:"\\$",open2:"\\{"},p={close:"\\]",id:"bracket",open1:"\\[",open2:"="};function l(t){return{brackets:[["<",">"],["[","]"],["(",")"],["{","}"]],comments:{blockComment:[`${t.open}--`,`--${t.close}`]},autoCloseBefore:`
1
+ import{l as c}from"./DTY9Anmi.js";const s=["assign","flush","ftl","return","global","import","include","break","continue","local","nested","nt","setting","stop","t","lt","rt","fallback"],d=["attempt","autoesc","autoEsc","compress","comment","escape","noescape","function","if","list","items","sep","macro","noparse","noParse","noautoesc","noAutoEsc","outputformat","switch","visit","recurse"],a={close:">",id:"angle",open:"<"},r={close:"\\]",id:"bracket",open:"\\["},F={close:"[>\\]]",id:"auto",open:"[<\\[]"},k={close:"\\}",id:"dollar",open1:"\\$",open2:"\\{"},p={close:"\\]",id:"bracket",open1:"\\[",open2:"="};function l(t){return{brackets:[["<",">"],["[","]"],["(",")"],["{","}"]],comments:{blockComment:[`${t.open}--`,`--${t.close}`]},autoCloseBefore:`
2
2
  \r }]),.:;=`,autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string"]}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],folding:{markers:{start:new RegExp(`${t.open}#(?:${d.join("|")})([^/${t.close}]*(?!/)${t.close})[^${t.open}]*$`),end:new RegExp(`${t.open}/#(?:${d.join("|")})[\\r\\n\\t ]*>`)}},onEnterRules:[{beforeText:new RegExp(`${t.open}#(?!(?:${s.join("|")}))([a-zA-Z_]+)([^/${t.close}]*(?!/)${t.close})[^${t.open}]*$`),afterText:new RegExp(`^${t.open}/#([a-zA-Z_]+)[\\r\\n\\t ]*${t.close}$`),action:{indentAction:c.IndentAction.IndentOutdent}},{beforeText:new RegExp(`${t.open}#(?!(?:${s.join("|")}))([a-zA-Z_]+)([^/${t.close}]*(?!/)${t.close})[^${t.open}]*$`),action:{indentAction:c.IndentAction.Indent}}]}}function g(){return{brackets:[["<",">"],["[","]"],["(",")"],["{","}"]],autoCloseBefore:`
3
3
  \r }]),.:;=`,autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string"]}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],folding:{markers:{start:new RegExp(`[<\\[]#(?:${d.join("|")})([^/>\\]]*(?!/)[>\\]])[^<\\[]*$`),end:new RegExp(`[<\\[]/#(?:${d.join("|")})[\\r\\n\\t ]*>`)}},onEnterRules:[{beforeText:new RegExp(`[<\\[]#(?!(?:${s.join("|")}))([a-zA-Z_]+)([^/>\\]]*(?!/)[>\\]])[^[<\\[]]*$`),afterText:new RegExp("^[<\\[]/#([a-zA-Z_]+)[\\r\\n\\t ]*[>\\]]$"),action:{indentAction:c.IndentAction.IndentOutdent}},{beforeText:new RegExp(`[<\\[]#(?!(?:${s.join("|")}))([a-zA-Z_]+)([^/>\\]]*(?!/)[>\\]])[^[<\\[]]*$`),action:{indentAction:c.IndentAction.Indent}}]}}function _(t,n){const i=`_${t.id}_${n.id}`,e=u=>u.replace(/__id__/g,i),o=u=>{const m=u.source.replace(/__id__/g,i);return new RegExp(m,u.flags)};return{unicode:!0,includeLF:!1,start:e("default__id__"),ignoreCase:!1,defaultToken:"invalid",tokenPostfix:".freemarker2",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],[e("open__id__")]:new RegExp(t.open),[e("close__id__")]:new RegExp(t.close),[e("iOpen1__id__")]:new RegExp(n.open1),[e("iOpen2__id__")]:new RegExp(n.open2),[e("iClose__id__")]:new RegExp(n.close),[e("startTag__id__")]:o(/(@open__id__)(#)/),[e("endTag__id__")]:o(/(@open__id__)(\/#)/),[e("startOrEndTag__id__")]:o(/(@open__id__)(\/?#)/),[e("closeTag1__id__")]:o(/((?:@blank)*)(@close__id__)/),[e("closeTag2__id__")]:o(/((?:@blank)*\/?)(@close__id__)/),blank:/[ \t\n\r]/,keywords:["false","true","in","as","using"],directiveStartCloseTag1:/attempt|recover|sep|auto[eE]sc|no(?:autoe|AutoE)sc|compress|default|no[eE]scape|comment|no[pP]arse/,directiveStartCloseTag2:/else|break|continue|return|stop|flush|t|lt|rt|nt|nested|recurse|fallback|ftl/,directiveStartBlank:/if|else[iI]f|list|for[eE]ach|switch|case|assign|global|local|include|import|function|macro|transform|visit|stop|return|call|setting|output[fF]ormat|nested|recurse|escape|ftl|items/,directiveEndCloseTag1:/if|list|items|sep|recover|attempt|for[eE]ach|local|global|assign|function|macro|output[fF]ormat|auto[eE]sc|no(?:autoe|AutoE)sc|compress|transform|switch|escape|no[eE]scape/,escapedChar:/\\(?:[ntrfbgla\\'"\{=]|(?:x[0-9A-Fa-f]{1,4}))/,asciiDigit:/[0-9]/,integer:/[0-9]+/,nonEscapedIdStartChar:/[\$@-Z_a-z\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u1FFF\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183-\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3006\u3031-\u3035\u303B-\u303C\u3040-\u318F\u31A0-\u31BA\u31F0-\u31FF\u3300-\u337F\u3400-\u4DB5\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40-\uFB41\uFB43-\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,escapedIdChar:/\\[\-\.:#]/,idStartChar:/(?:@nonEscapedIdStartChar)|(?:@escapedIdChar)/,id:/(?:@idStartChar)(?:(?:@idStartChar)|(?:@asciiDigit))*/,specialHashKeys:/\*\*|\*|false|true|in|as|using/,namedSymbols:/&lt;=|&gt;=|\\lte|\\lt|&lt;|\\gte|\\gt|&gt;|&amp;&amp;|\\and|-&gt;|->|==|!=|\+=|-=|\*=|\/=|%=|\+\+|--|<=|&&|\|\||:|\.\.\.|\.\.\*|\.\.<|\.\.!|\?\?|=|<|\+|-|\*|\/|%|\||\.\.|\?|!|&|\.|,|;/,arrows:["->","-&gt;"],delimiters:[";",":",",","."],stringOperators:["lte","lt","gte","gt"],noParseTags:["noparse","noParse","comment"],tokenizer:{[e("default__id__")]:[{include:e("@directive_token__id__")},{include:e("@interpolation_and_text_token__id__")}],[e("fmExpression__id__.directive")]:[{include:e("@blank_and_expression_comment_token__id__")},{include:e("@directive_end_token__id__")},{include:e("@expression_token__id__")}],[e("fmExpression__id__.interpolation")]:[{include:e("@blank_and_expression_comment_token__id__")},{include:e("@expression_token__id__")},{include:e("@greater_operators_token__id__")}],[e("inParen__id__.plain")]:[{include:e("@blank_and_expression_comment_token__id__")},{include:e("@directive_end_token__id__")},{include:e("@expression_token__id__")}],[e("inParen__id__.gt")]:[{include:e("@blank_and_expression_comment_token__id__")},{include:e("@expression_token__id__")},{include:e("@greater_operators_token__id__")}],[e("noSpaceExpression__id__")]:[{include:e("@no_space_expression_end_token__id__")},{include:e("@directive_end_token__id__")},{include:e("@expression_token__id__")}],[e("unifiedCall__id__")]:[{include:e("@unified_call_token__id__")}],[e("singleString__id__")]:[{include:e("@string_single_token__id__")}],[e("doubleString__id__")]:[{include:e("@string_double_token__id__")}],[e("rawSingleString__id__")]:[{include:e("@string_single_raw_token__id__")}],[e("rawDoubleString__id__")]:[{include:e("@string_double_raw_token__id__")}],[e("expressionComment__id__")]:[{include:e("@expression_comment_token__id__")}],[e("noParse__id__")]:[{include:e("@no_parse_token__id__")}],[e("terseComment__id__")]:[{include:e("@terse_comment_token__id__")}],[e("directive_token__id__")]:[[o(/(?:@startTag__id__)(@directiveStartCloseTag1)(?:@closeTag1__id__)/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{cases:{"@noParseTags":{token:"tag",next:e("@noParse__id__.$3")},"@default":{token:"tag"}}},{token:"delimiter.directive"},{token:"@brackets.directive"}]],[o(/(?:@startTag__id__)(@directiveStartCloseTag2)(?:@closeTag2__id__)/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:"delimiter.directive"},{token:"@brackets.directive"}]],[o(/(?:@startTag__id__)(@directiveStartBlank)(@blank)/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:"",next:e("@fmExpression__id__.directive")}]],[o(/(?:@endTag__id__)(@directiveEndCloseTag1)(?:@closeTag1__id__)/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:"delimiter.directive"},{token:"@brackets.directive"}]],[o(/(@open__id__)(@)/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive",next:e("@unifiedCall__id__")}]],[o(/(@open__id__)(\/@)((?:(?:@id)(?:\.(?:@id))*)?)(?:@closeTag1__id__)/),[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:"delimiter.directive"},{token:"@brackets.directive"}]],[o(/(@open__id__)#--/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:{token:"comment",next:e("@terseComment__id__")}],[o(/(?:@startOrEndTag__id__)([a-zA-Z_]+)/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag.invalid",next:e("@fmExpression__id__.directive")}]]],[e("interpolation_and_text_token__id__")]:[[o(/(@iOpen1__id__)(@iOpen2__id__)/),[{token:n.id==="bracket"?"@brackets.interpolation":"delimiter.interpolation"},{token:n.id==="bracket"?"delimiter.interpolation":"@brackets.interpolation",next:e("@fmExpression__id__.interpolation")}]],[/[\$#<\[\{]|(?:@blank)+|[^\$<#\[\{\n\r\t ]+/,{token:"source"}]],[e("string_single_token__id__")]:[[/[^'\\]/,{token:"string"}],[/@escapedChar/,{token:"string.escape"}],[/'/,{token:"string",next:"@pop"}]],[e("string_double_token__id__")]:[[/[^"\\]/,{token:"string"}],[/@escapedChar/,{token:"string.escape"}],[/"/,{token:"string",next:"@pop"}]],[e("string_single_raw_token__id__")]:[[/[^']+/,{token:"string.raw"}],[/'/,{token:"string.raw",next:"@pop"}]],[e("string_double_raw_token__id__")]:[[/[^"]+/,{token:"string.raw"}],[/"/,{token:"string.raw",next:"@pop"}]],[e("expression_token__id__")]:[[/(r?)(['"])/,{cases:{"r'":[{token:"keyword"},{token:"string.raw",next:e("@rawSingleString__id__")}],'r"':[{token:"keyword"},{token:"string.raw",next:e("@rawDoubleString__id__")}],"'":[{token:"source"},{token:"string",next:e("@singleString__id__")}],'"':[{token:"source"},{token:"string",next:e("@doubleString__id__")}]}}],[/(?:@integer)(?:\.(?:@integer))?/,{cases:{"(?:@integer)":{token:"number"},"@default":{token:"number.float"}}}],[/(\.)(@blank*)(@specialHashKeys)/,[{token:"delimiter"},{token:""},{token:"identifier"}]],[/(?:@namedSymbols)/,{cases:{"@arrows":{token:"meta.arrow"},"@delimiters":{token:"delimiter"},"@default":{token:"operators"}}}],[/@id/,{cases:{"@keywords":{token:"keyword.$0"},"@stringOperators":{token:"operators"},"@default":{token:"identifier"}}}],[/[\[\]\(\)\{\}]/,{cases:{"\\[":{cases:{"$S2==gt":{token:"@brackets",next:e("@inParen__id__.gt")},"@default":{token:"@brackets",next:e("@inParen__id__.plain")}}},"\\]":{cases:{...n.id==="bracket"?{"$S2==interpolation":{token:"@brackets.interpolation",next:"@popall"}}:{},...t.id==="bracket"?{"$S2==directive":{token:"@brackets.directive",next:"@popall"}}:{},[e("$S1==inParen__id__")]:{token:"@brackets",next:"@pop"},"@default":{token:"@brackets"}}},"\\(":{token:"@brackets",next:e("@inParen__id__.gt")},"\\)":{cases:{[e("$S1==inParen__id__")]:{token:"@brackets",next:"@pop"},"@default":{token:"@brackets"}}},"\\{":{cases:{"$S2==gt":{token:"@brackets",next:e("@inParen__id__.gt")},"@default":{token:"@brackets",next:e("@inParen__id__.plain")}}},"\\}":{cases:{...n.id==="bracket"?{}:{"$S2==interpolation":{token:"@brackets.interpolation",next:"@popall"}},[e("$S1==inParen__id__")]:{token:"@brackets",next:"@pop"},"@default":{token:"@brackets"}}}}}],[/\$\{/,{token:"delimiter.invalid"}]],[e("blank_and_expression_comment_token__id__")]:[[/(?:@blank)+/,{token:""}],[/[<\[][#!]--/,{token:"comment",next:e("@expressionComment__id__")}]],[e("directive_end_token__id__")]:[[/>/,t.id==="bracket"?{token:"operators"}:{token:"@brackets.directive",next:"@popall"}],[o(/(\/)(@close__id__)/),[{token:"delimiter.directive"},{token:"@brackets.directive",next:"@popall"}]]],[e("greater_operators_token__id__")]:[[/>/,{token:"operators"}],[/>=/,{token:"operators"}]],[e("no_space_expression_end_token__id__")]:[[/(?:@blank)+/,{token:"",switchTo:e("@fmExpression__id__.directive")}]],[e("unified_call_token__id__")]:[[/(@id)((?:@blank)+)/,[{token:"tag"},{token:"",next:e("@fmExpression__id__.directive")}]],[o(/(@id)(\/?)(@close__id__)/),[{token:"tag"},{token:"delimiter.directive"},{token:"@brackets.directive",next:"@popall"}]],[/./,{token:"@rematch",next:e("@noSpaceExpression__id__")}]],[e("no_parse_token__id__")]:[[o(/(@open__id__)(\/#?)([a-zA-Z]+)((?:@blank)*)(@close__id__)/),{cases:{"$S2==$3":[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:""},{token:"@brackets.directive",next:"@popall"}],"$S2==comment":[{token:"comment"},{token:"comment"},{token:"comment"},{token:"comment"},{token:"comment"}],"@default":[{token:"source"},{token:"source"},{token:"source"},{token:"source"},{token:"source"}]}}],[/[^<\[\-]+|[<\[\-]/,{cases:{"$S2==comment":{token:"comment"},"@default":{token:"source"}}}]],[e("expression_comment_token__id__")]:[[/--[>\]]/,{token:"comment",next:"@pop"}],[/[^\->\]]+|[>\]\-]/,{token:"comment"}]],[e("terse_comment_token__id__")]:[[o(/--(?:@close__id__)/),{token:"comment",next:"@popall"}],[/[^<\[\-]+|[<\[\-]/,{token:"comment"}]]}}}function A(t){const n=_(a,t),i=_(r,t),e=_(F,t);return{...n,...i,...e,unicode:!0,includeLF:!1,start:`default_auto_${t.id}`,ignoreCase:!1,defaultToken:"invalid",tokenPostfix:".freemarker2",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{...n.tokenizer,...i.tokenizer,...e.tokenizer}}}const b={conf:l(a),language:_(a,k)},x={conf:l(r),language:_(r,k)},$={conf:l(a),language:_(a,p)},E={conf:l(r),language:_(r,p)},B={conf:g(),language:A(k)},D={conf:g(),language:A(p)};export{$ as TagAngleInterpolationBracket,b as TagAngleInterpolationDollar,D as TagAutoInterpolationBracket,B as TagAutoInterpolationDollar,E as TagBracketInterpolationBracket,x as TagBracketInterpolationDollar};
@@ -1 +1 @@
1
- import{t as q,bo as x,bw as B,b as H}from"./D4MngzTk.js";import{bs as T,a7 as J,ay as Q,W as V,bn as K,aA as E,bf as X,bV as _,br as Z,ca as k,aD as n,bk as $,bH as d,c0 as R,a5 as ee,bA as te,b_ as ne,aB as re,c9 as ae}from"./CJxGDkBm.js";import{s as ie}from"./C3DfjxaV.js";import{z as se,av as W}from"./DJtAtlMe.js";import{i as oe}from"./BqUNG33_.js";import{s as de}from"./DrzhapyO.js";import{b as le}from"./NtFyWdpR.js";import{a as ce}from"./DpqAXGKG.js";import{P as ue}from"./B7ID5lhM.js";import"./C-ZYRRid.js";function ve(h,s){if(new.target)return q({component:ve,...h});T(s,!0);let l=x(s,"id",7),v=x(s,"children",7),f=x(s,"virtualEl",7),r=x(s,"ref",7),g=x(s,"tooltip",7,!1);se.create({id:W(()=>l()),virtualEl:W(()=>f()),ref:r()},g());var I={get id(){return l()},set id(i){l(i),E()},get children(){return v()},set children(i){v(i),E()},get virtualEl(){return f()},set virtualEl(i){f(i),E()},get ref(){return r()},set ref(i){r(i),E()},get tooltip(){return g()},set tooltip(i=!1){g(i),E()},$set:B,$on:(i,y)=>H(s,i,y)},b=J(),p=Q(b);return ie(p,()=>v()??X),V(h,b),K(I)}var fe=re('<span data-slot="menu-list-highlight" class="contents svelte-da0knc" aria-hidden="true"><!></span>');function me(h,s){if(new.target)return q({component:me,...h});T(s,!0);let l=x(s,"activeIndex",7),v=x(s,"onactiveindexchange",7),f=_(null),r=_(null),g=_(Z([])),I=_(null),b=_(!1),p=_(!1),i;const y='[data-menu-item], [role="menuitem"], [role="menuitemcheckbox"], [role="menuitemradio"], [role="option"]';k(()=>{n(r)&&l()===void 0&&n(b)&&n(r).activeIndex!==n(I)&&n(r).setActiveIndex(n(I))}),k(()=>{!n(r)||l()===void 0||n(r).pointerPosition||n(r).setActiveIndex(l())}),k(()=>{if(!n(r)?.pointerPosition){i=void 0;return}n(r).activeIndex!==i&&(i=n(r).activeIndex,v()?.(n(r).activeIndex))}),$(()=>{const e=n(f)?.parentElement;if(!e)return;e.dataset.listOverlay="",e.classList.add("relative","isolate");const c=ce(e,{axis:"xy"});d(r,c);let m=[];const U=t=>t instanceof Element&&(t.matches(y)||t.querySelector(y)),Y=t=>t.hasAttribute("data-disabled")||t.getAttribute("aria-disabled")==="true",j=t=>t.dataset.selectionAppearance!=="indicator"&&(t.hasAttribute("data-selected")||t.getAttribute("data-state")==="checked"||t.getAttribute("aria-selected")==="true"||t.getAttribute("aria-checked")==="true"),P=()=>{const t=Array.from(e.querySelectorAll(y)).filter(a=>a.closest("[data-list-overlay]")===e&&!Y(a));t.length!==m.length||t.some((a,u)=>a!==m[u])?(m.forEach((a,u)=>c.registerItem(u,null)),m=t,m.forEach((a,u)=>c.registerItem(u,a))):c.measure();const o=m.flatMap((a,u)=>j(a)?[u]:[]);if((o.length!==n(g).length||o.some((a,u)=>a!==n(g)[u]))&&d(g,o,!0),l()===void 0){const a=m.findIndex(u=>u.hasAttribute("data-highlighted")||u===document.activeElement);a>=0&&c.setActiveIndex(a)}},O=new MutationObserver(t=>{t.some(o=>o.type==="attributes"||[...o.addedNodes,...o.removedNodes].some(U))&&P()});O.observe(e,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["data-highlighted","data-selected","data-state","data-disabled","aria-selected","aria-checked","aria-disabled","data-selection-appearance"]});const L=()=>{const t=m.indexOf(document.activeElement);d(I,t>=0?t:null,!0)},M=()=>{d(p,!1),d(b,!0),L(),R().then(()=>{n(b)&&L()})},S=()=>{d(b,!1)},F=()=>{d(p,!1),d(b,!0),L()},C=t=>{const o=t.target instanceof Element?t.target.closest(y):null,a=m.indexOf(o);t.button!==0||a<0||(d(b,!1),d(p,!0),c.setActiveIndex(a))},w=()=>{d(p,!1)},D=t=>{const o=m.indexOf(t.target);d(I,o>=0?o:null,!0),o>=0&&c.setActiveIndex(o)};return e.addEventListener("keydown",M,!0),e.addEventListener("pointermove",S,!0),e.addEventListener("pointerleave",F),e.addEventListener("pointerdown",C),window.addEventListener("pointerup",w),window.addEventListener("pointercancel",w),e.addEventListener("focusin",D),R().then(P),()=>{O.disconnect(),e.removeEventListener("keydown",M,!0),e.removeEventListener("pointermove",S,!0),e.removeEventListener("pointerleave",F),e.removeEventListener("pointerdown",C),window.removeEventListener("pointerup",w),window.removeEventListener("pointercancel",w),e.removeEventListener("focusin",D),c.destroy(),d(r,null),delete e.dataset.listOverlay}});var N={get activeIndex(){return l()},set activeIndex(e){l(e),E()},get onactiveindexchange(){return v()},set onactiveindexchange(e){v(e),E()},$set:B,$on:(e,c)=>H(s,e,c)},A=fe(),z=ee(A);{var G=e=>{{let c=ae(()=>n(p)?n(g).includes(n(r).activeIndex??-1)?"bg-hover menu-selection-pressed":"bg-active":"bg-hover");ue(e,{get store(){return n(r)},get selectedIndexes(){return n(g)},get hoverClass(){return n(c)}})}};oe(z,e=>{n(r)&&e(G)})}return te(A),le(A,e=>d(f,e),()=>n(f)),ne(()=>de(A,"data-active-index",n(r)?.activeIndex??void 0)),V(h,A),K(N)}const he=8;function Le(h,s,l=24){if(!h)return!0;const v=h.getBoundingClientRect(),f=s+l+he;return v.left>=f||h.ownerDocument.documentElement.clientWidth-v.right>=f}export{ve as F,me as M,he as O,Le as c};
1
+ import{t as q,bo as x,bw as B,b as H}from"./NtxbXOxK.js";import{bs as T,a7 as J,ay as Q,W as V,bn as K,aA as E,bf as X,bV as _,br as Z,ca as k,aD as n,bk as $,bH as d,c0 as R,a5 as ee,bA as te,b_ as ne,aB as re,c9 as ae}from"./CJxGDkBm.js";import{s as ie}from"./BpozSsrs.js";import{z as se,av as W}from"./Bst2sLeL.js";import{i as oe}from"./DrPmlbuk.js";import{s as de}from"./puisNM3r.js";import{b as le}from"./NtFyWdpR.js";import{a as ce}from"./DpqAXGKG.js";import{P as ue}from"./BXVqjGzF.js";import"./BJtZTy_N.js";function ve(h,s){if(new.target)return q({component:ve,...h});T(s,!0);let l=x(s,"id",7),v=x(s,"children",7),f=x(s,"virtualEl",7),r=x(s,"ref",7),g=x(s,"tooltip",7,!1);se.create({id:W(()=>l()),virtualEl:W(()=>f()),ref:r()},g());var I={get id(){return l()},set id(i){l(i),E()},get children(){return v()},set children(i){v(i),E()},get virtualEl(){return f()},set virtualEl(i){f(i),E()},get ref(){return r()},set ref(i){r(i),E()},get tooltip(){return g()},set tooltip(i=!1){g(i),E()},$set:B,$on:(i,y)=>H(s,i,y)},b=J(),p=Q(b);return ie(p,()=>v()??X),V(h,b),K(I)}var fe=re('<span data-slot="menu-list-highlight" class="contents svelte-da0knc" aria-hidden="true"><!></span>');function me(h,s){if(new.target)return q({component:me,...h});T(s,!0);let l=x(s,"activeIndex",7),v=x(s,"onactiveindexchange",7),f=_(null),r=_(null),g=_(Z([])),I=_(null),b=_(!1),p=_(!1),i;const y='[data-menu-item], [role="menuitem"], [role="menuitemcheckbox"], [role="menuitemradio"], [role="option"]';k(()=>{n(r)&&l()===void 0&&n(b)&&n(r).activeIndex!==n(I)&&n(r).setActiveIndex(n(I))}),k(()=>{!n(r)||l()===void 0||n(r).pointerPosition||n(r).setActiveIndex(l())}),k(()=>{if(!n(r)?.pointerPosition){i=void 0;return}n(r).activeIndex!==i&&(i=n(r).activeIndex,v()?.(n(r).activeIndex))}),$(()=>{const e=n(f)?.parentElement;if(!e)return;e.dataset.listOverlay="",e.classList.add("relative","isolate");const c=ce(e,{axis:"xy"});d(r,c);let m=[];const U=t=>t instanceof Element&&(t.matches(y)||t.querySelector(y)),Y=t=>t.hasAttribute("data-disabled")||t.getAttribute("aria-disabled")==="true",j=t=>t.dataset.selectionAppearance!=="indicator"&&(t.hasAttribute("data-selected")||t.getAttribute("data-state")==="checked"||t.getAttribute("aria-selected")==="true"||t.getAttribute("aria-checked")==="true"),P=()=>{const t=Array.from(e.querySelectorAll(y)).filter(a=>a.closest("[data-list-overlay]")===e&&!Y(a));t.length!==m.length||t.some((a,u)=>a!==m[u])?(m.forEach((a,u)=>c.registerItem(u,null)),m=t,m.forEach((a,u)=>c.registerItem(u,a))):c.measure();const o=m.flatMap((a,u)=>j(a)?[u]:[]);if((o.length!==n(g).length||o.some((a,u)=>a!==n(g)[u]))&&d(g,o,!0),l()===void 0){const a=m.findIndex(u=>u.hasAttribute("data-highlighted")||u===document.activeElement);a>=0&&c.setActiveIndex(a)}},O=new MutationObserver(t=>{t.some(o=>o.type==="attributes"||[...o.addedNodes,...o.removedNodes].some(U))&&P()});O.observe(e,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["data-highlighted","data-selected","data-state","data-disabled","aria-selected","aria-checked","aria-disabled","data-selection-appearance"]});const L=()=>{const t=m.indexOf(document.activeElement);d(I,t>=0?t:null,!0)},M=()=>{d(p,!1),d(b,!0),L(),R().then(()=>{n(b)&&L()})},S=()=>{d(b,!1)},F=()=>{d(p,!1),d(b,!0),L()},C=t=>{const o=t.target instanceof Element?t.target.closest(y):null,a=m.indexOf(o);t.button!==0||a<0||(d(b,!1),d(p,!0),c.setActiveIndex(a))},w=()=>{d(p,!1)},D=t=>{const o=m.indexOf(t.target);d(I,o>=0?o:null,!0),o>=0&&c.setActiveIndex(o)};return e.addEventListener("keydown",M,!0),e.addEventListener("pointermove",S,!0),e.addEventListener("pointerleave",F),e.addEventListener("pointerdown",C),window.addEventListener("pointerup",w),window.addEventListener("pointercancel",w),e.addEventListener("focusin",D),R().then(P),()=>{O.disconnect(),e.removeEventListener("keydown",M,!0),e.removeEventListener("pointermove",S,!0),e.removeEventListener("pointerleave",F),e.removeEventListener("pointerdown",C),window.removeEventListener("pointerup",w),window.removeEventListener("pointercancel",w),e.removeEventListener("focusin",D),c.destroy(),d(r,null),delete e.dataset.listOverlay}});var N={get activeIndex(){return l()},set activeIndex(e){l(e),E()},get onactiveindexchange(){return v()},set onactiveindexchange(e){v(e),E()},$set:B,$on:(e,c)=>H(s,e,c)},A=fe(),z=ee(A);{var G=e=>{{let c=ae(()=>n(p)?n(g).includes(n(r).activeIndex??-1)?"bg-hover menu-selection-pressed":"bg-active":"bg-hover");ue(e,{get store(){return n(r)},get selectedIndexes(){return n(g)},get hoverClass(){return n(c)}})}};oe(z,e=>{n(r)&&e(G)})}return te(A),le(A,e=>d(f,e),()=>n(f)),ne(()=>de(A,"data-active-index",n(r)?.activeIndex??void 0)),V(h,A),K(N)}const he=8;function Le(h,s,l=24){if(!h)return!0;const v=h.getBoundingClientRect(),f=s+l+he;return v.left>=f||h.ownerDocument.documentElement.clientWidth-v.right>=f}export{ve as F,me as M,he as O,Le as c};
@@ -1 +1 @@
1
- import{t as u,bo as o,bw as p,bp as b,b as g}from"./D4MngzTk.js";import{bs as h,a5 as _,bA as v,W as x,bn as w,aA as l,aB as y}from"./CJxGDkBm.js";import{s as S}from"./C3DfjxaV.js";import{b as A,e as C}from"./DrzhapyO.js";import{b as k}from"./NtFyWdpR.js";var B=new Set(["$$slots","$$events","$$legacy","ref","children","class"]),N=y("<section><!></section>");function P(c,s){if(new.target)return u({component:P,...c});h(s,!0);let r=o(s,"ref",15,null),a=o(s,"children",7),n=o(s,"class",7),i=b(s,B);var f={get ref(){return r()},set ref(e=null){r(e),l()},get children(){return a()},set children(e){a(e),l()},get class(){return n()},set class(e){n(e),l()},$set:p,$on:(e,d)=>g(s,e,d)},t=N();A(t,e=>({"data-slot":"screen",class:e,...i}),[()=>C("flex min-h-0 min-w-0 flex-col bg-background text-foreground",n())]);var m=_(t);return S(m,a),v(t),k(t,e=>r(e),()=>r()),x(c,t),w(f)}export{P as S};
1
+ import{t as u,bo as o,bw as p,bp as b,b as g}from"./NtxbXOxK.js";import{bs as h,a5 as _,bA as v,W as x,bn as w,aA as l,aB as y}from"./CJxGDkBm.js";import{s as S}from"./BpozSsrs.js";import{b as A,e as C}from"./puisNM3r.js";import{b as k}from"./NtFyWdpR.js";var B=new Set(["$$slots","$$events","$$legacy","ref","children","class"]),N=y("<section><!></section>");function P(c,s){if(new.target)return u({component:P,...c});h(s,!0);let r=o(s,"ref",15,null),a=o(s,"children",7),n=o(s,"class",7),i=b(s,B);var f={get ref(){return r()},set ref(e=null){r(e),l()},get children(){return a()},set children(e){a(e),l()},get class(){return n()},set class(e){n(e),l()},$set:p,$on:(e,d)=>g(s,e,d)},t=N();A(t,e=>({"data-slot":"screen",class:e,...i}),[()=>C("flex min-h-0 min-w-0 flex-col bg-background text-foreground",n())]);var m=_(t);return S(m,a),v(t),k(t,e=>r(e),()=>r()),x(c,t),w(f)}export{P as S};
@@ -1 +1 @@
1
- import{g as l,r as m,d as a}from"./XfZ7vUz0.js";import{p}from"./By3Fe9OQ.js";import{b as t,ay as o}from"./BN2Xx7qY.js";import{M as u,b as c}from"./BveCGFpc.js";var f=c().RailroadPeg.parser.LangiumParser,i=t(e=>{const r=e.alternatives.map(d);return r.length===1?r[0]:{type:"choice",alternatives:r}},"transformOrderedChoice"),d=t(e=>{const r=e.elements.map(P);return r.length===1?r[0]:{type:"sequence",elements:r}},"transformSequence"),P=t(e=>{const r=g(e.suffix);return e.operator?{type:"special",text:e.operator==="&"?`&${s(r)}`:`!${s(r)}`}:r},"transformPrefix"),s=t(e=>{switch(e.type){case"terminal":return`"${e.value}"`;case"nonterminal":return e.name;case"special":return e.text;default:return"(...)"}},"nodeToLabel"),g=t(e=>{const r=y(e.primary);if(!e.operator)return r;switch(e.operator){case"?":return{type:"optional",element:r};case"*":return{type:"repetition",element:r,min:0,max:1/0};case"+":return{type:"repetition",element:r,min:1,max:1/0};default:throw new Error(`Unsupported PEG suffix operator: ${e.operator}`)}},"transformSuffix"),y=t(e=>{switch(e.$type){case"PegLiteral":return{type:"terminal",value:e.value};case"PegIdentifier":return{type:"nonterminal",name:e.name};case"PegGroup":return i(e.element);case"PegAny":return{type:"special",text:e.dot};default:throw new Error(`Unsupported PEG primary node: ${e.$type}`)}},"transformPrimary"),v=t(e=>({name:e.name,definition:i(e.definition)}),"transformRule"),h=t(e=>{p(e,a),e.title&&a.setTitle(e.title),e.rules.map(r=>a.addRule(v(r)))},"populateDb"),b={parse:t(e=>{a.clear(),o.debug("[PEG Parser] Starting Langium parse");const r=f.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new u(r);const n=r.value;o.debug("[PEG Parser] Parsed rules:",n.rules.length),h(n),o.debug("[PEG Parser] Parse complete")},"parse"),parser:{yy:a}},$={parser:b,db:a,renderer:m,styles:l};export{$ as diagram};
1
+ import{g as l,r as m,d as a}from"./DtrdP8PT.js";import{p}from"./DhbB133w.js";import{b as t,ay as o}from"./C2gV5GaR.js";import{M as u,b as c}from"./DSgbJdfR.js";var f=c().RailroadPeg.parser.LangiumParser,i=t(e=>{const r=e.alternatives.map(d);return r.length===1?r[0]:{type:"choice",alternatives:r}},"transformOrderedChoice"),d=t(e=>{const r=e.elements.map(P);return r.length===1?r[0]:{type:"sequence",elements:r}},"transformSequence"),P=t(e=>{const r=g(e.suffix);return e.operator?{type:"special",text:e.operator==="&"?`&${s(r)}`:`!${s(r)}`}:r},"transformPrefix"),s=t(e=>{switch(e.type){case"terminal":return`"${e.value}"`;case"nonterminal":return e.name;case"special":return e.text;default:return"(...)"}},"nodeToLabel"),g=t(e=>{const r=y(e.primary);if(!e.operator)return r;switch(e.operator){case"?":return{type:"optional",element:r};case"*":return{type:"repetition",element:r,min:0,max:1/0};case"+":return{type:"repetition",element:r,min:1,max:1/0};default:throw new Error(`Unsupported PEG suffix operator: ${e.operator}`)}},"transformSuffix"),y=t(e=>{switch(e.$type){case"PegLiteral":return{type:"terminal",value:e.value};case"PegIdentifier":return{type:"nonterminal",name:e.name};case"PegGroup":return i(e.element);case"PegAny":return{type:"special",text:e.dot};default:throw new Error(`Unsupported PEG primary node: ${e.$type}`)}},"transformPrimary"),v=t(e=>({name:e.name,definition:i(e.definition)}),"transformRule"),h=t(e=>{p(e,a),e.title&&a.setTitle(e.title),e.rules.map(r=>a.addRule(v(r)))},"populateDb"),b={parse:t(e=>{a.clear(),o.debug("[PEG Parser] Starting Langium parse");const r=f.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new u(r);const n=r.value;o.debug("[PEG Parser] Parsed rules:",n.rules.length),h(n),o.debug("[PEG Parser] Parse complete")},"parse"),parser:{yy:a}},$={parser:b,db:a,renderer:m,styles:l};export{$ as diagram};
@@ -1 +1 @@
1
- import{c as h}from"./MqeYlZEc.js";import{C as c,H as u,d as p,D as m,R as f,g as _,h as w,b as k,F as v,a as D,S as P,c as R,f as I}from"./D_LNh-Ja.js";import{e as H,i as U,j as y,t as T,k as x}from"./D_LNh-Ja.js";import{l as s}from"./C9c1XoGB.js";const C=120*1e3;class A{constructor(n){this._defaults=n,this._worker=null,this._client=null,this._idleCheckInterval=window.setInterval(()=>this._checkIfIdle(),30*1e3),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(()=>this._stopWorker())}_stopWorker(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null}dispose(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()}_checkIfIdle(){if(!this._worker)return;Date.now()-this._lastUsedTime>C&&this._stopWorker()}_getClient(){return this._lastUsedTime=Date.now(),this._client||(this._worker=h({moduleId:"vs/language/css/cssWorker",createWorker:()=>new Worker(new URL("/app/immutable/workers/css.worker-08QwUeFR.js",import.meta.url),{type:"module"}),label:this._defaults.languageId,createData:{options:this._defaults.options,languageId:this._defaults.languageId}}),this._client=this._worker.getProxy()),this._client}getLanguageServiceWorker(...n){let e;return this._getClient().then(a=>{e=a}).then(a=>{if(this._worker)return this._worker.withSyncedResources(n)}).then(a=>e)}}function E(o){const n=[],e=[],a=new A(o);n.push(a);const r=(...t)=>a.getLanguageServiceWorker(...t);function l(){const{languageId:t,modeConfiguration:i}=o;g(e),i.completionItems&&e.push(s.registerCompletionItemProvider(t,new c(r,["/","-",":"]))),i.hovers&&e.push(s.registerHoverProvider(t,new u(r))),i.documentHighlights&&e.push(s.registerDocumentHighlightProvider(t,new p(r))),i.definitions&&e.push(s.registerDefinitionProvider(t,new m(r))),i.references&&e.push(s.registerReferenceProvider(t,new f(r))),i.documentSymbols&&e.push(s.registerDocumentSymbolProvider(t,new _(r))),i.rename&&e.push(s.registerRenameProvider(t,new w(r))),i.colors&&e.push(s.registerColorProvider(t,new k(r))),i.foldingRanges&&e.push(s.registerFoldingRangeProvider(t,new v(r))),i.diagnostics&&e.push(new D(t,r,o.onDidChange)),i.selectionRanges&&e.push(s.registerSelectionRangeProvider(t,new P(r))),i.documentFormattingEdits&&e.push(s.registerDocumentFormattingEditProvider(t,new R(r))),i.documentRangeFormattingEdits&&e.push(s.registerDocumentRangeFormattingEditProvider(t,new I(r)))}return l(),n.push(d(e)),d(n)}function d(o){return{dispose:()=>g(o)}}function g(o){for(;o.length;)o.pop().dispose()}export{c as CompletionAdapter,m as DefinitionAdapter,D as DiagnosticsAdapter,k as DocumentColorAdapter,R as DocumentFormattingEditProvider,p as DocumentHighlightAdapter,H as DocumentLinkAdapter,I as DocumentRangeFormattingEditProvider,_ as DocumentSymbolAdapter,v as FoldingRangeAdapter,u as HoverAdapter,f as ReferenceAdapter,w as RenameAdapter,P as SelectionRangeAdapter,A as WorkerManager,U as fromPosition,y as fromRange,E as setupMode,T as toRange,x as toTextEdit};
1
+ import{c as h}from"./Z14_HVFv.js";import{C as c,H as u,d as p,D as m,R as f,g as _,h as w,b as k,F as v,a as D,S as P,c as R,f as I}from"./CWz2XNBO.js";import{e as H,i as U,j as y,t as T,k as x}from"./CWz2XNBO.js";import{l as s}from"./DTY9Anmi.js";const C=120*1e3;class A{constructor(n){this._defaults=n,this._worker=null,this._client=null,this._idleCheckInterval=window.setInterval(()=>this._checkIfIdle(),30*1e3),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(()=>this._stopWorker())}_stopWorker(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null}dispose(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()}_checkIfIdle(){if(!this._worker)return;Date.now()-this._lastUsedTime>C&&this._stopWorker()}_getClient(){return this._lastUsedTime=Date.now(),this._client||(this._worker=h({moduleId:"vs/language/css/cssWorker",createWorker:()=>new Worker(new URL("/app/immutable/workers/css.worker-08QwUeFR.js",import.meta.url),{type:"module"}),label:this._defaults.languageId,createData:{options:this._defaults.options,languageId:this._defaults.languageId}}),this._client=this._worker.getProxy()),this._client}getLanguageServiceWorker(...n){let e;return this._getClient().then(a=>{e=a}).then(a=>{if(this._worker)return this._worker.withSyncedResources(n)}).then(a=>e)}}function E(o){const n=[],e=[],a=new A(o);n.push(a);const r=(...t)=>a.getLanguageServiceWorker(...t);function l(){const{languageId:t,modeConfiguration:i}=o;g(e),i.completionItems&&e.push(s.registerCompletionItemProvider(t,new c(r,["/","-",":"]))),i.hovers&&e.push(s.registerHoverProvider(t,new u(r))),i.documentHighlights&&e.push(s.registerDocumentHighlightProvider(t,new p(r))),i.definitions&&e.push(s.registerDefinitionProvider(t,new m(r))),i.references&&e.push(s.registerReferenceProvider(t,new f(r))),i.documentSymbols&&e.push(s.registerDocumentSymbolProvider(t,new _(r))),i.rename&&e.push(s.registerRenameProvider(t,new w(r))),i.colors&&e.push(s.registerColorProvider(t,new k(r))),i.foldingRanges&&e.push(s.registerFoldingRangeProvider(t,new v(r))),i.diagnostics&&e.push(new D(t,r,o.onDidChange)),i.selectionRanges&&e.push(s.registerSelectionRangeProvider(t,new P(r))),i.documentFormattingEdits&&e.push(s.registerDocumentFormattingEditProvider(t,new R(r))),i.documentRangeFormattingEdits&&e.push(s.registerDocumentRangeFormattingEditProvider(t,new I(r)))}return l(),n.push(d(e)),d(n)}function d(o){return{dispose:()=>g(o)}}function g(o){for(;o.length;)o.pop().dispose()}export{c as CompletionAdapter,m as DefinitionAdapter,D as DiagnosticsAdapter,k as DocumentColorAdapter,R as DocumentFormattingEditProvider,p as DocumentHighlightAdapter,H as DocumentLinkAdapter,I as DocumentRangeFormattingEditProvider,_ as DocumentSymbolAdapter,v as FoldingRangeAdapter,u as HoverAdapter,f as ReferenceAdapter,w as RenameAdapter,P as SelectionRangeAdapter,A as WorkerManager,U as fromPosition,y as fromRange,E as setupMode,T as toRange,x as toTextEdit};