@intent-hq/web 2.283.1 → 2.285.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 (316) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/chunks/{DyG--B3U.js → -KtznSS-.js} +1 -1
  3. package/web/app/immutable/chunks/{86I704nb.js → 0XyrKsuA.js} +1 -1
  4. package/web/app/immutable/chunks/{Cul55jvw.js → 1lVCCXL6.js} +3 -3
  5. package/web/app/immutable/chunks/{CqnYcuvr.js → 1rwbAxiY.js} +1 -1
  6. package/web/app/immutable/chunks/{B4nXFAp1.js → 2eBUyHOS.js} +3 -3
  7. package/web/app/immutable/chunks/{CvLXNZbW.js → 32YnGblO.js} +1 -1
  8. package/web/app/immutable/chunks/{DpHc5A-z.js → 6ASkEKEx.js} +1 -1
  9. package/web/app/immutable/chunks/{mYHRHufZ.js → 70g8kmTR.js} +1 -1
  10. package/web/app/immutable/chunks/{D0ubTGV_.js → 8puonPwK.js} +1 -1
  11. package/web/app/immutable/chunks/{kbx4HHUe.js → 9s6R6NFl.js} +2 -2
  12. package/web/app/immutable/chunks/{DSakTSDY.js → ASxUuKIZ.js} +1 -1
  13. package/web/app/immutable/chunks/{DVch_AcI.js → B-kQ0Vz5.js} +1 -1
  14. package/web/app/immutable/chunks/{oRTpyK_P.js → B0UymEvm.js} +1 -1
  15. package/web/app/immutable/chunks/{FGzP6Npj.js → B0a31Ljt.js} +1 -1
  16. package/web/app/immutable/chunks/{BlxovLoL.js → B0w4Cxo_.js} +1 -1
  17. package/web/app/immutable/chunks/{Be5Pyj-G.js → B1EuyQvk.js} +1 -1
  18. package/web/app/immutable/chunks/{Dvf5hKr0.js → B3G2wO_D.js} +1 -1
  19. package/web/app/immutable/chunks/{itr72ypM.js → B4GCMjY3.js} +1 -1
  20. package/web/app/immutable/chunks/{DGTcJSfI.js → B4VDa7RO.js} +1 -1
  21. package/web/app/immutable/chunks/B4kKZm1B.js +1 -0
  22. package/web/app/immutable/chunks/{CSVS8cGP.js → B7R5ywXv.js} +1 -1
  23. package/web/app/immutable/chunks/{-eynjkyq.js → B8LfMxTf.js} +1 -1
  24. package/web/app/immutable/chunks/{CoIHYLew.js → B91hcydD.js} +1 -1
  25. package/web/app/immutable/chunks/{JoMw8Mnh.js → B9DD1rvd.js} +1 -1
  26. package/web/app/immutable/chunks/{BQkOKtmR.js → B9YdV5Lr.js} +1 -1
  27. package/web/app/immutable/chunks/{Bm_v6qLq.js → BA2m5W5p.js} +1 -1
  28. package/web/app/immutable/chunks/{QEFaNqbo.js → BAuomW3Q.js} +1 -1
  29. package/web/app/immutable/chunks/{CVXsWkbg.js → BB-v27nE.js} +1 -1
  30. package/web/app/immutable/chunks/{C8PgiJ6Y.js → BDnf9UFd.js} +1 -1
  31. package/web/app/immutable/chunks/{BrzmNBOR.js → BEu9jjb7.js} +1 -1
  32. package/web/app/immutable/chunks/{CRzjInFH.js → BFDtkLj3.js} +1 -1
  33. package/web/app/immutable/chunks/{CiFw-8Aw.js → BFlCxloC.js} +1 -1
  34. package/web/app/immutable/chunks/{yZjABy7c.js → BHdVwar2.js} +1 -1
  35. package/web/app/immutable/chunks/{DSad0YxQ.js → BJ5sH6i3.js} +1 -1
  36. package/web/app/immutable/chunks/{BIUeJ7Ke.js → BJwGOB8K.js} +1 -1
  37. package/web/app/immutable/chunks/{DOWY58Gk.js → BKYBbIMC.js} +1 -1
  38. package/web/app/immutable/chunks/{BM2v-1zr.js → BLT4lwJH.js} +1 -1
  39. package/web/app/immutable/chunks/{DNdUAl79.js → BMCIczJY.js} +1 -1
  40. package/web/app/immutable/chunks/{BSa29cCP.js → BMqkZHSQ.js} +4 -4
  41. package/web/app/immutable/chunks/{CI86PNUZ.js → BOIoayZB.js} +1 -1
  42. package/web/app/immutable/chunks/{DCpb2VL6.js → BOxsG-23.js} +1 -1
  43. package/web/app/immutable/chunks/{DWsGxz2C.js → BPQohPc9.js} +1 -1
  44. package/web/app/immutable/chunks/{MivJSmtA.js → BQ-Vdhjp.js} +1 -1
  45. package/web/app/immutable/chunks/{Cobn53T5.js → BRaDvZhu.js} +1 -1
  46. package/web/app/immutable/chunks/{CRcZFIyJ.js → BRiWAWWR.js} +1 -1
  47. package/web/app/immutable/chunks/{KT-2Ekxp.js → BRrnGZdq.js} +1 -1
  48. package/web/app/immutable/chunks/{DkfRsyNq.js → BRsvqYQJ.js} +1 -1
  49. package/web/app/immutable/chunks/{BzUhrKys.js → BW5WMYMF.js} +1 -1
  50. package/web/app/immutable/chunks/{us_QodLQ.js → BYD9CrbJ.js} +1 -1
  51. package/web/app/immutable/chunks/{B241tUXW.js → B_BtFokc.js} +1 -1
  52. package/web/app/immutable/chunks/{DHon_8tj.js → BerKnKvV.js} +1 -1
  53. package/web/app/immutable/chunks/{C17u3SPp.js → BfCM8g6D.js} +1 -1
  54. package/web/app/immutable/chunks/{BNLICSI-.js → Bi5G5jdW.js} +1 -1
  55. package/web/app/immutable/chunks/{CGclmlzx.js → BijxVENA.js} +1 -1
  56. package/web/app/immutable/chunks/{BXWTCqoP.js → BioKfdhs.js} +1 -1
  57. package/web/app/immutable/chunks/{D6aq9EL_.js → Bj2REgAl.js} +1 -1
  58. package/web/app/immutable/chunks/{D5Yn3bZC.js → Bj2YjLqH.js} +4 -4
  59. package/web/app/immutable/chunks/{oEdBdTuH.js → BjO6mATN.js} +1 -1
  60. package/web/app/immutable/chunks/{CSoIbBhB.js → BkTES_s_.js} +1 -1
  61. package/web/app/immutable/chunks/{B0dFfRzP.js → BlGCnZqu.js} +1 -1
  62. package/web/app/immutable/chunks/{uEiZ2aa0.js → BlobiUVj.js} +1 -1
  63. package/web/app/immutable/chunks/{D_o99_fG.js → BoAgG62K.js} +1 -1
  64. package/web/app/immutable/chunks/{BLfSGdog.js → BoyajzxN.js} +1 -1
  65. package/web/app/immutable/chunks/{D8G2wLaP.js → Bpei5bK8.js} +1 -1
  66. package/web/app/immutable/chunks/{DWbuBB3d.js → BqEq2gS8.js} +1 -1
  67. package/web/app/immutable/chunks/{BSERRzdN.js → BqSjWCdR.js} +1 -1
  68. package/web/app/immutable/chunks/{BweEgIMi.js → BrPrpju0.js} +1 -1
  69. package/web/app/immutable/chunks/{jN_7w48e.js → BrXpFLv_.js} +1 -1
  70. package/web/app/immutable/chunks/{-FJQK9pf.js → Btdv9Hrh.js} +1 -1
  71. package/web/app/immutable/chunks/BuKPgt_Y.js +184 -0
  72. package/web/app/immutable/chunks/{BaWdIDeU.js → BuRX-tbO.js} +1 -1
  73. package/web/app/immutable/chunks/{DPbm6slt.js → Butq4Y1l.js} +4 -4
  74. package/web/app/immutable/chunks/{CHb28ISq.js → BvuznwRa.js} +1 -1
  75. package/web/app/immutable/chunks/{kkexgKXz.js → BwcCzTcz.js} +1 -1
  76. package/web/app/immutable/chunks/{k-AP8VlM.js → C-PJ15bY.js} +1 -1
  77. package/web/app/immutable/chunks/{P0y5VMqy.js → C2kpUgbe.js} +1 -1
  78. package/web/app/immutable/chunks/{CbcE07N6.js → C4eeWJf-.js} +1 -1
  79. package/web/app/immutable/chunks/{Ct5pe7Ek.js → C4mRaa7L.js} +1 -1
  80. package/web/app/immutable/chunks/{X8KOCQId.js → C51KzdSG.js} +1 -1
  81. package/web/app/immutable/chunks/{LNCq34-O.js → C5vTcsb2.js} +1 -1
  82. package/web/app/immutable/chunks/{Mt7x2IZs.js → C64d2sYd.js} +1 -1
  83. package/web/app/immutable/chunks/{BqgmbqM-.js → C6LRlrtG.js} +1 -1
  84. package/web/app/immutable/chunks/{CuViOyzR.js → C7A26Vlu.js} +1 -1
  85. package/web/app/immutable/chunks/{2zaEEAE2.js → C8BEXIPc.js} +1 -1
  86. package/web/app/immutable/chunks/{B856U1Jr.js → C8xd2WWY.js} +1 -1
  87. package/web/app/immutable/chunks/{BycWLeDe.js → C8yAGnZY.js} +1 -1
  88. package/web/app/immutable/chunks/{BPp3W2jV.js → C9o24MoC.js} +1 -1
  89. package/web/app/immutable/chunks/{JKrLJ2R_.js → CAkMXI-6.js} +44 -44
  90. package/web/app/immutable/chunks/{Sqmoz5pv.js → CCU5YAgB.js} +1 -1
  91. package/web/app/immutable/chunks/{DqG8xjZW.js → CDnN0LSW.js} +1 -1
  92. package/web/app/immutable/chunks/{Cnz8RKk9.js → CEQqb3fD.js} +1 -1
  93. package/web/app/immutable/chunks/{I-6kOw9r.js → CEd0rr6P.js} +1 -1
  94. package/web/app/immutable/chunks/{BKkrgjsa.js → CFzJYgT5.js} +1 -1
  95. package/web/app/immutable/chunks/{BxuhDHqB.js → CG5J-qd_.js} +1 -1
  96. package/web/app/immutable/chunks/{ebuf-RO9.js → CHSBtC7Q.js} +1 -1
  97. package/web/app/immutable/chunks/{BW9EmetF.js → CHXt_ftw.js} +1 -1
  98. package/web/app/immutable/chunks/{ylZv2UEj.js → CHaUiotE.js} +1 -1
  99. package/web/app/immutable/chunks/{BMt7MpM8.js → CHjSilfW.js} +1 -1
  100. package/web/app/immutable/chunks/{Bw1SBWCL.js → CJQrM64N.js} +3 -3
  101. package/web/app/immutable/chunks/{D39KsI93.js → CJaPqUNh.js} +1 -1
  102. package/web/app/immutable/chunks/{IUhIao0l.js → CMO5zsjQ.js} +1 -1
  103. package/web/app/immutable/chunks/{DHN03i25.js → CMqMo1Af.js} +1 -1
  104. package/web/app/immutable/chunks/{CZH06yTf.js → CMt5MqSJ.js} +1 -1
  105. package/web/app/immutable/chunks/{BIZ0uXaU.js → COL0pyet.js} +1 -1
  106. package/web/app/immutable/chunks/{DPyjdIy2.js → CQ7Jnj9E.js} +1 -1
  107. package/web/app/immutable/chunks/{BNe0FUML.js → CQTIadOp.js} +1 -1
  108. package/web/app/immutable/chunks/{CeGnK4JQ.js → CRhgbDg2.js} +50 -50
  109. package/web/app/immutable/chunks/{B9un2a8L.js → CS1d84Cn.js} +1 -1
  110. package/web/app/immutable/chunks/{D7gI_V1F.js → CTozw_6a.js} +1 -1
  111. package/web/app/immutable/chunks/{Bq6ix99x.js → CTwzQE4y.js} +1 -1
  112. package/web/app/immutable/chunks/{uDFKivEo.js → CULilvBT.js} +1 -1
  113. package/web/app/immutable/chunks/{CmLvFRqe.js → CV2PaujE.js} +2 -2
  114. package/web/app/immutable/chunks/{BTxRR5tz.js → CVBBsS8i.js} +1 -1
  115. package/web/app/immutable/chunks/{BC7qvj8J.js → CVUNrf_6.js} +1 -1
  116. package/web/app/immutable/chunks/{DRHN1_Cd.js → CW2_8Qo8.js} +1 -1
  117. package/web/app/immutable/chunks/{DfTHDtr3.js → CWgAcLvx.js} +1 -1
  118. package/web/app/immutable/chunks/{C04G6COq.js → CX6Z33tv.js} +1 -1
  119. package/web/app/immutable/chunks/{DfDa-Hf6.js → CYElNz1m.js} +1 -1
  120. package/web/app/immutable/chunks/{5JlRwIXk.js → CZUDc12W.js} +1 -1
  121. package/web/app/immutable/chunks/{BplvCBzc.js → C_fEvnNK.js} +1 -1
  122. package/web/app/immutable/chunks/{CeH1-IFA.js → Ccj-b14I.js} +1 -1
  123. package/web/app/immutable/chunks/{-EQ6B0ad.js → CdT170lG.js} +6 -6
  124. package/web/app/immutable/chunks/{BpLK-vah.js → Ceyasj46.js} +1 -1
  125. package/web/app/immutable/chunks/{BNm8i956.js → CfAqizJ3.js} +1 -1
  126. package/web/app/immutable/chunks/{CuOjrr_z.js → CfYh5raT.js} +1 -1
  127. package/web/app/immutable/chunks/{D_PPEYyI.js → CfgPxwA4.js} +1 -1
  128. package/web/app/immutable/chunks/{D8AXxi58.js → CgWJ7tKh.js} +1 -1
  129. package/web/app/immutable/chunks/{CR7ldtgw.js → ChDcu7sM.js} +1 -1
  130. package/web/app/immutable/chunks/{CcEiTh-4.js → ChYWsi4Z.js} +1 -1
  131. package/web/app/immutable/chunks/{xHGNzBhq.js → ChmO5DTP.js} +1 -1
  132. package/web/app/immutable/chunks/{DWjmi9tH.js → CiB1yTSc.js} +3 -3
  133. package/web/app/immutable/chunks/{0K6BfmBv.js → Cj_Tm5wU.js} +1 -1
  134. package/web/app/immutable/chunks/{CJqvN_qS.js → CkNc-1DL.js} +1 -1
  135. package/web/app/immutable/chunks/{dp7e7xW2.js → CkqPtSf5.js} +1 -1
  136. package/web/app/immutable/chunks/{DXPPFxlV.js → ClNs6jou.js} +1 -1
  137. package/web/app/immutable/chunks/{CptC_Uum.js → CnuSxcLR.js} +1 -1
  138. package/web/app/immutable/chunks/{AL4WvJsG.js → CotgBJSP.js} +1 -1
  139. package/web/app/immutable/chunks/{CMiRnadp.js → CoyHhRwd.js} +1 -1
  140. package/web/app/immutable/chunks/{DqlqvyKI.js → CozIiFS7.js} +1 -1
  141. package/web/app/immutable/chunks/{cOgdKI6o.js → Cp09JH6d.js} +1 -1
  142. package/web/app/immutable/chunks/{AdAUM0KU.js → Cp9AnykR.js} +1 -1
  143. package/web/app/immutable/chunks/{BM-sVLs9.js → CpPsvdhC.js} +1 -1
  144. package/web/app/immutable/chunks/CrXlvCkv.js +3 -0
  145. package/web/app/immutable/chunks/{BM9f6Xn6.js → Crq4Js3_.js} +1 -1
  146. package/web/app/immutable/chunks/{ByWgRTUb.js → CvZhT_UL.js} +1 -1
  147. package/web/app/immutable/chunks/{Bda__gQr.js → Cve5pOPi.js} +2 -2
  148. package/web/app/immutable/chunks/{CE7hy_eJ.js → CwK4Fl7A.js} +2 -2
  149. package/web/app/immutable/chunks/{BYaK8uq0.js → Cwxvd99b.js} +1 -1
  150. package/web/app/immutable/chunks/{Cr8elldh.js → CxDLMfRf.js} +1 -1
  151. package/web/app/immutable/chunks/{Cbp3zliH.js → Cz9_gz0r.js} +1 -1
  152. package/web/app/immutable/chunks/{D4i52eN2.js → Czc4IAh9.js} +1 -1
  153. package/web/app/immutable/chunks/{C-D97gL1.js → Czzw_Pvc.js} +1 -1
  154. package/web/app/immutable/chunks/{dfIdHF6z.js → D0csyvlS.js} +1 -1
  155. package/web/app/immutable/chunks/{Bh14bdXE.js → D0pR1-a6.js} +1 -1
  156. package/web/app/immutable/chunks/{CARkdujD.js → D1dPbxoX.js} +1 -1
  157. package/web/app/immutable/chunks/{D9GJ60AX.js → D2Fdja4t.js} +1 -1
  158. package/web/app/immutable/chunks/{CfgmsyOw.js → D38kCxZ9.js} +1 -1
  159. package/web/app/immutable/chunks/{CQRR0AOa.js → D4K0RFHm.js} +1 -1
  160. package/web/app/immutable/chunks/D4Lumjru.js +1 -0
  161. package/web/app/immutable/chunks/D4MoKNoK.js +1 -0
  162. package/web/app/immutable/chunks/{DYpEID-4.js → D4RvTAYA.js} +1 -1
  163. package/web/app/immutable/chunks/{3HhYuBQ5.js → D5jqrM_N.js} +1 -1
  164. package/web/app/immutable/chunks/{_Ha8_PaU.js → D6XYE7JV.js} +1 -1
  165. package/web/app/immutable/chunks/{BB4kjTGV.js → D6dtEt_1.js} +1 -1
  166. package/web/app/immutable/chunks/{BYX2DQge.js → D72pFxfr.js} +1 -1
  167. package/web/app/immutable/chunks/{D3s69DNC.js → D7P2CXpO.js} +3 -3
  168. package/web/app/immutable/chunks/{C1Yon3Fs.js → D7ht9fTY.js} +1 -1
  169. package/web/app/immutable/chunks/{DoI-lOCr.js → D82TCSK5.js} +1 -1
  170. package/web/app/immutable/chunks/{T3Bh0XrL.js → D8HMZQ9R.js} +1 -1
  171. package/web/app/immutable/chunks/{DX7KyYLV.js → D8U0PEIU.js} +1 -1
  172. package/web/app/immutable/chunks/{CGtte9IE.js → D8_OuTD3.js} +1 -1
  173. package/web/app/immutable/chunks/{DECP5P_I.js → D8a6fWF_.js} +1 -1
  174. package/web/app/immutable/chunks/{DIgbsss0.js → DAY2MDvD.js} +1 -1
  175. package/web/app/immutable/chunks/{BJhIFFGs.js → DB6_aOnf.js} +3 -3
  176. package/web/app/immutable/chunks/{CqB0SlYo.js → DB_2g4tK.js} +1 -1
  177. package/web/app/immutable/chunks/{DcIvDrh5.js → DBicYI5c.js} +1 -1
  178. package/web/app/immutable/chunks/{kc3pShLm.js → DBmzovBA.js} +1 -1
  179. package/web/app/immutable/chunks/DC38WcVm.js +1 -0
  180. package/web/app/immutable/chunks/{BKUFkB2Z.js → DDhakcOb.js} +1 -1
  181. package/web/app/immutable/chunks/DFXw4s8S.js +1 -0
  182. package/web/app/immutable/chunks/{1kQYhwzI.js → DFvnP41F.js} +1 -1
  183. package/web/app/immutable/chunks/{BTxaodpe.js → DG5KvEVf.js} +1 -1
  184. package/web/app/immutable/chunks/{6Rnnu0Za.js → DHBpY1EK.js} +1 -1
  185. package/web/app/immutable/chunks/{DiLRxk1W.js → DI7pTzx5.js} +1 -1
  186. package/web/app/immutable/chunks/{DhJybiGT.js → DKF2EjTY.js} +1 -1
  187. package/web/app/immutable/chunks/{DJly-gFW.js → DL5rLLvU.js} +1 -1
  188. package/web/app/immutable/chunks/{CiV78Mds.js → DOE_TCNp.js} +1 -1
  189. package/web/app/immutable/chunks/{DV0nUf5d.js → DOPcy6T2.js} +1 -1
  190. package/web/app/immutable/chunks/{CX0jnzIf.js → DPY72hn4.js} +1 -1
  191. package/web/app/immutable/chunks/{BpPk83wC.js → DPvthnru.js} +1 -1
  192. package/web/app/immutable/chunks/{DflDaBxQ.js → DQOyHGtr.js} +1 -1
  193. package/web/app/immutable/chunks/{DFDb4afa.js → DQafeec3.js} +1 -1
  194. package/web/app/immutable/chunks/{BdMtzsOL.js → DR1QbPSk.js} +1 -1
  195. package/web/app/immutable/chunks/{BMOHjFjD.js → DRdRLmUz.js} +1 -1
  196. package/web/app/immutable/chunks/{CNLVfjPb.js → DVwKfMN5.js} +1 -1
  197. package/web/app/immutable/chunks/{B3t7QTl4.js → DWzbf_aU.js} +1 -1
  198. package/web/app/immutable/chunks/{2sWuLeQM.js → DX0AlGFV.js} +1 -1
  199. package/web/app/immutable/chunks/{Bcdu3rtl.js → DX0hE1oC.js} +1 -1
  200. package/web/app/immutable/chunks/{Bi0iCGDl.js → DX3MlPN0.js} +1 -1
  201. package/web/app/immutable/chunks/{Bdp7u5fL.js → DXJ3D6-0.js} +2 -2
  202. package/web/app/immutable/chunks/{Ctw6lIEV.js → DYX4kEq9.js} +1 -1
  203. package/web/app/immutable/chunks/{DwwmXlwG.js → DZRaa7LH.js} +1 -1
  204. package/web/app/immutable/chunks/{C1_JJ0WX.js → Dbuv3b_7.js} +2 -2
  205. package/web/app/immutable/chunks/{BrUeG1RC.js → DditQ6Dc.js} +1 -1
  206. package/web/app/immutable/chunks/{CiJsLr2J.js → De4WWpS0.js} +1 -1
  207. package/web/app/immutable/chunks/{-cKrxpnw.js → DeJ360tt.js} +1 -1
  208. package/web/app/immutable/chunks/{CBY4R5Io.js → DgFojmqv.js} +3 -3
  209. package/web/app/immutable/chunks/{Dr6CAh-x.js → DhQAmnDS.js} +1 -1
  210. package/web/app/immutable/chunks/{B9hh5ps3.js → DhkOw60r.js} +1 -1
  211. package/web/app/immutable/chunks/{N_3EVFPG.js → Di6XfBOT.js} +1 -1
  212. package/web/app/immutable/chunks/{FxlRoZ6N.js → Dijv8faG.js} +1 -1
  213. package/web/app/immutable/chunks/{DSpny-f5.js → DjVrYm-R.js} +1 -1
  214. package/web/app/immutable/chunks/{YsJRyh1t.js → DlYL66WK.js} +2 -2
  215. package/web/app/immutable/chunks/{DEghD5AV.js → DlYrPe_w.js} +1 -1
  216. package/web/app/immutable/chunks/{Btf9QGuY.js → Dlu0_GVa.js} +1 -1
  217. package/web/app/immutable/chunks/{D-SL5jmx.js → DmVYXUKU.js} +1 -1
  218. package/web/app/immutable/chunks/{Dekj0CRz.js → Dmip1qZq.js} +1 -1
  219. package/web/app/immutable/chunks/{DyzC-8bY.js → DpXfO8nM.js} +1 -1
  220. package/web/app/immutable/chunks/{BLKmUQ7j.js → DpyM727L.js} +1 -1
  221. package/web/app/immutable/chunks/{BGWyYsdo.js → Dq_FaIX5.js} +1 -1
  222. package/web/app/immutable/chunks/{DaBUZyWc.js → Ds7can9q.js} +1 -1
  223. package/web/app/immutable/chunks/{BIIzJP0L.js → DuKFlC9j.js} +1 -1
  224. package/web/app/immutable/chunks/{D7-ADqnT.js → DwW5MiN3.js} +1 -1
  225. package/web/app/immutable/chunks/{CQS12qgy.js → DwbzbVQ3.js} +1 -1
  226. package/web/app/immutable/chunks/{Clzmvd7M.js → DwwMc3td.js} +1 -1
  227. package/web/app/immutable/chunks/{67V3Eqst.js → DxJXJeWp.js} +1 -1
  228. package/web/app/immutable/chunks/{DNTeyAGR.js → DxlpLNnB.js} +1 -1
  229. package/web/app/immutable/chunks/{DvIWu0bM.js → DzMB8eQW.js} +1 -1
  230. package/web/app/immutable/chunks/{ytSsfHOi.js → EPni7PhH.js} +1 -1
  231. package/web/app/immutable/chunks/{DZwtNfnB.js → F42L1irN.js} +2 -2
  232. package/web/app/immutable/chunks/{bG4sEGuX.js → H_dyzYix.js} +1 -1
  233. package/web/app/immutable/chunks/{OtBI4VRo.js → HfuFYz2u.js} +1 -1
  234. package/web/app/immutable/chunks/{BXmUGAB5.js → I1eQnBry.js} +1 -1
  235. package/web/app/immutable/chunks/{_WbplBv2.js → J5Q3706J.js} +1 -1
  236. package/web/app/immutable/chunks/{CVC7R5g8.js → JUqct0gC.js} +1 -1
  237. package/web/app/immutable/chunks/{BzgtWDxy.js → KxpMwUsB.js} +1 -1
  238. package/web/app/immutable/chunks/{xcwRs97P.js → LFOlphb5.js} +1 -1
  239. package/web/app/immutable/chunks/{DO3zoQaK.js → LOxI5KoQ.js} +1 -1
  240. package/web/app/immutable/chunks/{BDq1sVyx.js → LiYeJQ_y.js} +1 -1
  241. package/web/app/immutable/chunks/{BdXZBn8p.js → OX_6myWb.js} +3 -3
  242. package/web/app/immutable/chunks/{BMBkpFaV.js → Qyi-W7KZ.js} +1 -1
  243. package/web/app/immutable/chunks/{CNPgXL7O.js → RDcDz1X1.js} +1 -1
  244. package/web/app/immutable/chunks/{B45Lzffx.js → S9ot6IO_.js} +1 -1
  245. package/web/app/immutable/chunks/Sk9pLJI5.js +6 -0
  246. package/web/app/immutable/chunks/{BxuY-d7z.js → SlH326tK.js} +1 -1
  247. package/web/app/immutable/chunks/{ED1Md46o.js → UMObs5wi.js} +1 -1
  248. package/web/app/immutable/chunks/{CcXmTQrG.js → Uv0U-1kP.js} +1 -1
  249. package/web/app/immutable/chunks/{C4ABvngM.js → WPmFGY7m.js} +1 -1
  250. package/web/app/immutable/chunks/{KLMKvNSD.js → WVYGrHqE.js} +1 -1
  251. package/web/app/immutable/chunks/{BAR22MDD.js → WZHg24tN.js} +1 -1
  252. package/web/app/immutable/chunks/{B_IHHwFT.js → Xb_csWgU.js} +1 -1
  253. package/web/app/immutable/chunks/{BLqK1w-V.js → Y3UAS5wV.js} +1 -1
  254. package/web/app/immutable/chunks/{mxfq8-qS.js → Y4N0iJyK.js} +1 -1
  255. package/web/app/immutable/chunks/{BVcYqOip.js → YpQeV5ep.js} +6 -6
  256. package/web/app/immutable/chunks/{Dq6jwHZ6.js → ZYYtufHC.js} +1 -1
  257. package/web/app/immutable/chunks/{lzVZjIHK.js → _Y7Nvr11.js} +1 -1
  258. package/web/app/immutable/chunks/{BMW1RYmJ.js → _bgnudZi.js} +2 -2
  259. package/web/app/immutable/chunks/{C07lgk2D.js → _cj4xlwz.js} +1 -1
  260. package/web/app/immutable/chunks/{D0QGnN9N.js → _eQjP0_7.js} +7 -7
  261. package/web/app/immutable/chunks/{B6f4X6Cq.js → bjlKIwQF.js} +1 -1
  262. package/web/app/immutable/chunks/{Bkt7VHdr.js → c0MObYhr.js} +1 -1
  263. package/web/app/immutable/chunks/{uzVhgdYt.js → dimBDqRX.js} +1 -1
  264. package/web/app/immutable/chunks/{De5CT8ah.js → fJdmRaXe.js} +1 -1
  265. package/web/app/immutable/chunks/{Dm5XlejL.js → fxR7QMV8.js} +1 -1
  266. package/web/app/immutable/chunks/{DpvwyG67.js → hAyFyjes.js} +1 -1
  267. package/web/app/immutable/chunks/{BtTwGRLV.js → iPSaMdjW.js} +1 -1
  268. package/web/app/immutable/chunks/{CBj-skM7.js → ingscYYg.js} +1 -1
  269. package/web/app/immutable/chunks/{Zu_hB4jz.js → lrd8vBcb.js} +1 -1
  270. package/web/app/immutable/chunks/{D75qE5QF.js → nvBTDqJi.js} +1 -1
  271. package/web/app/immutable/chunks/{DPWpLmap.js → oCNF8vh8.js} +1 -1
  272. package/web/app/immutable/chunks/{D7NIlQGn.js → oDL-pLcj.js} +1 -1
  273. package/web/app/immutable/chunks/{C1itrH63.js → pIvHob4a.js} +1 -1
  274. package/web/app/immutable/chunks/{DpWrzKZ5.js → s4JAFzR2.js} +1 -1
  275. package/web/app/immutable/chunks/{Dtvcl9ZM.js → sgXcAFR7.js} +1 -1
  276. package/web/app/immutable/chunks/{Bk1uVK5j.js → t61BPD62.js} +1 -1
  277. package/web/app/immutable/chunks/{QBqsOIpN.js → t7uelISx.js} +1 -1
  278. package/web/app/immutable/chunks/{SIlEqZy6.js → tWOclZbM.js} +1 -1
  279. package/web/app/immutable/chunks/{CFa2g-IY.js → u9Jr5xJ2.js} +1 -1
  280. package/web/app/immutable/chunks/{CNFZNMrf.js → uKt9v9GZ.js} +1 -1
  281. package/web/app/immutable/chunks/{BUcRm8Vm.js → xS44oH53.js} +1 -1
  282. package/web/app/immutable/chunks/{BxU3DCFg.js → yQykulND.js} +1 -1
  283. package/web/app/immutable/chunks/{CA6N8yqk.js → z5aynuor.js} +1 -1
  284. package/web/app/immutable/chunks/{ClALIxbi.js → zOdhHtWD.js} +1 -1
  285. package/web/app/immutable/chunks/{DNeMGvC1.js → zuhzlizP.js} +1 -1
  286. package/web/app/immutable/entry/{app.B7NDG9Ke.js → app.ZJRI8LL8.js} +3 -3
  287. package/web/app/immutable/entry/start.B_ChBWnN.js +1 -0
  288. package/web/app/immutable/nodes/{0.Bun1I2n8.js → 0.B_5IeAcY.js} +1 -1
  289. package/web/app/immutable/nodes/{1.CaXWyT2I.js → 1.D2RcMrk8.js} +1 -1
  290. package/web/app/immutable/nodes/{10.QcBz8vIO.js → 10.a-yBB_mg.js} +1 -1
  291. package/web/app/immutable/nodes/{11.CIL0R940.js → 11.DzMcYtgT.js} +1 -1
  292. package/web/app/immutable/nodes/{12.VioYEcq0.js → 12.BS7aI1vv.js} +1 -1
  293. package/web/app/immutable/nodes/{13.DXKlob-e.js → 13.Dj6DavrI.js} +3 -3
  294. package/web/app/immutable/nodes/{14.Del2TMMg.js → 14.BRMrhd95.js} +2 -2
  295. package/web/app/immutable/nodes/{15.Djr5my7L.js → 15.BWo3i95L.js} +1 -1
  296. package/web/app/immutable/nodes/{16.D5MyJ40_.js → 16.DsObfcQu.js} +2 -2
  297. package/web/app/immutable/nodes/{2.DGym_vbk.js → 2.BX2UV9md.js} +4 -4
  298. package/web/app/immutable/nodes/{3.s5E8H3KB.js → 3.BAb5j4vs.js} +1 -1
  299. package/web/app/immutable/nodes/{4.D5-aRMMy.js → 4.i3m7hv4J.js} +1 -1
  300. package/web/app/immutable/nodes/{5.B3_zYP1m.js → 5.kQ7xzuNs.js} +1 -1
  301. package/web/app/immutable/nodes/{6.DutaO_wJ.js → 6.De5Z6N1w.js} +1 -1
  302. package/web/app/immutable/nodes/{7.BTpm8RYp.js → 7.Dqm5QJxM.js} +1 -1
  303. package/web/app/immutable/nodes/{8.CZztH_7a.js → 8.BT-G_bE5.js} +4 -4
  304. package/web/app/immutable/nodes/{9.B2qxwSvF.js → 9.DIcsOChV.js} +5 -5
  305. package/web/app/version.json +1 -1
  306. package/web/generated/paraglide.js +49 -49
  307. package/web/index.html +18 -18
  308. package/web/app/immutable/chunks/B_KqSc_J.js +0 -3
  309. package/web/app/immutable/chunks/Blk8v-pB.js +0 -1
  310. package/web/app/immutable/chunks/BoDxQZ1k.js +0 -1
  311. package/web/app/immutable/chunks/COH5cIoS.js +0 -184
  312. package/web/app/immutable/chunks/DEI12D8u.js +0 -1
  313. package/web/app/immutable/chunks/DJISFfnZ.js +0 -6
  314. package/web/app/immutable/chunks/YDzESqGE.js +0 -1
  315. package/web/app/immutable/chunks/neQDnDfO.js +0 -1
  316. package/web/app/immutable/entry/start.BNunxuiZ.js +0 -1
