@jackuait/blok 0.10.4 → 0.10.6

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 (459) hide show
  1. package/dist/blok.mjs +2 -2
  2. package/dist/chunks/_basePickBy--UeZi0iS.mjs +166 -0
  3. package/dist/chunks/_baseUniq-C977U_l-.mjs +682 -0
  4. package/dist/chunks/{arc-D-pL2Ftf.mjs → arc-Woh6y3jm.mjs} +2 -2
  5. package/dist/chunks/architecture-YZFGNWBL-aVO23UKm.mjs +3 -0
  6. package/dist/chunks/{architectureDiagram-Q4EWVU46-DS7mqjL2.mjs → architectureDiagram-Q4EWVU46-GTqLmLqg.mjs} +115 -115
  7. package/dist/chunks/{blockDiagram-DXYQGD6D-BTtcn4NG.mjs → blockDiagram-DXYQGD6D-CML01I1L.mjs} +681 -866
  8. package/dist/chunks/{blok-NcdNQ0I6.mjs → blok-B0k4z2h1.mjs} +673 -604
  9. package/dist/chunks/{c4Diagram-AHTNJAMY-Y4Dcwcoo.mjs → c4Diagram-AHTNJAMY-C29OuYjO.mjs} +239 -239
  10. package/dist/chunks/{channel-Cln-eWE0.mjs → channel-Zp_OyvEW.mjs} +1 -1
  11. package/dist/chunks/{chunk-2KRD3SAO-DkM7qh-k.mjs → chunk-2KRD3SAO-mVfUZfox.mjs} +1 -1
  12. package/dist/chunks/{chunk-336JU56O-B17AtzlK.mjs → chunk-336JU56O-mJNxs0cr.mjs} +18 -18
  13. package/dist/chunks/{chunk-426QAEUC-D6UAVUog.mjs → chunk-426QAEUC-TajZlyP-.mjs} +2 -2
  14. package/dist/chunks/{chunk-4BX2VUAB-CgIkjF7Z.mjs → chunk-4BX2VUAB-CsopMMb6.mjs} +1 -1
  15. package/dist/chunks/{chunk-4TB4RGXK-BUP4eON3.mjs → chunk-4TB4RGXK-DC963IrJ.mjs} +129 -129
  16. package/dist/chunks/{chunk-55IACEB6-zZ-IgaSt.mjs → chunk-55IACEB6-yyL3mncJ.mjs} +1 -1
  17. package/dist/chunks/{chunk-5FUZZQ4R-DsZnJYxM.mjs → chunk-5FUZZQ4R-Dr4NE8rh.mjs} +663 -663
  18. package/dist/chunks/chunk-5PVQY5BW-BP7ENjg7.mjs +1122 -0
  19. package/dist/chunks/{chunk-67CJDMHE-m0UKdcSH.mjs → chunk-67CJDMHE-Dbl-PjEf.mjs} +1 -1
  20. package/dist/chunks/{chunk-7N4EOEYR-DKNajFZd.mjs → chunk-7N4EOEYR-p-g3cKuX.mjs} +1 -1
  21. package/dist/chunks/{chunk-AA7GKIK3-BeLhNzKa.mjs → chunk-AA7GKIK3-Dt0Kr5Va.mjs} +1 -1
  22. package/dist/chunks/{chunk-BSJP7CBP-CJExmx8a.mjs → chunk-BSJP7CBP-DGU2WHwh.mjs} +1 -1
  23. package/dist/chunks/{chunk-CIAEETIT-CTikoJ19.mjs → chunk-CIAEETIT-BQ4crY5r.mjs} +1 -1
  24. package/dist/chunks/{chunk-EDXVE4YY-DjInnnwb.mjs → chunk-EDXVE4YY-B9_aGwkV.mjs} +2 -2
  25. package/dist/chunks/{chunk-ENJZ2VHE-CIl5FRDA.mjs → chunk-ENJZ2VHE-23pY8ft5.mjs} +243 -243
  26. package/dist/chunks/{chunk-FMBD7UC4-DjV0W7UE.mjs → chunk-FMBD7UC4-D_RQlBGX.mjs} +1 -1
  27. package/dist/chunks/{chunk-FOC6F5B3-LmHCCWYY.mjs → chunk-FOC6F5B3-CJfr-iwx.mjs} +1 -1
  28. package/dist/chunks/{chunk-ICPOFSXX-BHZIN46A.mjs → chunk-ICPOFSXX-BOvOTlG6.mjs} +2 -2
  29. package/dist/chunks/{chunk-K5T4RW27-BPZ6fFnW.mjs → chunk-K5T4RW27-CHSI0vpp.mjs} +572 -570
  30. package/dist/chunks/{chunk-KGLVRYIC-S1OQdW76.mjs → chunk-KGLVRYIC-ngXT4XVA.mjs} +1 -1
  31. package/dist/chunks/{chunk-LIHQZDEY-CjtyJlI6.mjs → chunk-LIHQZDEY-CnP7bym1.mjs} +1 -1
  32. package/dist/chunks/{chunk-ORNJ4GCN-CdO0hAge.mjs → chunk-ORNJ4GCN-BPaghT45.mjs} +1 -1
  33. package/dist/chunks/{chunk-OYMX7WX6-ApX8eV4o.mjs → chunk-OYMX7WX6-CKjTvqTg.mjs} +172 -172
  34. package/dist/chunks/{chunk-QZHKN3VN-BGFuA6-k.mjs → chunk-QZHKN3VN-uW1N2UWF.mjs} +1 -1
  35. package/dist/chunks/{chunk-U2HBQHQK-B88ZUOTL.mjs → chunk-U2HBQHQK-DiQOEtQH.mjs} +65 -65
  36. package/dist/chunks/{chunk-X2U36JSP-1VS5TyCr.mjs → chunk-X2U36JSP-Cznp5Jm-.mjs} +2 -2
  37. package/dist/chunks/{chunk-XPW4576I-BMupdrvo.mjs → chunk-XPW4576I-W5t_agZI.mjs} +1 -1
  38. package/dist/chunks/{chunk-YZCP3GAM-BQ7eEsm2.mjs → chunk-YZCP3GAM-BV02tG_z.mjs} +3 -3
  39. package/dist/chunks/{chunk-ZZ45TVLE-D1xks9zd.mjs → chunk-ZZ45TVLE-D28EyJ6R.mjs} +7 -7
  40. package/dist/chunks/classDiagram-6PBFFD2Q-DXsClapu.mjs +30 -0
  41. package/dist/chunks/classDiagram-v2-HSJHXN6E-B6TlQ_PM.mjs +30 -0
  42. package/dist/chunks/{clone-Ckjt1LtE.mjs → clone-CUNvBGto.mjs} +1 -1
  43. package/dist/chunks/{constants-DtfShkXT.mjs → constants-lOEJu8bC.mjs} +4 -2
  44. package/dist/chunks/{cose-bilkent-S5V4N54A-Bpcs2jA_.mjs → cose-bilkent-S5V4N54A-D-Xgf_Xn.mjs} +2 -2
  45. package/dist/chunks/{cpp-BdjvAny0.mjs → cpp-DaTV1RSp.mjs} +2 -2
  46. package/dist/chunks/{dagre-KV5264BT-DUD9ikgN.mjs → dagre-KV5264BT-BB3SAlfA.mjs} +15 -15
  47. package/dist/chunks/{dagre-CGNbYTKq.mjs → dagre-dysBn-m8.mjs} +499 -552
  48. package/dist/chunks/diagram-5BDNPKRD-B1410bPG.mjs +112 -0
  49. package/dist/chunks/{diagram-G4DWMVQ6-CuS0-h95.mjs → diagram-G4DWMVQ6-CdhBBETB.mjs} +82 -82
  50. package/dist/chunks/{diagram-MMDJMWI5-C-AEApYz.mjs → diagram-MMDJMWI5-B3HWfHe1.mjs} +48 -48
  51. package/dist/chunks/{diagram-TYMM5635-CiwAJVMq.mjs → diagram-TYMM5635-D0JzRYCN.mjs} +51 -51
  52. package/dist/chunks/{erDiagram-SMLLAGMA-DeH5yck2.mjs → erDiagram-SMLLAGMA-DfIG0QBk.mjs} +142 -142
  53. package/dist/chunks/{flowDiagram-DWJPFMVM-Cr6dwmQ5.mjs → flowDiagram-DWJPFMVM-BOL8JsQX.mjs} +176 -176
  54. package/dist/chunks/{ganttDiagram-T4ZO3ILL-K-divBg_.mjs → ganttDiagram-T4ZO3ILL-CiUr_YRw.mjs} +230 -230
  55. package/dist/chunks/gitGraph-7Q5UKJZL-B3aq166w.mjs +3 -0
  56. package/dist/chunks/{gitGraphDiagram-UUTBAWPF-UytPZv72.mjs → gitGraphDiagram-UUTBAWPF-CtNkTTWO.mjs} +218 -218
  57. package/dist/chunks/{graphlib-Cye9EPNq.mjs → graphlib-BXNPwKuI.mjs} +48 -46
  58. package/dist/chunks/{graphql-BSnqmqgO.mjs → graphql-DNumR9m-.mjs} +2 -2
  59. package/dist/chunks/{html-BLNeZvnp.mjs → html-CanPsi1Y.mjs} +2 -2
  60. package/dist/chunks/{i18next-loader-D32EUWLr.mjs → i18next-loader-CIXsptng.mjs} +2 -2
  61. package/dist/chunks/info-OMHHGYJF-SX91-Wub.mjs +3 -0
  62. package/dist/chunks/{infoDiagram-42DDH7IO-DuYnDbF3.mjs → infoDiagram-42DDH7IO-CD7nVBvi.mjs} +14 -14
  63. package/dist/chunks/isArrayLikeObject-DzUNFfIK.mjs +578 -0
  64. package/dist/chunks/isEmpty-D8B0aRsG.mjs +35 -0
  65. package/dist/chunks/{ishikawaDiagram-UXIWVN3A-CHc59dLn.mjs → ishikawaDiagram-UXIWVN3A-BOaC9qJs.mjs} +81 -81
  66. package/dist/chunks/{journeyDiagram-VCZTEJTY-CD25C4_n.mjs → journeyDiagram-VCZTEJTY-DKf55ZdJ.mjs} +6 -6
  67. package/dist/chunks/{kanban-definition-6JOO6SKY-CTCT6N_p.mjs → kanban-definition-6JOO6SKY-D2CrAXqB.mjs} +11 -11
  68. package/dist/chunks/{latex-24n3TcOR.mjs → latex-DY1HNB4U.mjs} +1 -1
  69. package/dist/chunks/{lightweight-i18n-DpkvRXEd.mjs → lightweight-i18n-DTYoSr_o.mjs} +2 -0
  70. package/dist/chunks/line-CuvDsrkE.mjs +34 -0
  71. package/dist/chunks/{linear-BRCpMvtr.mjs → linear-JRIqMpGQ.mjs} +3 -3
  72. package/dist/chunks/{lua-DV0fuZWx.mjs → lua-COOfzihE.mjs} +1 -1
  73. package/dist/chunks/{mermaid-parser.core-CA3DKkuk.mjs → mermaid-parser.core-BhpZC2lA.mjs} +10 -10
  74. package/dist/chunks/mermaid.core-C40gcVfv.mjs +977 -0
  75. package/dist/chunks/{messages-DtZ9U9g72.mjs → messages--G2XLc8E.mjs} +8 -5
  76. package/dist/{messages-CFUBJfnf.mjs → chunks/messages-3kHDtQLN.mjs} +8 -5
  77. package/dist/{messages-0lOPMv8u.mjs → chunks/messages-4Y8dL_1j2.mjs} +8 -5
  78. package/dist/{messages-DQ1icG7L.mjs → chunks/messages-9Nx7kteY2.mjs} +8 -5
  79. package/dist/{messages-aoO_TtoE2.mjs → chunks/messages-B29Wm2zT.mjs} +9 -6
  80. package/dist/chunks/{messages-oPV2oMxM.mjs → messages-B9mzGzZ_.mjs} +11 -8
  81. package/dist/{messages-Di3-WVzq.mjs → chunks/messages-BCfsOOlp.mjs} +8 -5
  82. package/dist/{messages-CA6J_QoC.mjs → chunks/messages-BJTwY1tq.mjs} +7 -4
  83. package/dist/chunks/{messages-Cxy_E2IS.mjs → messages-BK6AwU6C.mjs} +8 -5
  84. package/dist/chunks/{messages-DoPdy75l.mjs → messages-BPxMr5HC.mjs} +10 -7
  85. package/dist/chunks/{messages-Ci7UXRVI2.mjs → messages-BS9zk4mI2.mjs} +9 -6
  86. package/dist/chunks/{messages-BouFtpfO.mjs → messages-BSXBVdsp.mjs} +7 -4
  87. package/dist/{messages-DqDlcEPn.mjs → chunks/messages-BSyO1EWC.mjs} +9 -6
  88. package/dist/{messages-DzknMM7W.mjs → chunks/messages-BUQTXTew2.mjs} +8 -5
  89. package/dist/chunks/{messages-BJNFCDv42.mjs → messages-Bhn5V9FQ2.mjs} +8 -5
  90. package/dist/chunks/{messages-zWqsggJh.mjs → messages-Bi629xgG.mjs} +8 -5
  91. package/dist/{messages-CR4gHjd82.mjs → chunks/messages-BimpUMRx.mjs} +6 -3
  92. package/dist/{messages-BCMFYqKc2.mjs → chunks/messages-BkaUIuz-2.mjs} +8 -5
  93. package/dist/{messages-5wuR90qS.mjs → chunks/messages-BmC2yhsC2.mjs} +8 -5
  94. package/dist/chunks/{messages-HzH9_QH8.mjs → messages-Bo7Cbk_O.mjs} +8 -5
  95. package/dist/chunks/{messages-BcHZf9o-.mjs → messages-Bq7fo8X0.mjs} +16 -13
  96. package/dist/{messages-bh8BiOee2.mjs → chunks/messages-BsqBho4T.mjs} +9 -6
  97. package/dist/{messages-C-8qb9sf2.mjs → chunks/messages-C7E8C3-S.mjs} +8 -5
  98. package/dist/chunks/{messages-DRJxSTqs.mjs → messages-C9QhLDA2.mjs} +9 -6
  99. package/dist/chunks/{messages-DSbI0vJf.mjs → messages-C9UIaF6N.mjs} +8 -5
  100. package/dist/chunks/{messages-dpXwA3Sz.mjs → messages-CAX3qQi0.mjs} +8 -5
  101. package/dist/chunks/{messages-DpydMd36.mjs → messages-CEJtxBxU.mjs} +8 -5
  102. package/dist/chunks/{messages-DkP3Jf4F.mjs → messages-CF0SW1zy.mjs} +7 -4
  103. package/dist/{messages-B_UKuqrH.mjs → chunks/messages-CIre8L_r.mjs} +8 -5
  104. package/dist/{messages-DT7dwzEe.mjs → chunks/messages-CJ8IkF1P.mjs} +8 -5
  105. package/dist/{messages-BORkMoil2.mjs → chunks/messages-CKP6aUXN2.mjs} +7 -4
  106. package/dist/chunks/{messages-DY8zPIZW.mjs → messages-CMMq-u7e.mjs} +9 -6
  107. package/dist/chunks/{messages-CTdSIOAc.mjs → messages-CR5irc8q.mjs} +7 -4
  108. package/dist/chunks/{messages-ZhHLC6dk.mjs → messages-CRH0RWBs.mjs} +8 -5
  109. package/dist/chunks/{messages-C7sBaZOO2.mjs → messages-CWm_2RvD2.mjs} +8 -5
  110. package/dist/{messages-CLUBh7O_.mjs → chunks/messages-CY76MvbX2.mjs} +8 -5
  111. package/dist/{messages-PyOr_YgV.mjs → chunks/messages-CpLq4ZZg.mjs} +6 -3
  112. package/dist/chunks/{messages-CGLTjtRv2.mjs → messages-CrpOkt8c2.mjs} +8 -5
  113. package/dist/{messages-DwiykEgr2.mjs → chunks/messages-D3fu2FHB2.mjs} +8 -5
  114. package/dist/{messages-hya8YLMj.mjs → chunks/messages-D6_I0L06.mjs} +8 -5
  115. package/dist/chunks/{messages-oXBbHW9A.mjs → messages-DHzT8CZv.mjs} +8 -5
  116. package/dist/chunks/{messages-ChayV9WY2.mjs → messages-DIVQmVS92.mjs} +8 -5
  117. package/dist/{messages-BrYeJsSE2.mjs → chunks/messages-DJYT0upW.mjs} +9 -6
  118. package/dist/chunks/{messages-THR8q8bJ.mjs → messages-DPcc6xp-.mjs} +16 -13
  119. package/dist/chunks/{messages-CDSyoUft.mjs → messages-Dass0QsQ.mjs} +6 -3
  120. package/dist/chunks/{messages-DVvrZRyZ.mjs → messages-DcUYfD6m.mjs} +8 -5
  121. package/dist/chunks/{messages-BNy4e7Xl.mjs → messages-DfLcy0CY.mjs} +8 -5
  122. package/dist/chunks/{messages-H6vLy8wJ.mjs → messages-DhoZXmg_.mjs} +8 -5
  123. package/dist/{messages-ZHgPRUj02.mjs → chunks/messages-DiQkvwE32.mjs} +8 -5
  124. package/dist/{messages-BKXjO3NH.mjs → chunks/messages-DmvWmURo.mjs} +8 -5
  125. package/dist/chunks/{messages-DjSuq0-y2.mjs → messages-Dobxrshu2.mjs} +8 -5
  126. package/dist/{messages-DPFuzIdF2.mjs → chunks/messages-DsMIxm6I2.mjs} +8 -5
  127. package/dist/{messages-D6RYu9JW2.mjs → chunks/messages-DtssWM8x2.mjs} +8 -5
  128. package/dist/{messages-gZEhkRrR2.mjs → chunks/messages-E1tsNNG5.mjs} +8 -5
  129. package/dist/chunks/{messages-D9uWAWjW.mjs → messages-PFfYbqlm.mjs} +9 -6
  130. package/dist/{messages-DCdP2ujL.mjs → chunks/messages-bIzBNzdr2.mjs} +6 -3
  131. package/dist/{messages-WsUHzXMu2.mjs → chunks/messages-dGYum7sj2.mjs} +8 -5
  132. package/dist/chunks/{messages-C-EBhOHE.mjs → messages-kKXlI5xZ.mjs} +8 -5
  133. package/dist/chunks/{messages-Cfbmwdep2.mjs → messages-mo5OrbVj2.mjs} +8 -5
  134. package/dist/{messages-9L4qqCKh2.mjs → chunks/messages-nAdoEqRi.mjs} +8 -5
  135. package/dist/chunks/{messages-Bop7vrhU.mjs → messages-rNLuCrAb.mjs} +8 -5
  136. package/dist/chunks/{messages-yGedmr61.mjs → messages-v26RM5PC.mjs} +8 -5
  137. package/dist/{messages-Cd5CW5Tt.mjs → chunks/messages-x0kzc2oy.mjs} +9 -6
  138. package/dist/{messages-DB4UKN8D.mjs → chunks/messages-x6y6csd52.mjs} +6 -3
  139. package/dist/chunks/{messages-Br6bE1FD2.mjs → messages-x_eMclsl2.mjs} +9 -6
  140. package/dist/{messages-CVMngZNA.mjs → chunks/messages-z5pham9o.mjs} +10 -7
  141. package/dist/chunks/{messages-D9syZVGi2.mjs → messages-zcqQ8x232.mjs} +6 -3
  142. package/dist/chunks/{micromark-extension-math-BbkUb36G.mjs → micromark-extension-math-D-s54WWf.mjs} +1 -1
  143. package/dist/chunks/{mindmap-definition-QFDTVHPH-hNnyBkEP.mjs → mindmap-definition-QFDTVHPH-C-0fwUUS.mjs} +13 -13
  144. package/dist/chunks/{ordinal-B-kolV-i.mjs → ordinal-fyJMP-lj.mjs} +1 -1
  145. package/dist/chunks/packet-4T2RLAQJ-suhU85JN.mjs +3 -0
  146. package/dist/chunks/{php-DmXKyPwJ.mjs → php-DA-SOiqC.mjs} +6 -6
  147. package/dist/chunks/pie-ZZUOXDRM-DF5e16CP.mjs +3 -0
  148. package/dist/chunks/pieDiagram-DEJITSTG-BPyqheXv.mjs +179 -0
  149. package/dist/chunks/{quadrantDiagram-34T5L4WZ-CQ5fGYI5.mjs → quadrantDiagram-34T5L4WZ-kOZ1zIXB.mjs} +4 -4
  150. package/dist/chunks/radar-PYXPWWZC-DgzodpRv.mjs +3 -0
  151. package/dist/chunks/{requirementDiagram-MS252O5E-DjWKB42c.mjs → requirementDiagram-MS252O5E-C8Zkq6Lq.mjs} +64 -64
  152. package/dist/chunks/{ruby-DdOo03Kg.mjs → ruby-HDUjp8gK.mjs} +11 -11
  153. package/dist/chunks/{sankeyDiagram-XADWPNL6-BIN2evSB.mjs → sankeyDiagram-XADWPNL6-B0FhkAL9.mjs} +3 -3
  154. package/dist/chunks/{sequenceDiagram-FGHM5R23-CQz2lMoS.mjs → sequenceDiagram-FGHM5R23-Dv2H5Lbc.mjs} +447 -447
  155. package/dist/chunks/stateDiagram-FHFEXIEX-D1vcO7H_.mjs +218 -0
  156. package/dist/chunks/stateDiagram-v2-QKLJ7IA2-AoHzFiaI.mjs +28 -0
  157. package/dist/chunks/{timeline-definition-GMOUNBTQ-CzvQ7Lav.mjs → timeline-definition-GMOUNBTQ-DJmJ0TPa.mjs} +195 -195
  158. package/dist/chunks/{tools-DMSi-3RW.mjs → tools-FmtWXVgt.mjs} +109 -142
  159. package/dist/chunks/treeView-SZITEDCU-C1mc9PWf.mjs +3 -0
  160. package/dist/chunks/treemap-W4RFUUIX-ClV9Slyp.mjs +3 -0
  161. package/dist/chunks/{vennDiagram-DHZGUBPP-B0DmLQqe.mjs → vennDiagram-DHZGUBPP-Dx1rMP24.mjs} +76 -76
  162. package/dist/chunks/wardley-RL74JXVD-Dj7t7jHR.mjs +3 -0
  163. package/dist/chunks/{wardleyDiagram-NUSXRM2D-CzoKesUw.mjs → wardleyDiagram-NUSXRM2D-Dnm6lvMn.mjs} +15 -15
  164. package/dist/chunks/{xml-g8kXXALs.mjs → xml-Dq1lpp8G.mjs} +1 -1
  165. package/dist/chunks/{xychartDiagram-5P7HB3ND-CixwR8r2.mjs → xychartDiagram-5P7HB3ND-C9wFc2e9.mjs} +120 -120
  166. package/dist/full.mjs +3 -3
  167. package/dist/locales.mjs +69 -67
  168. package/dist/markdown.mjs +1 -1
  169. package/dist/{chunks/messages-CPFB2_m-2.mjs → messages--zgIPYtb.mjs} +6 -3
  170. package/dist/{messages-D8dO6OMN.mjs → messages-4jULpVvw.mjs} +16 -13
  171. package/dist/{chunks/messages-CNaaqQVz.mjs → messages-AbwSlRf_.mjs} +10 -7
  172. package/dist/{chunks/messages-AD17iDBx.mjs → messages-B-dl7Pwb2.mjs} +9 -6
  173. package/dist/{chunks/messages-CGFlOwst.mjs → messages-B3rCRhb1.mjs} +8 -5
  174. package/dist/{chunks/messages-CCEgR9GN2.mjs → messages-B73L8nKc2.mjs} +8 -5
  175. package/dist/{chunks/messages-wYQksm10.mjs → messages-BAjsD2Vm2.mjs} +8 -5
  176. package/dist/{messages-C34dTwF72.mjs → messages-BBodSb5B2.mjs} +8 -5
  177. package/dist/{chunks/messages-O6FOfUgF.mjs → messages-BTpn6H9x2.mjs} +6 -3
  178. package/dist/{chunks/messages-Cql2ozf_2.mjs → messages-BWb0GjTj2.mjs} +8 -5
  179. package/dist/{messages-ELvF3qMl2.mjs → messages-BbCgnri12.mjs} +8 -5
  180. package/dist/{chunks/messages-OSP4Hj5o.mjs → messages-Bfon_Y3q.mjs} +9 -6
  181. package/dist/{chunks/messages-fbL5y58u2.mjs → messages-BhOtow9J2.mjs} +8 -5
  182. package/dist/{messages-6eX0fWGR2.mjs → messages-BoB7m0uu2.mjs} +9 -6
  183. package/dist/{chunks/messages-C3X7dv3f.mjs → messages-BsOZPjeg.mjs} +8 -5
  184. package/dist/{chunks/messages-vDgsEqQW2.mjs → messages-BuzKUYPV.mjs} +8 -5
  185. package/dist/{chunks/messages-BjyYZeBm2.mjs → messages-BzOKMdMQ.mjs} +6 -3
  186. package/dist/{messages-CxZarWTm2.mjs → messages-C2H3PeQW2.mjs} +8 -5
  187. package/dist/{messages-D0eT_eWA.mjs → messages-C5KNzSTk.mjs} +8 -5
  188. package/dist/{messages-CNGwdIEz.mjs → messages-CIDYjE6l.mjs} +8 -5
  189. package/dist/{messages-BPw_x-6H.mjs → messages-CJmyF5ye.mjs} +7 -4
  190. package/dist/{messages-VrQw3tQ62.mjs → messages-CTwiYb2a2.mjs} +6 -3
  191. package/dist/{messages-BM2kx9Td.mjs → messages-CUHoJaDO.mjs} +8 -5
  192. package/dist/{chunks/messages-RiqdVwuN2.mjs → messages-CVeuqUjQ2.mjs} +8 -5
  193. package/dist/{messages-KVerxvZC.mjs → messages-CW75b4sz.mjs} +8 -5
  194. package/dist/{messages-DA4T9WBe.mjs → messages-CXd7YeWV.mjs} +8 -5
  195. package/dist/{chunks/messages-CXVWb9js.mjs → messages-CjlYkunD.mjs} +8 -5
  196. package/dist/{chunks/messages-B8hICx3L.mjs → messages-CrGx64yd.mjs} +9 -6
  197. package/dist/{chunks/messages-C7Pjof0d2.mjs → messages-Ct0jbgHd.mjs} +8 -5
  198. package/dist/{messages-C67YUZ9-.mjs → messages-CtKrCYD1.mjs} +8 -5
  199. package/dist/{chunks/messages-B03yUEra2.mjs → messages-Cu2eLjfJ.mjs} +8 -5
  200. package/dist/{messages-BwttyHDI2.mjs → messages-CvwQ-fK_2.mjs} +8 -5
  201. package/dist/{chunks/messages-zQOpKjl3.mjs → messages-Cy6UYN9b.mjs} +6 -3
  202. package/dist/{messages-CrjQ2Op0.mjs → messages-D01vnfA9.mjs} +8 -5
  203. package/dist/{messages-C6yKu_PJ.mjs → messages-D0BAV45W.mjs} +8 -5
  204. package/dist/{messages-DxEiqa-B.mjs → messages-D5LGpdga.mjs} +9 -6
  205. package/dist/{messages-Dl0bfeA-.mjs → messages-DATK4ftv.mjs} +9 -6
  206. package/dist/{chunks/messages-D_kZN9rB.mjs → messages-DEl77Urv2.mjs} +9 -6
  207. package/dist/{messages-BRY51SEw2.mjs → messages-DHNjM2nv2.mjs} +6 -3
  208. package/dist/{messages-OOiDDmVw.mjs → messages-DMW8b_sO.mjs} +8 -5
  209. package/dist/{messages-tb1FD_ge.mjs → messages-DNmgANKr.mjs} +7 -4
  210. package/dist/{messages-Do3mHd9U.mjs → messages-DQaa3cEM.mjs} +9 -6
  211. package/dist/{chunks/messages-VtfKWZ2S.mjs → messages-DSlD4bV9.mjs} +8 -5
  212. package/dist/{messages-Dxr1BBvo.mjs → messages-DTzbkXFt.mjs} +8 -5
  213. package/dist/{chunks/messages-SP659Sal2.mjs → messages-DbZihxtV.mjs} +8 -5
  214. package/dist/{messages-Cv1PSaNk.mjs → messages-DeE8fyKQ.mjs} +8 -5
  215. package/dist/{messages-B4zPxKl62.mjs → messages-Dg-TpO2S2.mjs} +8 -5
  216. package/dist/{messages-CLZoy5fQ.mjs → messages-DgP82LzF.mjs} +7 -4
  217. package/dist/{chunks/messages-C85zv_7x.mjs → messages-Dh3Vt7WC.mjs} +7 -4
  218. package/dist/{chunks/messages-bFEdH3lv.mjs → messages-DiVVyZD22.mjs} +9 -6
  219. package/dist/{messages-BSNsrZVN.mjs → messages-DpRnGjoe.mjs} +10 -7
  220. package/dist/{messages-Dx5n6MLQ2.mjs → messages-DqZmrFaa2.mjs} +8 -5
  221. package/dist/{messages-D8U5D391.mjs → messages-Dra9Fz5Q.mjs} +11 -8
  222. package/dist/{chunks/messages-CpXvyGWv2.mjs → messages-DuPBRgEF2.mjs} +7 -4
  223. package/dist/{messages-JVJdC0Er2.mjs → messages-DuxEyAY-2.mjs} +9 -6
  224. package/dist/{chunks/messages-BGmvvtg_.mjs → messages-FmJD6lHR2.mjs} +8 -5
  225. package/dist/{messages-BLW2GX7J2.mjs → messages-ONielGl92.mjs} +8 -5
  226. package/dist/{chunks/messages-B2dU00Z3.mjs → messages-RzgUqCGb2.mjs} +8 -5
  227. package/dist/{chunks/messages-YbckahVx2.mjs → messages-U22AKGKs.mjs} +8 -5
  228. package/dist/{chunks/messages-CGPxUESo.mjs → messages-XufeeRfO.mjs} +8 -5
  229. package/dist/{messages-DUYxMxrQ2.mjs → messages-fprUm7SO2.mjs} +8 -5
  230. package/dist/{chunks/messages-BCifzMVO2.mjs → messages-gFNdz3Tn2.mjs} +8 -5
  231. package/dist/{messages-DfqM_XvD.mjs → messages-h_n5GBm6.mjs} +16 -13
  232. package/dist/{chunks/messages-VlEyFUxF2.mjs → messages-oOogIpsL2.mjs} +8 -5
  233. package/dist/{messages-D_V0kHD7.mjs → messages-otwg3KcK.mjs} +8 -5
  234. package/dist/{messages-BLfK27kX.mjs → messages-rDDoBMWb.mjs} +8 -5
  235. package/dist/{chunks/messages-BBe45sPH.mjs → messages-trQPxZIu.mjs} +8 -5
  236. package/dist/react.mjs +2 -2
  237. package/dist/tools.mjs +2 -2
  238. package/dist/vendor.LICENSE.txt +64 -64
  239. package/package.json +3 -2
  240. package/src/blok.ts +55 -0
  241. package/src/components/block/index.ts +2 -2
  242. package/src/components/block-tunes/block-tune-delete.ts +1 -0
  243. package/src/components/i18n/locales/am/messages.json +8 -5
  244. package/src/components/i18n/locales/ar/messages.json +8 -5
  245. package/src/components/i18n/locales/az/messages.json +8 -5
  246. package/src/components/i18n/locales/bg/messages.json +7 -4
  247. package/src/components/i18n/locales/bn/messages.json +8 -5
  248. package/src/components/i18n/locales/bs/messages.json +10 -7
  249. package/src/components/i18n/locales/cs/messages.json +9 -6
  250. package/src/components/i18n/locales/da/messages.json +9 -6
  251. package/src/components/i18n/locales/de/messages.json +9 -6
  252. package/src/components/i18n/locales/dv/messages.json +8 -5
  253. package/src/components/i18n/locales/el/messages.json +8 -5
  254. package/src/components/i18n/locales/en/messages.json +2 -0
  255. package/src/components/i18n/locales/es/messages.json +9 -6
  256. package/src/components/i18n/locales/et/messages.json +7 -4
  257. package/src/components/i18n/locales/fa/messages.json +8 -5
  258. package/src/components/i18n/locales/fi/messages.json +8 -5
  259. package/src/components/i18n/locales/fil/messages.json +16 -13
  260. package/src/components/i18n/locales/fr/messages.json +8 -5
  261. package/src/components/i18n/locales/gu/messages.json +8 -5
  262. package/src/components/i18n/locales/he/messages.json +8 -5
  263. package/src/components/i18n/locales/hi/messages.json +8 -5
  264. package/src/components/i18n/locales/hr/messages.json +10 -7
  265. package/src/components/i18n/locales/hu/messages.json +9 -6
  266. package/src/components/i18n/locales/hy/messages.json +16 -13
  267. package/src/components/i18n/locales/id/messages.json +7 -4
  268. package/src/components/i18n/locales/it/messages.json +11 -8
  269. package/src/components/i18n/locales/ja/messages.json +8 -5
  270. package/src/components/i18n/locales/ka/messages.json +8 -5
  271. package/src/components/i18n/locales/km/messages.json +6 -3
  272. package/src/components/i18n/locales/kn/messages.json +8 -5
  273. package/src/components/i18n/locales/ko/messages.json +8 -5
  274. package/src/components/i18n/locales/ku/messages.json +8 -5
  275. package/src/components/i18n/locales/lo/messages.json +6 -3
  276. package/src/components/i18n/locales/lt/messages.json +8 -5
  277. package/src/components/i18n/locales/lv/messages.json +8 -5
  278. package/src/components/i18n/locales/mk/messages.json +8 -5
  279. package/src/components/i18n/locales/ml/messages.json +8 -5
  280. package/src/components/i18n/locales/mn/messages.json +8 -5
  281. package/src/components/i18n/locales/mr/messages.json +8 -5
  282. package/src/components/i18n/locales/ms/messages.json +6 -3
  283. package/src/components/i18n/locales/my/messages.json +8 -5
  284. package/src/components/i18n/locales/ne/messages.json +8 -5
  285. package/src/components/i18n/locales/nl/messages.json +8 -5
  286. package/src/components/i18n/locales/no/messages.json +9 -6
  287. package/src/components/i18n/locales/pa/messages.json +8 -5
  288. package/src/components/i18n/locales/pl/messages.json +9 -6
  289. package/src/components/i18n/locales/ps/messages.json +8 -5
  290. package/src/components/i18n/locales/pt/messages.json +8 -5
  291. package/src/components/i18n/locales/ro/messages.json +8 -5
  292. package/src/components/i18n/locales/ru/messages.json +7 -4
  293. package/src/components/i18n/locales/sd/messages.json +8 -5
  294. package/src/components/i18n/locales/si/messages.json +8 -5
  295. package/src/components/i18n/locales/sk/messages.json +9 -6
  296. package/src/components/i18n/locales/sl/messages.json +9 -6
  297. package/src/components/i18n/locales/sq/messages.json +9 -6
  298. package/src/components/i18n/locales/sr/messages.json +8 -5
  299. package/src/components/i18n/locales/sv/messages.json +8 -5
  300. package/src/components/i18n/locales/sw/messages.json +6 -3
  301. package/src/components/i18n/locales/ta/messages.json +8 -5
  302. package/src/components/i18n/locales/te/messages.json +8 -5
  303. package/src/components/i18n/locales/th/messages.json +6 -3
  304. package/src/components/i18n/locales/tr/messages.json +8 -5
  305. package/src/components/i18n/locales/ug/messages.json +8 -5
  306. package/src/components/i18n/locales/uk/messages.json +7 -4
  307. package/src/components/i18n/locales/ur/messages.json +8 -5
  308. package/src/components/i18n/locales/vi/messages.json +6 -3
  309. package/src/components/i18n/locales/yi/messages.json +8 -5
  310. package/src/components/i18n/locales/zh/messages.json +8 -5
  311. package/src/components/inline-tools/inline-tool-code.ts +0 -19
  312. package/src/components/inline-tools/inline-tool-italic.ts +3 -20
  313. package/src/components/inline-tools/inline-tool-strikethrough.ts +0 -19
  314. package/src/components/inline-tools/inline-tool-underline.ts +0 -19
  315. package/src/components/inline-tools/services/bold-normalization-pass.ts +1 -29
  316. package/src/components/modules/blockEvents/composers/keyboardNavigation.ts +11 -5
  317. package/src/components/modules/blockEvents/composers/markdownShortcuts.ts +105 -2
  318. package/src/components/modules/blockEvents/constants.ts +24 -0
  319. package/src/components/modules/blockManager/blockManager.ts +1 -1
  320. package/src/components/modules/blockManager/types.ts +1 -1
  321. package/src/components/modules/toolbar/blockSettings.ts +89 -11
  322. package/src/components/modules/ui.ts +1 -0
  323. package/src/components/modules/uiControllers/controllers/keyboard.ts +55 -5
  324. package/src/components/modules/yjs/document-store.ts +1 -1
  325. package/src/components/modules/yjs/index.ts +1 -1
  326. package/src/components/utils/popover/popover-abstract.ts +9 -0
  327. package/src/styles/main.css +3 -0
  328. package/src/tools/code/index.ts +1 -0
  329. package/src/tools/database/database-view.ts +269 -0
  330. package/src/tools/database/types.ts +16 -0
  331. package/src/tools/quote/index.ts +1 -0
  332. package/types/configs/blok-config.d.ts +13 -3
  333. package/types/configs/index.d.ts +1 -0
  334. package/types/configs/user-info.d.ts +14 -0
  335. package/types/data-formats/output-data.d.ts +2 -2
  336. package/types/index.d.ts +1 -0
  337. package/dist/chunks/_basePickBy-DISiGhsr.mjs +0 -410
  338. package/dist/chunks/_baseUniq-gAuHRtRF.mjs +0 -1045
  339. package/dist/chunks/_getTag-Aj56Wgor.mjs +0 -26
  340. package/dist/chunks/architecture-YZFGNWBL-CuqTb_ae.mjs +0 -3
  341. package/dist/chunks/chunk-5PVQY5BW-CORl9dnu.mjs +0 -1692
  342. package/dist/chunks/classDiagram-6PBFFD2Q-C59BZJxp.mjs +0 -30
  343. package/dist/chunks/classDiagram-v2-HSJHXN6E-7a0qeMsE.mjs +0 -30
  344. package/dist/chunks/diagram-5BDNPKRD-CZGfTYEe.mjs +0 -112
  345. package/dist/chunks/gitGraph-7Q5UKJZL-Dl-vQzrq.mjs +0 -3
  346. package/dist/chunks/info-OMHHGYJF-BOejJvJR.mjs +0 -3
  347. package/dist/chunks/line-Dct5pMmw.mjs +0 -34
  348. package/dist/chunks/mermaid.core-CA8nc1sZ.mjs +0 -989
  349. package/dist/chunks/packet-4T2RLAQJ-B5ZMgwzZ.mjs +0 -3
  350. package/dist/chunks/pie-ZZUOXDRM-B9l6y0XJ.mjs +0 -3
  351. package/dist/chunks/pieDiagram-DEJITSTG-Gw-fsc6U.mjs +0 -179
  352. package/dist/chunks/radar-PYXPWWZC-D5kYmUaB.mjs +0 -3
  353. package/dist/chunks/stateDiagram-FHFEXIEX-BIBFsF65.mjs +0 -218
  354. package/dist/chunks/stateDiagram-v2-QKLJ7IA2-BZUmAVw7.mjs +0 -28
  355. package/dist/chunks/treeView-SZITEDCU-BNtnNxpI.mjs +0 -3
  356. package/dist/chunks/treemap-W4RFUUIX-DYENULz2.mjs +0 -3
  357. package/dist/chunks/wardley-RL74JXVD-ByNHVBTb.mjs +0 -3
  358. /package/dist/chunks/{am-BxlkYGsI.mjs → am-Bbd7cTHS.mjs} +0 -0
  359. /package/dist/chunks/{ar-9vlpr9V8.mjs → ar-Bo71sCQE.mjs} +0 -0
  360. /package/dist/chunks/{array-BsrkCVSZ.mjs → array-DbiMs_0t.mjs} +0 -0
  361. /package/dist/chunks/{az-ON63W_FP.mjs → az-BnNrO_xK.mjs} +0 -0
  362. /package/dist/chunks/{bg-CtXWTP5w.mjs → bg-CMd2n-OG.mjs} +0 -0
  363. /package/dist/chunks/{bn-BERvhXM4.mjs → bn-B3lorfXA.mjs} +0 -0
  364. /package/dist/chunks/{bs-CBg8NVPG.mjs → bs-_zM8QBsA.mjs} +0 -0
  365. /package/dist/chunks/{c-C6JXJf5K.mjs → c-DmKJe6GM.mjs} +0 -0
  366. /package/dist/chunks/{core-Bm6DWt7D.mjs → core-C942GvJO.mjs} +0 -0
  367. /package/dist/chunks/{cs-DeQddxS7.mjs → cs-nodpmLBf.mjs} +0 -0
  368. /package/dist/chunks/{csharp-YHxeHpeH.mjs → csharp-Drv96dbi.mjs} +0 -0
  369. /package/dist/chunks/{css-DdLevFaX.mjs → css-82tNAoU6.mjs} +0 -0
  370. /package/dist/chunks/{cytoscape.esm-BvD8wo00.mjs → cytoscape.esm-DSb9a7HE.mjs} +0 -0
  371. /package/dist/chunks/{da-DyTo-ec_.mjs → da-DwzgQcXQ.mjs} +0 -0
  372. /package/dist/chunks/{dart-DrPWqfcC.mjs → dart-DE9j8McI.mjs} +0 -0
  373. /package/dist/chunks/{de-Cu7545m1.mjs → de-BvWPiNt6.mjs} +0 -0
  374. /package/dist/chunks/{defaultLocale-ChuSeAxU.mjs → defaultLocale-yTyMJ3IT.mjs} +0 -0
  375. /package/dist/chunks/{dist-Ctq-pyfb.mjs → dist-X14EnMrO.mjs} +0 -0
  376. /package/dist/chunks/{dockerfile-C68ALcaN.mjs → dockerfile-D9DFksUy.mjs} +0 -0
  377. /package/dist/chunks/{el-oiubLRBq.mjs → el-B_D7wUrZ.mjs} +0 -0
  378. /package/dist/chunks/{engine-javascript-CJpnSvzf.mjs → engine-javascript-Dd6ViPCH.mjs} +0 -0
  379. /package/dist/chunks/{es-DZUC6Klv.mjs → es-Bn_ZFyW9.mjs} +0 -0
  380. /package/dist/chunks/{et-CDeklAog.mjs → et-CUcULjoh.mjs} +0 -0
  381. /package/dist/chunks/{fa-Cafp7_Li.mjs → fa-BRhCTsOy.mjs} +0 -0
  382. /package/dist/chunks/{fi-BD_V_aVW.mjs → fi-BEvyU9n6.mjs} +0 -0
  383. /package/dist/chunks/{fil-Crsfbtx4.mjs → fil-Dlp1_W2B.mjs} +0 -0
  384. /package/dist/chunks/{fr-BGGc04Zv.mjs → fr-DJBeOAx1.mjs} +0 -0
  385. /package/dist/chunks/{go-Fm5N96DN.mjs → go-jyWjtO8q.mjs} +0 -0
  386. /package/dist/chunks/{gu-Vg_BgCTp.mjs → gu-0hWvx16l.mjs} +0 -0
  387. /package/dist/chunks/{he-DTY9chlZ.mjs → he-CYe88qXp.mjs} +0 -0
  388. /package/dist/chunks/{hi-DChMXk0x.mjs → hi-DuLkkPWn.mjs} +0 -0
  389. /package/dist/chunks/{hr-BWVgNU8k.mjs → hr-BwCB1IMW.mjs} +0 -0
  390. /package/dist/chunks/{hu-B37awHXA.mjs → hu-C2dLyTeX.mjs} +0 -0
  391. /package/dist/chunks/{hy-DGC_GDHh.mjs → hy-DXKoDpv9.mjs} +0 -0
  392. /package/dist/chunks/{i18next-CXx5niYF.mjs → i18next-CLUkHqmV.mjs} +0 -0
  393. /package/dist/chunks/{id-V7cw6La2.mjs → id-D4chLuW_.mjs} +0 -0
  394. /package/dist/chunks/{init-C6T-mugb.mjs → init-BlLeEogJ.mjs} +0 -0
  395. /package/dist/chunks/{it-DrTGP8Rn.mjs → it-Hto3G26t.mjs} +0 -0
  396. /package/dist/chunks/{ja-DS4pbJEG.mjs → ja-UxHm_PPZ.mjs} +0 -0
  397. /package/dist/chunks/{java-83DWBpzu.mjs → java-Dhv78FEb.mjs} +0 -0
  398. /package/dist/chunks/{javascript-CBgeF1Xx.mjs → javascript-DilE9EuZ.mjs} +0 -0
  399. /package/dist/chunks/{json-BI17y-1H.mjs → json-LUtHrtDA.mjs} +0 -0
  400. /package/dist/chunks/{ka-BueyosRh.mjs → ka-BnjXwPUq.mjs} +0 -0
  401. /package/dist/chunks/{katex-CmTPfM0f.mjs → katex-B8jUB5Cv.mjs} +0 -0
  402. /package/dist/chunks/{km-B0K891yW.mjs → km-exgzZBIE.mjs} +0 -0
  403. /package/dist/chunks/{kn-BQ__skg8.mjs → kn-DjjUg8aO.mjs} +0 -0
  404. /package/dist/chunks/{ko-BuPxi_7e.mjs → ko-Cu0YUSV6.mjs} +0 -0
  405. /package/dist/chunks/{kotlin-DjnvsrfO.mjs → kotlin-DFLPXbOQ.mjs} +0 -0
  406. /package/dist/chunks/{ku-nQjwPRw2.mjs → ku-D-IxJ0fx.mjs} +0 -0
  407. /package/dist/chunks/{lo-K5NVFoq1.mjs → lo-BcwjJBcv.mjs} +0 -0
  408. /package/dist/chunks/{lt-D3xD6Eb2.mjs → lt-Bt05MFPC.mjs} +0 -0
  409. /package/dist/chunks/{lv-DH13mzZj.mjs → lv-B01TmEFW.mjs} +0 -0
  410. /package/dist/chunks/{markdown-BqQYT45f.mjs → markdown-C6pnqcPd.mjs} +0 -0
  411. /package/dist/chunks/{mdast-util-math-BlK2Zu-1.mjs → mdast-util-math-D56mMxhB.mjs} +0 -0
  412. /package/dist/chunks/{mermaid-vF0cEnZ0.mjs → mermaid-BKA834jS.mjs} +0 -0
  413. /package/dist/chunks/{mk-Bb48BcDA.mjs → mk-DlZNyDhn.mjs} +0 -0
  414. /package/dist/chunks/{ml-BHPEj1kD.mjs → ml-CizMIOxl.mjs} +0 -0
  415. /package/dist/chunks/{mn-BNGzpdI6.mjs → mn-B_pDvxok.mjs} +0 -0
  416. /package/dist/chunks/{mr-D5PgU-cH.mjs → mr-D8D_7YmW.mjs} +0 -0
  417. /package/dist/chunks/{ms-DPkxqKz5.mjs → ms-CM93I8ec.mjs} +0 -0
  418. /package/dist/chunks/{my-DZGcyfxy.mjs → my-BGnGdDAV.mjs} +0 -0
  419. /package/dist/chunks/{ne-BU_Wh4Wv.mjs → ne-C6ZmmqhH.mjs} +0 -0
  420. /package/dist/chunks/{nl-DtAPk1mK.mjs → nl-UGFOU80W.mjs} +0 -0
  421. /package/dist/chunks/{no-CdW3n3BY.mjs → no-as-DKhC4.mjs} +0 -0
  422. /package/dist/chunks/{notifier-CuvTt9pe.mjs → notifier-PpnFhM0m.mjs} +0 -0
  423. /package/dist/chunks/{one-light-DmNO_Y4X.mjs → one-light-Di_o5Kb7.mjs} +0 -0
  424. /package/dist/chunks/{pa-BacCHz87.mjs → pa-DiOAveAI.mjs} +0 -0
  425. /package/dist/chunks/{path-rIMjg_tH.mjs → path-7pA19U_d.mjs} +0 -0
  426. /package/dist/chunks/{pl-8zBJbmhZ.mjs → pl-DXk8ye3B.mjs} +0 -0
  427. /package/dist/chunks/{ps-c6nGXD-W.mjs → ps-CuxilZ3F.mjs} +0 -0
  428. /package/dist/chunks/{pt-B5yR8Qhr.mjs → pt-DsT6E77q.mjs} +0 -0
  429. /package/dist/chunks/{python-DfwfY9t5.mjs → python-DYiHKGPV.mjs} +0 -0
  430. /package/dist/chunks/{r-BD2D7qEW.mjs → r-BZ4pC-Uz.mjs} +0 -0
  431. /package/dist/chunks/{ro-Nscylsqb.mjs → ro-CcAQOL-B.mjs} +0 -0
  432. /package/dist/chunks/{rough.esm-cmMIcj7N.mjs → rough.esm-BPA_YwbP.mjs} +0 -0
  433. /package/dist/chunks/{ru-DxERQkVJ.mjs → ru-hD41D0Fd.mjs} +0 -0
  434. /package/dist/chunks/{rust-DEDueB5R.mjs → rust-Db_HEGL5.mjs} +0 -0
  435. /package/dist/chunks/{scala-CsjqvxE4.mjs → scala-B1kK21mu.mjs} +0 -0
  436. /package/dist/chunks/{sd-5z-QY3q9.mjs → sd-Biu7f00A.mjs} +0 -0
  437. /package/dist/chunks/{shellscript-Bh5zEpnQ.mjs → shellscript-BBh7AxMC.mjs} +0 -0
  438. /package/dist/chunks/{si-DTL0mzrx.mjs → si-Bhto6prC.mjs} +0 -0
  439. /package/dist/chunks/{sk-DrGczTvY.mjs → sk-Ce7J4sHX.mjs} +0 -0
  440. /package/dist/chunks/{sl-D8nJjig4.mjs → sl-Fz7idR9w.mjs} +0 -0
  441. /package/dist/chunks/{sq-C74Hm3YL.mjs → sq-CnLb3bAQ.mjs} +0 -0
  442. /package/dist/chunks/{sql-D9CrOi1i.mjs → sql-DHkazX4B.mjs} +0 -0
  443. /package/dist/chunks/{sr-DAwB05Gj.mjs → sr-Bc5JbF-b.mjs} +0 -0
  444. /package/dist/chunks/{src-DVJl6f6s.mjs → src-B3rrEIze.mjs} +0 -0
  445. /package/dist/chunks/{sv-BkHBsN4y.mjs → sv-B86P2LyK.mjs} +0 -0
  446. /package/dist/chunks/{sw-BBQLTq_z.mjs → sw-CnQXriTg.mjs} +0 -0
  447. /package/dist/chunks/{swift-Dpyt0s2c.mjs → swift-DZdprfb-.mjs} +0 -0
  448. /package/dist/chunks/{ta-DRRzdKky.mjs → ta-CG4BbxjE.mjs} +0 -0
  449. /package/dist/chunks/{te-CedXLsKM.mjs → te-CkE35V1X.mjs} +0 -0
  450. /package/dist/chunks/{th-DDOlGA0W.mjs → th-BCtkHu3E.mjs} +0 -0
  451. /package/dist/chunks/{tr-ClgvwOlL.mjs → tr-D5Cexvko.mjs} +0 -0
  452. /package/dist/chunks/{typescript-DO5cd4m8.mjs → typescript-DhtGMhWX.mjs} +0 -0
  453. /package/dist/chunks/{ug-bXxwiinM.mjs → ug-Bt9xMT4p.mjs} +0 -0
  454. /package/dist/chunks/{uk-Dp46o_VT.mjs → uk-D1g7UV0v.mjs} +0 -0
  455. /package/dist/chunks/{ur-MfEEhdFq.mjs → ur-B69faQh_.mjs} +0 -0
  456. /package/dist/chunks/{vi-bt-3LPGO.mjs → vi--gW42cZG.mjs} +0 -0
  457. /package/dist/chunks/{vitesse-dark-CcorSKT2.mjs → vitesse-dark-B5oAIYZ5.mjs} +0 -0
  458. /package/dist/chunks/{yaml-CrNNZyLb.mjs → yaml-T4MCc8o4.mjs} +0 -0
  459. /package/dist/chunks/{zh-Dgyb5Ly8.mjs → zh-DgQ6P8Lu.mjs} +0 -0
