@intent-hq/web 2.283.0 → 2.283.1

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 (242) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/chunks/{DikRK37J.js → -EQ6B0ad.js} +6 -6
  3. package/web/app/immutable/chunks/{BOK7tZ0u.js → -FJQK9pf.js} +1 -1
  4. package/web/app/immutable/chunks/{DSMbTvmu.js → -eynjkyq.js} +1 -1
  5. package/web/app/immutable/chunks/{BMafDnH1.js → 0K6BfmBv.js} +1 -1
  6. package/web/app/immutable/chunks/{BaUre9ae.js → 1kQYhwzI.js} +1 -1
  7. package/web/app/immutable/chunks/{Cnak6su6.js → 2sWuLeQM.js} +1 -1
  8. package/web/app/immutable/chunks/{24W0Bn2s.js → 2zaEEAE2.js} +1 -1
  9. package/web/app/immutable/chunks/{DcKxGpqI.js → 5JlRwIXk.js} +1 -1
  10. package/web/app/immutable/chunks/{DMbXrJli.js → 67V3Eqst.js} +1 -1
  11. package/web/app/immutable/chunks/{CxHgNIPx.js → 6Rnnu0Za.js} +1 -1
  12. package/web/app/immutable/chunks/{CDTxQX_O.js → AL4WvJsG.js} +1 -1
  13. package/web/app/immutable/chunks/{BWShw5FX.js → B0dFfRzP.js} +1 -1
  14. package/web/app/immutable/chunks/{dGE6HMYD.js → B3t7QTl4.js} +1 -1
  15. package/web/app/immutable/chunks/{C__5IrZC.js → B4nXFAp1.js} +3 -3
  16. package/web/app/immutable/chunks/{CFzvK5D6.js → B856U1Jr.js} +1 -1
  17. package/web/app/immutable/chunks/{C4oKInMh.js → B9hh5ps3.js} +1 -1
  18. package/web/app/immutable/chunks/{Bw0IeVy1.js → B9un2a8L.js} +1 -1
  19. package/web/app/immutable/chunks/{DU0lunxS.js → BB4kjTGV.js} +1 -1
  20. package/web/app/immutable/chunks/{z8qxf2tv.js → BC7qvj8J.js} +1 -1
  21. package/web/app/immutable/chunks/{wqHUaR0E.js → BDq1sVyx.js} +1 -1
  22. package/web/app/immutable/chunks/{BcIZ6c0f.js → BIIzJP0L.js} +1 -1
  23. package/web/app/immutable/chunks/{CNnCGYha.js → BIUeJ7Ke.js} +1 -1
  24. package/web/app/immutable/chunks/{CMI5HTNV.js → BIZ0uXaU.js} +1 -1
  25. package/web/app/immutable/chunks/{C9TPtINb.js → BJhIFFGs.js} +3 -3
  26. package/web/app/immutable/chunks/{DeDjUs04.js → BKkrgjsa.js} +1 -1
  27. package/web/app/immutable/chunks/{Bar8ZAyw.js → BLqK1w-V.js} +1 -1
  28. package/web/app/immutable/chunks/{D-U5rcFa.js → BM-sVLs9.js} +1 -1
  29. package/web/app/immutable/chunks/{DlKkI_if.js → BM2v-1zr.js} +1 -1
  30. package/web/app/immutable/chunks/{BjU1p5sL.js → BM9f6Xn6.js} +1 -1
  31. package/web/app/immutable/chunks/{PJDGiarN.js → BMBkpFaV.js} +1 -1
  32. package/web/app/immutable/chunks/{0kUsCNYC.js → BMOHjFjD.js} +1 -1
  33. package/web/app/immutable/chunks/{CuaTp0m1.js → BMW1RYmJ.js} +2 -2
  34. package/web/app/immutable/chunks/{UFs8wmaf.js → BMt7MpM8.js} +1 -1
  35. package/web/app/immutable/chunks/{B122KxZy.js → BNLICSI-.js} +1 -1
  36. package/web/app/immutable/chunks/{CBWgmFBu.js → BNe0FUML.js} +1 -1
  37. package/web/app/immutable/chunks/{B8eIPDu7.js → BNm8i956.js} +1 -1
  38. package/web/app/immutable/chunks/{D3cS8a_B.js → BPp3W2jV.js} +1 -1
  39. package/web/app/immutable/chunks/{BlEVobud.js → BSERRzdN.js} +1 -1
  40. package/web/app/immutable/chunks/{UF5lygT0.js → BSa29cCP.js} +4 -4
  41. package/web/app/immutable/chunks/{2UHo-lr0.js → BTxaodpe.js} +1 -1
  42. package/web/app/immutable/chunks/{Dt0exTZ5.js → BUcRm8Vm.js} +1 -1
  43. package/web/app/immutable/chunks/{C8chCNZC.js → BVcYqOip.js} +2 -2
  44. package/web/app/immutable/chunks/{DLZWsh5d.js → BW9EmetF.js} +1 -1
  45. package/web/app/immutable/chunks/{E5HQjq_O.js → BXWTCqoP.js} +1 -1
  46. package/web/app/immutable/chunks/{BLdRIYgd.js → BXmUGAB5.js} +1 -1
  47. package/web/app/immutable/chunks/{CzI05dO6.js → BYX2DQge.js} +1 -1
  48. package/web/app/immutable/chunks/{BzSa9-IF.js → BYaK8uq0.js} +1 -1
  49. package/web/app/immutable/chunks/{DF6AYPg_.js → B_IHHwFT.js} +1 -1
  50. package/web/app/immutable/chunks/{DeiP0erP.js → B_KqSc_J.js} +1 -1
  51. package/web/app/immutable/chunks/{3SbVPCw7.js → BaWdIDeU.js} +1 -1
  52. package/web/app/immutable/chunks/{CPbL2cqN.js → Bcdu3rtl.js} +1 -1
  53. package/web/app/immutable/chunks/{Dq-W9mGx.js → BdXZBn8p.js} +3 -3
  54. package/web/app/immutable/chunks/{CjNKHPKC.js → Bda__gQr.js} +2 -2
  55. package/web/app/immutable/chunks/{DoxEq2_M.js → Bdp7u5fL.js} +2 -2
  56. package/web/app/immutable/chunks/{BBl02EyB.js → Bi0iCGDl.js} +1 -1
  57. package/web/app/immutable/chunks/{PhuO6dVo.js → Bk1uVK5j.js} +2 -2
  58. package/web/app/immutable/chunks/{DLshetD4.js → Bkt7VHdr.js} +1 -1
  59. package/web/app/immutable/chunks/Blk8v-pB.js +1 -0
  60. package/web/app/immutable/chunks/{BSoHy997.js → Bm_v6qLq.js} +1 -1
  61. package/web/app/immutable/chunks/{BNADo1Q7.js → BoDxQZ1k.js} +1 -1
  62. package/web/app/immutable/chunks/{C85s-gi8.js → BpLK-vah.js} +1 -1
  63. package/web/app/immutable/chunks/{DpSTAF6f.js → BplvCBzc.js} +1 -1
  64. package/web/app/immutable/chunks/{CsGRm74m.js → Bq6ix99x.js} +1 -1
  65. package/web/app/immutable/chunks/{Cyx56VLF.js → BrUeG1RC.js} +1 -1
  66. package/web/app/immutable/chunks/{CtrmC64x.js → BrzmNBOR.js} +1 -1
  67. package/web/app/immutable/chunks/{BdS003Kb.js → BtTwGRLV.js} +1 -1
  68. package/web/app/immutable/chunks/{XM2hxWVx.js → Btf9QGuY.js} +1 -1
  69. package/web/app/immutable/chunks/{Fbmia90H.js → Bw1SBWCL.js} +3 -3
  70. package/web/app/immutable/chunks/{DeSJTI_U.js → BweEgIMi.js} +1 -1
  71. package/web/app/immutable/chunks/{B1ELYeiC.js → BxU3DCFg.js} +1 -1
  72. package/web/app/immutable/chunks/{DHZ4JjoJ.js → BxuY-d7z.js} +1 -1
  73. package/web/app/immutable/chunks/{B8ZK3-zF.js → ByWgRTUb.js} +1 -1
  74. package/web/app/immutable/chunks/{VLmrqzTE.js → BzUhrKys.js} +1 -1
  75. package/web/app/immutable/chunks/{D71IW4i3.js → BzgtWDxy.js} +1 -1
  76. package/web/app/immutable/chunks/{DMl_gv4g.js → C-D97gL1.js} +1 -1
  77. package/web/app/immutable/chunks/{CbGnxjOM.js → C04G6COq.js} +1 -1
  78. package/web/app/immutable/chunks/{WwLuvBZd.js → C07lgk2D.js} +1 -1
  79. package/web/app/immutable/chunks/{Z5jotNHL.js → C17u3SPp.js} +1 -1
  80. package/web/app/immutable/chunks/{BFnOOmhf.js → C1_JJ0WX.js} +2 -2
  81. package/web/app/immutable/chunks/{wESj32Mw.js → C4ABvngM.js} +1 -1
  82. package/web/app/immutable/chunks/{BrnKg8z1.js → C8PgiJ6Y.js} +2 -2
  83. package/web/app/immutable/chunks/{8xUKp1ov.js → CA6N8yqk.js} +1 -1
  84. package/web/app/immutable/chunks/{ClyMCKaV.js → CARkdujD.js} +1 -1
  85. package/web/app/immutable/chunks/{FDVvdcz2.js → CBY4R5Io.js} +2 -2
  86. package/web/app/immutable/chunks/{CONx2grg.js → CBj-skM7.js} +1 -1
  87. package/web/app/immutable/chunks/{DX5DxI8W.js → CE7hy_eJ.js} +2 -2
  88. package/web/app/immutable/chunks/{Buyr-7cI.js → CFa2g-IY.js} +1 -1
  89. package/web/app/immutable/chunks/{gYd6zuXF.js → CGclmlzx.js} +1 -1
  90. package/web/app/immutable/chunks/{Br7_wSvp.js → CGtte9IE.js} +1 -1
  91. package/web/app/immutable/chunks/{Bl1nIYdr.js → CJqvN_qS.js} +1 -1
  92. package/web/app/immutable/chunks/{C81WcoAM.js → CMiRnadp.js} +1 -1
  93. package/web/app/immutable/chunks/{D76C-Lub.js → CNFZNMrf.js} +1 -1
  94. package/web/app/immutable/chunks/{C7Y7Xcjq.js → CNLVfjPb.js} +1 -1
  95. package/web/app/immutable/chunks/{DhUVW_9Y.js → CNPgXL7O.js} +1 -1
  96. package/web/app/immutable/chunks/{DpPiqmjZ.js → COH5cIoS.js} +1 -1
  97. package/web/app/immutable/chunks/{Bo3xcJTH.js → CQRR0AOa.js} +1 -1
  98. package/web/app/immutable/chunks/{DnsWe2Zg.js → CR7ldtgw.js} +1 -1
  99. package/web/app/immutable/chunks/{cpbf9St3.js → CRcZFIyJ.js} +1 -1
  100. package/web/app/immutable/chunks/{DXKXi4fU.js → CRzjInFH.js} +1 -1
  101. package/web/app/immutable/chunks/{Bjat9loC.js → CSVS8cGP.js} +1 -1
  102. package/web/app/immutable/chunks/{DEAKghGX.js → CSoIbBhB.js} +1 -1
  103. package/web/app/immutable/chunks/{Bd9QEf8t.js → CVC7R5g8.js} +1 -1
  104. package/web/app/immutable/chunks/{BsHwyYum.js → CVXsWkbg.js} +1 -1
  105. package/web/app/immutable/chunks/{DnGYdVeC.js → CX0jnzIf.js} +1 -1
  106. package/web/app/immutable/chunks/{Bme6a8ON.js → CZH06yTf.js} +1 -1
  107. package/web/app/immutable/chunks/{DLRsFOmD.js → CbcE07N6.js} +1 -1
  108. package/web/app/immutable/chunks/{BG8_YibP.js → Cbp3zliH.js} +1 -1
  109. package/web/app/immutable/chunks/{CmTb9opo.js → CcXmTQrG.js} +1 -1
  110. package/web/app/immutable/chunks/{NHQHo6R8.js → CeGnK4JQ.js} +49 -49
  111. package/web/app/immutable/chunks/{B_2t4zDu.js → CfgmsyOw.js} +1 -1
  112. package/web/app/immutable/chunks/{DA1BdbaM.js → CiFw-8Aw.js} +1 -1
  113. package/web/app/immutable/chunks/{CtSELtkL.js → CiV78Mds.js} +1 -1
  114. package/web/app/immutable/chunks/{DjvHPE3r.js → ClALIxbi.js} +1 -1
  115. package/web/app/immutable/chunks/{BbGMZxWy.js → CmLvFRqe.js} +2 -2
  116. package/web/app/immutable/chunks/{PQ1Aq9aw.js → Cnz8RKk9.js} +1 -1
  117. package/web/app/immutable/chunks/{O93N6pq0.js → CoIHYLew.js} +1 -1
  118. package/web/app/immutable/chunks/{6WATeGSz.js → Cobn53T5.js} +1 -1
  119. package/web/app/immutable/chunks/{5guZ9l7C.js → CqB0SlYo.js} +1 -1
  120. package/web/app/immutable/chunks/{DfwITmIi.js → Ct5pe7Ek.js} +1 -1
  121. package/web/app/immutable/chunks/{woMOP93x.js → Ctw6lIEV.js} +1 -1
  122. package/web/app/immutable/chunks/{D6EjWtzp.js → CuOjrr_z.js} +1 -1
  123. package/web/app/immutable/chunks/{BkTViBTC.js → CuViOyzR.js} +1 -1
  124. package/web/app/immutable/chunks/{NyRx-5qE.js → Cul55jvw.js} +3 -3
  125. package/web/app/immutable/chunks/{Cnz7jMnR.js → D-SL5jmx.js} +1 -1
  126. package/web/app/immutable/chunks/{BeYVLVXM.js → D0QGnN9N.js} +7 -7
  127. package/web/app/immutable/chunks/{B3yw5iey.js → D39KsI93.js} +1 -1
  128. package/web/app/immutable/chunks/{C95TwfNO.js → D3s69DNC.js} +3 -3
  129. package/web/app/immutable/chunks/{CeXEIZ_X.js → D4i52eN2.js} +1 -1
  130. package/web/app/immutable/chunks/{JWpKjkZt.js → D5Yn3bZC.js} +4 -4
  131. package/web/app/immutable/chunks/{B4NuLgfc.js → D6aq9EL_.js} +1 -1
  132. package/web/app/immutable/chunks/{BQniiLor.js → D7-ADqnT.js} +1 -1
  133. package/web/app/immutable/chunks/{DueTjjFx.js → D75qE5QF.js} +1 -1
  134. package/web/app/immutable/chunks/{BHUG3Di8.js → D7NIlQGn.js} +1 -1
  135. package/web/app/immutable/chunks/{8PEQ8hLc.js → D7gI_V1F.js} +1 -1
  136. package/web/app/immutable/chunks/{zCyqAg-B.js → D8AXxi58.js} +1 -1
  137. package/web/app/immutable/chunks/{DCVW2Y_h.js → D8G2wLaP.js} +1 -1
  138. package/web/app/immutable/chunks/{BQ1YF879.js → D9GJ60AX.js} +1 -1
  139. package/web/app/immutable/chunks/{JhrIJH4k.js → DCpb2VL6.js} +1 -1
  140. package/web/app/immutable/chunks/{Cb1CevU3.js → DECP5P_I.js} +1 -1
  141. package/web/app/immutable/chunks/{ZJCzYVmw.js → DEghD5AV.js} +1 -1
  142. package/web/app/immutable/chunks/{inj-bBZM.js → DFDb4afa.js} +1 -1
  143. package/web/app/immutable/chunks/{Bt6bgoI-.js → DHN03i25.js} +1 -1
  144. package/web/app/immutable/chunks/{U7JWtGAy.js → DHon_8tj.js} +1 -1
  145. package/web/app/immutable/chunks/{plw0uyc9.js → DJISFfnZ.js} +1 -1
  146. package/web/app/immutable/chunks/{C6UIN6U-.js → DNTeyAGR.js} +1 -1
  147. package/web/app/immutable/chunks/{Djk4k1SJ.js → DNdUAl79.js} +1 -1
  148. package/web/app/immutable/chunks/{itPVrVkG.js → DNeMGvC1.js} +1 -1
  149. package/web/app/immutable/chunks/{kYkRNrrI.js → DPWpLmap.js} +1 -1
  150. package/web/app/immutable/chunks/{Dr6lXyco.js → DPbm6slt.js} +4 -4
  151. package/web/app/immutable/chunks/{JCCFqsAd.js → DPyjdIy2.js} +1 -1
  152. package/web/app/immutable/chunks/{g3KZ-aok.js → DSakTSDY.js} +1 -1
  153. package/web/app/immutable/chunks/{DaMaCbrW.js → DV0nUf5d.js} +1 -1
  154. package/web/app/immutable/chunks/{Z8sIHDod.js → DWbuBB3d.js} +1 -1
  155. package/web/app/immutable/chunks/{Bx-glu6w.js → DX7KyYLV.js} +1 -1
  156. package/web/app/immutable/chunks/{Bcoxg00q.js → DXPPFxlV.js} +3 -3
  157. package/web/app/immutable/chunks/{PwM42XJW.js → DYpEID-4.js} +1 -1
  158. package/web/app/immutable/chunks/{cCabUQP6.js → DZwtNfnB.js} +1 -1
  159. package/web/app/immutable/chunks/{vlhkmmpx.js → D_o99_fG.js} +1 -1
  160. package/web/app/immutable/chunks/{BEJg4Sbf.js → DaBUZyWc.js} +1 -1
  161. package/web/app/immutable/chunks/{BMFwrOH1.js → DcIvDrh5.js} +1 -1
  162. package/web/app/immutable/chunks/{DheEnqqs.js → Dekj0CRz.js} +1 -1
  163. package/web/app/immutable/chunks/{DdwwnwEU.js → DfDa-Hf6.js} +1 -1
  164. package/web/app/immutable/chunks/{BRiTnHjR.js → DfTHDtr3.js} +1 -1
  165. package/web/app/immutable/chunks/{Ba4COzVc.js → DflDaBxQ.js} +1 -1
  166. package/web/app/immutable/chunks/{tLKcAW4W.js → DhJybiGT.js} +1 -1
  167. package/web/app/immutable/chunks/{DwufXbAm.js → DkfRsyNq.js} +1 -1
  168. package/web/app/immutable/chunks/{Byw2XPN_.js → Dm5XlejL.js} +1 -1
  169. package/web/app/immutable/chunks/{DKhnmIhc.js → DoI-lOCr.js} +1 -1
  170. package/web/app/immutable/chunks/{ClnUtlN_.js → DpHc5A-z.js} +1 -1
  171. package/web/app/immutable/chunks/{CaR7O_Ka.js → DpWrzKZ5.js} +1 -1
  172. package/web/app/immutable/chunks/{CqJYE2BI.js → DpvwyG67.js} +1 -1
  173. package/web/app/immutable/chunks/{D8EZluP_.js → DqG8xjZW.js} +1 -1
  174. package/web/app/immutable/chunks/{BxQ4u3F0.js → DqlqvyKI.js} +1 -1
  175. package/web/app/immutable/chunks/{J6ix93M3.js → Dr6CAh-x.js} +1 -1
  176. package/web/app/immutable/chunks/{Cc3IoHk5.js → Dtvcl9ZM.js} +2 -2
  177. package/web/app/immutable/chunks/{DBkSv110.js → DwwmXlwG.js} +1 -1
  178. package/web/app/immutable/chunks/{DzF66VDn.js → DyG--B3U.js} +1 -1
  179. package/web/app/immutable/chunks/{j32IuKtD.js → DyzC-8bY.js} +1 -1
  180. package/web/app/immutable/chunks/{B-fzbhlo.js → ED1Md46o.js} +1 -1
  181. package/web/app/immutable/chunks/{CcikvcoO.js → FGzP6Npj.js} +1 -1
  182. package/web/app/immutable/chunks/{Ci0ScEWC.js → FxlRoZ6N.js} +1 -1
  183. package/web/app/immutable/chunks/{C-TcncuL.js → I-6kOw9r.js} +1 -1
  184. package/web/app/immutable/chunks/{cZgi-_WA.js → IUhIao0l.js} +1 -1
  185. package/web/app/immutable/chunks/{BuYGacYC.js → JKrLJ2R_.js} +44 -44
  186. package/web/app/immutable/chunks/{VzlQnrws.js → JoMw8Mnh.js} +1 -1
  187. package/web/app/immutable/chunks/{DFBOrRiy.js → KT-2Ekxp.js} +1 -1
  188. package/web/app/immutable/chunks/{DlmTHr8T.js → LNCq34-O.js} +1 -1
  189. package/web/app/immutable/chunks/{B5Kd4cOY.js → MivJSmtA.js} +1 -1
  190. package/web/app/immutable/chunks/{CpTvuo0c.js → Mt7x2IZs.js} +1 -1
  191. package/web/app/immutable/chunks/{C723Veio.js → QBqsOIpN.js} +1 -1
  192. package/web/app/immutable/chunks/{y8Xlt_QT.js → SIlEqZy6.js} +1 -1
  193. package/web/app/immutable/chunks/{D2kpmACf.js → T3Bh0XrL.js} +1 -1
  194. package/web/app/immutable/chunks/YDzESqGE.js +1 -0
  195. package/web/app/immutable/chunks/{15pYd3N2.js → YsJRyh1t.js} +2 -2
  196. package/web/app/immutable/chunks/{Bh5viRl2.js → Zu_hB4jz.js} +1 -1
  197. package/web/app/immutable/chunks/{BxiiO4Iw.js → _Ha8_PaU.js} +1 -1
  198. package/web/app/immutable/chunks/{RykEwldd.js → _WbplBv2.js} +1 -1
  199. package/web/app/immutable/chunks/{CDUZ_0Sw.js → cOgdKI6o.js} +1 -1
  200. package/web/app/immutable/chunks/{CMU9ws3e.js → dfIdHF6z.js} +1 -1
  201. package/web/app/immutable/chunks/{DLNq3Dzg.js → dp7e7xW2.js} +1 -1
  202. package/web/app/immutable/chunks/{Cc-44AXb.js → ebuf-RO9.js} +1 -1
  203. package/web/app/immutable/chunks/{CelyhwOb.js → itr72ypM.js} +1 -1
  204. package/web/app/immutable/chunks/{DsEsCHJ8.js → k-AP8VlM.js} +1 -1
  205. package/web/app/immutable/chunks/{Dzpx8dBT.js → kbx4HHUe.js} +2 -2
  206. package/web/app/immutable/chunks/{C_XVzDtJ.js → kc3pShLm.js} +1 -1
  207. package/web/app/immutable/chunks/{DN-WSfNU.js → kkexgKXz.js} +1 -1
  208. package/web/app/immutable/chunks/{Et5QnGoZ.js → lzVZjIHK.js} +1 -1
  209. package/web/app/immutable/chunks/{D98MGnzl.js → mYHRHufZ.js} +1 -1
  210. package/web/app/immutable/chunks/{DS2ohrPS.js → neQDnDfO.js} +1 -1
  211. package/web/app/immutable/chunks/{C8gv124k.js → oEdBdTuH.js} +1 -1
  212. package/web/app/immutable/chunks/{BSt_qcPC.js → oRTpyK_P.js} +1 -1
  213. package/web/app/immutable/chunks/{DcUrbytI.js → uDFKivEo.js} +1 -1
  214. package/web/app/immutable/chunks/{CzT5E1qm.js → uEiZ2aa0.js} +1 -1
  215. package/web/app/immutable/chunks/{CbaotZDu.js → us_QodLQ.js} +1 -1
  216. package/web/app/immutable/chunks/{CE-1ma0H.js → uzVhgdYt.js} +1 -1
  217. package/web/app/immutable/chunks/{B1ZGt7sC.js → xHGNzBhq.js} +1 -1
  218. package/web/app/immutable/chunks/{DehyflGo.js → xcwRs97P.js} +1 -1
  219. package/web/app/immutable/chunks/{CJmNIYA9.js → ylZv2UEj.js} +1 -1
  220. package/web/app/immutable/entry/{app.DvoVvHKR.js → app.B7NDG9Ke.js} +2 -2
  221. package/web/app/immutable/entry/start.BNunxuiZ.js +1 -0
  222. package/web/app/immutable/nodes/{0.CUhABBgA.js → 0.Bun1I2n8.js} +1 -1
  223. package/web/app/immutable/nodes/{1.D60NQVeb.js → 1.CaXWyT2I.js} +1 -1
  224. package/web/app/immutable/nodes/{10.C1M6IFRf.js → 10.QcBz8vIO.js} +1 -1
  225. package/web/app/immutable/nodes/{12.B3DoWG9l.js → 12.VioYEcq0.js} +1 -1
  226. package/web/app/immutable/nodes/{13.DIkr4OJs.js → 13.DXKlob-e.js} +1 -1
  227. package/web/app/immutable/nodes/{14.BnWbXEMM.js → 14.Del2TMMg.js} +1 -1
  228. package/web/app/immutable/nodes/{15.CWOWBkmh.js → 15.Djr5my7L.js} +1 -1
  229. package/web/app/immutable/nodes/{16.DRycmOMe.js → 16.D5MyJ40_.js} +2 -2
  230. package/web/app/immutable/nodes/{2.BnNXzTi0.js → 2.DGym_vbk.js} +4 -4
  231. package/web/app/immutable/nodes/{3.B1Qb3sEW.js → 3.s5E8H3KB.js} +1 -1
  232. package/web/app/immutable/nodes/{4.TFhi0XIx.js → 4.D5-aRMMy.js} +1 -1
  233. package/web/app/immutable/nodes/{5.BGgJOCw5.js → 5.B3_zYP1m.js} +2 -2
  234. package/web/app/immutable/nodes/{6.CCZIKTds.js → 6.DutaO_wJ.js} +1 -1
  235. package/web/app/immutable/nodes/{7.CXxgyB8T.js → 7.BTpm8RYp.js} +1 -1
  236. package/web/app/immutable/nodes/{8.Dcka7hLW.js → 8.CZztH_7a.js} +4 -4
  237. package/web/app/immutable/nodes/{9.DemnlG5Y.js → 9.B2qxwSvF.js} +4 -4
  238. package/web/app/version.json +1 -1
  239. package/web/index.html +9 -9
  240. package/web/app/immutable/chunks/CKKsJ8BG.js +0 -1
  241. package/web/app/immutable/chunks/DwhTx6cH.js +0 -1
  242. package/web/app/immutable/entry/start.CiTIdCqa.js +0 -1