@@ -1 +1 @@
1
- import"./B8o4lNgr.js";import{j as Be}from"./KLMKvNSD.js";import{C as be,D as pe,c as Me,E as Ee}from"./BycWLeDe.js";import{s as Re}from"./Bk1uVK5j.js";function Pe(t,r={}){const l=(r.axis??"y")==="y"?"height":"width",o=parseFloat(getComputedStyle(t)[l]);if(!Number.isFinite(o))return{duration:0};const p=r.duration??160,v=p<=80?"fast":p<=160?"moderate":"slow";return be(t,{axis:r.axis,tier:v},{direction:"in"})}function Ce(){return Re.get("enableComponentTransitions")}const ve={request(){},settle(){}},k=new WeakMap,Ne=2,ke=2e3;function Ve(t,r){let l=r.enabled??!0,o=r.follow,p=r.onFollowChange,v=r.onScrollStateChange,g=r.threshold??100,d=!1,m=0,s=0,c=!1,w=null,F,y=null,E=null,L=null,T=null,A=null,O=null,R=null,C=null,M=0,N=null,h=!1,P=null;const S=new Set,q=new Map,V=new WeakSet,B=new Map,u=document.createElement("div");u.dataset.followBottomAnchor="",u.setAttribute("aria-hidden","true"),u.style.cssText=`height:1px;${r.layoutNeutralBottomAnchor?"margin-top:-1px;":""}overflow-anchor:auto;pointer-events:none;flex:0 0 auto;`;function I(e){e===u||B.has(e)||(B.set(e,e.style.overflowAnchor),e.style.overflowAnchor="none")}function Y(e){const n=B.get(e);n!==void 0&&(e.style.overflowAnchor=n,B.delete(e))}function a(e){if(e)for(const i of t.children)i instanceof HTMLElement&&I(i);else for(const i of B.keys())Y(i);const n=e?"auto":"none";u.style.overflowAnchor!==n&&(u.style.overflowAnchor=n),e?(u.parentElement!==t||u.nextSibling)&&t.append(u):u.remove()}function $(){a(o)}function ye(){u.remove();for(const e of B.keys())Y(e)}function K(e){V.add(e),T?.observe(e)}function ne(){A!==null&&cancelAnimationFrame(A),C!==null&&cancelAnimationFrame(C),A=null,C=null,M=0,N=null}function J(){return Math.max(0,t.scrollHeight-t.clientHeight)}function X(){return P??=getComputedStyle(t).overflowAnchor!=="none",P}function H(){return{maximum:J(),scrollTop:t.scrollTop}}function _(e=H()){return e.scrollTop!==e.maximum&&(t.scrollTop=e.maximum),{maximum:e.maximum,scrollTop:e.maximum}}function G(e=H()){return e.maximum-e.scrollTop<=g}function x(e=H()){const n=Math.max(0,e.maximum-e.scrollTop),i=n<=g;E?.distanceFromBottom===n&&E.isAtBottom===i&&E.isFollowing===o||(E={distanceFromBottom:n,isAtBottom:i,isFollowing:o},v?.({distanceFromBottom:n,isAtBottom:i,isFollowing:o}))}function Q(e){F=e,w===null&&(w=requestAnimationFrame(()=>{w=null;const n=F;F=void 0,!(h||!l)&&(n&&(y?.event!==n||n.defaultPrevented||performance.now()>=y.expiresAt)||(G()?z.followAndScroll():x()))}))}function D(e,n=!0){if(y=null,!l){o=e;return}const i=o!==e;i&&(o=e,a(e)),i&&n&&p?.(e),e||ne(),x()}function Z(e,n=!0){if(!S.delete(e))return;const i=(q.get(e.element)??1)-1;i>0?q.set(e.element,i):(q.delete(e.element),V.has(e.element)||T?.unobserve?.(e.element)),M=0,n&&U()}function ee(e=!0){if(S.size===0)return;const n=performance.now();for(const i of S)(!t.contains(i.element)||n>=i.expiresAt)&&Z(i,e)}function te(){if(A=null,h||!l||!o)return;if(ee(!1),S.size>0){A=requestAnimationFrame(te);return}const e=_(),{maximum:n}=e;x(e),n===N?M+=1:(M=0,N=n),M<Ne&&(A=requestAnimationFrame(te))}function U(){h||!l||!o||A!==null||(A=requestAnimationFrame(te))}function W(e=!0){if(h||!l||!o)return;const n=_(),{maximum:i}=n;x(n),M=0,N=i,e&&U()}function oe(){R===null&&(R=requestAnimationFrame(()=>{R=null,!(h||!l)&&x()}))}function Ae(){if(C=null,h||!l)return;let e=H();const n=e.scrollTop!==e.maximum;e=_(e),(n||e.maximum!==N||S.size>0)&&(M=0,N=e.maximum,U()),x(e)}function xe(){if(!(h||!l)){if(o){if(A!==null||C!==null)return;C=requestAnimationFrame(Ae);return}oe()}}function Fe(){if(!(h||!l)){if(o){W(C===null);return}oe()}}const z={followAndScroll(){D(!0),W()},isFollowing:()=>o,isNativeScrollAnchoringActive:()=>!o&&getComputedStyle(t).overflowAnchor!=="none",hasActiveMutation:()=>o?(ee(),S.size>0):!1,beforeMutation(e,n){if(h||!l||!o)return ve;const i={element:e,expiresAt:performance.now()+(n.maxHoldMs??ke)};S.add(i);const f=q.get(e)??0;return q.set(e,f+1),f===0&&!V.has(e)&&T?.observe(e),M=0,U(),{request(){!S.has(i)||h||(X()?U():W())},settle(){if(!(h||!S.has(i))){if(X()){Z(i);return}Z(i,!1),W()}}}}};function re(e){e.deltaY<0?D(!1):e.deltaY>0&&(y={event:e,expiresAt:performance.now()+1e3},Q(e))}function le(e){const n=y;y=null,e.target===t&&n&&!n.event.defaultPrevented&&performance.now()<n.expiresAt&&G()&&z.followAndScroll()}let ie=0;function se(e){y=null,ie=e.touches[0]?.clientY??0}function ae(e){const n=e.touches[0]?.clientY??0;ie-n<0&&D(!1)}function ue(){Q()}function ce(e){y=null,["ArrowUp","PageUp","Home"].includes(e.key)?D(!1):["ArrowDown","PageDown","End"].includes(e.key)&&Q()}function Se(e){if(e.button!==0||e.target!==t)return!1;const n=Math.max(0,t.offsetWidth-t.clientWidth);if(n===0)return!1;const i=t.getBoundingClientRect(),f=t.offsetWidth>0?n*(i.width/t.offsetWidth):n;return getComputedStyle(t).direction==="rtl"?e.clientX<=i.left+f:e.clientX>=i.right-f}function fe(){if(!d){if(o&&A!==null)return;let f=H();o&&(f=_(f)),x(f);return}const e=J(),n=Math.max(0,e-t.scrollTop);if(e!==m){m=e,s=n,c=!1,x();return}const i=n-s;s=n,i>0?(c=!1,D(!1)):i<0?(c=!0,G()?z.followAndScroll():x()):x()}function me(e){y=null,d=Se(e),m=J(),s=Math.max(0,m-t.scrollTop),c=!1}function j(){d&&(d=!1,c&&G()?z.followAndScroll():x())}function Le(){if(!L){L=new MutationObserver(e=>{let n=!1;for(const i of e)if(i.type==="childList"){for(const f of i.removedNodes)n=!0,f instanceof HTMLElement&&Y(f);for(const f of i.addedNodes)f instanceof HTMLElement&&f!==u&&T&&(K(f),o&&f.parentElement===t&&I(f))}n&&ee(),a(o),xe()}),L.observe(t,{attributes:!0,childList:!0,subtree:!0,characterData:!0}),T=new ResizeObserver(Fe),K(t);for(const e of t.children)e instanceof HTMLElement&&e!==u&&K(e)}}function Te(){L?.disconnect(),L=null,T?.disconnect(),T=null}function de(e=!1){if(!l||h)return;if(k.set(t,z),t.addEventListener("scroll",fe,{passive:!0}),t.addEventListener("scrollend",le,{passive:!0,capture:!0}),t.addEventListener("wheel",re,{passive:!0}),t.addEventListener("touchstart",se,{passive:!0}),t.addEventListener("touchmove",ae,{passive:!0}),t.addEventListener("touchend",ue,{passive:!0}),t.addEventListener("keydown",ce),t.addEventListener("pointerdown",me,{passive:!0}),window.addEventListener("pointerup",j,{passive:!0}),window.addEventListener("pointercancel",j,{passive:!0}),$(),Le(),e){O=requestAnimationFrame(()=>{O=null,!(h||!l)&&(X(),o?W():x())});return}X();let n=H();o&&(n=_(n),N=n.maximum),x(n)}function he(){y=null,F=void 0,S.clear(),q.clear(),d=!1,ne(),w!==null&&cancelAnimationFrame(w),w=null,O!==null&&cancelAnimationFrame(O),O=null,R!==null&&cancelAnimationFrame(R),R=null,E=null,P=null,k.get(t)===z&&k.delete(t),Te(),ye(),t.removeEventListener("scroll",fe),t.removeEventListener("scrollend",le,!0),t.removeEventListener("wheel",re),t.removeEventListener("touchstart",se),t.removeEventListener("touchmove",ae),t.removeEventListener("touchend",ue),t.removeEventListener("keydown",ce),t.removeEventListener("pointerdown",me),window.removeEventListener("pointerup",j),window.removeEventListener("pointercancel",j)}return de(!0),{update(e){p=e.onFollowChange,v=e.onScrollStateChange,g=e.threshold??100;const n=e.enabled??!0;if(l!==n&&(n||he(),l=n,l)){o=e.follow,de(!0);return}l?e.follow&&!o?(D(!0,!1),W()):!e.follow&&o?D(!1,!1):O===null&&oe():o=e.follow},destroy(){h=!0,he()}}}function Ye(t){return k.get(t)?.isFollowing()??!1}function _e(t){return k.get(t)?.isNativeScrollAnchoringActive()??!1}function Ue(t){return k.get(t)?.hasActiveMutation()??!1}function ge(t,r={}){let l=t;for(;l;){const o=k.get(l);if(o)return o.beforeMutation(t,r);l=l.parentElement}return ve}function Oe(t){const{scrollTop:r,scrollHeight:l,clientHeight:o}=t;return l-r-o}function qe(t,r=100){return Oe(t)<=r}function De(t,r=!1){t.scrollTo({top:t.scrollHeight,behavior:r?"smooth":"auto"})}function Ie(t){const r=k.get(t);if(r){r.followAndScroll();return}De(t)}function Xe(t,r,l=150,o){const p=t();if(!p)return;const v=p.scrollTop,g=performance.now();function d(s){return 1-Math.pow(1-s,3)}function m(s){const c=t();if(!c)return;const w=s-g,F=Math.min(w/l,1),y=typeof r=="function"?r(c):r;c.scrollTop=v+(y-v)*d(F),F<1?requestAnimationFrame(m):o?.(c)}requestAnimationFrame(m)}function Ge(t,r="[data-message-id], [data-lazy-turn-key]"){const l=t.scrollTop,o=t.getBoundingClientRect(),p=qe(t,100);if(p&&k.get(t)?.isFollowing()!==!1)return{element:null,offsetFromViewport:0,scrollTop:l,isNearBottom:p};const v=t.querySelectorAll(r);let g=null,d=0,m;for(const s of v){const c=s.getBoundingClientRect();if(c.top>=o.bottom)break;if(c.top>=o.top){g||(g=s,d=c.top-o.top);const w=s.getAttribute("data-message-id");if(w){m={id:w,offsetFromViewport:c.top-o.top};break}}}return{element:g,offsetFromViewport:d,scrollTop:l,isNearBottom:p,...m?{message:m}:{}}}function we(t,r){if(r.message){const l=t.querySelector(`[data-message-id="${CSS.escape(r.message.id)}"]`);if(l)return{element:l,offsetFromViewport:r.message.offsetFromViewport}}return r.element?.isConnected?{element:r.element,offsetFromViewport:r.offsetFromViewport}:null}function je(t,r){return we(t,r)!==null}function Ke(t,r){const l=we(t,r);if(l){const{element:o,offsetFromViewport:p}=l,v=t.getBoundingClientRect(),m=o.getBoundingClientRect().top-v.top-p;Math.abs(m)>5&&(t.scrollTop+=m)}}function b(t,r){const l=Number.parseFloat(String(t[r]));return Number.isFinite(l)?l:0}function Je(t,r={},l={}){const o=t,v={maxHoldMs:pe[r.tier??"moderate"].settleMs*2+500};let g=ge(o,v);const d=()=>{g?.settle(),g=null},m=()=>{g??=ge(o,v)};if(!Ce()||Be())return d(),{duration:0};const s=getComputedStyle(o),c=r.axis??"y",w=o.getBoundingClientRect(),F=c==="y"?b(s,"height")||w.height:b(s,"width")||w.width;if(!Number.isFinite(F)||F<=0)return d(),{duration:0};const y=b(s,"opacity")||1,E=r.tier??"moderate",L=pe[E],T=l.direction==="out",A=typeof s.getPropertyValue=="function"?T?Me(o,{tier:E}):Ee(o,{tier:E}):{duration:T?L.exit.duration:L.settleMs,easing:L.exit.easing},O=A.duration??(T?L.exit.duration:L.settleMs),R=r.y??-4,C=b(s,"paddingTop"),M=b(s,"paddingBottom"),N=b(s,"marginTop"),h=b(s,"marginBottom"),P=b(s,"paddingLeft"),S=b(s,"paddingRight"),q=b(s,"marginLeft"),V=b(s,"marginRight");let B=null,u=l.direction==="out"?"outro":l.direction==="in"?"intro":"idle";const I=(a,$)=>{o.style.overflow="hidden",c==="y"?(o.style.height=`${a*F}px`,o.style.paddingTop=`${a*C}px`,o.style.paddingBottom=`${a*M}px`,o.style.marginTop=`${a*N}px`,o.style.marginBottom=`${a*h}px`):(o.style.width=`${a*F}px`,o.style.paddingLeft=`${a*P}px`,o.style.paddingRight=`${a*S}px`,o.style.marginLeft=`${a*q}px`,o.style.marginRight=`${a*V}px`),o.style.opacity=`${a*y}`,o.style.transform=c==="y"?`translateY(${R*$}px)`:`translateX(${R*$}px)`},Y=()=>{o.style.overflow="",o.style.height="",o.style.width="",o.style.paddingTop="",o.style.paddingBottom="",o.style.marginTop="",o.style.marginBottom="",o.style.paddingLeft="",o.style.paddingRight="",o.style.marginLeft="",o.style.marginRight="",o.style.opacity="",o.style.transform=""};return{duration:O,easing:A.easing,tick:(a,$)=>{if(l.direction==="both"&&(B===null?a<1&&(u="outro"):a<B?(m(),u="outro"):a>B&&(m(),u="intro")),B=a,a===1&&u!=="outro"){Y(),d(),u="idle";return}I(a,$),g?.request(),a===0&&u==="outro"&&(d(),u="idle")}}}export{Xe as a,Ce as b,ge as c,je as d,Ge as e,Ve as f,Ie as g,Ue as h,Ye as i,_e as j,Pe as k,De as l,Ke as r,Je as s};
1
+ import"./B8o4lNgr.js";import{j as Be}from"./WVYGrHqE.js";import{C as be,D as pe,c as Me,E as Ee}from"./C8yAGnZY.js";import{s as Re}from"./t61BPD62.js";function Pe(t,r={}){const l=(r.axis??"y")==="y"?"height":"width",o=parseFloat(getComputedStyle(t)[l]);if(!Number.isFinite(o))return{duration:0};const p=r.duration??160,v=p<=80?"fast":p<=160?"moderate":"slow";return be(t,{axis:r.axis,tier:v},{direction:"in"})}function Ce(){return Re.get("enableComponentTransitions")}const ve={request(){},settle(){}},k=new WeakMap,Ne=2,ke=2e3;function Ve(t,r){let l=r.enabled??!0,o=r.follow,p=r.onFollowChange,v=r.onScrollStateChange,g=r.threshold??100,d=!1,m=0,s=0,c=!1,w=null,F,y=null,E=null,L=null,T=null,A=null,O=null,R=null,C=null,M=0,N=null,h=!1,P=null;const S=new Set,q=new Map,V=new WeakSet,B=new Map,u=document.createElement("div");u.dataset.followBottomAnchor="",u.setAttribute("aria-hidden","true"),u.style.cssText=`height:1px;${r.layoutNeutralBottomAnchor?"margin-top:-1px;":""}overflow-anchor:auto;pointer-events:none;flex:0 0 auto;`;function I(e){e===u||B.has(e)||(B.set(e,e.style.overflowAnchor),e.style.overflowAnchor="none")}function Y(e){const n=B.get(e);n!==void 0&&(e.style.overflowAnchor=n,B.delete(e))}function a(e){if(e)for(const i of t.children)i instanceof HTMLElement&&I(i);else for(const i of B.keys())Y(i);const n=e?"auto":"none";u.style.overflowAnchor!==n&&(u.style.overflowAnchor=n),e?(u.parentElement!==t||u.nextSibling)&&t.append(u):u.remove()}function $(){a(o)}function ye(){u.remove();for(const e of B.keys())Y(e)}function K(e){V.add(e),T?.observe(e)}function ne(){A!==null&&cancelAnimationFrame(A),C!==null&&cancelAnimationFrame(C),A=null,C=null,M=0,N=null}function J(){return Math.max(0,t.scrollHeight-t.clientHeight)}function X(){return P??=getComputedStyle(t).overflowAnchor!=="none",P}function H(){return{maximum:J(),scrollTop:t.scrollTop}}function _(e=H()){return e.scrollTop!==e.maximum&&(t.scrollTop=e.maximum),{maximum:e.maximum,scrollTop:e.maximum}}function G(e=H()){return e.maximum-e.scrollTop<=g}function x(e=H()){const n=Math.max(0,e.maximum-e.scrollTop),i=n<=g;E?.distanceFromBottom===n&&E.isAtBottom===i&&E.isFollowing===o||(E={distanceFromBottom:n,isAtBottom:i,isFollowing:o},v?.({distanceFromBottom:n,isAtBottom:i,isFollowing:o}))}function Q(e){F=e,w===null&&(w=requestAnimationFrame(()=>{w=null;const n=F;F=void 0,!(h||!l)&&(n&&(y?.event!==n||n.defaultPrevented||performance.now()>=y.expiresAt)||(G()?z.followAndScroll():x()))}))}function D(e,n=!0){if(y=null,!l){o=e;return}const i=o!==e;i&&(o=e,a(e)),i&&n&&p?.(e),e||ne(),x()}function Z(e,n=!0){if(!S.delete(e))return;const i=(q.get(e.element)??1)-1;i>0?q.set(e.element,i):(q.delete(e.element),V.has(e.element)||T?.unobserve?.(e.element)),M=0,n&&U()}function ee(e=!0){if(S.size===0)return;const n=performance.now();for(const i of S)(!t.contains(i.element)||n>=i.expiresAt)&&Z(i,e)}function te(){if(A=null,h||!l||!o)return;if(ee(!1),S.size>0){A=requestAnimationFrame(te);return}const e=_(),{maximum:n}=e;x(e),n===N?M+=1:(M=0,N=n),M<Ne&&(A=requestAnimationFrame(te))}function U(){h||!l||!o||A!==null||(A=requestAnimationFrame(te))}function W(e=!0){if(h||!l||!o)return;const n=_(),{maximum:i}=n;x(n),M=0,N=i,e&&U()}function oe(){R===null&&(R=requestAnimationFrame(()=>{R=null,!(h||!l)&&x()}))}function Ae(){if(C=null,h||!l)return;let e=H();const n=e.scrollTop!==e.maximum;e=_(e),(n||e.maximum!==N||S.size>0)&&(M=0,N=e.maximum,U()),x(e)}function xe(){if(!(h||!l)){if(o){if(A!==null||C!==null)return;C=requestAnimationFrame(Ae);return}oe()}}function Fe(){if(!(h||!l)){if(o){W(C===null);return}oe()}}const z={followAndScroll(){D(!0),W()},isFollowing:()=>o,isNativeScrollAnchoringActive:()=>!o&&getComputedStyle(t).overflowAnchor!=="none",hasActiveMutation:()=>o?(ee(),S.size>0):!1,beforeMutation(e,n){if(h||!l||!o)return ve;const i={element:e,expiresAt:performance.now()+(n.maxHoldMs??ke)};S.add(i);const f=q.get(e)??0;return q.set(e,f+1),f===0&&!V.has(e)&&T?.observe(e),M=0,U(),{request(){!S.has(i)||h||(X()?U():W())},settle(){if(!(h||!S.has(i))){if(X()){Z(i);return}Z(i,!1),W()}}}}};function re(e){e.deltaY<0?D(!1):e.deltaY>0&&(y={event:e,expiresAt:performance.now()+1e3},Q(e))}function le(e){const n=y;y=null,e.target===t&&n&&!n.event.defaultPrevented&&performance.now()<n.expiresAt&&G()&&z.followAndScroll()}let ie=0;function se(e){y=null,ie=e.touches[0]?.clientY??0}function ae(e){const n=e.touches[0]?.clientY??0;ie-n<0&&D(!1)}function ue(){Q()}function ce(e){y=null,["ArrowUp","PageUp","Home"].includes(e.key)?D(!1):["ArrowDown","PageDown","End"].includes(e.key)&&Q()}function Se(e){if(e.button!==0||e.target!==t)return!1;const n=Math.max(0,t.offsetWidth-t.clientWidth);if(n===0)return!1;const i=t.getBoundingClientRect(),f=t.offsetWidth>0?n*(i.width/t.offsetWidth):n;return getComputedStyle(t).direction==="rtl"?e.clientX<=i.left+f:e.clientX>=i.right-f}function fe(){if(!d){if(o&&A!==null)return;let f=H();o&&(f=_(f)),x(f);return}const e=J(),n=Math.max(0,e-t.scrollTop);if(e!==m){m=e,s=n,c=!1,x();return}const i=n-s;s=n,i>0?(c=!1,D(!1)):i<0?(c=!0,G()?z.followAndScroll():x()):x()}function me(e){y=null,d=Se(e),m=J(),s=Math.max(0,m-t.scrollTop),c=!1}function j(){d&&(d=!1,c&&G()?z.followAndScroll():x())}function Le(){if(!L){L=new MutationObserver(e=>{let n=!1;for(const i of e)if(i.type==="childList"){for(const f of i.removedNodes)n=!0,f instanceof HTMLElement&&Y(f);for(const f of i.addedNodes)f instanceof HTMLElement&&f!==u&&T&&(K(f),o&&f.parentElement===t&&I(f))}n&&ee(),a(o),xe()}),L.observe(t,{attributes:!0,childList:!0,subtree:!0,characterData:!0}),T=new ResizeObserver(Fe),K(t);for(const e of t.children)e instanceof HTMLElement&&e!==u&&K(e)}}function Te(){L?.disconnect(),L=null,T?.disconnect(),T=null}function de(e=!1){if(!l||h)return;if(k.set(t,z),t.addEventListener("scroll",fe,{passive:!0}),t.addEventListener("scrollend",le,{passive:!0,capture:!0}),t.addEventListener("wheel",re,{passive:!0}),t.addEventListener("touchstart",se,{passive:!0}),t.addEventListener("touchmove",ae,{passive:!0}),t.addEventListener("touchend",ue,{passive:!0}),t.addEventListener("keydown",ce),t.addEventListener("pointerdown",me,{passive:!0}),window.addEventListener("pointerup",j,{passive:!0}),window.addEventListener("pointercancel",j,{passive:!0}),$(),Le(),e){O=requestAnimationFrame(()=>{O=null,!(h||!l)&&(X(),o?W():x())});return}X();let n=H();o&&(n=_(n),N=n.maximum),x(n)}function he(){y=null,F=void 0,S.clear(),q.clear(),d=!1,ne(),w!==null&&cancelAnimationFrame(w),w=null,O!==null&&cancelAnimationFrame(O),O=null,R!==null&&cancelAnimationFrame(R),R=null,E=null,P=null,k.get(t)===z&&k.delete(t),Te(),ye(),t.removeEventListener("scroll",fe),t.removeEventListener("scrollend",le,!0),t.removeEventListener("wheel",re),t.removeEventListener("touchstart",se),t.removeEventListener("touchmove",ae),t.removeEventListener("touchend",ue),t.removeEventListener("keydown",ce),t.removeEventListener("pointerdown",me),window.removeEventListener("pointerup",j),window.removeEventListener("pointercancel",j)}return de(!0),{update(e){p=e.onFollowChange,v=e.onScrollStateChange,g=e.threshold??100;const n=e.enabled??!0;if(l!==n&&(n||he(),l=n,l)){o=e.follow,de(!0);return}l?e.follow&&!o?(D(!0,!1),W()):!e.follow&&o?D(!1,!1):O===null&&oe():o=e.follow},destroy(){h=!0,he()}}}function Ye(t){return k.get(t)?.isFollowing()??!1}function _e(t){return k.get(t)?.isNativeScrollAnchoringActive()??!1}function Ue(t){return k.get(t)?.hasActiveMutation()??!1}function ge(t,r={}){let l=t;for(;l;){const o=k.get(l);if(o)return o.beforeMutation(t,r);l=l.parentElement}return ve}function Oe(t){const{scrollTop:r,scrollHeight:l,clientHeight:o}=t;return l-r-o}function qe(t,r=100){return Oe(t)<=r}function De(t,r=!1){t.scrollTo({top:t.scrollHeight,behavior:r?"smooth":"auto"})}function Ie(t){const r=k.get(t);if(r){r.followAndScroll();return}De(t)}function Xe(t,r,l=150,o){const p=t();if(!p)return;const v=p.scrollTop,g=performance.now();function d(s){return 1-Math.pow(1-s,3)}function m(s){const c=t();if(!c)return;const w=s-g,F=Math.min(w/l,1),y=typeof r=="function"?r(c):r;c.scrollTop=v+(y-v)*d(F),F<1?requestAnimationFrame(m):o?.(c)}requestAnimationFrame(m)}function Ge(t,r="[data-message-id], [data-lazy-turn-key]"){const l=t.scrollTop,o=t.getBoundingClientRect(),p=qe(t,100);if(p&&k.get(t)?.isFollowing()!==!1)return{element:null,offsetFromViewport:0,scrollTop:l,isNearBottom:p};const v=t.querySelectorAll(r);let g=null,d=0,m;for(const s of v){const c=s.getBoundingClientRect();if(c.top>=o.bottom)break;if(c.top>=o.top){g||(g=s,d=c.top-o.top);const w=s.getAttribute("data-message-id");if(w){m={id:w,offsetFromViewport:c.top-o.top};break}}}return{element:g,offsetFromViewport:d,scrollTop:l,isNearBottom:p,...m?{message:m}:{}}}function we(t,r){if(r.message){const l=t.querySelector(`[data-message-id="${CSS.escape(r.message.id)}"]`);if(l)return{element:l,offsetFromViewport:r.message.offsetFromViewport}}return r.element?.isConnected?{element:r.element,offsetFromViewport:r.offsetFromViewport}:null}function je(t,r){return we(t,r)!==null}function Ke(t,r){const l=we(t,r);if(l){const{element:o,offsetFromViewport:p}=l,v=t.getBoundingClientRect(),m=o.getBoundingClientRect().top-v.top-p;Math.abs(m)>5&&(t.scrollTop+=m)}}function b(t,r){const l=Number.parseFloat(String(t[r]));return Number.isFinite(l)?l:0}function Je(t,r={},l={}){const o=t,v={maxHoldMs:pe[r.tier??"moderate"].settleMs*2+500};let g=ge(o,v);const d=()=>{g?.settle(),g=null},m=()=>{g??=ge(o,v)};if(!Ce()||Be())return d(),{duration:0};const s=getComputedStyle(o),c=r.axis??"y",w=o.getBoundingClientRect(),F=c==="y"?b(s,"height")||w.height:b(s,"width")||w.width;if(!Number.isFinite(F)||F<=0)return d(),{duration:0};const y=b(s,"opacity")||1,E=r.tier??"moderate",L=pe[E],T=l.direction==="out",A=typeof s.getPropertyValue=="function"?T?Me(o,{tier:E}):Ee(o,{tier:E}):{duration:T?L.exit.duration:L.settleMs,easing:L.exit.easing},O=A.duration??(T?L.exit.duration:L.settleMs),R=r.y??-4,C=b(s,"paddingTop"),M=b(s,"paddingBottom"),N=b(s,"marginTop"),h=b(s,"marginBottom"),P=b(s,"paddingLeft"),S=b(s,"paddingRight"),q=b(s,"marginLeft"),V=b(s,"marginRight");let B=null,u=l.direction==="out"?"outro":l.direction==="in"?"intro":"idle";const I=(a,$)=>{o.style.overflow="hidden",c==="y"?(o.style.height=`${a*F}px`,o.style.paddingTop=`${a*C}px`,o.style.paddingBottom=`${a*M}px`,o.style.marginTop=`${a*N}px`,o.style.marginBottom=`${a*h}px`):(o.style.width=`${a*F}px`,o.style.paddingLeft=`${a*P}px`,o.style.paddingRight=`${a*S}px`,o.style.marginLeft=`${a*q}px`,o.style.marginRight=`${a*V}px`),o.style.opacity=`${a*y}`,o.style.transform=c==="y"?`translateY(${R*$}px)`:`translateX(${R*$}px)`},Y=()=>{o.style.overflow="",o.style.height="",o.style.width="",o.style.paddingTop="",o.style.paddingBottom="",o.style.marginTop="",o.style.marginBottom="",o.style.paddingLeft="",o.style.paddingRight="",o.style.marginLeft="",o.style.marginRight="",o.style.opacity="",o.style.transform=""};return{duration:O,easing:A.easing,tick:(a,$)=>{if(l.direction==="both"&&(B===null?a<1&&(u="outro"):a<B?(m(),u="outro"):a>B&&(m(),u="intro")),B=a,a===1&&u!=="outro"){Y(),d(),u="idle";return}I(a,$),g?.request(),a===0&&u==="outro"&&(d(),u="idle")}}}export{Xe as a,Ce as b,ge as c,je as d,Ge as e,Ve as f,Ie as g,Ue as h,Ye as i,_e as j,Pe as k,De as l,Ke as r,Je as s};
@@ -1 +1 @@
1
- import{bF as b,d8 as _,de as P,bz as k,aP as C}from"./uzVhgdYt.js";import{c as v}from"./ChTqQfQN.js";import{bo as m}from"./DEI12D8u.js";import{G2 as y}from"./X8KOCQId.js";const A={narrowWidth:600,shortHeight:500,wideWidth:900};function I(e,c,t){let i;e<A.narrowWidth?i=2:(e<A.wideWidth,i=Math.min(3,t));let o;c<A.shortHeight?o=2:o=Math.min(3,Math.ceil(t/i));const n=i*o;return{columns:i,rows:o,maxItems:n}}const h=v("PresetExecutor");async function H(e,c,t){switch(h.info("Applying content preset",{presetId:e,context:t}),e){case"planning":return W(c,t);case"agents-row":return D(c,t);case"changes":return G(c,t);case"review":return L(c,t);default:return c.applyPreset(e),!0}}async function W(e,c){const{workspaceId:t}=c,i=b.select(y.state,t),o=i.length>0?i.reduce((n,r)=>{const l=n.createdAt?new Date(n.createdAt).getTime():1/0;return(r.createdAt?new Date(r.createdAt).getTime():1/0)<l?r:n}):void 0;return e.batchMutations(()=>{const n=e.createGridLayout(2);return o&&e.openTab({type:"agent",title:o.name||m.layout_tabTypes_agent_title(),agentId:o.id,closable:!0,workspaceId:t},n[0]),e.openTab({type:"note",title:m.layout_shared_spec_title(),noteId:"spec",closable:!0,workspaceId:t},n[1]),!0})}async function D(e,c){const{workspaceId:t,containerWidth:i,containerHeight:o}=c,n=6,r=y.state,l=b.select(r,t),p=C.select(r,t).sort((s,a)=>{const d=s.status==="active"||s.isProcessing,u=a.status==="active"||a.isProcessing;if(d&&!u)return-1;if(!d&&u)return 1;const f=s.lastActivity?new Date(s.lastActivity).getTime():s.updatedAt?new Date(s.updatedAt).getTime():0;return(a.lastActivity?new Date(a.lastActivity).getTime():a.updatedAt?new Date(a.updatedAt).getTime():0)-f});h.info("Agents row preset - agent counts",{total:l.length+p.length,foreground:l.length,background:p.length});const g=[...l,...p.slice(0,n-l.length)].slice(0,n);if(g.length===0)return h.info("No agents to display for agents-row preset"),!1;const T=I(i,o,g.length);return h.info("Agent tiling calculated",{tiling:T,agentCount:g.length}),e.batchMutations(()=>{const s=e.createGridLayout(g.length);h.info("Created grid layout for agents",{panelIds:s,panelCount:s.length,agentCount:g.length});for(let a=0;a<g.length;a++){const d=s[a];d&&e.openTab({type:"agent",title:g[a].name||m.layout_tabTypes_agent_title(),agentId:g[a].id,closable:!0,workspaceId:t},d)}return!0})}async function G(e,c){const{workspaceId:t,containerWidth:i,containerHeight:o}=c,n=y.state,r=_.select(n,t),l=P.select(n,t),p=k.select(n,t),g=l.map(a=>({path:a.relativePath,type:"unstaged"})),T=r.map(a=>({path:a.relativePath,type:"staged"}));let s=[...g,...T].slice(0,6);return s.length===0&&p.length>0&&p[0].files&&(s=p[0].files.slice(0,6).map(a=>({path:a.path,type:"committed"}))),e.batchMutations(()=>{if(s.length===0){h.info("No changes to display for changes preset");const u=e.createGridLayout(1);return e.openTab({type:"changes",title:m.layout_tabTypes_changes_title(),closable:!0,workspaceId:t},u[0]),!0}const a=I(i,o,s.length);h.info("Changes tiling calculated",{tiling:a,fileCount:s.length});const d=e.createGridLayout(s.length);h.info("Created grid layout for changes",{panelIds:d,panelCount:d.length,fileCount:s.length});for(let u=0;u<s.length;u++){const f=s[u],w=f.path.split("/").pop()||f.path;e.openTab({type:"diff",title:w,diffPath:f.path,closable:!0,workspaceId:t,data:{staged:f.type==="staged"}},d[u])}return!0})}async function L(e,c){const{workspaceId:t}=c,i=b.select(y.state,t),o=i.length>0?i.reduce((n,r)=>{const l=n.createdAt?new Date(n.createdAt).getTime():1/0;return(r.createdAt?new Date(r.createdAt).getTime():1/0)<l?r:n}):void 0;return e.batchMutations(()=>{const n=e.createGridLayout(2);return o&&e.openTab({type:"agent",title:o.name||m.layout_presetExecutor_coordinator_fallback(),agentId:o.id,closable:!0,workspaceId:t},n[0]),e.openTab({type:"local-changes",title:m.layout_presetExecutor_allChanges_title(),closable:!0,workspaceId:t},n[1]),!0})}export{H as applyContentPreset};
1
+ import{bF as b,d8 as _,de as P,bz as k,aP as C}from"./dimBDqRX.js";import{c as v}from"./ChTqQfQN.js";import{bo as m}from"./D4MoKNoK.js";import{G2 as y}from"./C51KzdSG.js";const A={narrowWidth:600,shortHeight:500,wideWidth:900};function I(e,c,t){let i;e<A.narrowWidth?i=2:(e<A.wideWidth,i=Math.min(3,t));let o;c<A.shortHeight?o=2:o=Math.min(3,Math.ceil(t/i));const n=i*o;return{columns:i,rows:o,maxItems:n}}const h=v("PresetExecutor");async function H(e,c,t){switch(h.info("Applying content preset",{presetId:e,context:t}),e){case"planning":return W(c,t);case"agents-row":return D(c,t);case"changes":return G(c,t);case"review":return L(c,t);default:return c.applyPreset(e),!0}}async function W(e,c){const{workspaceId:t}=c,i=b.select(y.state,t),o=i.length>0?i.reduce((n,r)=>{const l=n.createdAt?new Date(n.createdAt).getTime():1/0;return(r.createdAt?new Date(r.createdAt).getTime():1/0)<l?r:n}):void 0;return e.batchMutations(()=>{const n=e.createGridLayout(2);return o&&e.openTab({type:"agent",title:o.name||m.layout_tabTypes_agent_title(),agentId:o.id,closable:!0,workspaceId:t},n[0]),e.openTab({type:"note",title:m.layout_shared_spec_title(),noteId:"spec",closable:!0,workspaceId:t},n[1]),!0})}async function D(e,c){const{workspaceId:t,containerWidth:i,containerHeight:o}=c,n=6,r=y.state,l=b.select(r,t),p=C.select(r,t).sort((s,a)=>{const d=s.status==="active"||s.isProcessing,u=a.status==="active"||a.isProcessing;if(d&&!u)return-1;if(!d&&u)return 1;const f=s.lastActivity?new Date(s.lastActivity).getTime():s.updatedAt?new Date(s.updatedAt).getTime():0;return(a.lastActivity?new Date(a.lastActivity).getTime():a.updatedAt?new Date(a.updatedAt).getTime():0)-f});h.info("Agents row preset - agent counts",{total:l.length+p.length,foreground:l.length,background:p.length});const g=[...l,...p.slice(0,n-l.length)].slice(0,n);if(g.length===0)return h.info("No agents to display for agents-row preset"),!1;const T=I(i,o,g.length);return h.info("Agent tiling calculated",{tiling:T,agentCount:g.length}),e.batchMutations(()=>{const s=e.createGridLayout(g.length);h.info("Created grid layout for agents",{panelIds:s,panelCount:s.length,agentCount:g.length});for(let a=0;a<g.length;a++){const d=s[a];d&&e.openTab({type:"agent",title:g[a].name||m.layout_tabTypes_agent_title(),agentId:g[a].id,closable:!0,workspaceId:t},d)}return!0})}async function G(e,c){const{workspaceId:t,containerWidth:i,containerHeight:o}=c,n=y.state,r=_.select(n,t),l=P.select(n,t),p=k.select(n,t),g=l.map(a=>({path:a.relativePath,type:"unstaged"})),T=r.map(a=>({path:a.relativePath,type:"staged"}));let s=[...g,...T].slice(0,6);return s.length===0&&p.length>0&&p[0].files&&(s=p[0].files.slice(0,6).map(a=>({path:a.path,type:"committed"}))),e.batchMutations(()=>{if(s.length===0){h.info("No changes to display for changes preset");const u=e.createGridLayout(1);return e.openTab({type:"changes",title:m.layout_tabTypes_changes_title(),closable:!0,workspaceId:t},u[0]),!0}const a=I(i,o,s.length);h.info("Changes tiling calculated",{tiling:a,fileCount:s.length});const d=e.createGridLayout(s.length);h.info("Created grid layout for changes",{panelIds:d,panelCount:d.length,fileCount:s.length});for(let u=0;u<s.length;u++){const f=s[u],w=f.path.split("/").pop()||f.path;e.openTab({type:"diff",title:w,diffPath:f.path,closable:!0,workspaceId:t,data:{staged:f.type==="staged"}},d[u])}return!0})}async function L(e,c){const{workspaceId:t}=c,i=b.select(y.state,t),o=i.length>0?i.reduce((n,r)=>{const l=n.createdAt?new Date(n.createdAt).getTime():1/0;return(r.createdAt?new Date(r.createdAt).getTime():1/0)<l?r:n}):void 0;return e.batchMutations(()=>{const n=e.createGridLayout(2);return o&&e.openTab({type:"agent",title:o.name||m.layout_presetExecutor_coordinator_fallback(),agentId:o.id,closable:!0,workspaceId:t},n[0]),e.openTab({type:"local-changes",title:m.layout_presetExecutor_allChanges_title(),closable:!0,workspaceId:t},n[1]),!0})}export{H as applyContentPreset};
@@ -1 +1 @@
1
- import{d as l,v as h,t as T}from"./CjSUqH7t.js";import{G2 as c,ti as w}from"./X8KOCQId.js";import{i as W,c as s,n as i,b as m}from"./CE7hy_eJ.js";const E=new Set(["new","creating"]);function g(n){let t;try{t=decodeURIComponent(n)}catch{return null}return t.length===0||E.has(t)?null:t}function f(n){const t=/^\/workspace\/([^/?#]+)\/?(?:[?#].*)?$/.exec(n);return t?g(t[1]):null}function A(n){const t=/^\/workspace\/([^/?#]+)(?:[/?#].*)?$/.exec(n);return t?g(t[1]):null}function N(n,t){return t.length>0&&A(n)===t}function p(){return typeof window>"u"?null:window.location?.pathname??null}function d(n,t){const e=`/workspace/${encodeURIComponent(n)}`,a=t?new URLSearchParams(t).toString():"";return a?`${e}?${a}`:e}function R(n,t){const e=t?.presenceFollowRequestId;return e?w(n,e):w(n)}function I(n,t){return t?i(n,{state:t}):i(n)}function o(n){return n?.tabState?.currentTabId??null}async function S(n,t,e,a){m();const u=I(t,e),r={workspaceId:n,epoch:s(),startTabId:a};return await u,r}function y(n){return!n||W()}function b(n,t){if(s()!==n.epoch||t!==n.startTabId&&t!==n.workspaceId)return!1;const e=p();return e===null||f(e)===n.workspaceId}async function v(n,t,e){if(y(n))return!1;const a=await S(n,t,e,o(c.state));return b(a,o(c.state))?(c.dispatch(R(n,e)),!0):!1}function*k(n,t,e){if(y(n))return!1;const a=o(yield*h(r=>r)),u=yield*l(S,n,t,e,a);return b(u,o(yield*h(r=>r)))?(yield*T(R(n,e)),!0):!1}function P(){m();const n=s(),t=o(c.state),e=p();return()=>s()===n&&o(c.state)===t&&p()===e}function _(n,t={}){return v(n,d(n,t.query),t.state)}function O(n,t={}){return k(n,d(n,t.query),t.state)}async function $(n){const t=f(n);t?await v(t,n,void 0):await i(n)}function*j(n){const t=f(n);t?yield*l(k,t,n,void 0):yield*l(i,n)}const U=Object.freeze(Object.defineProperty({__proto__:null,claimNavigation:P,navigateToAppRoute:$,navigateToAppRouteSaga:j,openAndShowWorkspace:_,showWorkspaceSaga:O,workspaceRoute:d},Symbol.toStringTag,{value:"Module"}));export{p as a,j as b,P as c,O as d,d as e,N as i,$ as n,_ as o,f as p,U as s,A as w};
1
+ import{d as l,v as h,t as T}from"./CjSUqH7t.js";import{G2 as c,ti as w}from"./C51KzdSG.js";import{i as W,c as s,n as i,b as m}from"./CwK4Fl7A.js";const E=new Set(["new","creating"]);function g(n){let t;try{t=decodeURIComponent(n)}catch{return null}return t.length===0||E.has(t)?null:t}function f(n){const t=/^\/workspace\/([^/?#]+)\/?(?:[?#].*)?$/.exec(n);return t?g(t[1]):null}function A(n){const t=/^\/workspace\/([^/?#]+)(?:[/?#].*)?$/.exec(n);return t?g(t[1]):null}function N(n,t){return t.length>0&&A(n)===t}function p(){return typeof window>"u"?null:window.location?.pathname??null}function d(n,t){const e=`/workspace/${encodeURIComponent(n)}`,a=t?new URLSearchParams(t).toString():"";return a?`${e}?${a}`:e}function R(n,t){const e=t?.presenceFollowRequestId;return e?w(n,e):w(n)}function I(n,t){return t?i(n,{state:t}):i(n)}function o(n){return n?.tabState?.currentTabId??null}async function S(n,t,e,a){m();const u=I(t,e),r={workspaceId:n,epoch:s(),startTabId:a};return await u,r}function y(n){return!n||W()}function b(n,t){if(s()!==n.epoch||t!==n.startTabId&&t!==n.workspaceId)return!1;const e=p();return e===null||f(e)===n.workspaceId}async function v(n,t,e){if(y(n))return!1;const a=await S(n,t,e,o(c.state));return b(a,o(c.state))?(c.dispatch(R(n,e)),!0):!1}function*k(n,t,e){if(y(n))return!1;const a=o(yield*h(r=>r)),u=yield*l(S,n,t,e,a);return b(u,o(yield*h(r=>r)))?(yield*T(R(n,e)),!0):!1}function P(){m();const n=s(),t=o(c.state),e=p();return()=>s()===n&&o(c.state)===t&&p()===e}function _(n,t={}){return v(n,d(n,t.query),t.state)}function O(n,t={}){return k(n,d(n,t.query),t.state)}async function $(n){const t=f(n);t?await v(t,n,void 0):await i(n)}function*j(n){const t=f(n);t?yield*l(k,t,n,void 0):yield*l(i,n)}const U=Object.freeze(Object.defineProperty({__proto__:null,claimNavigation:P,navigateToAppRoute:$,navigateToAppRouteSaga:j,openAndShowWorkspace:_,showWorkspaceSaga:O,workspaceRoute:d},Symbol.toStringTag,{value:"Module"}));export{p as a,j as b,P as c,O as d,d as e,N as i,$ as n,_ as o,f as p,U as s,A as w};
@@ -1,4 +1,4 @@
1
- import{R as Ge,l as x,g as w,U as Je,M as R}from"./DWjmi9tH.js";var T;(function(e){function n(i){return typeof i=="string"}e.is=n})(T||(T={}));var O;(function(e){function n(i){return typeof i=="string"}e.is=n})(O||(O={}));var K;(function(e){e.MIN_VALUE=-2147483648,e.MAX_VALUE=2147483647;function n(i){return typeof i=="number"&&e.MIN_VALUE<=i&&i<=e.MAX_VALUE}e.is=n})(K||(K={}));var j;(function(e){e.MIN_VALUE=0,e.MAX_VALUE=2147483647;function n(i){return typeof i=="number"&&e.MIN_VALUE<=i&&i<=e.MAX_VALUE}e.is=n})(j||(j={}));var _;(function(e){function n(r,t){return r===Number.MAX_VALUE&&(r=j.MAX_VALUE),t===Number.MAX_VALUE&&(t=j.MAX_VALUE),{line:r,character:t}}e.create=n;function i(r){let t=r;return o.objectLiteral(t)&&o.uinteger(t.line)&&o.uinteger(t.character)}e.is=i})(_||(_={}));var h;(function(e){function n(r,t,a,u){if(o.uinteger(r)&&o.uinteger(t)&&o.uinteger(a)&&o.uinteger(u))return{start:_.create(r,t),end:_.create(a,u)};if(_.is(r)&&_.is(t))return{start:r,end:t};throw new Error(`Range#create called with invalid arguments[${r}, ${t}, ${a}, ${u}]`)}e.create=n;function i(r){let t=r;return o.objectLiteral(t)&&_.is(t.start)&&_.is(t.end)}e.is=i})(h||(h={}));var N;(function(e){function n(r,t){return{uri:r,range:t}}e.create=n;function i(r){let t=r;return o.objectLiteral(t)&&h.is(t.range)&&(o.string(t.uri)||o.undefined(t.uri))}e.is=i})(N||(N={}));var ee;(function(e){function n(r,t,a,u){return{targetUri:r,targetRange:t,targetSelectionRange:a,originSelectionRange:u}}e.create=n;function i(r){let t=r;return o.objectLiteral(t)&&h.is(t.targetRange)&&o.string(t.targetUri)&&h.is(t.targetSelectionRange)&&(h.is(t.originSelectionRange)||o.undefined(t.originSelectionRange))}e.is=i})(ee||(ee={}));var S;(function(e){function n(r,t,a,u){return{red:r,green:t,blue:a,alpha:u}}e.create=n;function i(r){const t=r;return o.objectLiteral(t)&&o.numberRange(t.red,0,1)&&o.numberRange(t.green,0,1)&&o.numberRange(t.blue,0,1)&&o.numberRange(t.alpha,0,1)}e.is=i})(S||(S={}));var te;(function(e){function n(r,t){return{range:r,color:t}}e.create=n;function i(r){const t=r;return o.objectLiteral(t)&&h.is(t.range)&&S.is(t.color)}e.is=i})(te||(te={}));var ne;(function(e){function n(r,t,a){return{label:r,textEdit:t,additionalTextEdits:a}}e.create=n;function i(r){const t=r;return o.objectLiteral(t)&&o.string(t.label)&&(o.undefined(t.textEdit)||L.is(t))&&(o.undefined(t.additionalTextEdits)||o.typedArray(t.additionalTextEdits,L.is))}e.is=i})(ne||(ne={}));var M;(function(e){e.Comment="comment",e.Imports="imports",e.Region="region"})(M||(M={}));var re;(function(e){function n(r,t,a,u,s,f){const l={startLine:r,endLine:t};return o.defined(a)&&(l.startCharacter=a),o.defined(u)&&(l.endCharacter=u),o.defined(s)&&(l.kind=s),o.defined(f)&&(l.collapsedText=f),l}e.create=n;function i(r){const t=r;return o.objectLiteral(t)&&o.uinteger(t.startLine)&&o.uinteger(t.startLine)&&(o.undefined(t.startCharacter)||o.uinteger(t.startCharacter))&&(o.undefined(t.endCharacter)||o.uinteger(t.endCharacter))&&(o.undefined(t.kind)||o.string(t.kind))}e.is=i})(re||(re={}));var H;(function(e){function n(r,t){return{location:r,message:t}}e.create=n;function i(r){let t=r;return o.defined(t)&&N.is(t.location)&&o.string(t.message)}e.is=i})(H||(H={}));var A;(function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4})(A||(A={}));var ie;(function(e){e.Unnecessary=1,e.Deprecated=2})(ie||(ie={}));var ae;(function(e){function n(i){const r=i;return o.objectLiteral(r)&&o.string(r.href)}e.is=n})(ae||(ae={}));var P;(function(e){function n(r,t,a,u,s,f){let l={range:r,message:t};return o.defined(a)&&(l.severity=a),o.defined(u)&&(l.code=u),o.defined(s)&&(l.source=s),o.defined(f)&&(l.relatedInformation=f),l}e.create=n;function i(r){var t;let a=r;return o.defined(a)&&h.is(a.range)&&o.string(a.message)&&(o.number(a.severity)||o.undefined(a.severity))&&(o.integer(a.code)||o.string(a.code)||o.undefined(a.code))&&(o.undefined(a.codeDescription)||o.string((t=a.codeDescription)===null||t===void 0?void 0:t.href))&&(o.string(a.source)||o.undefined(a.source))&&(o.undefined(a.relatedInformation)||o.typedArray(a.relatedInformation,H.is))}e.is=i})(P||(P={}));var E;(function(e){function n(r,t,...a){let u={title:r,command:t};return o.defined(a)&&a.length>0&&(u.arguments=a),u}e.create=n;function i(r){let t=r;return o.defined(t)&&o.string(t.title)&&o.string(t.command)}e.is=i})(E||(E={}));var L;(function(e){function n(a,u){return{range:a,newText:u}}e.replace=n;function i(a,u){return{range:{start:a,end:a},newText:u}}e.insert=i;function r(a){return{range:a,newText:""}}e.del=r;function t(a){const u=a;return o.objectLiteral(u)&&o.string(u.newText)&&h.is(u.range)}e.is=t})(L||(L={}));var W;(function(e){function n(r,t,a){const u={label:r};return t!==void 0&&(u.needsConfirmation=t),a!==void 0&&(u.description=a),u}e.create=n;function i(r){const t=r;return o.objectLiteral(t)&&o.string(t.label)&&(o.boolean(t.needsConfirmation)||t.needsConfirmation===void 0)&&(o.string(t.description)||t.description===void 0)}e.is=i})(W||(W={}));var I;(function(e){function n(i){const r=i;return o.string(r)}e.is=n})(I||(I={}));var oe;(function(e){function n(a,u,s){return{range:a,newText:u,annotationId:s}}e.replace=n;function i(a,u,s){return{range:{start:a,end:a},newText:u,annotationId:s}}e.insert=i;function r(a,u){return{range:a,newText:"",annotationId:u}}e.del=r;function t(a){const u=a;return L.is(u)&&(W.is(u.annotationId)||I.is(u.annotationId))}e.is=t})(oe||(oe={}));var X;(function(e){function n(r,t){return{textDocument:r,edits:t}}e.create=n;function i(r){let t=r;return o.defined(t)&&Q.is(t.textDocument)&&Array.isArray(t.edits)}e.is=i})(X||(X={}));var $;(function(e){function n(r,t,a){let u={kind:"create",uri:r};return t!==void 0&&(t.overwrite!==void 0||t.ignoreIfExists!==void 0)&&(u.options=t),a!==void 0&&(u.annotationId=a),u}e.create=n;function i(r){let t=r;return t&&t.kind==="create"&&o.string(t.uri)&&(t.options===void 0||(t.options.overwrite===void 0||o.boolean(t.options.overwrite))&&(t.options.ignoreIfExists===void 0||o.boolean(t.options.ignoreIfExists)))&&(t.annotationId===void 0||I.is(t.annotationId))}e.is=i})($||($={}));var z;(function(e){function n(r,t,a,u){let s={kind:"rename",oldUri:r,newUri:t};return a!==void 0&&(a.overwrite!==void 0||a.ignoreIfExists!==void 0)&&(s.options=a),u!==void 0&&(s.annotationId=u),s}e.create=n;function i(r){let t=r;return t&&t.kind==="rename"&&o.string(t.oldUri)&&o.string(t.newUri)&&(t.options===void 0||(t.options.overwrite===void 0||o.boolean(t.options.overwrite))&&(t.options.ignoreIfExists===void 0||o.boolean(t.options.ignoreIfExists)))&&(t.annotationId===void 0||I.is(t.annotationId))}e.is=i})(z||(z={}));var B;(function(e){function n(r,t,a){let u={kind:"delete",uri:r};return t!==void 0&&(t.recursive!==void 0||t.ignoreIfNotExists!==void 0)&&(u.options=t),a!==void 0&&(u.annotationId=a),u}e.create=n;function i(r){let t=r;return t&&t.kind==="delete"&&o.string(t.uri)&&(t.options===void 0||(t.options.recursive===void 0||o.boolean(t.options.recursive))&&(t.options.ignoreIfNotExists===void 0||o.boolean(t.options.ignoreIfNotExists)))&&(t.annotationId===void 0||I.is(t.annotationId))}e.is=i})(B||(B={}));var q;(function(e){function n(i){let r=i;return r&&(r.changes!==void 0||r.documentChanges!==void 0)&&(r.documentChanges===void 0||r.documentChanges.every(t=>o.string(t.kind)?$.is(t)||z.is(t)||B.is(t):X.is(t)))}e.is=n})(q||(q={}));var ue;(function(e){function n(r){return{uri:r}}e.create=n;function i(r){let t=r;return o.defined(t)&&o.string(t.uri)}e.is=i})(ue||(ue={}));var se;(function(e){function n(r,t){return{uri:r,version:t}}e.create=n;function i(r){let t=r;return o.defined(t)&&o.string(t.uri)&&o.integer(t.version)}e.is=i})(se||(se={}));var Q;(function(e){function n(r,t){return{uri:r,version:t}}e.create=n;function i(r){let t=r;return o.defined(t)&&o.string(t.uri)&&(t.version===null||o.integer(t.version))}e.is=i})(Q||(Q={}));var ce;(function(e){function n(r,t,a,u){return{uri:r,languageId:t,version:a,text:u}}e.create=n;function i(r){let t=r;return o.defined(t)&&o.string(t.uri)&&o.string(t.languageId)&&o.integer(t.version)&&o.string(t.text)}e.is=i})(ce||(ce={}));var G;(function(e){e.PlainText="plaintext",e.Markdown="markdown";function n(i){const r=i;return r===e.PlainText||r===e.Markdown}e.is=n})(G||(G={}));var F;(function(e){function n(i){const r=i;return o.objectLiteral(i)&&G.is(r.kind)&&o.string(r.value)}e.is=n})(F||(F={}));var p;(function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25})(p||(p={}));var J;(function(e){e.PlainText=1,e.Snippet=2})(J||(J={}));var de;(function(e){e.Deprecated=1})(de||(de={}));var fe;(function(e){function n(r,t,a){return{newText:r,insert:t,replace:a}}e.create=n;function i(r){const t=r;return t&&o.string(t.newText)&&h.is(t.insert)&&h.is(t.replace)}e.is=i})(fe||(fe={}));var le;(function(e){e.asIs=1,e.adjustIndentation=2})(le||(le={}));var ge;(function(e){function n(i){const r=i;return r&&(o.string(r.detail)||r.detail===void 0)&&(o.string(r.description)||r.description===void 0)}e.is=n})(ge||(ge={}));var he;(function(e){function n(i){return{label:i}}e.create=n})(he||(he={}));var pe;(function(e){function n(i,r){return{items:i||[],isIncomplete:!!r}}e.create=n})(pe||(pe={}));var y;(function(e){function n(r){return r.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}e.fromPlainText=n;function i(r){const t=r;return o.string(t)||o.objectLiteral(t)&&o.string(t.language)&&o.string(t.value)}e.is=i})(y||(y={}));var me;(function(e){function n(i){let r=i;return!!r&&o.objectLiteral(r)&&(F.is(r.contents)||y.is(r.contents)||o.typedArray(r.contents,y.is))&&(i.range===void 0||h.is(i.range))}e.is=n})(me||(me={}));var ve;(function(e){function n(i,r){return r?{label:i,documentation:r}:{label:i}}e.create=n})(ve||(ve={}));var be;(function(e){function n(i,r,...t){let a={label:i};return o.defined(r)&&(a.documentation=r),o.defined(t)?a.parameters=t:a.parameters=[],a}e.create=n})(be||(be={}));var D;(function(e){e.Text=1,e.Read=2,e.Write=3})(D||(D={}));var _e;(function(e){function n(i,r){let t={range:i};return o.number(r)&&(t.kind=r),t}e.create=n})(_e||(_e={}));var m;(function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26})(m||(m={}));var xe;(function(e){e.Deprecated=1})(xe||(xe={}));var we;(function(e){function n(i,r,t,a,u){let s={name:i,kind:r,location:{uri:a,range:t}};return u&&(s.containerName=u),s}e.create=n})(we||(we={}));var ke;(function(e){function n(i,r,t,a){return a!==void 0?{name:i,kind:r,location:{uri:t,range:a}}:{name:i,kind:r,location:{uri:t}}}e.create=n})(ke||(ke={}));var Ae;(function(e){function n(r,t,a,u,s,f){let l={name:r,detail:t,kind:a,range:u,selectionRange:s};return f!==void 0&&(l.children=f),l}e.create=n;function i(r){let t=r;return t&&o.string(t.name)&&o.number(t.kind)&&h.is(t.range)&&h.is(t.selectionRange)&&(t.detail===void 0||o.string(t.detail))&&(t.deprecated===void 0||o.boolean(t.deprecated))&&(t.children===void 0||Array.isArray(t.children))&&(t.tags===void 0||Array.isArray(t.tags))}e.is=i})(Ae||(Ae={}));var Ee;(function(e){e.Empty="",e.QuickFix="quickfix",e.Refactor="refactor",e.RefactorExtract="refactor.extract",e.RefactorInline="refactor.inline",e.RefactorRewrite="refactor.rewrite",e.Source="source",e.SourceOrganizeImports="source.organizeImports",e.SourceFixAll="source.fixAll"})(Ee||(Ee={}));var V;(function(e){e.Invoked=1,e.Automatic=2})(V||(V={}));var Le;(function(e){function n(r,t,a){let u={diagnostics:r};return t!=null&&(u.only=t),a!=null&&(u.triggerKind=a),u}e.create=n;function i(r){let t=r;return o.defined(t)&&o.typedArray(t.diagnostics,P.is)&&(t.only===void 0||o.typedArray(t.only,o.string))&&(t.triggerKind===void 0||t.triggerKind===V.Invoked||t.triggerKind===V.Automatic)}e.is=i})(Le||(Le={}));var Ie;(function(e){function n(r,t,a){let u={title:r},s=!0;return typeof t=="string"?(s=!1,u.kind=t):E.is(t)?u.command=t:u.edit=t,s&&a!==void 0&&(u.kind=a),u}e.create=n;function i(r){let t=r;return t&&o.string(t.title)&&(t.diagnostics===void 0||o.typedArray(t.diagnostics,P.is))&&(t.kind===void 0||o.string(t.kind))&&(t.edit!==void 0||t.command!==void 0)&&(t.command===void 0||E.is(t.command))&&(t.isPreferred===void 0||o.boolean(t.isPreferred))&&(t.edit===void 0||q.is(t.edit))}e.is=i})(Ie||(Ie={}));var Re;(function(e){function n(r,t){let a={range:r};return o.defined(t)&&(a.data=t),a}e.create=n;function i(r){let t=r;return o.defined(t)&&h.is(t.range)&&(o.undefined(t.command)||E.is(t.command))}e.is=i})(Re||(Re={}));var Me;(function(e){function n(r,t){return{tabSize:r,insertSpaces:t}}e.create=n;function i(r){let t=r;return o.defined(t)&&o.uinteger(t.tabSize)&&o.boolean(t.insertSpaces)}e.is=i})(Me||(Me={}));var De;(function(e){function n(r,t,a){return{range:r,target:t,data:a}}e.create=n;function i(r){let t=r;return o.defined(t)&&h.is(t.range)&&(o.undefined(t.target)||o.string(t.target))}e.is=i})(De||(De={}));var Fe;(function(e){function n(r,t){return{range:r,parent:t}}e.create=n;function i(r){let t=r;return o.objectLiteral(t)&&h.is(t.range)&&(t.parent===void 0||e.is(t.parent))}e.is=i})(Fe||(Fe={}));var Ce;(function(e){e.namespace="namespace",e.type="type",e.class="class",e.enum="enum",e.interface="interface",e.struct="struct",e.typeParameter="typeParameter",e.parameter="parameter",e.variable="variable",e.property="property",e.enumMember="enumMember",e.event="event",e.function="function",e.method="method",e.macro="macro",e.keyword="keyword",e.modifier="modifier",e.comment="comment",e.string="string",e.number="number",e.regexp="regexp",e.operator="operator",e.decorator="decorator"})(Ce||(Ce={}));var je;(function(e){e.declaration="declaration",e.definition="definition",e.readonly="readonly",e.static="static",e.deprecated="deprecated",e.abstract="abstract",e.async="async",e.modification="modification",e.documentation="documentation",e.defaultLibrary="defaultLibrary"})(je||(je={}));var Ne;(function(e){function n(i){const r=i;return o.objectLiteral(r)&&(r.resultId===void 0||typeof r.resultId=="string")&&Array.isArray(r.data)&&(r.data.length===0||typeof r.data[0]=="number")}e.is=n})(Ne||(Ne={}));var Pe;(function(e){function n(r,t){return{range:r,text:t}}e.create=n;function i(r){const t=r;return t!=null&&h.is(t.range)&&o.string(t.text)}e.is=i})(Pe||(Pe={}));var ye;(function(e){function n(r,t,a){return{range:r,variableName:t,caseSensitiveLookup:a}}e.create=n;function i(r){const t=r;return t!=null&&h.is(t.range)&&o.boolean(t.caseSensitiveLookup)&&(o.string(t.variableName)||t.variableName===void 0)}e.is=i})(ye||(ye={}));var Ve;(function(e){function n(r,t){return{range:r,expression:t}}e.create=n;function i(r){const t=r;return t!=null&&h.is(t.range)&&(o.string(t.expression)||t.expression===void 0)}e.is=i})(Ve||(Ve={}));var Ue;(function(e){function n(r,t){return{frameId:r,stoppedLocation:t}}e.create=n;function i(r){const t=r;return o.defined(t)&&h.is(r.stoppedLocation)}e.is=i})(Ue||(Ue={}));var Y;(function(e){e.Type=1,e.Parameter=2;function n(i){return i===1||i===2}e.is=n})(Y||(Y={}));var Z;(function(e){function n(r){return{value:r}}e.create=n;function i(r){const t=r;return o.objectLiteral(t)&&(t.tooltip===void 0||o.string(t.tooltip)||F.is(t.tooltip))&&(t.location===void 0||N.is(t.location))&&(t.command===void 0||E.is(t.command))}e.is=i})(Z||(Z={}));var Oe;(function(e){function n(r,t,a){const u={position:r,label:t};return a!==void 0&&(u.kind=a),u}e.create=n;function i(r){const t=r;return o.objectLiteral(t)&&_.is(t.position)&&(o.string(t.label)||o.typedArray(t.label,Z.is))&&(t.kind===void 0||Y.is(t.kind))&&t.textEdits===void 0||o.typedArray(t.textEdits,L.is)&&(t.tooltip===void 0||o.string(t.tooltip)||F.is(t.tooltip))&&(t.paddingLeft===void 0||o.boolean(t.paddingLeft))&&(t.paddingRight===void 0||o.boolean(t.paddingRight))}e.is=i})(Oe||(Oe={}));var Se;(function(e){function n(i){return{kind:"snippet",value:i}}e.createSnippet=n})(Se||(Se={}));var He;(function(e){function n(i,r,t,a){return{insertText:i,filterText:r,range:t,command:a}}e.create=n})(He||(He={}));var We;(function(e){function n(i){return{items:i}}e.create=n})(We||(We={}));var Xe;(function(e){e.Invoked=0,e.Automatic=1})(Xe||(Xe={}));var $e;(function(e){function n(i,r){return{range:i,text:r}}e.create=n})($e||($e={}));var ze;(function(e){function n(i,r){return{triggerKind:i,selectedCompletionInfo:r}}e.create=n})(ze||(ze={}));var Be;(function(e){function n(i){const r=i;return o.objectLiteral(r)&&O.is(r.uri)&&o.string(r.name)}e.is=n})(Be||(Be={}));var qe;(function(e){function n(a,u,s,f){return new nt(a,u,s,f)}e.create=n;function i(a){let u=a;return!!(o.defined(u)&&o.string(u.uri)&&(o.undefined(u.languageId)||o.string(u.languageId))&&o.uinteger(u.lineCount)&&o.func(u.getText)&&o.func(u.positionAt)&&o.func(u.offsetAt))}e.is=i;function r(a,u){let s=a.getText(),f=t(u,(d,g)=>{let b=d.range.start.line-g.range.start.line;return b===0?d.range.start.character-g.range.start.character:b}),l=s.length;for(let d=f.length-1;d>=0;d--){let g=f[d],b=a.offsetAt(g.range.start),c=a.offsetAt(g.range.end);if(c<=l)s=s.substring(0,b)+g.newText+s.substring(c,s.length);else throw new Error("Overlapping edit");l=b}return s}e.applyEdits=r;function t(a,u){if(a.length<=1)return a;const s=a.length/2|0,f=a.slice(0,s),l=a.slice(s);t(f,u),t(l,u);let d=0,g=0,b=0;for(;d<f.length&&g<l.length;)u(f[d],l[g])<=0?a[b++]=f[d++]:a[b++]=l[g++];for(;d<f.length;)a[b++]=f[d++];for(;g<l.length;)a[b++]=l[g++];return a}})(qe||(qe={}));class nt{constructor(n,i,r,t){this._uri=n,this._languageId=i,this._version=r,this._content=t,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(n){if(n){let i=this.offsetAt(n.start),r=this.offsetAt(n.end);return this._content.substring(i,r)}return this._content}update(n,i){this._content=n.text,this._version=i,this._lineOffsets=void 0}getLineOffsets(){if(this._lineOffsets===void 0){let n=[],i=this._content,r=!0;for(let t=0;t<i.length;t++){r&&(n.push(t),r=!1);let a=i.charAt(t);r=a==="\r"||a===`
1
+ import{R as Ge,l as x,g as w,U as Je,M as R}from"./CiB1yTSc.js";var T;(function(e){function n(i){return typeof i=="string"}e.is=n})(T||(T={}));var O;(function(e){function n(i){return typeof i=="string"}e.is=n})(O||(O={}));var K;(function(e){e.MIN_VALUE=-2147483648,e.MAX_VALUE=2147483647;function n(i){return typeof i=="number"&&e.MIN_VALUE<=i&&i<=e.MAX_VALUE}e.is=n})(K||(K={}));var j;(function(e){e.MIN_VALUE=0,e.MAX_VALUE=2147483647;function n(i){return typeof i=="number"&&e.MIN_VALUE<=i&&i<=e.MAX_VALUE}e.is=n})(j||(j={}));var _;(function(e){function n(r,t){return r===Number.MAX_VALUE&&(r=j.MAX_VALUE),t===Number.MAX_VALUE&&(t=j.MAX_VALUE),{line:r,character:t}}e.create=n;function i(r){let t=r;return o.objectLiteral(t)&&o.uinteger(t.line)&&o.uinteger(t.character)}e.is=i})(_||(_={}));var h;(function(e){function n(r,t,a,u){if(o.uinteger(r)&&o.uinteger(t)&&o.uinteger(a)&&o.uinteger(u))return{start:_.create(r,t),end:_.create(a,u)};if(_.is(r)&&_.is(t))return{start:r,end:t};throw new Error(`Range#create called with invalid arguments[${r}, ${t}, ${a}, ${u}]`)}e.create=n;function i(r){let t=r;return o.objectLiteral(t)&&_.is(t.start)&&_.is(t.end)}e.is=i})(h||(h={}));var N;(function(e){function n(r,t){return{uri:r,range:t}}e.create=n;function i(r){let t=r;return o.objectLiteral(t)&&h.is(t.range)&&(o.string(t.uri)||o.undefined(t.uri))}e.is=i})(N||(N={}));var ee;(function(e){function n(r,t,a,u){return{targetUri:r,targetRange:t,targetSelectionRange:a,originSelectionRange:u}}e.create=n;function i(r){let t=r;return o.objectLiteral(t)&&h.is(t.targetRange)&&o.string(t.targetUri)&&h.is(t.targetSelectionRange)&&(h.is(t.originSelectionRange)||o.undefined(t.originSelectionRange))}e.is=i})(ee||(ee={}));var S;(function(e){function n(r,t,a,u){return{red:r,green:t,blue:a,alpha:u}}e.create=n;function i(r){const t=r;return o.objectLiteral(t)&&o.numberRange(t.red,0,1)&&o.numberRange(t.green,0,1)&&o.numberRange(t.blue,0,1)&&o.numberRange(t.alpha,0,1)}e.is=i})(S||(S={}));var te;(function(e){function n(r,t){return{range:r,color:t}}e.create=n;function i(r){const t=r;return o.objectLiteral(t)&&h.is(t.range)&&S.is(t.color)}e.is=i})(te||(te={}));var ne;(function(e){function n(r,t,a){return{label:r,textEdit:t,additionalTextEdits:a}}e.create=n;function i(r){const t=r;return o.objectLiteral(t)&&o.string(t.label)&&(o.undefined(t.textEdit)||L.is(t))&&(o.undefined(t.additionalTextEdits)||o.typedArray(t.additionalTextEdits,L.is))}e.is=i})(ne||(ne={}));var M;(function(e){e.Comment="comment",e.Imports="imports",e.Region="region"})(M||(M={}));var re;(function(e){function n(r,t,a,u,s,f){const l={startLine:r,endLine:t};return o.defined(a)&&(l.startCharacter=a),o.defined(u)&&(l.endCharacter=u),o.defined(s)&&(l.kind=s),o.defined(f)&&(l.collapsedText=f),l}e.create=n;function i(r){const t=r;return o.objectLiteral(t)&&o.uinteger(t.startLine)&&o.uinteger(t.startLine)&&(o.undefined(t.startCharacter)||o.uinteger(t.startCharacter))&&(o.undefined(t.endCharacter)||o.uinteger(t.endCharacter))&&(o.undefined(t.kind)||o.string(t.kind))}e.is=i})(re||(re={}));var H;(function(e){function n(r,t){return{location:r,message:t}}e.create=n;function i(r){let t=r;return o.defined(t)&&N.is(t.location)&&o.string(t.message)}e.is=i})(H||(H={}));var A;(function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4})(A||(A={}));var ie;(function(e){e.Unnecessary=1,e.Deprecated=2})(ie||(ie={}));var ae;(function(e){function n(i){const r=i;return o.objectLiteral(r)&&o.string(r.href)}e.is=n})(ae||(ae={}));var P;(function(e){function n(r,t,a,u,s,f){let l={range:r,message:t};return o.defined(a)&&(l.severity=a),o.defined(u)&&(l.code=u),o.defined(s)&&(l.source=s),o.defined(f)&&(l.relatedInformation=f),l}e.create=n;function i(r){var t;let a=r;return o.defined(a)&&h.is(a.range)&&o.string(a.message)&&(o.number(a.severity)||o.undefined(a.severity))&&(o.integer(a.code)||o.string(a.code)||o.undefined(a.code))&&(o.undefined(a.codeDescription)||o.string((t=a.codeDescription)===null||t===void 0?void 0:t.href))&&(o.string(a.source)||o.undefined(a.source))&&(o.undefined(a.relatedInformation)||o.typedArray(a.relatedInformation,H.is))}e.is=i})(P||(P={}));var E;(function(e){function n(r,t,...a){let u={title:r,command:t};return o.defined(a)&&a.length>0&&(u.arguments=a),u}e.create=n;function i(r){let t=r;return o.defined(t)&&o.string(t.title)&&o.string(t.command)}e.is=i})(E||(E={}));var L;(function(e){function n(a,u){return{range:a,newText:u}}e.replace=n;function i(a,u){return{range:{start:a,end:a},newText:u}}e.insert=i;function r(a){return{range:a,newText:""}}e.del=r;function t(a){const u=a;return o.objectLiteral(u)&&o.string(u.newText)&&h.is(u.range)}e.is=t})(L||(L={}));var W;(function(e){function n(r,t,a){const u={label:r};return t!==void 0&&(u.needsConfirmation=t),a!==void 0&&(u.description=a),u}e.create=n;function i(r){const t=r;return o.objectLiteral(t)&&o.string(t.label)&&(o.boolean(t.needsConfirmation)||t.needsConfirmation===void 0)&&(o.string(t.description)||t.description===void 0)}e.is=i})(W||(W={}));var I;(function(e){function n(i){const r=i;return o.string(r)}e.is=n})(I||(I={}));var oe;(function(e){function n(a,u,s){return{range:a,newText:u,annotationId:s}}e.replace=n;function i(a,u,s){return{range:{start:a,end:a},newText:u,annotationId:s}}e.insert=i;function r(a,u){return{range:a,newText:"",annotationId:u}}e.del=r;function t(a){const u=a;return L.is(u)&&(W.is(u.annotationId)||I.is(u.annotationId))}e.is=t})(oe||(oe={}));var X;(function(e){function n(r,t){return{textDocument:r,edits:t}}e.create=n;function i(r){let t=r;return o.defined(t)&&Q.is(t.textDocument)&&Array.isArray(t.edits)}e.is=i})(X||(X={}));var $;(function(e){function n(r,t,a){let u={kind:"create",uri:r};return t!==void 0&&(t.overwrite!==void 0||t.ignoreIfExists!==void 0)&&(u.options=t),a!==void 0&&(u.annotationId=a),u}e.create=n;function i(r){let t=r;return t&&t.kind==="create"&&o.string(t.uri)&&(t.options===void 0||(t.options.overwrite===void 0||o.boolean(t.options.overwrite))&&(t.options.ignoreIfExists===void 0||o.boolean(t.options.ignoreIfExists)))&&(t.annotationId===void 0||I.is(t.annotationId))}e.is=i})($||($={}));var z;(function(e){function n(r,t,a,u){let s={kind:"rename",oldUri:r,newUri:t};return a!==void 0&&(a.overwrite!==void 0||a.ignoreIfExists!==void 0)&&(s.options=a),u!==void 0&&(s.annotationId=u),s}e.create=n;function i(r){let t=r;return t&&t.kind==="rename"&&o.string(t.oldUri)&&o.string(t.newUri)&&(t.options===void 0||(t.options.overwrite===void 0||o.boolean(t.options.overwrite))&&(t.options.ignoreIfExists===void 0||o.boolean(t.options.ignoreIfExists)))&&(t.annotationId===void 0||I.is(t.annotationId))}e.is=i})(z||(z={}));var B;(function(e){function n(r,t,a){let u={kind:"delete",uri:r};return t!==void 0&&(t.recursive!==void 0||t.ignoreIfNotExists!==void 0)&&(u.options=t),a!==void 0&&(u.annotationId=a),u}e.create=n;function i(r){let t=r;return t&&t.kind==="delete"&&o.string(t.uri)&&(t.options===void 0||(t.options.recursive===void 0||o.boolean(t.options.recursive))&&(t.options.ignoreIfNotExists===void 0||o.boolean(t.options.ignoreIfNotExists)))&&(t.annotationId===void 0||I.is(t.annotationId))}e.is=i})(B||(B={}));var q;(function(e){function n(i){let r=i;return r&&(r.changes!==void 0||r.documentChanges!==void 0)&&(r.documentChanges===void 0||r.documentChanges.every(t=>o.string(t.kind)?$.is(t)||z.is(t)||B.is(t):X.is(t)))}e.is=n})(q||(q={}));var ue;(function(e){function n(r){return{uri:r}}e.create=n;function i(r){let t=r;return o.defined(t)&&o.string(t.uri)}e.is=i})(ue||(ue={}));var se;(function(e){function n(r,t){return{uri:r,version:t}}e.create=n;function i(r){let t=r;return o.defined(t)&&o.string(t.uri)&&o.integer(t.version)}e.is=i})(se||(se={}));var Q;(function(e){function n(r,t){return{uri:r,version:t}}e.create=n;function i(r){let t=r;return o.defined(t)&&o.string(t.uri)&&(t.version===null||o.integer(t.version))}e.is=i})(Q||(Q={}));var ce;(function(e){function n(r,t,a,u){return{uri:r,languageId:t,version:a,text:u}}e.create=n;function i(r){let t=r;return o.defined(t)&&o.string(t.uri)&&o.string(t.languageId)&&o.integer(t.version)&&o.string(t.text)}e.is=i})(ce||(ce={}));var G;(function(e){e.PlainText="plaintext",e.Markdown="markdown";function n(i){const r=i;return r===e.PlainText||r===e.Markdown}e.is=n})(G||(G={}));var F;(function(e){function n(i){const r=i;return o.objectLiteral(i)&&G.is(r.kind)&&o.string(r.value)}e.is=n})(F||(F={}));var p;(function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25})(p||(p={}));var J;(function(e){e.PlainText=1,e.Snippet=2})(J||(J={}));var de;(function(e){e.Deprecated=1})(de||(de={}));var fe;(function(e){function n(r,t,a){return{newText:r,insert:t,replace:a}}e.create=n;function i(r){const t=r;return t&&o.string(t.newText)&&h.is(t.insert)&&h.is(t.replace)}e.is=i})(fe||(fe={}));var le;(function(e){e.asIs=1,e.adjustIndentation=2})(le||(le={}));var ge;(function(e){function n(i){const r=i;return r&&(o.string(r.detail)||r.detail===void 0)&&(o.string(r.description)||r.description===void 0)}e.is=n})(ge||(ge={}));var he;(function(e){function n(i){return{label:i}}e.create=n})(he||(he={}));var pe;(function(e){function n(i,r){return{items:i||[],isIncomplete:!!r}}e.create=n})(pe||(pe={}));var y;(function(e){function n(r){return r.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}e.fromPlainText=n;function i(r){const t=r;return o.string(t)||o.objectLiteral(t)&&o.string(t.language)&&o.string(t.value)}e.is=i})(y||(y={}));var me;(function(e){function n(i){let r=i;return!!r&&o.objectLiteral(r)&&(F.is(r.contents)||y.is(r.contents)||o.typedArray(r.contents,y.is))&&(i.range===void 0||h.is(i.range))}e.is=n})(me||(me={}));var ve;(function(e){function n(i,r){return r?{label:i,documentation:r}:{label:i}}e.create=n})(ve||(ve={}));var be;(function(e){function n(i,r,...t){let a={label:i};return o.defined(r)&&(a.documentation=r),o.defined(t)?a.parameters=t:a.parameters=[],a}e.create=n})(be||(be={}));var D;(function(e){e.Text=1,e.Read=2,e.Write=3})(D||(D={}));var _e;(function(e){function n(i,r){let t={range:i};return o.number(r)&&(t.kind=r),t}e.create=n})(_e||(_e={}));var m;(function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26})(m||(m={}));var xe;(function(e){e.Deprecated=1})(xe||(xe={}));var we;(function(e){function n(i,r,t,a,u){let s={name:i,kind:r,location:{uri:a,range:t}};return u&&(s.containerName=u),s}e.create=n})(we||(we={}));var ke;(function(e){function n(i,r,t,a){return a!==void 0?{name:i,kind:r,location:{uri:t,range:a}}:{name:i,kind:r,location:{uri:t}}}e.create=n})(ke||(ke={}));var Ae;(function(e){function n(r,t,a,u,s,f){let l={name:r,detail:t,kind:a,range:u,selectionRange:s};return f!==void 0&&(l.children=f),l}e.create=n;function i(r){let t=r;return t&&o.string(t.name)&&o.number(t.kind)&&h.is(t.range)&&h.is(t.selectionRange)&&(t.detail===void 0||o.string(t.detail))&&(t.deprecated===void 0||o.boolean(t.deprecated))&&(t.children===void 0||Array.isArray(t.children))&&(t.tags===void 0||Array.isArray(t.tags))}e.is=i})(Ae||(Ae={}));var Ee;(function(e){e.Empty="",e.QuickFix="quickfix",e.Refactor="refactor",e.RefactorExtract="refactor.extract",e.RefactorInline="refactor.inline",e.RefactorRewrite="refactor.rewrite",e.Source="source",e.SourceOrganizeImports="source.organizeImports",e.SourceFixAll="source.fixAll"})(Ee||(Ee={}));var V;(function(e){e.Invoked=1,e.Automatic=2})(V||(V={}));var Le;(function(e){function n(r,t,a){let u={diagnostics:r};return t!=null&&(u.only=t),a!=null&&(u.triggerKind=a),u}e.create=n;function i(r){let t=r;return o.defined(t)&&o.typedArray(t.diagnostics,P.is)&&(t.only===void 0||o.typedArray(t.only,o.string))&&(t.triggerKind===void 0||t.triggerKind===V.Invoked||t.triggerKind===V.Automatic)}e.is=i})(Le||(Le={}));var Ie;(function(e){function n(r,t,a){let u={title:r},s=!0;return typeof t=="string"?(s=!1,u.kind=t):E.is(t)?u.command=t:u.edit=t,s&&a!==void 0&&(u.kind=a),u}e.create=n;function i(r){let t=r;return t&&o.string(t.title)&&(t.diagnostics===void 0||o.typedArray(t.diagnostics,P.is))&&(t.kind===void 0||o.string(t.kind))&&(t.edit!==void 0||t.command!==void 0)&&(t.command===void 0||E.is(t.command))&&(t.isPreferred===void 0||o.boolean(t.isPreferred))&&(t.edit===void 0||q.is(t.edit))}e.is=i})(Ie||(Ie={}));var Re;(function(e){function n(r,t){let a={range:r};return o.defined(t)&&(a.data=t),a}e.create=n;function i(r){let t=r;return o.defined(t)&&h.is(t.range)&&(o.undefined(t.command)||E.is(t.command))}e.is=i})(Re||(Re={}));var Me;(function(e){function n(r,t){return{tabSize:r,insertSpaces:t}}e.create=n;function i(r){let t=r;return o.defined(t)&&o.uinteger(t.tabSize)&&o.boolean(t.insertSpaces)}e.is=i})(Me||(Me={}));var De;(function(e){function n(r,t,a){return{range:r,target:t,data:a}}e.create=n;function i(r){let t=r;return o.defined(t)&&h.is(t.range)&&(o.undefined(t.target)||o.string(t.target))}e.is=i})(De||(De={}));var Fe;(function(e){function n(r,t){return{range:r,parent:t}}e.create=n;function i(r){let t=r;return o.objectLiteral(t)&&h.is(t.range)&&(t.parent===void 0||e.is(t.parent))}e.is=i})(Fe||(Fe={}));var Ce;(function(e){e.namespace="namespace",e.type="type",e.class="class",e.enum="enum",e.interface="interface",e.struct="struct",e.typeParameter="typeParameter",e.parameter="parameter",e.variable="variable",e.property="property",e.enumMember="enumMember",e.event="event",e.function="function",e.method="method",e.macro="macro",e.keyword="keyword",e.modifier="modifier",e.comment="comment",e.string="string",e.number="number",e.regexp="regexp",e.operator="operator",e.decorator="decorator"})(Ce||(Ce={}));var je;(function(e){e.declaration="declaration",e.definition="definition",e.readonly="readonly",e.static="static",e.deprecated="deprecated",e.abstract="abstract",e.async="async",e.modification="modification",e.documentation="documentation",e.defaultLibrary="defaultLibrary"})(je||(je={}));var Ne;(function(e){function n(i){const r=i;return o.objectLiteral(r)&&(r.resultId===void 0||typeof r.resultId=="string")&&Array.isArray(r.data)&&(r.data.length===0||typeof r.data[0]=="number")}e.is=n})(Ne||(Ne={}));var Pe;(function(e){function n(r,t){return{range:r,text:t}}e.create=n;function i(r){const t=r;return t!=null&&h.is(t.range)&&o.string(t.text)}e.is=i})(Pe||(Pe={}));var ye;(function(e){function n(r,t,a){return{range:r,variableName:t,caseSensitiveLookup:a}}e.create=n;function i(r){const t=r;return t!=null&&h.is(t.range)&&o.boolean(t.caseSensitiveLookup)&&(o.string(t.variableName)||t.variableName===void 0)}e.is=i})(ye||(ye={}));var Ve;(function(e){function n(r,t){return{range:r,expression:t}}e.create=n;function i(r){const t=r;return t!=null&&h.is(t.range)&&(o.string(t.expression)||t.expression===void 0)}e.is=i})(Ve||(Ve={}));var Ue;(function(e){function n(r,t){return{frameId:r,stoppedLocation:t}}e.create=n;function i(r){const t=r;return o.defined(t)&&h.is(r.stoppedLocation)}e.is=i})(Ue||(Ue={}));var Y;(function(e){e.Type=1,e.Parameter=2;function n(i){return i===1||i===2}e.is=n})(Y||(Y={}));var Z;(function(e){function n(r){return{value:r}}e.create=n;function i(r){const t=r;return o.objectLiteral(t)&&(t.tooltip===void 0||o.string(t.tooltip)||F.is(t.tooltip))&&(t.location===void 0||N.is(t.location))&&(t.command===void 0||E.is(t.command))}e.is=i})(Z||(Z={}));var Oe;(function(e){function n(r,t,a){const u={position:r,label:t};return a!==void 0&&(u.kind=a),u}e.create=n;function i(r){const t=r;return o.objectLiteral(t)&&_.is(t.position)&&(o.string(t.label)||o.typedArray(t.label,Z.is))&&(t.kind===void 0||Y.is(t.kind))&&t.textEdits===void 0||o.typedArray(t.textEdits,L.is)&&(t.tooltip===void 0||o.string(t.tooltip)||F.is(t.tooltip))&&(t.paddingLeft===void 0||o.boolean(t.paddingLeft))&&(t.paddingRight===void 0||o.boolean(t.paddingRight))}e.is=i})(Oe||(Oe={}));var Se;(function(e){function n(i){return{kind:"snippet",value:i}}e.createSnippet=n})(Se||(Se={}));var He;(function(e){function n(i,r,t,a){return{insertText:i,filterText:r,range:t,command:a}}e.create=n})(He||(He={}));var We;(function(e){function n(i){return{items:i}}e.create=n})(We||(We={}));var Xe;(function(e){e.Invoked=0,e.Automatic=1})(Xe||(Xe={}));var $e;(function(e){function n(i,r){return{range:i,text:r}}e.create=n})($e||($e={}));var ze;(function(e){function n(i,r){return{triggerKind:i,selectedCompletionInfo:r}}e.create=n})(ze||(ze={}));var Be;(function(e){function n(i){const r=i;return o.objectLiteral(r)&&O.is(r.uri)&&o.string(r.name)}e.is=n})(Be||(Be={}));var qe;(function(e){function n(a,u,s,f){return new nt(a,u,s,f)}e.create=n;function i(a){let u=a;return!!(o.defined(u)&&o.string(u.uri)&&(o.undefined(u.languageId)||o.string(u.languageId))&&o.uinteger(u.lineCount)&&o.func(u.getText)&&o.func(u.positionAt)&&o.func(u.offsetAt))}e.is=i;function r(a,u){let s=a.getText(),f=t(u,(d,g)=>{let b=d.range.start.line-g.range.start.line;return b===0?d.range.start.character-g.range.start.character:b}),l=s.length;for(let d=f.length-1;d>=0;d--){let g=f[d],b=a.offsetAt(g.range.start),c=a.offsetAt(g.range.end);if(c<=l)s=s.substring(0,b)+g.newText+s.substring(c,s.length);else throw new Error("Overlapping edit");l=b}return s}e.applyEdits=r;function t(a,u){if(a.length<=1)return a;const s=a.length/2|0,f=a.slice(0,s),l=a.slice(s);t(f,u),t(l,u);let d=0,g=0,b=0;for(;d<f.length&&g<l.length;)u(f[d],l[g])<=0?a[b++]=f[d++]:a[b++]=l[g++];for(;d<f.length;)a[b++]=f[d++];for(;g<l.length;)a[b++]=l[g++];return a}})(qe||(qe={}));class nt{constructor(n,i,r,t){this._uri=n,this._languageId=i,this._version=r,this._content=t,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(n){if(n){let i=this.offsetAt(n.start),r=this.offsetAt(n.end);return this._content.substring(i,r)}return this._content}update(n,i){this._content=n.text,this._version=i,this._lineOffsets=void 0}getLineOffsets(){if(this._lineOffsets===void 0){let n=[],i=this._content,r=!0;for(let t=0;t<i.length;t++){r&&(n.push(t),r=!1);let a=i.charAt(t);r=a==="\r"||a===`
2
2
  `,a==="\r"&&t+1<i.length&&i.charAt(t+1)===`
3
3
  `&&t++}r&&i.length>0&&n.push(i.length),this._lineOffsets=n}return this._lineOffsets}positionAt(n){n=Math.max(Math.min(n,this._content.length),0);let i=this.getLineOffsets(),r=0,t=i.length;if(t===0)return _.create(0,n);for(;r<t;){let u=Math.floor((r+t)/2);i[u]>n?t=u:r=u+1}let a=r-1;return _.create(a,n-i[a])}offsetAt(n){let i=this.getLineOffsets();if(n.line>=i.length)return this._content.length;if(n.line<0)return 0;let r=i[n.line],t=n.line+1<i.length?i[n.line+1]:this._content.length;return Math.max(Math.min(r+n.character,t),r)}get lineCount(){return this.getLineOffsets().length}}var o;(function(e){const n=Object.prototype.toString;function i(c){return typeof c<"u"}e.defined=i;function r(c){return typeof c>"u"}e.undefined=r;function t(c){return c===!0||c===!1}e.boolean=t;function a(c){return n.call(c)==="[object String]"}e.string=a;function u(c){return n.call(c)==="[object Number]"}e.number=u;function s(c,U,tt){return n.call(c)==="[object Number]"&&U<=c&&c<=tt}e.numberRange=s;function f(c){return n.call(c)==="[object Number]"&&-2147483648<=c&&c<=2147483647}e.integer=f;function l(c){return n.call(c)==="[object Number]"&&0<=c&&c<=2147483647}e.uinteger=l;function d(c){return n.call(c)==="[object Function]"}e.func=d;function g(c){return c!==null&&typeof c=="object"}e.objectLiteral=g;function b(c,U){return Array.isArray(c)&&c.every(U)}e.typedArray=b})(o||(o={}));class pt{constructor(n,i,r){this._languageId=n,this._worker=i,this._disposables=[],this._listener=Object.create(null);const t=u=>{let s=u.getLanguageId();if(s!==this._languageId)return;let f;this._listener[u.uri.toString()]=u.onDidChangeContent(()=>{window.clearTimeout(f),f=window.setTimeout(()=>this._doValidate(u.uri,s),500)}),this._doValidate(u.uri,s)},a=u=>{w.setModelMarkers(u,this._languageId,[]);let s=u.uri.toString(),f=this._listener[s];f&&(f.dispose(),delete this._listener[s])};this._disposables.push(w.onDidCreateModel(t)),this._disposables.push(w.onWillDisposeModel(a)),this._disposables.push(w.onDidChangeModelLanguage(u=>{a(u.model),t(u.model)})),this._disposables.push(r(u=>{w.getModels().forEach(s=>{s.getLanguageId()===this._languageId&&(a(s),t(s))})})),this._disposables.push({dispose:()=>{w.getModels().forEach(a);for(let u in this._listener)this._listener[u].dispose()}}),w.getModels().forEach(t)}dispose(){this._disposables.forEach(n=>n&&n.dispose()),this._disposables.length=0}_doValidate(n,i){this._worker(n).then(r=>r.doValidation(n.toString())).then(r=>{const t=r.map(u=>it(n,u));let a=w.getModel(n);a&&a.getLanguageId()===i&&w.setModelMarkers(a,i,t)}).then(void 0,r=>{console.error(r)})}}function rt(e){switch(e){case A.Error:return R.Error;case A.Warning:return R.Warning;case A.Information:return R.Info;case A.Hint:return R.Hint;default:return R.Info}}function it(e,n){let i=typeof n.code=="number"?String(n.code):n.code;return{severity:rt(n.severity),startLineNumber:n.range.start.line+1,startColumn:n.range.start.character+1,endLineNumber:n.range.end.line+1,endColumn:n.range.end.character+1,message:n.message,code:i,source:n.source}}class mt{constructor(n,i){this._worker=n,this._triggerCharacters=i}get triggerCharacters(){return this._triggerCharacters}provideCompletionItems(n,i,r,t){const a=n.uri;return this._worker(a).then(u=>u.doComplete(a.toString(),k(i))).then(u=>{if(!u)return;const s=n.getWordUntilPosition(i),f=new Ge(i.lineNumber,s.startColumn,i.lineNumber,s.endColumn),l=u.items.map(d=>{const g={label:d.label,insertText:d.insertText||d.label,sortText:d.sortText,filterText:d.filterText,documentation:d.documentation,detail:d.detail,command:ut(d.command),range:f,kind:ot(d.kind)};return d.textEdit&&(at(d.textEdit)?g.range={insert:v(d.textEdit.insert),replace:v(d.textEdit.replace)}:g.range=v(d.textEdit.range),g.insertText=d.textEdit.newText),d.additionalTextEdits&&(g.additionalTextEdits=d.additionalTextEdits.map(C)),d.insertTextFormat===J.Snippet&&(g.insertTextRules=x.CompletionItemInsertTextRule.InsertAsSnippet),g});return{isIncomplete:u.isIncomplete,suggestions:l}})}}function k(e){if(e)return{character:e.column-1,line:e.lineNumber-1}}function Ye(e){if(e)return{start:{line:e.startLineNumber-1,character:e.startColumn-1},end:{line:e.endLineNumber-1,character:e.endColumn-1}}}function v(e){if(e)return new Ge(e.start.line+1,e.start.character+1,e.end.line+1,e.end.character+1)}function at(e){return typeof e.insert<"u"&&typeof e.replace<"u"}function ot(e){const n=x.CompletionItemKind;switch(e){case p.Text:return n.Text;case p.Method:return n.Method;case p.Function:return n.Function;case p.Constructor:return n.Constructor;case p.Field:return n.Field;case p.Variable:return n.Variable;case p.Class:return n.Class;case p.Interface:return n.Interface;case p.Module:return n.Module;case p.Property:return n.Property;case p.Unit:return n.Unit;case p.Value:return n.Value;case p.Enum:return n.Enum;case p.Keyword:return n.Keyword;case p.Snippet:return n.Snippet;case p.Color:return n.Color;case p.File:return n.File;case p.Reference:return n.Reference}return n.Property}function C(e){if(e)return{range:v(e.range),text:e.newText}}function ut(e){return e&&e.command==="editor.action.triggerSuggest"?{id:e.command,title:e.title,arguments:e.arguments}:void 0}class vt{constructor(n){this._worker=n}provideHover(n,i,r){let t=n.uri;return this._worker(t).then(a=>a.doHover(t.toString(),k(i))).then(a=>{if(a)return{range:v(a.range),contents:ct(a.contents)}})}}function st(e){return e&&typeof e=="object"&&typeof e.kind=="string"}function Qe(e){return typeof e=="string"?{value:e}:st(e)?e.kind==="plaintext"?{value:e.value.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}:{value:e.value}:{value:"```"+e.language+`
4
4
  `+e.value+"\n```\n"}}function ct(e){if(e)return Array.isArray(e)?e.map(Qe):[Qe(e)]}class bt{constructor(n){this._worker=n}provideDocumentHighlights(n,i,r){const t=n.uri;return this._worker(t).then(a=>a.findDocumentHighlights(t.toString(),k(i))).then(a=>{if(a)return a.map(u=>({range:v(u.range),kind:dt(u.kind)}))})}}function dt(e){switch(e){case D.Read:return x.DocumentHighlightKind.Read;case D.Write:return x.DocumentHighlightKind.Write;case D.Text:return x.DocumentHighlightKind.Text}return x.DocumentHighlightKind.Text}class _t{constructor(n){this._worker=n}provideDefinition(n,i,r){const t=n.uri;return this._worker(t).then(a=>a.findDefinition(t.toString(),k(i))).then(a=>{if(a)return[Ze(a)]})}}function Ze(e){return{uri:Je.parse(e.uri),range:v(e.range)}}class xt{constructor(n){this._worker=n}provideReferences(n,i,r,t){const a=n.uri;return this._worker(a).then(u=>u.findReferences(a.toString(),k(i))).then(u=>{if(u)return u.map(Ze)})}}class wt{constructor(n){this._worker=n}provideRenameEdits(n,i,r,t){const a=n.uri;return this._worker(a).then(u=>u.doRename(a.toString(),k(i),r)).then(u=>ft(u))}}function ft(e){if(!e||!e.changes)return;let n=[];for(let i in e.changes){const r=Je.parse(i);for(let t of e.changes[i])n.push({resource:r,versionId:void 0,textEdit:{range:v(t.range),text:t.newText}})}return{edits:n}}class kt{constructor(n){this._worker=n}provideDocumentSymbols(n,i){const r=n.uri;return this._worker(r).then(t=>t.findDocumentSymbols(r.toString())).then(t=>{if(t)return t.map(a=>lt(a)?Te(a):{name:a.name,detail:"",containerName:a.containerName,kind:Ke(a.kind),range:v(a.location.range),selectionRange:v(a.location.range),tags:[]})})}}function lt(e){return"children"in e}function Te(e){return{name:e.name,detail:e.detail??"",kind:Ke(e.kind),range:v(e.range),selectionRange:v(e.selectionRange),tags:e.tags??[],children:(e.children??[]).map(n=>Te(n))}}function Ke(e){let n=x.SymbolKind;switch(e){case m.File:return n.File;case m.Module:return n.Module;case m.Namespace:return n.Namespace;case m.Package:return n.Package;case m.Class:return n.Class;case m.Method:return n.Method;case m.Property:return n.Property;case m.Field:return n.Field;case m.Constructor:return n.Constructor;case m.Enum:return n.Enum;case m.Interface:return n.Interface;case m.Function:return n.Function;case m.Variable:return n.Variable;case m.Constant:return n.Constant;case m.String:return n.String;case m.Number:return n.Number;case m.Boolean:return n.Boolean;case m.Array:return n.Array}return n.Function}class At{constructor(n){this._worker=n}provideLinks(n,i){const r=n.uri;return this._worker(r).then(t=>t.findDocumentLinks(r.toString())).then(t=>{if(t)return{links:t.map(a=>({range:v(a.range),url:a.target}))}})}}class Et{constructor(n){this._worker=n}provideDocumentFormattingEdits(n,i,r){const t=n.uri;return this._worker(t).then(a=>a.format(t.toString(),null,et(i)).then(u=>{if(!(!u||u.length===0))return u.map(C)}))}}class Lt{constructor(n){this._worker=n,this.canFormatMultipleRanges=!1}provideDocumentRangeFormattingEdits(n,i,r,t){const a=n.uri;return this._worker(a).then(u=>u.format(a.toString(),Ye(i),et(r)).then(s=>{if(!(!s||s.length===0))return s.map(C)}))}}function et(e){return{tabSize:e.tabSize,insertSpaces:e.insertSpaces}}class It{constructor(n){this._worker=n}provideDocumentColors(n,i){const r=n.uri;return this._worker(r).then(t=>t.findDocumentColors(r.toString())).then(t=>{if(t)return t.map(a=>({color:a.color,range:v(a.range)}))})}provideColorPresentations(n,i,r){const t=n.uri;return this._worker(t).then(a=>a.getColorPresentations(t.toString(),i.color,Ye(i.range))).then(a=>{if(a)return a.map(u=>{let s={label:u.label};return u.textEdit&&(s.textEdit=C(u.textEdit)),u.additionalTextEdits&&(s.additionalTextEdits=u.additionalTextEdits.map(C)),s})})}}class Rt{constructor(n){this._worker=n}provideFoldingRanges(n,i,r){const t=n.uri;return this._worker(t).then(a=>a.getFoldingRanges(t.toString(),i)).then(a=>{if(a)return a.map(u=>{const s={start:u.startLine+1,end:u.endLine+1};return typeof u.kind<"u"&&(s.kind=gt(u.kind)),s})})}}function gt(e){switch(e){case M.Comment:return x.FoldingRangeKind.Comment;case M.Imports:return x.FoldingRangeKind.Imports;case M.Region:return x.FoldingRangeKind.Region}}class Mt{constructor(n){this._worker=n}provideSelectionRanges(n,i,r){const t=n.uri;return this._worker(t).then(a=>a.getSelectionRanges(t.toString(),i.map(k))).then(a=>{if(a)return a.map(u=>{const s=[];for(;u;)s.push({range:v(u.range)}),u=u.parent;return s})})}}export{mt as C,_t as D,Rt as F,vt as H,xt as R,Mt as S,pt as a,It as b,Et as c,bt as d,At as e,Lt as f,kt as g,wt as h,k as i,Ye as j,C as k,v as t};
@@ -1,4 +1,4 @@
1
- import{g as Kt}from"./DkfRsyNq.js";import{a as f,aG as Zt,L as jt,aF as qt,K as Wt,aI as Ht,O as Qt,N as st,ad as Y,p as Xt,k as Jt,P as $t,aC as te,i as ee,_ as se,R as ie,ax as re,aV as ae}from"./D0QGnN9N.js";import{s as ne}from"./Cobn53T5.js";import{g as E,c3 as oe}from"./-EQ6B0ad.js";var Nt=(function(){var s=f(function(F,n,l,d){for(l=l||{},d=F.length;d--;l[F[d]]=n);return l},"o"),a=[6,9,21,23,25,27,34,37,38,39,40,41,43,46,47,51,53,54,55],o=[2,2],c=[1,7],r=[1,9],h=[1,10],y=[1,11],b=[1,12],k=[1,30],v=[1,23],p=[1,24],g=[1,25],I=[1,26],D=[1,27],x=[1,19],N=[1,28],A=[1,29],C=[1,20],L=[1,18],w=[1,21],V=[1,22],Ct=[2,6],u=[6,9,21,23,25,27,33,34,37,38,39,40,41,43,46,47,51,53,54,55],ft=[1,36],bt=[1,37],gt=[1,38],yt=[1,39],_t=[1,40],j=[6,9,12,14,16,19,20,21,23,25,27,33,34,37,38,39,40,41,43,46,47,50,51,53,54,55,69,70,71,72,73],M=[1,46],B=[1,47],q=[1,57],W=[43,51,53,54,55,74,75],H=[1,70],Q=[1,68],G=[1,65],X=[1,69],J=[1,71],it=[6,9,12,16,21,23,25,27,33,34,37,38,39,40,41,43,44,45,46,47,51,52,53,54,55,69,70,71,72,73],rt=[1,78],at=[1,77],nt=[1,76],It=[69,70,71,72,73],At=[1,91],Rt=[6,9,45,50],K=[6,9,12,44,45,50,51,52],ot=[1,101],ct=[1,100],lt=[1,99],$=[18,61],vt=[1,110],Dt=[1,109],Lt=[20,43,51,53,54,55],kt=[18,61,64,66],mt={trace:f(E(function(){},"trace"),"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,statement:8,NEWLINE:9,entityName:10,relSpec:11,COLON:12,role:13,STYLE_SEPARATOR:14,idList:15,BLOCK_START:16,attributes:17,BLOCK_STOP:18,SQS:19,SQE:20,title:21,title_value:22,acc_title:23,acc_title_value:24,acc_descr:25,acc_descr_value:26,acc_descr_multiline_value:27,direction:28,classDefStatement:29,classStatement:30,styleStatement:31,subgraphHeader:32,END:33,SUBGRAPH:34,separator:35,subgraphTitle:36,direction_tb:37,direction_bt:38,direction_rl:39,direction_lr:40,CLASSDEF:41,stylesOpt:42,UNICODE_TEXT:43,STYLE_TEXT:44,COMMA:45,CLASS:46,STYLE:47,style:48,styleComponent:49,SEMI:50,NUM:51,BRKT:52,ENTITY_NAME:53,DECIMAL_NUM:54,ENTITY_ONE:55,attribute:56,attributeType:57,attributeName:58,attributeKeyTypeList:59,attributeComment:60,ATTRIBUTE_WORD:61,"?":62,attributeKeyType:63,",":64,ATTRIBUTE_KEY:65,COMMENT:66,cardinality:67,relType:68,ZERO_OR_ONE:69,ZERO_OR_MORE:70,ONE_OR_MORE:71,ONLY_ONE:72,MD_PARENT:73,NON_IDENTIFYING:74,IDENTIFYING:75,WORD:76,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"NEWLINE",12:"COLON",14:"STYLE_SEPARATOR",16:"BLOCK_START",18:"BLOCK_STOP",19:"SQS",20:"SQE",21:"title",22:"title_value",23:"acc_title",24:"acc_title_value",25:"acc_descr",26:"acc_descr_value",27:"acc_descr_multiline_value",33:"END",34:"SUBGRAPH",37:"direction_tb",38:"direction_bt",39:"direction_rl",40:"direction_lr",41:"CLASSDEF",43:"UNICODE_TEXT",44:"STYLE_TEXT",45:"COMMA",46:"CLASS",47:"STYLE",50:"SEMI",51:"NUM",52:"BRKT",53:"ENTITY_NAME",54:"DECIMAL_NUM",55:"ENTITY_ONE",61:"ATTRIBUTE_WORD",62:"?",64:",",65:"ATTRIBUTE_KEY",66:"COMMENT",69:"ZERO_OR_ONE",70:"ZERO_OR_MORE",71:"ONE_OR_MORE",72:"ONLY_ONE",73:"MD_PARENT",74:"NON_IDENTIFYING",75:"IDENTIFYING",76:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[7,1],[8,5],[8,9],[8,7],[8,7],[8,4],[8,6],[8,3],[8,5],[8,1],[8,3],[8,7],[8,9],[8,6],[8,8],[8,4],[8,6],[8,2],[8,2],[8,2],[8,1],[8,1],[8,1],[8,1],[8,1],[8,3],[32,3],[32,6],[36,1],[36,2],[28,1],[28,1],[28,1],[28,1],[29,4],[15,1],[15,1],[15,3],[15,3],[30,3],[31,4],[42,1],[42,3],[48,1],[48,2],[35,1],[35,1],[35,1],[49,1],[49,1],[49,1],[49,1],[10,1],[10,1],[10,1],[10,1],[10,1],[17,1],[17,2],[56,2],[56,3],[56,3],[56,4],[57,1],[57,2],[58,1],[59,1],[59,3],[63,1],[60,1],[11,3],[67,1],[67,1],[67,1],[67,1],[67,1],[68,1],[68,1],[13,1],[13,1],[13,1]],performAction:f(E(function(n,l,d,i,_,t,et){var e=t.length-1;switch(_){case 1:break;case 2:this.$=[];break;case 3:this.$=t[e-1].concat(t[e]);break;case 4:this.$=t[e];break;case 5:case 6:this.$=[];break;case 7:i.addEntity(t[e-4]),i.addEntity(t[e-2]),i.addRelationship(t[e-4],t[e],t[e-2],t[e-3]),this.$=[t[e-4],t[e-2]];break;case 8:i.addEntity(t[e-8]),i.addEntity(t[e-4]),i.addRelationship(t[e-8],t[e],t[e-4],t[e-5]),i.setClass([t[e-8]],t[e-6]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-8],t[e-4]];break;case 9:i.addEntity(t[e-6]),i.addEntity(t[e-2]),i.addRelationship(t[e-6],t[e],t[e-2],t[e-3]),i.setClass([t[e-6]],t[e-4]),this.$=[t[e-6],t[e-2]];break;case 10:i.addEntity(t[e-6]),i.addEntity(t[e-4]),i.addRelationship(t[e-6],t[e],t[e-4],t[e-5]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-6],t[e-4]];break;case 11:i.addEntity(t[e-3]),i.addAttributes(t[e-3],t[e-1]),this.$=[t[e-3]];break;case 12:i.addEntity(t[e-5]),i.addAttributes(t[e-5],t[e-1]),i.setClass([t[e-5]],t[e-3]),this.$=[t[e-5]];break;case 13:i.addEntity(t[e-2]),this.$=[t[e-2]];break;case 14:i.addEntity(t[e-4]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-4]];break;case 15:i.addEntity(t[e]),this.$=[t[e]];break;case 16:i.addEntity(t[e-2]),i.setClass([t[e-2]],t[e]),this.$=[t[e-2]];break;case 17:i.addEntity(t[e-6],t[e-4]),i.addAttributes(t[e-6],t[e-1]),this.$=[t[e-6]];break;case 18:i.addEntity(t[e-8],t[e-6]),i.addAttributes(t[e-8],t[e-1]),i.setClass([t[e-8]],t[e-3]),this.$=[t[e-8]];break;case 19:i.addEntity(t[e-5],t[e-3]),this.$=[t[e-5]];break;case 20:i.addEntity(t[e-7],t[e-5]),i.setClass([t[e-7]],t[e-2]),this.$=[t[e-7]];break;case 21:i.addEntity(t[e-3],t[e-1]);break;case 22:i.addEntity(t[e-5],t[e-3]),i.setClass([t[e-5]],t[e]);break;case 23:case 24:this.$=t[e].trim(),i.setAccTitle(this.$);break;case 25:case 26:this.$=t[e].trim(),i.setAccDescription(this.$);break;case 27:i.subgraphDepth?this.$=t[e]:(i.setDirection(t[e].value),this.$=[]);break;case 31:i.subgraphDepth=(i.subgraphDepth||1)-1,this.$=i.addSubGraph({text:t[e-2].id},t[e-1],{text:t[e-2].text});break;case 32:i.subgraphDepth=(i.subgraphDepth||0)+1,this.$={id:t[e-1],text:t[e-1]};break;case 33:i.subgraphDepth=(i.subgraphDepth||0)+1,this.$={id:t[e-4],text:t[e-2]};break;case 34:case 59:case 60:case 61:case 62:case 86:this.$=t[e];break;case 35:this.$=t[e-1]+" "+t[e];break;case 36:this.$={stmt:"dir",value:"TB"};break;case 37:this.$={stmt:"dir",value:"BT"};break;case 38:this.$={stmt:"dir",value:"RL"};break;case 39:this.$={stmt:"dir",value:"LR"};break;case 40:this.$=t[e-3],i.addClass(t[e-2],t[e-1]);break;case 41:case 42:case 63:case 72:this.$=[t[e]];break;case 43:case 44:this.$=t[e-2].concat([t[e]]);break;case 45:this.$=t[e-2],i.setClass(t[e-1],t[e]);break;case 46:this.$=t[e-3],i.addCssStyles(t[e-2],t[e-1]);break;case 47:this.$=[t[e]];break;case 48:t[e-2].push(t[e]),this.$=t[e-2];break;case 50:this.$=t[e-1]+t[e];break;case 58:case 84:case 85:this.$=t[e].replace(/"/g,"");break;case 64:t[e].push(t[e-1]),this.$=t[e];break;case 65:this.$={type:t[e-1],name:t[e]};break;case 66:this.$={type:t[e-2],name:t[e-1],keys:t[e]};break;case 67:this.$={type:t[e-2],name:t[e-1],comment:t[e]};break;case 68:this.$={type:t[e-3],name:t[e-2],keys:t[e-1],comment:t[e]};break;case 69:case 71:case 74:this.$=t[e];break;case 70:this.$=t[e-1]+t[e];break;case 73:t[e-2].push(t[e]),this.$=t[e-2];break;case 75:this.$=t[e].replace(/"/g,"");break;case 76:this.$={cardA:t[e],relType:t[e-1],cardB:t[e-2]};break;case 77:this.$=i.Cardinality.ZERO_OR_ONE;break;case 78:this.$=i.Cardinality.ZERO_OR_MORE;break;case 79:this.$=i.Cardinality.ONE_OR_MORE;break;case 80:this.$=i.Cardinality.ONLY_ONE;break;case 81:this.$=i.Cardinality.MD_PARENT;break;case 82:this.$=i.Identification.NON_IDENTIFYING;break;case 83:this.$=i.Identification.IDENTIFYING;break}},"anonymous"),"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},s(a,o,{5:3}),{6:[1,4],7:5,8:6,9:c,10:8,21:r,23:h,25:y,27:b,28:13,29:14,30:15,31:16,32:17,34:k,37:v,38:p,39:g,40:I,41:D,43:x,46:N,47:A,51:C,53:L,54:w,55:V},s(a,Ct,{1:[2,1]}),s(u,[2,3]),s(u,[2,4]),s(u,[2,5]),s(u,[2,15],{11:31,67:35,14:[1,32],16:[1,33],19:[1,34],69:ft,70:bt,71:gt,72:yt,73:_t}),{22:[1,41]},{24:[1,42]},{26:[1,43]},s(u,[2,26]),s(u,[2,27]),s(u,[2,28]),s(u,[2,29]),s(u,[2,30]),s(u,o,{5:44}),s(j,[2,58]),s(j,[2,59]),s(j,[2,60]),s(j,[2,61]),s(j,[2,62]),s(u,[2,36]),s(u,[2,37]),s(u,[2,38]),s(u,[2,39]),{15:45,43:M,44:B},{15:48,43:M,44:B},{15:49,43:M,44:B},{10:50,43:x,51:C,53:L,54:w,55:V},{10:51,43:x,51:C,53:L,54:w,55:V},{15:52,43:M,44:B},{17:53,18:[1,54],56:55,57:56,61:q},{10:58,43:x,51:C,53:L,54:w,55:V},{68:59,74:[1,60],75:[1,61]},s(W,[2,77]),s(W,[2,78]),s(W,[2,79]),s(W,[2,80]),s(W,[2,81]),s(u,[2,23]),s(u,[2,24]),s(u,[2,25]),{6:[1,63],7:5,8:6,9:c,10:8,21:r,23:h,25:y,27:b,28:13,29:14,30:15,31:16,32:17,33:[1,62],34:k,37:v,38:p,39:g,40:I,41:D,43:x,46:N,47:A,51:C,53:L,54:w,55:V},{12:H,42:64,44:Q,45:G,48:66,49:67,51:X,52:J},s(it,[2,41]),s(it,[2,42]),{15:72,43:M,44:B,45:G},{12:H,42:73,44:Q,45:G,48:66,49:67,51:X,52:J},{6:rt,9:at,19:[1,75],35:74,50:nt},{12:[1,79],14:[1,80]},s(u,[2,16],{67:35,11:81,16:[1,82],45:G,69:ft,70:bt,71:gt,72:yt,73:_t}),{18:[1,83]},s(u,[2,13]),{17:84,18:[2,63],56:55,57:56,61:q},{58:85,61:[1,86]},{61:[2,69],62:[1,87]},{20:[1,88]},{67:89,69:ft,70:bt,71:gt,72:yt,73:_t},s(It,[2,82]),s(It,[2,83]),s(u,[2,31]),s(u,Ct),{6:rt,9:at,35:90,45:At,50:nt},{43:[1,92],44:[1,93]},s(Rt,[2,47],{49:94,12:H,44:Q,51:X,52:J}),s(K,[2,49]),s(K,[2,54]),s(K,[2,55]),s(K,[2,56]),s(K,[2,57]),s(u,[2,45],{45:G}),{6:rt,9:at,35:95,45:At,50:nt},s(u,[2,32]),{10:97,36:96,43:x,51:C,53:L,54:w,55:V},s(u,[2,51]),s(u,[2,52]),s(u,[2,53]),{13:98,43:ot,53:ct,76:lt},{15:102,43:M,44:B},{10:103,43:x,51:C,53:L,54:w,55:V},{17:104,18:[1,105],56:55,57:56,61:q},s(u,[2,11]),{18:[2,64]},s($,[2,65],{59:106,60:107,63:108,65:vt,66:Dt}),s([18,61,65,66],[2,71]),{61:[2,70]},s(u,[2,21],{14:[1,112],16:[1,111]}),s([43,51,53,54,55],[2,76]),s(u,[2,40]),{12:H,44:Q,48:113,49:67,51:X,52:J},s(it,[2,43]),s(it,[2,44]),s(K,[2,50]),s(u,[2,46]),{10:115,20:[1,114],43:x,51:C,53:L,54:w,55:V},s(Lt,[2,34]),s(u,[2,7]),s(u,[2,84]),s(u,[2,85]),s(u,[2,86]),{12:[1,116],45:G},{12:[1,118],14:[1,117]},{18:[1,119]},s(u,[2,14]),s($,[2,66],{60:120,64:[1,121],66:Dt}),s($,[2,67]),s(kt,[2,72]),s($,[2,75]),s(kt,[2,74]),{17:122,18:[1,123],56:55,57:56,61:q},{15:124,43:M,44:B},s(Rt,[2,48],{49:94,12:H,44:Q,51:X,52:J}),{6:rt,9:at,35:125,50:nt},s(Lt,[2,35]),{13:126,43:ot,53:ct,76:lt},{15:127,43:M,44:B},{13:128,43:ot,53:ct,76:lt},s(u,[2,12]),s($,[2,68]),{63:129,65:vt},{18:[1,130]},s(u,[2,19]),s(u,[2,22],{16:[1,131],45:G}),s(u,[2,33]),s(u,[2,10]),{12:[1,132],45:G},s(u,[2,9]),s(kt,[2,73]),s(u,[2,17]),{17:133,18:[1,134],56:55,57:56,61:q},{13:135,43:ot,53:ct,76:lt},{18:[1,136]},s(u,[2,20]),s(u,[2,8]),s(u,[2,18])],defaultActions:{84:[2,64],87:[2,70]},parseError:f(E(function(n,l){if(l.recoverable)this.trace(n);else{var d=new Error(n);throw d.hash=l,d}},"parseError"),"parseError"),parse:f(E(function(n){var l=this,d=[0],i=[],_=[null],t=[],et=this.table,e="",ht=0,wt=0,Pt=2,Vt=1,zt=t.slice.call(arguments,1),m=Object.create(this.lexer),P={yy:{}};for(var Et in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Et)&&(P.yy[Et]=this.yy[Et]);m.setInput(n,P.yy),P.yy.lexer=m,P.yy.parser=this,typeof m.yylloc>"u"&&(m.yylloc={});var St=m.yylloc;t.push(St);var Ut=m.options&&m.options.ranges;typeof P.yy.parseError=="function"?this.parseError=P.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Mt(T){d.length=d.length-2*T,_.length=_.length-T,t.length=t.length-T}E(Mt,"popStack"),f(Mt,"popStack");function Tt(){var T;return T=i.pop()||m.lex()||Vt,typeof T!="number"&&(T instanceof Array&&(i=T,T=i.pop()),T=l.symbols_[T]||T),T}E(Tt,"lex"),f(Tt,"lex");for(var S,z,O,Ot,Z={},ut,R,Bt,dt;;){if(z=d[d.length-1],this.defaultActions[z]?O=this.defaultActions[z]:((S===null||typeof S>"u")&&(S=Tt()),O=et[z]&&et[z][S]),typeof O>"u"||!O.length||!O[0]){var xt="";dt=[];for(ut in et[z])this.terminals_[ut]&&ut>Pt&&dt.push("'"+this.terminals_[ut]+"'");m.showPosition?xt="Parse error on line "+(ht+1)+`:
1
+ import{g as Kt}from"./BRsvqYQJ.js";import{a as f,aG as Zt,L as jt,aF as qt,K as Wt,aI as Ht,O as Qt,N as st,ad as Y,p as Xt,k as Jt,P as $t,aC as te,i as ee,_ as se,R as ie,ax as re,aV as ae}from"./_eQjP0_7.js";import{s as ne}from"./BRaDvZhu.js";import{g as E,c3 as oe}from"./CdT170lG.js";var Nt=(function(){var s=f(function(F,n,l,d){for(l=l||{},d=F.length;d--;l[F[d]]=n);return l},"o"),a=[6,9,21,23,25,27,34,37,38,39,40,41,43,46,47,51,53,54,55],o=[2,2],c=[1,7],r=[1,9],h=[1,10],y=[1,11],b=[1,12],k=[1,30],v=[1,23],p=[1,24],g=[1,25],I=[1,26],D=[1,27],x=[1,19],N=[1,28],A=[1,29],C=[1,20],L=[1,18],w=[1,21],V=[1,22],Ct=[2,6],u=[6,9,21,23,25,27,33,34,37,38,39,40,41,43,46,47,51,53,54,55],ft=[1,36],bt=[1,37],gt=[1,38],yt=[1,39],_t=[1,40],j=[6,9,12,14,16,19,20,21,23,25,27,33,34,37,38,39,40,41,43,46,47,50,51,53,54,55,69,70,71,72,73],M=[1,46],B=[1,47],q=[1,57],W=[43,51,53,54,55,74,75],H=[1,70],Q=[1,68],G=[1,65],X=[1,69],J=[1,71],it=[6,9,12,16,21,23,25,27,33,34,37,38,39,40,41,43,44,45,46,47,51,52,53,54,55,69,70,71,72,73],rt=[1,78],at=[1,77],nt=[1,76],It=[69,70,71,72,73],At=[1,91],Rt=[6,9,45,50],K=[6,9,12,44,45,50,51,52],ot=[1,101],ct=[1,100],lt=[1,99],$=[18,61],vt=[1,110],Dt=[1,109],Lt=[20,43,51,53,54,55],kt=[18,61,64,66],mt={trace:f(E(function(){},"trace"),"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,statement:8,NEWLINE:9,entityName:10,relSpec:11,COLON:12,role:13,STYLE_SEPARATOR:14,idList:15,BLOCK_START:16,attributes:17,BLOCK_STOP:18,SQS:19,SQE:20,title:21,title_value:22,acc_title:23,acc_title_value:24,acc_descr:25,acc_descr_value:26,acc_descr_multiline_value:27,direction:28,classDefStatement:29,classStatement:30,styleStatement:31,subgraphHeader:32,END:33,SUBGRAPH:34,separator:35,subgraphTitle:36,direction_tb:37,direction_bt:38,direction_rl:39,direction_lr:40,CLASSDEF:41,stylesOpt:42,UNICODE_TEXT:43,STYLE_TEXT:44,COMMA:45,CLASS:46,STYLE:47,style:48,styleComponent:49,SEMI:50,NUM:51,BRKT:52,ENTITY_NAME:53,DECIMAL_NUM:54,ENTITY_ONE:55,attribute:56,attributeType:57,attributeName:58,attributeKeyTypeList:59,attributeComment:60,ATTRIBUTE_WORD:61,"?":62,attributeKeyType:63,",":64,ATTRIBUTE_KEY:65,COMMENT:66,cardinality:67,relType:68,ZERO_OR_ONE:69,ZERO_OR_MORE:70,ONE_OR_MORE:71,ONLY_ONE:72,MD_PARENT:73,NON_IDENTIFYING:74,IDENTIFYING:75,WORD:76,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"NEWLINE",12:"COLON",14:"STYLE_SEPARATOR",16:"BLOCK_START",18:"BLOCK_STOP",19:"SQS",20:"SQE",21:"title",22:"title_value",23:"acc_title",24:"acc_title_value",25:"acc_descr",26:"acc_descr_value",27:"acc_descr_multiline_value",33:"END",34:"SUBGRAPH",37:"direction_tb",38:"direction_bt",39:"direction_rl",40:"direction_lr",41:"CLASSDEF",43:"UNICODE_TEXT",44:"STYLE_TEXT",45:"COMMA",46:"CLASS",47:"STYLE",50:"SEMI",51:"NUM",52:"BRKT",53:"ENTITY_NAME",54:"DECIMAL_NUM",55:"ENTITY_ONE",61:"ATTRIBUTE_WORD",62:"?",64:",",65:"ATTRIBUTE_KEY",66:"COMMENT",69:"ZERO_OR_ONE",70:"ZERO_OR_MORE",71:"ONE_OR_MORE",72:"ONLY_ONE",73:"MD_PARENT",74:"NON_IDENTIFYING",75:"IDENTIFYING",76:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[7,1],[8,5],[8,9],[8,7],[8,7],[8,4],[8,6],[8,3],[8,5],[8,1],[8,3],[8,7],[8,9],[8,6],[8,8],[8,4],[8,6],[8,2],[8,2],[8,2],[8,1],[8,1],[8,1],[8,1],[8,1],[8,3],[32,3],[32,6],[36,1],[36,2],[28,1],[28,1],[28,1],[28,1],[29,4],[15,1],[15,1],[15,3],[15,3],[30,3],[31,4],[42,1],[42,3],[48,1],[48,2],[35,1],[35,1],[35,1],[49,1],[49,1],[49,1],[49,1],[10,1],[10,1],[10,1],[10,1],[10,1],[17,1],[17,2],[56,2],[56,3],[56,3],[56,4],[57,1],[57,2],[58,1],[59,1],[59,3],[63,1],[60,1],[11,3],[67,1],[67,1],[67,1],[67,1],[67,1],[68,1],[68,1],[13,1],[13,1],[13,1]],performAction:f(E(function(n,l,d,i,_,t,et){var e=t.length-1;switch(_){case 1:break;case 2:this.$=[];break;case 3:this.$=t[e-1].concat(t[e]);break;case 4:this.$=t[e];break;case 5:case 6:this.$=[];break;case 7:i.addEntity(t[e-4]),i.addEntity(t[e-2]),i.addRelationship(t[e-4],t[e],t[e-2],t[e-3]),this.$=[t[e-4],t[e-2]];break;case 8:i.addEntity(t[e-8]),i.addEntity(t[e-4]),i.addRelationship(t[e-8],t[e],t[e-4],t[e-5]),i.setClass([t[e-8]],t[e-6]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-8],t[e-4]];break;case 9:i.addEntity(t[e-6]),i.addEntity(t[e-2]),i.addRelationship(t[e-6],t[e],t[e-2],t[e-3]),i.setClass([t[e-6]],t[e-4]),this.$=[t[e-6],t[e-2]];break;case 10:i.addEntity(t[e-6]),i.addEntity(t[e-4]),i.addRelationship(t[e-6],t[e],t[e-4],t[e-5]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-6],t[e-4]];break;case 11:i.addEntity(t[e-3]),i.addAttributes(t[e-3],t[e-1]),this.$=[t[e-3]];break;case 12:i.addEntity(t[e-5]),i.addAttributes(t[e-5],t[e-1]),i.setClass([t[e-5]],t[e-3]),this.$=[t[e-5]];break;case 13:i.addEntity(t[e-2]),this.$=[t[e-2]];break;case 14:i.addEntity(t[e-4]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-4]];break;case 15:i.addEntity(t[e]),this.$=[t[e]];break;case 16:i.addEntity(t[e-2]),i.setClass([t[e-2]],t[e]),this.$=[t[e-2]];break;case 17:i.addEntity(t[e-6],t[e-4]),i.addAttributes(t[e-6],t[e-1]),this.$=[t[e-6]];break;case 18:i.addEntity(t[e-8],t[e-6]),i.addAttributes(t[e-8],t[e-1]),i.setClass([t[e-8]],t[e-3]),this.$=[t[e-8]];break;case 19:i.addEntity(t[e-5],t[e-3]),this.$=[t[e-5]];break;case 20:i.addEntity(t[e-7],t[e-5]),i.setClass([t[e-7]],t[e-2]),this.$=[t[e-7]];break;case 21:i.addEntity(t[e-3],t[e-1]);break;case 22:i.addEntity(t[e-5],t[e-3]),i.setClass([t[e-5]],t[e]);break;case 23:case 24:this.$=t[e].trim(),i.setAccTitle(this.$);break;case 25:case 26:this.$=t[e].trim(),i.setAccDescription(this.$);break;case 27:i.subgraphDepth?this.$=t[e]:(i.setDirection(t[e].value),this.$=[]);break;case 31:i.subgraphDepth=(i.subgraphDepth||1)-1,this.$=i.addSubGraph({text:t[e-2].id},t[e-1],{text:t[e-2].text});break;case 32:i.subgraphDepth=(i.subgraphDepth||0)+1,this.$={id:t[e-1],text:t[e-1]};break;case 33:i.subgraphDepth=(i.subgraphDepth||0)+1,this.$={id:t[e-4],text:t[e-2]};break;case 34:case 59:case 60:case 61:case 62:case 86:this.$=t[e];break;case 35:this.$=t[e-1]+" "+t[e];break;case 36:this.$={stmt:"dir",value:"TB"};break;case 37:this.$={stmt:"dir",value:"BT"};break;case 38:this.$={stmt:"dir",value:"RL"};break;case 39:this.$={stmt:"dir",value:"LR"};break;case 40:this.$=t[e-3],i.addClass(t[e-2],t[e-1]);break;case 41:case 42:case 63:case 72:this.$=[t[e]];break;case 43:case 44:this.$=t[e-2].concat([t[e]]);break;case 45:this.$=t[e-2],i.setClass(t[e-1],t[e]);break;case 46:this.$=t[e-3],i.addCssStyles(t[e-2],t[e-1]);break;case 47:this.$=[t[e]];break;case 48:t[e-2].push(t[e]),this.$=t[e-2];break;case 50:this.$=t[e-1]+t[e];break;case 58:case 84:case 85:this.$=t[e].replace(/"/g,"");break;case 64:t[e].push(t[e-1]),this.$=t[e];break;case 65:this.$={type:t[e-1],name:t[e]};break;case 66:this.$={type:t[e-2],name:t[e-1],keys:t[e]};break;case 67:this.$={type:t[e-2],name:t[e-1],comment:t[e]};break;case 68:this.$={type:t[e-3],name:t[e-2],keys:t[e-1],comment:t[e]};break;case 69:case 71:case 74:this.$=t[e];break;case 70:this.$=t[e-1]+t[e];break;case 73:t[e-2].push(t[e]),this.$=t[e-2];break;case 75:this.$=t[e].replace(/"/g,"");break;case 76:this.$={cardA:t[e],relType:t[e-1],cardB:t[e-2]};break;case 77:this.$=i.Cardinality.ZERO_OR_ONE;break;case 78:this.$=i.Cardinality.ZERO_OR_MORE;break;case 79:this.$=i.Cardinality.ONE_OR_MORE;break;case 80:this.$=i.Cardinality.ONLY_ONE;break;case 81:this.$=i.Cardinality.MD_PARENT;break;case 82:this.$=i.Identification.NON_IDENTIFYING;break;case 83:this.$=i.Identification.IDENTIFYING;break}},"anonymous"),"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},s(a,o,{5:3}),{6:[1,4],7:5,8:6,9:c,10:8,21:r,23:h,25:y,27:b,28:13,29:14,30:15,31:16,32:17,34:k,37:v,38:p,39:g,40:I,41:D,43:x,46:N,47:A,51:C,53:L,54:w,55:V},s(a,Ct,{1:[2,1]}),s(u,[2,3]),s(u,[2,4]),s(u,[2,5]),s(u,[2,15],{11:31,67:35,14:[1,32],16:[1,33],19:[1,34],69:ft,70:bt,71:gt,72:yt,73:_t}),{22:[1,41]},{24:[1,42]},{26:[1,43]},s(u,[2,26]),s(u,[2,27]),s(u,[2,28]),s(u,[2,29]),s(u,[2,30]),s(u,o,{5:44}),s(j,[2,58]),s(j,[2,59]),s(j,[2,60]),s(j,[2,61]),s(j,[2,62]),s(u,[2,36]),s(u,[2,37]),s(u,[2,38]),s(u,[2,39]),{15:45,43:M,44:B},{15:48,43:M,44:B},{15:49,43:M,44:B},{10:50,43:x,51:C,53:L,54:w,55:V},{10:51,43:x,51:C,53:L,54:w,55:V},{15:52,43:M,44:B},{17:53,18:[1,54],56:55,57:56,61:q},{10:58,43:x,51:C,53:L,54:w,55:V},{68:59,74:[1,60],75:[1,61]},s(W,[2,77]),s(W,[2,78]),s(W,[2,79]),s(W,[2,80]),s(W,[2,81]),s(u,[2,23]),s(u,[2,24]),s(u,[2,25]),{6:[1,63],7:5,8:6,9:c,10:8,21:r,23:h,25:y,27:b,28:13,29:14,30:15,31:16,32:17,33:[1,62],34:k,37:v,38:p,39:g,40:I,41:D,43:x,46:N,47:A,51:C,53:L,54:w,55:V},{12:H,42:64,44:Q,45:G,48:66,49:67,51:X,52:J},s(it,[2,41]),s(it,[2,42]),{15:72,43:M,44:B,45:G},{12:H,42:73,44:Q,45:G,48:66,49:67,51:X,52:J},{6:rt,9:at,19:[1,75],35:74,50:nt},{12:[1,79],14:[1,80]},s(u,[2,16],{67:35,11:81,16:[1,82],45:G,69:ft,70:bt,71:gt,72:yt,73:_t}),{18:[1,83]},s(u,[2,13]),{17:84,18:[2,63],56:55,57:56,61:q},{58:85,61:[1,86]},{61:[2,69],62:[1,87]},{20:[1,88]},{67:89,69:ft,70:bt,71:gt,72:yt,73:_t},s(It,[2,82]),s(It,[2,83]),s(u,[2,31]),s(u,Ct),{6:rt,9:at,35:90,45:At,50:nt},{43:[1,92],44:[1,93]},s(Rt,[2,47],{49:94,12:H,44:Q,51:X,52:J}),s(K,[2,49]),s(K,[2,54]),s(K,[2,55]),s(K,[2,56]),s(K,[2,57]),s(u,[2,45],{45:G}),{6:rt,9:at,35:95,45:At,50:nt},s(u,[2,32]),{10:97,36:96,43:x,51:C,53:L,54:w,55:V},s(u,[2,51]),s(u,[2,52]),s(u,[2,53]),{13:98,43:ot,53:ct,76:lt},{15:102,43:M,44:B},{10:103,43:x,51:C,53:L,54:w,55:V},{17:104,18:[1,105],56:55,57:56,61:q},s(u,[2,11]),{18:[2,64]},s($,[2,65],{59:106,60:107,63:108,65:vt,66:Dt}),s([18,61,65,66],[2,71]),{61:[2,70]},s(u,[2,21],{14:[1,112],16:[1,111]}),s([43,51,53,54,55],[2,76]),s(u,[2,40]),{12:H,44:Q,48:113,49:67,51:X,52:J},s(it,[2,43]),s(it,[2,44]),s(K,[2,50]),s(u,[2,46]),{10:115,20:[1,114],43:x,51:C,53:L,54:w,55:V},s(Lt,[2,34]),s(u,[2,7]),s(u,[2,84]),s(u,[2,85]),s(u,[2,86]),{12:[1,116],45:G},{12:[1,118],14:[1,117]},{18:[1,119]},s(u,[2,14]),s($,[2,66],{60:120,64:[1,121],66:Dt}),s($,[2,67]),s(kt,[2,72]),s($,[2,75]),s(kt,[2,74]),{17:122,18:[1,123],56:55,57:56,61:q},{15:124,43:M,44:B},s(Rt,[2,48],{49:94,12:H,44:Q,51:X,52:J}),{6:rt,9:at,35:125,50:nt},s(Lt,[2,35]),{13:126,43:ot,53:ct,76:lt},{15:127,43:M,44:B},{13:128,43:ot,53:ct,76:lt},s(u,[2,12]),s($,[2,68]),{63:129,65:vt},{18:[1,130]},s(u,[2,19]),s(u,[2,22],{16:[1,131],45:G}),s(u,[2,33]),s(u,[2,10]),{12:[1,132],45:G},s(u,[2,9]),s(kt,[2,73]),s(u,[2,17]),{17:133,18:[1,134],56:55,57:56,61:q},{13:135,43:ot,53:ct,76:lt},{18:[1,136]},s(u,[2,20]),s(u,[2,8]),s(u,[2,18])],defaultActions:{84:[2,64],87:[2,70]},parseError:f(E(function(n,l){if(l.recoverable)this.trace(n);else{var d=new Error(n);throw d.hash=l,d}},"parseError"),"parseError"),parse:f(E(function(n){var l=this,d=[0],i=[],_=[null],t=[],et=this.table,e="",ht=0,wt=0,Pt=2,Vt=1,zt=t.slice.call(arguments,1),m=Object.create(this.lexer),P={yy:{}};for(var Et in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Et)&&(P.yy[Et]=this.yy[Et]);m.setInput(n,P.yy),P.yy.lexer=m,P.yy.parser=this,typeof m.yylloc>"u"&&(m.yylloc={});var St=m.yylloc;t.push(St);var Ut=m.options&&m.options.ranges;typeof P.yy.parseError=="function"?this.parseError=P.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Mt(T){d.length=d.length-2*T,_.length=_.length-T,t.length=t.length-T}E(Mt,"popStack"),f(Mt,"popStack");function Tt(){var T;return T=i.pop()||m.lex()||Vt,typeof T!="number"&&(T instanceof Array&&(i=T,T=i.pop()),T=l.symbols_[T]||T),T}E(Tt,"lex"),f(Tt,"lex");for(var S,z,O,Ot,Z={},ut,R,Bt,dt;;){if(z=d[d.length-1],this.defaultActions[z]?O=this.defaultActions[z]:((S===null||typeof S>"u")&&(S=Tt()),O=et[z]&&et[z][S]),typeof O>"u"||!O.length||!O[0]){var xt="";dt=[];for(ut in et[z])this.terminals_[ut]&&ut>Pt&&dt.push("'"+this.terminals_[ut]+"'");m.showPosition?xt="Parse error on line "+(ht+1)+`:
2
2
  `+m.showPosition()+`
3
3
  Expecting `+dt.join(", ")+", got '"+(this.terminals_[S]||S)+"'":xt="Parse error on line "+(ht+1)+": Unexpected "+(S==Vt?"end of input":"'"+(this.terminals_[S]||S)+"'"),this.parseError(xt,{text:m.match,token:this.terminals_[S]||S,line:m.yylineno,loc:St,expected:dt})}if(O[0]instanceof Array&&O.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+S);switch(O[0]){case 1:d.push(S),_.push(m.yytext),t.push(m.yylloc),d.push(O[1]),S=null,wt=m.yyleng,e=m.yytext,ht=m.yylineno,St=m.yylloc;break;case 2:if(R=this.productions_[O[1]][1],Z.$=_[_.length-R],Z._$={first_line:t[t.length-(R||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(R||1)].first_column,last_column:t[t.length-1].last_column},Ut&&(Z._$.range=[t[t.length-(R||1)].range[0],t[t.length-1].range[1]]),Ot=this.performAction.apply(Z,[e,wt,ht,P.yy,O[1],_,t].concat(zt)),typeof Ot<"u")return Ot;R&&(d=d.slice(0,-1*R*2),_=_.slice(0,-1*R),t=t.slice(0,-1*R)),d.push(this.productions_[O[1]][0]),_.push(Z.$),t.push(Z._$),Bt=et[d[d.length-2]][d[d.length-1]],d.push(Bt);break;case 3:return!0}}return!0},"parse"),"parse")},Yt=(function(){var F={EOF:1,parseError:f(E(function(l,d){if(this.yy.parser)this.yy.parser.parseError(l,d);else throw new Error(l)},"parseError"),"parseError"),setInput:f(function(n,l){return this.yy=l||this.yy||{},this._input=n,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:f(function(){var n=this._input[0];this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n;var l=n.match(/(?:\r\n?|\n).*/g);return l?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),n},"input"),unput:f(function(n){var l=n.length,d=n.split(/(?:\r\n?|\n)/g);this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-l),this.offset-=l;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),d.length-1&&(this.yylineno-=d.length-1);var _=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:d?(d.length===i.length?this.yylloc.first_column:0)+i[i.length-d.length].length-d[0].length:this.yylloc.first_column-l},this.options.ranges&&(this.yylloc.range=[_[0],_[0]+this.yyleng-l]),this.yyleng=this.yytext.length,this},"unput"),more:f(function(){return this._more=!0,this},"more"),reject:f(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:f(function(n){this.unput(this.match.slice(n))},"less"),pastInput:f(function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:f(function(){var n=this.match;return n.length<20&&(n+=this._input.substr(0,20-n.length)),(n.substr(0,20)+(n.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:f(function(){var n=this.pastInput(),l=new Array(n.length+1).join("-");return n+this.upcomingInput()+`
@@ -1,4 +1,4 @@
1
- import{a as c,M as gt,a8 as Ct,aa as Wt,w as Pt,N as ft,ad as T,aE as Bt,an as Vt,aK as yt,_ as Ft,o as zt,k as Ot}from"./D0QGnN9N.js";import{g as k,c3 as Z}from"./-EQ6B0ad.js";import{d as ct}from"./CVC7R5g8.js";var nt=(function(){var e=c(function(v,s,d,l){for(d=d||{},l=v.length;l--;d[v[l]]=s);return d},"o"),t=[6,11,13,14,15,17,19,20,23,24],n=[1,12],i=[1,13],r=[1,14],h=[1,15],o=[1,16],a=[1,19],f=[1,20],g={trace:c(k(function(){},"trace"),"trace"),yy:{},symbols_:{error:2,start:3,timeline_header:4,document:5,EOF:6,timeline:7,timeline_lr:8,timeline_td:9,line:10,SPACE:11,statement:12,NEWLINE:13,title:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,period_statement:21,event_statement:22,period:23,event:24,$accept:0,$end:1},terminals_:{2:"error",6:"EOF",7:"timeline",8:"timeline_lr",9:"timeline_td",11:"SPACE",13:"NEWLINE",14:"title",15:"acc_title",16:"acc_title_value",17:"acc_descr",18:"acc_descr_value",19:"acc_descr_multiline_value",20:"section",23:"period",24:"event"},productions_:[0,[3,3],[4,1],[4,1],[4,1],[5,0],[5,2],[10,2],[10,1],[10,1],[10,1],[12,1],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[21,1],[22,1]],performAction:c(k(function(s,d,l,p,x,u,E){var _=u.length-1;switch(x){case 1:return u[_-1];case 3:p.setDirection("LR");break;case 4:p.setDirection("TD");break;case 5:this.$=[];break;case 6:u[_-1].push(u[_]),this.$=u[_-1];break;case 7:case 8:this.$=u[_];break;case 9:case 10:this.$=[];break;case 11:p.getCommonDb().setDiagramTitle(u[_].substr(6)),this.$=u[_].substr(6);break;case 12:this.$=u[_].trim(),p.getCommonDb().setAccTitle(this.$);break;case 13:case 14:this.$=u[_].trim(),p.getCommonDb().setAccDescription(this.$);break;case 15:p.addSection(u[_].substr(8)),this.$=u[_].substr(8);break;case 18:p.addTask(u[_],0,""),this.$=u[_];break;case 19:p.addEvent(u[_].substr(2)),this.$=u[_];break}},"anonymous"),"anonymous"),table:[{3:1,4:2,7:[1,3],8:[1,4],9:[1,5]},{1:[3]},e(t,[2,5],{5:6}),e(t,[2,2]),e(t,[2,3]),e(t,[2,4]),{6:[1,7],10:8,11:[1,9],12:10,13:[1,11],14:n,15:i,17:r,19:h,20:o,21:17,22:18,23:a,24:f},e(t,[2,10],{1:[2,1]}),e(t,[2,6]),{12:21,14:n,15:i,17:r,19:h,20:o,21:17,22:18,23:a,24:f},e(t,[2,8]),e(t,[2,9]),e(t,[2,11]),{16:[1,22]},{18:[1,23]},e(t,[2,14]),e(t,[2,15]),e(t,[2,16]),e(t,[2,17]),e(t,[2,18]),e(t,[2,19]),e(t,[2,7]),e(t,[2,12]),e(t,[2,13])],defaultActions:{},parseError:c(k(function(s,d){if(d.recoverable)this.trace(s);else{var l=new Error(s);throw l.hash=d,l}},"parseError"),"parseError"),parse:c(k(function(s){var d=this,l=[0],p=[],x=[null],u=[],E=this.table,_="",H=0,C=0,P=2,G=1,M=u.slice.call(arguments,1),S=Object.create(this.lexer),L={yy:{}};for(var F in this.yy)Object.prototype.hasOwnProperty.call(this.yy,F)&&(L.yy[F]=this.yy[F]);S.setInput(s,L.yy),L.yy.lexer=S,L.yy.parser=this,typeof S.yylloc>"u"&&(S.yylloc={});var z=S.yylloc;u.push(z);var X=S.options&&S.options.ranges;typeof L.yy.parseError=="function"?this.parseError=L.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function N(R){l.length=l.length-2*R,x.length=x.length-R,u.length=u.length-R}k(N,"popStack"),c(N,"popStack");function b(){var R;return R=p.pop()||S.lex()||G,typeof R!="number"&&(R instanceof Array&&(p=R,R=p.pop()),R=d.symbols_[R]||R),R}k(b,"lex"),c(b,"lex");for(var w,I,$,B,W={},D,V,j,q;;){if(I=l[l.length-1],this.defaultActions[I]?$=this.defaultActions[I]:((w===null||typeof w>"u")&&(w=b()),$=E[I]&&E[I][w]),typeof $>"u"||!$.length||!$[0]){var et="";q=[];for(D in E[I])this.terminals_[D]&&D>P&&q.push("'"+this.terminals_[D]+"'");S.showPosition?et="Parse error on line "+(H+1)+`:
1
+ import{a as c,M as gt,a8 as Ct,aa as Wt,w as Pt,N as ft,ad as T,aE as Bt,an as Vt,aK as yt,_ as Ft,o as zt,k as Ot}from"./_eQjP0_7.js";import{g as k,c3 as Z}from"./CdT170lG.js";import{d as ct}from"./JUqct0gC.js";var nt=(function(){var e=c(function(v,s,d,l){for(d=d||{},l=v.length;l--;d[v[l]]=s);return d},"o"),t=[6,11,13,14,15,17,19,20,23,24],n=[1,12],i=[1,13],r=[1,14],h=[1,15],o=[1,16],a=[1,19],f=[1,20],g={trace:c(k(function(){},"trace"),"trace"),yy:{},symbols_:{error:2,start:3,timeline_header:4,document:5,EOF:6,timeline:7,timeline_lr:8,timeline_td:9,line:10,SPACE:11,statement:12,NEWLINE:13,title:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,period_statement:21,event_statement:22,period:23,event:24,$accept:0,$end:1},terminals_:{2:"error",6:"EOF",7:"timeline",8:"timeline_lr",9:"timeline_td",11:"SPACE",13:"NEWLINE",14:"title",15:"acc_title",16:"acc_title_value",17:"acc_descr",18:"acc_descr_value",19:"acc_descr_multiline_value",20:"section",23:"period",24:"event"},productions_:[0,[3,3],[4,1],[4,1],[4,1],[5,0],[5,2],[10,2],[10,1],[10,1],[10,1],[12,1],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[21,1],[22,1]],performAction:c(k(function(s,d,l,p,x,u,E){var _=u.length-1;switch(x){case 1:return u[_-1];case 3:p.setDirection("LR");break;case 4:p.setDirection("TD");break;case 5:this.$=[];break;case 6:u[_-1].push(u[_]),this.$=u[_-1];break;case 7:case 8:this.$=u[_];break;case 9:case 10:this.$=[];break;case 11:p.getCommonDb().setDiagramTitle(u[_].substr(6)),this.$=u[_].substr(6);break;case 12:this.$=u[_].trim(),p.getCommonDb().setAccTitle(this.$);break;case 13:case 14:this.$=u[_].trim(),p.getCommonDb().setAccDescription(this.$);break;case 15:p.addSection(u[_].substr(8)),this.$=u[_].substr(8);break;case 18:p.addTask(u[_],0,""),this.$=u[_];break;case 19:p.addEvent(u[_].substr(2)),this.$=u[_];break}},"anonymous"),"anonymous"),table:[{3:1,4:2,7:[1,3],8:[1,4],9:[1,5]},{1:[3]},e(t,[2,5],{5:6}),e(t,[2,2]),e(t,[2,3]),e(t,[2,4]),{6:[1,7],10:8,11:[1,9],12:10,13:[1,11],14:n,15:i,17:r,19:h,20:o,21:17,22:18,23:a,24:f},e(t,[2,10],{1:[2,1]}),e(t,[2,6]),{12:21,14:n,15:i,17:r,19:h,20:o,21:17,22:18,23:a,24:f},e(t,[2,8]),e(t,[2,9]),e(t,[2,11]),{16:[1,22]},{18:[1,23]},e(t,[2,14]),e(t,[2,15]),e(t,[2,16]),e(t,[2,17]),e(t,[2,18]),e(t,[2,19]),e(t,[2,7]),e(t,[2,12]),e(t,[2,13])],defaultActions:{},parseError:c(k(function(s,d){if(d.recoverable)this.trace(s);else{var l=new Error(s);throw l.hash=d,l}},"parseError"),"parseError"),parse:c(k(function(s){var d=this,l=[0],p=[],x=[null],u=[],E=this.table,_="",H=0,C=0,P=2,G=1,M=u.slice.call(arguments,1),S=Object.create(this.lexer),L={yy:{}};for(var F in this.yy)Object.prototype.hasOwnProperty.call(this.yy,F)&&(L.yy[F]=this.yy[F]);S.setInput(s,L.yy),L.yy.lexer=S,L.yy.parser=this,typeof S.yylloc>"u"&&(S.yylloc={});var z=S.yylloc;u.push(z);var X=S.options&&S.options.ranges;typeof L.yy.parseError=="function"?this.parseError=L.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function N(R){l.length=l.length-2*R,x.length=x.length-R,u.length=u.length-R}k(N,"popStack"),c(N,"popStack");function b(){var R;return R=p.pop()||S.lex()||G,typeof R!="number"&&(R instanceof Array&&(p=R,R=p.pop()),R=d.symbols_[R]||R),R}k(b,"lex"),c(b,"lex");for(var w,I,$,B,W={},D,V,j,q;;){if(I=l[l.length-1],this.defaultActions[I]?$=this.defaultActions[I]:((w===null||typeof w>"u")&&(w=b()),$=E[I]&&E[I][w]),typeof $>"u"||!$.length||!$[0]){var et="";q=[];for(D in E[I])this.terminals_[D]&&D>P&&q.push("'"+this.terminals_[D]+"'");S.showPosition?et="Parse error on line "+(H+1)+`:
2
2
  `+S.showPosition()+`
3
3
  Expecting `+q.join(", ")+", got '"+(this.terminals_[w]||w)+"'":et="Parse error on line "+(H+1)+": Unexpected "+(w==G?"end of input":"'"+(this.terminals_[w]||w)+"'"),this.parseError(et,{text:S.match,token:this.terminals_[w]||w,line:S.yylineno,loc:z,expected:q})}if($[0]instanceof Array&&$.length>1)throw new Error("Parse Error: multiple actions possible at state: "+I+", token: "+w);switch($[0]){case 1:l.push(w),x.push(S.yytext),u.push(S.yylloc),l.push($[1]),w=null,C=S.yyleng,_=S.yytext,H=S.yylineno,z=S.yylloc;break;case 2:if(V=this.productions_[$[1]][1],W.$=x[x.length-V],W._$={first_line:u[u.length-(V||1)].first_line,last_line:u[u.length-1].last_line,first_column:u[u.length-(V||1)].first_column,last_column:u[u.length-1].last_column},X&&(W._$.range=[u[u.length-(V||1)].range[0],u[u.length-1].range[1]]),B=this.performAction.apply(W,[_,C,H,L.yy,$[1],x,u].concat(M)),typeof B<"u")return B;V&&(l=l.slice(0,-1*V*2),x=x.slice(0,-1*V),u=u.slice(0,-1*V)),l.push(this.productions_[$[1]][0]),x.push(W.$),u.push(W._$),j=E[l[l.length-2]][l[l.length-1]],l.push(j);break;case 3:return!0}}return!0},"parse"),"parse")},m=(function(){var v={EOF:1,parseError:c(k(function(d,l){if(this.yy.parser)this.yy.parser.parseError(d,l);else throw new Error(d)},"parseError"),"parseError"),setInput:c(function(s,d){return this.yy=d||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:c(function(){var s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var d=s.match(/(?:\r\n?|\n).*/g);return d?(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:c(function(s){var d=s.length,l=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d),this.offset-=d;var p=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),l.length-1&&(this.yylineno-=l.length-1);var x=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:l?(l.length===p.length?this.yylloc.first_column:0)+p[p.length-l.length].length-l[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[x[0],x[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},"unput"),more:c(function(){return this._more=!0,this},"more"),reject:c(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:c(function(s){this.unput(this.match.slice(s))},"less"),pastInput:c(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:c(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:c(function(){var s=this.pastInput(),d=new Array(s.length+1).join("-");return s+this.upcomingInput()+`
@@ -1 +1 @@
1
- import{t as we,bq as r,a_ as m,by as pe,b as be,bo as _}from"./DEI12D8u.js";import{bs as me,a7 as h,ay as c,W as o,bn as xe,aA as n,bS as E,aD as z,bH as Ee,a5 as Se,bA as Te,c9 as oe,aB as de,bV as Pe,be as S,b$ as T,b_ as P,bO as k}from"./B8o4lNgr.js";import{c as v}from"./DWsGxz2C.js";import{c as ke}from"./KLMKvNSD.js";import{F as Ce,cq as Fe}from"./BxuhDHqB.js";import{f as De}from"./CBY4R5Io.js";import{s as We,k as Oe,M as ze,j as C}from"./MivJSmtA.js";import"./DaBUZyWc.js";var Me=de("<!> <!> <!> <!> <!> <!>",1),ye=de("<span><!></span>"),Ve=de("<!> <!>",1);function qe(ie,a){if(new.target)return we({component:qe,...ie});me(a,!0);const ge=e=>{var w=Me(),M=c(w);{var ne=t=>{var s=h(),d=c(s);v(d,()=>C,(i,g)=>{g(i,{get checked(){return R()},closeOnSelect:!1,get onCheckedChange(){return X()},children:(f,O)=>{S();var l=T();P(u=>k(l,u),[()=>_.ui_viewSettings_markdownPreview_label()]),o(f,l)},$$slots:{default:!0}})}),o(t,s)};m(M,t=>{Q()&&t(ne)})}var y=E(M,2);{var F=t=>{var s=h(),d=c(s);v(d,()=>C,(i,g)=>{g(i,{get checked(){return Z()},closeOnSelect:!1,get onCheckedChange(){return $()},children:(f,O)=>{S();var l=T();P(u=>k(l,u),[()=>_.ui_viewSettings_allFilesExpanded_label()]),o(f,l)},$$slots:{default:!0}})}),o(t,s)};m(y,t=>{Y()&&t(F)})}var se=E(y,2);{var V=t=>{var s=h(),d=c(s);v(d,()=>C,(i,g)=>{g(i,{get checked(){return A()},closeOnSelect:!1,get onCheckedChange(){return B()},children:(f,O)=>{S();var l=T();P(u=>k(l,u),[()=>_.ui_viewSettings_foldUnchanged_label()]),o(f,l)},$$slots:{default:!0}})}),o(t,s)};m(se,t=>{q()&&t(V)})}var D=E(se,2);{var le=t=>{var s=h(),d=c(s);v(d,()=>C,(i,g)=>{g(i,{get checked(){return L()},closeOnSelect:!1,get onCheckedChange(){return j()},children:(f,O)=>{S();var l=T();P(u=>k(l,u),[()=>_.ui_viewSettings_wrapLines_label()]),o(f,l)},$$slots:{default:!0}})}),o(t,s)};m(D,t=>{I()&&t(le)})}var x=E(D,2);{var p=t=>{var s=h(),d=c(s);v(d,()=>C,(i,g)=>{g(i,{get checked(){return N()},closeOnSelect:!1,get onCheckedChange(){return U()},children:(f,O)=>{S();var l=T();P(u=>k(l,u),[()=>_.ui_viewSettings_splitView_label()]),o(f,l)},$$slots:{default:!0}})}),o(t,s)};m(x,t=>{H()&&t(p)})}var b=E(x,2);{var W=t=>{var s=h(),d=c(s);v(d,()=>C,(i,g)=>{g(i,{get checked(){return J()},closeOnSelect:!1,get onCheckedChange(){return K()},children:(f,O)=>{S();var l=T();P(u=>k(l,u),[()=>_.ui_viewSettings_diffIndicators_label()]),o(f,l)},$$slots:{default:!0}})}),o(t,s)};m(b,t=>{G()&&t(W)})}o(e,w)};let q=r(a,"showFold",7,!0),A=r(a,"foldEnabled",7,!1),B=r(a,"onToggleFold",7),I=r(a,"showWrap",7,!0),L=r(a,"wrapEnabled",7,!1),j=r(a,"onToggleWrap",7),H=r(a,"showSplit",7,!0),N=r(a,"splitEnabled",7,!1),U=r(a,"onToggleSplit",7),G=r(a,"showDiff",7,!1),J=r(a,"diffEnabled",7,!1),K=r(a,"onToggleDiff",7),Q=r(a,"showPreview",7,!1),R=r(a,"previewEnabled",7,!1),X=r(a,"onTogglePreview",7),Y=r(a,"showExpand",7,!1),Z=r(a,"expanded",7,!1),$=r(a,"onToggleExpand",7),ee=r(a,"class",7,""),te=r(a,"size",7,"xs"),ae=r(a,"embedded",7,!1),re=Pe(!1);const ue={xs:"icon-xs",sm:"icon-sm",md:"icon"};var ce={get showFold(){return q()},set showFold(e=!0){q(e),n()},get foldEnabled(){return A()},set foldEnabled(e=!1){A(e),n()},get onToggleFold(){return B()},set onToggleFold(e){B(e),n()},get showWrap(){return I()},set showWrap(e=!0){I(e),n()},get wrapEnabled(){return L()},set wrapEnabled(e=!1){L(e),n()},get onToggleWrap(){return j()},set onToggleWrap(e){j(e),n()},get showSplit(){return H()},set showSplit(e=!0){H(e),n()},get splitEnabled(){return N()},set splitEnabled(e=!1){N(e),n()},get onToggleSplit(){return U()},set onToggleSplit(e){U(e),n()},get showDiff(){return G()},set showDiff(e=!1){G(e),n()},get diffEnabled(){return J()},set diffEnabled(e=!1){J(e),n()},get onToggleDiff(){return K()},set onToggleDiff(e){K(e),n()},get showPreview(){return Q()},set showPreview(e=!1){Q(e),n()},get previewEnabled(){return R()},set previewEnabled(e=!1){R(e),n()},get onTogglePreview(){return X()},set onTogglePreview(e){X(e),n()},get showExpand(){return Y()},set showExpand(e=!1){Y(e),n()},get expanded(){return Z()},set expanded(e=!1){Z(e),n()},get onToggleExpand(){return $()},set onToggleExpand(e){$(e),n()},get class(){return ee()},set class(e=""){ee(e),n()},get size(){return te()},set size(e="xs"){te(e),n()},get embedded(){return ae()},set embedded(e=!1){ae(e),n()},$set:pe,$on:(e,w)=>be(a,e,w)},fe=h(),_e=c(fe);{var ve=e=>{ge(e)},he=e=>{var w=h(),M=c(w);v(M,()=>ze,(ne,y)=>{y(ne,{get open(){return z(re)},set open(F){Ee(re,F,!0)},children:(F,se)=>{var V=Ve(),D=c(V);{const x=(p,b)=>{let W=()=>(b?.()).props;var t=ye();ke(t,()=>({class:"contents",...W()}));var s=Se(t);{let d=oe(()=>_.ui_viewSettings_trigger_tooltip()),i=oe(()=>_.ui_viewSettings_trigger_tooltip());De(s,{variant:"ghost-light",get size(){return ue[te()]},get tooltip(){return z(d)},tooltipSide:"bottom",get"aria-label"(){return z(i)},get"aria-expanded"(){return z(re)},get class(){return ee()},"data-testid":"view-settings-trigger",children:(g,f)=>{Ce(g,{get icon(){return Fe},size:"xs"})},$$slots:{default:!0}})}Te(t),o(p,t)};v(D,()=>We,(p,b)=>{b(p,{child:x,$$slots:{child:!0}})})}var le=E(D,2);{let x=oe(()=>_.ui_dropdownMenu_ariaLabel());v(le,()=>Oe,(p,b)=>{b(p,{align:"end",class:"w-56 p-3!",get"aria-label"(){return z(x)},children:(W,t)=>{ge(W)},$$slots:{default:!0}})})}o(F,V)},$$slots:{default:!0}})}),o(e,w)};m(_e,e=>{ae()?e(ve):e(he,-1)})}return o(ie,fe),xe(ce)}export{qe as V};
1
+ import{t as we,bq as r,a_ as m,by as pe,b as be,bo as _}from"./D4MoKNoK.js";import{bs as me,a7 as h,ay as c,W as o,bn as xe,aA as n,bS as E,aD as z,bH as Ee,a5 as Se,bA as Te,c9 as oe,aB as de,bV as Pe,be as S,b$ as T,b_ as P,bO as k}from"./B8o4lNgr.js";import{c as v}from"./BPQohPc9.js";import{c as ke}from"./WVYGrHqE.js";import{F as Ce,cq as Fe}from"./CG5J-qd_.js";import{f as De}from"./DgFojmqv.js";import{s as We,k as Oe,M as ze,j as C}from"./BQ-Vdhjp.js";import"./Ds7can9q.js";var Me=de("<!> <!> <!> <!> <!> <!>",1),ye=de("<span><!></span>"),Ve=de("<!> <!>",1);function qe(ie,a){if(new.target)return we({component:qe,...ie});me(a,!0);const ge=e=>{var w=Me(),M=c(w);{var ne=t=>{var s=h(),d=c(s);v(d,()=>C,(i,g)=>{g(i,{get checked(){return R()},closeOnSelect:!1,get onCheckedChange(){return X()},children:(f,O)=>{S();var l=T();P(u=>k(l,u),[()=>_.ui_viewSettings_markdownPreview_label()]),o(f,l)},$$slots:{default:!0}})}),o(t,s)};m(M,t=>{Q()&&t(ne)})}var y=E(M,2);{var F=t=>{var s=h(),d=c(s);v(d,()=>C,(i,g)=>{g(i,{get checked(){return Z()},closeOnSelect:!1,get onCheckedChange(){return $()},children:(f,O)=>{S();var l=T();P(u=>k(l,u),[()=>_.ui_viewSettings_allFilesExpanded_label()]),o(f,l)},$$slots:{default:!0}})}),o(t,s)};m(y,t=>{Y()&&t(F)})}var se=E(y,2);{var V=t=>{var s=h(),d=c(s);v(d,()=>C,(i,g)=>{g(i,{get checked(){return A()},closeOnSelect:!1,get onCheckedChange(){return B()},children:(f,O)=>{S();var l=T();P(u=>k(l,u),[()=>_.ui_viewSettings_foldUnchanged_label()]),o(f,l)},$$slots:{default:!0}})}),o(t,s)};m(se,t=>{q()&&t(V)})}var D=E(se,2);{var le=t=>{var s=h(),d=c(s);v(d,()=>C,(i,g)=>{g(i,{get checked(){return L()},closeOnSelect:!1,get onCheckedChange(){return j()},children:(f,O)=>{S();var l=T();P(u=>k(l,u),[()=>_.ui_viewSettings_wrapLines_label()]),o(f,l)},$$slots:{default:!0}})}),o(t,s)};m(D,t=>{I()&&t(le)})}var x=E(D,2);{var p=t=>{var s=h(),d=c(s);v(d,()=>C,(i,g)=>{g(i,{get checked(){return N()},closeOnSelect:!1,get onCheckedChange(){return U()},children:(f,O)=>{S();var l=T();P(u=>k(l,u),[()=>_.ui_viewSettings_splitView_label()]),o(f,l)},$$slots:{default:!0}})}),o(t,s)};m(x,t=>{H()&&t(p)})}var b=E(x,2);{var W=t=>{var s=h(),d=c(s);v(d,()=>C,(i,g)=>{g(i,{get checked(){return J()},closeOnSelect:!1,get onCheckedChange(){return K()},children:(f,O)=>{S();var l=T();P(u=>k(l,u),[()=>_.ui_viewSettings_diffIndicators_label()]),o(f,l)},$$slots:{default:!0}})}),o(t,s)};m(b,t=>{G()&&t(W)})}o(e,w)};let q=r(a,"showFold",7,!0),A=r(a,"foldEnabled",7,!1),B=r(a,"onToggleFold",7),I=r(a,"showWrap",7,!0),L=r(a,"wrapEnabled",7,!1),j=r(a,"onToggleWrap",7),H=r(a,"showSplit",7,!0),N=r(a,"splitEnabled",7,!1),U=r(a,"onToggleSplit",7),G=r(a,"showDiff",7,!1),J=r(a,"diffEnabled",7,!1),K=r(a,"onToggleDiff",7),Q=r(a,"showPreview",7,!1),R=r(a,"previewEnabled",7,!1),X=r(a,"onTogglePreview",7),Y=r(a,"showExpand",7,!1),Z=r(a,"expanded",7,!1),$=r(a,"onToggleExpand",7),ee=r(a,"class",7,""),te=r(a,"size",7,"xs"),ae=r(a,"embedded",7,!1),re=Pe(!1);const ue={xs:"icon-xs",sm:"icon-sm",md:"icon"};var ce={get showFold(){return q()},set showFold(e=!0){q(e),n()},get foldEnabled(){return A()},set foldEnabled(e=!1){A(e),n()},get onToggleFold(){return B()},set onToggleFold(e){B(e),n()},get showWrap(){return I()},set showWrap(e=!0){I(e),n()},get wrapEnabled(){return L()},set wrapEnabled(e=!1){L(e),n()},get onToggleWrap(){return j()},set onToggleWrap(e){j(e),n()},get showSplit(){return H()},set showSplit(e=!0){H(e),n()},get splitEnabled(){return N()},set splitEnabled(e=!1){N(e),n()},get onToggleSplit(){return U()},set onToggleSplit(e){U(e),n()},get showDiff(){return G()},set showDiff(e=!1){G(e),n()},get diffEnabled(){return J()},set diffEnabled(e=!1){J(e),n()},get onToggleDiff(){return K()},set onToggleDiff(e){K(e),n()},get showPreview(){return Q()},set showPreview(e=!1){Q(e),n()},get previewEnabled(){return R()},set previewEnabled(e=!1){R(e),n()},get onTogglePreview(){return X()},set onTogglePreview(e){X(e),n()},get showExpand(){return Y()},set showExpand(e=!1){Y(e),n()},get expanded(){return Z()},set expanded(e=!1){Z(e),n()},get onToggleExpand(){return $()},set onToggleExpand(e){$(e),n()},get class(){return ee()},set class(e=""){ee(e),n()},get size(){return te()},set size(e="xs"){te(e),n()},get embedded(){return ae()},set embedded(e=!1){ae(e),n()},$set:pe,$on:(e,w)=>be(a,e,w)},fe=h(),_e=c(fe);{var ve=e=>{ge(e)},he=e=>{var w=h(),M=c(w);v(M,()=>ze,(ne,y)=>{y(ne,{get open(){return z(re)},set open(F){Ee(re,F,!0)},children:(F,se)=>{var V=Ve(),D=c(V);{const x=(p,b)=>{let W=()=>(b?.()).props;var t=ye();ke(t,()=>({class:"contents",...W()}));var s=Se(t);{let d=oe(()=>_.ui_viewSettings_trigger_tooltip()),i=oe(()=>_.ui_viewSettings_trigger_tooltip());De(s,{variant:"ghost-light",get size(){return ue[te()]},get tooltip(){return z(d)},tooltipSide:"bottom",get"aria-label"(){return z(i)},get"aria-expanded"(){return z(re)},get class(){return ee()},"data-testid":"view-settings-trigger",children:(g,f)=>{Ce(g,{get icon(){return Fe},size:"xs"})},$$slots:{default:!0}})}Te(t),o(p,t)};v(D,()=>We,(p,b)=>{b(p,{child:x,$$slots:{child:!0}})})}var le=E(D,2);{let x=oe(()=>_.ui_dropdownMenu_ariaLabel());v(le,()=>Oe,(p,b)=>{b(p,{align:"end",class:"w-56 p-3!",get"aria-label"(){return z(x)},children:(W,t)=>{ge(W)},$$slots:{default:!0}})})}o(F,V)},$$slots:{default:!0}})}),o(e,w)};m(_e,e=>{ae()?e(ve):e(he,-1)})}return o(ie,fe),xe(ce)}export{qe as V};
@@ -1 +1 @@
1
- import{f as o}from"./-EQ6B0ad.js";var c=1;function i(){if(!(typeof globalThis>"u"))return globalThis}o(i,"getCaptureGlobal");function p(){return!!i()?.mermaidCaptureSizes}o(p,"shouldCaptureSizes");function u(){return typeof location>"u"?"browser-dev":`${location.pathname}${location.search}`}o(u,"capturedFromLocation");function d(n,r){const t=i();if(!t)return;const e=r.node(),s=((e&&"ownerSVGElement"in e?e.ownerSVGElement:null)??e)?.id??"(unknown)";t.mermaidCapturedSizes??=[];const a={svgId:s,sizes:n};t.mermaidCapturedSizes.push(a),t.mermaidLastCapturedSizes=a}o(d,"emitCapturedSizes");function m(n,r){const t=[];for(const e of r.nodes)e.isGroup||t.push({id:e.id,width:e.width??0,height:e.height??0});t.length!==0&&d({metadata:{captureVersion:c,capturedAt:new Date().toISOString(),capturedFrom:u()},nodes:t},n)}o(m,"captureNodeSizes");export{m as captureNodeSizes,p as shouldCaptureSizes};
1
+ import{f as o}from"./CdT170lG.js";var c=1;function i(){if(!(typeof globalThis>"u"))return globalThis}o(i,"getCaptureGlobal");function p(){return!!i()?.mermaidCaptureSizes}o(p,"shouldCaptureSizes");function u(){return typeof location>"u"?"browser-dev":`${location.pathname}${location.search}`}o(u,"capturedFromLocation");function d(n,r){const t=i();if(!t)return;const e=r.node(),s=((e&&"ownerSVGElement"in e?e.ownerSVGElement:null)??e)?.id??"(unknown)";t.mermaidCapturedSizes??=[];const a={svgId:s,sizes:n};t.mermaidCapturedSizes.push(a),t.mermaidLastCapturedSizes=a}o(d,"emitCapturedSizes");function m(n,r){const t=[];for(const e of r.nodes)e.isGroup||t.push({id:e.id,width:e.width??0,height:e.height??0});t.length!==0&&d({metadata:{captureVersion:c,capturedAt:new Date().toISOString(),capturedFrom:u()},nodes:t},n)}o(m,"captureNodeSizes");export{m as captureNodeSizes,p as shouldCaptureSizes};
@@ -1,4 +1,4 @@
1
- import{p as e}from"./KLMKvNSD.js";const o=[{id:"dialog-state-matrix",title:"Dialog states",states:["closed","open","entering","exiting","focused","disabled-close","destructive-flow","nested-content","long-content","scrolling","compact","zoom-200","outside-dismiss","escape-dismiss","focus-return","reduced-motion"],themes:["light","dark"],viewport:"both",reducedMotion:!0},{id:"dialog-open-state",title:"Dialog open state",states:["open-on-mount","focused","escape-dismiss","focus-return"],themes:["light","dark"],viewport:"both",reducedMotion:!0}];e({id:"dialog",source:"src/lib/components/ui/dialog/index.ts",publicImport:"$lib/components/ui/dialog",legacyImports:[],exports:["Close","Content","Description","Dialog","DialogClose","DialogContent","DialogDescription","DialogFooter","DialogHeader","DialogOverlay","DialogPortal","DialogTitle","DialogTrigger","Footer","Header","Overlay","Portal","Root","Title","Trigger","escapeBelongsToOpenPopup","useDialogPortalTarget"],usage:`<script lang="ts">
1
+ import{p as e}from"./WVYGrHqE.js";const o=[{id:"dialog-state-matrix",title:"Dialog states",states:["closed","open","entering","exiting","focused","disabled-close","destructive-flow","nested-content","long-content","scrolling","compact","zoom-200","outside-dismiss","escape-dismiss","focus-return","reduced-motion"],themes:["light","dark"],viewport:"both",reducedMotion:!0},{id:"dialog-open-state",title:"Dialog open state",states:["open-on-mount","focused","escape-dismiss","focus-return"],themes:["light","dark"],viewport:"both",reducedMotion:!0}];e({id:"dialog",source:"src/lib/components/ui/dialog/index.ts",publicImport:"$lib/components/ui/dialog",legacyImports:[],exports:["Close","Content","Description","Dialog","DialogClose","DialogContent","DialogDescription","DialogFooter","DialogHeader","DialogOverlay","DialogPortal","DialogTitle","DialogTrigger","Footer","Header","Overlay","Portal","Root","Title","Trigger","escapeBelongsToOpenPopup","useDialogPortalTarget"],usage:`<script lang="ts">
2
2
  import * as Dialog from '$lib/components/ui/dialog';
3
3
  <\/script>
4
4
 
@@ -1 +1 @@
1
- import{f as a,a6 as w,bC as x}from"./-EQ6B0ad.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{f as a,a6 as w,bC as x}from"./CdT170lG.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};