@@ -1,8 +1,10 @@
1
1
  import { a as e, i as t, n, o as r, r as i, t as a } from "./chunk-D6kmoKXy.mjs";
2
2
  import { n as o, t as s } from "./objectSpread2-CWwMYL_U.mjs";
3
- import { A as c, G as l, H as u, I as d, K as f, O as p, Q as m, V as h, Z as g, a as _, at as v, b as y, c as b, ct as x, d as S, dt as C, f as w, ft as ee, h as T, i as E, it as D, lt as te, n as O, o as k, ot as ne, q as re, r as ie, s as ae, st as oe, t as A, u as se, x as j, y as ce } from "./_baseUniq-gAuHRtRF.mjs";
4
- import { C as M, E as le, S as ue, a as N, b as de, d as fe, h as pe, l as me, n as he, o as P, s as F, t as ge, u as _e, v as ve, w as ye, x as be } from "./_basePickBy-DISiGhsr.mjs";
5
- import { t as I } from "./clone-Ckjt1LtE.mjs";
3
+ import { B as c, C as l, E as u, H as d, O as f, R as p, S as m, U as h, V as g, _, j as v, k as y, t as ee, v as b, w as x, x as te, z as S } from "./isArrayLikeObject-DzUNFfIK.mjs";
4
+ import { D as C, M as w, O as ne, S as re, _ as ie, a as T, b as ae, f as oe, g as se, i as E, j as D, k as ce, l as le, n as O, o as k, r as A, s as j, t as ue, u as de, v as fe, x as pe } from "./_baseUniq-C977U_l-.mjs";
5
+ import { a as me, d as he, f as M, l as ge, n as _e, o as N, p as ve, s as P, t as ye, u as be } from "./_basePickBy--UeZi0iS.mjs";
6
+ import { t as F } from "./isEmpty-D8B0aRsG.mjs";
7
+ import { t as I } from "./clone-CUNvBGto.mjs";
6
8
  //#region node_modules/langium/lib/syntax-tree.js