@@ -1 +1 @@
1
- import{E as c,G as y,aj as U,ap as G,z as tr,ai as E,a9 as Y,ae as W,aS as ie,af as m,au as N,a6 as g,al as P,Y as Oe,am as xe,D as I,ak as oe,aN as ar,C as de,A as S,aW as L,av as z,aY as ir,aO as T,m as or,F as dr,H as sr,s as ur,a4 as fr}from"./BeYVLVXM.js";import{g as s}from"./DikRK37J.js";function x(e,n,r,t){var a;do a=ie(t);while(e.hasNode(a));return r.dummy=n,e.setNode(a,r),a}s(x,"addDummyNode");function Ne(e){var n=new y().setGraph(e.graph());return c(e.nodes(),function(r){n.setNode(r,e.node(r))}),c(e.edges(),function(r){var t=n.edge(r.v,r.w)||{weight:0,minlen:1},a=e.edge(r);n.setEdge(r.v,r.w,{weight:t.weight+a.weight,minlen:Math.max(t.minlen,a.minlen)})}),n}s(Ne,"simplify");function se(e){var n=new y({multigraph:e.isMultigraph()}).setGraph(e.graph());return c(e.nodes(),function(r){e.children(r).length||n.setNode(r,e.node(r))}),c(e.edges(),function(r){n.setEdge(r,e.edge(r))}),n}s(se,"asNonCompoundGraph");function J(e,n){var r=e.x,t=e.y,a=n.x-r,i=n.y-t,o=e.width/2,d=e.height/2;if(!a&&!i)throw new Error("Not possible to find intersection inside of the rectangle");var u,f;return Math.abs(i)*o>Math.abs(a)*d?(i<0&&(d=-d),u=d*a/i,f=d):(a<0&&(o=-o),u=o,f=o*i/a),{x:r+u,y:t+f}}s(J,"intersectRect");function j(e){var n=m(N(ue(e)+1),function(){return[]});return c(e.nodes(),function(r){var t=e.node(r),a=t.rank;g(a)||(n[a][t.order]=r)}),n}s(j,"buildLayerMatrix");function Le(e){var n=P(m(e.nodes(),function(r){return e.node(r).rank}));c(e.nodes(),function(r){var t=e.node(r);Oe(t,"rank")&&(t.rank-=n)})}s(Le,"normalizeRanks");function _e(e){var n=P(m(e.nodes(),function(i){return e.node(i).rank})),r=[];c(e.nodes(),function(i){var o=e.node(i).rank-n;r[o]||(r[o]=[]),r[o].push(i)});var t=0,a=e.graph().nodeRankFactor;c(r,function(i,o){g(i)&&o%a!==0?--t:t&&c(i,function(d){e.node(d).rank+=t})})}s(_e,"removeEmptyRanks");function K(e,n,r,t){var a={width:0,height:0};return arguments.length>=4&&(a.rank=r,a.order=t),x(e,"border",a,n)}s(K,"addBorderNode");function ue(e){return E(m(e.nodes(),function(n){var r=e.node(n).rank;if(!g(r))return r}))}s(ue,"maxRank");function Ce(e,n){var r={lhs:[],rhs:[]};return c(e,function(t){n(t)?r.lhs.push(t):r.rhs.push(t)}),r}s(Ce,"partition");function Pe(e,n){var r=xe();try{return n()}finally{console.log(e+" time: "+(xe()-r)+"ms")}}s(Pe,"time");function Re(e,n){return n()}s(Re,"notime");function Ie(e){function n(r){var t=e.children(r),a=e.node(r);if(t.length&&c(t,n),Object.prototype.hasOwnProperty.call(a,"minRank")){a.borderLeft=[],a.borderRight=[];for(var i=a.minRank,o=a.maxRank+1;i<o;++i)Q(e,"borderLeft","_bl",r,a,i),Q(e,"borderRight","_br",r,a,i)}}s(n,"dfs"),c(e.children(),n)}s(Ie,"addBorderSegments");function Q(e,n,r,t,a,i){var o={width:0,height:0,rank:i,borderType:n},d=a[n][i-1],u=x(e,"border",o,r);a[n][i]=u,e.setParent(u,t),d&&e.setEdge(d,u,{weight:1})}s(Q,"addBorderNode");function Se(e){var n=e.graph().rankdir.toLowerCase();(n==="lr"||n==="rl")&&fe(e)}s(Se,"adjust");function Te(e){var n=e.graph().rankdir.toLowerCase();(n==="bt"||n==="rl")&&je(e),(n==="lr"||n==="rl")&&(Me(e),fe(e))}s(Te,"undo");function fe(e){c(e.nodes(),function(n){Z(e.node(n))}),c(e.edges(),function(n){Z(e.edge(n))})}s(fe,"swapWidthHeight");function Z(e){var n=e.width;e.width=e.height,e.height=n}s(Z,"swapWidthHeightOne");function je(e){c(e.nodes(),function(n){M(e.node(n))}),c(e.edges(),function(n){var r=e.edge(n);c(r.points,M),Object.prototype.hasOwnProperty.call(r,"y")&&M(r)})}s(je,"reverseY");function M(e){e.y=-e.y}s(M,"reverseYOne");function Me(e){c(e.nodes(),function(n){F(e.node(n))}),c(e.edges(),function(n){var r=e.edge(n);c(r.points,F),Object.prototype.hasOwnProperty.call(r,"x")&&F(r)})}s(Me,"swapXY");function F(e){var n=e.x;e.x=e.y,e.y=n}s(F,"swapXYOne");var O,cr=(O=class{constructor(){var n={};n._next=n._prev=n,this._sentinel=n}dequeue(){var n=this._sentinel,r=n._prev;if(r!==n)return $(r),r}enqueue(n){var r=this._sentinel;n._prev&&n._next&&$(n),n._next=r._next,r._next._prev=n,r._next=n,n._prev=r}toString(){for(var n=[],r=this._sentinel,t=r._prev;t!==r;)n.push(JSON.stringify(t,Fe)),t=t._prev;return"["+n.join(", ")+"]"}},s(O,"List"),O);function $(e){e._prev._next=e._next,e._next._prev=e._prev,delete e._next,delete e._prev}s($,"unlink");function Fe(e,n){if(e!=="_next"&&e!=="_prev")return n}s(Fe,"filterOutLinks");var lr=ur(1);function Be(e,n){if(e.nodeCount()<=1)return[];var r=Ae(e,n||lr),t=Ve(r.graph,r.buckets,r.zeroIdx);return I(m(t,function(a){return e.outEdges(a.v,a.w)}))}s(Be,"greedyFAS");function Ve(e,n,r){for(var t=[],a=n[n.length-1],i=n[0],o;e.nodeCount();){for(;o=i.dequeue();)B(e,n,r,o);for(;o=a.dequeue();)B(e,n,r,o);if(e.nodeCount()){for(var d=n.length-2;d>0;--d)if(o=n[d].dequeue(),o){t=t.concat(B(e,n,r,o,!0));break}}}return t}s(Ve,"doGreedyFAS");function B(e,n,r,t,a){var i=a?[]:void 0;return c(e.inEdges(t.v),function(o){var d=e.edge(o),u=e.node(o.v);a&&i.push({v:o.v,w:o.w}),u.out-=d,D(n,r,u)}),c(e.outEdges(t.v),function(o){var d=e.edge(o),u=o.w,f=e.node(u);f.in-=d,D(n,r,f)}),e.removeNode(t.v),i}s(B,"removeNode");function Ae(e,n){var r=new y,t=0,a=0;c(e.nodes(),function(d){r.setNode(d,{v:d,in:0,out:0})}),c(e.edges(),function(d){var u=r.edge(d.v,d.w)||0,f=n(d),l=u+f;r.setEdge(d.v,d.w,l),a=Math.max(a,r.node(d.v).out+=f),t=Math.max(t,r.node(d.w).in+=f)});var i=N(a+t+3).map(function(){return new cr}),o=t+1;return c(r.nodes(),function(d){D(i,o,r.node(d))}),{graph:r,buckets:i,zeroIdx:o}}s(Ae,"buildState");function D(e,n,r){r.out?r.in?e[r.out-r.in+n].enqueue(r):e[e.length-1].enqueue(r):e[0].enqueue(r)}s(D,"assignBucket");function Ge(e){var n=e.graph().acyclicer==="greedy"?Be(e,r(e)):Ye(e);c(n,function(t){var a=e.edge(t);e.removeEdge(t),a.forwardName=t.name,a.reversed=!0,e.setEdge(t.w,t.v,a,ie("rev"))});function r(t){return function(a){return t.edge(a).weight}}s(r,"weightFn")}s(Ge,"run");function Ye(e){var n=[],r={},t={};function a(i){Object.prototype.hasOwnProperty.call(t,i)||(t[i]=!0,r[i]=!0,c(e.outEdges(i),function(o){Object.prototype.hasOwnProperty.call(r,o.w)?n.push(o):a(o.w)}),delete r[i])}return s(a,"dfs"),c(e.nodes(),a),n}s(Ye,"dfsFAS");function De(e){c(e.edges(),function(n){var r=e.edge(n);if(r.reversed){e.removeEdge(n);var t=r.forwardName;delete r.reversed,delete r.forwardName,e.setEdge(n.w,n.v,r,t)}})}s(De,"undo");function We(e){e.graph().dummyChains=[],c(e.edges(),function(n){ze(e,n)})}s(We,"run");function ze(e,n){var r=n.v,t=e.node(r).rank,a=n.w,i=e.node(a).rank,o=n.name,d=e.edge(n),u=d.labelRank;if(i!==t+1){e.removeEdge(n);var f=void 0,l,h;for(h=0,++t;t<i;++h,++t)d.points=[],f={width:0,height:0,edgeLabel:d,edgeObj:n,rank:t},l=x(e,"edge",f,"_d"),t===u&&(f.width=d.width,f.height=d.height,f.dummy="edge-label",f.labelpos=d.labelpos),e.setEdge(r,l,{weight:d.weight},o),h===0&&e.graph().dummyChains.push(l),r=l;e.setEdge(r,a,{weight:d.weight},o)}}s(ze,"normalizeEdge");function qe(e){c(e.graph().dummyChains,function(n){var r=e.node(n),t=r.edgeLabel,a;for(e.setEdge(r.edgeObj,t);r.dummy;)a=e.successors(n)[0],e.removeNode(n),t.points.push({x:r.x,y:r.y}),r.dummy==="edge-label"&&(t.x=r.x,t.y=r.y,t.width=r.width,t.height=r.height),n=a,r=e.node(n)})}s(qe,"undo");function q(e){var n={};function r(t){var a=e.node(t);if(Object.prototype.hasOwnProperty.call(n,t))return a.rank;n[t]=!0;var i=P(m(e.outEdges(t),function(o){return r(o.w)-e.edge(o).minlen}));return(i===Number.POSITIVE_INFINITY||i===void 0||i===null)&&(i=0),a.rank=i}s(r,"dfs"),c(e.sources(),r)}s(q,"longestPath");function _(e,n){return e.node(n.w).rank-e.node(n.v).rank-e.edge(n).minlen}s(_,"slack");function ce(e){var n=new y({directed:!1}),r=e.nodes()[0],t=e.nodeCount();n.setNode(r,{});for(var a,i;Xe(n,e)<t;)a=He(n,e),i=n.hasNode(a.v)?_(e,a):-_(e,a),Ue(n,e,i);return n}s(ce,"feasibleTree");function Xe(e,n){function r(t){c(n.nodeEdges(t),function(a){var i=a.v,o=t===i?a.w:i;!e.hasNode(o)&&!_(n,a)&&(e.setNode(o,{}),e.setEdge(t,o,{}),r(o))})}return s(r,"dfs"),c(e.nodes(),r),e.nodeCount()}s(Xe,"tightTree");function He(e,n){return oe(n.edges(),function(r){if(e.hasNode(r.v)!==e.hasNode(r.w))return _(n,r)})}s(He,"findMinSlackEdge");function Ue(e,n,r){c(e.nodes(),function(t){n.node(t).rank+=r})}s(Ue,"shiftRanks");Je.CycleException=R;function Je(e){var n={},r={},t=[];function a(i){if(Object.prototype.hasOwnProperty.call(r,i))throw new R;Object.prototype.hasOwnProperty.call(n,i)||(r[i]=!0,n[i]=!0,c(e.predecessors(i),a),delete r[i],t.push(i))}if(s(a,"visit"),c(e.sinks(),a),ar(n)!==e.nodeCount())throw new R;return t}s(Je,"topsort");function R(){}s(R,"CycleException");R.prototype=new Error;function le(e,n,r){fr(n)||(n=[n]);var t=(e.isDirected()?e.successors:e.neighbors).bind(e),a=[],i={};return c(n,function(o){if(!e.hasNode(o))throw new Error("Graph does not have node: "+o);he(e,o,r==="post",i,t,a)}),a}s(le,"dfs");function he(e,n,r,t,a,i){Object.prototype.hasOwnProperty.call(t,n)||(t[n]=!0,r||i.push(n),c(a(n),function(o){he(e,o,r,t,a,i)}),r&&i.push(n))}s(he,"doDfs");function Ke(e,n){return le(e,n,"post")}s(Ke,"postorder");function Qe(e,n){return le(e,n,"pre")}s(Qe,"preorder");k.initLowLimValues=H;k.initCutValues=X;k.calcCutValue=ve;k.leaveEdge=we;k.enterEdge=me;k.exchangeEdges=be;function k(e){e=Ne(e),q(e);var n=ce(e);H(n),X(n,e);for(var r,t;r=we(n);)t=me(n,e,r),be(n,e,r,t)}s(k,"networkSimplex");function X(e,n){var r=Ke(e,e.nodes());r=r.slice(0,r.length-1),c(r,function(t){Ze(e,n,t)})}s(X,"initCutValues");function Ze(e,n,r){var t=e.node(r),a=t.parent;e.edge(r,a).cutvalue=ve(e,n,r)}s(Ze,"assignCutValue");function ve(e,n,r){var t=e.node(r),a=t.parent,i=!0,o=n.edge(r,a),d=0;return o||(i=!1,o=n.edge(a,r)),d=o.weight,c(n.nodeEdges(r),function(u){var f=u.v===r,l=f?u.w:u.v;if(l!==a){var h=f===i,v=n.edge(u).weight;if(d+=h?v:-v,en(e,r,l)){var p=e.edge(r,l).cutvalue;d+=h?-p:p}}}),d}s(ve,"calcCutValue");function H(e,n){arguments.length<2&&(n=e.nodes()[0]),pe(e,{},1,n)}s(H,"initLowLimValues");function pe(e,n,r,t,a){var i=r,o=e.node(t);return n[t]=!0,c(e.neighbors(t),function(d){Object.prototype.hasOwnProperty.call(n,d)||(r=pe(e,n,r,d,t))}),o.low=i,o.lim=r++,a?o.parent=a:delete o.parent,r}s(pe,"dfsAssignLowLim");function we(e){return de(e.edges(),function(n){return e.edge(n).cutvalue<0})}s(we,"leaveEdge");function me(e,n,r){var t=r.v,a=r.w;n.hasEdge(t,a)||(t=r.w,a=r.v);var i=e.node(t),o=e.node(a),d=i,u=!1;i.lim>o.lim&&(d=o,u=!0);var f=S(n.edges(),function(l){return u===ee(e,e.node(l.v),d)&&u!==ee(e,e.node(l.w),d)});return oe(f,function(l){return _(n,l)})}s(me,"enterEdge");function be(e,n,r,t){var a=r.v,i=r.w;e.removeEdge(a,i),e.setEdge(t.v,t.w,{}),H(e),X(e,n),$e(e,n)}s(be,"exchangeEdges");function $e(e,n){var r=de(e.nodes(),function(a){return!n.node(a).parent}),t=Qe(e,r);t=t.slice(1),c(t,function(a){var i=e.node(a).parent,o=n.edge(a,i),d=!1;o||(o=n.edge(i,a),d=!0),n.node(a).rank=n.node(i).rank+(d?o.minlen:-o.minlen)})}s($e,"updateRanks");function en(e,n,r){return e.hasEdge(n,r)}s(en,"isTreeEdge");function ee(e,n,r){return r.low<=n.lim&&n.lim<=r.lim}s(ee,"isDescendant");function nn(e){switch(e.graph().ranker){case"network-simplex":ne(e);break;case"tight-tree":rn(e);break;case"longest-path":hr(e);break;default:ne(e)}}s(nn,"rank");var hr=q;function rn(e){q(e),ce(e)}s(rn,"tightTreeRanker");function ne(e){k(e)}s(ne,"networkSimplexRanker");function tn(e){var n=x(e,"root",{},"_root"),r=an(e),t=E(L(r))-1,a=2*t+1;e.graph().nestingRoot=n,c(e.edges(),function(o){e.edge(o).minlen*=a});var i=on(e)+1;c(e.children(),function(o){ge(e,n,a,i,t,r,o)}),e.graph().nodeRankFactor=a}s(tn,"run");function ge(e,n,r,t,a,i,o){var d=e.children(o);if(!d.length){o!==n&&e.setEdge(n,o,{weight:0,minlen:r});return}var u=K(e,"_bt"),f=K(e,"_bb"),l=e.node(o);e.setParent(u,o),l.borderTop=u,e.setParent(f,o),l.borderBottom=f,c(d,function(h){ge(e,n,r,t,a,i,h);var v=e.node(h),p=v.borderTop?v.borderTop:h,w=v.borderBottom?v.borderBottom:h,b=v.borderTop?t:2*t,C=p!==w?1:a-i[o]+1;e.setEdge(u,p,{weight:b,minlen:C,nestingEdge:!0}),e.setEdge(w,f,{weight:b,minlen:C,nestingEdge:!0})}),e.parent(o)||e.setEdge(n,u,{weight:0,minlen:a+i[o]})}s(ge,"dfs");function an(e){var n={};function r(t,a){var i=e.children(t);i&&i.length&&c(i,function(o){r(o,a+1)}),n[t]=a}return s(r,"dfs"),c(e.children(),function(t){r(t,1)}),n}s(an,"treeDepths");function on(e){return z(e.edges(),function(n,r){return n+e.edge(r).weight},0)}s(on,"sumWeights");function dn(e){var n=e.graph();e.removeNode(n.nestingRoot),delete n.nestingRoot,c(e.edges(),function(r){var t=e.edge(r);t.nestingEdge&&e.removeEdge(r)})}s(dn,"cleanup");function sn(e,n,r){var t={},a;c(r,function(i){for(var o=e.parent(i),d,u;o;){if(d=e.parent(o),d?(u=t[d],t[d]=o):(u=a,a=o),u&&u!==o){n.setEdge(u,o);return}o=d}})}s(sn,"addSubgraphConstraints");function un(e,n,r){var t=fn(e),a=new y({compound:!0}).setGraph({root:t}).setDefaultNodeLabel(function(i){return e.node(i)});return c(e.nodes(),function(i){var o=e.node(i),d=e.parent(i);(o.rank===n||o.minRank<=n&&n<=o.maxRank)&&(a.setNode(i),a.setParent(i,d||t),c(e[r](i),function(u){var f=u.v===i?u.w:u.v,l=a.edge(f,i),h=g(l)?0:l.weight;a.setEdge(f,i,{weight:e.edge(u).weight+h})}),Object.prototype.hasOwnProperty.call(o,"minRank")&&a.setNode(i,{borderLeft:o.borderLeft[n],borderRight:o.borderRight[n]}))}),a}s(un,"buildLayerGraph");function fn(e){for(var n;e.hasNode(n=ie("_root")););return n}s(fn,"createRootNode");function cn(e,n){for(var r=0,t=1;t<n.length;++t)r+=ln(e,n[t-1],n[t]);return r}s(cn,"crossCount");function ln(e,n,r){for(var t=ir(r,m(r,function(f,l){return l})),a=I(m(n,function(f){return T(m(e.outEdges(f),function(l){return{pos:t[l.w],weight:e.edge(l).weight}}),"pos")})),i=1;i<r.length;)i<<=1;var o=2*i-1;i-=1;var d=m(new Array(o),function(){return 0}),u=0;return c(a.forEach(function(f){var l=f.pos+i;d[l]+=f.weight;for(var h=0;l>0;)l%2&&(h+=d[l+1]),l=l-1>>1,d[l]+=f.weight;u+=f.weight*h})),u}s(ln,"twoLayerCrossCount");function hn(e){var n={},r=S(e.nodes(),function(d){return!e.children(d).length}),t=E(m(r,function(d){return e.node(d).rank})),a=m(N(t+1),function(){return[]});function i(d){if(!Oe(n,d)){n[d]=!0;var u=e.node(d);a[u.rank].push(d),c(e.successors(d),i)}}s(i,"dfs");var o=T(r,function(d){return e.node(d).rank});return c(o,i),a}s(hn,"initOrder");function vn(e,n){return m(n,function(r){var t=e.inEdges(r);if(t.length){var a=z(t,function(i,o){var d=e.edge(o),u=e.node(o.v);return{sum:i.sum+d.weight*u.order,weight:i.weight+d.weight}},{sum:0,weight:0});return{v:r,barycenter:a.sum/a.weight,weight:a.weight}}else return{v:r}})}s(vn,"barycenter");function pn(e,n){var r={};c(e,function(a,i){var o=r[a.v]={indegree:0,in:[],out:[],vs:[a.v],i};g(a.barycenter)||(o.barycenter=a.barycenter,o.weight=a.weight)}),c(n.edges(),function(a){var i=r[a.v],o=r[a.w];!g(i)&&!g(o)&&(o.indegree++,i.out.push(r[a.w]))});var t=S(r,function(a){return!a.indegree});return wn(t)}s(pn,"resolveConflicts");function wn(e){var n=[];function r(i){return function(o){o.merged||(g(o.barycenter)||g(i.barycenter)||o.barycenter>=i.barycenter)&&mn(i,o)}}s(r,"handleIn");function t(i){return function(o){o.in.push(i),--o.indegree===0&&e.push(o)}}for(s(t,"handleOut");e.length;){var a=e.pop();n.push(a),c(a.in.reverse(),r(a)),c(a.out,t(a))}return m(S(n,function(i){return!i.merged}),function(i){return G(i,["vs","i","barycenter","weight"])})}s(wn,"doResolveConflicts");function mn(e,n){var r=0,t=0;e.weight&&(r+=e.barycenter*e.weight,t+=e.weight),n.weight&&(r+=n.barycenter*n.weight,t+=n.weight),e.vs=n.vs.concat(e.vs),e.barycenter=r/t,e.weight=t,e.i=Math.min(n.i,e.i),n.merged=!0}s(mn,"mergeEntries");function bn(e,n){var r=Ce(e,function(l){return Object.prototype.hasOwnProperty.call(l,"barycenter")}),t=r.lhs,a=T(r.rhs,function(l){return-l.i}),i=[],o=0,d=0,u=0;t.sort(gn(!!n)),u=re(i,a,u),c(t,function(l){u+=l.vs.length,i.push(l.vs),o+=l.barycenter*l.weight,d+=l.weight,u=re(i,a,u)});var f={vs:I(i)};return d&&(f.barycenter=o/d,f.weight=d),f}s(bn,"sort");function re(e,n,r){for(var t;n.length&&(t=Y(n)).i<=r;)n.pop(),e.push(t.vs),r++;return r}s(re,"consumeUnsortable");function gn(e){return function(n,r){return n.barycenter<r.barycenter?-1:n.barycenter>r.barycenter?1:e?r.i-n.i:n.i-r.i}}s(gn,"compareWithBias");function ye(e,n,r,t){var a=e.children(n),i=e.node(n),o=i?i.borderLeft:void 0,d=i?i.borderRight:void 0,u={};o&&(a=S(a,function(w){return w!==o&&w!==d}));var f=vn(e,a);c(f,function(w){if(e.children(w.v).length){var b=ye(e,w.v,r,t);u[w.v]=b,Object.prototype.hasOwnProperty.call(b,"barycenter")&&kn(w,b)}});var l=pn(f,r);yn(l,u);var h=bn(l,t);if(o&&(h.vs=I([o,h.vs,d]),e.predecessors(o).length)){var v=e.node(e.predecessors(o)[0]),p=e.node(e.predecessors(d)[0]);Object.prototype.hasOwnProperty.call(h,"barycenter")||(h.barycenter=0,h.weight=0),h.barycenter=(h.barycenter*h.weight+v.order+p.order)/(h.weight+2),h.weight+=2}return h}s(ye,"sortSubgraph");function yn(e,n){c(e,function(r){r.vs=I(r.vs.map(function(t){return n[t]?n[t].vs:t}))})}s(yn,"expandSubgraphs");function kn(e,n){g(e.barycenter)?(e.barycenter=n.barycenter,e.weight=n.weight):(e.barycenter=(e.barycenter*e.weight+n.barycenter*n.weight)/(e.weight+n.weight),e.weight+=n.weight)}s(kn,"mergeBarycenters");function En(e){var n=ue(e),r=te(e,N(1,n+1),"inEdges"),t=te(e,N(n-1,-1,-1),"outEdges"),a=hn(e);ae(e,a);for(var i=Number.POSITIVE_INFINITY,o,d=0,u=0;u<4;++d,++u){xn(d%2?r:t,d%4>=2),a=j(e);var f=cn(e,a);f<i&&(u=0,o=or(a),i=f)}ae(e,o)}s(En,"order");function te(e,n,r){return m(n,function(t){return un(e,t,r)})}s(te,"buildLayerGraphs");function xn(e,n){var r=new y;c(e,function(t){var a=t.graph().root,i=ye(t,a,r,n);c(i.vs,function(o,d){t.node(o).order=d}),sn(t,r,i.vs)})}s(xn,"sweepLayerGraphs");function ae(e,n){c(n,function(r){c(r,function(t,a){e.node(t).order=a})})}s(ae,"assignOrder");function On(e){var n=Ln(e);c(e.graph().dummyChains,function(r){for(var t=e.node(r),a=t.edgeObj,i=Nn(e,n,a.v,a.w),o=i.path,d=i.lca,u=0,f=o[u],l=!0;r!==a.w;){if(t=e.node(r),l){for(;(f=o[u])!==d&&e.node(f).maxRank<t.rank;)u++;f===d&&(l=!1)}if(!l){for(;u<o.length-1&&e.node(f=o[u+1]).minRank<=t.rank;)u++;f=o[u]}e.setParent(r,f),r=e.successors(r)[0]}})}s(On,"parentDummyChains");function Nn(e,n,r,t){var a=[],i=[],o=Math.min(n[r].low,n[t].low),d=Math.max(n[r].lim,n[t].lim),u,f;u=r;do u=e.parent(u),a.push(u);while(u&&(n[u].low>o||d>n[u].lim));for(f=u,u=t;(u=e.parent(u))!==f;)i.push(u);return{path:a.concat(i.reverse()),lca:f}}s(Nn,"findPath");function Ln(e){var n={},r=0;function t(a){var i=r;c(e.children(a),t),n[a]={low:i,lim:r++}}return s(t,"dfs"),c(e.children(),t),n}s(Ln,"postorder");function _n(e,n){var r={};function t(a,i){var o=0,d=0,u=a.length,f=Y(i);return c(i,function(l,h){var v=Pn(e,l),p=v?e.node(v).order:u;(v||l===f)&&(c(i.slice(d,h+1),function(w){c(e.predecessors(w),function(b){var C=e.node(b),Ee=C.order;(Ee<o||p<Ee)&&!(C.dummy&&e.node(w).dummy)&&ke(r,b,w)})}),d=h+1,o=p)}),i}return s(t,"visitLayer"),z(n,t),r}s(_n,"findType1Conflicts");function Cn(e,n){var r={};function t(i,o,d,u,f){var l;c(N(o,d),function(h){l=i[h],e.node(l).dummy&&c(e.predecessors(l),function(v){var p=e.node(v);p.dummy&&(p.order<u||p.order>f)&&ke(r,v,l)})})}s(t,"scan");function a(i,o){var d=-1,u,f=0;return c(o,function(l,h){if(e.node(l).dummy==="border"){var v=e.predecessors(l);v.length&&(u=e.node(v[0]).order,t(o,f,h,d,u),f=h,d=u)}t(o,f,o.length,u,i.length)}),o}return s(a,"visitLayer"),z(n,a),r}s(Cn,"findType2Conflicts");function Pn(e,n){if(e.node(n).dummy)return de(e.predecessors(n),function(r){return e.node(r).dummy})}s(Pn,"findOtherInnerSegmentNode");function ke(e,n,r){if(n>r){var t=n;n=r,r=t}Object.prototype.hasOwnProperty.call(e,n)||Object.defineProperty(e,n,{enumerable:!0,configurable:!0,value:{},writable:!0});var a=e[n];Object.defineProperty(a,r,{enumerable:!0,configurable:!0,value:!0,writable:!0})}s(ke,"addConflict");function Rn(e,n,r){if(n>r){var t=n;n=r,r=t}return!!e[n]&&Object.prototype.hasOwnProperty.call(e[n],r)}s(Rn,"hasConflict");function In(e,n,r,t){var a={},i={},o={};return c(n,function(d){c(d,function(u,f){a[u]=u,i[u]=u,o[u]=f})}),c(n,function(d){var u=-1;c(d,function(f){var l=t(f);if(l.length){l=T(l,function(b){return o[b]});for(var h=(l.length-1)/2,v=Math.floor(h),p=Math.ceil(h);v<=p;++v){var w=l[v];i[f]===f&&u<o[w]&&!Rn(r,f,w)&&(i[w]=f,i[f]=a[f]=a[w],u=o[w])}}})}),{root:a,align:i}}s(In,"verticalAlignment");function Sn(e,n,r,t,a){var i={},o=Tn(e,n,r,a),d=a?"borderLeft":"borderRight";function u(h,v){for(var p=o.nodes(),w=p.pop(),b={};w;)b[w]?h(w):(b[w]=!0,p.push(w),p=p.concat(v(w))),w=p.pop()}s(u,"iterate");function f(h){i[h]=o.inEdges(h).reduce(function(v,p){return Math.max(v,i[p.v]+o.edge(p))},0)}s(f,"pass1");function l(h){var v=o.outEdges(h).reduce(function(w,b){return Math.min(w,i[b.w]-o.edge(b))},Number.POSITIVE_INFINITY),p=e.node(h);v!==Number.POSITIVE_INFINITY&&p.borderType!==d&&(i[h]=Math.max(i[h],v))}return s(l,"pass2"),u(f,o.predecessors.bind(o)),u(l,o.successors.bind(o)),c(t,function(h){i[h]=i[r[h]]}),i}s(Sn,"horizontalCompaction");function Tn(e,n,r,t){var a=new y,i=e.graph(),o=Vn(i.nodesep,i.edgesep,t);return c(n,function(d){var u;c(d,function(f){var l=r[f];if(a.setNode(l),u){var h=r[u],v=a.edge(h,l);a.setEdge(h,l,Math.max(o(e,f,u),v||0))}u=f})}),a}s(Tn,"buildBlockGraph");function jn(e,n){return oe(L(n),function(r){var t=Number.NEGATIVE_INFINITY,a=Number.POSITIVE_INFINITY;return dr(r,function(i,o){var d=An(e,o)/2;t=Math.max(i+d,t),a=Math.min(i-d,a)}),t-a})}s(jn,"findSmallestWidthAlignment");function Mn(e,n){var r=L(n),t=P(r),a=E(r);c(["u","d"],function(i){c(["l","r"],function(o){var d=i+o,u=e[d],f;if(u!==n){var l=L(u);f=o==="l"?t-P(l):a-E(l),f&&(e[d]=W(u,function(h){return h+f}))}})})}s(Mn,"alignCoordinates");function Fn(e,n){return W(e.ul,function(r,t){if(n)return e[n.toLowerCase()][t];var a=T(m(e,t));return(a[1]+a[2])/2})}s(Fn,"balance");function Bn(e){var n=j(e),r=U(_n(e,n),Cn(e,n)),t={},a;c(["u","d"],function(o){a=o==="u"?n:L(n).reverse(),c(["l","r"],function(d){d==="r"&&(a=m(a,function(h){return L(h).reverse()}));var u=(o==="u"?e.predecessors:e.successors).bind(e),f=In(e,a,r,u),l=Sn(e,a,f.root,f.align,d==="r");d==="r"&&(l=W(l,function(h){return-h})),t[o+d]=l})});var i=jn(e,t);return Mn(t,i),Fn(t,e.graph().align)}s(Bn,"positionX");function Vn(e,n,r){return function(t,a,i){var o=t.node(a),d=t.node(i),u=0,f;if(u+=o.width/2,Object.prototype.hasOwnProperty.call(o,"labelpos"))switch(o.labelpos.toLowerCase()){case"l":f=-o.width/2;break;case"r":f=o.width/2;break}if(f&&(u+=r?f:-f),f=0,u+=(o.dummy?n:e)/2,u+=(d.dummy?n:e)/2,u+=d.width/2,Object.prototype.hasOwnProperty.call(d,"labelpos"))switch(d.labelpos.toLowerCase()){case"l":f=d.width/2;break;case"r":f=-d.width/2;break}return f&&(u+=r?f:-f),f=0,u}}s(Vn,"sep");function An(e,n){return e.node(n).width}s(An,"width");function Gn(e){e=se(e),Yn(e),sr(Bn(e),function(n,r){e.node(r).x=n})}s(Gn,"position");function Yn(e){var n=j(e),r=e.graph().ranksep,t=0;c(n,function(a){var i=E(m(a,function(o){return e.node(o).height}));c(a,function(o){e.node(o).y=t+i/2}),t+=i+r})}s(Yn,"positionY");function vr(e,n){var r=n&&n.debugTiming?Pe:Re;r("layout",()=>{var t=r(" buildLayoutGraph",()=>zn(e));r(" runLayout",()=>Dn(t,r)),r(" updateInputGraph",()=>Wn(e,t))})}s(vr,"layout");function Dn(e,n){n(" makeSpaceForEdgeLabels",()=>qn(e)),n(" removeSelfEdges",()=>er(e)),n(" acyclic",()=>Ge(e)),n(" nestingGraph.run",()=>tn(e)),n(" rank",()=>nn(se(e))),n(" injectEdgeLabelProxies",()=>Xn(e)),n(" removeEmptyRanks",()=>_e(e)),n(" nestingGraph.cleanup",()=>dn(e)),n(" normalizeRanks",()=>Le(e)),n(" assignRankMinMax",()=>Hn(e)),n(" removeEdgeLabelProxies",()=>Un(e)),n(" normalize.run",()=>We(e)),n(" parentDummyChains",()=>On(e)),n(" addBorderSegments",()=>Ie(e)),n(" order",()=>En(e)),n(" insertSelfEdges",()=>nr(e)),n(" adjustCoordinateSystem",()=>Se(e)),n(" position",()=>Gn(e)),n(" positionSelfEdges",()=>rr(e)),n(" removeBorderNodes",()=>$n(e)),n(" normalize.undo",()=>qe(e)),n(" fixupEdgeLabelCoords",()=>Qn(e)),n(" undoCoordinateSystem",()=>Te(e)),n(" translateGraph",()=>Jn(e)),n(" assignNodeIntersects",()=>Kn(e)),n(" reversePoints",()=>Zn(e)),n(" acyclic.undo",()=>De(e))}s(Dn,"runLayout");function Wn(e,n){c(e.nodes(),function(r){var t=e.node(r),a=n.node(r);t&&(t.x=a.x,t.y=a.y,n.children(r).length&&(t.width=a.width,t.height=a.height))}),c(e.edges(),function(r){var t=e.edge(r),a=n.edge(r);t.points=a.points,Object.prototype.hasOwnProperty.call(a,"x")&&(t.x=a.x,t.y=a.y)}),e.graph().width=n.graph().width,e.graph().height=n.graph().height}s(Wn,"updateInputGraph");var pr=["nodesep","edgesep","ranksep","marginx","marginy"],wr={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},mr=["acyclicer","ranker","rankdir","align"],br=["width","height"],gr={width:0,height:0},yr=["minlen","weight","width","height","labeloffset"],kr={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},Er=["labelpos"];function zn(e){var n=new y({multigraph:!0,compound:!0}),r=A(e.graph());return n.setGraph(U({},wr,V(r,pr),G(r,mr))),c(e.nodes(),function(t){var a=A(e.node(t));n.setNode(t,tr(V(a,br),gr)),n.setParent(t,e.parent(t))}),c(e.edges(),function(t){var a=A(e.edge(t));n.setEdge(t,U({},kr,V(a,yr),G(a,Er)))}),n}s(zn,"buildLayoutGraph");function qn(e){var n=e.graph();n.ranksep/=2,c(e.edges(),function(r){var t=e.edge(r);t.minlen*=2,t.labelpos.toLowerCase()!=="c"&&(n.rankdir==="TB"||n.rankdir==="BT"?t.width+=t.labeloffset:t.height+=t.labeloffset)})}s(qn,"makeSpaceForEdgeLabels");function Xn(e){c(e.edges(),function(n){var r=e.edge(n);if(r.width&&r.height){var t=e.node(n.v),a=e.node(n.w),i={rank:(a.rank-t.rank)/2+t.rank,e:n};x(e,"edge-proxy",i,"_ep")}})}s(Xn,"injectEdgeLabelProxies");function Hn(e){var n=0;c(e.nodes(),function(r){var t=e.node(r);t.borderTop&&(t.minRank=e.node(t.borderTop).rank,t.maxRank=e.node(t.borderBottom).rank,n=E(n,t.maxRank))}),e.graph().maxRank=n}s(Hn,"assignRankMinMax");function Un(e){c(e.nodes(),function(n){var r=e.node(n);r.dummy==="edge-proxy"&&(e.edge(r.e).labelRank=r.rank,e.removeNode(n))})}s(Un,"removeEdgeLabelProxies");function Jn(e){var n=Number.POSITIVE_INFINITY,r=0,t=Number.POSITIVE_INFINITY,a=0,i=e.graph(),o=i.marginx||0,d=i.marginy||0;function u(f){var l=f.x,h=f.y,v=f.width,p=f.height;n=Math.min(n,l-v/2),r=Math.max(r,l+v/2),t=Math.min(t,h-p/2),a=Math.max(a,h+p/2)}s(u,"getExtremes"),c(e.nodes(),function(f){u(e.node(f))}),c(e.edges(),function(f){var l=e.edge(f);Object.prototype.hasOwnProperty.call(l,"x")&&u(l)}),n-=o,t-=d,c(e.nodes(),function(f){var l=e.node(f);l.x-=n,l.y-=t}),c(e.edges(),function(f){var l=e.edge(f);c(l.points,function(h){h.x-=n,h.y-=t}),Object.prototype.hasOwnProperty.call(l,"x")&&(l.x-=n),Object.prototype.hasOwnProperty.call(l,"y")&&(l.y-=t)}),i.width=r-n+o,i.height=a-t+d}s(Jn,"translateGraph");function Kn(e){c(e.edges(),function(n){var r=e.edge(n),t=e.node(n.v),a=e.node(n.w),i,o;r.points?(i=r.points[0],o=r.points[r.points.length-1]):(r.points=[],i=a,o=t),r.points.unshift(J(t,i)),r.points.push(J(a,o))})}s(Kn,"assignNodeIntersects");function Qn(e){c(e.edges(),function(n){var r=e.edge(n);if(Object.prototype.hasOwnProperty.call(r,"x"))switch((r.labelpos==="l"||r.labelpos==="r")&&(r.width-=r.labeloffset),r.labelpos){case"l":r.x-=r.width/2+r.labeloffset;break;case"r":r.x+=r.width/2+r.labeloffset;break}})}s(Qn,"fixupEdgeLabelCoords");function Zn(e){c(e.edges(),function(n){var r=e.edge(n);r.reversed&&r.points.reverse()})}s(Zn,"reversePointsForReversedEdges");function $n(e){c(e.nodes(),function(n){if(e.children(n).length){var r=e.node(n),t=e.node(r.borderTop),a=e.node(r.borderBottom),i=e.node(Y(r.borderLeft)),o=e.node(Y(r.borderRight));r.width=Math.abs(o.x-i.x),r.height=Math.abs(a.y-t.y),r.x=i.x+r.width/2,r.y=t.y+r.height/2}}),c(e.nodes(),function(n){e.node(n).dummy==="border"&&e.removeNode(n)})}s($n,"removeBorderNodes");function er(e){c(e.edges(),function(n){if(n.v===n.w){var r=e.node(n.v);r.selfEdges||(r.selfEdges=[]),r.selfEdges.push({e:n,label:e.edge(n)}),e.removeEdge(n)}})}s(er,"removeSelfEdges");function nr(e){var n=j(e);c(n,function(r){var t=0;c(r,function(a,i){var o=e.node(a);o.order=i+t,c(o.selfEdges,function(d){x(e,"selfedge",{width:d.label.width,height:d.label.height,rank:o.rank,order:i+ ++t,e:d.e,label:d.label},"_se")}),delete o.selfEdges})})}s(nr,"insertSelfEdges");function rr(e){c(e.nodes(),function(n){var r=e.node(n);if(r.dummy==="selfedge"){var t=e.node(r.e.v),a=t.x+t.width/2,i=t.y,o=r.x-a,d=t.height/2;e.setEdge(r.e,r.label),e.removeNode(n),r.label.points=[{x:a+2*o/3,y:i-d},{x:a+5*o/6,y:i-d},{x:a+o,y:i},{x:a+5*o/6,y:i+d},{x:a+2*o/3,y:i+d}],r.label.x=r.x,r.label.y=r.y}})}s(rr,"positionSelfEdges");function V(e,n){return W(G(e,n),Number)}s(V,"selectNumberAttrs");function A(e){var n={};return c(e,function(r,t){n[t.toLowerCase()]=r}),n}s(A,"canonicalize");export{vr as l};
1
+ import{E as c,G as y,aj as U,ap as G,z as tr,ai as E,a9 as Y,ae as W,aS as ie,af as m,au as N,a6 as g,al as P,Y as Oe,am as xe,D as I,ak as oe,aN as ar,C as de,A as S,aW as L,av as z,aY as ir,aO as T,m as or,F as dr,H as sr,s as ur,a4 as fr}from"./D0QGnN9N.js";import{g as s}from"./-EQ6B0ad.js";function x(e,n,r,t){var a;do a=ie(t);while(e.hasNode(a));return r.dummy=n,e.setNode(a,r),a}s(x,"addDummyNode");function Ne(e){var n=new y().setGraph(e.graph());return c(e.nodes(),function(r){n.setNode(r,e.node(r))}),c(e.edges(),function(r){var t=n.edge(r.v,r.w)||{weight:0,minlen:1},a=e.edge(r);n.setEdge(r.v,r.w,{weight:t.weight+a.weight,minlen:Math.max(t.minlen,a.minlen)})}),n}s(Ne,"simplify");function se(e){var n=new y({multigraph:e.isMultigraph()}).setGraph(e.graph());return c(e.nodes(),function(r){e.children(r).length||n.setNode(r,e.node(r))}),c(e.edges(),function(r){n.setEdge(r,e.edge(r))}),n}s(se,"asNonCompoundGraph");function J(e,n){var r=e.x,t=e.y,a=n.x-r,i=n.y-t,o=e.width/2,d=e.height/2;if(!a&&!i)throw new Error("Not possible to find intersection inside of the rectangle");var u,f;return Math.abs(i)*o>Math.abs(a)*d?(i<0&&(d=-d),u=d*a/i,f=d):(a<0&&(o=-o),u=o,f=o*i/a),{x:r+u,y:t+f}}s(J,"intersectRect");function j(e){var n=m(N(ue(e)+1),function(){return[]});return c(e.nodes(),function(r){var t=e.node(r),a=t.rank;g(a)||(n[a][t.order]=r)}),n}s(j,"buildLayerMatrix");function Le(e){var n=P(m(e.nodes(),function(r){return e.node(r).rank}));c(e.nodes(),function(r){var t=e.node(r);Oe(t,"rank")&&(t.rank-=n)})}s(Le,"normalizeRanks");function _e(e){var n=P(m(e.nodes(),function(i){return e.node(i).rank})),r=[];c(e.nodes(),function(i){var o=e.node(i).rank-n;r[o]||(r[o]=[]),r[o].push(i)});var t=0,a=e.graph().nodeRankFactor;c(r,function(i,o){g(i)&&o%a!==0?--t:t&&c(i,function(d){e.node(d).rank+=t})})}s(_e,"removeEmptyRanks");function K(e,n,r,t){var a={width:0,height:0};return arguments.length>=4&&(a.rank=r,a.order=t),x(e,"border",a,n)}s(K,"addBorderNode");function ue(e){return E(m(e.nodes(),function(n){var r=e.node(n).rank;if(!g(r))return r}))}s(ue,"maxRank");function Ce(e,n){var r={lhs:[],rhs:[]};return c(e,function(t){n(t)?r.lhs.push(t):r.rhs.push(t)}),r}s(Ce,"partition");function Pe(e,n){var r=xe();try{return n()}finally{console.log(e+" time: "+(xe()-r)+"ms")}}s(Pe,"time");function Re(e,n){return n()}s(Re,"notime");function Ie(e){function n(r){var t=e.children(r),a=e.node(r);if(t.length&&c(t,n),Object.prototype.hasOwnProperty.call(a,"minRank")){a.borderLeft=[],a.borderRight=[];for(var i=a.minRank,o=a.maxRank+1;i<o;++i)Q(e,"borderLeft","_bl",r,a,i),Q(e,"borderRight","_br",r,a,i)}}s(n,"dfs"),c(e.children(),n)}s(Ie,"addBorderSegments");function Q(e,n,r,t,a,i){var o={width:0,height:0,rank:i,borderType:n},d=a[n][i-1],u=x(e,"border",o,r);a[n][i]=u,e.setParent(u,t),d&&e.setEdge(d,u,{weight:1})}s(Q,"addBorderNode");function Se(e){var n=e.graph().rankdir.toLowerCase();(n==="lr"||n==="rl")&&fe(e)}s(Se,"adjust");function Te(e){var n=e.graph().rankdir.toLowerCase();(n==="bt"||n==="rl")&&je(e),(n==="lr"||n==="rl")&&(Me(e),fe(e))}s(Te,"undo");function fe(e){c(e.nodes(),function(n){Z(e.node(n))}),c(e.edges(),function(n){Z(e.edge(n))})}s(fe,"swapWidthHeight");function Z(e){var n=e.width;e.width=e.height,e.height=n}s(Z,"swapWidthHeightOne");function je(e){c(e.nodes(),function(n){M(e.node(n))}),c(e.edges(),function(n){var r=e.edge(n);c(r.points,M),Object.prototype.hasOwnProperty.call(r,"y")&&M(r)})}s(je,"reverseY");function M(e){e.y=-e.y}s(M,"reverseYOne");function Me(e){c(e.nodes(),function(n){F(e.node(n))}),c(e.edges(),function(n){var r=e.edge(n);c(r.points,F),Object.prototype.hasOwnProperty.call(r,"x")&&F(r)})}s(Me,"swapXY");function F(e){var n=e.x;e.x=e.y,e.y=n}s(F,"swapXYOne");var O,cr=(O=class{constructor(){var n={};n._next=n._prev=n,this._sentinel=n}dequeue(){var n=this._sentinel,r=n._prev;if(r!==n)return $(r),r}enqueue(n){var r=this._sentinel;n._prev&&n._next&&$(n),n._next=r._next,r._next._prev=n,r._next=n,n._prev=r}toString(){for(var n=[],r=this._sentinel,t=r._prev;t!==r;)n.push(JSON.stringify(t,Fe)),t=t._prev;return"["+n.join(", ")+"]"}},s(O,"List"),O);function $(e){e._prev._next=e._next,e._next._prev=e._prev,delete e._next,delete e._prev}s($,"unlink");function Fe(e,n){if(e!=="_next"&&e!=="_prev")return n}s(Fe,"filterOutLinks");var lr=ur(1);function Be(e,n){if(e.nodeCount()<=1)return[];var r=Ae(e,n||lr),t=Ve(r.graph,r.buckets,r.zeroIdx);return I(m(t,function(a){return e.outEdges(a.v,a.w)}))}s(Be,"greedyFAS");function Ve(e,n,r){for(var t=[],a=n[n.length-1],i=n[0],o;e.nodeCount();){for(;o=i.dequeue();)B(e,n,r,o);for(;o=a.dequeue();)B(e,n,r,o);if(e.nodeCount()){for(var d=n.length-2;d>0;--d)if(o=n[d].dequeue(),o){t=t.concat(B(e,n,r,o,!0));break}}}return t}s(Ve,"doGreedyFAS");function B(e,n,r,t,a){var i=a?[]:void 0;return c(e.inEdges(t.v),function(o){var d=e.edge(o),u=e.node(o.v);a&&i.push({v:o.v,w:o.w}),u.out-=d,D(n,r,u)}),c(e.outEdges(t.v),function(o){var d=e.edge(o),u=o.w,f=e.node(u);f.in-=d,D(n,r,f)}),e.removeNode(t.v),i}s(B,"removeNode");function Ae(e,n){var r=new y,t=0,a=0;c(e.nodes(),function(d){r.setNode(d,{v:d,in:0,out:0})}),c(e.edges(),function(d){var u=r.edge(d.v,d.w)||0,f=n(d),l=u+f;r.setEdge(d.v,d.w,l),a=Math.max(a,r.node(d.v).out+=f),t=Math.max(t,r.node(d.w).in+=f)});var i=N(a+t+3).map(function(){return new cr}),o=t+1;return c(r.nodes(),function(d){D(i,o,r.node(d))}),{graph:r,buckets:i,zeroIdx:o}}s(Ae,"buildState");function D(e,n,r){r.out?r.in?e[r.out-r.in+n].enqueue(r):e[e.length-1].enqueue(r):e[0].enqueue(r)}s(D,"assignBucket");function Ge(e){var n=e.graph().acyclicer==="greedy"?Be(e,r(e)):Ye(e);c(n,function(t){var a=e.edge(t);e.removeEdge(t),a.forwardName=t.name,a.reversed=!0,e.setEdge(t.w,t.v,a,ie("rev"))});function r(t){return function(a){return t.edge(a).weight}}s(r,"weightFn")}s(Ge,"run");function Ye(e){var n=[],r={},t={};function a(i){Object.prototype.hasOwnProperty.call(t,i)||(t[i]=!0,r[i]=!0,c(e.outEdges(i),function(o){Object.prototype.hasOwnProperty.call(r,o.w)?n.push(o):a(o.w)}),delete r[i])}return s(a,"dfs"),c(e.nodes(),a),n}s(Ye,"dfsFAS");function De(e){c(e.edges(),function(n){var r=e.edge(n);if(r.reversed){e.removeEdge(n);var t=r.forwardName;delete r.reversed,delete r.forwardName,e.setEdge(n.w,n.v,r,t)}})}s(De,"undo");function We(e){e.graph().dummyChains=[],c(e.edges(),function(n){ze(e,n)})}s(We,"run");function ze(e,n){var r=n.v,t=e.node(r).rank,a=n.w,i=e.node(a).rank,o=n.name,d=e.edge(n),u=d.labelRank;if(i!==t+1){e.removeEdge(n);var f=void 0,l,h;for(h=0,++t;t<i;++h,++t)d.points=[],f={width:0,height:0,edgeLabel:d,edgeObj:n,rank:t},l=x(e,"edge",f,"_d"),t===u&&(f.width=d.width,f.height=d.height,f.dummy="edge-label",f.labelpos=d.labelpos),e.setEdge(r,l,{weight:d.weight},o),h===0&&e.graph().dummyChains.push(l),r=l;e.setEdge(r,a,{weight:d.weight},o)}}s(ze,"normalizeEdge");function qe(e){c(e.graph().dummyChains,function(n){var r=e.node(n),t=r.edgeLabel,a;for(e.setEdge(r.edgeObj,t);r.dummy;)a=e.successors(n)[0],e.removeNode(n),t.points.push({x:r.x,y:r.y}),r.dummy==="edge-label"&&(t.x=r.x,t.y=r.y,t.width=r.width,t.height=r.height),n=a,r=e.node(n)})}s(qe,"undo");function q(e){var n={};function r(t){var a=e.node(t);if(Object.prototype.hasOwnProperty.call(n,t))return a.rank;n[t]=!0;var i=P(m(e.outEdges(t),function(o){return r(o.w)-e.edge(o).minlen}));return(i===Number.POSITIVE_INFINITY||i===void 0||i===null)&&(i=0),a.rank=i}s(r,"dfs"),c(e.sources(),r)}s(q,"longestPath");function _(e,n){return e.node(n.w).rank-e.node(n.v).rank-e.edge(n).minlen}s(_,"slack");function ce(e){var n=new y({directed:!1}),r=e.nodes()[0],t=e.nodeCount();n.setNode(r,{});for(var a,i;Xe(n,e)<t;)a=He(n,e),i=n.hasNode(a.v)?_(e,a):-_(e,a),Ue(n,e,i);return n}s(ce,"feasibleTree");function Xe(e,n){function r(t){c(n.nodeEdges(t),function(a){var i=a.v,o=t===i?a.w:i;!e.hasNode(o)&&!_(n,a)&&(e.setNode(o,{}),e.setEdge(t,o,{}),r(o))})}return s(r,"dfs"),c(e.nodes(),r),e.nodeCount()}s(Xe,"tightTree");function He(e,n){return oe(n.edges(),function(r){if(e.hasNode(r.v)!==e.hasNode(r.w))return _(n,r)})}s(He,"findMinSlackEdge");function Ue(e,n,r){c(e.nodes(),function(t){n.node(t).rank+=r})}s(Ue,"shiftRanks");Je.CycleException=R;function Je(e){var n={},r={},t=[];function a(i){if(Object.prototype.hasOwnProperty.call(r,i))throw new R;Object.prototype.hasOwnProperty.call(n,i)||(r[i]=!0,n[i]=!0,c(e.predecessors(i),a),delete r[i],t.push(i))}if(s(a,"visit"),c(e.sinks(),a),ar(n)!==e.nodeCount())throw new R;return t}s(Je,"topsort");function R(){}s(R,"CycleException");R.prototype=new Error;function le(e,n,r){fr(n)||(n=[n]);var t=(e.isDirected()?e.successors:e.neighbors).bind(e),a=[],i={};return c(n,function(o){if(!e.hasNode(o))throw new Error("Graph does not have node: "+o);he(e,o,r==="post",i,t,a)}),a}s(le,"dfs");function he(e,n,r,t,a,i){Object.prototype.hasOwnProperty.call(t,n)||(t[n]=!0,r||i.push(n),c(a(n),function(o){he(e,o,r,t,a,i)}),r&&i.push(n))}s(he,"doDfs");function Ke(e,n){return le(e,n,"post")}s(Ke,"postorder");function Qe(e,n){return le(e,n,"pre")}s(Qe,"preorder");k.initLowLimValues=H;k.initCutValues=X;k.calcCutValue=ve;k.leaveEdge=we;k.enterEdge=me;k.exchangeEdges=be;function k(e){e=Ne(e),q(e);var n=ce(e);H(n),X(n,e);for(var r,t;r=we(n);)t=me(n,e,r),be(n,e,r,t)}s(k,"networkSimplex");function X(e,n){var r=Ke(e,e.nodes());r=r.slice(0,r.length-1),c(r,function(t){Ze(e,n,t)})}s(X,"initCutValues");function Ze(e,n,r){var t=e.node(r),a=t.parent;e.edge(r,a).cutvalue=ve(e,n,r)}s(Ze,"assignCutValue");function ve(e,n,r){var t=e.node(r),a=t.parent,i=!0,o=n.edge(r,a),d=0;return o||(i=!1,o=n.edge(a,r)),d=o.weight,c(n.nodeEdges(r),function(u){var f=u.v===r,l=f?u.w:u.v;if(l!==a){var h=f===i,v=n.edge(u).weight;if(d+=h?v:-v,en(e,r,l)){var p=e.edge(r,l).cutvalue;d+=h?-p:p}}}),d}s(ve,"calcCutValue");function H(e,n){arguments.length<2&&(n=e.nodes()[0]),pe(e,{},1,n)}s(H,"initLowLimValues");function pe(e,n,r,t,a){var i=r,o=e.node(t);return n[t]=!0,c(e.neighbors(t),function(d){Object.prototype.hasOwnProperty.call(n,d)||(r=pe(e,n,r,d,t))}),o.low=i,o.lim=r++,a?o.parent=a:delete o.parent,r}s(pe,"dfsAssignLowLim");function we(e){return de(e.edges(),function(n){return e.edge(n).cutvalue<0})}s(we,"leaveEdge");function me(e,n,r){var t=r.v,a=r.w;n.hasEdge(t,a)||(t=r.w,a=r.v);var i=e.node(t),o=e.node(a),d=i,u=!1;i.lim>o.lim&&(d=o,u=!0);var f=S(n.edges(),function(l){return u===ee(e,e.node(l.v),d)&&u!==ee(e,e.node(l.w),d)});return oe(f,function(l){return _(n,l)})}s(me,"enterEdge");function be(e,n,r,t){var a=r.v,i=r.w;e.removeEdge(a,i),e.setEdge(t.v,t.w,{}),H(e),X(e,n),$e(e,n)}s(be,"exchangeEdges");function $e(e,n){var r=de(e.nodes(),function(a){return!n.node(a).parent}),t=Qe(e,r);t=t.slice(1),c(t,function(a){var i=e.node(a).parent,o=n.edge(a,i),d=!1;o||(o=n.edge(i,a),d=!0),n.node(a).rank=n.node(i).rank+(d?o.minlen:-o.minlen)})}s($e,"updateRanks");function en(e,n,r){return e.hasEdge(n,r)}s(en,"isTreeEdge");function ee(e,n,r){return r.low<=n.lim&&n.lim<=r.lim}s(ee,"isDescendant");function nn(e){switch(e.graph().ranker){case"network-simplex":ne(e);break;case"tight-tree":rn(e);break;case"longest-path":hr(e);break;default:ne(e)}}s(nn,"rank");var hr=q;function rn(e){q(e),ce(e)}s(rn,"tightTreeRanker");function ne(e){k(e)}s(ne,"networkSimplexRanker");function tn(e){var n=x(e,"root",{},"_root"),r=an(e),t=E(L(r))-1,a=2*t+1;e.graph().nestingRoot=n,c(e.edges(),function(o){e.edge(o).minlen*=a});var i=on(e)+1;c(e.children(),function(o){ge(e,n,a,i,t,r,o)}),e.graph().nodeRankFactor=a}s(tn,"run");function ge(e,n,r,t,a,i,o){var d=e.children(o);if(!d.length){o!==n&&e.setEdge(n,o,{weight:0,minlen:r});return}var u=K(e,"_bt"),f=K(e,"_bb"),l=e.node(o);e.setParent(u,o),l.borderTop=u,e.setParent(f,o),l.borderBottom=f,c(d,function(h){ge(e,n,r,t,a,i,h);var v=e.node(h),p=v.borderTop?v.borderTop:h,w=v.borderBottom?v.borderBottom:h,b=v.borderTop?t:2*t,C=p!==w?1:a-i[o]+1;e.setEdge(u,p,{weight:b,minlen:C,nestingEdge:!0}),e.setEdge(w,f,{weight:b,minlen:C,nestingEdge:!0})}),e.parent(o)||e.setEdge(n,u,{weight:0,minlen:a+i[o]})}s(ge,"dfs");function an(e){var n={};function r(t,a){var i=e.children(t);i&&i.length&&c(i,function(o){r(o,a+1)}),n[t]=a}return s(r,"dfs"),c(e.children(),function(t){r(t,1)}),n}s(an,"treeDepths");function on(e){return z(e.edges(),function(n,r){return n+e.edge(r).weight},0)}s(on,"sumWeights");function dn(e){var n=e.graph();e.removeNode(n.nestingRoot),delete n.nestingRoot,c(e.edges(),function(r){var t=e.edge(r);t.nestingEdge&&e.removeEdge(r)})}s(dn,"cleanup");function sn(e,n,r){var t={},a;c(r,function(i){for(var o=e.parent(i),d,u;o;){if(d=e.parent(o),d?(u=t[d],t[d]=o):(u=a,a=o),u&&u!==o){n.setEdge(u,o);return}o=d}})}s(sn,"addSubgraphConstraints");function un(e,n,r){var t=fn(e),a=new y({compound:!0}).setGraph({root:t}).setDefaultNodeLabel(function(i){return e.node(i)});return c(e.nodes(),function(i){var o=e.node(i),d=e.parent(i);(o.rank===n||o.minRank<=n&&n<=o.maxRank)&&(a.setNode(i),a.setParent(i,d||t),c(e[r](i),function(u){var f=u.v===i?u.w:u.v,l=a.edge(f,i),h=g(l)?0:l.weight;a.setEdge(f,i,{weight:e.edge(u).weight+h})}),Object.prototype.hasOwnProperty.call(o,"minRank")&&a.setNode(i,{borderLeft:o.borderLeft[n],borderRight:o.borderRight[n]}))}),a}s(un,"buildLayerGraph");function fn(e){for(var n;e.hasNode(n=ie("_root")););return n}s(fn,"createRootNode");function cn(e,n){for(var r=0,t=1;t<n.length;++t)r+=ln(e,n[t-1],n[t]);return r}s(cn,"crossCount");function ln(e,n,r){for(var t=ir(r,m(r,function(f,l){return l})),a=I(m(n,function(f){return T(m(e.outEdges(f),function(l){return{pos:t[l.w],weight:e.edge(l).weight}}),"pos")})),i=1;i<r.length;)i<<=1;var o=2*i-1;i-=1;var d=m(new Array(o),function(){return 0}),u=0;return c(a.forEach(function(f){var l=f.pos+i;d[l]+=f.weight;for(var h=0;l>0;)l%2&&(h+=d[l+1]),l=l-1>>1,d[l]+=f.weight;u+=f.weight*h})),u}s(ln,"twoLayerCrossCount");function hn(e){var n={},r=S(e.nodes(),function(d){return!e.children(d).length}),t=E(m(r,function(d){return e.node(d).rank})),a=m(N(t+1),function(){return[]});function i(d){if(!Oe(n,d)){n[d]=!0;var u=e.node(d);a[u.rank].push(d),c(e.successors(d),i)}}s(i,"dfs");var o=T(r,function(d){return e.node(d).rank});return c(o,i),a}s(hn,"initOrder");function vn(e,n){return m(n,function(r){var t=e.inEdges(r);if(t.length){var a=z(t,function(i,o){var d=e.edge(o),u=e.node(o.v);return{sum:i.sum+d.weight*u.order,weight:i.weight+d.weight}},{sum:0,weight:0});return{v:r,barycenter:a.sum/a.weight,weight:a.weight}}else return{v:r}})}s(vn,"barycenter");function pn(e,n){var r={};c(e,function(a,i){var o=r[a.v]={indegree:0,in:[],out:[],vs:[a.v],i};g(a.barycenter)||(o.barycenter=a.barycenter,o.weight=a.weight)}),c(n.edges(),function(a){var i=r[a.v],o=r[a.w];!g(i)&&!g(o)&&(o.indegree++,i.out.push(r[a.w]))});var t=S(r,function(a){return!a.indegree});return wn(t)}s(pn,"resolveConflicts");function wn(e){var n=[];function r(i){return function(o){o.merged||(g(o.barycenter)||g(i.barycenter)||o.barycenter>=i.barycenter)&&mn(i,o)}}s(r,"handleIn");function t(i){return function(o){o.in.push(i),--o.indegree===0&&e.push(o)}}for(s(t,"handleOut");e.length;){var a=e.pop();n.push(a),c(a.in.reverse(),r(a)),c(a.out,t(a))}return m(S(n,function(i){return!i.merged}),function(i){return G(i,["vs","i","barycenter","weight"])})}s(wn,"doResolveConflicts");function mn(e,n){var r=0,t=0;e.weight&&(r+=e.barycenter*e.weight,t+=e.weight),n.weight&&(r+=n.barycenter*n.weight,t+=n.weight),e.vs=n.vs.concat(e.vs),e.barycenter=r/t,e.weight=t,e.i=Math.min(n.i,e.i),n.merged=!0}s(mn,"mergeEntries");function bn(e,n){var r=Ce(e,function(l){return Object.prototype.hasOwnProperty.call(l,"barycenter")}),t=r.lhs,a=T(r.rhs,function(l){return-l.i}),i=[],o=0,d=0,u=0;t.sort(gn(!!n)),u=re(i,a,u),c(t,function(l){u+=l.vs.length,i.push(l.vs),o+=l.barycenter*l.weight,d+=l.weight,u=re(i,a,u)});var f={vs:I(i)};return d&&(f.barycenter=o/d,f.weight=d),f}s(bn,"sort");function re(e,n,r){for(var t;n.length&&(t=Y(n)).i<=r;)n.pop(),e.push(t.vs),r++;return r}s(re,"consumeUnsortable");function gn(e){return function(n,r){return n.barycenter<r.barycenter?-1:n.barycenter>r.barycenter?1:e?r.i-n.i:n.i-r.i}}s(gn,"compareWithBias");function ye(e,n,r,t){var a=e.children(n),i=e.node(n),o=i?i.borderLeft:void 0,d=i?i.borderRight:void 0,u={};o&&(a=S(a,function(w){return w!==o&&w!==d}));var f=vn(e,a);c(f,function(w){if(e.children(w.v).length){var b=ye(e,w.v,r,t);u[w.v]=b,Object.prototype.hasOwnProperty.call(b,"barycenter")&&kn(w,b)}});var l=pn(f,r);yn(l,u);var h=bn(l,t);if(o&&(h.vs=I([o,h.vs,d]),e.predecessors(o).length)){var v=e.node(e.predecessors(o)[0]),p=e.node(e.predecessors(d)[0]);Object.prototype.hasOwnProperty.call(h,"barycenter")||(h.barycenter=0,h.weight=0),h.barycenter=(h.barycenter*h.weight+v.order+p.order)/(h.weight+2),h.weight+=2}return h}s(ye,"sortSubgraph");function yn(e,n){c(e,function(r){r.vs=I(r.vs.map(function(t){return n[t]?n[t].vs:t}))})}s(yn,"expandSubgraphs");function kn(e,n){g(e.barycenter)?(e.barycenter=n.barycenter,e.weight=n.weight):(e.barycenter=(e.barycenter*e.weight+n.barycenter*n.weight)/(e.weight+n.weight),e.weight+=n.weight)}s(kn,"mergeBarycenters");function En(e){var n=ue(e),r=te(e,N(1,n+1),"inEdges"),t=te(e,N(n-1,-1,-1),"outEdges"),a=hn(e);ae(e,a);for(var i=Number.POSITIVE_INFINITY,o,d=0,u=0;u<4;++d,++u){xn(d%2?r:t,d%4>=2),a=j(e);var f=cn(e,a);f<i&&(u=0,o=or(a),i=f)}ae(e,o)}s(En,"order");function te(e,n,r){return m(n,function(t){return un(e,t,r)})}s(te,"buildLayerGraphs");function xn(e,n){var r=new y;c(e,function(t){var a=t.graph().root,i=ye(t,a,r,n);c(i.vs,function(o,d){t.node(o).order=d}),sn(t,r,i.vs)})}s(xn,"sweepLayerGraphs");function ae(e,n){c(n,function(r){c(r,function(t,a){e.node(t).order=a})})}s(ae,"assignOrder");function On(e){var n=Ln(e);c(e.graph().dummyChains,function(r){for(var t=e.node(r),a=t.edgeObj,i=Nn(e,n,a.v,a.w),o=i.path,d=i.lca,u=0,f=o[u],l=!0;r!==a.w;){if(t=e.node(r),l){for(;(f=o[u])!==d&&e.node(f).maxRank<t.rank;)u++;f===d&&(l=!1)}if(!l){for(;u<o.length-1&&e.node(f=o[u+1]).minRank<=t.rank;)u++;f=o[u]}e.setParent(r,f),r=e.successors(r)[0]}})}s(On,"parentDummyChains");function Nn(e,n,r,t){var a=[],i=[],o=Math.min(n[r].low,n[t].low),d=Math.max(n[r].lim,n[t].lim),u,f;u=r;do u=e.parent(u),a.push(u);while(u&&(n[u].low>o||d>n[u].lim));for(f=u,u=t;(u=e.parent(u))!==f;)i.push(u);return{path:a.concat(i.reverse()),lca:f}}s(Nn,"findPath");function Ln(e){var n={},r=0;function t(a){var i=r;c(e.children(a),t),n[a]={low:i,lim:r++}}return s(t,"dfs"),c(e.children(),t),n}s(Ln,"postorder");function _n(e,n){var r={};function t(a,i){var o=0,d=0,u=a.length,f=Y(i);return c(i,function(l,h){var v=Pn(e,l),p=v?e.node(v).order:u;(v||l===f)&&(c(i.slice(d,h+1),function(w){c(e.predecessors(w),function(b){var C=e.node(b),Ee=C.order;(Ee<o||p<Ee)&&!(C.dummy&&e.node(w).dummy)&&ke(r,b,w)})}),d=h+1,o=p)}),i}return s(t,"visitLayer"),z(n,t),r}s(_n,"findType1Conflicts");function Cn(e,n){var r={};function t(i,o,d,u,f){var l;c(N(o,d),function(h){l=i[h],e.node(l).dummy&&c(e.predecessors(l),function(v){var p=e.node(v);p.dummy&&(p.order<u||p.order>f)&&ke(r,v,l)})})}s(t,"scan");function a(i,o){var d=-1,u,f=0;return c(o,function(l,h){if(e.node(l).dummy==="border"){var v=e.predecessors(l);v.length&&(u=e.node(v[0]).order,t(o,f,h,d,u),f=h,d=u)}t(o,f,o.length,u,i.length)}),o}return s(a,"visitLayer"),z(n,a),r}s(Cn,"findType2Conflicts");function Pn(e,n){if(e.node(n).dummy)return de(e.predecessors(n),function(r){return e.node(r).dummy})}s(Pn,"findOtherInnerSegmentNode");function ke(e,n,r){if(n>r){var t=n;n=r,r=t}Object.prototype.hasOwnProperty.call(e,n)||Object.defineProperty(e,n,{enumerable:!0,configurable:!0,value:{},writable:!0});var a=e[n];Object.defineProperty(a,r,{enumerable:!0,configurable:!0,value:!0,writable:!0})}s(ke,"addConflict");function Rn(e,n,r){if(n>r){var t=n;n=r,r=t}return!!e[n]&&Object.prototype.hasOwnProperty.call(e[n],r)}s(Rn,"hasConflict");function In(e,n,r,t){var a={},i={},o={};return c(n,function(d){c(d,function(u,f){a[u]=u,i[u]=u,o[u]=f})}),c(n,function(d){var u=-1;c(d,function(f){var l=t(f);if(l.length){l=T(l,function(b){return o[b]});for(var h=(l.length-1)/2,v=Math.floor(h),p=Math.ceil(h);v<=p;++v){var w=l[v];i[f]===f&&u<o[w]&&!Rn(r,f,w)&&(i[w]=f,i[f]=a[f]=a[w],u=o[w])}}})}),{root:a,align:i}}s(In,"verticalAlignment");function Sn(e,n,r,t,a){var i={},o=Tn(e,n,r,a),d=a?"borderLeft":"borderRight";function u(h,v){for(var p=o.nodes(),w=p.pop(),b={};w;)b[w]?h(w):(b[w]=!0,p.push(w),p=p.concat(v(w))),w=p.pop()}s(u,"iterate");function f(h){i[h]=o.inEdges(h).reduce(function(v,p){return Math.max(v,i[p.v]+o.edge(p))},0)}s(f,"pass1");function l(h){var v=o.outEdges(h).reduce(function(w,b){return Math.min(w,i[b.w]-o.edge(b))},Number.POSITIVE_INFINITY),p=e.node(h);v!==Number.POSITIVE_INFINITY&&p.borderType!==d&&(i[h]=Math.max(i[h],v))}return s(l,"pass2"),u(f,o.predecessors.bind(o)),u(l,o.successors.bind(o)),c(t,function(h){i[h]=i[r[h]]}),i}s(Sn,"horizontalCompaction");function Tn(e,n,r,t){var a=new y,i=e.graph(),o=Vn(i.nodesep,i.edgesep,t);return c(n,function(d){var u;c(d,function(f){var l=r[f];if(a.setNode(l),u){var h=r[u],v=a.edge(h,l);a.setEdge(h,l,Math.max(o(e,f,u),v||0))}u=f})}),a}s(Tn,"buildBlockGraph");function jn(e,n){return oe(L(n),function(r){var t=Number.NEGATIVE_INFINITY,a=Number.POSITIVE_INFINITY;return dr(r,function(i,o){var d=An(e,o)/2;t=Math.max(i+d,t),a=Math.min(i-d,a)}),t-a})}s(jn,"findSmallestWidthAlignment");function Mn(e,n){var r=L(n),t=P(r),a=E(r);c(["u","d"],function(i){c(["l","r"],function(o){var d=i+o,u=e[d],f;if(u!==n){var l=L(u);f=o==="l"?t-P(l):a-E(l),f&&(e[d]=W(u,function(h){return h+f}))}})})}s(Mn,"alignCoordinates");function Fn(e,n){return W(e.ul,function(r,t){if(n)return e[n.toLowerCase()][t];var a=T(m(e,t));return(a[1]+a[2])/2})}s(Fn,"balance");function Bn(e){var n=j(e),r=U(_n(e,n),Cn(e,n)),t={},a;c(["u","d"],function(o){a=o==="u"?n:L(n).reverse(),c(["l","r"],function(d){d==="r"&&(a=m(a,function(h){return L(h).reverse()}));var u=(o==="u"?e.predecessors:e.successors).bind(e),f=In(e,a,r,u),l=Sn(e,a,f.root,f.align,d==="r");d==="r"&&(l=W(l,function(h){return-h})),t[o+d]=l})});var i=jn(e,t);return Mn(t,i),Fn(t,e.graph().align)}s(Bn,"positionX");function Vn(e,n,r){return function(t,a,i){var o=t.node(a),d=t.node(i),u=0,f;if(u+=o.width/2,Object.prototype.hasOwnProperty.call(o,"labelpos"))switch(o.labelpos.toLowerCase()){case"l":f=-o.width/2;break;case"r":f=o.width/2;break}if(f&&(u+=r?f:-f),f=0,u+=(o.dummy?n:e)/2,u+=(d.dummy?n:e)/2,u+=d.width/2,Object.prototype.hasOwnProperty.call(d,"labelpos"))switch(d.labelpos.toLowerCase()){case"l":f=d.width/2;break;case"r":f=-d.width/2;break}return f&&(u+=r?f:-f),f=0,u}}s(Vn,"sep");function An(e,n){return e.node(n).width}s(An,"width");function Gn(e){e=se(e),Yn(e),sr(Bn(e),function(n,r){e.node(r).x=n})}s(Gn,"position");function Yn(e){var n=j(e),r=e.graph().ranksep,t=0;c(n,function(a){var i=E(m(a,function(o){return e.node(o).height}));c(a,function(o){e.node(o).y=t+i/2}),t+=i+r})}s(Yn,"positionY");function vr(e,n){var r=n&&n.debugTiming?Pe:Re;r("layout",()=>{var t=r(" buildLayoutGraph",()=>zn(e));r(" runLayout",()=>Dn(t,r)),r(" updateInputGraph",()=>Wn(e,t))})}s(vr,"layout");function Dn(e,n){n(" makeSpaceForEdgeLabels",()=>qn(e)),n(" removeSelfEdges",()=>er(e)),n(" acyclic",()=>Ge(e)),n(" nestingGraph.run",()=>tn(e)),n(" rank",()=>nn(se(e))),n(" injectEdgeLabelProxies",()=>Xn(e)),n(" removeEmptyRanks",()=>_e(e)),n(" nestingGraph.cleanup",()=>dn(e)),n(" normalizeRanks",()=>Le(e)),n(" assignRankMinMax",()=>Hn(e)),n(" removeEdgeLabelProxies",()=>Un(e)),n(" normalize.run",()=>We(e)),n(" parentDummyChains",()=>On(e)),n(" addBorderSegments",()=>Ie(e)),n(" order",()=>En(e)),n(" insertSelfEdges",()=>nr(e)),n(" adjustCoordinateSystem",()=>Se(e)),n(" position",()=>Gn(e)),n(" positionSelfEdges",()=>rr(e)),n(" removeBorderNodes",()=>$n(e)),n(" normalize.undo",()=>qe(e)),n(" fixupEdgeLabelCoords",()=>Qn(e)),n(" undoCoordinateSystem",()=>Te(e)),n(" translateGraph",()=>Jn(e)),n(" assignNodeIntersects",()=>Kn(e)),n(" reversePoints",()=>Zn(e)),n(" acyclic.undo",()=>De(e))}s(Dn,"runLayout");function Wn(e,n){c(e.nodes(),function(r){var t=e.node(r),a=n.node(r);t&&(t.x=a.x,t.y=a.y,n.children(r).length&&(t.width=a.width,t.height=a.height))}),c(e.edges(),function(r){var t=e.edge(r),a=n.edge(r);t.points=a.points,Object.prototype.hasOwnProperty.call(a,"x")&&(t.x=a.x,t.y=a.y)}),e.graph().width=n.graph().width,e.graph().height=n.graph().height}s(Wn,"updateInputGraph");var pr=["nodesep","edgesep","ranksep","marginx","marginy"],wr={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},mr=["acyclicer","ranker","rankdir","align"],br=["width","height"],gr={width:0,height:0},yr=["minlen","weight","width","height","labeloffset"],kr={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},Er=["labelpos"];function zn(e){var n=new y({multigraph:!0,compound:!0}),r=A(e.graph());return n.setGraph(U({},wr,V(r,pr),G(r,mr))),c(e.nodes(),function(t){var a=A(e.node(t));n.setNode(t,tr(V(a,br),gr)),n.setParent(t,e.parent(t))}),c(e.edges(),function(t){var a=A(e.edge(t));n.setEdge(t,U({},kr,V(a,yr),G(a,Er)))}),n}s(zn,"buildLayoutGraph");function qn(e){var n=e.graph();n.ranksep/=2,c(e.edges(),function(r){var t=e.edge(r);t.minlen*=2,t.labelpos.toLowerCase()!=="c"&&(n.rankdir==="TB"||n.rankdir==="BT"?t.width+=t.labeloffset:t.height+=t.labeloffset)})}s(qn,"makeSpaceForEdgeLabels");function Xn(e){c(e.edges(),function(n){var r=e.edge(n);if(r.width&&r.height){var t=e.node(n.v),a=e.node(n.w),i={rank:(a.rank-t.rank)/2+t.rank,e:n};x(e,"edge-proxy",i,"_ep")}})}s(Xn,"injectEdgeLabelProxies");function Hn(e){var n=0;c(e.nodes(),function(r){var t=e.node(r);t.borderTop&&(t.minRank=e.node(t.borderTop).rank,t.maxRank=e.node(t.borderBottom).rank,n=E(n,t.maxRank))}),e.graph().maxRank=n}s(Hn,"assignRankMinMax");function Un(e){c(e.nodes(),function(n){var r=e.node(n);r.dummy==="edge-proxy"&&(e.edge(r.e).labelRank=r.rank,e.removeNode(n))})}s(Un,"removeEdgeLabelProxies");function Jn(e){var n=Number.POSITIVE_INFINITY,r=0,t=Number.POSITIVE_INFINITY,a=0,i=e.graph(),o=i.marginx||0,d=i.marginy||0;function u(f){var l=f.x,h=f.y,v=f.width,p=f.height;n=Math.min(n,l-v/2),r=Math.max(r,l+v/2),t=Math.min(t,h-p/2),a=Math.max(a,h+p/2)}s(u,"getExtremes"),c(e.nodes(),function(f){u(e.node(f))}),c(e.edges(),function(f){var l=e.edge(f);Object.prototype.hasOwnProperty.call(l,"x")&&u(l)}),n-=o,t-=d,c(e.nodes(),function(f){var l=e.node(f);l.x-=n,l.y-=t}),c(e.edges(),function(f){var l=e.edge(f);c(l.points,function(h){h.x-=n,h.y-=t}),Object.prototype.hasOwnProperty.call(l,"x")&&(l.x-=n),Object.prototype.hasOwnProperty.call(l,"y")&&(l.y-=t)}),i.width=r-n+o,i.height=a-t+d}s(Jn,"translateGraph");function Kn(e){c(e.edges(),function(n){var r=e.edge(n),t=e.node(n.v),a=e.node(n.w),i,o;r.points?(i=r.points[0],o=r.points[r.points.length-1]):(r.points=[],i=a,o=t),r.points.unshift(J(t,i)),r.points.push(J(a,o))})}s(Kn,"assignNodeIntersects");function Qn(e){c(e.edges(),function(n){var r=e.edge(n);if(Object.prototype.hasOwnProperty.call(r,"x"))switch((r.labelpos==="l"||r.labelpos==="r")&&(r.width-=r.labeloffset),r.labelpos){case"l":r.x-=r.width/2+r.labeloffset;break;case"r":r.x+=r.width/2+r.labeloffset;break}})}s(Qn,"fixupEdgeLabelCoords");function Zn(e){c(e.edges(),function(n){var r=e.edge(n);r.reversed&&r.points.reverse()})}s(Zn,"reversePointsForReversedEdges");function $n(e){c(e.nodes(),function(n){if(e.children(n).length){var r=e.node(n),t=e.node(r.borderTop),a=e.node(r.borderBottom),i=e.node(Y(r.borderLeft)),o=e.node(Y(r.borderRight));r.width=Math.abs(o.x-i.x),r.height=Math.abs(a.y-t.y),r.x=i.x+r.width/2,r.y=t.y+r.height/2}}),c(e.nodes(),function(n){e.node(n).dummy==="border"&&e.removeNode(n)})}s($n,"removeBorderNodes");function er(e){c(e.edges(),function(n){if(n.v===n.w){var r=e.node(n.v);r.selfEdges||(r.selfEdges=[]),r.selfEdges.push({e:n,label:e.edge(n)}),e.removeEdge(n)}})}s(er,"removeSelfEdges");function nr(e){var n=j(e);c(n,function(r){var t=0;c(r,function(a,i){var o=e.node(a);o.order=i+t,c(o.selfEdges,function(d){x(e,"selfedge",{width:d.label.width,height:d.label.height,rank:o.rank,order:i+ ++t,e:d.e,label:d.label},"_se")}),delete o.selfEdges})})}s(nr,"insertSelfEdges");function rr(e){c(e.nodes(),function(n){var r=e.node(n);if(r.dummy==="selfedge"){var t=e.node(r.e.v),a=t.x+t.width/2,i=t.y,o=r.x-a,d=t.height/2;e.setEdge(r.e,r.label),e.removeNode(n),r.label.points=[{x:a+2*o/3,y:i-d},{x:a+5*o/6,y:i-d},{x:a+o,y:i},{x:a+5*o/6,y:i+d},{x:a+2*o/3,y:i+d}],r.label.x=r.x,r.label.y=r.y}})}s(rr,"positionSelfEdges");function V(e,n){return W(G(e,n),Number)}s(V,"selectNumberAttrs");function A(e){var n={};return c(e,function(r,t){n[t.toLowerCase()]=r}),n}s(A,"canonicalize");export{vr as l};
@@ -1,4 +1,4 @@
1
- import{p as $}from"./CcikvcoO.js";import{p as C}from"./Buyr-7cI.js";import{a as u,j as m,aE as S,r as D,ad as w,aG as P,L as T,aI as E,O as F,K as z,aF as A,M as W,y as _,k as L}from"./BeYVLVXM.js";import{g as M}from"./DikRK37J.js";var N=_.packet,b,v=(b=class{constructor(){this.packet=[],this.setAccTitle=P,this.getAccTitle=T,this.setDiagramTitle=E,this.getDiagramTitle=F,this.getAccDescription=z,this.setAccDescription=A}getConfig(){const t=m({...N,...W().packet});return t.showBits&&(t.paddingY+=10),t}getPacket(){return this.packet}pushWord(t){t.length>0&&this.packet.push(t)}clear(){L(),this.packet=[]}},M(b,"PacketDB"),u(b,"PacketDB"),b),I=1e4,O=u((e,t)=>{$(e,t);let r=-1,s=[],n=1;const{bitsPerRow:l}=t.getConfig();for(let{start:a,end:i,bits:d,label:c}of e.blocks){if(a!==void 0&&i!==void 0&&i<a)throw new Error(`Packet block ${a} - ${i} is invalid. End must be greater than start.`);if(a??=r+1,a!==r+1)throw new Error(`Packet block ${a} - ${i??a} is not contiguous. It should start from ${r+1}.`);if(d===0)throw new Error(`Packet block ${a} is invalid. Cannot have a zero bit field.`);for(i??=a+(d??1)-1,d??=i-a+1,r=i,w.debug(`Packet block ${a} - ${r} with label ${c}`);s.length<=l+1&&t.getPacket().length<I;){const[p,o]=Y({start:a,end:i,bits:d,label:c},n,l);if(s.push(p),p.end+1===n*l&&(t.pushWord(s),s=[],n++),!o)break;({start:a,end:i,bits:d,label:c}=o)}}t.pushWord(s)},"populate"),Y=u((e,t,r)=>{if(e.start===void 0)throw new Error("start should have been set during first phase");if(e.end===void 0)throw new Error("end should have been set during first phase");if(e.start>e.end)throw new Error(`Block start ${e.start} is greater than block end ${e.end}.`);if(e.end+1<=t*r)return[e,void 0];const s=t*r-1,n=t*r;return[{start:e.start,end:s,label:e.label,bits:s-e.start},{start:n,end:e.end,label:e.label,bits:e.end-n}]},"getNextFittingBlock"),x={parser:{yy:void 0},parse:u(async e=>{const t=await C("packet",e),r=x.parser?.yy;if(!(r instanceof v))throw new Error("parser.parser?.yy was not a PacketDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");w.debug(t),O(t,r)},"parse")},j=u((e,t,r,s)=>{const n=s.db,l=n.getConfig(),{rowHeight:a,paddingY:i,bitWidth:d,bitsPerRow:c}=l,p=n.getPacket(),o=n.getDiagramTitle(),h=a+i,g=h*(p.length+1)-(o?0:a),k=d*c+2,f=S(t);f.attr("viewBox",`0 0 ${k} ${g}`),D(f,g,k,l.useMaxWidth);for(const[y,B]of p.entries())G(f,B,y,l);f.append("text").text(o).attr("x",k/2).attr("y",g-h/2).attr("dominant-baseline","middle").attr("text-anchor","middle").attr("class","packetTitle")},"draw"),G=u((e,t,r,{rowHeight:s,paddingX:n,paddingY:l,bitWidth:a,bitsPerRow:i,showBits:d})=>{const c=e.append("g"),p=r*(s+l)+l;for(const o of t){const h=o.start%i*a+1,g=(o.end-o.start+1)*a-n;if(c.append("rect").attr("x",h).attr("y",p).attr("width",g).attr("height",s).attr("class","packetBlock"),c.append("text").attr("x",h+g/2).attr("y",p+s/2).attr("class","packetLabel").attr("dominant-baseline","middle").attr("text-anchor","middle").text(o.label),!d)continue;const k=o.end===o.start,f=p-2;c.append("text").attr("x",h+(k?g/2:0)).attr("y",f).attr("class","packetByte start").attr("dominant-baseline","auto").attr("text-anchor",k?"middle":"start").text(o.start),k||c.append("text").attr("x",h+g).attr("y",f).attr("class","packetByte end").attr("dominant-baseline","auto").attr("text-anchor","end").text(o.end)}},"drawWord"),K={draw:j},H={byteFontSize:"10px",startByteColor:"black",endByteColor:"black",labelColor:"black",labelFontSize:"12px",titleColor:"black",titleFontSize:"14px",blockStrokeColor:"black",blockStrokeWidth:"1",blockFillColor:"#efefef"},R=u(({packet:e}={})=>{const t=m(H,e);return`
1
+ import{p as $}from"./FGzP6Npj.js";import{p as C}from"./CFa2g-IY.js";import{a as u,j as m,aE as S,r as D,ad as w,aG as P,L as T,aI as E,O as F,K as z,aF as A,M as W,y as _,k as L}from"./D0QGnN9N.js";import{g as M}from"./-EQ6B0ad.js";var N=_.packet,b,v=(b=class{constructor(){this.packet=[],this.setAccTitle=P,this.getAccTitle=T,this.setDiagramTitle=E,this.getDiagramTitle=F,this.getAccDescription=z,this.setAccDescription=A}getConfig(){const t=m({...N,...W().packet});return t.showBits&&(t.paddingY+=10),t}getPacket(){return this.packet}pushWord(t){t.length>0&&this.packet.push(t)}clear(){L(),this.packet=[]}},M(b,"PacketDB"),u(b,"PacketDB"),b),I=1e4,O=u((e,t)=>{$(e,t);let r=-1,s=[],n=1;const{bitsPerRow:l}=t.getConfig();for(let{start:a,end:i,bits:d,label:c}of e.blocks){if(a!==void 0&&i!==void 0&&i<a)throw new Error(`Packet block ${a} - ${i} is invalid. End must be greater than start.`);if(a??=r+1,a!==r+1)throw new Error(`Packet block ${a} - ${i??a} is not contiguous. It should start from ${r+1}.`);if(d===0)throw new Error(`Packet block ${a} is invalid. Cannot have a zero bit field.`);for(i??=a+(d??1)-1,d??=i-a+1,r=i,w.debug(`Packet block ${a} - ${r} with label ${c}`);s.length<=l+1&&t.getPacket().length<I;){const[p,o]=Y({start:a,end:i,bits:d,label:c},n,l);if(s.push(p),p.end+1===n*l&&(t.pushWord(s),s=[],n++),!o)break;({start:a,end:i,bits:d,label:c}=o)}}t.pushWord(s)},"populate"),Y=u((e,t,r)=>{if(e.start===void 0)throw new Error("start should have been set during first phase");if(e.end===void 0)throw new Error("end should have been set during first phase");if(e.start>e.end)throw new Error(`Block start ${e.start} is greater than block end ${e.end}.`);if(e.end+1<=t*r)return[e,void 0];const s=t*r-1,n=t*r;return[{start:e.start,end:s,label:e.label,bits:s-e.start},{start:n,end:e.end,label:e.label,bits:e.end-n}]},"getNextFittingBlock"),x={parser:{yy:void 0},parse:u(async e=>{const t=await C("packet",e),r=x.parser?.yy;if(!(r instanceof v))throw new Error("parser.parser?.yy was not a PacketDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");w.debug(t),O(t,r)},"parse")},j=u((e,t,r,s)=>{const n=s.db,l=n.getConfig(),{rowHeight:a,paddingY:i,bitWidth:d,bitsPerRow:c}=l,p=n.getPacket(),o=n.getDiagramTitle(),h=a+i,g=h*(p.length+1)-(o?0:a),k=d*c+2,f=S(t);f.attr("viewBox",`0 0 ${k} ${g}`),D(f,g,k,l.useMaxWidth);for(const[y,B]of p.entries())G(f,B,y,l);f.append("text").text(o).attr("x",k/2).attr("y",g-h/2).attr("dominant-baseline","middle").attr("text-anchor","middle").attr("class","packetTitle")},"draw"),G=u((e,t,r,{rowHeight:s,paddingX:n,paddingY:l,bitWidth:a,bitsPerRow:i,showBits:d})=>{const c=e.append("g"),p=r*(s+l)+l;for(const o of t){const h=o.start%i*a+1,g=(o.end-o.start+1)*a-n;if(c.append("rect").attr("x",h).attr("y",p).attr("width",g).attr("height",s).attr("class","packetBlock"),c.append("text").attr("x",h+g/2).attr("y",p+s/2).attr("class","packetLabel").attr("dominant-baseline","middle").attr("text-anchor","middle").text(o.label),!d)continue;const k=o.end===o.start,f=p-2;c.append("text").attr("x",h+(k?g/2:0)).attr("y",f).attr("class","packetByte start").attr("dominant-baseline","auto").attr("text-anchor",k?"middle":"start").text(o.start),k||c.append("text").attr("x",h+g).attr("y",f).attr("class","packetByte end").attr("dominant-baseline","auto").attr("text-anchor","end").text(o.end)}},"drawWord"),K={draw:j},H={byteFontSize:"10px",startByteColor:"black",endByteColor:"black",labelColor:"black",labelFontSize:"12px",titleColor:"black",titleFontSize:"14px",blockStrokeColor:"black",blockStrokeWidth:"1",blockFillColor:"#efefef"},R=u(({packet:e}={})=>{const t=m(H,e);return`
2
2
  .packetByte {
3
3
  font-size: ${t.byteFontSize};
4
4
  }
@@ -1,4 +1,4 @@
1
- import{c9 as xt,aP as _t,c6 as vt,aK as bt,c7 as St,aL as wt,f as y,aO as lt,aw as Lt,c3 as X,cd as Et,a0 as At,a4 as Tt}from"./DikRK37J.js";import{o as Mt}from"./CmKTTxBW.js";import{d as Nt}from"./CvOaoHrI.js";function ct(t,i){let s;if(i===void 0)for(const l of t)l!=null&&(s<l||s===void 0&&l>=l)&&(s=l);else{let l=-1;for(let u of t)(u=i(u,++l,t))!=null&&(s<u||s===void 0&&u>=u)&&(s=u)}return s}function pt(t,i){let s;if(i===void 0)for(const l of t)l!=null&&(s>l||s===void 0&&l>=l)&&(s=l);else{let l=-1;for(let u of t)(u=i(u,++l,t))!=null&&(s>u||s===void 0&&u>=u)&&(s=u)}return s}function nt(t,i){let s=0;if(i===void 0)for(let l of t)(l=+l)&&(s+=l);else{let l=-1;for(let u of t)(u=+i(u,++l,t))&&(s+=u)}return s}function Pt(t){return t.target.depth}function Ct(t){return t.depth}function It(t,i){return i-1-t.height}function kt(t,i){return t.sourceLinks.length?t.depth:i-1}function Ot(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?pt(t.sourceLinks,Pt)-1:0}function q(t){return function(){return t}}function ut(t,i){return K(t.source,i.source)||t.index-i.index}function ht(t,i){return K(t.target,i.target)||t.index-i.index}function K(t,i){return t.y0-i.y0}function it(t){return t.value}function $t(t){return t.index}function Dt(t){return t.nodes}function jt(t){return t.links}function ft(t,i){const s=t.get(i);if(!s)throw new Error("missing: "+i);return s}function yt({nodes:t}){for(const i of t){let s=i.y0,l=s;for(const u of i.sourceLinks)u.y0=s+u.width/2,s+=u.width;for(const u of i.targetLinks)u.y1=l+u.width/2,l+=u.width}}function zt(){let t=0,i=0,s=1,l=1,u=24,x=8,g,k=$t,o=kt,a,h,m=Dt,_=jt,d=6;function v(){const n={nodes:m.apply(null,arguments),links:_.apply(null,arguments)};return T(n),A(n),M(n),I(n),S(n),yt(n),n}v.update=function(n){return yt(n),n},v.nodeId=function(n){return arguments.length?(k=typeof n=="function"?n:q(n),v):k},v.nodeAlign=function(n){return arguments.length?(o=typeof n=="function"?n:q(n),v):o},v.nodeSort=function(n){return arguments.length?(a=n,v):a},v.nodeWidth=function(n){return arguments.length?(u=+n,v):u},v.nodePadding=function(n){return arguments.length?(x=g=+n,v):x},v.nodes=function(n){return arguments.length?(m=typeof n=="function"?n:q(n),v):m},v.links=function(n){return arguments.length?(_=typeof n=="function"?n:q(n),v):_},v.linkSort=function(n){return arguments.length?(h=n,v):h},v.size=function(n){return arguments.length?(t=i=0,s=+n[0],l=+n[1],v):[s-t,l-i]},v.extent=function(n){return arguments.length?(t=+n[0][0],s=+n[1][0],i=+n[0][1],l=+n[1][1],v):[[t,i],[s,l]]},v.iterations=function(n){return arguments.length?(d=+n,v):d};function T({nodes:n,links:f}){for(const[e,r]of n.entries())r.index=e,r.sourceLinks=[],r.targetLinks=[];const c=new Map(n.map((e,r)=>[k(e,r,n),e]));for(const[e,r]of f.entries()){r.index=e;let{source:p,target:b}=r;typeof p!="object"&&(p=r.source=ft(c,p)),typeof b!="object"&&(b=r.target=ft(c,b)),p.sourceLinks.push(r),b.targetLinks.push(r)}if(h!=null)for(const{sourceLinks:e,targetLinks:r}of n)e.sort(h),r.sort(h)}function A({nodes:n}){for(const f of n)f.value=f.fixedValue===void 0?Math.max(nt(f.sourceLinks,it),nt(f.targetLinks,it)):f.fixedValue}function M({nodes:n}){const f=n.length;let c=new Set(n),e=new Set,r=0;for(;c.size;){for(const p of c){p.depth=r;for(const{target:b}of p.sourceLinks)e.add(b)}if(++r>f)throw new Error("circular link");c=e,e=new Set}}function I({nodes:n}){const f=n.length;let c=new Set(n),e=new Set,r=0;for(;c.size;){for(const p of c){p.height=r;for(const{source:b}of p.targetLinks)e.add(b)}if(++r>f)throw new Error("circular link");c=e,e=new Set}}function N({nodes:n}){const f=ct(n,r=>r.depth)+1,c=(s-t-u)/(f-1),e=new Array(f);for(const r of n){const p=Math.max(0,Math.min(f-1,Math.floor(o.call(null,r,f))));r.layer=p,r.x0=t+p*c,r.x1=r.x0+u,e[p]?e[p].push(r):e[p]=[r]}if(a)for(const r of e)r.sort(a);return e}function D(n){const f=pt(n,c=>(l-i-(c.length-1)*g)/nt(c,it));for(const c of n){let e=i;for(const r of c){r.y0=e,r.y1=e+r.value*f,e=r.y1+g;for(const p of r.sourceLinks)p.width=p.value*f}e=(l-e+g)/(c.length+1);for(let r=0;r<c.length;++r){const p=c[r];p.y0+=e*(r+1),p.y1+=e*(r+1)}w(c)}}function S(n){const f=N(n);g=Math.min(x,(l-i)/(ct(f,c=>c.length)-1)),D(f);for(let c=0;c<d;++c){const e=Math.pow(.99,c),r=Math.max(1-e,(c+1)/d);R(f,e,r),P(f,e,r)}}function P(n,f,c){for(let e=1,r=n.length;e<r;++e){const p=n[e];for(const b of p){let L=0,B=0;for(const{source:Y,value:et}of b.targetLinks){let H=et*(b.layer-Y.layer);L+=C(Y,b)*H,B+=H}if(!(B>0))continue;let U=(L/B-b.y0)*f;b.y0+=U,b.y1+=U,z(b)}a===void 0&&p.sort(K),j(p,c)}}function R(n,f,c){for(let e=n.length,r=e-2;r>=0;--r){const p=n[r];for(const b of p){let L=0,B=0;for(const{target:Y,value:et}of b.sourceLinks){let H=et*(Y.layer-b.layer);L+=E(b,Y)*H,B+=H}if(!(B>0))continue;let U=(L/B-b.y0)*f;b.y0+=U,b.y1+=U,z(b)}a===void 0&&p.sort(K),j(p,c)}}function j(n,f){const c=n.length>>1,e=n[c];O(n,e.y0-g,c-1,f),V(n,e.y1+g,c+1,f),O(n,l,n.length-1,f),V(n,i,0,f)}function V(n,f,c,e){for(;c<n.length;++c){const r=n[c],p=(f-r.y0)*e;p>1e-6&&(r.y0+=p,r.y1+=p),f=r.y1+g}}function O(n,f,c,e){for(;c>=0;--c){const r=n[c],p=(r.y1-f)*e;p>1e-6&&(r.y0-=p,r.y1-=p),f=r.y0-g}}function z({sourceLinks:n,targetLinks:f}){if(h===void 0){for(const{source:{sourceLinks:c}}of f)c.sort(ht);for(const{target:{targetLinks:c}}of n)c.sort(ut)}}function w(n){if(h===void 0)for(const{sourceLinks:f,targetLinks:c}of n)f.sort(ht),c.sort(ut)}function C(n,f){let c=n.y0-(n.sourceLinks.length-1)*g/2;for(const{target:e,width:r}of n.sourceLinks){if(e===f)break;c+=r+g}for(const{source:e,width:r}of f.targetLinks){if(e===n)break;c-=r}return c}function E(n,f){let c=f.y0-(f.targetLinks.length-1)*g/2;for(const{source:e,width:r}of f.targetLinks){if(e===n)break;c+=r+g}for(const{target:e,width:r}of n.sourceLinks){if(e===f)break;c-=r}return c}return v}var rt=Math.PI,st=2*rt,F=1e-6,Bt=st-F;function ot(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function mt(){return new ot}ot.prototype=mt.prototype={constructor:ot,moveTo:function(t,i){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+i)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,i){this._+="L"+(this._x1=+t)+","+(this._y1=+i)},quadraticCurveTo:function(t,i,s,l){this._+="Q"+ +t+","+ +i+","+(this._x1=+s)+","+(this._y1=+l)},bezierCurveTo:function(t,i,s,l,u,x){this._+="C"+ +t+","+ +i+","+ +s+","+ +l+","+(this._x1=+u)+","+(this._y1=+x)},arcTo:function(t,i,s,l,u){t=+t,i=+i,s=+s,l=+l,u=+u;var x=this._x1,g=this._y1,k=s-t,o=l-i,a=x-t,h=g-i,m=a*a+h*h;if(u<0)throw new Error("negative radius: "+u);if(this._x1===null)this._+="M"+(this._x1=t)+","+(this._y1=i);else if(m>F)if(!(Math.abs(h*k-o*a)>F)||!u)this._+="L"+(this._x1=t)+","+(this._y1=i);else{var _=s-x,d=l-g,v=k*k+o*o,T=_*_+d*d,A=Math.sqrt(v),M=Math.sqrt(m),I=u*Math.tan((rt-Math.acos((v+m-T)/(2*A*M)))/2),N=I/M,D=I/A;Math.abs(N-1)>F&&(this._+="L"+(t+N*a)+","+(i+N*h)),this._+="A"+u+","+u+",0,0,"+ +(h*_>a*d)+","+(this._x1=t+D*k)+","+(this._y1=i+D*o)}},arc:function(t,i,s,l,u,x){t=+t,i=+i,s=+s,x=!!x;var g=s*Math.cos(l),k=s*Math.sin(l),o=t+g,a=i+k,h=1^x,m=x?l-u:u-l;if(s<0)throw new Error("negative radius: "+s);this._x1===null?this._+="M"+o+","+a:(Math.abs(this._x1-o)>F||Math.abs(this._y1-a)>F)&&(this._+="L"+o+","+a),s&&(m<0&&(m=m%st+st),m>Bt?this._+="A"+s+","+s+",0,1,"+h+","+(t-g)+","+(i-k)+"A"+s+","+s+",0,1,"+h+","+(this._x1=o)+","+(this._y1=a):m>F&&(this._+="A"+s+","+s+",0,"+ +(m>=rt)+","+h+","+(this._x1=t+s*Math.cos(u))+","+(this._y1=i+s*Math.sin(u))))},rect:function(t,i,s,l){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+i)+"h"+ +s+"v"+ +l+"h"+-s+"Z"},toString:function(){return this._}};function dt(t){return function(){return t}}function Ft(t){return t[0]}function Rt(t){return t[1]}var Vt=Array.prototype.slice;function Wt(t){return t.source}function Gt(t){return t.target}function Ut(t){var i=Wt,s=Gt,l=Ft,u=Rt,x=null;function g(){var k,o=Vt.call(arguments),a=i.apply(this,o),h=s.apply(this,o);if(x||(x=k=mt()),t(x,+l.apply(this,(o[0]=a,o)),+u.apply(this,o),+l.apply(this,(o[0]=h,o)),+u.apply(this,o)),k)return x=null,k+""||null}return g.source=function(k){return arguments.length?(i=k,g):i},g.target=function(k){return arguments.length?(s=k,g):s},g.x=function(k){return arguments.length?(l=typeof k=="function"?k:dt(+k),g):l},g.y=function(k){return arguments.length?(u=typeof k=="function"?k:dt(+k),g):u},g.context=function(k){return arguments.length?(x=k??null,g):x},g}function Yt(t,i,s,l,u){t.moveTo(i,s),t.bezierCurveTo(i=(i+l)/2,s,i,u,l,u)}function Ht(){return Ut(Yt)}function Xt(t){return[t.source.x1,t.y0]}function qt(t){return[t.target.x0,t.y1]}function Kt(){return Ht().source(Xt).target(qt)}var at=(function(){var t=y(function(k,o,a,h){for(a=a||{},h=k.length;h--;a[k[h]]=o);return a},"o"),i=[1,9],s=[1,10],l=[1,5,10,12],u={trace:y(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:y(function(o,a,h,m,_,d,v){var T=d.length-1;switch(_){case 7:const A=m.findOrCreateNode(d[T-4].trim().replaceAll('""','"')),M=m.findOrCreateNode(d[T-2].trim().replaceAll('""','"')),I=parseFloat(d[T].trim());m.addLink(A,M,I);break;case 8:case 9:case 11:this.$=d[T];break;case 10:this.$=d[T-1];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:i,20:s},{1:[2,6],7:11,10:[1,12]},t(s,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(l,[2,8]),t(l,[2,9]),{19:[1,16]},t(l,[2,11]),{1:[2,1]},{1:[2,5]},t(s,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:i,20:s},{15:18,16:7,17:8,18:i,20:s},{18:[1,19]},t(s,[2,3]),{12:[1,20]},t(l,[2,10]),{15:21,16:7,17:8,18:i,20:s},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:y(function(o,a){if(a.recoverable)this.trace(o);else{var h=new Error(o);throw h.hash=a,h}},"parseError"),parse:y(function(o){var a=this,h=[0],m=[],_=[null],d=[],v=this.table,T="",A=0,M=0,I=2,N=1,D=d.slice.call(arguments,1),S=Object.create(this.lexer),P={yy:{}};for(var R in this.yy)Object.prototype.hasOwnProperty.call(this.yy,R)&&(P.yy[R]=this.yy[R]);S.setInput(o,P.yy),P.yy.lexer=S,P.yy.parser=this,typeof S.yylloc>"u"&&(S.yylloc={});var j=S.yylloc;d.push(j);var V=S.options&&S.options.ranges;typeof P.yy.parseError=="function"?this.parseError=P.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function O(L){h.length=h.length-2*L,_.length=_.length-L,d.length=d.length-L}y(O,"popStack");function z(){var L;return L=m.pop()||S.lex()||N,typeof L!="number"&&(L instanceof Array&&(m=L,L=m.pop()),L=a.symbols_[L]||L),L}y(z,"lex");for(var w,C,E,n,f={},c,e,r,p;;){if(C=h[h.length-1],this.defaultActions[C]?E=this.defaultActions[C]:((w===null||typeof w>"u")&&(w=z()),E=v[C]&&v[C][w]),typeof E>"u"||!E.length||!E[0]){var b="";p=[];for(c in v[C])this.terminals_[c]&&c>I&&p.push("'"+this.terminals_[c]+"'");S.showPosition?b="Parse error on line "+(A+1)+`:
1
+ import{c9 as xt,aP as _t,c6 as vt,aK as bt,c7 as St,aL as wt,f as y,aO as lt,aw as Lt,c3 as X,cd as Et,a0 as At,a4 as Tt}from"./-EQ6B0ad.js";import{o as Mt}from"./CmKTTxBW.js";import{d as Nt}from"./CvOaoHrI.js";function ct(t,i){let s;if(i===void 0)for(const l of t)l!=null&&(s<l||s===void 0&&l>=l)&&(s=l);else{let l=-1;for(let u of t)(u=i(u,++l,t))!=null&&(s<u||s===void 0&&u>=u)&&(s=u)}return s}function pt(t,i){let s;if(i===void 0)for(const l of t)l!=null&&(s>l||s===void 0&&l>=l)&&(s=l);else{let l=-1;for(let u of t)(u=i(u,++l,t))!=null&&(s>u||s===void 0&&u>=u)&&(s=u)}return s}function nt(t,i){let s=0;if(i===void 0)for(let l of t)(l=+l)&&(s+=l);else{let l=-1;for(let u of t)(u=+i(u,++l,t))&&(s+=u)}return s}function Pt(t){return t.target.depth}function Ct(t){return t.depth}function It(t,i){return i-1-t.height}function kt(t,i){return t.sourceLinks.length?t.depth:i-1}function Ot(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?pt(t.sourceLinks,Pt)-1:0}function q(t){return function(){return t}}function ut(t,i){return K(t.source,i.source)||t.index-i.index}function ht(t,i){return K(t.target,i.target)||t.index-i.index}function K(t,i){return t.y0-i.y0}function it(t){return t.value}function $t(t){return t.index}function Dt(t){return t.nodes}function jt(t){return t.links}function ft(t,i){const s=t.get(i);if(!s)throw new Error("missing: "+i);return s}function yt({nodes:t}){for(const i of t){let s=i.y0,l=s;for(const u of i.sourceLinks)u.y0=s+u.width/2,s+=u.width;for(const u of i.targetLinks)u.y1=l+u.width/2,l+=u.width}}function zt(){let t=0,i=0,s=1,l=1,u=24,x=8,g,k=$t,o=kt,a,h,m=Dt,_=jt,d=6;function v(){const n={nodes:m.apply(null,arguments),links:_.apply(null,arguments)};return T(n),A(n),M(n),I(n),S(n),yt(n),n}v.update=function(n){return yt(n),n},v.nodeId=function(n){return arguments.length?(k=typeof n=="function"?n:q(n),v):k},v.nodeAlign=function(n){return arguments.length?(o=typeof n=="function"?n:q(n),v):o},v.nodeSort=function(n){return arguments.length?(a=n,v):a},v.nodeWidth=function(n){return arguments.length?(u=+n,v):u},v.nodePadding=function(n){return arguments.length?(x=g=+n,v):x},v.nodes=function(n){return arguments.length?(m=typeof n=="function"?n:q(n),v):m},v.links=function(n){return arguments.length?(_=typeof n=="function"?n:q(n),v):_},v.linkSort=function(n){return arguments.length?(h=n,v):h},v.size=function(n){return arguments.length?(t=i=0,s=+n[0],l=+n[1],v):[s-t,l-i]},v.extent=function(n){return arguments.length?(t=+n[0][0],s=+n[1][0],i=+n[0][1],l=+n[1][1],v):[[t,i],[s,l]]},v.iterations=function(n){return arguments.length?(d=+n,v):d};function T({nodes:n,links:f}){for(const[e,r]of n.entries())r.index=e,r.sourceLinks=[],r.targetLinks=[];const c=new Map(n.map((e,r)=>[k(e,r,n),e]));for(const[e,r]of f.entries()){r.index=e;let{source:p,target:b}=r;typeof p!="object"&&(p=r.source=ft(c,p)),typeof b!="object"&&(b=r.target=ft(c,b)),p.sourceLinks.push(r),b.targetLinks.push(r)}if(h!=null)for(const{sourceLinks:e,targetLinks:r}of n)e.sort(h),r.sort(h)}function A({nodes:n}){for(const f of n)f.value=f.fixedValue===void 0?Math.max(nt(f.sourceLinks,it),nt(f.targetLinks,it)):f.fixedValue}function M({nodes:n}){const f=n.length;let c=new Set(n),e=new Set,r=0;for(;c.size;){for(const p of c){p.depth=r;for(const{target:b}of p.sourceLinks)e.add(b)}if(++r>f)throw new Error("circular link");c=e,e=new Set}}function I({nodes:n}){const f=n.length;let c=new Set(n),e=new Set,r=0;for(;c.size;){for(const p of c){p.height=r;for(const{source:b}of p.targetLinks)e.add(b)}if(++r>f)throw new Error("circular link");c=e,e=new Set}}function N({nodes:n}){const f=ct(n,r=>r.depth)+1,c=(s-t-u)/(f-1),e=new Array(f);for(const r of n){const p=Math.max(0,Math.min(f-1,Math.floor(o.call(null,r,f))));r.layer=p,r.x0=t+p*c,r.x1=r.x0+u,e[p]?e[p].push(r):e[p]=[r]}if(a)for(const r of e)r.sort(a);return e}function D(n){const f=pt(n,c=>(l-i-(c.length-1)*g)/nt(c,it));for(const c of n){let e=i;for(const r of c){r.y0=e,r.y1=e+r.value*f,e=r.y1+g;for(const p of r.sourceLinks)p.width=p.value*f}e=(l-e+g)/(c.length+1);for(let r=0;r<c.length;++r){const p=c[r];p.y0+=e*(r+1),p.y1+=e*(r+1)}w(c)}}function S(n){const f=N(n);g=Math.min(x,(l-i)/(ct(f,c=>c.length)-1)),D(f);for(let c=0;c<d;++c){const e=Math.pow(.99,c),r=Math.max(1-e,(c+1)/d);R(f,e,r),P(f,e,r)}}function P(n,f,c){for(let e=1,r=n.length;e<r;++e){const p=n[e];for(const b of p){let L=0,B=0;for(const{source:Y,value:et}of b.targetLinks){let H=et*(b.layer-Y.layer);L+=C(Y,b)*H,B+=H}if(!(B>0))continue;let U=(L/B-b.y0)*f;b.y0+=U,b.y1+=U,z(b)}a===void 0&&p.sort(K),j(p,c)}}function R(n,f,c){for(let e=n.length,r=e-2;r>=0;--r){const p=n[r];for(const b of p){let L=0,B=0;for(const{target:Y,value:et}of b.sourceLinks){let H=et*(Y.layer-b.layer);L+=E(b,Y)*H,B+=H}if(!(B>0))continue;let U=(L/B-b.y0)*f;b.y0+=U,b.y1+=U,z(b)}a===void 0&&p.sort(K),j(p,c)}}function j(n,f){const c=n.length>>1,e=n[c];O(n,e.y0-g,c-1,f),V(n,e.y1+g,c+1,f),O(n,l,n.length-1,f),V(n,i,0,f)}function V(n,f,c,e){for(;c<n.length;++c){const r=n[c],p=(f-r.y0)*e;p>1e-6&&(r.y0+=p,r.y1+=p),f=r.y1+g}}function O(n,f,c,e){for(;c>=0;--c){const r=n[c],p=(r.y1-f)*e;p>1e-6&&(r.y0-=p,r.y1-=p),f=r.y0-g}}function z({sourceLinks:n,targetLinks:f}){if(h===void 0){for(const{source:{sourceLinks:c}}of f)c.sort(ht);for(const{target:{targetLinks:c}}of n)c.sort(ut)}}function w(n){if(h===void 0)for(const{sourceLinks:f,targetLinks:c}of n)f.sort(ht),c.sort(ut)}function C(n,f){let c=n.y0-(n.sourceLinks.length-1)*g/2;for(const{target:e,width:r}of n.sourceLinks){if(e===f)break;c+=r+g}for(const{source:e,width:r}of f.targetLinks){if(e===n)break;c-=r}return c}function E(n,f){let c=f.y0-(f.targetLinks.length-1)*g/2;for(const{source:e,width:r}of f.targetLinks){if(e===n)break;c+=r+g}for(const{target:e,width:r}of n.sourceLinks){if(e===f)break;c-=r}return c}return v}var rt=Math.PI,st=2*rt,F=1e-6,Bt=st-F;function ot(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function mt(){return new ot}ot.prototype=mt.prototype={constructor:ot,moveTo:function(t,i){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+i)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,i){this._+="L"+(this._x1=+t)+","+(this._y1=+i)},quadraticCurveTo:function(t,i,s,l){this._+="Q"+ +t+","+ +i+","+(this._x1=+s)+","+(this._y1=+l)},bezierCurveTo:function(t,i,s,l,u,x){this._+="C"+ +t+","+ +i+","+ +s+","+ +l+","+(this._x1=+u)+","+(this._y1=+x)},arcTo:function(t,i,s,l,u){t=+t,i=+i,s=+s,l=+l,u=+u;var x=this._x1,g=this._y1,k=s-t,o=l-i,a=x-t,h=g-i,m=a*a+h*h;if(u<0)throw new Error("negative radius: "+u);if(this._x1===null)this._+="M"+(this._x1=t)+","+(this._y1=i);else if(m>F)if(!(Math.abs(h*k-o*a)>F)||!u)this._+="L"+(this._x1=t)+","+(this._y1=i);else{var _=s-x,d=l-g,v=k*k+o*o,T=_*_+d*d,A=Math.sqrt(v),M=Math.sqrt(m),I=u*Math.tan((rt-Math.acos((v+m-T)/(2*A*M)))/2),N=I/M,D=I/A;Math.abs(N-1)>F&&(this._+="L"+(t+N*a)+","+(i+N*h)),this._+="A"+u+","+u+",0,0,"+ +(h*_>a*d)+","+(this._x1=t+D*k)+","+(this._y1=i+D*o)}},arc:function(t,i,s,l,u,x){t=+t,i=+i,s=+s,x=!!x;var g=s*Math.cos(l),k=s*Math.sin(l),o=t+g,a=i+k,h=1^x,m=x?l-u:u-l;if(s<0)throw new Error("negative radius: "+s);this._x1===null?this._+="M"+o+","+a:(Math.abs(this._x1-o)>F||Math.abs(this._y1-a)>F)&&(this._+="L"+o+","+a),s&&(m<0&&(m=m%st+st),m>Bt?this._+="A"+s+","+s+",0,1,"+h+","+(t-g)+","+(i-k)+"A"+s+","+s+",0,1,"+h+","+(this._x1=o)+","+(this._y1=a):m>F&&(this._+="A"+s+","+s+",0,"+ +(m>=rt)+","+h+","+(this._x1=t+s*Math.cos(u))+","+(this._y1=i+s*Math.sin(u))))},rect:function(t,i,s,l){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+i)+"h"+ +s+"v"+ +l+"h"+-s+"Z"},toString:function(){return this._}};function dt(t){return function(){return t}}function Ft(t){return t[0]}function Rt(t){return t[1]}var Vt=Array.prototype.slice;function Wt(t){return t.source}function Gt(t){return t.target}function Ut(t){var i=Wt,s=Gt,l=Ft,u=Rt,x=null;function g(){var k,o=Vt.call(arguments),a=i.apply(this,o),h=s.apply(this,o);if(x||(x=k=mt()),t(x,+l.apply(this,(o[0]=a,o)),+u.apply(this,o),+l.apply(this,(o[0]=h,o)),+u.apply(this,o)),k)return x=null,k+""||null}return g.source=function(k){return arguments.length?(i=k,g):i},g.target=function(k){return arguments.length?(s=k,g):s},g.x=function(k){return arguments.length?(l=typeof k=="function"?k:dt(+k),g):l},g.y=function(k){return arguments.length?(u=typeof k=="function"?k:dt(+k),g):u},g.context=function(k){return arguments.length?(x=k??null,g):x},g}function Yt(t,i,s,l,u){t.moveTo(i,s),t.bezierCurveTo(i=(i+l)/2,s,i,u,l,u)}function Ht(){return Ut(Yt)}function Xt(t){return[t.source.x1,t.y0]}function qt(t){return[t.target.x0,t.y1]}function Kt(){return Ht().source(Xt).target(qt)}var at=(function(){var t=y(function(k,o,a,h){for(a=a||{},h=k.length;h--;a[k[h]]=o);return a},"o"),i=[1,9],s=[1,10],l=[1,5,10,12],u={trace:y(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:y(function(o,a,h,m,_,d,v){var T=d.length-1;switch(_){case 7:const A=m.findOrCreateNode(d[T-4].trim().replaceAll('""','"')),M=m.findOrCreateNode(d[T-2].trim().replaceAll('""','"')),I=parseFloat(d[T].trim());m.addLink(A,M,I);break;case 8:case 9:case 11:this.$=d[T];break;case 10:this.$=d[T-1];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:i,20:s},{1:[2,6],7:11,10:[1,12]},t(s,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(l,[2,8]),t(l,[2,9]),{19:[1,16]},t(l,[2,11]),{1:[2,1]},{1:[2,5]},t(s,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:i,20:s},{15:18,16:7,17:8,18:i,20:s},{18:[1,19]},t(s,[2,3]),{12:[1,20]},t(l,[2,10]),{15:21,16:7,17:8,18:i,20:s},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:y(function(o,a){if(a.recoverable)this.trace(o);else{var h=new Error(o);throw h.hash=a,h}},"parseError"),parse:y(function(o){var a=this,h=[0],m=[],_=[null],d=[],v=this.table,T="",A=0,M=0,I=2,N=1,D=d.slice.call(arguments,1),S=Object.create(this.lexer),P={yy:{}};for(var R in this.yy)Object.prototype.hasOwnProperty.call(this.yy,R)&&(P.yy[R]=this.yy[R]);S.setInput(o,P.yy),P.yy.lexer=S,P.yy.parser=this,typeof S.yylloc>"u"&&(S.yylloc={});var j=S.yylloc;d.push(j);var V=S.options&&S.options.ranges;typeof P.yy.parseError=="function"?this.parseError=P.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function O(L){h.length=h.length-2*L,_.length=_.length-L,d.length=d.length-L}y(O,"popStack");function z(){var L;return L=m.pop()||S.lex()||N,typeof L!="number"&&(L instanceof Array&&(m=L,L=m.pop()),L=a.symbols_[L]||L),L}y(z,"lex");for(var w,C,E,n,f={},c,e,r,p;;){if(C=h[h.length-1],this.defaultActions[C]?E=this.defaultActions[C]:((w===null||typeof w>"u")&&(w=z()),E=v[C]&&v[C][w]),typeof E>"u"||!E.length||!E[0]){var b="";p=[];for(c in v[C])this.terminals_[c]&&c>I&&p.push("'"+this.terminals_[c]+"'");S.showPosition?b="Parse error on line "+(A+1)+`:
2
2
  `+S.showPosition()+`
3
3
  Expecting `+p.join(", ")+", got '"+(this.terminals_[w]||w)+"'":b="Parse error on line "+(A+1)+": Unexpected "+(w==N?"end of input":"'"+(this.terminals_[w]||w)+"'"),this.parseError(b,{text:S.match,token:this.terminals_[w]||w,line:S.yylineno,loc:j,expected:p})}if(E[0]instanceof Array&&E.length>1)throw new Error("Parse Error: multiple actions possible at state: "+C+", token: "+w);switch(E[0]){case 1:h.push(w),_.push(S.yytext),d.push(S.yylloc),h.push(E[1]),w=null,M=S.yyleng,T=S.yytext,A=S.yylineno,j=S.yylloc;break;case 2:if(e=this.productions_[E[1]][1],f.$=_[_.length-e],f._$={first_line:d[d.length-(e||1)].first_line,last_line:d[d.length-1].last_line,first_column:d[d.length-(e||1)].first_column,last_column:d[d.length-1].last_column},V&&(f._$.range=[d[d.length-(e||1)].range[0],d[d.length-1].range[1]]),n=this.performAction.apply(f,[T,M,A,P.yy,E[1],_,d].concat(D)),typeof n<"u")return n;e&&(h=h.slice(0,-1*e*2),_=_.slice(0,-1*e),d=d.slice(0,-1*e)),h.push(this.productions_[E[1]][0]),_.push(f.$),d.push(f._$),r=v[h[h.length-2]][h[h.length-1]],h.push(r);break;case 3:return!0}}return!0},"parse")},x=(function(){var k={EOF:1,parseError:y(function(a,h){if(this.yy.parser)this.yy.parser.parseError(a,h);else throw new Error(a)},"parseError"),setInput:y(function(o,a){return this.yy=a||this.yy||{},this._input=o,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:y(function(){var o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var a=o.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),o},"input"),unput:y(function(o){var a=o.length,h=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var m=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),h.length-1&&(this.yylineno-=h.length-1);var _=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:h?(h.length===m.length?this.yylloc.first_column:0)+m[m.length-h.length].length-h[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[_[0],_[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},"unput"),more:y(function(){return this._more=!0,this},"more"),reject:y(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:y(function(o){this.unput(this.match.slice(o))},"less"),pastInput:y(function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:y(function(){var o=this.match;return o.length<20&&(o+=this._input.substr(0,20-o.length)),(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:y(function(){var o=this.pastInput(),a=new Array(o.length+1).join("-");return o+this.upcomingInput()+`
@@ -1,4 +1,4 @@
1
- import{I as rr}from"./PQ1Aq9aw.js";import{a as x,aH as ar,N as j,ad as st,r as sr,c as ir,p as N,aG as Ye,aF as nr,aI as or,L as cr,K as lr,O as hr,ac as dr,J as Tr,k as pr,aD as Wt,aV as Q,X as $,e as vt,aB as Er,an as Fe,Z as ur,M as Ht,V as fr,ay as He}from"./BeYVLVXM.js";import{d as _r,h as ne,g as Tt,e as gr,a as oe,b as ce}from"./CtrmC64x.js";import{c3 as Kt,g as B,h as xr}from"./DikRK37J.js";var qe=xr(Er()),ae=(function(){var e=x(function(ft,A,v,P){for(v=v||{},P=ft.length;P--;v[ft[P]]=A);return v},"o"),t=[1,2],a=[1,3],r=[1,4],i=[2,4],n=[1,9],s=[1,11],c=[1,12],p=[1,14],h=[1,15],E=[1,17],_=[1,18],u=[1,19],O=[1,25],T=[1,26],g=[1,27],f=[1,28],I=[1,29],L=[1,30],b=[1,31],w=[1,32],S=[1,33],D=[1,34],M=[1,35],Y=[1,36],K=[1,37],G=[1,38],X=[1,39],J=[1,40],ot=[1,42],tt=[1,43],z=[1,44],it=[1,45],et=[1,46],W=[1,47],C=[1,4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,48,49,50,51,53,54,56,61,62,63,64,73],wt=[1,74],Ct=[1,80],m=[1,81],k=[1,82],dt=[1,83],rt=[1,84],F=[1,85],bt=[1,86],pe=[1,87],Ee=[1,88],ue=[1,89],fe=[1,90],_e=[1,91],ge=[1,92],xe=[1,93],Ie=[1,94],ye=[1,95],Re=[1,96],Oe=[1,97],Le=[1,98],be=[1,99],me=[1,100],Se=[1,101],Ae=[1,102],we=[1,103],Ne=[1,104],Pe=[1,105],ke=[2,78],Nt=[4,5,17,51,53,54],Mt=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,51,53,54,56,61,62,63,64,73],De=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,50,51,53,54,56,61,62,63,64,73],Xt=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,49,51,53,54,56,61,62,63,64,73],ve=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,48,51,53,54,56,61,62,63,64,73],Jt=[5,52],H=[70,71,72,73],ct=[1,151],Zt={trace:x(B(function(){},"trace"),"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,INVALID:10,box_section:11,box_line:12,participant_statement:13,create:14,box:15,restOfLine:16,end:17,signal:18,autonumber:19,NUM:20,off:21,activate:22,actor:23,deactivate:24,note_statement:25,links_statement:26,link_statement:27,properties_statement:28,details_statement:29,title:30,legacy_title:31,acc_title:32,acc_title_value:33,acc_descr:34,acc_descr_value:35,acc_descr_multiline_value:36,loop:37,rect:38,opt:39,alt:40,else_sections:41,par:42,par_sections:43,par_over:44,critical:45,option_sections:46,break:47,option:48,and:49,else:50,participant:51,AS:52,participant_actor:53,destroy:54,actor_with_config:55,note:56,placement:57,text2:58,over:59,actor_pair:60,links:61,link:62,properties:63,details:64,spaceList:65,",":66,left_of:67,right_of:68,signaltype:69,"+":70,"-":71,"()":72,ACTOR:73,config_object:74,CONFIG_START:75,CONFIG_CONTENT:76,CONFIG_END:77,SOLID_OPEN_ARROW:78,DOTTED_OPEN_ARROW:79,SOLID_ARROW:80,SOLID_ARROW_TOP:81,SOLID_ARROW_BOTTOM:82,STICK_ARROW_TOP:83,STICK_ARROW_BOTTOM:84,SOLID_ARROW_TOP_DOTTED:85,SOLID_ARROW_BOTTOM_DOTTED:86,STICK_ARROW_TOP_DOTTED:87,STICK_ARROW_BOTTOM_DOTTED:88,SOLID_ARROW_TOP_REVERSE:89,SOLID_ARROW_BOTTOM_REVERSE:90,STICK_ARROW_TOP_REVERSE:91,STICK_ARROW_BOTTOM_REVERSE:92,SOLID_ARROW_TOP_REVERSE_DOTTED:93,SOLID_ARROW_BOTTOM_REVERSE_DOTTED:94,STICK_ARROW_TOP_REVERSE_DOTTED:95,STICK_ARROW_BOTTOM_REVERSE_DOTTED:96,BIDIRECTIONAL_SOLID_ARROW:97,DOTTED_ARROW:98,BIDIRECTIONAL_DOTTED_ARROW:99,SOLID_CROSS:100,DOTTED_CROSS:101,SOLID_POINT:102,DOTTED_POINT:103,TXT:104,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",10:"INVALID",14:"create",15:"box",16:"restOfLine",17:"end",19:"autonumber",20:"NUM",21:"off",22:"activate",24:"deactivate",30:"title",31:"legacy_title",32:"acc_title",33:"acc_title_value",34:"acc_descr",35:"acc_descr_value",36:"acc_descr_multiline_value",37:"loop",38:"rect",39:"opt",40:"alt",42:"par",44:"par_over",45:"critical",47:"break",48:"option",49:"and",50:"else",51:"participant",52:"AS",53:"participant_actor",54:"destroy",56:"note",59:"over",61:"links",62:"link",63:"properties",64:"details",66:",",67:"left_of",68:"right_of",70:"+",71:"-",72:"()",73:"ACTOR",75:"CONFIG_START",76:"CONFIG_CONTENT",77:"CONFIG_END",78:"SOLID_OPEN_ARROW",79:"DOTTED_OPEN_ARROW",80:"SOLID_ARROW",81:"SOLID_ARROW_TOP",82:"SOLID_ARROW_BOTTOM",83:"STICK_ARROW_TOP",84:"STICK_ARROW_BOTTOM",85:"SOLID_ARROW_TOP_DOTTED",86:"SOLID_ARROW_BOTTOM_DOTTED",87:"STICK_ARROW_TOP_DOTTED",88:"STICK_ARROW_BOTTOM_DOTTED",89:"SOLID_ARROW_TOP_REVERSE",90:"SOLID_ARROW_BOTTOM_REVERSE",91:"STICK_ARROW_TOP_REVERSE",92:"STICK_ARROW_BOTTOM_REVERSE",93:"SOLID_ARROW_TOP_REVERSE_DOTTED",94:"SOLID_ARROW_BOTTOM_REVERSE_DOTTED",95:"STICK_ARROW_TOP_REVERSE_DOTTED",96:"STICK_ARROW_BOTTOM_REVERSE_DOTTED",97:"BIDIRECTIONAL_SOLID_ARROW",98:"DOTTED_ARROW",99:"BIDIRECTIONAL_DOTTED_ARROW",100:"SOLID_CROSS",101:"DOTTED_CROSS",102:"SOLID_POINT",103:"DOTTED_POINT",104:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[8,1],[11,0],[11,2],[12,2],[12,1],[12,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[46,1],[46,4],[43,1],[43,4],[41,1],[41,4],[13,5],[13,3],[13,5],[13,3],[13,3],[13,5],[13,3],[13,5],[13,3],[25,4],[25,4],[26,3],[27,3],[28,3],[29,3],[65,2],[65,1],[60,3],[60,1],[57,1],[57,1],[18,5],[18,5],[18,5],[18,5],[18,6],[18,4],[55,2],[74,3],[23,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[58,1]],performAction:x(B(function(A,v,P,y,U,o,kt){var d=o.length-1;switch(U){case 3:return y.apply(o[d]),o[d];case 4:case 10:this.$=[];break;case 5:case 11:o[d-1].push(o[d]),this.$=o[d-1];break;case 6:case 7:case 12:case 13:this.$=o[d];break;case 8:case 9:case 14:this.$=[];break;case 16:o[d].type="createParticipant",this.$=o[d];break;case 17:o[d-1].unshift({type:"boxStart",boxData:y.parseBoxData(o[d-2])}),o[d-1].push({type:"boxEnd",boxText:o[d-2]}),this.$=o[d-1];break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(o[d-2]),sequenceIndexStep:Number(o[d-1]),sequenceVisible:!0,signalType:y.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceIndex:Number(o[d-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:y.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:y.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:y.LINETYPE.AUTONUMBER};break;case 23:this.$={type:"activeStart",signalType:y.LINETYPE.ACTIVE_START,actor:o[d-1].actor};break;case 24:this.$={type:"activeEnd",signalType:y.LINETYPE.ACTIVE_END,actor:o[d-1].actor};break;case 30:y.setDiagramTitle(o[d].substring(6)),this.$=o[d].substring(6);break;case 31:y.setDiagramTitle(o[d].substring(7)),this.$=o[d].substring(7);break;case 32:this.$=o[d].trim(),y.setAccTitle(this.$);break;case 33:case 34:this.$=o[d].trim(),y.setAccDescription(this.$);break;case 35:o[d-1].unshift({type:"loopStart",loopText:y.parseMessage(o[d-2]),signalType:y.LINETYPE.LOOP_START}),o[d-1].push({type:"loopEnd",loopText:o[d-2],signalType:y.LINETYPE.LOOP_END}),this.$=o[d-1];break;case 36:o[d-1].unshift({type:"rectStart",color:y.parseMessage(o[d-2]),signalType:y.LINETYPE.RECT_START}),o[d-1].push({type:"rectEnd",color:y.parseMessage(o[d-2]),signalType:y.LINETYPE.RECT_END}),this.$=o[d-1];break;case 37:o[d-1].unshift({type:"optStart",optText:y.parseMessage(o[d-2]),signalType:y.LINETYPE.OPT_START}),o[d-1].push({type:"optEnd",optText:y.parseMessage(o[d-2]),signalType:y.LINETYPE.OPT_END}),this.$=o[d-1];break;case 38:o[d-1].unshift({type:"altStart",altText:y.parseMessage(o[d-2]),signalType:y.LINETYPE.ALT_START}),o[d-1].push({type:"altEnd",signalType:y.LINETYPE.ALT_END}),this.$=o[d-1];break;case 39:o[d-1].unshift({type:"parStart",parText:y.parseMessage(o[d-2]),signalType:y.LINETYPE.PAR_START}),o[d-1].push({type:"parEnd",signalType:y.LINETYPE.PAR_END}),this.$=o[d-1];break;case 40:o[d-1].unshift({type:"parStart",parText:y.parseMessage(o[d-2]),signalType:y.LINETYPE.PAR_OVER_START}),o[d-1].push({type:"parEnd",signalType:y.LINETYPE.PAR_END}),this.$=o[d-1];break;case 41:o[d-1].unshift({type:"criticalStart",criticalText:y.parseMessage(o[d-2]),signalType:y.LINETYPE.CRITICAL_START}),o[d-1].push({type:"criticalEnd",signalType:y.LINETYPE.CRITICAL_END}),this.$=o[d-1];break;case 42:o[d-1].unshift({type:"breakStart",breakText:y.parseMessage(o[d-2]),signalType:y.LINETYPE.BREAK_START}),o[d-1].push({type:"breakEnd",optText:y.parseMessage(o[d-2]),signalType:y.LINETYPE.BREAK_END}),this.$=o[d-1];break;case 44:this.$=o[d-3].concat([{type:"option",optionText:y.parseMessage(o[d-1]),signalType:y.LINETYPE.CRITICAL_OPTION},o[d]]);break;case 46:this.$=o[d-3].concat([{type:"and",parText:y.parseMessage(o[d-1]),signalType:y.LINETYPE.PAR_AND},o[d]]);break;case 48:this.$=o[d-3].concat([{type:"else",altText:y.parseMessage(o[d-1]),signalType:y.LINETYPE.ALT_ELSE},o[d]]);break;case 49:o[d-3].draw="participant",o[d-3].type="addParticipant",o[d-3].description=y.parseMessage(o[d-1]),this.$=o[d-3];break;case 50:o[d-1].draw="participant",o[d-1].type="addParticipant",this.$=o[d-1];break;case 51:o[d-3].draw="actor",o[d-3].type="addParticipant",o[d-3].description=y.parseMessage(o[d-1]),this.$=o[d-3];break;case 52:case 57:o[d-1].draw="actor",o[d-1].type="addParticipant",this.$=o[d-1];break;case 53:o[d-1].type="destroyParticipant",this.$=o[d-1];break;case 54:o[d-3].draw="participant",o[d-3].type="addParticipant",o[d-3].description=y.parseMessage(o[d-1]),this.$=o[d-3];break;case 55:o[d-1].draw="participant",o[d-1].type="addParticipant",this.$=o[d-1];break;case 56:o[d-3].draw="actor",o[d-3].type="addParticipant",o[d-3].description=y.parseMessage(o[d-1]),this.$=o[d-3];break;case 58:this.$=[o[d-1],{type:"addNote",placement:o[d-2],actor:o[d-1].actor,text:o[d]}];break;case 59:o[d-2]=[].concat(o[d-1],o[d-1]).slice(0,2),o[d-2][0]=o[d-2][0].actor,o[d-2][1]=o[d-2][1].actor,this.$=[o[d-1],{type:"addNote",placement:y.PLACEMENT.OVER,actor:o[d-2].slice(0,2),text:o[d]}];break;case 60:this.$=[o[d-1],{type:"addLinks",actor:o[d-1].actor,text:o[d]}];break;case 61:this.$=[o[d-1],{type:"addALink",actor:o[d-1].actor,text:o[d]}];break;case 62:this.$=[o[d-1],{type:"addProperties",actor:o[d-1].actor,text:o[d]}];break;case 63:this.$=[o[d-1],{type:"addDetails",actor:o[d-1].actor,text:o[d]}];break;case 66:this.$=[o[d-2],o[d]];break;case 67:this.$=o[d];break;case 68:this.$=y.PLACEMENT.LEFTOF;break;case 69:this.$=y.PLACEMENT.RIGHTOF;break;case 70:this.$=[o[d-4],o[d-1],{type:"addMessage",from:o[d-4].actor,to:o[d-1].actor,signalType:o[d-3],msg:o[d],activate:!0},{type:"activeStart",signalType:y.LINETYPE.ACTIVE_START,actor:o[d-1].actor}];break;case 71:this.$=[o[d-4],o[d-1],{type:"addMessage",from:o[d-4].actor,to:o[d-1].actor,signalType:o[d-3],msg:o[d]},{type:"activeEnd",signalType:y.LINETYPE.ACTIVE_END,actor:o[d-4].actor}];break;case 72:this.$=[o[d-4],o[d-1],{type:"addMessage",from:o[d-4].actor,to:o[d-1].actor,signalType:o[d-3],msg:o[d],activate:!0,centralConnection:y.LINETYPE.CENTRAL_CONNECTION},{type:"centralConnection",signalType:y.LINETYPE.CENTRAL_CONNECTION,actor:o[d-1].actor}];break;case 73:this.$=[o[d-4],o[d-1],{type:"addMessage",from:o[d-4].actor,to:o[d-1].actor,signalType:o[d-2],msg:o[d],activate:!1,centralConnection:y.LINETYPE.CENTRAL_CONNECTION_REVERSE},{type:"centralConnectionReverse",signalType:y.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:o[d-4].actor}];break;case 74:this.$=[o[d-5],o[d-1],{type:"addMessage",from:o[d-5].actor,to:o[d-1].actor,signalType:o[d-3],msg:o[d],activate:!0,centralConnection:y.LINETYPE.CENTRAL_CONNECTION_DUAL},{type:"centralConnection",signalType:y.LINETYPE.CENTRAL_CONNECTION,actor:o[d-1].actor},{type:"centralConnectionReverse",signalType:y.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:o[d-5].actor}];break;case 75:this.$=[o[d-3],o[d-1],{type:"addMessage",from:o[d-3].actor,to:o[d-1].actor,signalType:o[d-2],msg:o[d]}];break;case 76:this.$={type:"addParticipant",actor:o[d-1],config:o[d]};break;case 77:this.$=o[d-1].trim();break;case 78:this.$={type:"addParticipant",actor:o[d]};break;case 79:this.$=y.LINETYPE.SOLID_OPEN;break;case 80:this.$=y.LINETYPE.DOTTED_OPEN;break;case 81:this.$=y.LINETYPE.SOLID;break;case 82:this.$=y.LINETYPE.SOLID_TOP;break;case 83:this.$=y.LINETYPE.SOLID_BOTTOM;break;case 84:this.$=y.LINETYPE.STICK_TOP;break;case 85:this.$=y.LINETYPE.STICK_BOTTOM;break;case 86:this.$=y.LINETYPE.SOLID_TOP_DOTTED;break;case 87:this.$=y.LINETYPE.SOLID_BOTTOM_DOTTED;break;case 88:this.$=y.LINETYPE.STICK_TOP_DOTTED;break;case 89:this.$=y.LINETYPE.STICK_BOTTOM_DOTTED;break;case 90:this.$=y.LINETYPE.SOLID_ARROW_TOP_REVERSE;break;case 91:this.$=y.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE;break;case 92:this.$=y.LINETYPE.STICK_ARROW_TOP_REVERSE;break;case 93:this.$=y.LINETYPE.STICK_ARROW_BOTTOM_REVERSE;break;case 94:this.$=y.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED;break;case 95:this.$=y.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED;break;case 96:this.$=y.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED;break;case 97:this.$=y.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED;break;case 98:this.$=y.LINETYPE.BIDIRECTIONAL_SOLID;break;case 99:this.$=y.LINETYPE.DOTTED;break;case 100:this.$=y.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 101:this.$=y.LINETYPE.SOLID_CROSS;break;case 102:this.$=y.LINETYPE.DOTTED_CROSS;break;case 103:this.$=y.LINETYPE.SOLID_POINT;break;case 104:this.$=y.LINETYPE.DOTTED_POINT;break;case 105:this.$=y.parseMessage(o[d].trim().substring(1));break}},"anonymous"),"anonymous"),table:[{3:1,4:t,5:a,6:r},{1:[3]},{3:5,4:t,5:a,6:r},{3:6,4:t,5:a,6:r},e([1,4,5,10,14,15,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,51,53,54,56,61,62,63,64,73],i,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:n,5:s,8:8,9:10,10:c,13:13,14:p,15:h,18:16,19:E,22:_,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:O,31:T,32:g,34:f,36:I,37:L,38:b,39:w,40:S,42:D,44:M,45:Y,47:K,51:G,53:X,54:J,56:ot,61:tt,62:z,63:it,64:et,73:W},e(C,[2,5]),{9:48,13:13,14:p,15:h,18:16,19:E,22:_,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:O,31:T,32:g,34:f,36:I,37:L,38:b,39:w,40:S,42:D,44:M,45:Y,47:K,51:G,53:X,54:J,56:ot,61:tt,62:z,63:it,64:et,73:W},e(C,[2,7]),e(C,[2,8]),e(C,[2,9]),e(C,[2,15]),{13:49,51:G,53:X,54:J},{16:[1,50]},{5:[1,51]},{5:[1,54],20:[1,52],21:[1,53]},{23:55,73:W},{23:56,73:W},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},{5:[1,61]},e(C,[2,30]),e(C,[2,31]),{33:[1,62]},{35:[1,63]},e(C,[2,34]),{16:[1,64]},{16:[1,65]},{16:[1,66]},{16:[1,67]},{16:[1,68]},{16:[1,69]},{16:[1,70]},{16:[1,71]},{23:72,55:73,73:wt},{23:75,55:76,73:wt},{23:77,73:W},{69:78,72:[1,79],78:Ct,79:m,80:k,81:dt,82:rt,83:F,84:bt,85:pe,86:Ee,87:ue,88:fe,89:_e,90:ge,91:xe,92:Ie,93:ye,94:Re,95:Oe,96:Le,97:be,98:me,99:Se,100:Ae,101:we,102:Ne,103:Pe},{57:106,59:[1,107],67:[1,108],68:[1,109]},{23:110,73:W},{23:111,73:W},{23:112,73:W},{23:113,73:W},e([5,66,72,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104],ke),e(C,[2,6]),e(C,[2,16]),e(Nt,[2,10],{11:114}),e(C,[2,18]),{5:[1,116],20:[1,115]},{5:[1,117]},e(C,[2,22]),{5:[1,118]},{5:[1,119]},e(C,[2,25]),e(C,[2,26]),e(C,[2,27]),e(C,[2,28]),e(C,[2,29]),e(C,[2,32]),e(C,[2,33]),e(Mt,i,{7:120}),e(Mt,i,{7:121}),e(Mt,i,{7:122}),e(De,i,{41:123,7:124}),e(Xt,i,{43:125,7:126}),e(Xt,i,{7:126,43:127}),e(ve,i,{46:128,7:129}),e(Mt,i,{7:130}),{5:[1,132],52:[1,131]},{5:[1,134],52:[1,133]},e(Jt,ke,{74:135,75:[1,136]}),{5:[1,138],52:[1,137]},{5:[1,140],52:[1,139]},{5:[1,141]},{23:145,70:[1,142],71:[1,143],72:[1,144],73:W},{69:146,78:Ct,79:m,80:k,81:dt,82:rt,83:F,84:bt,85:pe,86:Ee,87:ue,88:fe,89:_e,90:ge,91:xe,92:Ie,93:ye,94:Re,95:Oe,96:Le,97:be,98:me,99:Se,100:Ae,101:we,102:Ne,103:Pe},e(H,[2,79]),e(H,[2,80]),e(H,[2,81]),e(H,[2,82]),e(H,[2,83]),e(H,[2,84]),e(H,[2,85]),e(H,[2,86]),e(H,[2,87]),e(H,[2,88]),e(H,[2,89]),e(H,[2,90]),e(H,[2,91]),e(H,[2,92]),e(H,[2,93]),e(H,[2,94]),e(H,[2,95]),e(H,[2,96]),e(H,[2,97]),e(H,[2,98]),e(H,[2,99]),e(H,[2,100]),e(H,[2,101]),e(H,[2,102]),e(H,[2,103]),e(H,[2,104]),{23:147,73:W},{23:149,60:148,73:W},{73:[2,68]},{73:[2,69]},{58:150,104:ct},{58:152,104:ct},{58:153,104:ct},{58:154,104:ct},{4:[1,157],5:[1,159],12:156,13:158,17:[1,155],51:G,53:X,54:J},{5:[1,160]},e(C,[2,20]),e(C,[2,21]),e(C,[2,23]),e(C,[2,24]),{4:n,5:s,8:8,9:10,10:c,13:13,14:p,15:h,17:[1,161],18:16,19:E,22:_,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:O,31:T,32:g,34:f,36:I,37:L,38:b,39:w,40:S,42:D,44:M,45:Y,47:K,51:G,53:X,54:J,56:ot,61:tt,62:z,63:it,64:et,73:W},{4:n,5:s,8:8,9:10,10:c,13:13,14:p,15:h,17:[1,162],18:16,19:E,22:_,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:O,31:T,32:g,34:f,36:I,37:L,38:b,39:w,40:S,42:D,44:M,45:Y,47:K,51:G,53:X,54:J,56:ot,61:tt,62:z,63:it,64:et,73:W},{4:n,5:s,8:8,9:10,10:c,13:13,14:p,15:h,17:[1,163],18:16,19:E,22:_,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:O,31:T,32:g,34:f,36:I,37:L,38:b,39:w,40:S,42:D,44:M,45:Y,47:K,51:G,53:X,54:J,56:ot,61:tt,62:z,63:it,64:et,73:W},{17:[1,164]},{4:n,5:s,8:8,9:10,10:c,13:13,14:p,15:h,17:[2,47],18:16,19:E,22:_,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:O,31:T,32:g,34:f,36:I,37:L,38:b,39:w,40:S,42:D,44:M,45:Y,47:K,50:[1,165],51:G,53:X,54:J,56:ot,61:tt,62:z,63:it,64:et,73:W},{17:[1,166]},{4:n,5:s,8:8,9:10,10:c,13:13,14:p,15:h,17:[2,45],18:16,19:E,22:_,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:O,31:T,32:g,34:f,36:I,37:L,38:b,39:w,40:S,42:D,44:M,45:Y,47:K,49:[1,167],51:G,53:X,54:J,56:ot,61:tt,62:z,63:it,64:et,73:W},{17:[1,168]},{17:[1,169]},{4:n,5:s,8:8,9:10,10:c,13:13,14:p,15:h,17:[2,43],18:16,19:E,22:_,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:O,31:T,32:g,34:f,36:I,37:L,38:b,39:w,40:S,42:D,44:M,45:Y,47:K,48:[1,170],51:G,53:X,54:J,56:ot,61:tt,62:z,63:it,64:et,73:W},{4:n,5:s,8:8,9:10,10:c,13:13,14:p,15:h,17:[1,171],18:16,19:E,22:_,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:O,31:T,32:g,34:f,36:I,37:L,38:b,39:w,40:S,42:D,44:M,45:Y,47:K,51:G,53:X,54:J,56:ot,61:tt,62:z,63:it,64:et,73:W},{16:[1,172]},e(C,[2,50]),{16:[1,173]},e(C,[2,55]),e(Jt,[2,76]),{76:[1,174]},{16:[1,175]},e(C,[2,52]),{16:[1,176]},e(C,[2,57]),e(C,[2,53]),{23:177,73:W},{23:178,73:W},{23:179,73:W},{58:180,104:ct},{23:181,72:[1,182],73:W},{58:183,104:ct},{58:184,104:ct},{66:[1,185],104:[2,67]},{5:[2,60]},{5:[2,105]},{5:[2,61]},{5:[2,62]},{5:[2,63]},e(C,[2,17]),e(Nt,[2,11]),{13:186,51:G,53:X,54:J},e(Nt,[2,13]),e(Nt,[2,14]),e(C,[2,19]),e(C,[2,35]),e(C,[2,36]),e(C,[2,37]),e(C,[2,38]),{16:[1,187]},e(C,[2,39]),{16:[1,188]},e(C,[2,40]),e(C,[2,41]),{16:[1,189]},e(C,[2,42]),{5:[1,190]},{5:[1,191]},{77:[1,192]},{5:[1,193]},{5:[1,194]},{58:195,104:ct},{58:196,104:ct},{58:197,104:ct},{5:[2,75]},{58:198,104:ct},{23:199,73:W},{5:[2,58]},{5:[2,59]},{23:200,73:W},e(Nt,[2,12]),e(De,i,{7:124,41:201}),e(Xt,i,{7:126,43:202}),e(ve,i,{7:129,46:203}),e(C,[2,49]),e(C,[2,54]),e(Jt,[2,77]),e(C,[2,51]),e(C,[2,56]),{5:[2,70]},{5:[2,71]},{5:[2,72]},{5:[2,73]},{58:204,104:ct},{104:[2,66]},{17:[2,48]},{17:[2,46]},{17:[2,44]},{5:[2,74]}],defaultActions:{5:[2,1],6:[2,2],108:[2,68],109:[2,69],150:[2,60],151:[2,105],152:[2,61],153:[2,62],154:[2,63],180:[2,75],183:[2,58],184:[2,59],195:[2,70],196:[2,71],197:[2,72],198:[2,73],200:[2,66],201:[2,48],202:[2,46],203:[2,44],204:[2,74]},parseError:x(B(function(A,v){if(v.recoverable)this.trace(A);else{var P=new Error(A);throw P.hash=v,P}},"parseError"),"parseError"),parse:x(B(function(A){var v=this,P=[0],y=[],U=[null],o=[],kt=this.table,d="",Bt=0,Ce=0,je=2,Me=1,tr=o.slice.call(arguments,1),Z=Object.create(this.lexer),xt={yy:{}};for(var Qt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Qt)&&(xt.yy[Qt]=this.yy[Qt]);Z.setInput(A,xt.yy),xt.yy.lexer=Z,xt.yy.parser=this,typeof Z.yylloc>"u"&&(Z.yylloc={});var $t=Z.yylloc;o.push($t);var er=Z.options&&Z.options.ranges;typeof xt.yy.parseError=="function"?this.parseError=xt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Be(nt){P.length=P.length-2*nt,U.length=U.length-nt,o.length=o.length-nt}B(Be,"popStack"),x(Be,"popStack");function jt(){var nt;return nt=y.pop()||Z.lex()||Me,typeof nt!="number"&&(nt instanceof Array&&(y=nt,nt=y.pop()),nt=v.symbols_[nt]||nt),nt}B(jt,"lex"),x(jt,"lex");for(var at,It,lt,te,mt={},Vt,pt,Ve,Yt;;){if(It=P[P.length-1],this.defaultActions[It]?lt=this.defaultActions[It]:((at===null||typeof at>"u")&&(at=jt()),lt=kt[It]&&kt[It][at]),typeof lt>"u"||!lt.length||!lt[0]){var ee="";Yt=[];for(Vt in kt[It])this.terminals_[Vt]&&Vt>je&&Yt.push("'"+this.terminals_[Vt]+"'");Z.showPosition?ee="Parse error on line "+(Bt+1)+`:
1
+ import{I as rr}from"./Cnz8RKk9.js";import{a as x,aH as ar,N as j,ad as st,r as sr,c as ir,p as N,aG as Ye,aF as nr,aI as or,L as cr,K as lr,O as hr,ac as dr,J as Tr,k as pr,aD as Wt,aV as Q,X as $,e as vt,aB as Er,an as Fe,Z as ur,M as Ht,V as fr,ay as He}from"./D0QGnN9N.js";import{d as _r,h as ne,g as Tt,e as gr,a as oe,b as ce}from"./BrzmNBOR.js";import{c3 as Kt,g as B,h as xr}from"./-EQ6B0ad.js";var qe=xr(Er()),ae=(function(){var e=x(function(ft,A,v,P){for(v=v||{},P=ft.length;P--;v[ft[P]]=A);return v},"o"),t=[1,2],a=[1,3],r=[1,4],i=[2,4],n=[1,9],s=[1,11],c=[1,12],p=[1,14],h=[1,15],E=[1,17],_=[1,18],u=[1,19],O=[1,25],T=[1,26],g=[1,27],f=[1,28],I=[1,29],L=[1,30],b=[1,31],w=[1,32],S=[1,33],D=[1,34],M=[1,35],Y=[1,36],K=[1,37],G=[1,38],X=[1,39],J=[1,40],ot=[1,42],tt=[1,43],z=[1,44],it=[1,45],et=[1,46],W=[1,47],C=[1,4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,48,49,50,51,53,54,56,61,62,63,64,73],wt=[1,74],Ct=[1,80],m=[1,81],k=[1,82],dt=[1,83],rt=[1,84],F=[1,85],bt=[1,86],pe=[1,87],Ee=[1,88],ue=[1,89],fe=[1,90],_e=[1,91],ge=[1,92],xe=[1,93],Ie=[1,94],ye=[1,95],Re=[1,96],Oe=[1,97],Le=[1,98],be=[1,99],me=[1,100],Se=[1,101],Ae=[1,102],we=[1,103],Ne=[1,104],Pe=[1,105],ke=[2,78],Nt=[4,5,17,51,53,54],Mt=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,51,53,54,56,61,62,63,64,73],De=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,50,51,53,54,56,61,62,63,64,73],Xt=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,49,51,53,54,56,61,62,63,64,73],ve=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,48,51,53,54,56,61,62,63,64,73],Jt=[5,52],H=[70,71,72,73],ct=[1,151],Zt={trace:x(B(function(){},"trace"),"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,INVALID:10,box_section:11,box_line:12,participant_statement:13,create:14,box:15,restOfLine:16,end:17,signal:18,autonumber:19,NUM:20,off:21,activate:22,actor:23,deactivate:24,note_statement:25,links_statement:26,link_statement:27,properties_statement:28,details_statement:29,title:30,legacy_title:31,acc_title:32,acc_title_value:33,acc_descr:34,acc_descr_value:35,acc_descr_multiline_value:36,loop:37,rect:38,opt:39,alt:40,else_sections:41,par:42,par_sections:43,par_over:44,critical:45,option_sections:46,break:47,option:48,and:49,else:50,participant:51,AS:52,participant_actor:53,destroy:54,actor_with_config:55,note:56,placement:57,text2:58,over:59,actor_pair:60,links:61,link:62,properties:63,details:64,spaceList:65,",":66,left_of:67,right_of:68,signaltype:69,"+":70,"-":71,"()":72,ACTOR:73,config_object:74,CONFIG_START:75,CONFIG_CONTENT:76,CONFIG_END:77,SOLID_OPEN_ARROW:78,DOTTED_OPEN_ARROW:79,SOLID_ARROW:80,SOLID_ARROW_TOP:81,SOLID_ARROW_BOTTOM:82,STICK_ARROW_TOP:83,STICK_ARROW_BOTTOM:84,SOLID_ARROW_TOP_DOTTED:85,SOLID_ARROW_BOTTOM_DOTTED:86,STICK_ARROW_TOP_DOTTED:87,STICK_ARROW_BOTTOM_DOTTED:88,SOLID_ARROW_TOP_REVERSE:89,SOLID_ARROW_BOTTOM_REVERSE:90,STICK_ARROW_TOP_REVERSE:91,STICK_ARROW_BOTTOM_REVERSE:92,SOLID_ARROW_TOP_REVERSE_DOTTED:93,SOLID_ARROW_BOTTOM_REVERSE_DOTTED:94,STICK_ARROW_TOP_REVERSE_DOTTED:95,STICK_ARROW_BOTTOM_REVERSE_DOTTED:96,BIDIRECTIONAL_SOLID_ARROW:97,DOTTED_ARROW:98,BIDIRECTIONAL_DOTTED_ARROW:99,SOLID_CROSS:100,DOTTED_CROSS:101,SOLID_POINT:102,DOTTED_POINT:103,TXT:104,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",10:"INVALID",14:"create",15:"box",16:"restOfLine",17:"end",19:"autonumber",20:"NUM",21:"off",22:"activate",24:"deactivate",30:"title",31:"legacy_title",32:"acc_title",33:"acc_title_value",34:"acc_descr",35:"acc_descr_value",36:"acc_descr_multiline_value",37:"loop",38:"rect",39:"opt",40:"alt",42:"par",44:"par_over",45:"critical",47:"break",48:"option",49:"and",50:"else",51:"participant",52:"AS",53:"participant_actor",54:"destroy",56:"note",59:"over",61:"links",62:"link",63:"properties",64:"details",66:",",67:"left_of",68:"right_of",70:"+",71:"-",72:"()",73:"ACTOR",75:"CONFIG_START",76:"CONFIG_CONTENT",77:"CONFIG_END",78:"SOLID_OPEN_ARROW",79:"DOTTED_OPEN_ARROW",80:"SOLID_ARROW",81:"SOLID_ARROW_TOP",82:"SOLID_ARROW_BOTTOM",83:"STICK_ARROW_TOP",84:"STICK_ARROW_BOTTOM",85:"SOLID_ARROW_TOP_DOTTED",86:"SOLID_ARROW_BOTTOM_DOTTED",87:"STICK_ARROW_TOP_DOTTED",88:"STICK_ARROW_BOTTOM_DOTTED",89:"SOLID_ARROW_TOP_REVERSE",90:"SOLID_ARROW_BOTTOM_REVERSE",91:"STICK_ARROW_TOP_REVERSE",92:"STICK_ARROW_BOTTOM_REVERSE",93:"SOLID_ARROW_TOP_REVERSE_DOTTED",94:"SOLID_ARROW_BOTTOM_REVERSE_DOTTED",95:"STICK_ARROW_TOP_REVERSE_DOTTED",96:"STICK_ARROW_BOTTOM_REVERSE_DOTTED",97:"BIDIRECTIONAL_SOLID_ARROW",98:"DOTTED_ARROW",99:"BIDIRECTIONAL_DOTTED_ARROW",100:"SOLID_CROSS",101:"DOTTED_CROSS",102:"SOLID_POINT",103:"DOTTED_POINT",104:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[8,1],[11,0],[11,2],[12,2],[12,1],[12,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[46,1],[46,4],[43,1],[43,4],[41,1],[41,4],[13,5],[13,3],[13,5],[13,3],[13,3],[13,5],[13,3],[13,5],[13,3],[25,4],[25,4],[26,3],[27,3],[28,3],[29,3],[65,2],[65,1],[60,3],[60,1],[57,1],[57,1],[18,5],[18,5],[18,5],[18,5],[18,6],[18,4],[55,2],[74,3],[23,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[58,1]],performAction:x(B(function(A,v,P,y,U,o,kt){var d=o.length-1;switch(U){case 3:return y.apply(o[d]),o[d];case 4:case 10:this.$=[];break;case 5:case 11:o[d-1].push(o[d]),this.$=o[d-1];break;case 6:case 7:case 12:case 13:this.$=o[d];break;case 8:case 9:case 14:this.$=[];break;case 16:o[d].type="createParticipant",this.$=o[d];break;case 17:o[d-1].unshift({type:"boxStart",boxData:y.parseBoxData(o[d-2])}),o[d-1].push({type:"boxEnd",boxText:o[d-2]}),this.$=o[d-1];break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(o[d-2]),sequenceIndexStep:Number(o[d-1]),sequenceVisible:!0,signalType:y.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceIndex:Number(o[d-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:y.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:y.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:y.LINETYPE.AUTONUMBER};break;case 23:this.$={type:"activeStart",signalType:y.LINETYPE.ACTIVE_START,actor:o[d-1].actor};break;case 24:this.$={type:"activeEnd",signalType:y.LINETYPE.ACTIVE_END,actor:o[d-1].actor};break;case 30:y.setDiagramTitle(o[d].substring(6)),this.$=o[d].substring(6);break;case 31:y.setDiagramTitle(o[d].substring(7)),this.$=o[d].substring(7);break;case 32:this.$=o[d].trim(),y.setAccTitle(this.$);break;case 33:case 34:this.$=o[d].trim(),y.setAccDescription(this.$);break;case 35:o[d-1].unshift({type:"loopStart",loopText:y.parseMessage(o[d-2]),signalType:y.LINETYPE.LOOP_START}),o[d-1].push({type:"loopEnd",loopText:o[d-2],signalType:y.LINETYPE.LOOP_END}),this.$=o[d-1];break;case 36:o[d-1].unshift({type:"rectStart",color:y.parseMessage(o[d-2]),signalType:y.LINETYPE.RECT_START}),o[d-1].push({type:"rectEnd",color:y.parseMessage(o[d-2]),signalType:y.LINETYPE.RECT_END}),this.$=o[d-1];break;case 37:o[d-1].unshift({type:"optStart",optText:y.parseMessage(o[d-2]),signalType:y.LINETYPE.OPT_START}),o[d-1].push({type:"optEnd",optText:y.parseMessage(o[d-2]),signalType:y.LINETYPE.OPT_END}),this.$=o[d-1];break;case 38:o[d-1].unshift({type:"altStart",altText:y.parseMessage(o[d-2]),signalType:y.LINETYPE.ALT_START}),o[d-1].push({type:"altEnd",signalType:y.LINETYPE.ALT_END}),this.$=o[d-1];break;case 39:o[d-1].unshift({type:"parStart",parText:y.parseMessage(o[d-2]),signalType:y.LINETYPE.PAR_START}),o[d-1].push({type:"parEnd",signalType:y.LINETYPE.PAR_END}),this.$=o[d-1];break;case 40:o[d-1].unshift({type:"parStart",parText:y.parseMessage(o[d-2]),signalType:y.LINETYPE.PAR_OVER_START}),o[d-1].push({type:"parEnd",signalType:y.LINETYPE.PAR_END}),this.$=o[d-1];break;case 41:o[d-1].unshift({type:"criticalStart",criticalText:y.parseMessage(o[d-2]),signalType:y.LINETYPE.CRITICAL_START}),o[d-1].push({type:"criticalEnd",signalType:y.LINETYPE.CRITICAL_END}),this.$=o[d-1];break;case 42:o[d-1].unshift({type:"breakStart",breakText:y.parseMessage(o[d-2]),signalType:y.LINETYPE.BREAK_START}),o[d-1].push({type:"breakEnd",optText:y.parseMessage(o[d-2]),signalType:y.LINETYPE.BREAK_END}),this.$=o[d-1];break;case 44:this.$=o[d-3].concat([{type:"option",optionText:y.parseMessage(o[d-1]),signalType:y.LINETYPE.CRITICAL_OPTION},o[d]]);break;case 46:this.$=o[d-3].concat([{type:"and",parText:y.parseMessage(o[d-1]),signalType:y.LINETYPE.PAR_AND},o[d]]);break;case 48:this.$=o[d-3].concat([{type:"else",altText:y.parseMessage(o[d-1]),signalType:y.LINETYPE.ALT_ELSE},o[d]]);break;case 49:o[d-3].draw="participant",o[d-3].type="addParticipant",o[d-3].description=y.parseMessage(o[d-1]),this.$=o[d-3];break;case 50:o[d-1].draw="participant",o[d-1].type="addParticipant",this.$=o[d-1];break;case 51:o[d-3].draw="actor",o[d-3].type="addParticipant",o[d-3].description=y.parseMessage(o[d-1]),this.$=o[d-3];break;case 52:case 57:o[d-1].draw="actor",o[d-1].type="addParticipant",this.$=o[d-1];break;case 53:o[d-1].type="destroyParticipant",this.$=o[d-1];break;case 54:o[d-3].draw="participant",o[d-3].type="addParticipant",o[d-3].description=y.parseMessage(o[d-1]),this.$=o[d-3];break;case 55:o[d-1].draw="participant",o[d-1].type="addParticipant",this.$=o[d-1];break;case 56:o[d-3].draw="actor",o[d-3].type="addParticipant",o[d-3].description=y.parseMessage(o[d-1]),this.$=o[d-3];break;case 58:this.$=[o[d-1],{type:"addNote",placement:o[d-2],actor:o[d-1].actor,text:o[d]}];break;case 59:o[d-2]=[].concat(o[d-1],o[d-1]).slice(0,2),o[d-2][0]=o[d-2][0].actor,o[d-2][1]=o[d-2][1].actor,this.$=[o[d-1],{type:"addNote",placement:y.PLACEMENT.OVER,actor:o[d-2].slice(0,2),text:o[d]}];break;case 60:this.$=[o[d-1],{type:"addLinks",actor:o[d-1].actor,text:o[d]}];break;case 61:this.$=[o[d-1],{type:"addALink",actor:o[d-1].actor,text:o[d]}];break;case 62:this.$=[o[d-1],{type:"addProperties",actor:o[d-1].actor,text:o[d]}];break;case 63:this.$=[o[d-1],{type:"addDetails",actor:o[d-1].actor,text:o[d]}];break;case 66:this.$=[o[d-2],o[d]];break;case 67:this.$=o[d];break;case 68:this.$=y.PLACEMENT.LEFTOF;break;case 69:this.$=y.PLACEMENT.RIGHTOF;break;case 70:this.$=[o[d-4],o[d-1],{type:"addMessage",from:o[d-4].actor,to:o[d-1].actor,signalType:o[d-3],msg:o[d],activate:!0},{type:"activeStart",signalType:y.LINETYPE.ACTIVE_START,actor:o[d-1].actor}];break;case 71:this.$=[o[d-4],o[d-1],{type:"addMessage",from:o[d-4].actor,to:o[d-1].actor,signalType:o[d-3],msg:o[d]},{type:"activeEnd",signalType:y.LINETYPE.ACTIVE_END,actor:o[d-4].actor}];break;case 72:this.$=[o[d-4],o[d-1],{type:"addMessage",from:o[d-4].actor,to:o[d-1].actor,signalType:o[d-3],msg:o[d],activate:!0,centralConnection:y.LINETYPE.CENTRAL_CONNECTION},{type:"centralConnection",signalType:y.LINETYPE.CENTRAL_CONNECTION,actor:o[d-1].actor}];break;case 73:this.$=[o[d-4],o[d-1],{type:"addMessage",from:o[d-4].actor,to:o[d-1].actor,signalType:o[d-2],msg:o[d],activate:!1,centralConnection:y.LINETYPE.CENTRAL_CONNECTION_REVERSE},{type:"centralConnectionReverse",signalType:y.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:o[d-4].actor}];break;case 74:this.$=[o[d-5],o[d-1],{type:"addMessage",from:o[d-5].actor,to:o[d-1].actor,signalType:o[d-3],msg:o[d],activate:!0,centralConnection:y.LINETYPE.CENTRAL_CONNECTION_DUAL},{type:"centralConnection",signalType:y.LINETYPE.CENTRAL_CONNECTION,actor:o[d-1].actor},{type:"centralConnectionReverse",signalType:y.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:o[d-5].actor}];break;case 75:this.$=[o[d-3],o[d-1],{type:"addMessage",from:o[d-3].actor,to:o[d-1].actor,signalType:o[d-2],msg:o[d]}];break;case 76:this.$={type:"addParticipant",actor:o[d-1],config:o[d]};break;case 77:this.$=o[d-1].trim();break;case 78:this.$={type:"addParticipant",actor:o[d]};break;case 79:this.$=y.LINETYPE.SOLID_OPEN;break;case 80:this.$=y.LINETYPE.DOTTED_OPEN;break;case 81:this.$=y.LINETYPE.SOLID;break;case 82:this.$=y.LINETYPE.SOLID_TOP;break;case 83:this.$=y.LINETYPE.SOLID_BOTTOM;break;case 84:this.$=y.LINETYPE.STICK_TOP;break;case 85:this.$=y.LINETYPE.STICK_BOTTOM;break;case 86:this.$=y.LINETYPE.SOLID_TOP_DOTTED;break;case 87:this.$=y.LINETYPE.SOLID_BOTTOM_DOTTED;break;case 88:this.$=y.LINETYPE.STICK_TOP_DOTTED;break;case 89:this.$=y.LINETYPE.STICK_BOTTOM_DOTTED;break;case 90:this.$=y.LINETYPE.SOLID_ARROW_TOP_REVERSE;break;case 91:this.$=y.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE;break;case 92:this.$=y.LINETYPE.STICK_ARROW_TOP_REVERSE;break;case 93:this.$=y.LINETYPE.STICK_ARROW_BOTTOM_REVERSE;break;case 94:this.$=y.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED;break;case 95:this.$=y.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED;break;case 96:this.$=y.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED;break;case 97:this.$=y.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED;break;case 98:this.$=y.LINETYPE.BIDIRECTIONAL_SOLID;break;case 99:this.$=y.LINETYPE.DOTTED;break;case 100:this.$=y.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 101:this.$=y.LINETYPE.SOLID_CROSS;break;case 102:this.$=y.LINETYPE.DOTTED_CROSS;break;case 103:this.$=y.LINETYPE.SOLID_POINT;break;case 104:this.$=y.LINETYPE.DOTTED_POINT;break;case 105:this.$=y.parseMessage(o[d].trim().substring(1));break}},"anonymous"),"anonymous"),table:[{3:1,4:t,5:a,6:r},{1:[3]},{3:5,4:t,5:a,6:r},{3:6,4:t,5:a,6:r},e([1,4,5,10,14,15,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,51,53,54,56,61,62,63,64,73],i,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:n,5:s,8:8,9:10,10:c,13:13,14:p,15:h,18:16,19:E,22:_,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:O,31:T,32:g,34:f,36:I,37:L,38:b,39:w,40:S,42:D,44:M,45:Y,47:K,51:G,53:X,54:J,56:ot,61:tt,62:z,63:it,64:et,73:W},e(C,[2,5]),{9:48,13:13,14:p,15:h,18:16,19:E,22:_,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:O,31:T,32:g,34:f,36:I,37:L,38:b,39:w,40:S,42:D,44:M,45:Y,47:K,51:G,53:X,54:J,56:ot,61:tt,62:z,63:it,64:et,73:W},e(C,[2,7]),e(C,[2,8]),e(C,[2,9]),e(C,[2,15]),{13:49,51:G,53:X,54:J},{16:[1,50]},{5:[1,51]},{5:[1,54],20:[1,52],21:[1,53]},{23:55,73:W},{23:56,73:W},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},{5:[1,61]},e(C,[2,30]),e(C,[2,31]),{33:[1,62]},{35:[1,63]},e(C,[2,34]),{16:[1,64]},{16:[1,65]},{16:[1,66]},{16:[1,67]},{16:[1,68]},{16:[1,69]},{16:[1,70]},{16:[1,71]},{23:72,55:73,73:wt},{23:75,55:76,73:wt},{23:77,73:W},{69:78,72:[1,79],78:Ct,79:m,80:k,81:dt,82:rt,83:F,84:bt,85:pe,86:Ee,87:ue,88:fe,89:_e,90:ge,91:xe,92:Ie,93:ye,94:Re,95:Oe,96:Le,97:be,98:me,99:Se,100:Ae,101:we,102:Ne,103:Pe},{57:106,59:[1,107],67:[1,108],68:[1,109]},{23:110,73:W},{23:111,73:W},{23:112,73:W},{23:113,73:W},e([5,66,72,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104],ke),e(C,[2,6]),e(C,[2,16]),e(Nt,[2,10],{11:114}),e(C,[2,18]),{5:[1,116],20:[1,115]},{5:[1,117]},e(C,[2,22]),{5:[1,118]},{5:[1,119]},e(C,[2,25]),e(C,[2,26]),e(C,[2,27]),e(C,[2,28]),e(C,[2,29]),e(C,[2,32]),e(C,[2,33]),e(Mt,i,{7:120}),e(Mt,i,{7:121}),e(Mt,i,{7:122}),e(De,i,{41:123,7:124}),e(Xt,i,{43:125,7:126}),e(Xt,i,{7:126,43:127}),e(ve,i,{46:128,7:129}),e(Mt,i,{7:130}),{5:[1,132],52:[1,131]},{5:[1,134],52:[1,133]},e(Jt,ke,{74:135,75:[1,136]}),{5:[1,138],52:[1,137]},{5:[1,140],52:[1,139]},{5:[1,141]},{23:145,70:[1,142],71:[1,143],72:[1,144],73:W},{69:146,78:Ct,79:m,80:k,81:dt,82:rt,83:F,84:bt,85:pe,86:Ee,87:ue,88:fe,89:_e,90:ge,91:xe,92:Ie,93:ye,94:Re,95:Oe,96:Le,97:be,98:me,99:Se,100:Ae,101:we,102:Ne,103:Pe},e(H,[2,79]),e(H,[2,80]),e(H,[2,81]),e(H,[2,82]),e(H,[2,83]),e(H,[2,84]),e(H,[2,85]),e(H,[2,86]),e(H,[2,87]),e(H,[2,88]),e(H,[2,89]),e(H,[2,90]),e(H,[2,91]),e(H,[2,92]),e(H,[2,93]),e(H,[2,94]),e(H,[2,95]),e(H,[2,96]),e(H,[2,97]),e(H,[2,98]),e(H,[2,99]),e(H,[2,100]),e(H,[2,101]),e(H,[2,102]),e(H,[2,103]),e(H,[2,104]),{23:147,73:W},{23:149,60:148,73:W},{73:[2,68]},{73:[2,69]},{58:150,104:ct},{58:152,104:ct},{58:153,104:ct},{58:154,104:ct},{4:[1,157],5:[1,159],12:156,13:158,17:[1,155],51:G,53:X,54:J},{5:[1,160]},e(C,[2,20]),e(C,[2,21]),e(C,[2,23]),e(C,[2,24]),{4:n,5:s,8:8,9:10,10:c,13:13,14:p,15:h,17:[1,161],18:16,19:E,22:_,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:O,31:T,32:g,34:f,36:I,37:L,38:b,39:w,40:S,42:D,44:M,45:Y,47:K,51:G,53:X,54:J,56:ot,61:tt,62:z,63:it,64:et,73:W},{4:n,5:s,8:8,9:10,10:c,13:13,14:p,15:h,17:[1,162],18:16,19:E,22:_,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:O,31:T,32:g,34:f,36:I,37:L,38:b,39:w,40:S,42:D,44:M,45:Y,47:K,51:G,53:X,54:J,56:ot,61:tt,62:z,63:it,64:et,73:W},{4:n,5:s,8:8,9:10,10:c,13:13,14:p,15:h,17:[1,163],18:16,19:E,22:_,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:O,31:T,32:g,34:f,36:I,37:L,38:b,39:w,40:S,42:D,44:M,45:Y,47:K,51:G,53:X,54:J,56:ot,61:tt,62:z,63:it,64:et,73:W},{17:[1,164]},{4:n,5:s,8:8,9:10,10:c,13:13,14:p,15:h,17:[2,47],18:16,19:E,22:_,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:O,31:T,32:g,34:f,36:I,37:L,38:b,39:w,40:S,42:D,44:M,45:Y,47:K,50:[1,165],51:G,53:X,54:J,56:ot,61:tt,62:z,63:it,64:et,73:W},{17:[1,166]},{4:n,5:s,8:8,9:10,10:c,13:13,14:p,15:h,17:[2,45],18:16,19:E,22:_,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:O,31:T,32:g,34:f,36:I,37:L,38:b,39:w,40:S,42:D,44:M,45:Y,47:K,49:[1,167],51:G,53:X,54:J,56:ot,61:tt,62:z,63:it,64:et,73:W},{17:[1,168]},{17:[1,169]},{4:n,5:s,8:8,9:10,10:c,13:13,14:p,15:h,17:[2,43],18:16,19:E,22:_,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:O,31:T,32:g,34:f,36:I,37:L,38:b,39:w,40:S,42:D,44:M,45:Y,47:K,48:[1,170],51:G,53:X,54:J,56:ot,61:tt,62:z,63:it,64:et,73:W},{4:n,5:s,8:8,9:10,10:c,13:13,14:p,15:h,17:[1,171],18:16,19:E,22:_,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:O,31:T,32:g,34:f,36:I,37:L,38:b,39:w,40:S,42:D,44:M,45:Y,47:K,51:G,53:X,54:J,56:ot,61:tt,62:z,63:it,64:et,73:W},{16:[1,172]},e(C,[2,50]),{16:[1,173]},e(C,[2,55]),e(Jt,[2,76]),{76:[1,174]},{16:[1,175]},e(C,[2,52]),{16:[1,176]},e(C,[2,57]),e(C,[2,53]),{23:177,73:W},{23:178,73:W},{23:179,73:W},{58:180,104:ct},{23:181,72:[1,182],73:W},{58:183,104:ct},{58:184,104:ct},{66:[1,185],104:[2,67]},{5:[2,60]},{5:[2,105]},{5:[2,61]},{5:[2,62]},{5:[2,63]},e(C,[2,17]),e(Nt,[2,11]),{13:186,51:G,53:X,54:J},e(Nt,[2,13]),e(Nt,[2,14]),e(C,[2,19]),e(C,[2,35]),e(C,[2,36]),e(C,[2,37]),e(C,[2,38]),{16:[1,187]},e(C,[2,39]),{16:[1,188]},e(C,[2,40]),e(C,[2,41]),{16:[1,189]},e(C,[2,42]),{5:[1,190]},{5:[1,191]},{77:[1,192]},{5:[1,193]},{5:[1,194]},{58:195,104:ct},{58:196,104:ct},{58:197,104:ct},{5:[2,75]},{58:198,104:ct},{23:199,73:W},{5:[2,58]},{5:[2,59]},{23:200,73:W},e(Nt,[2,12]),e(De,i,{7:124,41:201}),e(Xt,i,{7:126,43:202}),e(ve,i,{7:129,46:203}),e(C,[2,49]),e(C,[2,54]),e(Jt,[2,77]),e(C,[2,51]),e(C,[2,56]),{5:[2,70]},{5:[2,71]},{5:[2,72]},{5:[2,73]},{58:204,104:ct},{104:[2,66]},{17:[2,48]},{17:[2,46]},{17:[2,44]},{5:[2,74]}],defaultActions:{5:[2,1],6:[2,2],108:[2,68],109:[2,69],150:[2,60],151:[2,105],152:[2,61],153:[2,62],154:[2,63],180:[2,75],183:[2,58],184:[2,59],195:[2,70],196:[2,71],197:[2,72],198:[2,73],200:[2,66],201:[2,48],202:[2,46],203:[2,44],204:[2,74]},parseError:x(B(function(A,v){if(v.recoverable)this.trace(A);else{var P=new Error(A);throw P.hash=v,P}},"parseError"),"parseError"),parse:x(B(function(A){var v=this,P=[0],y=[],U=[null],o=[],kt=this.table,d="",Bt=0,Ce=0,je=2,Me=1,tr=o.slice.call(arguments,1),Z=Object.create(this.lexer),xt={yy:{}};for(var Qt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Qt)&&(xt.yy[Qt]=this.yy[Qt]);Z.setInput(A,xt.yy),xt.yy.lexer=Z,xt.yy.parser=this,typeof Z.yylloc>"u"&&(Z.yylloc={});var $t=Z.yylloc;o.push($t);var er=Z.options&&Z.options.ranges;typeof xt.yy.parseError=="function"?this.parseError=xt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Be(nt){P.length=P.length-2*nt,U.length=U.length-nt,o.length=o.length-nt}B(Be,"popStack"),x(Be,"popStack");function jt(){var nt;return nt=y.pop()||Z.lex()||Me,typeof nt!="number"&&(nt instanceof Array&&(y=nt,nt=y.pop()),nt=v.symbols_[nt]||nt),nt}B(jt,"lex"),x(jt,"lex");for(var at,It,lt,te,mt={},Vt,pt,Ve,Yt;;){if(It=P[P.length-1],this.defaultActions[It]?lt=this.defaultActions[It]:((at===null||typeof at>"u")&&(at=jt()),lt=kt[It]&&kt[It][at]),typeof lt>"u"||!lt.length||!lt[0]){var ee="";Yt=[];for(Vt in kt[It])this.terminals_[Vt]&&Vt>je&&Yt.push("'"+this.terminals_[Vt]+"'");Z.showPosition?ee="Parse error on line "+(Bt+1)+`:
2
2
  `+Z.showPosition()+`
3
3
  Expecting `+Yt.join(", ")+", got '"+(this.terminals_[at]||at)+"'":ee="Parse error on line "+(Bt+1)+": Unexpected "+(at==Me?"end of input":"'"+(this.terminals_[at]||at)+"'"),this.parseError(ee,{text:Z.match,token:this.terminals_[at]||at,line:Z.yylineno,loc:$t,expected:Yt})}if(lt[0]instanceof Array&&lt.length>1)throw new Error("Parse Error: multiple actions possible at state: "+It+", token: "+at);switch(lt[0]){case 1:P.push(at),U.push(Z.yytext),o.push(Z.yylloc),P.push(lt[1]),at=null,Ce=Z.yyleng,d=Z.yytext,Bt=Z.yylineno,$t=Z.yylloc;break;case 2:if(pt=this.productions_[lt[1]][1],mt.$=U[U.length-pt],mt._$={first_line:o[o.length-(pt||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(pt||1)].first_column,last_column:o[o.length-1].last_column},er&&(mt._$.range=[o[o.length-(pt||1)].range[0],o[o.length-1].range[1]]),te=this.performAction.apply(mt,[d,Ce,Bt,xt.yy,lt[1],U,o].concat(tr)),typeof te<"u")return te;pt&&(P=P.slice(0,-1*pt*2),U=U.slice(0,-1*pt),o=o.slice(0,-1*pt)),P.push(this.productions_[lt[1]][0]),U.push(mt.$),o.push(mt._$),Ve=kt[P[P.length-2]][P[P.length-1]],P.push(Ve);break;case 3:return!0}}return!0},"parse"),"parse")},$e=(function(){var ft={EOF:1,parseError:x(B(function(v,P){if(this.yy.parser)this.yy.parser.parseError(v,P);else throw new Error(v)},"parseError"),"parseError"),setInput:x(function(A,v){return this.yy=v||this.yy||{},this._input=A,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:x(function(){var A=this._input[0];this.yytext+=A,this.yyleng++,this.offset++,this.match+=A,this.matched+=A;var v=A.match(/(?:\r\n?|\n).*/g);return v?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),A},"input"),unput:x(function(A){var v=A.length,P=A.split(/(?:\r\n?|\n)/g);this._input=A+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-v),this.offset-=v;var y=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),P.length-1&&(this.yylineno-=P.length-1);var U=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:P?(P.length===y.length?this.yylloc.first_column:0)+y[y.length-P.length].length-P[0].length:this.yylloc.first_column-v},this.options.ranges&&(this.yylloc.range=[U[0],U[0]+this.yyleng-v]),this.yyleng=this.yytext.length,this},"unput"),more:x(function(){return this._more=!0,this},"more"),reject:x(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:x(function(A){this.unput(this.match.slice(A))},"less"),pastInput:x(function(){var A=this.matched.substr(0,this.matched.length-this.match.length);return(A.length>20?"...":"")+A.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:x(function(){var A=this.match;return A.length<20&&(A+=this._input.substr(0,20-A.length)),(A.substr(0,20)+(A.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:x(function(){var A=this.pastInput(),v=new Array(A.length+1).join("-");return A+this.upcomingInput()+`
@@ -1 +1 @@
1
- import{I as h}from"./PhuO6dVo.js";import{c as v}from"./ChTqQfQN.js";import{bs as d}from"./FDVvdcz2.js";const g=v("AttachmentImageUrl");function y(t,n){const r=n.split("/").filter(e=>e.length>0).map(e=>encodeURIComponent(e)).join("/");return`workspace-file://${t}/${r}`}const u=new Map,a=new Map;let f=0,m=!1;function p(){m||(m=!0,d(()=>{f+=1,u.clear(),a.clear()}))}function A(t,n){u.delete(`${t}/${n}`)}function F(t,n,r){p();let e=!1,i=!1,o=!1;async function l(){if(!e){if(i){o=!0;return}i=!0;try{const c=await $(t,n);e||r(c)}finally{i=!1,o&&(o=!1,l())}}}const s=d(()=>{l()});return l(),{imageFailed(){e||(A(t,n),r(null))},dispose(){e=!0,s()}}}function $(t,n){p();const r=f,e=`${t}/${n}`,i=u.get(e);if(i)return Promise.resolve(i);const o=a.get(e);if(o)return o;const l=(async()=>{try{const s=await h({attachmentId:n,workspaceId:t});if(r!==f)return null;if(!s.exists)return g.warn("Attachment file missing on disk",{attachmentId:n}),null;const c=y(t,s.path);return u.set(e,c),c}catch(s){return g.warn("Failed to resolve attachment image",{attachmentId:n,error:s}),null}finally{r===f&&a.delete(e)}})();return a.set(e,l),l}export{A as e,F as o,$ as r};
1
+ import{I as h}from"./Bk1uVK5j.js";import{c as v}from"./ChTqQfQN.js";import{bs as d}from"./CBY4R5Io.js";const g=v("AttachmentImageUrl");function y(t,n){const r=n.split("/").filter(e=>e.length>0).map(e=>encodeURIComponent(e)).join("/");return`workspace-file://${t}/${r}`}const u=new Map,a=new Map;let f=0,m=!1;function p(){m||(m=!0,d(()=>{f+=1,u.clear(),a.clear()}))}function A(t,n){u.delete(`${t}/${n}`)}function F(t,n,r){p();let e=!1,i=!1,o=!1;async function l(){if(!e){if(i){o=!0;return}i=!0;try{const c=await $(t,n);e||r(c)}finally{i=!1,o&&(o=!1,l())}}}const s=d(()=>{l()});return l(),{imageFailed(){e||(A(t,n),r(null))},dispose(){e=!0,s()}}}function $(t,n){p();const r=f,e=`${t}/${n}`,i=u.get(e);if(i)return Promise.resolve(i);const o=a.get(e);if(o)return o;const l=(async()=>{try{const s=await h({attachmentId:n,workspaceId:t});if(r!==f)return null;if(!s.exists)return g.warn("Attachment file missing on disk",{attachmentId:n}),null;const c=y(t,s.path);return u.set(e,c),c}catch(s){return g.warn("Failed to resolve attachment image",{attachmentId:n,error:s}),null}finally{r===f&&a.delete(e)}})();return a.set(e,l),l}export{A as e,F as o,$ as r};
@@ -1 +1 @@
1
- import{s as r,a as s,c as e,C as t}from"./PJDGiarN.js";import{a as i}from"./BeYVLVXM.js";import"./DikRK37J.js";import"./CtrmC64x.js";var u={parser:e,get db(){return new t},renderer:s,styles:r,init:i(a=>{a.class||(a.class={}),a.class.arrowMarkerAbsolute=a.arrowMarkerAbsolute},"init")};export{u as diagram};
1
+ import{s as r,a as s,c as e,C as t}from"./BMBkpFaV.js";import{a as i}from"./D0QGnN9N.js";import"./-EQ6B0ad.js";import"./BrzmNBOR.js";var u={parser:e,get db(){return new t},renderer:s,styles:r,init:i(a=>{a.class||(a.class={}),a.class.arrowMarkerAbsolute=a.arrowMarkerAbsolute},"init")};export{u as diagram};
@@ -1,4 +1,4 @@
1
- import{g as Kt}from"./DwufXbAm.js";import{a as f,aG as Zt,L as jt,aF as qt,K as Wt,aI as Ht,O as Qt,N as st,ad as Y,p as Xt,k as Jt,P as $t,aC as te,i as ee,_ as se,R as ie,ax as re,aV as ae}from"./BeYVLVXM.js";import{s as ne}from"./6WATeGSz.js";import{g as E,c3 as oe}from"./DikRK37J.js";var Nt=(function(){var s=f(function(F,n,l,d){for(l=l||{},d=F.length;d--;l[F[d]]=n);return l},"o"),a=[6,9,21,23,25,27,34,37,38,39,40,41,43,46,47,51,53,54,55],o=[2,2],c=[1,7],r=[1,9],h=[1,10],y=[1,11],b=[1,12],k=[1,30],v=[1,23],p=[1,24],g=[1,25],I=[1,26],D=[1,27],x=[1,19],N=[1,28],A=[1,29],C=[1,20],L=[1,18],w=[1,21],V=[1,22],Ct=[2,6],u=[6,9,21,23,25,27,33,34,37,38,39,40,41,43,46,47,51,53,54,55],ft=[1,36],bt=[1,37],gt=[1,38],yt=[1,39],_t=[1,40],j=[6,9,12,14,16,19,20,21,23,25,27,33,34,37,38,39,40,41,43,46,47,50,51,53,54,55,69,70,71,72,73],M=[1,46],B=[1,47],q=[1,57],W=[43,51,53,54,55,74,75],H=[1,70],Q=[1,68],G=[1,65],X=[1,69],J=[1,71],it=[6,9,12,16,21,23,25,27,33,34,37,38,39,40,41,43,44,45,46,47,51,52,53,54,55,69,70,71,72,73],rt=[1,78],at=[1,77],nt=[1,76],It=[69,70,71,72,73],At=[1,91],Rt=[6,9,45,50],K=[6,9,12,44,45,50,51,52],ot=[1,101],ct=[1,100],lt=[1,99],$=[18,61],vt=[1,110],Dt=[1,109],Lt=[20,43,51,53,54,55],kt=[18,61,64,66],mt={trace:f(E(function(){},"trace"),"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,statement:8,NEWLINE:9,entityName:10,relSpec:11,COLON:12,role:13,STYLE_SEPARATOR:14,idList:15,BLOCK_START:16,attributes:17,BLOCK_STOP:18,SQS:19,SQE:20,title:21,title_value:22,acc_title:23,acc_title_value:24,acc_descr:25,acc_descr_value:26,acc_descr_multiline_value:27,direction:28,classDefStatement:29,classStatement:30,styleStatement:31,subgraphHeader:32,END:33,SUBGRAPH:34,separator:35,subgraphTitle:36,direction_tb:37,direction_bt:38,direction_rl:39,direction_lr:40,CLASSDEF:41,stylesOpt:42,UNICODE_TEXT:43,STYLE_TEXT:44,COMMA:45,CLASS:46,STYLE:47,style:48,styleComponent:49,SEMI:50,NUM:51,BRKT:52,ENTITY_NAME:53,DECIMAL_NUM:54,ENTITY_ONE:55,attribute:56,attributeType:57,attributeName:58,attributeKeyTypeList:59,attributeComment:60,ATTRIBUTE_WORD:61,"?":62,attributeKeyType:63,",":64,ATTRIBUTE_KEY:65,COMMENT:66,cardinality:67,relType:68,ZERO_OR_ONE:69,ZERO_OR_MORE:70,ONE_OR_MORE:71,ONLY_ONE:72,MD_PARENT:73,NON_IDENTIFYING:74,IDENTIFYING:75,WORD:76,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"NEWLINE",12:"COLON",14:"STYLE_SEPARATOR",16:"BLOCK_START",18:"BLOCK_STOP",19:"SQS",20:"SQE",21:"title",22:"title_value",23:"acc_title",24:"acc_title_value",25:"acc_descr",26:"acc_descr_value",27:"acc_descr_multiline_value",33:"END",34:"SUBGRAPH",37:"direction_tb",38:"direction_bt",39:"direction_rl",40:"direction_lr",41:"CLASSDEF",43:"UNICODE_TEXT",44:"STYLE_TEXT",45:"COMMA",46:"CLASS",47:"STYLE",50:"SEMI",51:"NUM",52:"BRKT",53:"ENTITY_NAME",54:"DECIMAL_NUM",55:"ENTITY_ONE",61:"ATTRIBUTE_WORD",62:"?",64:",",65:"ATTRIBUTE_KEY",66:"COMMENT",69:"ZERO_OR_ONE",70:"ZERO_OR_MORE",71:"ONE_OR_MORE",72:"ONLY_ONE",73:"MD_PARENT",74:"NON_IDENTIFYING",75:"IDENTIFYING",76:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[7,1],[8,5],[8,9],[8,7],[8,7],[8,4],[8,6],[8,3],[8,5],[8,1],[8,3],[8,7],[8,9],[8,6],[8,8],[8,4],[8,6],[8,2],[8,2],[8,2],[8,1],[8,1],[8,1],[8,1],[8,1],[8,3],[32,3],[32,6],[36,1],[36,2],[28,1],[28,1],[28,1],[28,1],[29,4],[15,1],[15,1],[15,3],[15,3],[30,3],[31,4],[42,1],[42,3],[48,1],[48,2],[35,1],[35,1],[35,1],[49,1],[49,1],[49,1],[49,1],[10,1],[10,1],[10,1],[10,1],[10,1],[17,1],[17,2],[56,2],[56,3],[56,3],[56,4],[57,1],[57,2],[58,1],[59,1],[59,3],[63,1],[60,1],[11,3],[67,1],[67,1],[67,1],[67,1],[67,1],[68,1],[68,1],[13,1],[13,1],[13,1]],performAction:f(E(function(n,l,d,i,_,t,et){var e=t.length-1;switch(_){case 1:break;case 2:this.$=[];break;case 3:this.$=t[e-1].concat(t[e]);break;case 4:this.$=t[e];break;case 5:case 6:this.$=[];break;case 7:i.addEntity(t[e-4]),i.addEntity(t[e-2]),i.addRelationship(t[e-4],t[e],t[e-2],t[e-3]),this.$=[t[e-4],t[e-2]];break;case 8:i.addEntity(t[e-8]),i.addEntity(t[e-4]),i.addRelationship(t[e-8],t[e],t[e-4],t[e-5]),i.setClass([t[e-8]],t[e-6]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-8],t[e-4]];break;case 9:i.addEntity(t[e-6]),i.addEntity(t[e-2]),i.addRelationship(t[e-6],t[e],t[e-2],t[e-3]),i.setClass([t[e-6]],t[e-4]),this.$=[t[e-6],t[e-2]];break;case 10:i.addEntity(t[e-6]),i.addEntity(t[e-4]),i.addRelationship(t[e-6],t[e],t[e-4],t[e-5]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-6],t[e-4]];break;case 11:i.addEntity(t[e-3]),i.addAttributes(t[e-3],t[e-1]),this.$=[t[e-3]];break;case 12:i.addEntity(t[e-5]),i.addAttributes(t[e-5],t[e-1]),i.setClass([t[e-5]],t[e-3]),this.$=[t[e-5]];break;case 13:i.addEntity(t[e-2]),this.$=[t[e-2]];break;case 14:i.addEntity(t[e-4]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-4]];break;case 15:i.addEntity(t[e]),this.$=[t[e]];break;case 16:i.addEntity(t[e-2]),i.setClass([t[e-2]],t[e]),this.$=[t[e-2]];break;case 17:i.addEntity(t[e-6],t[e-4]),i.addAttributes(t[e-6],t[e-1]),this.$=[t[e-6]];break;case 18:i.addEntity(t[e-8],t[e-6]),i.addAttributes(t[e-8],t[e-1]),i.setClass([t[e-8]],t[e-3]),this.$=[t[e-8]];break;case 19:i.addEntity(t[e-5],t[e-3]),this.$=[t[e-5]];break;case 20:i.addEntity(t[e-7],t[e-5]),i.setClass([t[e-7]],t[e-2]),this.$=[t[e-7]];break;case 21:i.addEntity(t[e-3],t[e-1]);break;case 22:i.addEntity(t[e-5],t[e-3]),i.setClass([t[e-5]],t[e]);break;case 23:case 24:this.$=t[e].trim(),i.setAccTitle(this.$);break;case 25:case 26:this.$=t[e].trim(),i.setAccDescription(this.$);break;case 27:i.subgraphDepth?this.$=t[e]:(i.setDirection(t[e].value),this.$=[]);break;case 31:i.subgraphDepth=(i.subgraphDepth||1)-1,this.$=i.addSubGraph({text:t[e-2].id},t[e-1],{text:t[e-2].text});break;case 32:i.subgraphDepth=(i.subgraphDepth||0)+1,this.$={id:t[e-1],text:t[e-1]};break;case 33:i.subgraphDepth=(i.subgraphDepth||0)+1,this.$={id:t[e-4],text:t[e-2]};break;case 34:case 59:case 60:case 61:case 62:case 86:this.$=t[e];break;case 35:this.$=t[e-1]+" "+t[e];break;case 36:this.$={stmt:"dir",value:"TB"};break;case 37:this.$={stmt:"dir",value:"BT"};break;case 38:this.$={stmt:"dir",value:"RL"};break;case 39:this.$={stmt:"dir",value:"LR"};break;case 40:this.$=t[e-3],i.addClass(t[e-2],t[e-1]);break;case 41:case 42:case 63:case 72:this.$=[t[e]];break;case 43:case 44:this.$=t[e-2].concat([t[e]]);break;case 45:this.$=t[e-2],i.setClass(t[e-1],t[e]);break;case 46:this.$=t[e-3],i.addCssStyles(t[e-2],t[e-1]);break;case 47:this.$=[t[e]];break;case 48:t[e-2].push(t[e]),this.$=t[e-2];break;case 50:this.$=t[e-1]+t[e];break;case 58:case 84:case 85:this.$=t[e].replace(/"/g,"");break;case 64:t[e].push(t[e-1]),this.$=t[e];break;case 65:this.$={type:t[e-1],name:t[e]};break;case 66:this.$={type:t[e-2],name:t[e-1],keys:t[e]};break;case 67:this.$={type:t[e-2],name:t[e-1],comment:t[e]};break;case 68:this.$={type:t[e-3],name:t[e-2],keys:t[e-1],comment:t[e]};break;case 69:case 71:case 74:this.$=t[e];break;case 70:this.$=t[e-1]+t[e];break;case 73:t[e-2].push(t[e]),this.$=t[e-2];break;case 75:this.$=t[e].replace(/"/g,"");break;case 76:this.$={cardA:t[e],relType:t[e-1],cardB:t[e-2]};break;case 77:this.$=i.Cardinality.ZERO_OR_ONE;break;case 78:this.$=i.Cardinality.ZERO_OR_MORE;break;case 79:this.$=i.Cardinality.ONE_OR_MORE;break;case 80:this.$=i.Cardinality.ONLY_ONE;break;case 81:this.$=i.Cardinality.MD_PARENT;break;case 82:this.$=i.Identification.NON_IDENTIFYING;break;case 83:this.$=i.Identification.IDENTIFYING;break}},"anonymous"),"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},s(a,o,{5:3}),{6:[1,4],7:5,8:6,9:c,10:8,21:r,23:h,25:y,27:b,28:13,29:14,30:15,31:16,32:17,34:k,37:v,38:p,39:g,40:I,41:D,43:x,46:N,47:A,51:C,53:L,54:w,55:V},s(a,Ct,{1:[2,1]}),s(u,[2,3]),s(u,[2,4]),s(u,[2,5]),s(u,[2,15],{11:31,67:35,14:[1,32],16:[1,33],19:[1,34],69:ft,70:bt,71:gt,72:yt,73:_t}),{22:[1,41]},{24:[1,42]},{26:[1,43]},s(u,[2,26]),s(u,[2,27]),s(u,[2,28]),s(u,[2,29]),s(u,[2,30]),s(u,o,{5:44}),s(j,[2,58]),s(j,[2,59]),s(j,[2,60]),s(j,[2,61]),s(j,[2,62]),s(u,[2,36]),s(u,[2,37]),s(u,[2,38]),s(u,[2,39]),{15:45,43:M,44:B},{15:48,43:M,44:B},{15:49,43:M,44:B},{10:50,43:x,51:C,53:L,54:w,55:V},{10:51,43:x,51:C,53:L,54:w,55:V},{15:52,43:M,44:B},{17:53,18:[1,54],56:55,57:56,61:q},{10:58,43:x,51:C,53:L,54:w,55:V},{68:59,74:[1,60],75:[1,61]},s(W,[2,77]),s(W,[2,78]),s(W,[2,79]),s(W,[2,80]),s(W,[2,81]),s(u,[2,23]),s(u,[2,24]),s(u,[2,25]),{6:[1,63],7:5,8:6,9:c,10:8,21:r,23:h,25:y,27:b,28:13,29:14,30:15,31:16,32:17,33:[1,62],34:k,37:v,38:p,39:g,40:I,41:D,43:x,46:N,47:A,51:C,53:L,54:w,55:V},{12:H,42:64,44:Q,45:G,48:66,49:67,51:X,52:J},s(it,[2,41]),s(it,[2,42]),{15:72,43:M,44:B,45:G},{12:H,42:73,44:Q,45:G,48:66,49:67,51:X,52:J},{6:rt,9:at,19:[1,75],35:74,50:nt},{12:[1,79],14:[1,80]},s(u,[2,16],{67:35,11:81,16:[1,82],45:G,69:ft,70:bt,71:gt,72:yt,73:_t}),{18:[1,83]},s(u,[2,13]),{17:84,18:[2,63],56:55,57:56,61:q},{58:85,61:[1,86]},{61:[2,69],62:[1,87]},{20:[1,88]},{67:89,69:ft,70:bt,71:gt,72:yt,73:_t},s(It,[2,82]),s(It,[2,83]),s(u,[2,31]),s(u,Ct),{6:rt,9:at,35:90,45:At,50:nt},{43:[1,92],44:[1,93]},s(Rt,[2,47],{49:94,12:H,44:Q,51:X,52:J}),s(K,[2,49]),s(K,[2,54]),s(K,[2,55]),s(K,[2,56]),s(K,[2,57]),s(u,[2,45],{45:G}),{6:rt,9:at,35:95,45:At,50:nt},s(u,[2,32]),{10:97,36:96,43:x,51:C,53:L,54:w,55:V},s(u,[2,51]),s(u,[2,52]),s(u,[2,53]),{13:98,43:ot,53:ct,76:lt},{15:102,43:M,44:B},{10:103,43:x,51:C,53:L,54:w,55:V},{17:104,18:[1,105],56:55,57:56,61:q},s(u,[2,11]),{18:[2,64]},s($,[2,65],{59:106,60:107,63:108,65:vt,66:Dt}),s([18,61,65,66],[2,71]),{61:[2,70]},s(u,[2,21],{14:[1,112],16:[1,111]}),s([43,51,53,54,55],[2,76]),s(u,[2,40]),{12:H,44:Q,48:113,49:67,51:X,52:J},s(it,[2,43]),s(it,[2,44]),s(K,[2,50]),s(u,[2,46]),{10:115,20:[1,114],43:x,51:C,53:L,54:w,55:V},s(Lt,[2,34]),s(u,[2,7]),s(u,[2,84]),s(u,[2,85]),s(u,[2,86]),{12:[1,116],45:G},{12:[1,118],14:[1,117]},{18:[1,119]},s(u,[2,14]),s($,[2,66],{60:120,64:[1,121],66:Dt}),s($,[2,67]),s(kt,[2,72]),s($,[2,75]),s(kt,[2,74]),{17:122,18:[1,123],56:55,57:56,61:q},{15:124,43:M,44:B},s(Rt,[2,48],{49:94,12:H,44:Q,51:X,52:J}),{6:rt,9:at,35:125,50:nt},s(Lt,[2,35]),{13:126,43:ot,53:ct,76:lt},{15:127,43:M,44:B},{13:128,43:ot,53:ct,76:lt},s(u,[2,12]),s($,[2,68]),{63:129,65:vt},{18:[1,130]},s(u,[2,19]),s(u,[2,22],{16:[1,131],45:G}),s(u,[2,33]),s(u,[2,10]),{12:[1,132],45:G},s(u,[2,9]),s(kt,[2,73]),s(u,[2,17]),{17:133,18:[1,134],56:55,57:56,61:q},{13:135,43:ot,53:ct,76:lt},{18:[1,136]},s(u,[2,20]),s(u,[2,8]),s(u,[2,18])],defaultActions:{84:[2,64],87:[2,70]},parseError:f(E(function(n,l){if(l.recoverable)this.trace(n);else{var d=new Error(n);throw d.hash=l,d}},"parseError"),"parseError"),parse:f(E(function(n){var l=this,d=[0],i=[],_=[null],t=[],et=this.table,e="",ht=0,wt=0,Pt=2,Vt=1,zt=t.slice.call(arguments,1),m=Object.create(this.lexer),P={yy:{}};for(var Et in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Et)&&(P.yy[Et]=this.yy[Et]);m.setInput(n,P.yy),P.yy.lexer=m,P.yy.parser=this,typeof m.yylloc>"u"&&(m.yylloc={});var St=m.yylloc;t.push(St);var Ut=m.options&&m.options.ranges;typeof P.yy.parseError=="function"?this.parseError=P.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Mt(T){d.length=d.length-2*T,_.length=_.length-T,t.length=t.length-T}E(Mt,"popStack"),f(Mt,"popStack");function Tt(){var T;return T=i.pop()||m.lex()||Vt,typeof T!="number"&&(T instanceof Array&&(i=T,T=i.pop()),T=l.symbols_[T]||T),T}E(Tt,"lex"),f(Tt,"lex");for(var S,z,O,Ot,Z={},ut,R,Bt,dt;;){if(z=d[d.length-1],this.defaultActions[z]?O=this.defaultActions[z]:((S===null||typeof S>"u")&&(S=Tt()),O=et[z]&&et[z][S]),typeof O>"u"||!O.length||!O[0]){var xt="";dt=[];for(ut in et[z])this.terminals_[ut]&&ut>Pt&&dt.push("'"+this.terminals_[ut]+"'");m.showPosition?xt="Parse error on line "+(ht+1)+`:
1
+ import{g as Kt}from"./DkfRsyNq.js";import{a as f,aG as Zt,L as jt,aF as qt,K as Wt,aI as Ht,O as Qt,N as st,ad as Y,p as Xt,k as Jt,P as $t,aC as te,i as ee,_ as se,R as ie,ax as re,aV as ae}from"./D0QGnN9N.js";import{s as ne}from"./Cobn53T5.js";import{g as E,c3 as oe}from"./-EQ6B0ad.js";var Nt=(function(){var s=f(function(F,n,l,d){for(l=l||{},d=F.length;d--;l[F[d]]=n);return l},"o"),a=[6,9,21,23,25,27,34,37,38,39,40,41,43,46,47,51,53,54,55],o=[2,2],c=[1,7],r=[1,9],h=[1,10],y=[1,11],b=[1,12],k=[1,30],v=[1,23],p=[1,24],g=[1,25],I=[1,26],D=[1,27],x=[1,19],N=[1,28],A=[1,29],C=[1,20],L=[1,18],w=[1,21],V=[1,22],Ct=[2,6],u=[6,9,21,23,25,27,33,34,37,38,39,40,41,43,46,47,51,53,54,55],ft=[1,36],bt=[1,37],gt=[1,38],yt=[1,39],_t=[1,40],j=[6,9,12,14,16,19,20,21,23,25,27,33,34,37,38,39,40,41,43,46,47,50,51,53,54,55,69,70,71,72,73],M=[1,46],B=[1,47],q=[1,57],W=[43,51,53,54,55,74,75],H=[1,70],Q=[1,68],G=[1,65],X=[1,69],J=[1,71],it=[6,9,12,16,21,23,25,27,33,34,37,38,39,40,41,43,44,45,46,47,51,52,53,54,55,69,70,71,72,73],rt=[1,78],at=[1,77],nt=[1,76],It=[69,70,71,72,73],At=[1,91],Rt=[6,9,45,50],K=[6,9,12,44,45,50,51,52],ot=[1,101],ct=[1,100],lt=[1,99],$=[18,61],vt=[1,110],Dt=[1,109],Lt=[20,43,51,53,54,55],kt=[18,61,64,66],mt={trace:f(E(function(){},"trace"),"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,statement:8,NEWLINE:9,entityName:10,relSpec:11,COLON:12,role:13,STYLE_SEPARATOR:14,idList:15,BLOCK_START:16,attributes:17,BLOCK_STOP:18,SQS:19,SQE:20,title:21,title_value:22,acc_title:23,acc_title_value:24,acc_descr:25,acc_descr_value:26,acc_descr_multiline_value:27,direction:28,classDefStatement:29,classStatement:30,styleStatement:31,subgraphHeader:32,END:33,SUBGRAPH:34,separator:35,subgraphTitle:36,direction_tb:37,direction_bt:38,direction_rl:39,direction_lr:40,CLASSDEF:41,stylesOpt:42,UNICODE_TEXT:43,STYLE_TEXT:44,COMMA:45,CLASS:46,STYLE:47,style:48,styleComponent:49,SEMI:50,NUM:51,BRKT:52,ENTITY_NAME:53,DECIMAL_NUM:54,ENTITY_ONE:55,attribute:56,attributeType:57,attributeName:58,attributeKeyTypeList:59,attributeComment:60,ATTRIBUTE_WORD:61,"?":62,attributeKeyType:63,",":64,ATTRIBUTE_KEY:65,COMMENT:66,cardinality:67,relType:68,ZERO_OR_ONE:69,ZERO_OR_MORE:70,ONE_OR_MORE:71,ONLY_ONE:72,MD_PARENT:73,NON_IDENTIFYING:74,IDENTIFYING:75,WORD:76,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"NEWLINE",12:"COLON",14:"STYLE_SEPARATOR",16:"BLOCK_START",18:"BLOCK_STOP",19:"SQS",20:"SQE",21:"title",22:"title_value",23:"acc_title",24:"acc_title_value",25:"acc_descr",26:"acc_descr_value",27:"acc_descr_multiline_value",33:"END",34:"SUBGRAPH",37:"direction_tb",38:"direction_bt",39:"direction_rl",40:"direction_lr",41:"CLASSDEF",43:"UNICODE_TEXT",44:"STYLE_TEXT",45:"COMMA",46:"CLASS",47:"STYLE",50:"SEMI",51:"NUM",52:"BRKT",53:"ENTITY_NAME",54:"DECIMAL_NUM",55:"ENTITY_ONE",61:"ATTRIBUTE_WORD",62:"?",64:",",65:"ATTRIBUTE_KEY",66:"COMMENT",69:"ZERO_OR_ONE",70:"ZERO_OR_MORE",71:"ONE_OR_MORE",72:"ONLY_ONE",73:"MD_PARENT",74:"NON_IDENTIFYING",75:"IDENTIFYING",76:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[7,1],[8,5],[8,9],[8,7],[8,7],[8,4],[8,6],[8,3],[8,5],[8,1],[8,3],[8,7],[8,9],[8,6],[8,8],[8,4],[8,6],[8,2],[8,2],[8,2],[8,1],[8,1],[8,1],[8,1],[8,1],[8,3],[32,3],[32,6],[36,1],[36,2],[28,1],[28,1],[28,1],[28,1],[29,4],[15,1],[15,1],[15,3],[15,3],[30,3],[31,4],[42,1],[42,3],[48,1],[48,2],[35,1],[35,1],[35,1],[49,1],[49,1],[49,1],[49,1],[10,1],[10,1],[10,1],[10,1],[10,1],[17,1],[17,2],[56,2],[56,3],[56,3],[56,4],[57,1],[57,2],[58,1],[59,1],[59,3],[63,1],[60,1],[11,3],[67,1],[67,1],[67,1],[67,1],[67,1],[68,1],[68,1],[13,1],[13,1],[13,1]],performAction:f(E(function(n,l,d,i,_,t,et){var e=t.length-1;switch(_){case 1:break;case 2:this.$=[];break;case 3:this.$=t[e-1].concat(t[e]);break;case 4:this.$=t[e];break;case 5:case 6:this.$=[];break;case 7:i.addEntity(t[e-4]),i.addEntity(t[e-2]),i.addRelationship(t[e-4],t[e],t[e-2],t[e-3]),this.$=[t[e-4],t[e-2]];break;case 8:i.addEntity(t[e-8]),i.addEntity(t[e-4]),i.addRelationship(t[e-8],t[e],t[e-4],t[e-5]),i.setClass([t[e-8]],t[e-6]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-8],t[e-4]];break;case 9:i.addEntity(t[e-6]),i.addEntity(t[e-2]),i.addRelationship(t[e-6],t[e],t[e-2],t[e-3]),i.setClass([t[e-6]],t[e-4]),this.$=[t[e-6],t[e-2]];break;case 10:i.addEntity(t[e-6]),i.addEntity(t[e-4]),i.addRelationship(t[e-6],t[e],t[e-4],t[e-5]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-6],t[e-4]];break;case 11:i.addEntity(t[e-3]),i.addAttributes(t[e-3],t[e-1]),this.$=[t[e-3]];break;case 12:i.addEntity(t[e-5]),i.addAttributes(t[e-5],t[e-1]),i.setClass([t[e-5]],t[e-3]),this.$=[t[e-5]];break;case 13:i.addEntity(t[e-2]),this.$=[t[e-2]];break;case 14:i.addEntity(t[e-4]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-4]];break;case 15:i.addEntity(t[e]),this.$=[t[e]];break;case 16:i.addEntity(t[e-2]),i.setClass([t[e-2]],t[e]),this.$=[t[e-2]];break;case 17:i.addEntity(t[e-6],t[e-4]),i.addAttributes(t[e-6],t[e-1]),this.$=[t[e-6]];break;case 18:i.addEntity(t[e-8],t[e-6]),i.addAttributes(t[e-8],t[e-1]),i.setClass([t[e-8]],t[e-3]),this.$=[t[e-8]];break;case 19:i.addEntity(t[e-5],t[e-3]),this.$=[t[e-5]];break;case 20:i.addEntity(t[e-7],t[e-5]),i.setClass([t[e-7]],t[e-2]),this.$=[t[e-7]];break;case 21:i.addEntity(t[e-3],t[e-1]);break;case 22:i.addEntity(t[e-5],t[e-3]),i.setClass([t[e-5]],t[e]);break;case 23:case 24:this.$=t[e].trim(),i.setAccTitle(this.$);break;case 25:case 26:this.$=t[e].trim(),i.setAccDescription(this.$);break;case 27:i.subgraphDepth?this.$=t[e]:(i.setDirection(t[e].value),this.$=[]);break;case 31:i.subgraphDepth=(i.subgraphDepth||1)-1,this.$=i.addSubGraph({text:t[e-2].id},t[e-1],{text:t[e-2].text});break;case 32:i.subgraphDepth=(i.subgraphDepth||0)+1,this.$={id:t[e-1],text:t[e-1]};break;case 33:i.subgraphDepth=(i.subgraphDepth||0)+1,this.$={id:t[e-4],text:t[e-2]};break;case 34:case 59:case 60:case 61:case 62:case 86:this.$=t[e];break;case 35:this.$=t[e-1]+" "+t[e];break;case 36:this.$={stmt:"dir",value:"TB"};break;case 37:this.$={stmt:"dir",value:"BT"};break;case 38:this.$={stmt:"dir",value:"RL"};break;case 39:this.$={stmt:"dir",value:"LR"};break;case 40:this.$=t[e-3],i.addClass(t[e-2],t[e-1]);break;case 41:case 42:case 63:case 72:this.$=[t[e]];break;case 43:case 44:this.$=t[e-2].concat([t[e]]);break;case 45:this.$=t[e-2],i.setClass(t[e-1],t[e]);break;case 46:this.$=t[e-3],i.addCssStyles(t[e-2],t[e-1]);break;case 47:this.$=[t[e]];break;case 48:t[e-2].push(t[e]),this.$=t[e-2];break;case 50:this.$=t[e-1]+t[e];break;case 58:case 84:case 85:this.$=t[e].replace(/"/g,"");break;case 64:t[e].push(t[e-1]),this.$=t[e];break;case 65:this.$={type:t[e-1],name:t[e]};break;case 66:this.$={type:t[e-2],name:t[e-1],keys:t[e]};break;case 67:this.$={type:t[e-2],name:t[e-1],comment:t[e]};break;case 68:this.$={type:t[e-3],name:t[e-2],keys:t[e-1],comment:t[e]};break;case 69:case 71:case 74:this.$=t[e];break;case 70:this.$=t[e-1]+t[e];break;case 73:t[e-2].push(t[e]),this.$=t[e-2];break;case 75:this.$=t[e].replace(/"/g,"");break;case 76:this.$={cardA:t[e],relType:t[e-1],cardB:t[e-2]};break;case 77:this.$=i.Cardinality.ZERO_OR_ONE;break;case 78:this.$=i.Cardinality.ZERO_OR_MORE;break;case 79:this.$=i.Cardinality.ONE_OR_MORE;break;case 80:this.$=i.Cardinality.ONLY_ONE;break;case 81:this.$=i.Cardinality.MD_PARENT;break;case 82:this.$=i.Identification.NON_IDENTIFYING;break;case 83:this.$=i.Identification.IDENTIFYING;break}},"anonymous"),"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},s(a,o,{5:3}),{6:[1,4],7:5,8:6,9:c,10:8,21:r,23:h,25:y,27:b,28:13,29:14,30:15,31:16,32:17,34:k,37:v,38:p,39:g,40:I,41:D,43:x,46:N,47:A,51:C,53:L,54:w,55:V},s(a,Ct,{1:[2,1]}),s(u,[2,3]),s(u,[2,4]),s(u,[2,5]),s(u,[2,15],{11:31,67:35,14:[1,32],16:[1,33],19:[1,34],69:ft,70:bt,71:gt,72:yt,73:_t}),{22:[1,41]},{24:[1,42]},{26:[1,43]},s(u,[2,26]),s(u,[2,27]),s(u,[2,28]),s(u,[2,29]),s(u,[2,30]),s(u,o,{5:44}),s(j,[2,58]),s(j,[2,59]),s(j,[2,60]),s(j,[2,61]),s(j,[2,62]),s(u,[2,36]),s(u,[2,37]),s(u,[2,38]),s(u,[2,39]),{15:45,43:M,44:B},{15:48,43:M,44:B},{15:49,43:M,44:B},{10:50,43:x,51:C,53:L,54:w,55:V},{10:51,43:x,51:C,53:L,54:w,55:V},{15:52,43:M,44:B},{17:53,18:[1,54],56:55,57:56,61:q},{10:58,43:x,51:C,53:L,54:w,55:V},{68:59,74:[1,60],75:[1,61]},s(W,[2,77]),s(W,[2,78]),s(W,[2,79]),s(W,[2,80]),s(W,[2,81]),s(u,[2,23]),s(u,[2,24]),s(u,[2,25]),{6:[1,63],7:5,8:6,9:c,10:8,21:r,23:h,25:y,27:b,28:13,29:14,30:15,31:16,32:17,33:[1,62],34:k,37:v,38:p,39:g,40:I,41:D,43:x,46:N,47:A,51:C,53:L,54:w,55:V},{12:H,42:64,44:Q,45:G,48:66,49:67,51:X,52:J},s(it,[2,41]),s(it,[2,42]),{15:72,43:M,44:B,45:G},{12:H,42:73,44:Q,45:G,48:66,49:67,51:X,52:J},{6:rt,9:at,19:[1,75],35:74,50:nt},{12:[1,79],14:[1,80]},s(u,[2,16],{67:35,11:81,16:[1,82],45:G,69:ft,70:bt,71:gt,72:yt,73:_t}),{18:[1,83]},s(u,[2,13]),{17:84,18:[2,63],56:55,57:56,61:q},{58:85,61:[1,86]},{61:[2,69],62:[1,87]},{20:[1,88]},{67:89,69:ft,70:bt,71:gt,72:yt,73:_t},s(It,[2,82]),s(It,[2,83]),s(u,[2,31]),s(u,Ct),{6:rt,9:at,35:90,45:At,50:nt},{43:[1,92],44:[1,93]},s(Rt,[2,47],{49:94,12:H,44:Q,51:X,52:J}),s(K,[2,49]),s(K,[2,54]),s(K,[2,55]),s(K,[2,56]),s(K,[2,57]),s(u,[2,45],{45:G}),{6:rt,9:at,35:95,45:At,50:nt},s(u,[2,32]),{10:97,36:96,43:x,51:C,53:L,54:w,55:V},s(u,[2,51]),s(u,[2,52]),s(u,[2,53]),{13:98,43:ot,53:ct,76:lt},{15:102,43:M,44:B},{10:103,43:x,51:C,53:L,54:w,55:V},{17:104,18:[1,105],56:55,57:56,61:q},s(u,[2,11]),{18:[2,64]},s($,[2,65],{59:106,60:107,63:108,65:vt,66:Dt}),s([18,61,65,66],[2,71]),{61:[2,70]},s(u,[2,21],{14:[1,112],16:[1,111]}),s([43,51,53,54,55],[2,76]),s(u,[2,40]),{12:H,44:Q,48:113,49:67,51:X,52:J},s(it,[2,43]),s(it,[2,44]),s(K,[2,50]),s(u,[2,46]),{10:115,20:[1,114],43:x,51:C,53:L,54:w,55:V},s(Lt,[2,34]),s(u,[2,7]),s(u,[2,84]),s(u,[2,85]),s(u,[2,86]),{12:[1,116],45:G},{12:[1,118],14:[1,117]},{18:[1,119]},s(u,[2,14]),s($,[2,66],{60:120,64:[1,121],66:Dt}),s($,[2,67]),s(kt,[2,72]),s($,[2,75]),s(kt,[2,74]),{17:122,18:[1,123],56:55,57:56,61:q},{15:124,43:M,44:B},s(Rt,[2,48],{49:94,12:H,44:Q,51:X,52:J}),{6:rt,9:at,35:125,50:nt},s(Lt,[2,35]),{13:126,43:ot,53:ct,76:lt},{15:127,43:M,44:B},{13:128,43:ot,53:ct,76:lt},s(u,[2,12]),s($,[2,68]),{63:129,65:vt},{18:[1,130]},s(u,[2,19]),s(u,[2,22],{16:[1,131],45:G}),s(u,[2,33]),s(u,[2,10]),{12:[1,132],45:G},s(u,[2,9]),s(kt,[2,73]),s(u,[2,17]),{17:133,18:[1,134],56:55,57:56,61:q},{13:135,43:ot,53:ct,76:lt},{18:[1,136]},s(u,[2,20]),s(u,[2,8]),s(u,[2,18])],defaultActions:{84:[2,64],87:[2,70]},parseError:f(E(function(n,l){if(l.recoverable)this.trace(n);else{var d=new Error(n);throw d.hash=l,d}},"parseError"),"parseError"),parse:f(E(function(n){var l=this,d=[0],i=[],_=[null],t=[],et=this.table,e="",ht=0,wt=0,Pt=2,Vt=1,zt=t.slice.call(arguments,1),m=Object.create(this.lexer),P={yy:{}};for(var Et in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Et)&&(P.yy[Et]=this.yy[Et]);m.setInput(n,P.yy),P.yy.lexer=m,P.yy.parser=this,typeof m.yylloc>"u"&&(m.yylloc={});var St=m.yylloc;t.push(St);var Ut=m.options&&m.options.ranges;typeof P.yy.parseError=="function"?this.parseError=P.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Mt(T){d.length=d.length-2*T,_.length=_.length-T,t.length=t.length-T}E(Mt,"popStack"),f(Mt,"popStack");function Tt(){var T;return T=i.pop()||m.lex()||Vt,typeof T!="number"&&(T instanceof Array&&(i=T,T=i.pop()),T=l.symbols_[T]||T),T}E(Tt,"lex"),f(Tt,"lex");for(var S,z,O,Ot,Z={},ut,R,Bt,dt;;){if(z=d[d.length-1],this.defaultActions[z]?O=this.defaultActions[z]:((S===null||typeof S>"u")&&(S=Tt()),O=et[z]&&et[z][S]),typeof O>"u"||!O.length||!O[0]){var xt="";dt=[];for(ut in et[z])this.terminals_[ut]&&ut>Pt&&dt.push("'"+this.terminals_[ut]+"'");m.showPosition?xt="Parse error on line "+(ht+1)+`:
2
2
  `+m.showPosition()+`
3
3
  Expecting `+dt.join(", ")+", got '"+(this.terminals_[S]||S)+"'":xt="Parse error on line "+(ht+1)+": Unexpected "+(S==Vt?"end of input":"'"+(this.terminals_[S]||S)+"'"),this.parseError(xt,{text:m.match,token:this.terminals_[S]||S,line:m.yylineno,loc:St,expected:dt})}if(O[0]instanceof Array&&O.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+S);switch(O[0]){case 1:d.push(S),_.push(m.yytext),t.push(m.yylloc),d.push(O[1]),S=null,wt=m.yyleng,e=m.yytext,ht=m.yylineno,St=m.yylloc;break;case 2:if(R=this.productions_[O[1]][1],Z.$=_[_.length-R],Z._$={first_line:t[t.length-(R||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(R||1)].first_column,last_column:t[t.length-1].last_column},Ut&&(Z._$.range=[t[t.length-(R||1)].range[0],t[t.length-1].range[1]]),Ot=this.performAction.apply(Z,[e,wt,ht,P.yy,O[1],_,t].concat(zt)),typeof Ot<"u")return Ot;R&&(d=d.slice(0,-1*R*2),_=_.slice(0,-1*R),t=t.slice(0,-1*R)),d.push(this.productions_[O[1]][0]),_.push(Z.$),t.push(Z._$),Bt=et[d[d.length-2]][d[d.length-1]],d.push(Bt);break;case 3:return!0}}return!0},"parse"),"parse")},Yt=(function(){var F={EOF:1,parseError:f(E(function(l,d){if(this.yy.parser)this.yy.parser.parseError(l,d);else throw new Error(l)},"parseError"),"parseError"),setInput:f(function(n,l){return this.yy=l||this.yy||{},this._input=n,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:f(function(){var n=this._input[0];this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n;var l=n.match(/(?:\r\n?|\n).*/g);return l?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),n},"input"),unput:f(function(n){var l=n.length,d=n.split(/(?:\r\n?|\n)/g);this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-l),this.offset-=l;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),d.length-1&&(this.yylineno-=d.length-1);var _=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:d?(d.length===i.length?this.yylloc.first_column:0)+i[i.length-d.length].length-d[0].length:this.yylloc.first_column-l},this.options.ranges&&(this.yylloc.range=[_[0],_[0]+this.yyleng-l]),this.yyleng=this.yytext.length,this},"unput"),more:f(function(){return this._more=!0,this},"more"),reject:f(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:f(function(n){this.unput(this.match.slice(n))},"less"),pastInput:f(function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:f(function(){var n=this.match;return n.length<20&&(n+=this._input.substr(0,20-n.length)),(n.substr(0,20)+(n.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:f(function(){var n=this.pastInput(),l=new Array(n.length+1).join("-");return n+this.upcomingInput()+`