7
9
  function L(e) {
8
10
  return typeof e == "object" && !!e && typeof e.$type == "string";
@@ -2593,12 +2595,12 @@ function Fr(e) {
2593
2595
  }
2594
2596
  //#endregion
2595
2597
  //#region node_modules/lodash-es/assign.js
2596
- var Ir = Object.prototype.hasOwnProperty, Lr = de(function(e, t) {
2597
- if (l(t) || f(t)) {
2598
- ue(t, d(t), e);
2598
+ var Ir = Object.prototype.hasOwnProperty, Lr = m(function(e, t) {
2599
+ if (te(t) || x(t)) {
2600
+ f(t, C(t), e);
2599
2601
  return;
2600
2602
  }
2601
- for (var n in t) Ir.call(t, n) && M(e, n, t[n]);
2603
+ for (var n in t) Ir.call(t, n) && y(e, n, t[n]);
2602
2604
  });
2603
2605
  //#endregion
2604
2606
  //#region node_modules/lodash-es/_baseSlice.js
@@ -2629,7 +2631,7 @@ function Br(e, t, n, r) {
2629
2631
  //#endregion
2630
2632
  //#region node_modules/lodash-es/_baseAggregator.js
2631
2633
  function Vr(e, t, n, r) {
2632
- return w(e, function(e, i, a) {
2634
+ return de(e, function(e, i, a) {
2633
2635
  t(r, e, n(e), a);
2634
2636
  }), r;
2635
2637
  }
@@ -2637,42 +2639,42 @@ function Vr(e, t, n, r) {
2637
2639
  //#region node_modules/lodash-es/_createAggregator.js
2638
2640
  function Hr(e, t) {
2639
2641
  return function(n, r) {
2640
- var i = x(n) ? Br : Vr, a = t ? t() : {};
2641
- return i(n, e, T(r, 2), a);
2642
+ var i = g(n) ? Br : Vr, a = t ? t() : {};
2643
+ return i(n, e, oe(r, 2), a);
2642
2644
  };
2643
2645
  }
2644
2646
  //#endregion
2645
2647
  //#region node_modules/lodash-es/_baseDifference.js
2646
2648
  var Ur = 200;
2647
2649
  function Wr(e, t, n, r) {
2648
- var i = -1, a = g, o = !0, s = e.length, c = [], l = t.length;
2650
+ var i = -1, a = ne, o = !0, s = e.length, c = [], l = t.length;
2649
2651
  if (!s) return c;
2650
- n && (t = te(t, u(n))), r ? (a = se, o = !1) : t.length >= Ur && (a = ce, o = !1, t = new j(t));
2652
+ n && (t = w(t, b(n))), r ? (a = le, o = !1) : t.length >= Ur && (a = se, o = !1, t = new fe(t));
2651
2653
  outer: for (; ++i < s;) {
2652
- var d = e[i], f = n == null ? d : n(d);
2653
- if (d = r || d !== 0 ? d : 0, o && f === f) {
2654
- for (var p = l; p--;) if (t[p] === f) continue outer;
2655
- c.push(d);
2656
- } else a(t, f, r) || c.push(d);
2654
+ var u = e[i], d = n == null ? u : n(u);
2655
+ if (u = r || u !== 0 ? u : 0, o && d === d) {
2656
+ for (var f = l; f--;) if (t[f] === d) continue outer;
2657
+ c.push(u);
2658
+ } else a(t, d, r) || c.push(u);
2657
2659
  }
2658
2660
  return c;
2659
2661
  }
2660
2662
  //#endregion
2661
2663
  //#region node_modules/lodash-es/difference.js
2662
- var Gr = re(function(e, t) {
2663
- return S(e) ? Wr(e, c(t, 1, S, !0)) : [];
2664
+ var Gr = u(function(e, t) {
2665
+ return ee(e) ? Wr(e, re(t, 1, ee, !0)) : [];
2664
2666
  });
2665
2667
  //#endregion
2666
2668
  //#region node_modules/lodash-es/drop.js
2667
2669
  function Kr(e, t, n) {
2668
2670
  var r = e == null ? 0 : e.length;
2669
- return r ? (t = n || t === void 0 ? 1 : le(t), Rr(e, t < 0 ? 0 : t, r)) : [];
2671
+ return r ? (t = n || t === void 0 ? 1 : ve(t), Rr(e, t < 0 ? 0 : t, r)) : [];
2670
2672
  }
2671
2673
  //#endregion
2672
2674
  //#region node_modules/lodash-es/dropRight.js
2673
2675
  function qr(e, t, n) {
2674
2676
  var r = e == null ? 0 : e.length;
2675
- return r ? (t = n || t === void 0 ? 1 : le(t), t = r - t, Rr(e, 0, t < 0 ? 0 : t)) : [];
2677
+ return r ? (t = n || t === void 0 ? 1 : ve(t), t = r - t, Rr(e, 0, t < 0 ? 0 : t)) : [];
2676
2678
  }
2677
2679
  //#endregion
2678
2680
  //#region node_modules/lodash-es/_arrayEvery.js
@@ -2684,15 +2686,15 @@ function Jr(e, t) {
2684
2686
  //#region node_modules/lodash-es/_baseEvery.js
2685
2687
  function Yr(e, t) {
2686
2688
  var n = !0;
2687
- return w(e, function(e, r, i) {
2689
+ return de(e, function(e, r, i) {
2688
2690
  return n = !!t(e, r, i), n;
2689
2691
  }), n;
2690
2692
  }
2691
2693
  //#endregion
2692
2694
  //#region node_modules/lodash-es/every.js
2693
2695
  function Xr(e, t, n) {
2694
- var r = x(e) ? Jr : Yr;
2695
- return n && be(e, t, n) && (t = void 0), r(e, T(t, 3));
2696
+ var r = g(e) ? Jr : Yr;
2697
+ return n && l(e, t, n) && (t = void 0), r(e, oe(t, 3));
2696
2698
  }
2697
2699
  //#endregion
2698
2700
  //#region node_modules/lodash-es/head.js
@@ -2702,17 +2704,17 @@ function Zr(e) {
2702
2704
  //#endregion
2703
2705
  //#region node_modules/lodash-es/flatMap.js
2704
2706
  function Qr(e, t) {
2705
- return c(F(e, t), 1);
2707
+ return re(P(e, t), 1);
2706
2708
  }
2707
2709
  //#endregion
2708
2710
  //#region node_modules/lodash-es/groupBy.js
2709
2711
  var $r = Object.prototype.hasOwnProperty, ei = Hr(function(e, t, n) {
2710
- $r.call(e, n) ? e[n].push(t) : ye(e, n, [t]);
2712
+ $r.call(e, n) ? e[n].push(t) : v(e, n, [t]);
2711
2713
  }), ti = Math.max;
2712
2714
  function ni(e, t, n, r) {
2713
- e = f(e) ? e : _(e), n = n && !r ? le(n) : 0;
2715
+ e = x(e) ? e : E(e), n = n && !r ? ve(n) : 0;
2714
2716
  var i = e.length;
2715
- return n < 0 && (n = ti(i + n, 0)), N(e) ? n <= i && e.indexOf(t, n) > -1 : !!i && m(e, t, n) > -1;
2717
+ return n < 0 && (n = ti(i + n, 0)), me(e) ? n <= i && e.indexOf(t, n) > -1 : !!i && ce(e, t, n) > -1;
2716
2718
  }
2717
2719
  //#endregion
2718
2720
  //#region node_modules/lodash-es/indexOf.js
@@ -2720,18 +2722,18 @@ var ri = Math.max;
2720
2722
  function ii(e, t, n) {
2721
2723
  var r = e == null ? 0 : e.length;
2722
2724
  if (!r) return -1;
2723
- var i = n == null ? 0 : le(n);
2724
- return i < 0 && (i = ri(r + i, 0)), m(e, t, i);
2725
+ var i = n == null ? 0 : ve(n);
2726
+ return i < 0 && (i = ri(r + i, 0)), ce(e, t, i);
2725
2727
  }
2726
2728
  //#endregion
2727
2729
  //#region node_modules/lodash-es/_baseIsRegExp.js
2728
2730
  var ai = "[object RegExp]";
2729
2731
  function oi(e) {
2730
- return C(e) && ee(e) == ai;
2732
+ return d(e) && h(e) == ai;
2731
2733
  }
2732
2734
  //#endregion
2733
2735
  //#region node_modules/lodash-es/isRegExp.js
2734
- var si = h && h.isRegExp, ci = si ? u(si) : oi, li = "Expected a function";
2736
+ var si = _ && _.isRegExp, ci = si ? b(si) : oi, li = "Expected a function";
2735
2737
  function ui(e) {
2736
2738
  if (typeof e != "function") throw TypeError(li);
2737
2739
  return function() {
@@ -2749,41 +2751,41 @@ function ui(e) {
2749
2751
  //#region node_modules/lodash-es/pickBy.js
2750
2752
  function di(e, t) {
2751
2753
  if (e == null) return {};
2752
- var n = te(pe(e), function(e) {
2754
+ var n = w(ae(e), function(e) {
2753
2755
  return [e];
2754
2756
  });
2755
- return t = T(t), ge(e, n, function(e, n) {
2757
+ return t = oe(t), ye(e, n, function(e, n) {
2756
2758
  return t(e, n[0]);
2757
2759
  });
2758
2760
  }
2759
2761
  //#endregion
2760
2762
  //#region node_modules/lodash-es/reject.js
2761
2763
  function fi(e, t) {
2762
- return (x(e) ? p : ae)(e, ui(T(t, 3)));
2764
+ return (g(e) ? pe : k)(e, ui(oe(t, 3)));
2763
2765
  }
2764
2766
  //#endregion
2765
2767
  //#region node_modules/lodash-es/_baseSome.js
2766
2768
  function pi(e, t) {
2767
2769
  var n;
2768
- return w(e, function(e, r, i) {
2770
+ return de(e, function(e, r, i) {
2769
2771
  return n = t(e, r, i), !n;
2770
2772
  }), !!n;
2771
2773
  }
2772
2774
  //#endregion
2773
2775
  //#region node_modules/lodash-es/some.js
2774
2776
  function mi(e, t, n) {
2775
- var r = x(e) ? y : pi;
2776
- return n && be(e, t, n) && (t = void 0), r(e, T(t, 3));
2777
+ var r = g(e) ? ie : pi;
2778
+ return n && l(e, t, n) && (t = void 0), r(e, oe(t, 3));
2777
2779
  }
2778
2780
  //#endregion
2779
2781
  //#region node_modules/lodash-es/uniq.js
2780
2782
  function hi(e) {
2781
- return e && e.length ? A(e) : [];
2783
+ return e && e.length ? ue(e) : [];
2782
2784
  }
2783
2785
  //#endregion
2784
2786
  //#region node_modules/lodash-es/uniqBy.js
2785
2787
  function gi(e, t) {
2786
- return e && e.length ? A(e, T(t, 2)) : [];
2788
+ return e && e.length ? ue(e, oe(t, 2)) : [];
2787
2789
  }
2788
2790
  //#endregion
2789
2791
  //#region node_modules/@chevrotain/utils/lib/src/print.js
@@ -2821,7 +2823,7 @@ function xi(e) {
2821
2823
  return Si(e) ? e.LABEL : e.name;
2822
2824
  }
2823
2825
  function Si(e) {
2824
- return N(e.LABEL) && e.LABEL !== "";
2826
+ return me(e.LABEL) && e.LABEL !== "";
2825
2827
  }
2826
2828
  var Ci = class {
2827
2829
  get definition() {
@@ -2834,7 +2836,7 @@ var Ci = class {
2834
2836
  this._definition = e;
2835
2837
  }
2836
2838
  accept(e) {
2837
- e.visit(this), b(this.definition, (t) => {
2839
+ e.visit(this), j(this.definition, (t) => {
2838
2840
  t.accept(e);
2839
2841
  });
2840
2842
  }
@@ -2896,11 +2898,11 @@ var Ci = class {
2896
2898
  }
2897
2899
  };
2898
2900
  function Mi(e) {
2899
- return F(e, Ni);
2901
+ return P(e, Ni);
2900
2902
  }
2901
2903
  function Ni(e) {
2902
2904
  function t(e) {
2903
- return F(e, Ni);
2905
+ return P(e, Ni);
2904
2906
  }
2905
2907
  /* istanbul ignore else */
2906
2908
  if (e instanceof wi) {
@@ -2909,7 +2911,7 @@ function Ni(e) {
2909
2911
  name: e.nonTerminalName,
2910
2912
  idx: e.idx
2911
2913
  };
2912
- return N(e.label) && (t.label = e.label), t;
2914
+ return me(e.label) && (t.label = e.label), t;
2913
2915
  } else if (e instanceof Ei) return {
2914
2916
  type: "Alternative",
2915
2917
  definition: t(e.definition)
@@ -2953,7 +2955,7 @@ function Ni(e) {
2953
2955
  label: xi(e.terminalType),
2954
2956
  idx: e.idx
2955
2957
  };
2956
- N(e.label) && (t.terminalLabel = e.label);
2958
+ me(e.label) && (t.terminalLabel = e.label);
2957
2959
  let n = e.terminalType.PATTERN;
2958
2960
  return e.terminalType.PATTERN && (t.pattern = ci(n) ? n.source : n), t;
2959
2961
  } else if (e instanceof Ti) return {
@@ -3031,7 +3033,7 @@ function Ri(e) {
3031
3033
  //#region node_modules/chevrotain/lib/src/parse/grammar/rest.js
3032
3034
  var zi = class {
3033
3035
  walk(e, t = []) {
3034
- b(e.definition, (n, r) => {
3036
+ j(e.definition, (n, r) => {
3035
3037
  let i = Kr(e.definition, r + 1);
3036
3038
  /* istanbul ignore else */
3037
3039
  if (n instanceof wi) this.walkProdRef(n, i, t);
@@ -3074,7 +3076,7 @@ var zi = class {
3074
3076
  }
3075
3077
  walkOr(e, t, n) {
3076
3078
  let r = t.concat(n);
3077
- b(e.definition, (e) => {
3079
+ j(e.definition, (e) => {
3078
3080
  let t = new Ei({ definition: [e] });
3079
3081
  this.walk(t, r);
3080
3082
  });
@@ -3099,7 +3101,7 @@ function Hi(e) {
3099
3101
  return hi(t);
3100
3102
  }
3101
3103
  function Ui(e) {
3102
- return hi(ve(F(e.definition, (e) => Vi(e))));
3104
+ return hi(M(P(e.definition, (e) => Vi(e))));
3103
3105
  }
3104
3106
  function Wi(e) {
3105
3107
  return [e.terminalType];
@@ -3121,7 +3123,7 @@ var Gi = "_~IN~_", Ki = class extends zi {
3121
3123
  };
3122
3124
  function qi(e) {
3123
3125
  let t = {};
3124
- return b(e, (e) => {
3126
+ return j(e, (e) => {
3125
3127
  Lr(t, new Ki(e).startWalking());
3126
3128
  }), t;
3127
3129
  }
@@ -3188,7 +3190,7 @@ function na(e, t, n) {
3188
3190
  break;
3189
3191
  case "Set":
3190
3192
  if (a.complement === !0) throw Error($i);
3191
- b(a.value, (e) => {
3193
+ j(a.value, (e) => {
3192
3194
  if (typeof e == "number") ra(e, t, n);
3193
3195
  else {
3194
3196
  let r = e;
@@ -3214,7 +3216,7 @@ function na(e, t, n) {
3214
3216
  break;
3215
3217
  default: throw Error("non exhaustive match!");
3216
3218
  }
3217
- return _(t);
3219
+ return E(t);
3218
3220
  }
3219
3221
  function ra(e, t, n) {
3220
3222
  let r = Ha(e);
@@ -3235,17 +3237,17 @@ function ia(e, t) {
3235
3237
  }
3236
3238
  }
3237
3239
  function aa(e, t) {
3238
- return me(e.value, (e) => {
3240
+ return ge(e.value, (e) => {
3239
3241
  if (typeof e == "number") return ni(t, e);
3240
3242
  {
3241
3243
  let n = e;
3242
- return me(t, (e) => n.from <= e && e <= n.to) !== void 0;
3244
+ return ge(t, (e) => n.from <= e && e <= n.to) !== void 0;
3243
3245
  }
3244
3246
  });
3245
3247
  }
3246
3248
  function oa(e) {
3247
3249
  let t = e.quantifier;
3248
- return t && t.atLeast === 0 ? !0 : e.value ? x(e.value) ? Xr(e.value, oa) : oa(e.value) : !1;
3250
+ return t && t.atLeast === 0 ? !0 : e.value ? g(e.value) ? Xr(e.value, oa) : oa(e.value) : !1;
3249
3251
  }
3250
3252
  var sa = class extends Yn {
3251
3253
  constructor(e) {
@@ -3281,13 +3283,13 @@ function ca(e, t) {
3281
3283
  if (t instanceof RegExp) {
3282
3284
  let n = Zi(t), r = new sa(e);
3283
3285
  return r.visit(n), r.found;
3284
- } else return me(t, (t) => ni(e, t.charCodeAt(0))) !== void 0;
3286
+ } else return ge(t, (t) => ni(e, t.charCodeAt(0))) !== void 0;
3285
3287
  }
3286
3288
  //#endregion
3287
3289
  //#region node_modules/chevrotain/lib/src/scan/lexer.js
3288
3290
  var la = "PATTERN", ua = "defaultMode", da = "modes";
3289
3291
  function fa(e, t) {
3290
- t = fe(t, {
3292
+ t = he(t, {
3291
3293
  debug: !1,
3292
3294
  safeMode: !1,
3293
3295
  positionTracking: "full",
@@ -3304,7 +3306,7 @@ function fa(e, t) {
3304
3306
  });
3305
3307
  let i = !1, a;
3306
3308
  n("Transform Patterns", () => {
3307
- i = !1, a = F(r, (e) => {
3309
+ i = !1, a = P(r, (e) => {
3308
3310
  let t = e[la];
3309
3311
  /* istanbul ignore else */
3310
3312
  if (ci(t)) {
@@ -3327,7 +3329,7 @@ function fa(e, t) {
3327
3329
  "w",
3328
3330
  "W"
3329
3331
  ], e[1]) ? e[1] : Aa(t);
3330
- } else if (v(t)) return i = !0, { exec: t };
3332
+ } else if (p(t)) return i = !0, { exec: t };
3331
3333
  else if (typeof t == "object") return i = !0, t;
3332
3334
  else if (typeof t == "string") {
3333
3335
  if (t.length === 1) return t;
@@ -3340,34 +3342,34 @@ function fa(e, t) {
3340
3342
  });
3341
3343
  let o, s, c, l, u;
3342
3344
  n("misc mapping", () => {
3343
- o = F(r, (e) => e.tokenTypeIdx), s = F(r, (e) => {
3345
+ o = P(r, (e) => e.tokenTypeIdx), s = P(r, (e) => {
3344
3346
  let t = e.GROUP;
3345
3347
  if (t !== so.SKIPPED) {
3346
- if (N(t)) return t;
3347
- if (ie(t)) return !1;
3348
+ if (me(t)) return t;
3349
+ if (A(t)) return !1;
3348
3350
  throw Error("non exhaustive match");
3349
3351
  }
3350
- }), c = F(r, (e) => {
3352
+ }), c = P(r, (e) => {
3351
3353
  let t = e.LONGER_ALT;
3352
- if (t) return x(t) ? F(t, (e) => ii(r, e)) : [ii(r, t)];
3353
- }), l = F(r, (e) => e.PUSH_MODE), u = F(r, (e) => P(e, "POP_MODE"));
3354
+ if (t) return g(t) ? P(t, (e) => ii(r, e)) : [ii(r, t)];
3355
+ }), l = P(r, (e) => e.PUSH_MODE), u = P(r, (e) => N(e, "POP_MODE"));
3354
3356
  });
3355
3357
  let d;
3356
3358
  n("Line Terminator Handling", () => {
3357
3359
  let e = za(t.lineTerminatorCharacters);
3358
- d = F(r, (e) => !1), t.positionTracking !== "onlyOffset" && (d = F(r, (t) => P(t, "LINE_BREAKS") ? !!t.LINE_BREAKS : La(t, e) === !1 && ca(e, t.PATTERN)));
3360
+ d = P(r, (e) => !1), t.positionTracking !== "onlyOffset" && (d = P(r, (t) => N(t, "LINE_BREAKS") ? !!t.LINE_BREAKS : La(t, e) === !1 && ca(e, t.PATTERN)));
3359
3361
  });
3360
- let f, p, m, h;
3362
+ let f, m, h, _;
3361
3363
  n("Misc Mapping #2", () => {
3362
- f = F(r, Pa), p = F(a, Fa), m = O(r, (e, t) => {
3364
+ f = P(r, Pa), m = P(a, Fa), h = O(r, (e, t) => {
3363
3365
  let n = t.GROUP;
3364
- return N(n) && n !== so.SKIPPED && (e[n] = []), e;
3365
- }, {}), h = F(a, (e, t) => ({
3366
+ return me(n) && n !== so.SKIPPED && (e[n] = []), e;
3367
+ }, {}), _ = P(a, (e, t) => ({
3366
3368
  pattern: a[t],
3367
3369
  longerAlt: c[t],
3368
3370
  canLineTerminator: d[t],
3369
3371
  isCustom: f[t],
3370
- short: p[t],
3372
+ short: m[t],
3371
3373
  group: s[t],
3372
3374
  push: l[t],
3373
3375
  pop: u[t],
@@ -3375,36 +3377,36 @@ function fa(e, t) {
3375
3377
  tokenType: r[t]
3376
3378
  }));
3377
3379
  });
3378
- let g = !0, _ = [];
3380
+ let v = !0, y = [];
3379
3381
  return t.safeMode || n("First Char Optimization", () => {
3380
- _ = O(r, (e, n, r) => {
3381
- if (typeof n.PATTERN == "string") Ba(e, Ha(n.PATTERN.charCodeAt(0)), h[r]);
3382
- else if (x(n.START_CHARS_HINT)) {
3382
+ y = O(r, (e, n, r) => {
3383
+ if (typeof n.PATTERN == "string") Ba(e, Ha(n.PATTERN.charCodeAt(0)), _[r]);
3384
+ else if (g(n.START_CHARS_HINT)) {
3383
3385
  let t;
3384
- b(n.START_CHARS_HINT, (n) => {
3386
+ j(n.START_CHARS_HINT, (n) => {
3385
3387
  let i = Ha(typeof n == "string" ? n.charCodeAt(0) : n);
3386
3388
  /* istanbul ignore else */
3387
- t !== i && (t = i, Ba(e, i, h[r]));
3389
+ t !== i && (t = i, Ba(e, i, _[r]));
3388
3390
  });
3389
- } else if (ci(n.PATTERN)) if (n.PATTERN.unicode) g = !1, t.ensureOptimizations && _i(`${ea}\tUnable to analyze < ${n.PATTERN.toString()} > pattern.\n The regexp unicode flag is not currently supported by the regexp-to-ast library.
3391
+ } else if (ci(n.PATTERN)) if (n.PATTERN.unicode) v = !1, t.ensureOptimizations && _i(`${ea}\tUnable to analyze < ${n.PATTERN.toString()} > pattern.\n The regexp unicode flag is not currently supported by the regexp-to-ast library.
3390
3392
  This will disable the lexer's first char optimizations.
3391
3393
  For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNICODE_OPTIMIZE`);
3392
3394
  else {
3393
3395
  let i = ta(n.PATTERN, t.ensureOptimizations);
3394
- E(i) && (g = !1), b(i, (t) => {
3395
- Ba(e, t, h[r]);
3396
+ F(i) && (v = !1), j(i, (t) => {
3397
+ Ba(e, t, _[r]);
3396
3398
  });
3397
3399
  }
3398
3400
  else t.ensureOptimizations && _i(`${ea}\tTokenType: <${n.name}> is using a custom token pattern without providing <start_chars_hint> parameter.\n This will disable the lexer's first char optimizations.
3399
- For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#CUSTOM_OPTIMIZE`), g = !1;
3401
+ For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#CUSTOM_OPTIMIZE`), v = !1;
3400
3402
  return e;
3401
3403
  }, []);
3402
3404
  }), {
3403
- emptyGroups: m,
3404
- patternIdxToConfig: h,
3405
- charCodeToPatternIdxToConfig: _,
3405
+ emptyGroups: h,
3406
+ patternIdxToConfig: _,
3407
+ charCodeToPatternIdxToConfig: y,
3406
3408
  hasCustom: i,
3407
- canBeOptimized: g
3409
+ canBeOptimized: v
3408
3410
  };
3409
3411
  }
3410
3412
  function pa(e, t) {
@@ -3414,13 +3416,13 @@ function pa(e, t) {
3414
3416
  return n = n.concat(i.errors), n = n.concat(ma(a)), n = n.concat(wa(a)), n = n.concat(Ta(a, t)), n = n.concat(Ea(a)), n;
3415
3417
  }
3416
3418
  function ma(e) {
3417
- let t = [], n = k(e, (e) => ci(e[la]));
3419
+ let t = [], n = T(e, (e) => ci(e[la]));
3418
3420
  return t = t.concat(va(n)), t = t.concat(xa(n)), t = t.concat(Sa(n)), t = t.concat(Ca(n)), t = t.concat(ya(n)), t;
3419
3421
  }
3420
3422
  function ha(e) {
3421
- let t = k(e, (e) => !P(e, la));
3423
+ let t = T(e, (e) => !N(e, la));
3422
3424
  return {
3423
- errors: F(t, (e) => ({
3425
+ errors: P(t, (e) => ({
3424
3426
  message: "Token Type: ->" + e.name + "<- missing static 'PATTERN' property",
3425
3427
  type: W.MISSING_PATTERN,
3426
3428
  tokenTypes: [e]
@@ -3429,12 +3431,12 @@ function ha(e) {
3429
3431
  };
3430
3432
  }
3431
3433
  function ga(e) {
3432
- let t = k(e, (e) => {
3434
+ let t = T(e, (e) => {
3433
3435
  let t = e[la];
3434
- return !ci(t) && !v(t) && !P(t, "exec") && !N(t);
3436
+ return !ci(t) && !p(t) && !N(t, "exec") && !me(t);
3435
3437
  });
3436
3438
  return {
3437
- errors: F(t, (e) => ({
3439
+ errors: P(t, (e) => ({
3438
3440
  message: "Token Type: ->" + e.name + "<- static 'PATTERN' can only be a RegExp, a Function matching the {CustomPatternMatcherFunc} type or an Object matching the {ICustomPattern} interface.",
3439
3441
  type: W.INVALID_PATTERN,
3440
3442
  tokenTypes: [e]
@@ -3452,7 +3454,7 @@ function va(e) {
3452
3454
  this.found = !0;
3453
3455
  }
3454
3456
  }
3455
- return F(k(e, (e) => {
3457
+ return P(T(e, (e) => {
3456
3458
  let n = e.PATTERN;
3457
3459
  try {
3458
3460
  let e = Zi(n), r = new t();
@@ -3468,7 +3470,7 @@ function va(e) {
3468
3470
  }));
3469
3471
  }
3470
3472
  function ya(e) {
3471
- return F(k(e, (e) => e.PATTERN.test("")), (e) => ({
3473
+ return P(T(e, (e) => e.PATTERN.test("")), (e) => ({
3472
3474
  message: "Token Type: ->" + e.name + "<- static 'PATTERN' must not match an empty string",
3473
3475
  type: W.EMPTY_MATCH_PATTERN,
3474
3476
  tokenTypes: [e]
@@ -3484,7 +3486,7 @@ function xa(e) {
3484
3486
  this.found = !0;
3485
3487
  }
3486
3488
  }
3487
- return F(k(e, (e) => {
3489
+ return P(T(e, (e) => {
3488
3490
  let n = e.PATTERN;
3489
3491
  try {
3490
3492
  let e = Zi(n), r = new t();
@@ -3500,7 +3502,7 @@ function xa(e) {
3500
3502
  }));
3501
3503
  }
3502
3504
  function Sa(e) {
3503
- return F(k(e, (e) => {
3505
+ return P(T(e, (e) => {
3504
3506
  let t = e[la];
3505
3507
  return t instanceof RegExp && (t.multiline || t.global);
3506
3508
  }), (e) => ({
@@ -3510,9 +3512,9 @@ function Sa(e) {
3510
3512
  }));
3511
3513
  }
3512
3514
  function Ca(e) {
3513
- let t = [], n = F(e, (n) => O(e, (e, r) => n.PATTERN.source === r.PATTERN.source && !ni(t, r) && r.PATTERN !== so.NA ? (t.push(r), e.push(r), e) : e, []));
3514
- return n = zr(n), F(k(n, (e) => e.length > 1), (e) => {
3515
- let t = F(e, (e) => e.name);
3515
+ let t = [], n = P(e, (n) => O(e, (e, r) => n.PATTERN.source === r.PATTERN.source && !ni(t, r) && r.PATTERN !== so.NA ? (t.push(r), e.push(r), e) : e, []));
3516
+ return n = zr(n), P(T(n, (e) => e.length > 1), (e) => {
3517
+ let t = P(e, (e) => e.name);
3516
3518
  return {
3517
3519
  message: `The same RegExp pattern ->${Zr(e).PATTERN}<-has been used in all of the following Token Types: ${t.join(", ")} <-`,
3518
3520
  type: W.DUPLICATE_PATTERNS_FOUND,
@@ -3521,10 +3523,10 @@ function Ca(e) {
3521
3523
  });
3522
3524
  }
3523
3525
  function wa(e) {
3524
- return F(k(e, (e) => {
3525
- if (!P(e, "GROUP")) return !1;
3526
+ return P(T(e, (e) => {
3527
+ if (!N(e, "GROUP")) return !1;
3526
3528
  let t = e.GROUP;
3527
- return t !== so.SKIPPED && t !== so.NA && !N(t);
3529
+ return t !== so.SKIPPED && t !== so.NA && !me(t);
3528
3530
  }), (e) => ({
3529
3531
  message: "Token Type: ->" + e.name + "<- static 'GROUP' can only be Lexer.SKIPPED/Lexer.NA/A String",
3530
3532
  type: W.INVALID_GROUP_TYPE_FOUND,
@@ -3532,7 +3534,7 @@ function wa(e) {
3532
3534
  }));
3533
3535
  }
3534
3536
  function Ta(e, t) {
3535
- return F(k(e, (e) => e.PUSH_MODE !== void 0 && !ni(t, e.PUSH_MODE)), (e) => ({
3537
+ return P(T(e, (e) => e.PUSH_MODE !== void 0 && !ni(t, e.PUSH_MODE)), (e) => ({
3536
3538
  message: `Token Type: ->${e.name}<- static 'PUSH_MODE' value cannot refer to a Lexer Mode ->${e.PUSH_MODE}<-which does not exist`,
3537
3539
  type: W.PUSH_MODE_DOES_NOT_EXIST,
3538
3540
  tokenTypes: [e]
@@ -3541,7 +3543,7 @@ function Ta(e, t) {
3541
3543
  function Ea(e) {
3542
3544
  let t = [], n = O(e, (e, t, n) => {
3543
3545
  let r = t.PATTERN;
3544
- return r === so.NA || (N(r) ? e.push({
3546
+ return r === so.NA || (me(r) ? e.push({
3545
3547
  str: r,
3546
3548
  idx: n,
3547
3549
  tokenType: t
@@ -3551,8 +3553,8 @@ function Ea(e) {
3551
3553
  tokenType: t
3552
3554
  })), e;
3553
3555
  }, []);
3554
- return b(e, (e, r) => {
3555
- b(n, ({ str: n, idx: i, tokenType: a }) => {
3556
+ return j(e, (e, r) => {
3557
+ j(n, ({ str: n, idx: i, tokenType: a }) => {
3556
3558
  if (r < i && Da(n, e.PATTERN)) {
3557
3559
  let n = `Token: ->${a.name}<- can never be matched.\nBecause it appears AFTER the Token Type ->${e.name}<-in the lexer's definition.\nSee https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNREACHABLE`;
3558
3560
  t.push({
@@ -3569,13 +3571,13 @@ function Da(e, t) {
3569
3571
  if (ka(t)) return !1;
3570
3572
  let n = t.exec(e);
3571
3573
  return n !== null && n.index === 0;
3572
- } else if (v(t)) return t(e, 0, [], {});
3573
- else if (P(t, "exec")) return t.exec(e, 0, [], {});
3574
+ } else if (p(t)) return t(e, 0, [], {});
3575
+ else if (N(t, "exec")) return t.exec(e, 0, [], {});
3574
3576
  else if (typeof t == "string") return t === e;
3575
3577
  else throw Error("non exhaustive match");
3576
3578
  }
3577
3579
  function Oa(e) {
3578
- return me([
3580
+ return ge([
3579
3581
  ".",
3580
3582
  "\\",
3581
3583
  "[",
@@ -3600,22 +3602,22 @@ function Aa(e) {
3600
3602
  }
3601
3603
  function ja(e, t, n) {
3602
3604
  let r = [];
3603
- return P(e, "defaultMode") || r.push({
3605
+ return N(e, "defaultMode") || r.push({
3604
3606
  message: "A MultiMode Lexer cannot be initialized without a <" + ua + "> property in its definition\n",
3605
3607
  type: W.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE
3606
- }), P(e, "modes") || r.push({
3608
+ }), N(e, "modes") || r.push({
3607
3609
  message: "A MultiMode Lexer cannot be initialized without a <" + da + "> property in its definition\n",
3608
3610
  type: W.MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY
3609
- }), P(e, "modes") && P(e, "defaultMode") && !P(e.modes, e.defaultMode) && r.push({
3611
+ }), N(e, "modes") && N(e, "defaultMode") && !N(e.modes, e.defaultMode) && r.push({
3610
3612
  message: `A MultiMode Lexer cannot be initialized with a ${ua}: <${e.defaultMode}>which does not exist\n`,
3611
3613
  type: W.MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST
3612
- }), P(e, "modes") && b(e.modes, (e, t) => {
3613
- b(e, (n, i) => {
3614
- ie(n) ? r.push({
3614
+ }), N(e, "modes") && j(e.modes, (e, t) => {
3615
+ j(e, (n, i) => {
3616
+ A(n) ? r.push({
3615
3617
  message: `A Lexer cannot be initialized using an undefined Token Type. Mode:<${t}> at index: <${i}>\n`,
3616
3618
  type: W.LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED
3617
- }) : P(n, "LONGER_ALT") && b(x(n.LONGER_ALT) ? n.LONGER_ALT : [n.LONGER_ALT], (i) => {
3618
- !ie(i) && !ni(e, i) && r.push({
3619
+ }) : N(n, "LONGER_ALT") && j(g(n.LONGER_ALT) ? n.LONGER_ALT : [n.LONGER_ALT], (i) => {
3620
+ !A(i) && !ni(e, i) && r.push({
3619
3621
  message: `A MultiMode Lexer cannot be initialized with a longer_alt <${i.name}> on token <${n.name}> outside of mode <${t}>\n`,
3620
3622
  type: W.MULTI_MODE_LEXER_LONGER_ALT_NOT_IN_CURRENT_MODE
3621
3623
  });
@@ -3624,8 +3626,8 @@ function ja(e, t, n) {
3624
3626
  }), r;
3625
3627
  }
3626
3628
  function Ma(e, t, n) {
3627
- let r = [], i = !1, a = fi(zr(ve(_(e.modes))), (e) => e[la] === so.NA), o = za(n);
3628
- return t && b(a, (e) => {
3629
+ let r = [], i = !1, a = fi(zr(M(E(e.modes))), (e) => e[la] === so.NA), o = za(n);
3630
+ return t && j(a, (e) => {
3629
3631
  let t = La(e, o);
3630
3632
  if (t !== !1) {
3631
3633
  let n = {
@@ -3634,7 +3636,7 @@ function Ma(e, t, n) {
3634
3636
  tokenType: e
3635
3637
  };
3636
3638
  r.push(n);
3637
- } else P(e, "LINE_BREAKS") ? e.LINE_BREAKS === !0 && (i = !0) : ca(o, e.PATTERN) && (i = !0);
3639
+ } else N(e, "LINE_BREAKS") ? e.LINE_BREAKS === !0 && (i = !0) : ca(o, e.PATTERN) && (i = !0);
3638
3640
  }), t && !i && r.push({
3639
3641
  message: "Warning: No LINE_BREAKS Found.\n This Lexer has been defined to track line and column information,\n But none of the Token Types can be identified as matching a line terminator.\n See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#LINE_BREAKS \n for details.",
3640
3642
  type: W.NO_LINE_BREAKS_FLAGS
@@ -3642,10 +3644,10 @@ function Ma(e, t, n) {
3642
3644
  }
3643
3645
  function Na(e) {
3644
3646
  let t = {};
3645
- return b(d(e), (n) => {
3647
+ return j(C(e), (n) => {
3646
3648
  let r = e[n];
3647
3649
  /* istanbul ignore else */
3648
- if (x(r)) t[n] = [];
3650
+ if (g(r)) t[n] = [];
3649
3651
  else throw Error("non exhaustive match");
3650
3652
  }), t;
3651
3653
  }
@@ -3653,12 +3655,12 @@ function Pa(e) {
3653
3655
  let t = e.PATTERN;
3654
3656
  /* istanbul ignore else */
3655
3657
  if (ci(t)) return !1;
3656
- if (v(t) || P(t, "exec")) return !0;
3657
- if (N(t)) return !1;
3658
+ if (p(t) || N(t, "exec")) return !0;
3659
+ if (me(t)) return !1;
3658
3660
  throw Error("non exhaustive match");
3659
3661
  }
3660
3662
  function Fa(e) {
3661
- return N(e) && e.length === 1 ? e.charCodeAt(0) : !1;
3663
+ return me(e) && e.length === 1 ? e.charCodeAt(0) : !1;
3662
3664
  }
3663
3665
  var Ia = {
3664
3666
  test: function(e) {
@@ -3673,7 +3675,7 @@ var Ia = {
3673
3675
  lastIndex: 0
3674
3676
  };
3675
3677
  function La(e, t) {
3676
- if (P(e, "LINE_BREAKS")) return !1;
3678
+ if (N(e, "LINE_BREAKS")) return !1;
3677
3679
  if (ci(e.PATTERN)) {
3678
3680
  try {
3679
3681
  ca(t, e.PATTERN);
@@ -3685,7 +3687,7 @@ function La(e, t) {
3685
3687
  };
3686
3688
  }
3687
3689
  return !1;
3688
- } else if (N(e.PATTERN)) return !1;
3690
+ } else if (me(e.PATTERN)) return !1;
3689
3691
  else if (Pa(e)) return { issue: W.CUSTOM_LINE_BREAK };
3690
3692
  else throw Error("non exhaustive match");
3691
3693
  }
@@ -3698,7 +3700,7 @@ function Ra(e, t) {
3698
3700
  throw Error("non exhaustive match");
3699
3701
  }
3700
3702
  function za(e) {
3701
- return F(e, (e) => N(e) ? e.charCodeAt(0) : e);
3703
+ return P(e, (e) => me(e) ? e.charCodeAt(0) : e);
3702
3704
  }
3703
3705
  function Ba(e, t, n) {
3704
3706
  e[t] === void 0 ? e[t] = [n] : e[t].push(n);
@@ -3708,7 +3710,7 @@ function Ha(e) {
3708
3710
  return e < 256 ? e : Va[e];
3709
3711
  }
3710
3712
  function Ua() {
3711
- if (E(Va)) {
3713
+ if (F(Va)) {
3712
3714
  Va = Array(65536);
3713
3715
  for (let e = 0; e < 65536; e++) Va[e] = e > 255 ? 255 + ~~(e / 255) : e;
3714
3716
  }
@@ -3725,58 +3727,58 @@ function Ga(e, t) {
3725
3727
  var Ka = 1, qa = {};
3726
3728
  function Ja(e) {
3727
3729
  let t = Ya(e);
3728
- Xa(t), Qa(t), Za(t), b(t, (e) => {
3730
+ Xa(t), Qa(t), Za(t), j(t, (e) => {
3729
3731
  e.isParent = e.categoryMatches.length > 0;
3730
3732
  });
3731
3733
  }
3732
3734
  function Ya(e) {
3733
3735
  let t = I(e), n = e, r = !0;
3734
3736
  for (; r;) {
3735
- n = zr(ve(F(n, (e) => e.CATEGORIES)));
3737
+ n = zr(M(P(n, (e) => e.CATEGORIES)));
3736
3738
  let e = Gr(n, t);
3737
- t = t.concat(e), E(e) ? r = !1 : n = e;
3739
+ t = t.concat(e), F(e) ? r = !1 : n = e;
3738
3740
  }
3739
3741
  return t;
3740
3742
  }
3741
3743
  function Xa(e) {
3742
- b(e, (e) => {
3743
- eo(e) || (qa[Ka] = e, e.tokenTypeIdx = Ka++), to(e) && !x(e.CATEGORIES) && (e.CATEGORIES = [e.CATEGORIES]), to(e) || (e.CATEGORIES = []), no(e) || (e.categoryMatches = []), ro(e) || (e.categoryMatchesMap = {});
3744
+ j(e, (e) => {
3745
+ eo(e) || (qa[Ka] = e, e.tokenTypeIdx = Ka++), to(e) && !g(e.CATEGORIES) && (e.CATEGORIES = [e.CATEGORIES]), to(e) || (e.CATEGORIES = []), no(e) || (e.categoryMatches = []), ro(e) || (e.categoryMatchesMap = {});
3744
3746
  });
3745
3747
  }
3746
3748
  function Za(e) {
3747
- b(e, (e) => {
3748
- e.categoryMatches = [], b(e.categoryMatchesMap, (t, n) => {
3749
+ j(e, (e) => {
3750
+ e.categoryMatches = [], j(e.categoryMatchesMap, (t, n) => {
3749
3751
  e.categoryMatches.push(qa[n].tokenTypeIdx);
3750
3752
  });
3751
3753
  });
3752
3754
  }
3753
3755
  function Qa(e) {
3754
- b(e, (e) => {
3756
+ j(e, (e) => {
3755
3757
  $a([], e);
3756
3758
  });
3757
3759
  }
3758
3760
  function $a(e, t) {
3759
- b(e, (e) => {
3761
+ j(e, (e) => {
3760
3762
  t.categoryMatchesMap[e.tokenTypeIdx] = !0;
3761
- }), b(t.CATEGORIES, (n) => {
3763
+ }), j(t.CATEGORIES, (n) => {
3762
3764
  let r = e.concat(t);
3763
3765
  ni(r, n) || $a(r, n);
3764
3766
  });
3765
3767
  }
3766
3768
  function eo(e) {
3767
- return P(e, "tokenTypeIdx");
3769
+ return N(e, "tokenTypeIdx");
3768
3770
  }
3769
3771
  function to(e) {
3770
- return P(e, "CATEGORIES");
3772
+ return N(e, "CATEGORIES");
3771
3773
  }
3772
3774
  function no(e) {
3773
- return P(e, "categoryMatches");
3775
+ return N(e, "categoryMatches");
3774
3776
  }
3775
3777
  function ro(e) {
3776
- return P(e, "categoryMatchesMap");
3778
+ return N(e, "categoryMatchesMap");
3777
3779
  }
3778
3780
  function io(e) {
3779
- return P(e, "tokenTypeIdx");
3781
+ return N(e, "tokenTypeIdx");
3780
3782
  }
3781
3783
  //#endregion
3782
3784
  //#region node_modules/chevrotain/lib/src/scan/lexer_errors_public.js
@@ -3823,7 +3825,7 @@ var so = class {
3823
3825
  if (this.config.lineTerminatorsPattern === oo.lineTerminatorsPattern) this.config.lineTerminatorsPattern = Ia;
3824
3826
  else if (this.config.lineTerminatorCharacters === oo.lineTerminatorCharacters) throw Error("Error: Missing <lineTerminatorCharacters> property on the Lexer config.\n For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#MISSING_LINE_TERM_CHARS");
3825
3827
  if (t.safeMode && t.ensureOptimizations) throw Error("\"safeMode\" and \"ensureOptimizations\" flags are mutually exclusive.");
3826
- this.trackStartLines = /full|onlyStart/i.test(this.config.positionTracking), this.trackEndLines = /full/i.test(this.config.positionTracking), x(e) ? n = {
3828
+ this.trackStartLines = /full|onlyStart/i.test(this.config.positionTracking), this.trackEndLines = /full/i.test(this.config.positionTracking), g(e) ? n = {
3827
3829
  modes: { defaultMode: I(e) },
3828
3830
  defaultMode: ua
3829
3831
  } : (r = !1, n = I(e));
@@ -3831,15 +3833,15 @@ var so = class {
3831
3833
  this.lexerDefinitionErrors = this.lexerDefinitionErrors.concat(ja(n, this.trackStartLines, this.config.lineTerminatorCharacters));
3832
3834
  }), this.TRACE_INIT("performWarningRuntimeChecks", () => {
3833
3835
  this.lexerDefinitionWarning = this.lexerDefinitionWarning.concat(Ma(n, this.trackStartLines, this.config.lineTerminatorCharacters));
3834
- })), n.modes = n.modes ? n.modes : {}, b(n.modes, (e, t) => {
3835
- n.modes[t] = fi(e, (e) => ie(e));
3836
+ })), n.modes = n.modes ? n.modes : {}, j(n.modes, (e, t) => {
3837
+ n.modes[t] = fi(e, (e) => A(e));
3836
3838
  });
3837
- let i = d(n.modes);
3838
- if (b(n.modes, (e, n) => {
3839
+ let i = C(n.modes);
3840
+ if (j(n.modes, (e, n) => {
3839
3841
  this.TRACE_INIT(`Mode: <${n}> processing`, () => {
3840
3842
  if (this.modes.push(n), this.config.skipValidations === !1 && this.TRACE_INIT("validatePatterns", () => {
3841
3843
  this.lexerDefinitionErrors = this.lexerDefinitionErrors.concat(pa(e, i));
3842
- }), E(this.lexerDefinitionErrors)) {
3844
+ }), F(this.lexerDefinitionErrors)) {
3843
3845
  Ja(e);
3844
3846
  let r;
3845
3847
  this.TRACE_INIT("analyzeTokenTypes", () => {
@@ -3853,21 +3855,21 @@ var so = class {
3853
3855
  }), this.patternIdxToConfig[n] = r.patternIdxToConfig, this.charCodeToPatternIdxToConfig[n] = r.charCodeToPatternIdxToConfig, this.emptyGroups = Lr({}, this.emptyGroups, r.emptyGroups), this.hasCustom = r.hasCustom || this.hasCustom, this.canModeBeOptimized[n] = r.canBeOptimized;
3854
3856
  }
3855
3857
  });
3856
- }), this.defaultMode = n.defaultMode, !E(this.lexerDefinitionErrors) && !this.config.deferDefinitionErrorsHandling) {
3857
- let e = F(this.lexerDefinitionErrors, (e) => e.message).join("-----------------------\n");
3858
+ }), this.defaultMode = n.defaultMode, !F(this.lexerDefinitionErrors) && !this.config.deferDefinitionErrorsHandling) {
3859
+ let e = P(this.lexerDefinitionErrors, (e) => e.message).join("-----------------------\n");
3858
3860
  throw Error("Errors detected in definition of Lexer:\n" + e);
3859
3861
  }
3860
- b(this.lexerDefinitionWarning, (e) => {
3862
+ j(this.lexerDefinitionWarning, (e) => {
3861
3863
  vi(e.message);
3862
3864
  }), this.TRACE_INIT("Choosing sub-methods implementations", () => {
3863
- if (r && (this.handleModes = D), this.trackStartLines === !1 && (this.computeNewColumn = ne), this.trackEndLines === !1 && (this.updateTokenEndLineColumnLocation = D), /full/i.test(this.config.positionTracking)) this.createTokenInstance = this.createFullToken;
3865
+ if (r && (this.handleModes = D), this.trackStartLines === !1 && (this.computeNewColumn = S), this.trackEndLines === !1 && (this.updateTokenEndLineColumnLocation = D), /full/i.test(this.config.positionTracking)) this.createTokenInstance = this.createFullToken;
3864
3866
  else if (/onlyStart/i.test(this.config.positionTracking)) this.createTokenInstance = this.createStartOnlyToken;
3865
3867
  else if (/onlyOffset/i.test(this.config.positionTracking)) this.createTokenInstance = this.createOffsetOnlyToken;
3866
3868
  else throw Error(`Invalid <positionTracking> config option: "${this.config.positionTracking}"`);
3867
3869
  this.hasCustom ? (this.addToken = this.addTokenUsingPush, this.handlePayload = this.handlePayloadWithCustom) : (this.addToken = this.addTokenUsingMemberAccess, this.handlePayload = this.handlePayloadNoCustom);
3868
3870
  }), this.TRACE_INIT("Failed Optimization Warnings", () => {
3869
3871
  let e = O(this.canModeBeOptimized, (e, t, n) => (t === !1 && e.push(n), e), []);
3870
- if (t.ensureOptimizations && !E(e)) throw Error(`Lexer Modes: < ${e.join(", ")} > cannot be optimized.\n Disable the "ensureOptimizations" lexer config flag to silently ignore this and run the lexer in an un-optimized mode.
3872
+ if (t.ensureOptimizations && !F(e)) throw Error(`Lexer Modes: < ${e.join(", ")} > cannot be optimized.\n Disable the "ensureOptimizations" lexer config flag to silently ignore this and run the lexer in an un-optimized mode.
3871
3873
  Or inspect the console log for details on how to resolve these issues.`);
3872
3874
  }), this.TRACE_INIT("clearRegExpParserCache", () => {
3873
3875
  Qi();
@@ -3877,19 +3879,19 @@ var so = class {
3877
3879
  });
3878
3880
  }
3879
3881
  tokenize(e, t = this.defaultMode) {
3880
- if (!E(this.lexerDefinitionErrors)) {
3881
- let e = F(this.lexerDefinitionErrors, (e) => e.message).join("-----------------------\n");
3882
+ if (!F(this.lexerDefinitionErrors)) {
3883
+ let e = P(this.lexerDefinitionErrors, (e) => e.message).join("-----------------------\n");
3882
3884
  throw Error("Unable to Tokenize because Errors detected in definition of Lexer:\n" + e);
3883
3885
  }
3884
3886
  return this.tokenizeInternal(e, t);
3885
3887
  }
3886
3888
  tokenizeInternal(e, t) {
3887
- let n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _ = e, v = _.length, y = 0, b = 0, x = this.hasCustom ? 0 : Math.floor(e.length / 10), S = Array(x), C = [], w = this.trackStartLines ? 1 : void 0, ee = this.trackStartLines ? 1 : void 0, T = Na(this.emptyGroups), E = this.trackStartLines, D = this.config.lineTerminatorsPattern, te = 0, O = [], k = [], ne = [], re = [];
3888
- Object.freeze(re);
3889
- let ie = !1, ae = (e) => {
3890
- if (ne.length === 1 && e.tokenType.PUSH_MODE === void 0) {
3889
+ let n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _ = e, v = _.length, y = 0, ee = 0, b = this.hasCustom ? 0 : Math.floor(e.length / 10), x = Array(b), te = [], S = this.trackStartLines ? 1 : void 0, C = this.trackStartLines ? 1 : void 0, w = Na(this.emptyGroups), ne = this.trackStartLines, re = this.config.lineTerminatorsPattern, ie = 0, T = [], ae = [], oe = [], se = [];
3890
+ Object.freeze(se);
3891
+ let E = !1, D = (e) => {
3892
+ if (oe.length === 1 && e.tokenType.PUSH_MODE === void 0) {
3891
3893
  let t = this.config.errorMessageProvider.buildUnableToPopLexerModeMessage(e);
3892
- C.push({
3894
+ te.push({
3893
3895
  offset: e.startOffset,
3894
3896
  line: e.startLine,
3895
3897
  column: e.startColumn,
@@ -3897,41 +3899,41 @@ var so = class {
3897
3899
  message: t
3898
3900
  });
3899
3901
  } else {
3900
- ne.pop();
3901
- let e = _e(ne);
3902
- O = this.patternIdxToConfig[e], k = this.charCodeToPatternIdxToConfig[e], te = O.length;
3902
+ oe.pop();
3903
+ let e = be(oe);
3904
+ T = this.patternIdxToConfig[e], ae = this.charCodeToPatternIdxToConfig[e], ie = T.length;
3903
3905
  let t = this.canModeBeOptimized[e] && this.config.safeMode === !1;
3904
- ie = !!(k && t);
3906
+ E = !!(ae && t);
3905
3907
  }
3906
3908
  };
3907
- function oe(e) {
3908
- ne.push(e), k = this.charCodeToPatternIdxToConfig[e], O = this.patternIdxToConfig[e], te = O.length, te = O.length;
3909
+ function ce(e) {
3910
+ oe.push(e), ae = this.charCodeToPatternIdxToConfig[e], T = this.patternIdxToConfig[e], ie = T.length, ie = T.length;
3909
3911
  let t = this.canModeBeOptimized[e] && this.config.safeMode === !1;
3910
- ie = !!(k && t);
3912
+ E = !!(ae && t);
3911
3913
  }
3912
- oe.call(this, t);
3913
- let A, se = this.config.recoveryEnabled;
3914
+ ce.call(this, t);
3915
+ let le, O = this.config.recoveryEnabled;
3914
3916
  for (; y < v;) {
3915
3917
  s = null, u = -1;
3916
- let t = _.charCodeAt(y), x;
3917
- if (ie) {
3918
- let e = Ha(t), n = k[e];
3919
- x = n === void 0 ? re : n;
3920
- } else x = O;
3921
- let j = x.length;
3922
- for (n = 0; n < j; n++) {
3923
- A = x[n];
3924
- let r = A.pattern;
3918
+ let t = _.charCodeAt(y), b;
3919
+ if (E) {
3920
+ let e = Ha(t), n = ae[e];
3921
+ b = n === void 0 ? se : n;
3922
+ } else b = T;
3923
+ let k = b.length;
3924
+ for (n = 0; n < k; n++) {
3925
+ le = b[n];
3926
+ let r = le.pattern;
3925
3927
  c = null;
3926
- let d = A.short;
3927
- if (d === !1 ? A.isCustom === !0 ? (g = r.exec(_, y, S, T), g === null ? s = null : (s = g[0], u = s.length, g.payload !== void 0 && (c = g.payload))) : (r.lastIndex = y, u = this.matchLength(r, e, y)) : t === d && (u = 1, s = r), u !== -1) {
3928
- if (o = A.longerAlt, o !== void 0) {
3928
+ let d = le.short;
3929
+ if (d === !1 ? le.isCustom === !0 ? (g = r.exec(_, y, x, w), g === null ? s = null : (s = g[0], u = s.length, g.payload !== void 0 && (c = g.payload))) : (r.lastIndex = y, u = this.matchLength(r, e, y)) : t === d && (u = 1, s = r), u !== -1) {
3930
+ if (o = le.longerAlt, o !== void 0) {
3929
3931
  s = e.substring(y, y + u);
3930
3932
  let t = o.length;
3931
3933
  for (i = 0; i < t; i++) {
3932
- let t = O[o[i]], n = t.pattern;
3933
- if (l = null, t.isCustom === !0 ? (g = n.exec(_, y, S, T), g === null ? a = null : (a = g[0], g.payload !== void 0 && (l = g.payload))) : (n.lastIndex = y, a = this.match(n, e, y)), a && a.length > s.length) {
3934
- s = a, u = a.length, c = l, A = t;
3934
+ let t = T[o[i]], n = t.pattern;
3935
+ if (l = null, t.isCustom === !0 ? (g = n.exec(_, y, x, w), g === null ? a = null : (a = g[0], g.payload !== void 0 && (l = g.payload))) : (n.lastIndex = y, a = this.match(n, e, y)), a && a.length > s.length) {
3936
+ s = a, u = a.length, c = l, le = t;
3935
3937
  break;
3936
3938
  }
3937
3939
  }
@@ -3940,34 +3942,34 @@ var so = class {
3940
3942
  }
3941
3943
  }
3942
3944
  if (u !== -1) {
3943
- if (d = A.group, d !== void 0 && (s = s === null ? e.substring(y, y + u) : s, f = A.tokenTypeIdx, p = this.createTokenInstance(s, y, f, A.tokenType, w, ee, u), this.handlePayload(p, c), d === !1 ? b = this.addToken(S, b, p) : T[d].push(p)), E === !0 && A.canLineTerminator === !0) {
3945
+ if (d = le.group, d !== void 0 && (s = s === null ? e.substring(y, y + u) : s, f = le.tokenTypeIdx, p = this.createTokenInstance(s, y, f, le.tokenType, S, C, u), this.handlePayload(p, c), d === !1 ? ee = this.addToken(x, ee, p) : w[d].push(p)), ne === !0 && le.canLineTerminator === !0) {
3944
3946
  let t = 0, n, r;
3945
- D.lastIndex = 0;
3947
+ re.lastIndex = 0;
3946
3948
  do
3947
- s = s === null ? e.substring(y, y + u) : s, n = D.test(s), n === !0 && (r = D.lastIndex - 1, t++);
3949
+ s = s === null ? e.substring(y, y + u) : s, n = re.test(s), n === !0 && (r = re.lastIndex - 1, t++);
3948
3950
  while (n === !0);
3949
- t === 0 ? ee = this.computeNewColumn(ee, u) : (w += t, ee = u - r, this.updateTokenEndLineColumnLocation(p, d, r, t, w, ee, u));
3950
- } else ee = this.computeNewColumn(ee, u);
3951
- y += u, this.handleModes(A, ae, oe, p);
3951
+ t === 0 ? C = this.computeNewColumn(C, u) : (S += t, C = u - r, this.updateTokenEndLineColumnLocation(p, d, r, t, S, C, u));
3952
+ } else C = this.computeNewColumn(C, u);
3953
+ y += u, this.handleModes(le, D, ce, p);
3952
3954
  } else {
3953
- let t = y, n = w, i = ee, a = se === !1;
3954
- for (; a === !1 && y < v;) for (y++, r = 0; r < te; r++) {
3955
- let t = O[r], n = t.pattern, i = t.short;
3956
- if (i === !1 ? t.isCustom === !0 ? a = n.exec(_, y, S, T) !== null : (n.lastIndex = y, a = n.exec(e) !== null) : _.charCodeAt(y) === i && (a = !0), a === !0) break;
3955
+ let t = y, n = S, i = C, a = O === !1;
3956
+ for (; a === !1 && y < v;) for (y++, r = 0; r < ie; r++) {
3957
+ let t = T[r], n = t.pattern, i = t.short;
3958
+ if (i === !1 ? t.isCustom === !0 ? a = n.exec(_, y, x, w) !== null : (n.lastIndex = y, a = n.exec(e) !== null) : _.charCodeAt(y) === i && (a = !0), a === !0) break;
3957
3959
  }
3958
- if (m = y - t, ee = this.computeNewColumn(ee, m), h = this.config.errorMessageProvider.buildUnexpectedCharactersMessage(_, t, m, n, i, _e(ne)), C.push({
3960
+ if (m = y - t, C = this.computeNewColumn(C, m), h = this.config.errorMessageProvider.buildUnexpectedCharactersMessage(_, t, m, n, i, be(oe)), te.push({
3959
3961
  offset: t,
3960
3962
  line: n,
3961
3963
  column: i,
3962
3964
  length: m,
3963
3965
  message: h
3964
- }), se === !1) break;
3966
+ }), O === !1) break;
3965
3967
  }
3966
3968
  }
3967
- return this.hasCustom || (S.length = b), {
3968
- tokens: S,
3969
- groups: T,
3970
- errors: C
3969
+ return this.hasCustom || (x.length = ee), {
3970
+ tokens: x,
3971
+ groups: w,
3972
+ errors: te
3971
3973
  };
3972
3974
  }
3973
3975
  handleModes(e, t, n, r) {
@@ -4038,7 +4040,7 @@ function co(e) {
4038
4040
  return lo(e) ? e.LABEL : e.name;
4039
4041
  }
4040
4042
  function lo(e) {
4041
- return N(e.LABEL) && e.LABEL !== "";
4043
+ return me(e.LABEL) && e.LABEL !== "";
4042
4044
  }
4043
4045
  var uo = "parent", fo = "categories", po = "label", mo = "group", ho = "push_mode", go = "pop_mode", _o = "longer_alt", vo = "line_breaks", yo = "start_chars_hint";
4044
4046
  function bo(e) {
@@ -4046,8 +4048,8 @@ function bo(e) {
4046
4048
  }
4047
4049
  function xo(e) {
4048
4050
  let t = e.pattern, n = {};
4049
- if (n.name = e.name, ie(t) || (n.PATTERN = t), P(e, uo)) throw "The parent property is no longer supported.\nSee: https://github.com/chevrotain/chevrotain/issues/564#issuecomment-349062346 for details.";
4050
- return P(e, fo) && (n.CATEGORIES = e[fo]), Ja([n]), P(e, po) && (n.LABEL = e[po]), P(e, mo) && (n.GROUP = e[mo]), P(e, go) && (n.POP_MODE = e[go]), P(e, ho) && (n.PUSH_MODE = e[ho]), P(e, _o) && (n.LONGER_ALT = e[_o]), P(e, vo) && (n.LINE_BREAKS = e[vo]), P(e, yo) && (n.START_CHARS_HINT = e[yo]), n;
4051
+ if (n.name = e.name, A(t) || (n.PATTERN = t), N(e, uo)) throw "The parent property is no longer supported.\nSee: https://github.com/chevrotain/chevrotain/issues/564#issuecomment-349062346 for details.";
4052
+ return N(e, fo) && (n.CATEGORIES = e[fo]), Ja([n]), N(e, po) && (n.LABEL = e[po]), N(e, mo) && (n.GROUP = e[mo]), N(e, go) && (n.POP_MODE = e[go]), N(e, ho) && (n.PUSH_MODE = e[ho]), N(e, _o) && (n.LONGER_ALT = e[_o]), N(e, vo) && (n.LINE_BREAKS = e[vo]), N(e, yo) && (n.START_CHARS_HINT = e[yo]), n;
4051
4053
  }
4052
4054
  var So = bo({
4053
4055
  name: "EOF",
@@ -4081,11 +4083,11 @@ var To = {
4081
4083
  },
4082
4084
  buildNoViableAltMessage({ expectedPathsPerAlt: e, actual: t, previous: n, customUserDescription: r, ruleName: i }) {
4083
4085
  let a = "\nbut found: '" + Zr(t).image + "'";
4084
- return r ? "Expecting: " + r + a : `Expecting: one of these possible Token sequences:\n${F(F(O(e, (e, t) => e.concat(t), []), (e) => `[${F(e, (e) => co(e)).join(", ")}]`), (e, t) => ` ${t + 1}. ${e}`).join("\n")}` + a;
4086
+ return r ? "Expecting: " + r + a : `Expecting: one of these possible Token sequences:\n${P(P(O(e, (e, t) => e.concat(t), []), (e) => `[${P(e, (e) => co(e)).join(", ")}]`), (e, t) => ` ${t + 1}. ${e}`).join("\n")}` + a;
4085
4087
  },
4086
4088
  buildEarlyExitMessage({ expectedIterationPaths: e, actual: t, customUserDescription: n, ruleName: r }) {
4087
4089
  let i = "\nbut found: '" + Zr(t).image + "'";
4088
- return n ? "Expecting: " + n + i : `Expecting: expecting at least one iteration which starts with one of these possible Token sequences::\n <${F(e, (e) => `[${F(e, (e) => co(e)).join(",")}]`).join(" ,")}>` + i;
4090
+ return n ? "Expecting: " + n + i : `Expecting: expecting at least one iteration which starts with one of these possible Token sequences::\n <${P(e, (e) => `[${P(e, (e) => co(e)).join(",")}]`).join(" ,")}>` + i;
4089
4091
  }
4090
4092
  };
4091
4093
  Object.freeze(To);
@@ -4106,14 +4108,14 @@ var Eo = { buildRuleNotFoundError(e, t) {
4106
4108
  return `Namespace conflict found in grammar.\nThe grammar has both a Terminal(Token) and a Non-Terminal(Rule) named: <${e.name}>.\nTo resolve this make sure each Terminal and Non-Terminal names are unique\nThis is easy to accomplish by using the convention that Terminal names start with an uppercase letter\nand Non-Terminal names start with a lower case letter.`;
4107
4109
  },
4108
4110
  buildAlternationPrefixAmbiguityError(e) {
4109
- let t = F(e.prefixPath, (e) => co(e)).join(", "), n = e.alternation.idx === 0 ? "" : e.alternation.idx;
4111
+ let t = P(e.prefixPath, (e) => co(e)).join(", "), n = e.alternation.idx === 0 ? "" : e.alternation.idx;
4110
4112
  return `Ambiguous alternatives: <${e.ambiguityIndices.join(" ,")}> due to common lookahead prefix\nin <OR${n}> inside <${e.topLevelRule.name}> Rule,\n<${t}> may appears as a prefix path in all these alternatives.\nSee: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#COMMON_PREFIX\nFor Further details.`;
4111
4113
  },
4112
4114
  buildAlternationAmbiguityError(e) {
4113
4115
  let t = e.alternation.idx === 0 ? "" : e.alternation.idx, n = e.prefixPath.length === 0, r = `Ambiguous Alternatives Detected: <${e.ambiguityIndices.join(" ,")}> in <OR${t}> inside <${e.topLevelRule.name}> Rule,\n`;
4114
4116
  if (n) r += "These alternatives are all empty (match no tokens), making them indistinguishable.\nOnly the last alternative may be empty.\n";
4115
4117
  else {
4116
- let t = F(e.prefixPath, (e) => co(e)).join(", ");
4118
+ let t = P(e.prefixPath, (e) => co(e)).join(", ");
4117
4119
  r += `<${t}> may appears as a prefix path in all these alternatives.\n`;
4118
4120
  }
4119
4121
  return r += "See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#AMBIGUOUS_ALTERNATIVES\nFor Further details.", r;
@@ -4134,7 +4136,7 @@ var Eo = { buildRuleNotFoundError(e, t) {
4134
4136
  },
4135
4137
  buildLeftRecursionError(e) {
4136
4138
  let t = e.topLevelRule.name;
4137
- return `Left Recursion found in grammar.\nrule: <${t}> can be invoked from itself (directly or indirectly)\nwithout consuming any Tokens. The grammar path that causes this is: \n ${`${t} --> ${F(e.leftRecursionPath, (e) => e.name).concat([t]).join(" --> ")}`}\n To fix this refactor your grammar to remove the left recursion.\nsee: https://en.wikipedia.org/wiki/LL_parser#Left_factoring.`;
4139
+ return `Left Recursion found in grammar.\nrule: <${t}> can be invoked from itself (directly or indirectly)\nwithout consuming any Tokens. The grammar path that causes this is: \n ${`${t} --> ${P(e.leftRecursionPath, (e) => e.name).concat([t]).join(" --> ")}`}\n To fix this refactor your grammar to remove the left recursion.\nsee: https://en.wikipedia.org/wiki/LL_parser#Left_factoring.`;
4138
4140
  },
4139
4141
  buildInvalidRuleNameError(e) {
4140
4142
  /* istanbul ignore next */
@@ -4156,7 +4158,7 @@ var ko = class extends Pi {
4156
4158
  super(), this.nameToTopRule = e, this.errMsgProvider = t, this.errors = [];
4157
4159
  }
4158
4160
  resolveRefs() {
4159
- b(_(this.nameToTopRule), (e) => {
4161
+ j(E(this.nameToTopRule), (e) => {
4160
4162
  this.currTopLevel = e, e.accept(this);
4161
4163
  });
4162
4164
  }
@@ -4191,7 +4193,7 @@ var ko = class extends Pi {
4191
4193
  }
4192
4194
  }
4193
4195
  updateExpectedNext() {
4194
- E(this.ruleStack) ? (this.nextProductionName = "", this.nextProductionOccurrence = 0, this.isAtEndOfPath = !0) : (this.nextProductionName = this.ruleStack.pop(), this.nextProductionOccurrence = this.occurrenceStack.pop());
4196
+ F(this.ruleStack) ? (this.nextProductionName = "", this.nextProductionOccurrence = 0, this.isAtEndOfPath = !0) : (this.nextProductionName = this.ruleStack.pop(), this.nextProductionOccurrence = this.occurrenceStack.pop());
4195
4197
  }
4196
4198
  }, jo = class extends Ao {
4197
4199
  constructor(e, t) {
@@ -4258,8 +4260,8 @@ function Lo(e, t, n = []) {
4258
4260
  else if (t instanceof ki) return o([new Ei({ definition: t.definition }), new H({ definition: [new U({ terminalType: t.separator })].concat(t.definition) })]);
4259
4261
  else if (t instanceof Ai) r = o(t.definition.concat([new H({ definition: [new U({ terminalType: t.separator })].concat(t.definition) })]));
4260
4262
  else if (t instanceof H) r = o(t.definition.concat([new H({ definition: t.definition })]));
4261
- else if (t instanceof ji) return b(t.definition, (e) => {
4262
- E(e.definition) === !1 && (r = o(e.definition));
4263
+ else if (t instanceof ji) return j(t.definition, (e) => {
4264
+ F(e.definition) === !1 && (r = o(e.definition));
4263
4265
  }), r;
4264
4266
  else if (t instanceof U) n.push(t.terminalType);
4265
4267
  else throw Error("non exhaustive match");
@@ -4277,14 +4279,14 @@ function Ro(e, t, n, r) {
4277
4279
  def: e,
4278
4280
  ruleStack: [],
4279
4281
  occurrenceStack: []
4280
- }); !E(d);) {
4282
+ }); !F(d);) {
4281
4283
  let e = d.pop();
4282
4284
  if (e === o) {
4283
- s && _e(d).idx <= l && d.pop();
4285
+ s && be(d).idx <= l && d.pop();
4284
4286
  continue;
4285
4287
  }
4286
4288
  let r = e.def, f = e.idx, p = e.ruleStack, m = e.occurrenceStack;
4287
- if (E(r)) continue;
4289
+ if (F(r)) continue;
4288
4290
  let h = r[0];
4289
4291
  /* istanbul ignore else */
4290
4292
  if (h === i) {
@@ -4462,7 +4464,7 @@ function Uo(e, t, n, r, i, a) {
4462
4464
  function Wo(e, t, n, r) {
4463
4465
  let i = e.length, a = Xr(e, (e) => Xr(e, (e) => e.length === 1));
4464
4466
  if (t) return function(t) {
4465
- let r = F(t, (e) => e.GATE);
4467
+ let r = P(t, (e) => e.GATE);
4466
4468
  for (let t = 0; t < i; t++) {
4467
4469
  let i = e[t], a = i.length, o = r[t];
4468
4470
  if (!(o !== void 0 && o.call(this) === !1)) nextPath: for (let e = 0; e < a; e++) {
@@ -4473,9 +4475,9 @@ function Wo(e, t, n, r) {
4473
4475
  }
4474
4476
  };
4475
4477
  if (a && !r) {
4476
- let t = O(F(e, (e) => ve(e)), (e, t, n) => (b(t, (t) => {
4477
- P(e, t.tokenTypeIdx) || (e[t.tokenTypeIdx] = n), b(t.categoryMatches, (t) => {
4478
- P(e, t) || (e[t] = n);
4478
+ let t = O(P(e, (e) => M(e)), (e, t, n) => (j(t, (t) => {
4479
+ N(e, t.tokenTypeIdx) || (e[t.tokenTypeIdx] = n), j(t.categoryMatches, (t) => {
4480
+ N(e, t) || (e[t] = n);
4479
4481
  });
4480
4482
  }), e), {});
4481
4483
  return function() {
@@ -4495,14 +4497,14 @@ function Wo(e, t, n, r) {
4495
4497
  function Go(e, t, n) {
4496
4498
  let r = Xr(e, (e) => e.length === 1), i = e.length;
4497
4499
  if (r && !n) {
4498
- let t = ve(e);
4499
- if (t.length === 1 && E(t[0].categoryMatches)) {
4500
+ let t = M(e);
4501
+ if (t.length === 1 && F(t[0].categoryMatches)) {
4500
4502
  let e = t[0].tokenTypeIdx;
4501
4503
  return function() {
4502
4504
  return this.LA(1).tokenTypeIdx === e;
4503
4505
  };
4504
4506
  } else {
4505
- let e = O(t, (e, t, n) => (e[t.tokenTypeIdx] = !0, b(t.categoryMatches, (t) => {
4507
+ let e = O(t, (e, t, n) => (e[t.tokenTypeIdx] = !0, j(t.categoryMatches, (t) => {
4506
4508
  e[t] = !0;
4507
4509
  }), e), []);
4508
4510
  return function() {
@@ -4599,10 +4601,10 @@ function Xo(e, t, n) {
4599
4601
  return !0;
4600
4602
  }
4601
4603
  function Zo(e, t) {
4602
- let n = F(e, (e) => Lo([e], 1)), r = Jo(n.length), i = F(n, (e) => {
4604
+ let n = P(e, (e) => Lo([e], 1)), r = Jo(n.length), i = P(n, (e) => {
4603
4605
  let t = {};
4604
- return b(e, (e) => {
4605
- b(Yo(e.partialPath), (e) => {
4606
+ return j(e, (e) => {
4607
+ j(Yo(e.partialPath), (e) => {
4606
4608
  t[e] = !0;
4607
4609
  });
4608
4610
  }), t;
@@ -4614,7 +4616,7 @@ function Zo(e, t) {
4614
4616
  let s = n[o];
4615
4617
  for (let n = 0; n < s.length; n++) {
4616
4618
  let c = s[n].partialPath, l = s[n].suffixDef, u = Yo(c);
4617
- if (Xo(i, u, o) || E(l) || c.length === t) {
4619
+ if (Xo(i, u, o) || F(l) || c.length === t) {
4618
4620
  let e = r[o];
4619
4621
  if (es(e, c) === !1) {
4620
4622
  e.push(c);
@@ -4625,8 +4627,8 @@ function Zo(e, t) {
4625
4627
  }
4626
4628
  } else {
4627
4629
  let t = Lo(l, e + 1, c);
4628
- a[o] = a[o].concat(t), b(t, (e) => {
4629
- b(Yo(e.partialPath), (e) => {
4630
+ a[o] = a[o].concat(t), j(t, (e) => {
4631
+ j(Yo(e.partialPath), (e) => {
4630
4632
  i[o][e] = !0;
4631
4633
  });
4632
4634
  });
@@ -4666,12 +4668,12 @@ function ts(e, t) {
4666
4668
  });
4667
4669
  }
4668
4670
  function ns(e) {
4669
- return Xr(e, (e) => Xr(e, (e) => Xr(e, (e) => E(e.categoryMatches))));
4671
+ return Xr(e, (e) => Xr(e, (e) => Xr(e, (e) => F(e.categoryMatches))));
4670
4672
  }
4671
4673
  //#endregion
4672
4674
  //#region node_modules/chevrotain/lib/src/parse/grammar/checks.js
4673
4675
  function rs(e) {
4674
- return F(e.lookaheadStrategy.validate({
4676
+ return P(e.lookaheadStrategy.validate({
4675
4677
  rules: e.rules,
4676
4678
  tokenTypes: e.tokenTypes,
4677
4679
  grammarName: e.grammarName
@@ -4685,7 +4687,7 @@ function as(e, t) {
4685
4687
  let n = new cs();
4686
4688
  e.accept(n);
4687
4689
  let r = n.allProductions;
4688
- return F(_(di(ei(r, os), (e) => e.length > 1)), (n) => {
4690
+ return P(E(di(ei(r, os), (e) => e.length > 1)), (n) => {
4689
4691
  let r = Zr(n), i = t.buildDuplicateFoundError(e, n), a = Ri(r), o = {
4690
4692
  message: i,
4691
4693
  type: Oc.DUPLICATE_PRODUCTIONS,
@@ -4756,7 +4758,7 @@ function us(e, t, n) {
4756
4758
  }
4757
4759
  function ds(e, t, n, r = []) {
4758
4760
  let i = [], a = fs(t.definition);
4759
- if (E(a)) return [];
4761
+ if (F(a)) return [];
4760
4762
  {
4761
4763
  let t = e.name;
4762
4764
  ni(a, e) && i.push({
@@ -4776,12 +4778,12 @@ function ds(e, t, n, r = []) {
4776
4778
  }
4777
4779
  function fs(e) {
4778
4780
  let t = [];
4779
- if (E(e)) return t;
4781
+ if (F(e)) return t;
4780
4782
  let n = Zr(e);
4781
4783
  /* istanbul ignore else */
4782
4784
  if (n instanceof wi) t.push(n.referencedRule);
4783
4785
  else if (n instanceof Ei || n instanceof Di || n instanceof Oi || n instanceof ki || n instanceof Ai || n instanceof H) t = t.concat(fs(n.definition));
4784
- else if (n instanceof ji) t = ve(F(n.definition, (e) => fs(e.definition)));
4786
+ else if (n instanceof ji) t = M(P(n.definition, (e) => fs(e.definition)));
4785
4787
  else if (!(n instanceof U)) throw Error("non exhaustive match");
4786
4788
  let r = Ii(n), i = e.length > 1;
4787
4789
  if (r && i) {
@@ -4801,7 +4803,7 @@ function ms(e, t) {
4801
4803
  let n = new ps();
4802
4804
  e.accept(n);
4803
4805
  let r = n.alternations;
4804
- return Qr(r, (n) => Qr(qr(n.definition), (r, i) => E(Ro([r], [], Wa, 1)) ? [{
4806
+ return Qr(r, (n) => Qr(qr(n.definition), (r, i) => F(Ro([r], [], Wa, 1)) ? [{
4805
4807
  message: t.buildEmptyAlternationError({
4806
4808
  topLevelRule: e,
4807
4809
  alternation: n,
@@ -4855,13 +4857,13 @@ function _s(e, t) {
4855
4857
  }
4856
4858
  function vs(e, t, n) {
4857
4859
  let r = [];
4858
- return b(e, (e) => {
4860
+ return j(e, (e) => {
4859
4861
  let i = new gs();
4860
4862
  e.accept(i);
4861
4863
  let a = i.allProductions;
4862
- b(a, (i) => {
4864
+ j(a, (i) => {
4863
4865
  let a = Bo(i), o = i.maxLookahead || t, s = i.idx, c = $o(s, e, a, o)[0];
4864
- if (E(ve(c))) {
4866
+ if (F(M(c))) {
4865
4867
  let t = n.buildEmptyRepetitionError({
4866
4868
  topLevelRule: e,
4867
4869
  repetition: i
@@ -4877,16 +4879,16 @@ function vs(e, t, n) {
4877
4879
  }
4878
4880
  function ys(e, t, n, r) {
4879
4881
  let i = [];
4880
- return F(O(e, (n, r, a) => (t.definition[a].ignoreAmbiguities === !0 || b(r, (r) => {
4882
+ return P(O(e, (n, r, a) => (t.definition[a].ignoreAmbiguities === !0 || j(r, (r) => {
4881
4883
  let o = [a];
4882
- b(e, (e, n) => {
4884
+ j(e, (e, n) => {
4883
4885
  a !== n && es(e, r) && t.definition[n].ignoreAmbiguities !== !0 && o.push(n);
4884
4886
  }), o.length > 1 && !es(i, r) && (i.push(r), n.push({
4885
4887
  alts: o,
4886
4888
  path: r
4887
4889
  }));
4888
4890
  }), n), []), (e) => {
4889
- let i = F(e.alts, (e) => e + 1);
4891
+ let i = P(e.alts, (e) => e + 1);
4890
4892
  return {
4891
4893
  message: r.buildAlternationAmbiguityError({
4892
4894
  topLevelRule: n,
@@ -4903,7 +4905,7 @@ function ys(e, t, n, r) {
4903
4905
  }
4904
4906
  function bs(e, t, n, r) {
4905
4907
  let i = O(e, (e, t, n) => {
4906
- let r = F(t, (e) => ({
4908
+ let r = P(t, (e) => ({
4907
4909
  idx: n,
4908
4910
  path: e
4909
4911
  }));
@@ -4912,7 +4914,7 @@ function bs(e, t, n, r) {
4912
4914
  return zr(Qr(i, (e) => {
4913
4915
  if (t.definition[e.idx].ignoreAmbiguities === !0) return [];
4914
4916
  let a = e.idx, o = e.path;
4915
- return F(k(i, (e) => t.definition[e.idx].ignoreAmbiguities !== !0 && e.idx < a && ts(e.path, o)), (e) => {
4917
+ return P(T(i, (e) => t.definition[e.idx].ignoreAmbiguities !== !0 && e.idx < a && ts(e.path, o)), (e) => {
4916
4918
  let i = [e.idx + 1, a + 1], o = t.idx === 0 ? "" : t.idx;
4917
4919
  return {
4918
4920
  message: r.buildAlternationPrefixAmbiguityError({
@@ -4930,8 +4932,8 @@ function bs(e, t, n, r) {
4930
4932
  }));
4931
4933
  }
4932
4934
  function xs(e, t, n) {
4933
- let r = [], i = F(t, (e) => e.name);
4934
- return b(e, (e) => {
4935
+ let r = [], i = P(t, (e) => e.name);
4936
+ return j(e, (e) => {
4935
4937
  let t = e.name;
4936
4938
  if (ni(i, t)) {
4937
4939
  let i = n.buildNamespaceConflictError(e);
@@ -4946,13 +4948,13 @@ function xs(e, t, n) {
4946
4948
  //#endregion
4947
4949
  //#region node_modules/chevrotain/lib/src/parse/grammar/gast/gast_resolver_public.js
4948
4950
  function Ss(e) {
4949
- let t = fe(e, { errMsgProvider: Eo }), n = {};
4950
- return b(e.rules, (e) => {
4951
+ let t = he(e, { errMsgProvider: Eo }), n = {};
4952
+ return j(e.rules, (e) => {
4951
4953
  n[e.name] = e;
4952
4954
  }), Oo(n, t.errMsgProvider);
4953
4955
  }
4954
4956
  function Cs(e) {
4955
- return e = fe(e, { errMsgProvider: Do }), is(e.rules, e.tokenTypes, e.errMsgProvider, e.grammarName);
4957
+ return e = he(e, { errMsgProvider: Do }), is(e.rules, e.tokenTypes, e.errMsgProvider, e.grammarName);
4956
4958
  }
4957
4959
  //#endregion
4958
4960
  //#region node_modules/chevrotain/lib/src/parse/exceptions_public.js
@@ -4993,7 +4995,7 @@ var As = class extends Error {
4993
4995
  }
4994
4996
  }, Rs = class {
4995
4997
  initRecoverable(e) {
4996
- this.firstAfterRepMap = {}, this.resyncFollows = {}, this.recoveryEnabled = P(e, "recoveryEnabled") ? e.recoveryEnabled : Ec.recoveryEnabled, this.recoveryEnabled && (this.attemptInRepetitionRecovery = zs);
4998
+ this.firstAfterRepMap = {}, this.resyncFollows = {}, this.recoveryEnabled = N(e, "recoveryEnabled") ? e.recoveryEnabled : Ec.recoveryEnabled, this.recoveryEnabled && (this.attemptInRepetitionRecovery = zs);
4997
4999
  }
4998
5000
  getTokenToInsert(e) {
4999
5001
  let t = Co(e, "", NaN, NaN, NaN, NaN, NaN, NaN);
@@ -5043,9 +5045,9 @@ var As = class extends Error {
5043
5045
  return this.canRecoverWithSingleTokenInsertion(e, t) || this.canRecoverWithSingleTokenDeletion(e);
5044
5046
  }
5045
5047
  canRecoverWithSingleTokenInsertion(e, t) {
5046
- if (!this.canTokenTypeBeInsertedInRecovery(e) || E(t)) return !1;
5048
+ if (!this.canTokenTypeBeInsertedInRecovery(e) || F(t)) return !1;
5047
5049
  let n = this.LA(1);
5048
- return me(t, (e) => this.tokenMatcher(n, e)) !== void 0;
5050
+ return ge(t, (e) => this.tokenMatcher(n, e)) !== void 0;
5049
5051
  }
5050
5052
  canRecoverWithSingleTokenDeletion(e) {
5051
5053
  return this.canTokenTypeBeDeletedInRecovery(e) ? this.tokenMatcher(this.LA(2), e) : !1;
@@ -5057,7 +5059,7 @@ var As = class extends Error {
5057
5059
  findReSyncTokenType() {
5058
5060
  let e = this.flattenFollowSet(), t = this.LA(1), n = 2;
5059
5061
  for (;;) {
5060
- let r = me(e, (e) => wo(t, e));
5062
+ let r = ge(e, (e) => wo(t, e));
5061
5063
  if (r !== void 0) return r;
5062
5064
  t = this.LA(n), n++;
5063
5065
  }
@@ -5073,14 +5075,14 @@ var As = class extends Error {
5073
5075
  }
5074
5076
  buildFullFollowKeyStack() {
5075
5077
  let e = this.RULE_STACK, t = this.RULE_OCCURRENCE_STACK;
5076
- return F(e, (n, r) => r === 0 ? Fs : {
5078
+ return P(e, (n, r) => r === 0 ? Fs : {
5077
5079
  ruleName: this.shortRuleNameToFullName(n),
5078
5080
  idxInCallingRule: t[r],
5079
5081
  inRule: this.shortRuleNameToFullName(e[r - 1])
5080
5082
  });
5081
5083
  }
5082
5084
  flattenFollowSet() {
5083
- return ve(F(this.buildFullFollowKeyStack(), (e) => this.getFollowSetFromFollowKey(e)));
5085
+ return M(P(this.buildFullFollowKeyStack(), (e) => this.getFollowSetFromFollowKey(e)));
5084
5086
  }
5085
5087
  getFollowSetFromFollowKey(e) {
5086
5088
  if (e === Fs) return [So];
@@ -5105,7 +5107,7 @@ var As = class extends Error {
5105
5107
  };
5106
5108
  }
5107
5109
  getHumanReadableRuleStack() {
5108
- return F(this.RULE_STACK, (e) => this.shortRuleNameToFullName(e));
5110
+ return P(this.RULE_STACK, (e) => this.shortRuleNameToFullName(e));
5109
5111
  }
5110
5112
  };
5111
5113
  function zs(e, t, n, r, i, a, o) {
@@ -5130,7 +5132,7 @@ var Ws = class {
5130
5132
  }
5131
5133
  validate(e) {
5132
5134
  let t = this.validateNoLeftRecursion(e.rules);
5133
- if (E(t)) {
5135
+ if (F(t)) {
5134
5136
  let n = this.validateEmptyOrAlternatives(e.rules), r = this.validateAmbiguousAlternationAlternatives(e.rules, this.maxLookahead), i = this.validateSomeNonEmptyLookaheadPath(e.rules, this.maxLookahead);
5135
5137
  return [
5136
5138
  ...t,
@@ -5161,13 +5163,13 @@ var Ws = class {
5161
5163
  }
5162
5164
  }, Gs = class {
5163
5165
  initLooksAhead(e) {
5164
- this.dynamicTokensEnabled = P(e, "dynamicTokensEnabled") ? e.dynamicTokensEnabled : Ec.dynamicTokensEnabled, this.maxLookahead = P(e, "maxLookahead") ? e.maxLookahead : Ec.maxLookahead, this.lookaheadStrategy = P(e, "lookaheadStrategy") ? e.lookaheadStrategy : new Ws({ maxLookahead: this.maxLookahead }), this.lookAheadFuncsCache = /* @__PURE__ */ new Map();
5166
+ this.dynamicTokensEnabled = N(e, "dynamicTokensEnabled") ? e.dynamicTokensEnabled : Ec.dynamicTokensEnabled, this.maxLookahead = N(e, "maxLookahead") ? e.maxLookahead : Ec.maxLookahead, this.lookaheadStrategy = N(e, "lookaheadStrategy") ? e.lookaheadStrategy : new Ws({ maxLookahead: this.maxLookahead }), this.lookAheadFuncsCache = /* @__PURE__ */ new Map();
5165
5167
  }
5166
5168
  preComputeLookaheadFunctions(e) {
5167
- b(e, (e) => {
5169
+ j(e, (e) => {
5168
5170
  this.TRACE_INIT(`${e.name} Rule Lookahead`, () => {
5169
5171
  let { alternation: t, repetition: n, option: r, repetitionMandatory: i, repetitionMandatoryWithSeparator: a, repetitionWithSeparator: o } = qs(e);
5170
- b(t, (t) => {
5172
+ j(t, (t) => {
5171
5173
  let n = t.idx === 0 ? "" : t.idx;
5172
5174
  this.TRACE_INIT(`${Ri(t)}${n}`, () => {
5173
5175
  let n = this.lookaheadStrategy.buildLookaheadForAlternation({
@@ -5179,15 +5181,15 @@ var Ws = class {
5179
5181
  }), r = Us(this.fullRuleNameToShort[e.name], 256, t.idx);
5180
5182
  this.setLaFuncCache(r, n);
5181
5183
  });
5182
- }), b(n, (t) => {
5184
+ }), j(n, (t) => {
5183
5185
  this.computeLookaheadFunc(e, t.idx, 768, "Repetition", t.maxLookahead, Ri(t));
5184
- }), b(r, (t) => {
5186
+ }), j(r, (t) => {
5185
5187
  this.computeLookaheadFunc(e, t.idx, 512, "Option", t.maxLookahead, Ri(t));
5186
- }), b(i, (t) => {
5188
+ }), j(i, (t) => {
5187
5189
  this.computeLookaheadFunc(e, t.idx, Bs, "RepetitionMandatory", t.maxLookahead, Ri(t));
5188
- }), b(a, (t) => {
5190
+ }), j(a, (t) => {
5189
5191
  this.computeLookaheadFunc(e, t.idx, Hs, "RepetitionMandatoryWithSeparator", t.maxLookahead, Ri(t));
5190
- }), b(o, (t) => {
5192
+ }), j(o, (t) => {
5191
5193
  this.computeLookaheadFunc(e, t.idx, Vs, "RepetitionWithSeparator", t.maxLookahead, Ri(t));
5192
5194
  });
5193
5195
  });
@@ -5288,7 +5290,7 @@ function $s(e, t) {
5288
5290
  //#endregion
5289
5291
  //#region node_modules/chevrotain/lib/src/parse/cst/cst_visitor.js
5290
5292
  function ec(e, t) {
5291
- let n = d(e), r = n.length;
5293
+ let n = C(e), r = n.length;
5292
5294
  for (let i = 0; i < r; i++) {
5293
5295
  let r = e[n[i]], a = r.length;
5294
5296
  for (let e = 0; e < a; e++) {
@@ -5301,12 +5303,12 @@ function tc(e, t) {
5301
5303
  let n = function() {};
5302
5304
  return $s(n, e + "BaseSemantics"), n.prototype = {
5303
5305
  visit: function(e, t) {
5304
- if (x(e) && (e = e[0]), !ie(e)) return this[e.name](e.children, t);
5306
+ if (g(e) && (e = e[0]), !A(e)) return this[e.name](e.children, t);
5305
5307
  },
5306
5308
  validateVisitor: function() {
5307
5309
  let e = ic(this, t);
5308
- if (!E(e)) {
5309
- let t = F(e, (e) => e.msg);
5310
+ if (!F(e)) {
5311
+ let t = P(e, (e) => e.msg);
5310
5312
  throw Error(`Errors Detected in CST Visitor <${this.constructor.name}>:\n\t${t.join("\n\n").replace(/\n/g, "\n ")}`);
5311
5313
  }
5312
5314
  }
@@ -5316,7 +5318,7 @@ function nc(e, t, n) {
5316
5318
  let r = function() {};
5317
5319
  $s(r, e + "BaseSemanticsWithDefaults");
5318
5320
  let i = Object.create(n.prototype);
5319
- return b(t, (e) => {
5321
+ return j(t, (e) => {
5320
5322
  i[e] = ec;
5321
5323
  }), r.prototype = i, r.prototype.constructor = r, r;
5322
5324
  }
@@ -5328,7 +5330,7 @@ function ic(e, t) {
5328
5330
  return ac(e, t);
5329
5331
  }
5330
5332
  function ac(e, t) {
5331
- return zr(F(k(t, (t) => v(e[t]) === !1), (t) => ({
5333
+ return zr(P(T(t, (t) => p(e[t]) === !1), (t) => ({
5332
5334
  msg: `Missing visitor method: <${t}> on ${e.constructor.name} CST Visitor.`,
5333
5335
  type: rc.MISSING_METHOD,
5334
5336
  methodName: t
@@ -5338,7 +5340,7 @@ function ac(e, t) {
5338
5340
  //#region node_modules/chevrotain/lib/src/parse/parser/traits/tree_builder.js
5339
5341
  var oc = class {
5340
5342
  initTreeBuilder(e) {
5341
- if (this.CST_STACK = [], this.outputCst = e.outputCst, this.nodeLocationTracking = P(e, "nodeLocationTracking") ? e.nodeLocationTracking : Ec.nodeLocationTracking, !this.outputCst) this.cstInvocationStateUpdate = D, this.cstFinallyStateUpdate = D, this.cstPostTerminal = D, this.cstPostNonTerminal = D, this.cstPostRule = D;
5343
+ if (this.CST_STACK = [], this.outputCst = e.outputCst, this.nodeLocationTracking = N(e, "nodeLocationTracking") ? e.nodeLocationTracking : Ec.nodeLocationTracking, !this.outputCst) this.cstInvocationStateUpdate = D, this.cstFinallyStateUpdate = D, this.cstPostTerminal = D, this.cstPostNonTerminal = D, this.cstPostRule = D;
5342
5344
  else if (/full/i.test(this.nodeLocationTracking)) this.recoveryEnabled ? (this.setNodeLocationFromToken = Ys, this.setNodeLocationFromNode = Ys, this.cstPostRule = D, this.setInitialNodeLocation = this.setInitialNodeLocationFullRecovery) : (this.setNodeLocationFromToken = D, this.setNodeLocationFromNode = D, this.cstPostRule = this.cstPostRuleFull, this.setInitialNodeLocation = this.setInitialNodeLocationFullRegular);
5343
5345
  else if (/onlyOffset/i.test(this.nodeLocationTracking)) this.recoveryEnabled ? (this.setNodeLocationFromToken = Js, this.setNodeLocationFromNode = Js, this.cstPostRule = D, this.setInitialNodeLocation = this.setInitialNodeLocationOnlyOffsetRecovery) : (this.setNodeLocationFromToken = D, this.setNodeLocationFromNode = D, this.cstPostRule = this.cstPostRuleOnlyOffset, this.setInitialNodeLocation = this.setInitialNodeLocationOnlyOffsetRegular);
5344
5346
  else if (/none/i.test(this.nodeLocationTracking)) this.setNodeLocationFromToken = D, this.setNodeLocationFromNode = D, this.cstPostRule = D, this.setInitialNodeLocation = D;
@@ -5404,15 +5406,15 @@ var oc = class {
5404
5406
  Zs(n, t, e), this.setNodeLocationFromNode(n.location, e.location);
5405
5407
  }
5406
5408
  getBaseCstVisitorConstructor() {
5407
- if (ie(this.baseCstVisitorConstructor)) {
5408
- let e = tc(this.className, d(this.gastProductionsCache));
5409
+ if (A(this.baseCstVisitorConstructor)) {
5410
+ let e = tc(this.className, C(this.gastProductionsCache));
5409
5411
  return this.baseCstVisitorConstructor = e, e;
5410
5412
  }
5411
5413
  return this.baseCstVisitorConstructor;
5412
5414
  }
5413
5415
  getBaseCstVisitorConstructorWithDefaults() {
5414
- if (ie(this.baseCstVisitorWithDefaultsConstructor)) {
5415
- let e = nc(this.className, d(this.gastProductionsCache), this.getBaseCstVisitorConstructor());
5416
+ if (A(this.baseCstVisitorWithDefaultsConstructor)) {
5417
+ let e = nc(this.className, C(this.gastProductionsCache), this.getBaseCstVisitorConstructor());
5416
5418
  return this.baseCstVisitorWithDefaultsConstructor = e, e;
5417
5419
  }
5418
5420
  return this.baseCstVisitorWithDefaultsConstructor;
@@ -5767,24 +5769,24 @@ var oc = class {
5767
5769
  return this.gastProductionsCache;
5768
5770
  }
5769
5771
  getSerializedGastProductions() {
5770
- return Mi(_(this.gastProductionsCache));
5772
+ return Mi(E(this.gastProductionsCache));
5771
5773
  }
5772
5774
  }, lc = class {
5773
5775
  initRecognizerEngine(e, t) {
5774
- if (this.className = this.constructor.name, this.shortRuleNameToFull = {}, this.fullRuleNameToShort = {}, this.ruleShortNameIdx = 256, this.tokenMatcher = Ga, this.subruleIdx = 0, this.definedRulesNames = [], this.tokensMap = {}, this.isBackTrackingStack = [], this.RULE_STACK = [], this.RULE_OCCURRENCE_STACK = [], this.gastProductionsCache = {}, P(t, "serializedGrammar")) throw Error("The Parser's configuration can no longer contain a <serializedGrammar> property.\n See: https://chevrotain.io/docs/changes/BREAKING_CHANGES.html#_6-0-0\n For Further details.");
5775
- if (x(e)) {
5776
- if (E(e)) throw Error("A Token Vocabulary cannot be empty.\n Note that the first argument for the parser constructor\n is no longer a Token vector (since v4.0).");
5776
+ if (this.className = this.constructor.name, this.shortRuleNameToFull = {}, this.fullRuleNameToShort = {}, this.ruleShortNameIdx = 256, this.tokenMatcher = Ga, this.subruleIdx = 0, this.definedRulesNames = [], this.tokensMap = {}, this.isBackTrackingStack = [], this.RULE_STACK = [], this.RULE_OCCURRENCE_STACK = [], this.gastProductionsCache = {}, N(t, "serializedGrammar")) throw Error("The Parser's configuration can no longer contain a <serializedGrammar> property.\n See: https://chevrotain.io/docs/changes/BREAKING_CHANGES.html#_6-0-0\n For Further details.");
5777
+ if (g(e)) {
5778
+ if (F(e)) throw Error("A Token Vocabulary cannot be empty.\n Note that the first argument for the parser constructor\n is no longer a Token vector (since v4.0).");
5777
5779
  if (typeof e[0].startOffset == "number") throw Error("The Parser constructor no longer accepts a token vector as the first argument.\n See: https://chevrotain.io/docs/changes/BREAKING_CHANGES.html#_4-0-0\n For Further details.");
5778
5780
  }
5779
- if (x(e)) this.tokensMap = O(e, (e, t) => (e[t.name] = t, e), {});
5780
- else if (P(e, "modes") && Xr(ve(_(e.modes)), io)) this.tokensMap = O(hi(ve(_(e.modes))), (e, t) => (e[t.name] = t, e), {});
5781
- else if (oe(e)) this.tokensMap = I(e);
5781
+ if (g(e)) this.tokensMap = O(e, (e, t) => (e[t.name] = t, e), {});
5782
+ else if (N(e, "modes") && Xr(M(E(e.modes)), io)) this.tokensMap = O(hi(M(E(e.modes))), (e, t) => (e[t.name] = t, e), {});
5783
+ else if (c(e)) this.tokensMap = I(e);
5782
5784
  else throw Error("<tokensDictionary> argument must be An Array of Token constructors, A dictionary of Token constructors or an IMultiModeLexerDefinition");
5783
- this.tokensMap.EOF = So, this.tokenMatcher = Xr(P(e, "modes") ? ve(_(e.modes)) : _(e), (e) => E(e.categoryMatches)) ? Ga : Wa, Ja(_(this.tokensMap));
5785
+ this.tokensMap.EOF = So, this.tokenMatcher = Xr(N(e, "modes") ? M(E(e.modes)) : E(e), (e) => F(e.categoryMatches)) ? Ga : Wa, Ja(E(this.tokensMap));
5784
5786
  }
5785
5787
  defineRule(e, t, n) {
5786
5788
  if (this.selfAnalysisDone) throw Error(`Grammar rule <${e}> may not be defined after the 'performSelfAnalysis' method has been called'\nMake sure that all grammar rule definitions are done before 'performSelfAnalysis' is called.`);
5787
- let r = P(n, "resyncEnabled") ? n.resyncEnabled : Dc.resyncEnabled, i = P(n, "recoveryValueFunc") ? n.recoveryValueFunc : Dc.recoveryValueFunc, a = this.ruleShortNameIdx << 12;
5789
+ let r = N(n, "resyncEnabled") ? n.resyncEnabled : Dc.resyncEnabled, i = N(n, "recoveryValueFunc") ? n.recoveryValueFunc : Dc.recoveryValueFunc, a = this.ruleShortNameIdx << 12;
5788
5790
  this.ruleShortNameIdx++, this.shortRuleNameToFull[a] = e, this.fullRuleNameToShort[e] = a;
5789
5791
  let o;
5790
5792
  return o = this.outputCst === !0 ? function(...n) {
@@ -5939,7 +5941,7 @@ var oc = class {
5939
5941
  return e.call(this), this.getLexerPosition() > t;
5940
5942
  }
5941
5943
  orInternal(e, t) {
5942
- let n = this.getKeyForAutomaticLookahead(256, t), r = x(e) ? e : e.DEF, i = this.getLaFuncFromCache(n).call(this, r);
5944
+ let n = this.getKeyForAutomaticLookahead(256, t), r = g(e) ? e : e.DEF, i = this.getLaFuncFromCache(n).call(this, r);
5943
5945
  if (i !== void 0) return r[i].ALT.call(this);
5944
5946
  this.raiseNoAltException(t, e.ERR_MSG);
5945
5947
  }
@@ -6026,7 +6028,7 @@ var oc = class {
6026
6028
  }
6027
6029
  }, uc = class {
6028
6030
  initErrorHandler(e) {
6029
- this._errors = [], this.errorMessageProvider = P(e, "errorMessageProvider") ? e.errorMessageProvider : Ec.errorMessageProvider;
6031
+ this._errors = [], this.errorMessageProvider = N(e, "errorMessageProvider") ? e.errorMessageProvider : Ec.errorMessageProvider;
6030
6032
  }
6031
6033
  SAVE_ERROR(e) {
6032
6034
  if (ks(e)) return e.context = {
@@ -6069,7 +6071,7 @@ var oc = class {
6069
6071
  initContentAssist() {}
6070
6072
  computeContentAssist(e, t) {
6071
6073
  let n = this.gastProductionsCache[e];
6072
- if (ie(n)) throw Error(`Rule ->${e}<- does not exist in this grammar.`);
6074
+ if (A(n)) throw Error(`Rule ->${e}<- does not exist in this grammar.`);
6073
6075
  return Ro([n], t, this.tokenMatcher, this.maxLookahead);
6074
6076
  }
6075
6077
  getNextPossibleTokenTypes(e) {
@@ -6181,11 +6183,11 @@ var _c = {
6181
6183
  return bc.call(this, e, t);
6182
6184
  }
6183
6185
  subruleInternalRecord(e, t, n) {
6184
- if (Sc(t), !e || P(e, "ruleName") === !1) {
6186
+ if (Sc(t), !e || N(e, "ruleName") === !1) {
6185
6187
  let n = /* @__PURE__ */ Error(`<SUBRULE${xc(t)}> argument is invalid expecting a Parser method reference but got: <${JSON.stringify(e)}>\n inside top level rule: <${this.recordingProdStack[0].name}>`);
6186
6188
  throw n.KNOWN_RECORDER_ERROR = !0, n;
6187
6189
  }
6188
- let r = _e(this.recordingProdStack), i = e.ruleName, a = new wi({
6190
+ let r = be(this.recordingProdStack), i = e.ruleName, a = new wi({
6189
6191
  idx: t,
6190
6192
  nonTerminalName: i,
6191
6193
  label: n == null ? void 0 : n.LABEL,
@@ -6198,7 +6200,7 @@ var _c = {
6198
6200
  let n = /* @__PURE__ */ Error(`<CONSUME${xc(t)}> argument is invalid expecting a TokenType reference but got: <${JSON.stringify(e)}>\n inside top level rule: <${this.recordingProdStack[0].name}>`);
6199
6201
  throw n.KNOWN_RECORDER_ERROR = !0, n;
6200
6202
  }
6201
- let r = _e(this.recordingProdStack), i = new U({
6203
+ let r = be(this.recordingProdStack), i = new U({
6202
6204
  idx: t,
6203
6205
  terminalType: e,
6204
6206
  label: n == null ? void 0 : n.LABEL
@@ -6208,22 +6210,22 @@ var _c = {
6208
6210
  };
6209
6211
  function yc(e, t, n, r = !1) {
6210
6212
  Sc(n);
6211
- let i = _e(this.recordingProdStack), a = v(t) ? t : t.DEF, o = new e({
6213
+ let i = be(this.recordingProdStack), a = p(t) ? t : t.DEF, o = new e({
6212
6214
  definition: [],
6213
6215
  idx: n
6214
6216
  });
6215
- return r && (o.separator = t.SEP), P(t, "MAX_LOOKAHEAD") && (o.maxLookahead = t.MAX_LOOKAHEAD), this.recordingProdStack.push(o), a.call(this), i.definition.push(o), this.recordingProdStack.pop(), fc;
6217
+ return r && (o.separator = t.SEP), N(t, "MAX_LOOKAHEAD") && (o.maxLookahead = t.MAX_LOOKAHEAD), this.recordingProdStack.push(o), a.call(this), i.definition.push(o), this.recordingProdStack.pop(), fc;
6216
6218
  }
6217
6219
  function bc(e, t) {
6218
6220
  Sc(t);
6219
- let n = _e(this.recordingProdStack), r = x(e) === !1, i = r === !1 ? e : e.DEF, a = new ji({
6221
+ let n = be(this.recordingProdStack), r = g(e) === !1, i = r === !1 ? e : e.DEF, a = new ji({
6220
6222
  definition: [],
6221
6223
  idx: t,
6222
6224
  ignoreAmbiguities: r && e.IGNORE_AMBIGUITIES === !0
6223
6225
  });
6224
- return P(e, "MAX_LOOKAHEAD") && (a.maxLookahead = e.MAX_LOOKAHEAD), a.hasPredicates = mi(i, (e) => v(e.GATE)), n.definition.push(a), b(i, (e) => {
6226
+ return N(e, "MAX_LOOKAHEAD") && (a.maxLookahead = e.MAX_LOOKAHEAD), a.hasPredicates = mi(i, (e) => p(e.GATE)), n.definition.push(a), j(i, (e) => {
6225
6227
  let t = new Ei({ definition: [] });
6226
- a.definition.push(t), P(e, "IGNORE_AMBIGUITIES") ? t.ignoreAmbiguities = e.IGNORE_AMBIGUITIES : P(e, "GATE") && (t.ignoreAmbiguities = !0), this.recordingProdStack.push(t), e.ALT.call(this), this.recordingProdStack.pop();
6228
+ a.definition.push(t), N(e, "IGNORE_AMBIGUITIES") ? t.ignoreAmbiguities = e.IGNORE_AMBIGUITIES : N(e, "GATE") && (t.ignoreAmbiguities = !0), this.recordingProdStack.push(t), e.ALT.call(this), this.recordingProdStack.pop();
6227
6229
  }), fc;
6228
6230
  }
6229
6231
  function xc(e) {
@@ -6239,7 +6241,7 @@ function Sc(e) {
6239
6241
  //#region node_modules/chevrotain/lib/src/parse/parser/traits/perf_tracer.js
6240
6242
  var Cc = class {
6241
6243
  initPerformanceTracer(e) {
6242
- if (P(e, "traceInitPerf")) {
6244
+ if (N(e, "traceInitPerf")) {
6243
6245
  let t = e.traceInitPerf, n = typeof t == "number";
6244
6246
  this.traceInitMaxIdent = n ? t : Infinity, this.traceInitPerf = n ? t > 0 : t;
6245
6247
  } else this.traceInitMaxIdent = 0, this.traceInitPerf = Ec.traceInitPerf;
@@ -6305,7 +6307,7 @@ var Ac = class e {
6305
6307
  bi(this);
6306
6308
  }), this.TRACE_INIT("Grammar Recording", () => {
6307
6309
  try {
6308
- this.enableRecording(), b(this.definedRulesNames, (e) => {
6310
+ this.enableRecording(), j(this.definedRulesNames, (e) => {
6309
6311
  let t = this[e].originalGrammarAction, n;
6310
6312
  this.TRACE_INIT(`${e} Rule`, () => {
6311
6313
  n = this.topLevelRuleRecord(e, t);
@@ -6317,35 +6319,35 @@ var Ac = class e {
6317
6319
  });
6318
6320
  let r = [];
6319
6321
  if (this.TRACE_INIT("Grammar Resolving", () => {
6320
- r = Ss({ rules: _(this.gastProductionsCache) }), this.definitionErrors = this.definitionErrors.concat(r);
6322
+ r = Ss({ rules: E(this.gastProductionsCache) }), this.definitionErrors = this.definitionErrors.concat(r);
6321
6323
  }), this.TRACE_INIT("Grammar Validations", () => {
6322
- if (E(r) && this.skipValidations === !1) {
6324
+ if (F(r) && this.skipValidations === !1) {
6323
6325
  let e = Cs({
6324
- rules: _(this.gastProductionsCache),
6325
- tokenTypes: _(this.tokensMap),
6326
+ rules: E(this.gastProductionsCache),
6327
+ tokenTypes: E(this.tokensMap),
6326
6328
  errMsgProvider: Do,
6327
6329
  grammarName: n
6328
6330
  }), t = rs({
6329
6331
  lookaheadStrategy: this.lookaheadStrategy,
6330
- rules: _(this.gastProductionsCache),
6331
- tokenTypes: _(this.tokensMap),
6332
+ rules: E(this.gastProductionsCache),
6333
+ tokenTypes: E(this.tokensMap),
6332
6334
  grammarName: n
6333
6335
  });
6334
6336
  this.definitionErrors = this.definitionErrors.concat(e, t);
6335
6337
  }
6336
- }), E(this.definitionErrors) && (this.recoveryEnabled && this.TRACE_INIT("computeAllProdsFollows", () => {
6337
- this.resyncFollows = qi(_(this.gastProductionsCache));
6338
+ }), F(this.definitionErrors) && (this.recoveryEnabled && this.TRACE_INIT("computeAllProdsFollows", () => {
6339
+ this.resyncFollows = qi(E(this.gastProductionsCache));
6338
6340
  }), this.TRACE_INIT("ComputeLookaheadFunctions", () => {
6339
6341
  var e, t;
6340
- (t = (e = this.lookaheadStrategy).initialize) == null || t.call(e, { rules: _(this.gastProductionsCache) }), this.preComputeLookaheadFunctions(_(this.gastProductionsCache));
6341
- })), !e.DEFER_DEFINITION_ERRORS_HANDLING && !E(this.definitionErrors)) throw t = F(this.definitionErrors, (e) => e.message), Error(`Parser Definition Errors detected:\n ${t.join("\n-------------------------------\n")}`);
6342
+ (t = (e = this.lookaheadStrategy).initialize) == null || t.call(e, { rules: E(this.gastProductionsCache) }), this.preComputeLookaheadFunctions(E(this.gastProductionsCache));
6343
+ })), !e.DEFER_DEFINITION_ERRORS_HANDLING && !F(this.definitionErrors)) throw t = P(this.definitionErrors, (e) => e.message), Error(`Parser Definition Errors detected:\n ${t.join("\n-------------------------------\n")}`);
6342
6344
  });
6343
6345
  }
6344
6346
  constructor(e, t) {
6345
6347
  this.definitionErrors = [], this.selfAnalysisDone = !1;
6346
6348
  let n = this;
6347
- if (n.initErrorHandler(t), n.initLexerAdapter(), n.initLooksAhead(t), n.initRecognizerEngine(e, t), n.initRecoverable(t), n.initTreeBuilder(t), n.initContentAssist(), n.initGastRecorder(t), n.initPerformanceTracer(t), P(t, "ignoredIssues")) throw Error("The <ignoredIssues> IParserConfig property has been deprecated.\n Please use the <IGNORE_AMBIGUITIES> flag on the relevant DSL method instead.\n See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#IGNORING_AMBIGUITIES\n For further details.");
6348
- this.skipValidations = P(t, "skipValidations") ? t.skipValidations : Ec.skipValidations;
6349
+ if (n.initErrorHandler(t), n.initLexerAdapter(), n.initLooksAhead(t), n.initRecognizerEngine(e, t), n.initRecoverable(t), n.initTreeBuilder(t), n.initContentAssist(), n.initGastRecorder(t), n.initPerformanceTracer(t), N(t, "ignoredIssues")) throw Error("The <ignoredIssues> IParserConfig property has been deprecated.\n Please use the <IGNORE_AMBIGUITIES> flag on the relevant DSL method instead.\n See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#IGNORING_AMBIGUITIES\n For further details.");
6350
+ this.skipValidations = N(t, "skipValidations") ? t.skipValidations : Ec.skipValidations;
6349
6351
  }
6350
6352
  };
6351
6353
  Ac.DEFER_DEFINITION_ERRORS_HANDLING = !1, wc(Ac, [
@@ -6441,14 +6443,14 @@ function Uc(e, t, n) {
6441
6443
  }
6442
6444
  function Wc(e, t, n) {
6443
6445
  let r = rl(e, t, n, { type: 1 });
6444
- return Xc(e, r), Zc(e, t, r, n, ...F(n.definition, (n) => zc(e, t, n)));
6446
+ return Xc(e, r), Zc(e, t, r, n, ...P(n.definition, (n) => zc(e, t, n)));
6445
6447
  }
6446
6448
  function Gc(e, t, n) {
6447
6449
  let r = rl(e, t, n, { type: 1 });
6448
6450
  return Xc(e, r), Yc(e, t, n, Zc(e, t, r, n, Kc(e, t, n)));
6449
6451
  }
6450
6452
  function Kc(e, t, n) {
6451
- let r = k(F(n.definition, (n) => zc(e, t, n)), (e) => e !== void 0);
6453
+ let r = T(P(n.definition, (n) => zc(e, t, n)), (e) => e !== void 0);
6452
6454
  return r.length === 1 ? r[0] : r.length === 0 ? void 0 : $c(e, r);
6453
6455
  }
6454
6456
  function qc(e, t, n, r, i) {
@@ -6576,7 +6578,7 @@ var ol = {}, sl = class {
6576
6578
  return this.configs;
6577
6579
  }
6578
6580
  get alts() {
6579
- return F(this.configs, (e) => e.alt);
6581
+ return P(this.configs, (e) => e.alt);
6580
6582
  }
6581
6583
  get key() {
6582
6584
  let e = "";
@@ -6630,15 +6632,15 @@ var ul = class {
6630
6632
  return [];
6631
6633
  }
6632
6634
  buildLookaheadForAlternation(e) {
6633
- let { prodOccurrence: t, rule: n, hasPredicates: r, dynamicTokensEnabled: i } = e, a = this.dfas, o = this.logging, s = Mc(n, "Alternation", t), c = this.atn.decisionMap[s].decision, l = F(Vo({
6635
+ let { prodOccurrence: t, rule: n, hasPredicates: r, dynamicTokensEnabled: i } = e, a = this.dfas, o = this.logging, s = Mc(n, "Alternation", t), c = this.atn.decisionMap[s].decision, l = P(Vo({
6634
6636
  maxLookahead: 1,
6635
6637
  occurrence: t,
6636
6638
  prodType: "Alternation",
6637
6639
  rule: n
6638
- }), (e) => F(e, (e) => e[0]));
6640
+ }), (e) => P(e, (e) => e[0]));
6639
6641
  if (pl(l, !1) && !i) {
6640
- let e = O(l, (e, t, n) => (b(t, (t) => {
6641
- t && (e[t.tokenTypeIdx] = n, b(t.categoryMatches, (t) => {
6642
+ let e = O(l, (e, t, n) => (j(t, (t) => {
6643
+ t && (e[t.tokenTypeIdx] = n, j(t.categoryMatches, (t) => {
6642
6644
  e[t] = n;
6643
6645
  }));
6644
6646
  }), e), {});
@@ -6668,21 +6670,21 @@ var ul = class {
6668
6670
  };
6669
6671
  }
6670
6672
  buildLookaheadForOptional(e) {
6671
- let { prodOccurrence: t, rule: n, prodType: r, dynamicTokensEnabled: i } = e, a = this.dfas, o = this.logging, s = Mc(n, r, t), c = this.atn.decisionMap[s].decision, l = F(Vo({
6673
+ let { prodOccurrence: t, rule: n, prodType: r, dynamicTokensEnabled: i } = e, a = this.dfas, o = this.logging, s = Mc(n, r, t), c = this.atn.decisionMap[s].decision, l = P(Vo({
6672
6674
  maxLookahead: 1,
6673
6675
  occurrence: t,
6674
6676
  prodType: r,
6675
6677
  rule: n
6676
- }), (e) => F(e, (e) => e[0]));
6678
+ }), (e) => P(e, (e) => e[0]));
6677
6679
  if (pl(l) && l[0][0] && !i) {
6678
- let e = l[0], t = ve(e);
6679
- if (t.length === 1 && E(t[0].categoryMatches)) {
6680
+ let e = l[0], t = M(e);
6681
+ if (t.length === 1 && F(t[0].categoryMatches)) {
6680
6682
  let e = t[0].tokenTypeIdx;
6681
6683
  return function() {
6682
6684
  return this.LA(1).tokenTypeIdx === e;
6683
6685
  };
6684
6686
  } else {
6685
- let e = O(t, (e, t) => (t !== void 0 && (e[t.tokenTypeIdx] = !0, b(t.categoryMatches, (t) => {
6687
+ let e = O(t, (e, t) => (t !== void 0 && (e[t.tokenTypeIdx] = !0, j(t.categoryMatches, (t) => {
6686
6688
  e[t] = !0;
6687
6689
  })), e), {});
6688
6690
  return function() {
@@ -6749,7 +6751,7 @@ function _l(e, t, n, r, i, a) {
6749
6751
  let s = El(o), c = Tl(o, i);
6750
6752
  if (c !== void 0) s.isAcceptState = !0, s.prediction = c, s.configs.uniqueAlt = c;
6751
6753
  else if (Pl(o)) {
6752
- let t = he(o.alts);
6754
+ let t = _e(o.alts);
6753
6755
  s.isAcceptState = !0, s.prediction = t, s.configs.uniqueAlt = t, vl.apply(this, [
6754
6756
  e,
6755
6757
  r,
@@ -6771,7 +6773,7 @@ function vl(e, t, n, r) {
6771
6773
  }));
6772
6774
  }
6773
6775
  function yl(e) {
6774
- let t = F(e.prefixPath, (e) => co(e)).join(", "), n = e.production.idx === 0 ? "" : e.production.idx, r = `Ambiguous Alternatives Detected: <${e.ambiguityIndices.join(", ")}> in <${bl(e.production)}${n}> inside <${e.topLevelRule.name}> Rule,\n<${t}> may appears as a prefix path in all these alternatives.\n`;
6776
+ let t = P(e.prefixPath, (e) => co(e)).join(", "), n = e.production.idx === 0 ? "" : e.production.idx, r = `Ambiguous Alternatives Detected: <${e.ambiguityIndices.join(", ")}> in <${bl(e.production)}${n}> inside <${e.topLevelRule.name}> Rule,\n<${t}> may appears as a prefix path in all these alternatives.\n`;
6775
6777
  return r += "See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#AMBIGUOUS_ALTERNATIVES\nFor Further details.", r;
6776
6778
  }
6777
6779
  function bl(e) {
@@ -9458,7 +9460,7 @@ var Sf;
9458
9460
  let i;
9459
9461
  n.r(r), n.d(r, {
9460
9462
  URI: () => d,
9461
- Utils: () => w
9463
+ Utils: () => S
9462
9464
  }), typeof process == "object" ? i = process.platform === "win32" : typeof navigator == "object" && (i = navigator.userAgent.indexOf("Windows") >= 0);
9463
9465
  let a = /^\w[\w\d+.-]*$/, s = /^\//, c = /^\/\//;
9464
9466
  function l(e, t) {
@@ -9497,7 +9499,7 @@ var Sf;
9497
9499
  }
9498
9500
  static parse(e, t = !1) {
9499
9501
  let n = u.exec(e);
9500
- return n ? new p(n[2] || "", x(n[4] || ""), x(n[5] || ""), x(n[7] || ""), x(n[9] || ""), t) : new p("", "", "", "", "");
9502
+ return n ? new p(n[2] || "", b(n[4] || ""), b(n[5] || ""), b(n[7] || ""), b(n[9] || ""), t) : new p("", "", "", "", "");
9501
9503
  }
9502
9504
  static file(e) {
9503
9505
  let t = "";
@@ -9619,31 +9621,31 @@ var Sf;
9619
9621
  return e.length > 3 ? e.substr(0, 3) + y(e.substr(3)) : e;
9620
9622
  }
9621
9623
  }
9622
- let b = /(%[0-9A-Za-z][0-9A-Za-z])+/g;
9623
- function x(e) {
9624
- return e.match(b) ? e.replace(b, ((e) => y(e))) : e;
9624
+ let ee = /(%[0-9A-Za-z][0-9A-Za-z])+/g;
9625
+ function b(e) {
9626
+ return e.match(ee) ? e.replace(ee, ((e) => y(e))) : e;
9625
9627
  }
9626
- var S = n(975);
9627
- let C = S.posix || S;
9628
- var w;
9628
+ var x = n(975);
9629
+ let te = x.posix || x;
9630
+ var S;
9629
9631
  (function(e) {
9630
9632
  e.joinPath = function(e, ...t) {
9631
- return e.with({ path: C.join(e.path, ...t) });
9633
+ return e.with({ path: te.join(e.path, ...t) });
9632
9634
  }, e.resolvePath = function(e, ...t) {
9633
9635
  let n = e.path, r = !1;
9634
9636
  n[0] !== "/" && (n = "/" + n, r = !0);
9635
- let i = C.resolve(n, ...t);
9637
+ let i = te.resolve(n, ...t);
9636
9638
  return r && i[0] === "/" && !e.authority && (i = i.substring(1)), e.with({ path: i });
9637
9639
  }, e.dirname = function(e) {
9638
9640
  if (e.path.length === 0 || e.path === "/") return e;
9639
- let t = C.dirname(e.path);
9641
+ let t = te.dirname(e.path);
9640
9642
  return t.length === 1 && t.charCodeAt(0) === 46 && (t = ""), e.with({ path: t });
9641
9643
  }, e.basename = function(e) {
9642
- return C.basename(e.path);
9644
+ return te.basename(e.path);
9643
9645
  }, e.extname = function(e) {
9644
- return C.extname(e.path);
9646
+ return te.extname(e.path);
9645
9647
  };
9646
- })(w || (w = {})), Sf = r;
9648
+ })(S || (S = {})), Sf = r;
9647
9649
  })();
9648
9650
  var { URI: Cf, Utils: wf } = Sf, Tf;
9649
9651
  (function(e) {
@@ -11959,25 +11961,25 @@ var sp = class {
11959
11961
  }
11960
11962
  e.is = t;
11961
11963
  })(y || (e.IdCancellationReceiverStrategy = y = {}));
11962
- var b;
11964
+ var ee;
11963
11965
  (function(e) {
11964
11966
  function t(e) {
11965
11967
  let t = e;
11966
11968
  return t && t.kind === "request" && n.func(t.createCancellationTokenSource) && (t.dispose === void 0 || n.func(t.dispose));
11967
11969
  }
11968
11970
  e.is = t;
11969
- })(b || (e.RequestCancellationReceiverStrategy = b = {}));
11970
- var x;
11971
+ })(ee || (e.RequestCancellationReceiverStrategy = ee = {}));
11972
+ var b;
11971
11973
  (function(e) {
11972
11974
  e.Message = Object.freeze({ createCancellationTokenSource(e) {
11973
11975
  return new o.CancellationTokenSource();
11974
11976
  } });
11975
11977
  function t(e) {
11976
- return y.is(e) || b.is(e);
11978
+ return y.is(e) || ee.is(e);
11977
11979
  }
11978
11980
  e.is = t;
11979
- })(x || (e.CancellationReceiverStrategy = x = {}));
11980
- var S;
11981
+ })(b || (e.CancellationReceiverStrategy = b = {}));
11982
+ var x;
11981
11983
  (function(e) {
11982
11984
  e.Message = Object.freeze({
11983
11985
  sendCancellation(e, t) {
@@ -11990,92 +11992,92 @@ var sp = class {
11990
11992
  return t && n.func(t.sendCancellation) && n.func(t.cleanup);
11991
11993
  }
11992
11994
  e.is = t;
11993
- })(S || (e.CancellationSenderStrategy = S = {}));
11994
- var C;
11995
+ })(x || (e.CancellationSenderStrategy = x = {}));
11996
+ var te;
11995
11997
  (function(e) {
11996
11998
  e.Message = Object.freeze({
11997
- receiver: x.Message,
11998
- sender: S.Message
11999
+ receiver: b.Message,
12000
+ sender: x.Message
11999
12001
  });
12000
12002
  function t(e) {
12001
12003
  let t = e;
12002
- return t && x.is(t.receiver) && S.is(t.sender);
12004
+ return t && b.is(t.receiver) && x.is(t.sender);
12003
12005
  }
12004
12006
  e.is = t;
12005
- })(C || (e.CancellationStrategy = C = {}));
12006
- var w;
12007
+ })(te || (e.CancellationStrategy = te = {}));
12008
+ var S;
12007
12009
  (function(e) {
12008
12010
  function t(e) {
12009
12011
  let t = e;
12010
12012
  return t && n.func(t.handleMessage);
12011
12013
  }
12012
12014
  e.is = t;
12013
- })(w || (e.MessageStrategy = w = {}));
12014
- var ee;
12015
+ })(S || (e.MessageStrategy = S = {}));
12016
+ var C;
12015
12017
  (function(e) {
12016
12018
  function t(e) {
12017
12019
  let t = e;
12018
- return t && (C.is(t.cancellationStrategy) || v.is(t.connectionStrategy) || w.is(t.messageStrategy));
12020
+ return t && (te.is(t.cancellationStrategy) || v.is(t.connectionStrategy) || S.is(t.messageStrategy));
12019
12021
  }
12020
12022
  e.is = t;
12021
- })(ee || (e.ConnectionOptions = ee = {}));
12022
- var T;
12023
+ })(C || (e.ConnectionOptions = C = {}));
12024
+ var w;
12023
12025
  (function(e) {
12024
12026
  e[e.New = 1] = "New", e[e.Listening = 2] = "Listening", e[e.Closed = 3] = "Closed", e[e.Disposed = 4] = "Disposed";
12025
- })(T || (T = {}));
12026
- function E(f, v, b, x) {
12027
- let S = b === void 0 ? e.NullLogger : b, ee = 0, E = 0, D = 0, te, O = /* @__PURE__ */ new Map(), k, ne = /* @__PURE__ */ new Map(), re = /* @__PURE__ */ new Map(), ie, ae = new i.LinkedMap(), oe = /* @__PURE__ */ new Map(), A = /* @__PURE__ */ new Set(), se = /* @__PURE__ */ new Map(), j = d.Off, ce = p.Text, M, le = T.New, ue = new a.Emitter(), N = new a.Emitter(), de = new a.Emitter(), fe = new a.Emitter(), pe = new a.Emitter(), me = x && x.cancellationStrategy ? x.cancellationStrategy : C.Message;
12028
- function he(e) {
12027
+ })(w || (w = {}));
12028
+ function ne(f, v, ee, b) {
12029
+ let x = ee === void 0 ? e.NullLogger : ee, C = 0, ne = 0, re = 0, ie, T = /* @__PURE__ */ new Map(), ae, oe = /* @__PURE__ */ new Map(), se = /* @__PURE__ */ new Map(), E, D = new i.LinkedMap(), ce = /* @__PURE__ */ new Map(), le = /* @__PURE__ */ new Set(), O = /* @__PURE__ */ new Map(), k = d.Off, A = p.Text, j, ue = w.New, de = new a.Emitter(), fe = new a.Emitter(), pe = new a.Emitter(), me = new a.Emitter(), he = new a.Emitter(), M = b && b.cancellationStrategy ? b.cancellationStrategy : te.Message;
12030
+ function ge(e) {
12029
12031
  if (e === null) throw Error("Can't send requests with id null since the response can't be correlated.");
12030
12032
  return "req-" + e.toString();
12031
12033
  }
12032
- function P(e) {
12033
- return e === null ? "res-unknown-" + (++D).toString() : "res-" + e.toString();
12034
+ function _e(e) {
12035
+ return e === null ? "res-unknown-" + (++re).toString() : "res-" + e.toString();
12034
12036
  }
12035
- function F() {
12036
- return "not-" + (++E).toString();
12037
- }
12038
- function ge(e, t) {
12039
- r.Message.isRequest(t) ? e.set(he(t.id), t) : r.Message.isResponse(t) ? e.set(P(t.id), t) : e.set(F(), t);
12037
+ function N() {
12038
+ return "not-" + (++ne).toString();
12040
12039
  }
12041
- function _e(e) {}
12042
- function ve() {
12043
- return le === T.Listening;
12040
+ function ve(e, t) {
12041
+ r.Message.isRequest(t) ? e.set(ge(t.id), t) : r.Message.isResponse(t) ? e.set(_e(t.id), t) : e.set(N(), t);
12044
12042
  }
12043
+ function P(e) {}
12045
12044
  function ye() {
12046
- return le === T.Closed;
12045
+ return ue === w.Listening;
12047
12046
  }
12048
12047
  function be() {
12049
- return le === T.Disposed;
12048
+ return ue === w.Closed;
12049
+ }
12050
+ function F() {
12051
+ return ue === w.Disposed;
12050
12052
  }
12051
12053
  function I() {
12052
- (le === T.New || le === T.Listening) && (le = T.Closed, N.fire(void 0));
12054
+ (ue === w.New || ue === w.Listening) && (ue = w.Closed, fe.fire(void 0));
12053
12055
  }
12054
12056
  function L(e) {
12055
- ue.fire([
12057
+ de.fire([
12056
12058
  e,
12057
12059
  void 0,
12058
12060
  void 0
12059
12061
  ]);
12060
12062
  }
12061
12063
  function xe(e) {
12062
- ue.fire(e);
12064
+ de.fire(e);
12063
12065
  }
12064
12066
  f.onClose(I), f.onError(L), v.onClose(I), v.onError(xe);
12065
12067
  function Se() {
12066
- ie || ae.size === 0 || (ie = (0, t.default)().timer.setImmediate(() => {
12067
- ie = void 0, we();
12068
+ E || D.size === 0 || (E = (0, t.default)().timer.setImmediate(() => {
12069
+ E = void 0, we();
12068
12070
  }));
12069
12071
  }
12070
12072
  function Ce(e) {
12071
12073
  r.Message.isRequest(e) ? Ee(e) : r.Message.isNotification(e) ? Oe(e) : r.Message.isResponse(e) ? De(e) : ke(e);
12072
12074
  }
12073
12075
  function we() {
12074
- if (ae.size === 0) return;
12075
- let e = ae.shift();
12076
+ if (D.size === 0) return;
12077
+ let e = D.shift();
12076
12078
  try {
12077
- let t = x == null ? void 0 : x.messageStrategy;
12078
- w.is(t) ? t.handleMessage(e, Ce) : Ce(e);
12079
+ let t = b == null ? void 0 : b.messageStrategy;
12080
+ S.is(t) ? t.handleMessage(e, Ce) : Ce(e);
12079
12081
  } finally {
12080
12082
  Se();
12081
12083
  }
@@ -12083,33 +12085,33 @@ var sp = class {
12083
12085
  let Te = (e) => {
12084
12086
  try {
12085
12087
  if (r.Message.isNotification(e) && e.method === s.type.method) {
12086
- let t = e.params.id, n = he(t), i = ae.get(n);
12088
+ let t = e.params.id, n = ge(t), i = D.get(n);
12087
12089
  if (r.Message.isRequest(i)) {
12088
- let r = x == null ? void 0 : x.connectionStrategy, a = r && r.cancelUndispatched ? r.cancelUndispatched(i, _e) : void 0;
12090
+ let r = b == null ? void 0 : b.connectionStrategy, a = r && r.cancelUndispatched ? r.cancelUndispatched(i, P) : void 0;
12089
12091
  if (a && (a.error !== void 0 || a.result !== void 0)) {
12090
- ae.delete(n), se.delete(t), a.id = i.id, R(a, e.method, Date.now()), v.write(a).catch(() => S.error("Sending response for canceled message failed."));
12092
+ D.delete(n), O.delete(t), a.id = i.id, R(a, e.method, Date.now()), v.write(a).catch(() => x.error("Sending response for canceled message failed."));
12091
12093
  return;
12092
12094
  }
12093
12095
  }
12094
- let a = se.get(t);
12096
+ let a = O.get(t);
12095
12097
  if (a !== void 0) {
12096
12098
  a.cancel(), Ne(e);
12097
12099
  return;
12098
- } else A.add(t);
12100
+ } else le.add(t);
12099
12101
  }
12100
- ge(ae, e);
12102
+ ve(D, e);
12101
12103
  } finally {
12102
12104
  Se();
12103
12105
  }
12104
12106
  };
12105
12107
  function Ee(e) {
12106
- if (be()) return;
12108
+ if (F()) return;
12107
12109
  function t(t, n, i) {
12108
12110
  let a = {
12109
12111
  jsonrpc: "2.0",
12110
12112
  id: e.id
12111
12113
  };
12112
- t instanceof r.ResponseError ? a.error = t.toJson() : a.result = t === void 0 ? null : t, R(a, n, i), v.write(a).catch(() => S.error("Sending response failed."));
12114
+ t instanceof r.ResponseError ? a.error = t.toJson() : a.result = t === void 0 ? null : t, R(a, n, i), v.write(a).catch(() => x.error("Sending response failed."));
12113
12115
  }
12114
12116
  function i(t, n, r) {
12115
12117
  let i = {
@@ -12117,7 +12119,7 @@ var sp = class {
12117
12119
  id: e.id,
12118
12120
  error: t.toJson()
12119
12121
  };
12120
- R(i, n, r), v.write(i).catch(() => S.error("Sending response failed."));
12122
+ R(i, n, r), v.write(i).catch(() => x.error("Sending response failed."));
12121
12123
  }
12122
12124
  function a(t, n, r) {
12123
12125
  t === void 0 && (t = null);
@@ -12126,16 +12128,16 @@ var sp = class {
12126
12128
  id: e.id,
12127
12129
  result: t
12128
12130
  };
12129
- R(i, n, r), v.write(i).catch(() => S.error("Sending response failed."));
12131
+ R(i, n, r), v.write(i).catch(() => x.error("Sending response failed."));
12130
12132
  }
12131
12133
  z(e);
12132
- let o = O.get(e.method), s, c;
12134
+ let o = T.get(e.method), s, c;
12133
12135
  o && (s = o.type, c = o.handler);
12134
12136
  let l = Date.now();
12135
- if (c || te) {
12137
+ if (c || ie) {
12136
12138
  var u;
12137
- let o = (u = e.id) == null ? String(Date.now()) : u, d = y.is(me.receiver) ? me.receiver.createCancellationTokenSource(o) : me.receiver.createCancellationTokenSource(e);
12138
- e.id !== null && A.has(e.id) && d.cancel(), e.id !== null && se.set(o, d);
12139
+ let o = (u = e.id) == null ? String(Date.now()) : u, d = y.is(M.receiver) ? M.receiver.createCancellationTokenSource(o) : M.receiver.createCancellationTokenSource(e);
12140
+ e.id !== null && le.has(e.id) && d.cancel(), e.id !== null && O.set(o, d);
12139
12141
  try {
12140
12142
  let u;
12141
12143
  if (c) if (e.params === void 0) {
@@ -12157,24 +12159,24 @@ var sp = class {
12157
12159
  }
12158
12160
  u = c(e.params, d.token);
12159
12161
  }
12160
- else te && (u = te(e.method, e.params, d.token));
12162
+ else ie && (u = ie(e.method, e.params, d.token));
12161
12163
  let f = u;
12162
12164
  u ? f.then ? f.then((n) => {
12163
- se.delete(o), t(n, e.method, l);
12165
+ O.delete(o), t(n, e.method, l);
12164
12166
  }, (t) => {
12165
- se.delete(o), t instanceof r.ResponseError ? i(t, e.method, l) : t && n.string(t.message) ? i(new r.ResponseError(r.ErrorCodes.InternalError, `Request ${e.method} failed with message: ${t.message}`), e.method, l) : i(new r.ResponseError(r.ErrorCodes.InternalError, `Request ${e.method} failed unexpectedly without providing any details.`), e.method, l);
12166
- }) : (se.delete(o), t(u, e.method, l)) : (se.delete(o), a(u, e.method, l));
12167
+ O.delete(o), t instanceof r.ResponseError ? i(t, e.method, l) : t && n.string(t.message) ? i(new r.ResponseError(r.ErrorCodes.InternalError, `Request ${e.method} failed with message: ${t.message}`), e.method, l) : i(new r.ResponseError(r.ErrorCodes.InternalError, `Request ${e.method} failed unexpectedly without providing any details.`), e.method, l);
12168
+ }) : (O.delete(o), t(u, e.method, l)) : (O.delete(o), a(u, e.method, l));
12167
12169
  } catch (a) {
12168
- se.delete(o), a instanceof r.ResponseError ? t(a, e.method, l) : a && n.string(a.message) ? i(new r.ResponseError(r.ErrorCodes.InternalError, `Request ${e.method} failed with message: ${a.message}`), e.method, l) : i(new r.ResponseError(r.ErrorCodes.InternalError, `Request ${e.method} failed unexpectedly without providing any details.`), e.method, l);
12170
+ O.delete(o), a instanceof r.ResponseError ? t(a, e.method, l) : a && n.string(a.message) ? i(new r.ResponseError(r.ErrorCodes.InternalError, `Request ${e.method} failed with message: ${a.message}`), e.method, l) : i(new r.ResponseError(r.ErrorCodes.InternalError, `Request ${e.method} failed unexpectedly without providing any details.`), e.method, l);
12169
12171
  }
12170
12172
  } else i(new r.ResponseError(r.ErrorCodes.MethodNotFound, `Unhandled method ${e.method}`), e.method, l);
12171
12173
  }
12172
12174
  function De(e) {
12173
- if (!be()) if (e.id === null) e.error ? S.error(`Received response message without id: Error is: \n${JSON.stringify(e.error, void 0, 4)}`) : S.error("Received response message without id. No further error information provided.");
12175
+ if (!F()) if (e.id === null) e.error ? x.error(`Received response message without id: Error is: \n${JSON.stringify(e.error, void 0, 4)}`) : x.error("Received response message without id. No further error information provided.");
12174
12176
  else {
12175
- let t = e.id, n = oe.get(t);
12177
+ let t = e.id, n = ce.get(t);
12176
12178
  if (Pe(e, n), n !== void 0) {
12177
- oe.delete(t);
12179
+ ce.delete(t);
12178
12180
  try {
12179
12181
  if (e.error) {
12180
12182
  let t = e.error;
@@ -12182,114 +12184,114 @@ var sp = class {
12182
12184
  } else if (e.result !== void 0) n.resolve(e.result);
12183
12185
  else throw Error("Should never happen.");
12184
12186
  } catch (e) {
12185
- e.message ? S.error(`Response handler '${n.method}' failed with message: ${e.message}`) : S.error(`Response handler '${n.method}' failed unexpectedly.`);
12187
+ e.message ? x.error(`Response handler '${n.method}' failed with message: ${e.message}`) : x.error(`Response handler '${n.method}' failed unexpectedly.`);
12186
12188
  }
12187
12189
  }
12188
12190
  }
12189
12191
  }
12190
12192
  function Oe(e) {
12191
- if (be()) return;
12193
+ if (F()) return;
12192
12194
  let t, n;
12193
12195
  if (e.method === s.type.method) {
12194
12196
  let t = e.params.id;
12195
- A.delete(t), Ne(e);
12197
+ le.delete(t), Ne(e);
12196
12198
  return;
12197
12199
  } else {
12198
- let r = ne.get(e.method);
12200
+ let r = oe.get(e.method);
12199
12201
  r && (n = r.handler, t = r.type);
12200
12202
  }
12201
- if (n || k) try {
12202
- if (Ne(e), n) if (e.params === void 0) t !== void 0 && t.numberOfParams !== 0 && t.parameterStructures !== r.ParameterStructures.byName && S.error(`Notification ${e.method} defines ${t.numberOfParams} params but received none.`), n();
12203
+ if (n || ae) try {
12204
+ if (Ne(e), n) if (e.params === void 0) t !== void 0 && t.numberOfParams !== 0 && t.parameterStructures !== r.ParameterStructures.byName && x.error(`Notification ${e.method} defines ${t.numberOfParams} params but received none.`), n();
12203
12205
  else if (Array.isArray(e.params)) {
12204
12206
  let i = e.params;
12205
12207
  e.method === l.type.method && i.length === 2 && c.is(i[0]) ? n({
12206
12208
  token: i[0],
12207
12209
  value: i[1]
12208
- }) : (t !== void 0 && (t.parameterStructures === r.ParameterStructures.byName && S.error(`Notification ${e.method} defines parameters by name but received parameters by position`), t.numberOfParams !== e.params.length && S.error(`Notification ${e.method} defines ${t.numberOfParams} params but received ${i.length} arguments`)), n(...i));
12209
- } else t !== void 0 && t.parameterStructures === r.ParameterStructures.byPosition && S.error(`Notification ${e.method} defines parameters by position but received parameters by name`), n(e.params);
12210
- else k && k(e.method, e.params);
12210
+ }) : (t !== void 0 && (t.parameterStructures === r.ParameterStructures.byName && x.error(`Notification ${e.method} defines parameters by name but received parameters by position`), t.numberOfParams !== e.params.length && x.error(`Notification ${e.method} defines ${t.numberOfParams} params but received ${i.length} arguments`)), n(...i));
12211
+ } else t !== void 0 && t.parameterStructures === r.ParameterStructures.byPosition && x.error(`Notification ${e.method} defines parameters by position but received parameters by name`), n(e.params);
12212
+ else ae && ae(e.method, e.params);
12211
12213
  } catch (t) {
12212
- t.message ? S.error(`Notification handler '${e.method}' failed with message: ${t.message}`) : S.error(`Notification handler '${e.method}' failed unexpectedly.`);
12214
+ t.message ? x.error(`Notification handler '${e.method}' failed with message: ${t.message}`) : x.error(`Notification handler '${e.method}' failed unexpectedly.`);
12213
12215
  }
12214
- else de.fire(e);
12216
+ else pe.fire(e);
12215
12217
  }
12216
12218
  function ke(e) {
12217
12219
  if (!e) {
12218
- S.error("Received empty message.");
12220
+ x.error("Received empty message.");
12219
12221
  return;
12220
12222
  }
12221
- S.error(`Received message which is neither a response nor a notification message:\n${JSON.stringify(e, null, 4)}`);
12223
+ x.error(`Received message which is neither a response nor a notification message:\n${JSON.stringify(e, null, 4)}`);
12222
12224
  let t = e;
12223
12225
  if (n.string(t.id) || n.number(t.id)) {
12224
- let e = t.id, n = oe.get(e);
12226
+ let e = t.id, n = ce.get(e);
12225
12227
  n && n.reject(/* @__PURE__ */ Error("The received response has neither a result nor an error property."));
12226
12228
  }
12227
12229
  }
12228
12230
  function Ae(e) {
12229
- if (e != null) switch (j) {
12231
+ if (e != null) switch (k) {
12230
12232
  case d.Verbose: return JSON.stringify(e, null, 4);
12231
12233
  case d.Compact: return JSON.stringify(e);
12232
12234
  default: return;
12233
12235
  }
12234
12236
  }
12235
12237
  function je(e) {
12236
- if (!(j === d.Off || !M)) if (ce === p.Text) {
12238
+ if (!(k === d.Off || !j)) if (A === p.Text) {
12237
12239
  let t;
12238
- (j === d.Verbose || j === d.Compact) && e.params && (t = `Params: ${Ae(e.params)}\n\n`), M.log(`Sending request '${e.method} - (${e.id})'.`, t);
12240
+ (k === d.Verbose || k === d.Compact) && e.params && (t = `Params: ${Ae(e.params)}\n\n`), j.log(`Sending request '${e.method} - (${e.id})'.`, t);
12239
12241
  } else Fe("send-request", e);
12240
12242
  }
12241
12243
  function Me(e) {
12242
- if (!(j === d.Off || !M)) if (ce === p.Text) {
12244
+ if (!(k === d.Off || !j)) if (A === p.Text) {
12243
12245
  let t;
12244
- (j === d.Verbose || j === d.Compact) && (t = e.params ? `Params: ${Ae(e.params)}\n\n` : "No parameters provided.\n\n"), M.log(`Sending notification '${e.method}'.`, t);
12246
+ (k === d.Verbose || k === d.Compact) && (t = e.params ? `Params: ${Ae(e.params)}\n\n` : "No parameters provided.\n\n"), j.log(`Sending notification '${e.method}'.`, t);
12245
12247
  } else Fe("send-notification", e);
12246
12248
  }
12247
12249
  function R(e, t, n) {
12248
- if (!(j === d.Off || !M)) if (ce === p.Text) {
12250
+ if (!(k === d.Off || !j)) if (A === p.Text) {
12249
12251
  let r;
12250
- (j === d.Verbose || j === d.Compact) && (e.error && e.error.data ? r = `Error data: ${Ae(e.error.data)}\n\n` : e.result ? r = `Result: ${Ae(e.result)}\n\n` : e.error === void 0 && (r = "No result returned.\n\n")), M.log(`Sending response '${t} - (${e.id})'. Processing request took ${Date.now() - n}ms`, r);
12252
+ (k === d.Verbose || k === d.Compact) && (e.error && e.error.data ? r = `Error data: ${Ae(e.error.data)}\n\n` : e.result ? r = `Result: ${Ae(e.result)}\n\n` : e.error === void 0 && (r = "No result returned.\n\n")), j.log(`Sending response '${t} - (${e.id})'. Processing request took ${Date.now() - n}ms`, r);
12251
12253
  } else Fe("send-response", e);
12252
12254
  }
12253
12255
  function z(e) {
12254
- if (!(j === d.Off || !M)) if (ce === p.Text) {
12256
+ if (!(k === d.Off || !j)) if (A === p.Text) {
12255
12257
  let t;
12256
- (j === d.Verbose || j === d.Compact) && e.params && (t = `Params: ${Ae(e.params)}\n\n`), M.log(`Received request '${e.method} - (${e.id})'.`, t);
12258
+ (k === d.Verbose || k === d.Compact) && e.params && (t = `Params: ${Ae(e.params)}\n\n`), j.log(`Received request '${e.method} - (${e.id})'.`, t);
12257
12259
  } else Fe("receive-request", e);
12258
12260
  }
12259
12261
  function Ne(e) {
12260
- if (!(j === d.Off || !M || e.method === h.type.method)) if (ce === p.Text) {
12262
+ if (!(k === d.Off || !j || e.method === h.type.method)) if (A === p.Text) {
12261
12263
  let t;
12262
- (j === d.Verbose || j === d.Compact) && (t = e.params ? `Params: ${Ae(e.params)}\n\n` : "No parameters provided.\n\n"), M.log(`Received notification '${e.method}'.`, t);
12264
+ (k === d.Verbose || k === d.Compact) && (t = e.params ? `Params: ${Ae(e.params)}\n\n` : "No parameters provided.\n\n"), j.log(`Received notification '${e.method}'.`, t);
12263
12265
  } else Fe("receive-notification", e);
12264
12266
  }
12265
12267
  function Pe(e, t) {
12266
- if (!(j === d.Off || !M)) if (ce === p.Text) {
12268
+ if (!(k === d.Off || !j)) if (A === p.Text) {
12267
12269
  let n;
12268
- if ((j === d.Verbose || j === d.Compact) && (e.error && e.error.data ? n = `Error data: ${Ae(e.error.data)}\n\n` : e.result ? n = `Result: ${Ae(e.result)}\n\n` : e.error === void 0 && (n = "No result returned.\n\n")), t) {
12270
+ if ((k === d.Verbose || k === d.Compact) && (e.error && e.error.data ? n = `Error data: ${Ae(e.error.data)}\n\n` : e.result ? n = `Result: ${Ae(e.result)}\n\n` : e.error === void 0 && (n = "No result returned.\n\n")), t) {
12269
12271
  let r = e.error ? ` Request failed: ${e.error.message} (${e.error.code}).` : "";
12270
- M.log(`Received response '${t.method} - (${e.id})' in ${Date.now() - t.timerStart}ms.${r}`, n);
12271
- } else M.log(`Received response ${e.id} without active response promise.`, n);
12272
+ j.log(`Received response '${t.method} - (${e.id})' in ${Date.now() - t.timerStart}ms.${r}`, n);
12273
+ } else j.log(`Received response ${e.id} without active response promise.`, n);
12272
12274
  } else Fe("receive-response", e);
12273
12275
  }
12274
12276
  function Fe(e, t) {
12275
- if (!M || j === d.Off) return;
12277
+ if (!j || k === d.Off) return;
12276
12278
  let n = {
12277
12279
  isLSPMessage: !0,
12278
12280
  type: e,
12279
12281
  message: t,
12280
12282
  timestamp: Date.now()
12281
12283
  };
12282
- M.log(n);
12284
+ j.log(n);
12283
12285
  }
12284
12286
  function Ie() {
12285
- if (ye()) throw new _(g.Closed, "Connection is closed.");
12286
- if (be()) throw new _(g.Disposed, "Connection is disposed.");
12287
+ if (be()) throw new _(g.Closed, "Connection is closed.");
12288
+ if (F()) throw new _(g.Disposed, "Connection is disposed.");
12287
12289
  }
12288
12290
  function Le() {
12289
- if (ve()) throw new _(g.AlreadyListening, "Connection is already listening");
12291
+ if (ye()) throw new _(g.AlreadyListening, "Connection is already listening");
12290
12292
  }
12291
12293
  function Re() {
12292
- if (!ve()) throw Error("Call listen() first.");
12294
+ if (!ye()) throw Error("Call listen() first.");
12293
12295
  }
12294
12296
  function ze(e) {
12295
12297
  return e === void 0 ? null : e;
@@ -12358,33 +12360,33 @@ var sp = class {
12358
12360
  params: a
12359
12361
  };
12360
12362
  return Me(o), v.write(o).catch((e) => {
12361
- throw S.error("Sending notification failed."), e;
12363
+ throw x.error("Sending notification failed."), e;
12362
12364
  });
12363
12365
  },
12364
12366
  onNotification: (e, t) => {
12365
12367
  Ie();
12366
12368
  let r;
12367
- return n.func(e) ? k = e : t && (n.string(e) ? (r = e, ne.set(e, {
12369
+ return n.func(e) ? ae = e : t && (n.string(e) ? (r = e, oe.set(e, {
12368
12370
  type: void 0,
12369
12371
  handler: t
12370
- })) : (r = e.method, ne.set(e.method, {
12372
+ })) : (r = e.method, oe.set(e.method, {
12371
12373
  type: e,
12372
12374
  handler: t
12373
12375
  }))), { dispose: () => {
12374
- r === void 0 ? k = void 0 : ne.delete(r);
12376
+ r === void 0 ? ae = void 0 : oe.delete(r);
12375
12377
  } };
12376
12378
  },
12377
12379
  onProgress: (e, t, n) => {
12378
- if (re.has(t)) throw Error(`Progress handler for token ${t} already registered`);
12379
- return re.set(t, n), { dispose: () => {
12380
- re.delete(t);
12380
+ if (se.has(t)) throw Error(`Progress handler for token ${t} already registered`);
12381
+ return se.set(t, n), { dispose: () => {
12382
+ se.delete(t);
12381
12383
  } };
12382
12384
  },
12383
12385
  sendProgress: (e, t, n) => We.sendNotification(l.type, {
12384
12386
  token: t,
12385
12387
  value: n
12386
12388
  }),
12387
- onUnhandledProgress: fe.event,
12389
+ onUnhandledProgress: me.event,
12388
12390
  sendRequest: (e, ...t) => {
12389
12391
  Ie(), Re();
12390
12392
  let i, a, s;
@@ -12413,11 +12415,11 @@ var sp = class {
12413
12415
  let r = e.numberOfParams;
12414
12416
  s = o.CancellationToken.is(n[r]) ? n[r] : void 0;
12415
12417
  }
12416
- let c = ee++, l;
12418
+ let c = C++, l;
12417
12419
  s && (l = s.onCancellationRequested(() => {
12418
- let e = me.sender.sendCancellation(We, c);
12419
- return e === void 0 ? (S.log(`Received no promise from cancellation strategy when cancelling id ${c}`), Promise.resolve()) : e.catch(() => {
12420
- S.log(`Sending cancellation messages for id ${c} failed`);
12420
+ let e = M.sender.sendCancellation(We, c);
12421
+ return e === void 0 ? (x.log(`Received no promise from cancellation strategy when cancelling id ${c}`), Promise.resolve()) : e.catch(() => {
12422
+ x.log(`Sending cancellation messages for id ${c} failed`);
12421
12423
  });
12422
12424
  }));
12423
12425
  let u = {
@@ -12426,73 +12428,73 @@ var sp = class {
12426
12428
  method: i,
12427
12429
  params: a
12428
12430
  };
12429
- return je(u), typeof me.sender.enableCancellation == "function" && me.sender.enableCancellation(u), new Promise(async (e, t) => {
12431
+ return je(u), typeof M.sender.enableCancellation == "function" && M.sender.enableCancellation(u), new Promise(async (e, t) => {
12430
12432
  let n = {
12431
12433
  method: i,
12432
12434
  timerStart: Date.now(),
12433
12435
  resolve: (t) => {
12434
- e(t), me.sender.cleanup(c), l == null || l.dispose();
12436
+ e(t), M.sender.cleanup(c), l == null || l.dispose();
12435
12437
  },
12436
12438
  reject: (e) => {
12437
- t(e), me.sender.cleanup(c), l == null || l.dispose();
12439
+ t(e), M.sender.cleanup(c), l == null || l.dispose();
12438
12440
  }
12439
12441
  };
12440
12442
  try {
12441
- await v.write(u), oe.set(c, n);
12443
+ await v.write(u), ce.set(c, n);
12442
12444
  } catch (e) {
12443
- throw S.error("Sending request failed."), n.reject(new r.ResponseError(r.ErrorCodes.MessageWriteError, e.message ? e.message : "Unknown reason")), e;
12445
+ throw x.error("Sending request failed."), n.reject(new r.ResponseError(r.ErrorCodes.MessageWriteError, e.message ? e.message : "Unknown reason")), e;
12444
12446
  }
12445
12447
  });
12446
12448
  },
12447
12449
  onRequest: (e, t) => {
12448
12450
  Ie();
12449
12451
  let r = null;
12450
- return u.is(e) ? (r = void 0, te = e) : n.string(e) ? (r = null, t !== void 0 && (r = e, O.set(e, {
12452
+ return u.is(e) ? (r = void 0, ie = e) : n.string(e) ? (r = null, t !== void 0 && (r = e, T.set(e, {
12451
12453
  handler: t,
12452
12454
  type: void 0
12453
- }))) : t !== void 0 && (r = e.method, O.set(e.method, {
12455
+ }))) : t !== void 0 && (r = e.method, T.set(e.method, {
12454
12456
  type: e,
12455
12457
  handler: t
12456
12458
  })), { dispose: () => {
12457
- r !== null && (r === void 0 ? te = void 0 : O.delete(r));
12459
+ r !== null && (r === void 0 ? ie = void 0 : T.delete(r));
12458
12460
  } };
12459
12461
  },
12460
- hasPendingResponse: () => oe.size > 0,
12462
+ hasPendingResponse: () => ce.size > 0,
12461
12463
  trace: async (e, t, r) => {
12462
12464
  let i = !1, a = p.Text;
12463
- r !== void 0 && (n.boolean(r) ? i = r : (i = r.sendNotification || !1, a = r.traceFormat || p.Text)), j = e, ce = a, M = j === d.Off ? void 0 : t, i && !ye() && !be() && await We.sendNotification(m.type, { value: d.toString(e) });
12465
+ r !== void 0 && (n.boolean(r) ? i = r : (i = r.sendNotification || !1, a = r.traceFormat || p.Text)), k = e, A = a, j = k === d.Off ? void 0 : t, i && !be() && !F() && await We.sendNotification(m.type, { value: d.toString(e) });
12464
12466
  },
12465
- onError: ue.event,
12466
- onClose: N.event,
12467
- onUnhandledNotification: de.event,
12468
- onDispose: pe.event,
12467
+ onError: de.event,
12468
+ onClose: fe.event,
12469
+ onUnhandledNotification: pe.event,
12470
+ onDispose: he.event,
12469
12471
  end: () => {
12470
12472
  v.end();
12471
12473
  },
12472
12474
  dispose: () => {
12473
- if (be()) return;
12474
- le = T.Disposed, pe.fire(void 0);
12475
+ if (F()) return;
12476
+ ue = w.Disposed, he.fire(void 0);
12475
12477
  let e = new r.ResponseError(r.ErrorCodes.PendingResponseRejected, "Pending response rejected since connection got disposed");
12476
- for (let t of oe.values()) t.reject(e);
12477
- oe = /* @__PURE__ */ new Map(), se = /* @__PURE__ */ new Map(), A = /* @__PURE__ */ new Set(), ae = new i.LinkedMap(), n.func(v.dispose) && v.dispose(), n.func(f.dispose) && f.dispose();
12478
+ for (let t of ce.values()) t.reject(e);
12479
+ ce = /* @__PURE__ */ new Map(), O = /* @__PURE__ */ new Map(), le = /* @__PURE__ */ new Set(), D = new i.LinkedMap(), n.func(v.dispose) && v.dispose(), n.func(f.dispose) && f.dispose();
12478
12480
  },
12479
12481
  listen: () => {
12480
- Ie(), Le(), le = T.Listening, f.listen(Te);
12482
+ Ie(), Le(), ue = w.Listening, f.listen(Te);
12481
12483
  },
12482
12484
  inspect: () => {
12483
12485
  (0, t.default)().console.log("inspect");
12484
12486
  }
12485
12487
  };
12486
12488
  return We.onNotification(h.type, (e) => {
12487
- if (j === d.Off || !M) return;
12488
- let t = j === d.Verbose || j === d.Compact;
12489
- M.log(e.message, t ? e.verbose : void 0);
12489
+ if (k === d.Off || !j) return;
12490
+ let t = k === d.Verbose || k === d.Compact;
12491
+ j.log(e.message, t ? e.verbose : void 0);
12490
12492
  }), We.onNotification(l.type, (e) => {
12491
- let t = re.get(e.token);
12492
- t ? t(e.value) : fe.fire(e);
12493
+ let t = se.get(e.token);
12494
+ t ? t(e.value) : me.fire(e);
12493
12495
  }), We;
12494
12496
  }
12495
- e.createMessageConnection = E;
12497
+ e.createMessageConnection = ne;
12496
12498
  })), _p = /* @__PURE__ */ a(((e) => {
12497
12499
  Object.defineProperty(e, "__esModule", { value: !0 }), e.ProgressType = e.ProgressToken = e.createMessageConnection = e.NullLogger = e.ConnectionOptions = e.ConnectionStrategy = e.AbstractMessageBuffer = e.WriteableStreamMessageWriter = e.AbstractMessageWriter = e.MessageWriter = e.ReadableStreamMessageReader = e.AbstractMessageReader = e.MessageReader = e.SharedArrayReceiverStrategy = e.SharedArraySenderStrategy = e.CancellationToken = e.CancellationTokenSource = e.Emitter = e.Event = e.Disposable = e.LRUCache = e.Touch = e.LinkedMap = e.ParameterStructures = e.NotificationType9 = e.NotificationType8 = e.NotificationType7 = e.NotificationType6 = e.NotificationType5 = e.NotificationType4 = e.NotificationType3 = e.NotificationType2 = e.NotificationType1 = e.NotificationType0 = e.NotificationType = e.ErrorCodes = e.ResponseError = e.RequestType9 = e.RequestType8 = e.RequestType7 = e.RequestType6 = e.RequestType5 = e.RequestType4 = e.RequestType3 = e.RequestType2 = e.RequestType1 = e.RequestType0 = e.RequestType = e.Message = e.RAL = void 0, e.MessageStrategy = e.CancellationStrategy = e.CancellationSenderStrategy = e.CancellationReceiverStrategy = e.ConnectionError = e.ConnectionErrors = e.LogTraceNotification = e.SetTraceNotification = e.TraceFormat = e.TraceValues = e.Trace = void 0;
12498
12500
  var t = cp();
@@ -13612,208 +13614,208 @@ var sp = class {
13612
13614
  return y.MonikerRequest;
13613
13615
  }
13614
13616
  });
13615
- var b = Lp();
13617
+ var ee = Lp();
13616
13618
  Object.defineProperty(t, "TypeHierarchyPrepareRequest", {
13617
13619
  enumerable: !0,
13618
13620
  get: function() {
13619
- return b.TypeHierarchyPrepareRequest;
13621
+ return ee.TypeHierarchyPrepareRequest;
13620
13622
  }
13621
13623
  }), Object.defineProperty(t, "TypeHierarchySubtypesRequest", {
13622
13624
  enumerable: !0,
13623
13625
  get: function() {
13624
- return b.TypeHierarchySubtypesRequest;
13626
+ return ee.TypeHierarchySubtypesRequest;
13625
13627
  }
13626
13628
  }), Object.defineProperty(t, "TypeHierarchySupertypesRequest", {
13627
13629
  enumerable: !0,
13628
13630
  get: function() {
13629
- return b.TypeHierarchySupertypesRequest;
13631
+ return ee.TypeHierarchySupertypesRequest;
13630
13632
  }
13631
13633
  });
13632
- var x = Rp();
13634
+ var b = Rp();
13633
13635
  Object.defineProperty(t, "InlineValueRequest", {
13634
13636
  enumerable: !0,
13635
13637
  get: function() {
13636
- return x.InlineValueRequest;
13638
+ return b.InlineValueRequest;
13637
13639
  }
13638
13640
  }), Object.defineProperty(t, "InlineValueRefreshRequest", {
13639
13641
  enumerable: !0,
13640
13642
  get: function() {
13641
- return x.InlineValueRefreshRequest;
13643
+ return b.InlineValueRefreshRequest;
13642
13644
  }
13643
13645
  });
13644
- var S = zp();
13646
+ var x = zp();
13645
13647
  Object.defineProperty(t, "InlayHintRequest", {
13646
13648
  enumerable: !0,
13647
13649
  get: function() {
13648
- return S.InlayHintRequest;
13650
+ return x.InlayHintRequest;
13649
13651
  }
13650
13652
  }), Object.defineProperty(t, "InlayHintResolveRequest", {
13651
13653
  enumerable: !0,
13652
13654
  get: function() {
13653
- return S.InlayHintResolveRequest;
13655
+ return x.InlayHintResolveRequest;
13654
13656
  }
13655
13657
  }), Object.defineProperty(t, "InlayHintRefreshRequest", {
13656
13658
  enumerable: !0,
13657
13659
  get: function() {
13658
- return S.InlayHintRefreshRequest;
13660
+ return x.InlayHintRefreshRequest;
13659
13661
  }
13660
13662
  });
13661
- var C = Bp();
13663
+ var te = Bp();
13662
13664
  Object.defineProperty(t, "DiagnosticServerCancellationData", {
13663
13665
  enumerable: !0,
13664
13666
  get: function() {
13665
- return C.DiagnosticServerCancellationData;
13667
+ return te.DiagnosticServerCancellationData;
13666
13668
  }
13667
13669
  }), Object.defineProperty(t, "DocumentDiagnosticReportKind", {
13668
13670
  enumerable: !0,
13669
13671
  get: function() {
13670
- return C.DocumentDiagnosticReportKind;
13672
+ return te.DocumentDiagnosticReportKind;
13671
13673
  }
13672
13674
  }), Object.defineProperty(t, "DocumentDiagnosticRequest", {
13673
13675
  enumerable: !0,
13674
13676
  get: function() {
13675
- return C.DocumentDiagnosticRequest;
13677
+ return te.DocumentDiagnosticRequest;
13676
13678
  }
13677
13679
  }), Object.defineProperty(t, "WorkspaceDiagnosticRequest", {
13678
13680
  enumerable: !0,
13679
13681
  get: function() {
13680
- return C.WorkspaceDiagnosticRequest;
13682
+ return te.WorkspaceDiagnosticRequest;
13681
13683
  }
13682
13684
  }), Object.defineProperty(t, "DiagnosticRefreshRequest", {
13683
13685
  enumerable: !0,
13684
13686
  get: function() {
13685
- return C.DiagnosticRefreshRequest;
13687
+ return te.DiagnosticRefreshRequest;
13686
13688
  }
13687
13689
  });
13688
- var w = Vp();
13690
+ var S = Vp();
13689
13691
  Object.defineProperty(t, "NotebookCellKind", {
13690
13692
  enumerable: !0,
13691
13693
  get: function() {
13692
- return w.NotebookCellKind;
13694
+ return S.NotebookCellKind;
13693
13695
  }
13694
13696
  }), Object.defineProperty(t, "ExecutionSummary", {
13695
13697
  enumerable: !0,
13696
13698
  get: function() {
13697
- return w.ExecutionSummary;
13699
+ return S.ExecutionSummary;
13698
13700
  }
13699
13701
  }), Object.defineProperty(t, "NotebookCell", {
13700
13702
  enumerable: !0,
13701
13703
  get: function() {
13702
- return w.NotebookCell;
13704
+ return S.NotebookCell;
13703
13705
  }
13704
13706
  }), Object.defineProperty(t, "NotebookDocument", {
13705
13707
  enumerable: !0,
13706
13708
  get: function() {
13707
- return w.NotebookDocument;
13709
+ return S.NotebookDocument;
13708
13710
  }
13709
13711
  }), Object.defineProperty(t, "NotebookDocumentSyncRegistrationType", {
13710
13712
  enumerable: !0,
13711
13713
  get: function() {
13712
- return w.NotebookDocumentSyncRegistrationType;
13714
+ return S.NotebookDocumentSyncRegistrationType;
13713
13715
  }
13714
13716
  }), Object.defineProperty(t, "DidOpenNotebookDocumentNotification", {
13715
13717
  enumerable: !0,
13716
13718
  get: function() {
13717
- return w.DidOpenNotebookDocumentNotification;
13719
+ return S.DidOpenNotebookDocumentNotification;
13718
13720
  }
13719
13721
  }), Object.defineProperty(t, "NotebookCellArrayChange", {
13720
13722
  enumerable: !0,
13721
13723
  get: function() {
13722
- return w.NotebookCellArrayChange;
13724
+ return S.NotebookCellArrayChange;
13723
13725
  }
13724
13726
  }), Object.defineProperty(t, "DidChangeNotebookDocumentNotification", {
13725
13727
  enumerable: !0,
13726
13728
  get: function() {
13727
- return w.DidChangeNotebookDocumentNotification;
13729
+ return S.DidChangeNotebookDocumentNotification;
13728
13730
  }
13729
13731
  }), Object.defineProperty(t, "DidSaveNotebookDocumentNotification", {
13730
13732
  enumerable: !0,
13731
13733
  get: function() {
13732
- return w.DidSaveNotebookDocumentNotification;
13734
+ return S.DidSaveNotebookDocumentNotification;
13733
13735
  }
13734
13736
  }), Object.defineProperty(t, "DidCloseNotebookDocumentNotification", {
13735
13737
  enumerable: !0,
13736
13738
  get: function() {
13737
- return w.DidCloseNotebookDocumentNotification;
13739
+ return S.DidCloseNotebookDocumentNotification;
13738
13740
  }
13739
13741
  });
13740
- var ee = Hp();
13742
+ var C = Hp();
13741
13743
  Object.defineProperty(t, "InlineCompletionRequest", {
13742
13744
  enumerable: !0,
13743
13745
  get: function() {
13744
- return ee.InlineCompletionRequest;
13746
+ return C.InlineCompletionRequest;
13745
13747
  }
13746
13748
  });
13747
- var T;
13749
+ var w;
13748
13750
  (function(e) {
13749
13751
  function t(e) {
13750
13752
  let t = e;
13751
13753
  return i.string(t) || i.string(t.language) || i.string(t.scheme) || i.string(t.pattern);
13752
13754
  }
13753
13755
  e.is = t;
13754
- })(T || (t.TextDocumentFilter = T = {}));
13755
- var E;
13756
+ })(w || (t.TextDocumentFilter = w = {}));
13757
+ var ne;
13756
13758
  (function(e) {
13757
13759
  function t(e) {
13758
13760
  let t = e;
13759
13761
  return i.objectLiteral(t) && (i.string(t.notebookType) || i.string(t.scheme) || i.string(t.pattern));
13760
13762
  }
13761
13763
  e.is = t;
13762
- })(E || (t.NotebookDocumentFilter = E = {}));
13763
- var D;
13764
+ })(ne || (t.NotebookDocumentFilter = ne = {}));
13765
+ var re;
13764
13766
  (function(e) {
13765
13767
  function t(e) {
13766
13768
  let t = e;
13767
- return i.objectLiteral(t) && (i.string(t.notebook) || E.is(t.notebook)) && (t.language === void 0 || i.string(t.language));
13769
+ return i.objectLiteral(t) && (i.string(t.notebook) || ne.is(t.notebook)) && (t.language === void 0 || i.string(t.language));
13768
13770
  }
13769
13771
  e.is = t;
13770
- })(D || (t.NotebookCellTextDocumentFilter = D = {}));
13771
- var te;
13772
+ })(re || (t.NotebookCellTextDocumentFilter = re = {}));
13773
+ var ie;
13772
13774
  (function(e) {
13773
13775
  function t(e) {
13774
13776
  if (!Array.isArray(e)) return !1;
13775
- for (let t of e) if (!i.string(t) && !T.is(t) && !D.is(t)) return !1;
13777
+ for (let t of e) if (!i.string(t) && !w.is(t) && !re.is(t)) return !1;
13776
13778
  return !0;
13777
13779
  }
13778
13780
  e.is = t;
13779
- })(te || (t.DocumentSelector = te = {}));
13780
- var O;
13781
+ })(ie || (t.DocumentSelector = ie = {}));
13782
+ var T;
13781
13783
  (function(e) {
13782
13784
  e.method = "client/registerCapability", e.messageDirection = n.MessageDirection.serverToClient, e.type = new n.ProtocolRequestType(e.method);
13783
- })(O || (t.RegistrationRequest = O = {}));
13784
- var k;
13785
+ })(T || (t.RegistrationRequest = T = {}));
13786
+ var ae;
13785
13787
  (function(e) {
13786
13788
  e.method = "client/unregisterCapability", e.messageDirection = n.MessageDirection.serverToClient, e.type = new n.ProtocolRequestType(e.method);
13787
- })(k || (t.UnregistrationRequest = k = {}));
13788
- var ne;
13789
+ })(ae || (t.UnregistrationRequest = ae = {}));
13790
+ var oe;
13789
13791
  (function(e) {
13790
13792
  e.Create = "create", e.Rename = "rename", e.Delete = "delete";
13791
- })(ne || (t.ResourceOperationKind = ne = {}));
13792
- var re;
13793
+ })(oe || (t.ResourceOperationKind = oe = {}));
13794
+ var se;
13793
13795
  (function(e) {
13794
13796
  e.Abort = "abort", e.Transactional = "transactional", e.TextOnlyTransactional = "textOnlyTransactional", e.Undo = "undo";
13795
- })(re || (t.FailureHandlingKind = re = {}));
13796
- var ie;
13797
+ })(se || (t.FailureHandlingKind = se = {}));
13798
+ var E;
13797
13799
  (function(e) {
13798
13800
  e.UTF8 = "utf-8", e.UTF16 = "utf-16", e.UTF32 = "utf-32";
13799
- })(ie || (t.PositionEncodingKind = ie = {}));
13800
- var ae;
13801
+ })(E || (t.PositionEncodingKind = E = {}));
13802
+ var D;
13801
13803
  (function(e) {
13802
13804
  function t(e) {
13803
13805
  let t = e;
13804
13806
  return t && i.string(t.id) && t.id.length > 0;
13805
13807
  }
13806
13808
  e.hasId = t;
13807
- })(ae || (t.StaticRegistrationOptions = ae = {}));
13808
- var oe;
13809
+ })(D || (t.StaticRegistrationOptions = D = {}));
13810
+ var ce;
13809
13811
  (function(e) {
13810
13812
  function t(e) {
13811
13813
  let t = e;
13812
- return t && (t.documentSelector === null || te.is(t.documentSelector));
13814
+ return t && (t.documentSelector === null || ie.is(t.documentSelector));
13813
13815
  }
13814
13816
  e.is = t;
13815
- })(oe || (t.TextDocumentRegistrationOptions = oe = {}));
13816
- var A;
13817
+ })(ce || (t.TextDocumentRegistrationOptions = ce = {}));
13818
+ var le;
13817
13819
  (function(e) {
13818
13820
  function t(e) {
13819
13821
  let t = e;
@@ -13825,60 +13827,60 @@ var sp = class {
13825
13827
  return t && i.boolean(t.workDoneProgress);
13826
13828
  }
13827
13829
  e.hasWorkDoneProgress = n;
13828
- })(A || (t.WorkDoneProgressOptions = A = {}));
13829
- var se;
13830
+ })(le || (t.WorkDoneProgressOptions = le = {}));
13831
+ var O;
13830
13832
  (function(e) {
13831
13833
  e.method = "initialize", e.messageDirection = n.MessageDirection.clientToServer, e.type = new n.ProtocolRequestType(e.method);
13832
- })(se || (t.InitializeRequest = se = {}));
13833
- var j;
13834
+ })(O || (t.InitializeRequest = O = {}));
13835
+ var k;
13834
13836
  (function(e) {
13835
13837
  e.unknownProtocolVersion = 1;
13836
- })(j || (t.InitializeErrorCodes = j = {}));
13837
- var ce;
13838
+ })(k || (t.InitializeErrorCodes = k = {}));
13839
+ var A;
13838
13840
  (function(e) {
13839
13841
  e.method = "initialized", e.messageDirection = n.MessageDirection.clientToServer, e.type = new n.ProtocolNotificationType(e.method);
13840
- })(ce || (t.InitializedNotification = ce = {}));
13841
- var M;
13842
+ })(A || (t.InitializedNotification = A = {}));
13843
+ var j;
13842
13844
  (function(e) {
13843
13845
  e.method = "shutdown", e.messageDirection = n.MessageDirection.clientToServer, e.type = new n.ProtocolRequestType0(e.method);
13844
- })(M || (t.ShutdownRequest = M = {}));
13845
- var le;
13846
+ })(j || (t.ShutdownRequest = j = {}));
13847
+ var ue;
13846
13848
  (function(e) {
13847
13849
  e.method = "exit", e.messageDirection = n.MessageDirection.clientToServer, e.type = new n.ProtocolNotificationType0(e.method);
13848
- })(le || (t.ExitNotification = le = {}));
13849
- var ue;
13850
+ })(ue || (t.ExitNotification = ue = {}));
13851
+ var de;
13850
13852
  (function(e) {
13851
13853
  e.method = "workspace/didChangeConfiguration", e.messageDirection = n.MessageDirection.clientToServer, e.type = new n.ProtocolNotificationType(e.method);
13852
- })(ue || (t.DidChangeConfigurationNotification = ue = {}));
13853
- var N;
13854
+ })(de || (t.DidChangeConfigurationNotification = de = {}));
13855
+ var fe;
13854
13856
  (function(e) {
13855
13857
  e.Error = 1, e.Warning = 2, e.Info = 3, e.Log = 4, e.Debug = 5;
13856
- })(N || (t.MessageType = N = {}));
13857
- var de;
13858
+ })(fe || (t.MessageType = fe = {}));
13859
+ var pe;
13858
13860
  (function(e) {
13859
13861
  e.method = "window/showMessage", e.messageDirection = n.MessageDirection.serverToClient, e.type = new n.ProtocolNotificationType(e.method);
13860
- })(de || (t.ShowMessageNotification = de = {}));
13861
- var fe;
13862
+ })(pe || (t.ShowMessageNotification = pe = {}));
13863
+ var me;
13862
13864
  (function(e) {
13863
13865
  e.method = "window/showMessageRequest", e.messageDirection = n.MessageDirection.serverToClient, e.type = new n.ProtocolRequestType(e.method);
13864
- })(fe || (t.ShowMessageRequest = fe = {}));
13865
- var pe;
13866
+ })(me || (t.ShowMessageRequest = me = {}));
13867
+ var he;
13866
13868
  (function(e) {
13867
13869
  e.method = "window/logMessage", e.messageDirection = n.MessageDirection.serverToClient, e.type = new n.ProtocolNotificationType(e.method);
13868
- })(pe || (t.LogMessageNotification = pe = {}));
13869
- var me;
13870
+ })(he || (t.LogMessageNotification = he = {}));
13871
+ var M;
13870
13872
  (function(e) {
13871
13873
  e.method = "telemetry/event", e.messageDirection = n.MessageDirection.serverToClient, e.type = new n.ProtocolNotificationType(e.method);
13872
- })(me || (t.TelemetryEventNotification = me = {}));
13873
- var he;
13874
+ })(M || (t.TelemetryEventNotification = M = {}));
13875
+ var ge;
13874
13876
  (function(e) {
13875
13877
  e.None = 0, e.Full = 1, e.Incremental = 2;
13876
- })(he || (t.TextDocumentSyncKind = he = {}));
13877
- var P;
13878
+ })(ge || (t.TextDocumentSyncKind = ge = {}));
13879
+ var _e;
13878
13880
  (function(e) {
13879
13881
  e.method = "textDocument/didOpen", e.messageDirection = n.MessageDirection.clientToServer, e.type = new n.ProtocolNotificationType(e.method);
13880
- })(P || (t.DidOpenTextDocumentNotification = P = {}));
13881
- var F;
13882
+ })(_e || (t.DidOpenTextDocumentNotification = _e = {}));
13883
+ var N;
13882
13884
  (function(e) {
13883
13885
  function t(e) {
13884
13886
  let t = e;
@@ -13890,27 +13892,27 @@ var sp = class {
13890
13892
  return t != null && typeof t.text == "string" && t.range === void 0 && t.rangeLength === void 0;
13891
13893
  }
13892
13894
  e.isFull = n;
13893
- })(F || (t.TextDocumentContentChangeEvent = F = {}));
13894
- var ge;
13895
+ })(N || (t.TextDocumentContentChangeEvent = N = {}));
13896
+ var ve;
13895
13897
  (function(e) {
13896
13898
  e.method = "textDocument/didChange", e.messageDirection = n.MessageDirection.clientToServer, e.type = new n.ProtocolNotificationType(e.method);
13897
- })(ge || (t.DidChangeTextDocumentNotification = ge = {}));
13898
- var _e;
13899
+ })(ve || (t.DidChangeTextDocumentNotification = ve = {}));
13900
+ var P;
13899
13901
  (function(e) {
13900
13902
  e.method = "textDocument/didClose", e.messageDirection = n.MessageDirection.clientToServer, e.type = new n.ProtocolNotificationType(e.method);
13901
- })(_e || (t.DidCloseTextDocumentNotification = _e = {}));
13902
- var ve;
13903
+ })(P || (t.DidCloseTextDocumentNotification = P = {}));
13904
+ var ye;
13903
13905
  (function(e) {
13904
13906
  e.method = "textDocument/didSave", e.messageDirection = n.MessageDirection.clientToServer, e.type = new n.ProtocolNotificationType(e.method);
13905
- })(ve || (t.DidSaveTextDocumentNotification = ve = {}));
13906
- var ye;
13907
+ })(ye || (t.DidSaveTextDocumentNotification = ye = {}));
13908
+ var be;
13907
13909
  (function(e) {
13908
13910
  e.Manual = 1, e.AfterDelay = 2, e.FocusOut = 3;
13909
- })(ye || (t.TextDocumentSaveReason = ye = {}));
13910
- var be;
13911
+ })(be || (t.TextDocumentSaveReason = be = {}));
13912
+ var F;
13911
13913
  (function(e) {
13912
13914
  e.method = "textDocument/willSave", e.messageDirection = n.MessageDirection.clientToServer, e.type = new n.ProtocolNotificationType(e.method);
13913
- })(be || (t.WillSaveTextDocumentNotification = be = {}));
13915
+ })(F || (t.WillSaveTextDocumentNotification = F = {}));
13914
13916
  var I;
13915
13917
  (function(e) {
13916
13918
  e.method = "textDocument/willSaveWaitUntil", e.messageDirection = n.MessageDirection.clientToServer, e.type = new n.ProtocolRequestType(e.method);