@aiquants/markdown 12.2.2 → 12.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (139) hide show
  1. package/README.md +114 -17
  2. package/dist/{abnfDiagram-VRR7QNED-D7guUA6t.js → abnfDiagram-VRR7QNED-B_QmXzWv.js} +3 -3
  3. package/dist/{abnfDiagram-VRR7QNED-Bs1Lli7v.cjs → abnfDiagram-VRR7QNED-Crz-ChMJ.cjs} +1 -1
  4. package/dist/{arc-xPU6Axjw.js → arc-BKGy6Me1.js} +32 -32
  5. package/dist/{arc-BV4FYgD0.cjs → arc-CYJCyviq.cjs} +1 -1
  6. package/dist/{architectureDiagram-ZJ3FMSHR-B9UK4ETe.js → architectureDiagram-ZJ3FMSHR-CEb923Bc.js} +123 -123
  7. package/dist/{architectureDiagram-ZJ3FMSHR-CPNuH39N.cjs → architectureDiagram-ZJ3FMSHR-gTB8pttO.cjs} +1 -1
  8. package/dist/{blockDiagram-677ZJIJ3-DsIH53GY.js → blockDiagram-677ZJIJ3-CmKMdhaS.js} +166 -166
  9. package/dist/{blockDiagram-677ZJIJ3-BQmOW2vo.cjs → blockDiagram-677ZJIJ3-D7RRzjUx.cjs} +1 -1
  10. package/dist/{c4Diagram-LMCZKHZV-DaMrTY75.js → c4Diagram-LMCZKHZV-CG6fvZQo.js} +2 -2
  11. package/dist/{c4Diagram-LMCZKHZV-BUAIHxmT.cjs → c4Diagram-LMCZKHZV-W7Qa-ecL.cjs} +1 -1
  12. package/dist/{channel-LyP4eSUH.cjs → channel-BKoPLS2j.cjs} +1 -1
  13. package/dist/{channel-DF_BgJtv.js → channel-TsF8sms_.js} +1 -1
  14. package/dist/{chunk-2Q5K7J3B-Bv43-wHE.js → chunk-2Q5K7J3B-CopwR1m3.js} +1 -1
  15. package/dist/{chunk-2Q5K7J3B-CxctoKh9.cjs → chunk-2Q5K7J3B-DgtYKcDs.cjs} +1 -1
  16. package/dist/{chunk-32BRIVSS-Fs4Q9289.js → chunk-32BRIVSS-BnNlhc1M.js} +1 -1
  17. package/dist/{chunk-32BRIVSS-O40GKD8W.cjs → chunk-32BRIVSS-D-6GBFtx.cjs} +1 -1
  18. package/dist/{chunk-5VM5RSS4-BxJadfPW.js → chunk-5VM5RSS4-O28FGAOF.js} +1 -1
  19. package/dist/{chunk-5VM5RSS4-6BUIzmMt.cjs → chunk-5VM5RSS4-lKwSmIqG.cjs} +1 -1
  20. package/dist/{chunk-EX3LRPZG-B5CmejZw.js → chunk-EX3LRPZG-C36gZH3_.js} +26 -26
  21. package/dist/{chunk-EX3LRPZG-KT7UGMw6.cjs → chunk-EX3LRPZG-CtFe4olX.cjs} +1 -1
  22. package/dist/{chunk-JWPE2WC7-BmpMRM-q.cjs → chunk-JWPE2WC7-5sd39cpa.cjs} +1 -1
  23. package/dist/{chunk-JWPE2WC7-2ASFd6uu.js → chunk-JWPE2WC7-DG0ebjV4.js} +1 -1
  24. package/dist/{chunk-MOJQB5TN-CNHbJr9Y.cjs → chunk-MOJQB5TN-DADVbG98.cjs} +1 -1
  25. package/dist/{chunk-MOJQB5TN-x_GeHYkj.js → chunk-MOJQB5TN-nqR_swpx.js} +15 -15
  26. package/dist/{chunk-PUDLZKDR-CRE6tWjr.cjs → chunk-PUDLZKDR-BUSFO-Gx.cjs} +1 -1
  27. package/dist/{chunk-PUDLZKDR-ClDkO_XD.js → chunk-PUDLZKDR-CD96jce3.js} +13 -13
  28. package/dist/{chunk-RYQCIY6F-B4bh38Ei.cjs → chunk-RYQCIY6F-BBTBydZd.cjs} +1 -1
  29. package/dist/{chunk-RYQCIY6F-D9aA06dU.js → chunk-RYQCIY6F-DJkrr1sD.js} +5 -5
  30. package/dist/{chunk-V7JOEXUC-DL4JcFNI.cjs → chunk-V7JOEXUC-BzCaDGop.cjs} +1 -1
  31. package/dist/{chunk-V7JOEXUC-BiZW9UKe.js → chunk-V7JOEXUC-eBy2sAXD.js} +15 -15
  32. package/dist/{chunk-VR4S4FIN-baTzFT08.js → chunk-VR4S4FIN-C-qPzUSR.js} +3 -3
  33. package/dist/{chunk-VR4S4FIN-DFtsRuwe.cjs → chunk-VR4S4FIN-CHKLwvYh.cjs} +1 -1
  34. package/dist/{chunk-XXDRQBXY-BxcvRxsO.js → chunk-XXDRQBXY-BK6HOWf6.js} +1 -1
  35. package/dist/{chunk-XXDRQBXY-CNf_MwaS.cjs → chunk-XXDRQBXY-DttkP7wv.cjs} +1 -1
  36. package/dist/{classDiagram-OUVF2IWQ-BvvlqJK5.cjs → classDiagram-OUVF2IWQ-BKruajP_.cjs} +1 -1
  37. package/dist/{classDiagram-v2-EOCWNBFH-C9kPbim-.js → classDiagram-OUVF2IWQ-CPDmG5kI.js} +2 -2
  38. package/dist/{classDiagram-v2-EOCWNBFH-BvvlqJK5.cjs → classDiagram-v2-EOCWNBFH-BKruajP_.cjs} +1 -1
  39. package/dist/{classDiagram-OUVF2IWQ-C9kPbim-.js → classDiagram-v2-EOCWNBFH-CPDmG5kI.js} +2 -2
  40. package/dist/components/CopyButton.d.ts +9 -0
  41. package/dist/components/HostedScrollArea.d.ts +2 -1
  42. package/dist/components/MarkdownRenderer.d.ts +7 -2
  43. package/dist/components/MarkdownViewer.d.ts +5 -3
  44. package/dist/components/SpreadsheetBlock.d.ts +3 -2
  45. package/dist/components/codeBlockLabels.d.ts +9 -0
  46. package/dist/components/cssLength.d.ts +1 -0
  47. package/dist/components/displayMathLabels.d.ts +11 -0
  48. package/dist/components/mathRendering.d.ts +3 -1
  49. package/dist/components/mdastNodes/CodeNode.d.ts +3 -1
  50. package/dist/components/mdastNodes/MathNode.d.ts +6 -5
  51. package/dist/components/ownPixels.d.ts +3 -0
  52. package/dist/components/toolbarOverlap.d.ts +4 -1
  53. package/dist/components/viewerLabels.d.ts +11 -1
  54. package/dist/components/viewerToolbarStyles.d.ts +2 -0
  55. package/dist/converter.wasm +0 -0
  56. package/dist/{cose-bilkent-JH36ORCC-B2Jfq4O4.js → cose-bilkent-JH36ORCC-BxO1rjEU.js} +24 -24
  57. package/dist/{cose-bilkent-JH36ORCC-BkaDxf1R.cjs → cose-bilkent-JH36ORCC-Cjfa6NyL.cjs} +1 -1
  58. package/dist/{cynefinDiagram-TSTJHNR4-DOFCbbth.cjs → cynefinDiagram-TSTJHNR4-B3boTACW.cjs} +1 -1
  59. package/dist/{cynefinDiagram-TSTJHNR4-B_S81E78.js → cynefinDiagram-TSTJHNR4-DBD-B_Un.js} +60 -60
  60. package/dist/{dagre-VKFMJZFB-OfG4Ilnm.js → dagre-VKFMJZFB-B8vZCPJg.js} +17 -17
  61. package/dist/{dagre-VKFMJZFB-DlzsylqE.cjs → dagre-VKFMJZFB-DF3Mvuas.cjs} +1 -1
  62. package/dist/{diagram-FQU43EPY-DxOsxcqP.cjs → diagram-FQU43EPY-DwhEcKWF.cjs} +1 -1
  63. package/dist/{diagram-FQU43EPY-ByLcTVdh.js → diagram-FQU43EPY-YrRTNuX-.js} +36 -36
  64. package/dist/{diagram-G47NLZAW-Bvi5tos1.cjs → diagram-G47NLZAW-CKIEbGLS.cjs} +1 -1
  65. package/dist/{diagram-G47NLZAW-CYCIYb2P.js → diagram-G47NLZAW-D4vmirJw.js} +51 -51
  66. package/dist/{diagram-NH7WQ7WH-Bg_7yw9K.cjs → diagram-NH7WQ7WH-D6wMwkLQ.cjs} +1 -1
  67. package/dist/{diagram-NH7WQ7WH-Bqq0j80J.js → diagram-NH7WQ7WH-Drekwiur.js} +10 -10
  68. package/dist/{diagram-OA4YK3LP-COAtD9n7.js → diagram-OA4YK3LP-DZsM4Fpo.js} +21 -21
  69. package/dist/{diagram-OA4YK3LP-hyjrBiQz.cjs → diagram-OA4YK3LP-DeJ7pMIO.cjs} +1 -1
  70. package/dist/{diagram-WEI45ONY-D96DJGL2.js → diagram-WEI45ONY-CjRbsbkF.js} +32 -32
  71. package/dist/{diagram-WEI45ONY-BFdJY0aA.cjs → diagram-WEI45ONY-SYHw7k8b.cjs} +1 -1
  72. package/dist/{ebnfDiagram-CCIWWBDH-NDQe8gJ3.cjs → ebnfDiagram-CCIWWBDH-23bjk9FU.cjs} +1 -1
  73. package/dist/{ebnfDiagram-CCIWWBDH-Dygu7_G3.js → ebnfDiagram-CCIWWBDH-D0kt5Zdu.js} +3 -3
  74. package/dist/{erDiagram-Q63AITRT-Bf5yvhVz.js → erDiagram-Q63AITRT-Ce4GpK2Z.js} +7 -7
  75. package/dist/{erDiagram-Q63AITRT-BKDHKBTP.cjs → erDiagram-Q63AITRT-DqFANbZx.cjs} +1 -1
  76. package/dist/{extractHeadings-BhUj7gND.js → extractHeadings-DlQcPv5N.js} +8033 -7960
  77. package/dist/extractHeadings-wWAipplS.cjs +315 -0
  78. package/dist/flowDiagram-23GEKE2U-CRC9U6qD.cjs +1 -0
  79. package/dist/flowDiagram-23GEKE2U-CRo7TM3K.js +7 -0
  80. package/dist/{ganttDiagram-NO4QXBWP-Bttape_K.cjs → ganttDiagram-NO4QXBWP-CR55KG5d.cjs} +1 -1
  81. package/dist/{ganttDiagram-NO4QXBWP-CTOI65nS.js → ganttDiagram-NO4QXBWP-DjpANtqX.js} +2 -2
  82. package/dist/{gitGraphDiagram-IHSO6WYX-n0hvDzAU.cjs → gitGraphDiagram-IHSO6WYX-BWYUn1Bi.cjs} +1 -1
  83. package/dist/{gitGraphDiagram-IHSO6WYX-B4yspiHJ.js → gitGraphDiagram-IHSO6WYX-DzhnsGXo.js} +24 -24
  84. package/dist/index.cjs +1 -1
  85. package/dist/index.client.cjs +1 -1
  86. package/dist/index.client.d.ts +3 -1
  87. package/dist/index.client.js +50 -48
  88. package/dist/index.js +50 -48
  89. package/dist/{infoDiagram-FWYZ7A6U-CfMG5ulV.cjs → infoDiagram-FWYZ7A6U-CsUGc58_.cjs} +1 -1
  90. package/dist/{infoDiagram-FWYZ7A6U-eqyOUosk.js → infoDiagram-FWYZ7A6U-hraoyboI.js} +1 -1
  91. package/dist/{ishikawaDiagram-FXEZZL3T-Dwpkd1hB.cjs → ishikawaDiagram-FXEZZL3T-D5b25aDN.cjs} +1 -1
  92. package/dist/{ishikawaDiagram-FXEZZL3T-DkB8gfl0.js → ishikawaDiagram-FXEZZL3T-cBJei3wJ.js} +32 -32
  93. package/dist/{journeyDiagram-5HDEW3XC-R4E9RVlA.cjs → journeyDiagram-5HDEW3XC-DrNyUSsx.cjs} +1 -1
  94. package/dist/{journeyDiagram-5HDEW3XC-Cz6v_GY1.js → journeyDiagram-5HDEW3XC-IkQqMl8f.js} +28 -28
  95. package/dist/{kanban-definition-HUTT4EX6-LlToxce1.cjs → kanban-definition-HUTT4EX6-CvBgN3eX.cjs} +1 -1
  96. package/dist/{kanban-definition-HUTT4EX6-DJnc67pi.js → kanban-definition-HUTT4EX6-D2UL88Cz.js} +46 -46
  97. package/dist/{linear-Cp5j01_S.js → linear-BiJV9gYf.js} +10 -10
  98. package/dist/{linear-BqZmlNA1.cjs → linear-DwqXGYLc.cjs} +1 -1
  99. package/dist/{mindmap-definition-LN4V7U3C-wGLNhfRX.cjs → mindmap-definition-LN4V7U3C-CBrUse7P.cjs} +1 -1
  100. package/dist/{mindmap-definition-LN4V7U3C-BuiPEwad.js → mindmap-definition-LN4V7U3C-CK67hf6V.js} +11 -11
  101. package/dist/{pegDiagram-2B236MQR-yS4tA5YS.cjs → pegDiagram-2B236MQR-C5pLIpKI.cjs} +1 -1
  102. package/dist/{pegDiagram-2B236MQR-sbzHIurN.js → pegDiagram-2B236MQR-CwWX4Irn.js} +3 -3
  103. package/dist/{pieDiagram-ENE6RG2P-xY1UpzaD.cjs → pieDiagram-ENE6RG2P-BKvggS7k.cjs} +1 -1
  104. package/dist/{pieDiagram-ENE6RG2P-GLpe6gyb.js → pieDiagram-ENE6RG2P-MO42pSl8.js} +68 -68
  105. package/dist/{quadrantDiagram-ABIIQ3AL-yoek8bjm.cjs → quadrantDiagram-ABIIQ3AL-BHhoAvLS.cjs} +1 -1
  106. package/dist/{quadrantDiagram-ABIIQ3AL-CBzSTD_X.js → quadrantDiagram-ABIIQ3AL-CzHgLdS3.js} +7 -7
  107. package/dist/{railroadDiagram-RFXS5EU6-CyTtxMmf.js → railroadDiagram-RFXS5EU6-Bu_Fhi5x.js} +3 -3
  108. package/dist/{railroadDiagram-RFXS5EU6-XJ0-bOpn.cjs → railroadDiagram-RFXS5EU6-CwGmOFD_.cjs} +1 -1
  109. package/dist/{requirementDiagram-TGXJPOKE-C4O93iJY.cjs → requirementDiagram-TGXJPOKE-BhdvQnjG.cjs} +1 -1
  110. package/dist/{requirementDiagram-TGXJPOKE-CtX0Ex3p.js → requirementDiagram-TGXJPOKE-CY-JYM-P.js} +18 -18
  111. package/dist/{sankeyDiagram-HTMAVEWB-CCCmDHWk.js → sankeyDiagram-HTMAVEWB-BmHtjxlW.js} +10 -10
  112. package/dist/{sankeyDiagram-HTMAVEWB-CJqzKdUJ.cjs → sankeyDiagram-HTMAVEWB-CUeYKZeQ.cjs} +1 -1
  113. package/dist/{sequenceDiagram-DBY2YBRQ-u2918iyb.js → sequenceDiagram-DBY2YBRQ-Cn2CC9BC.js} +47 -47
  114. package/dist/{sequenceDiagram-DBY2YBRQ-6pTuqYPQ.cjs → sequenceDiagram-DBY2YBRQ-GepntdDB.cjs} +1 -1
  115. package/dist/{sizeCapture-X5ZJPWSS-D-5Mwje_.js → sizeCapture-X5ZJPWSS-CZF99dy_.js} +1 -1
  116. package/dist/{sizeCapture-X5ZJPWSS-dYKopsz1.cjs → sizeCapture-X5ZJPWSS-Cd-k8xwk.cjs} +1 -1
  117. package/dist/{stateDiagram-2N3HPSRC-B02lkNbL.js → stateDiagram-2N3HPSRC-CCbBvBua.js} +18 -18
  118. package/dist/{stateDiagram-2N3HPSRC-0X9X_Ts1.cjs → stateDiagram-2N3HPSRC-D2cvrAtN.cjs} +1 -1
  119. package/dist/{stateDiagram-v2-6OUMAXLB-BBH62SQc.cjs → stateDiagram-v2-6OUMAXLB-BaktPIVY.cjs} +1 -1
  120. package/dist/{stateDiagram-v2-6OUMAXLB-Df5lWO9K.js → stateDiagram-v2-6OUMAXLB-_A1QESxx.js} +2 -2
  121. package/dist/styles/markdown.css +1 -1
  122. package/dist/styles/markdown.standalone.css +1 -1
  123. package/dist/{swimlanes-5IMT3BWC-DQP0N1po.js → swimlanes-5IMT3BWC-B-BDM_Ae.js} +3 -3
  124. package/dist/{swimlanes-5IMT3BWC-CnEU4D2p.cjs → swimlanes-5IMT3BWC-DtdLK5z3.cjs} +1 -1
  125. package/dist/{swimlanesDiagram-G3AALYLV-B-81BLvu.js → swimlanesDiagram-G3AALYLV-BysT2rWl.js} +2 -2
  126. package/dist/{swimlanesDiagram-G3AALYLV-LY6E3wIO.cjs → swimlanesDiagram-G3AALYLV-DZuQxKuB.cjs} +1 -1
  127. package/dist/{timeline-definition-FHXFAJF6-ptbJpd9Z.js → timeline-definition-FHXFAJF6-DVzdzbl1.js} +58 -58
  128. package/dist/{timeline-definition-FHXFAJF6-CgGCnkID.cjs → timeline-definition-FHXFAJF6-oFf_sUOI.cjs} +1 -1
  129. package/dist/utils/promiseTry.d.ts +1 -0
  130. package/dist/{vennDiagram-L72KCM5P-Bva8B19X.cjs → vennDiagram-L72KCM5P-Ba2FGeN1.cjs} +1 -1
  131. package/dist/{vennDiagram-L72KCM5P-CD4_4C5a.js → vennDiagram-L72KCM5P-Bm1TGZux.js} +146 -146
  132. package/dist/{wardleyDiagram-EHGQE667-DkJyYdCy.js → wardleyDiagram-EHGQE667-BC_1RAbp.js} +32 -32
  133. package/dist/{wardleyDiagram-EHGQE667-Dz50JUaA.cjs → wardleyDiagram-EHGQE667-CqB3gLCH.cjs} +1 -1
  134. package/dist/{xychartDiagram-FW5EYKEG-D3xLTJxG.js → xychartDiagram-FW5EYKEG-ClITdEhV.js} +47 -47
  135. package/dist/{xychartDiagram-FW5EYKEG-DHLZhPLl.cjs → xychartDiagram-FW5EYKEG-a1vb5UxD.cjs} +1 -1
  136. package/package.json +10 -11
  137. package/dist/extractHeadings-Bg4X-sHT.cjs +0 -315
  138. package/dist/flowDiagram-23GEKE2U-CZYLuO9g.js +0 -7
  139. package/dist/flowDiagram-23GEKE2U-t_M_A-Km.cjs +0 -1
@@ -1,4 +1,4 @@
1
- import { a8 as xt, a9 as _t, G as vt, J as bt, O as St, K as wt, _ as y, Q as lt, af as Lt, R as Q, aD as Et, ae as At, a1 as Tt } from "./extractHeadings-BhUj7gND.js";
1
+ import { aa as xt, ab as _t, K as vt, O as bt, R as St, Q as wt, _ as y, U as lt, ah as Lt, V as Q, aF as Et, ag as At, a3 as Tt } from "./extractHeadings-DlQcPv5N.js";
2
2
  import { o as Mt } from "./ordinal-B6-f3MAq.js";
3
3
  function Nt(t) {
4
4
  for (var n = t.length / 6 | 0, s = new Array(n), a = 0; a < n; ) s[a] = "#" + t.slice(a * 6, ++a * 6);
@@ -215,8 +215,8 @@ function Bt() {
215
215
  L += P(Y, b) * H, B += H;
216
216
  }
217
217
  if (!(B > 0)) continue;
218
- let U = (L / B - b.y0) * f;
219
- b.y0 += U, b.y1 += U, z(b);
218
+ let G = (L / B - b.y0) * f;
219
+ b.y0 += G, b.y1 += G, z(b);
220
220
  }
221
221
  l === void 0 && p.sort(q), j(p, c);
222
222
  }
@@ -231,8 +231,8 @@ function Bt() {
231
231
  L += E(b, Y) * H, B += H;
232
232
  }
233
233
  if (!(B > 0)) continue;
234
- let U = (L / B - b.y0) * f;
235
- b.y0 += U, b.y1 += U, z(b);
234
+ let G = (L / B - b.y0) * f;
235
+ b.y0 += G, b.y1 += G, z(b);
236
236
  }
237
237
  l === void 0 && p.sort(q), j(p, c);
238
238
  }
@@ -355,14 +355,14 @@ function Vt(t) {
355
355
  return t[1];
356
356
  }
357
357
  var Wt = Array.prototype.slice;
358
- function Gt(t) {
358
+ function Ut(t) {
359
359
  return t.source;
360
360
  }
361
- function Ut(t) {
361
+ function Gt(t) {
362
362
  return t.target;
363
363
  }
364
364
  function Yt(t) {
365
- var n = Gt, s = Ut, a = Rt, u = Vt, x = null;
365
+ var n = Ut, s = Gt, a = Rt, u = Vt, x = null;
366
366
  function g() {
367
367
  var k, o = Wt.call(arguments), l = n.apply(this, o), h = s.apply(this, o);
368
368
  if (x || (x = k = mt()), t(x, +a.apply(this, (o[0] = l, o)), +u.apply(this, o), +a.apply(this, (o[0] = h, o)), +u.apply(this, o)), k) return x = null, k + "" || null;
@@ -711,11 +711,11 @@ var K = at, J = [], tt = [], Z = /* @__PURE__ */ new Map(), Zt = /* @__PURE__ */
711
711
  }
712
712
  }, y(W, "SankeyLink"), W), te = /* @__PURE__ */ y((t, n, s) => {
713
713
  J.push(new Jt(t, n, s));
714
- }, "addLink"), G, ee = (G = class {
714
+ }, "addLink"), U, ee = (U = class {
715
715
  constructor(n) {
716
716
  this.ID = n;
717
717
  }
718
- }, y(G, "SankeyNode"), G), ne = /* @__PURE__ */ y((t) => {
718
+ }, y(U, "SankeyNode"), U), ne = /* @__PURE__ */ y((t) => {
719
719
  t = Tt.sanitizeText(t, lt());
720
720
  let n = Z.get(t);
721
721
  return n === void 0 && (n = new ee(t), Z.set(t, n), tt.push(n)), n;
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./extractHeadings-Bg4X-sHT.cjs"),_t=require("./ordinal-CagbB1m8.cjs");function mt(t){for(var n=t.length/6|0,s=new Array(n),a=0;a<n;)s[a]="#"+t.slice(a*6,++a*6);return s}const kt=mt("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");function at(t,n){let s;if(n===void 0)for(const a of t)a!=null&&(s<a||s===void 0&&a>=a)&&(s=a);else{let a=-1;for(let h of t)(h=n(h,++a,t))!=null&&(s<h||s===void 0&&h>=h)&&(s=h)}return s}function dt(t,n){let s;if(n===void 0)for(const a of t)a!=null&&(s>a||s===void 0&&a>=a)&&(s=a);else{let a=-1;for(let h of t)(h=n(h,++a,t))!=null&&(s>h||s===void 0&&h>=h)&&(s=h)}return s}function et(t,n){let s=0;if(n===void 0)for(let a of t)(a=+a)&&(s+=a);else{let a=-1;for(let h of t)(h=+n(h,++a,t))&&(s+=h)}return s}function xt(t){return t.target.depth}function vt(t){return t.depth}function bt(t,n){return n-1-t.height}function gt(t,n){return t.sourceLinks.length?t.depth:n-1}function St(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?dt(t.sourceLinks,xt)-1:0}function Y(t){return function(){return t}}function lt(t,n){return X(t.source,n.source)||t.index-n.index}function ct(t,n){return X(t.target,n.target)||t.index-n.index}function X(t,n){return t.y0-n.y0}function nt(t){return t.value}function wt(t){return t.index}function Lt(t){return t.nodes}function Et(t){return t.links}function ut(t,n){const s=t.get(n);if(!s)throw new Error("missing: "+n);return s}function ht({nodes:t}){for(const n of t){let s=n.y0,a=s;for(const h of n.sourceLinks)h.y0=s+h.width/2,s+=h.width;for(const h of n.targetLinks)h.y1=a+h.width/2,a+=h.width}}function At(){let t=0,n=0,s=1,a=1,h=24,k=8,g,_=wt,o=gt,l,f,m=Lt,x=Et,d=6;function v(){const i={nodes:m.apply(null,arguments),links:x.apply(null,arguments)};return T(i),A(i),M(i),I(i),S(i),ht(i),i}v.update=function(i){return ht(i),i},v.nodeId=function(i){return arguments.length?(_=typeof i=="function"?i:Y(i),v):_},v.nodeAlign=function(i){return arguments.length?(o=typeof i=="function"?i:Y(i),v):o},v.nodeSort=function(i){return arguments.length?(l=i,v):l},v.nodeWidth=function(i){return arguments.length?(h=+i,v):h},v.nodePadding=function(i){return arguments.length?(k=g=+i,v):k},v.nodes=function(i){return arguments.length?(m=typeof i=="function"?i:Y(i),v):m},v.links=function(i){return arguments.length?(x=typeof i=="function"?i:Y(i),v):x},v.linkSort=function(i){return arguments.length?(f=i,v):f},v.size=function(i){return arguments.length?(t=n=0,s=+i[0],a=+i[1],v):[s-t,a-n]},v.extent=function(i){return arguments.length?(t=+i[0][0],s=+i[1][0],n=+i[0][1],a=+i[1][1],v):[[t,n],[s,a]]},v.iterations=function(i){return arguments.length?(d=+i,v):d};function T({nodes:i,links:y}){for(const[e,r]of i.entries())r.index=e,r.sourceLinks=[],r.targetLinks=[];const c=new Map(i.map((e,r)=>[_(e,r,i),e]));for(const[e,r]of y.entries()){r.index=e;let{source:p,target:b}=r;typeof p!="object"&&(p=r.source=ut(c,p)),typeof b!="object"&&(b=r.target=ut(c,b)),p.sourceLinks.push(r),b.targetLinks.push(r)}if(f!=null)for(const{sourceLinks:e,targetLinks:r}of i)e.sort(f),r.sort(f)}function A({nodes:i}){for(const y of i)y.value=y.fixedValue===void 0?Math.max(et(y.sourceLinks,nt),et(y.targetLinks,nt)):y.fixedValue}function M({nodes:i}){const y=i.length;let c=new Set(i),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>y)throw new Error("circular link");c=e,e=new Set}}function I({nodes:i}){const y=i.length;let c=new Set(i),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>y)throw new Error("circular link");c=e,e=new Set}}function C({nodes:i}){const y=at(i,r=>r.depth)+1,c=(s-t-h)/(y-1),e=new Array(y);for(const r of i){const p=Math.max(0,Math.min(y-1,Math.floor(o.call(null,r,y))));r.layer=p,r.x0=t+p*c,r.x1=r.x0+h,e[p]?e[p].push(r):e[p]=[r]}if(l)for(const r of e)r.sort(l);return e}function $(i){const y=dt(i,c=>(a-n-(c.length-1)*g)/et(c,nt));for(const c of i){let e=n;for(const r of c){r.y0=e,r.y1=e+r.value*y,e=r.y1+g;for(const p of r.sourceLinks)p.width=p.value*y}e=(a-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(i){const y=C(i);g=Math.min(k,(a-n)/(at(y,c=>c.length)-1)),$(y);for(let c=0;c<d;++c){const e=Math.pow(.99,c),r=Math.max(1-e,(c+1)/d);R(y,e,r),N(y,e,r)}}function N(i,y,c){for(let e=1,r=i.length;e<r;++e){const p=i[e];for(const b of p){let L=0,B=0;for(const{source:q,value:tt}of b.targetLinks){let H=tt*(b.layer-q.layer);L+=P(q,b)*H,B+=H}if(!(B>0))continue;let U=(L/B-b.y0)*y;b.y0+=U,b.y1+=U,z(b)}l===void 0&&p.sort(X),j(p,c)}}function R(i,y,c){for(let e=i.length,r=e-2;r>=0;--r){const p=i[r];for(const b of p){let L=0,B=0;for(const{target:q,value:tt}of b.sourceLinks){let H=tt*(q.layer-b.layer);L+=E(b,q)*H,B+=H}if(!(B>0))continue;let U=(L/B-b.y0)*y;b.y0+=U,b.y1+=U,z(b)}l===void 0&&p.sort(X),j(p,c)}}function j(i,y){const c=i.length>>1,e=i[c];O(i,e.y0-g,c-1,y),V(i,e.y1+g,c+1,y),O(i,a,i.length-1,y),V(i,n,0,y)}function V(i,y,c,e){for(;c<i.length;++c){const r=i[c],p=(y-r.y0)*e;p>1e-6&&(r.y0+=p,r.y1+=p),y=r.y1+g}}function O(i,y,c,e){for(;c>=0;--c){const r=i[c],p=(r.y1-y)*e;p>1e-6&&(r.y0-=p,r.y1-=p),y=r.y0-g}}function z({sourceLinks:i,targetLinks:y}){if(f===void 0){for(const{source:{sourceLinks:c}}of y)c.sort(ct);for(const{target:{targetLinks:c}}of i)c.sort(lt)}}function w(i){if(f===void 0)for(const{sourceLinks:y,targetLinks:c}of i)y.sort(ct),c.sort(lt)}function P(i,y){let c=i.y0-(i.sourceLinks.length-1)*g/2;for(const{target:e,width:r}of i.sourceLinks){if(e===y)break;c+=r+g}for(const{source:e,width:r}of y.targetLinks){if(e===i)break;c-=r}return c}function E(i,y){let c=y.y0-(y.targetLinks.length-1)*g/2;for(const{source:e,width:r}of y.targetLinks){if(e===i)break;c+=r+g}for(const{target:e,width:r}of i.sourceLinks){if(e===y)break;c-=r}return c}return v}var it=Math.PI,rt=2*it,F=1e-6,Tt=rt-F;function st(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function pt(){return new st}st.prototype=pt.prototype={constructor:st,moveTo:function(t,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,n){this._+="L"+(this._x1=+t)+","+(this._y1=+n)},quadraticCurveTo:function(t,n,s,a){this._+="Q"+ +t+","+ +n+","+(this._x1=+s)+","+(this._y1=+a)},bezierCurveTo:function(t,n,s,a,h,k){this._+="C"+ +t+","+ +n+","+ +s+","+ +a+","+(this._x1=+h)+","+(this._y1=+k)},arcTo:function(t,n,s,a,h){t=+t,n=+n,s=+s,a=+a,h=+h;var k=this._x1,g=this._y1,_=s-t,o=a-n,l=k-t,f=g-n,m=l*l+f*f;if(h<0)throw new Error("negative radius: "+h);if(this._x1===null)this._+="M"+(this._x1=t)+","+(this._y1=n);else if(m>F)if(!(Math.abs(f*_-o*l)>F)||!h)this._+="L"+(this._x1=t)+","+(this._y1=n);else{var x=s-k,d=a-g,v=_*_+o*o,T=x*x+d*d,A=Math.sqrt(v),M=Math.sqrt(m),I=h*Math.tan((it-Math.acos((v+m-T)/(2*A*M)))/2),C=I/M,$=I/A;Math.abs(C-1)>F&&(this._+="L"+(t+C*l)+","+(n+C*f)),this._+="A"+h+","+h+",0,0,"+ +(f*x>l*d)+","+(this._x1=t+$*_)+","+(this._y1=n+$*o)}},arc:function(t,n,s,a,h,k){t=+t,n=+n,s=+s,k=!!k;var g=s*Math.cos(a),_=s*Math.sin(a),o=t+g,l=n+_,f=1^k,m=k?a-h:h-a;if(s<0)throw new Error("negative radius: "+s);this._x1===null?this._+="M"+o+","+l:(Math.abs(this._x1-o)>F||Math.abs(this._y1-l)>F)&&(this._+="L"+o+","+l),s&&(m<0&&(m=m%rt+rt),m>Tt?this._+="A"+s+","+s+",0,1,"+f+","+(t-g)+","+(n-_)+"A"+s+","+s+",0,1,"+f+","+(this._x1=o)+","+(this._y1=l):m>F&&(this._+="A"+s+","+s+",0,"+ +(m>=it)+","+f+","+(this._x1=t+s*Math.cos(h))+","+(this._y1=n+s*Math.sin(h))))},rect:function(t,n,s,a){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +s+"v"+ +a+"h"+-s+"Z"},toString:function(){return this._}};function ft(t){return function(){return t}}function Mt(t){return t[0]}function Ct(t){return t[1]}var Nt=Array.prototype.slice;function Pt(t){return t.source}function It(t){return t.target}function Ot(t){var n=Pt,s=It,a=Mt,h=Ct,k=null;function g(){var _,o=Nt.call(arguments),l=n.apply(this,o),f=s.apply(this,o);if(k||(k=_=pt()),t(k,+a.apply(this,(o[0]=l,o)),+h.apply(this,o),+a.apply(this,(o[0]=f,o)),+h.apply(this,o)),_)return k=null,_+""||null}return g.source=function(_){return arguments.length?(n=_,g):n},g.target=function(_){return arguments.length?(s=_,g):s},g.x=function(_){return arguments.length?(a=typeof _=="function"?_:ft(+_),g):a},g.y=function(_){return arguments.length?(h=typeof _=="function"?_:ft(+_),g):h},g.context=function(_){return arguments.length?(k=_??null,g):k},g}function Dt(t,n,s,a,h){t.moveTo(n,s),t.bezierCurveTo(n=(n+a)/2,s,n,h,a,h)}function $t(){return Ot(Dt)}function jt(t){return[t.source.x1,t.y0]}function zt(t){return[t.target.x0,t.y1]}function Bt(){return $t().source(jt).target(zt)}var ot=(function(){var t=u.__name(function(_,o,l,f){for(l=l||{},f=_.length;f--;l[_[f]]=o);return l},"o"),n=[1,9],s=[1,10],a=[1,5,10,12],h={trace:u.__name(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:u.__name(function(o,l,f,m,x,d,v){var T=d.length-1;switch(x){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:n,20:s},{1:[2,6],7:11,10:[1,12]},t(s,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(a,[2,8]),t(a,[2,9]),{19:[1,16]},t(a,[2,11]),{1:[2,1]},{1:[2,5]},t(s,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:n,20:s},{15:18,16:7,17:8,18:n,20:s},{18:[1,19]},t(s,[2,3]),{12:[1,20]},t(a,[2,10]),{15:21,16:7,17:8,18:n,20:s},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:u.__name(function(o,l){if(l.recoverable)this.trace(o);else{var f=new Error(o);throw f.hash=l,f}},"parseError"),parse:u.__name(function(o){var l=this,f=[0],m=[],x=[null],d=[],v=this.table,T="",A=0,M=0,I=2,C=1,$=d.slice.call(arguments,1),S=Object.create(this.lexer),N={yy:{}};for(var R in this.yy)Object.prototype.hasOwnProperty.call(this.yy,R)&&(N.yy[R]=this.yy[R]);S.setInput(o,N.yy),N.yy.lexer=S,N.yy.parser=this,typeof S.yylloc>"u"&&(S.yylloc={});var j=S.yylloc;d.push(j);var V=S.options&&S.options.ranges;typeof N.yy.parseError=="function"?this.parseError=N.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function O(L){f.length=f.length-2*L,x.length=x.length-L,d.length=d.length-L}u.__name(O,"popStack");function z(){var L;return L=m.pop()||S.lex()||C,typeof L!="number"&&(L instanceof Array&&(m=L,L=m.pop()),L=l.symbols_[L]||L),L}u.__name(z,"lex");for(var w,P,E,i,y={},c,e,r,p;;){if(P=f[f.length-1],this.defaultActions[P]?E=this.defaultActions[P]:((w===null||typeof w>"u")&&(w=z()),E=v[P]&&v[P][w]),typeof E>"u"||!E.length||!E[0]){var b="";p=[];for(c in v[P])this.terminals_[c]&&c>I&&p.push("'"+this.terminals_[c]+"'");S.showPosition?b="Parse error on line "+(A+1)+`:
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./extractHeadings-wWAipplS.cjs"),_t=require("./ordinal-CagbB1m8.cjs");function mt(t){for(var n=t.length/6|0,s=new Array(n),a=0;a<n;)s[a]="#"+t.slice(a*6,++a*6);return s}const kt=mt("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");function at(t,n){let s;if(n===void 0)for(const a of t)a!=null&&(s<a||s===void 0&&a>=a)&&(s=a);else{let a=-1;for(let h of t)(h=n(h,++a,t))!=null&&(s<h||s===void 0&&h>=h)&&(s=h)}return s}function dt(t,n){let s;if(n===void 0)for(const a of t)a!=null&&(s>a||s===void 0&&a>=a)&&(s=a);else{let a=-1;for(let h of t)(h=n(h,++a,t))!=null&&(s>h||s===void 0&&h>=h)&&(s=h)}return s}function et(t,n){let s=0;if(n===void 0)for(let a of t)(a=+a)&&(s+=a);else{let a=-1;for(let h of t)(h=+n(h,++a,t))&&(s+=h)}return s}function xt(t){return t.target.depth}function vt(t){return t.depth}function bt(t,n){return n-1-t.height}function gt(t,n){return t.sourceLinks.length?t.depth:n-1}function St(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?dt(t.sourceLinks,xt)-1:0}function Y(t){return function(){return t}}function lt(t,n){return X(t.source,n.source)||t.index-n.index}function ct(t,n){return X(t.target,n.target)||t.index-n.index}function X(t,n){return t.y0-n.y0}function nt(t){return t.value}function wt(t){return t.index}function Lt(t){return t.nodes}function Et(t){return t.links}function ut(t,n){const s=t.get(n);if(!s)throw new Error("missing: "+n);return s}function ht({nodes:t}){for(const n of t){let s=n.y0,a=s;for(const h of n.sourceLinks)h.y0=s+h.width/2,s+=h.width;for(const h of n.targetLinks)h.y1=a+h.width/2,a+=h.width}}function At(){let t=0,n=0,s=1,a=1,h=24,k=8,g,_=wt,o=gt,l,f,m=Lt,x=Et,d=6;function v(){const i={nodes:m.apply(null,arguments),links:x.apply(null,arguments)};return T(i),A(i),M(i),I(i),S(i),ht(i),i}v.update=function(i){return ht(i),i},v.nodeId=function(i){return arguments.length?(_=typeof i=="function"?i:Y(i),v):_},v.nodeAlign=function(i){return arguments.length?(o=typeof i=="function"?i:Y(i),v):o},v.nodeSort=function(i){return arguments.length?(l=i,v):l},v.nodeWidth=function(i){return arguments.length?(h=+i,v):h},v.nodePadding=function(i){return arguments.length?(k=g=+i,v):k},v.nodes=function(i){return arguments.length?(m=typeof i=="function"?i:Y(i),v):m},v.links=function(i){return arguments.length?(x=typeof i=="function"?i:Y(i),v):x},v.linkSort=function(i){return arguments.length?(f=i,v):f},v.size=function(i){return arguments.length?(t=n=0,s=+i[0],a=+i[1],v):[s-t,a-n]},v.extent=function(i){return arguments.length?(t=+i[0][0],s=+i[1][0],n=+i[0][1],a=+i[1][1],v):[[t,n],[s,a]]},v.iterations=function(i){return arguments.length?(d=+i,v):d};function T({nodes:i,links:y}){for(const[e,r]of i.entries())r.index=e,r.sourceLinks=[],r.targetLinks=[];const c=new Map(i.map((e,r)=>[_(e,r,i),e]));for(const[e,r]of y.entries()){r.index=e;let{source:p,target:b}=r;typeof p!="object"&&(p=r.source=ut(c,p)),typeof b!="object"&&(b=r.target=ut(c,b)),p.sourceLinks.push(r),b.targetLinks.push(r)}if(f!=null)for(const{sourceLinks:e,targetLinks:r}of i)e.sort(f),r.sort(f)}function A({nodes:i}){for(const y of i)y.value=y.fixedValue===void 0?Math.max(et(y.sourceLinks,nt),et(y.targetLinks,nt)):y.fixedValue}function M({nodes:i}){const y=i.length;let c=new Set(i),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>y)throw new Error("circular link");c=e,e=new Set}}function I({nodes:i}){const y=i.length;let c=new Set(i),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>y)throw new Error("circular link");c=e,e=new Set}}function C({nodes:i}){const y=at(i,r=>r.depth)+1,c=(s-t-h)/(y-1),e=new Array(y);for(const r of i){const p=Math.max(0,Math.min(y-1,Math.floor(o.call(null,r,y))));r.layer=p,r.x0=t+p*c,r.x1=r.x0+h,e[p]?e[p].push(r):e[p]=[r]}if(l)for(const r of e)r.sort(l);return e}function $(i){const y=dt(i,c=>(a-n-(c.length-1)*g)/et(c,nt));for(const c of i){let e=n;for(const r of c){r.y0=e,r.y1=e+r.value*y,e=r.y1+g;for(const p of r.sourceLinks)p.width=p.value*y}e=(a-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(i){const y=C(i);g=Math.min(k,(a-n)/(at(y,c=>c.length)-1)),$(y);for(let c=0;c<d;++c){const e=Math.pow(.99,c),r=Math.max(1-e,(c+1)/d);R(y,e,r),N(y,e,r)}}function N(i,y,c){for(let e=1,r=i.length;e<r;++e){const p=i[e];for(const b of p){let L=0,B=0;for(const{source:q,value:tt}of b.targetLinks){let H=tt*(b.layer-q.layer);L+=P(q,b)*H,B+=H}if(!(B>0))continue;let U=(L/B-b.y0)*y;b.y0+=U,b.y1+=U,z(b)}l===void 0&&p.sort(X),j(p,c)}}function R(i,y,c){for(let e=i.length,r=e-2;r>=0;--r){const p=i[r];for(const b of p){let L=0,B=0;for(const{target:q,value:tt}of b.sourceLinks){let H=tt*(q.layer-b.layer);L+=E(b,q)*H,B+=H}if(!(B>0))continue;let U=(L/B-b.y0)*y;b.y0+=U,b.y1+=U,z(b)}l===void 0&&p.sort(X),j(p,c)}}function j(i,y){const c=i.length>>1,e=i[c];O(i,e.y0-g,c-1,y),V(i,e.y1+g,c+1,y),O(i,a,i.length-1,y),V(i,n,0,y)}function V(i,y,c,e){for(;c<i.length;++c){const r=i[c],p=(y-r.y0)*e;p>1e-6&&(r.y0+=p,r.y1+=p),y=r.y1+g}}function O(i,y,c,e){for(;c>=0;--c){const r=i[c],p=(r.y1-y)*e;p>1e-6&&(r.y0-=p,r.y1-=p),y=r.y0-g}}function z({sourceLinks:i,targetLinks:y}){if(f===void 0){for(const{source:{sourceLinks:c}}of y)c.sort(ct);for(const{target:{targetLinks:c}}of i)c.sort(lt)}}function w(i){if(f===void 0)for(const{sourceLinks:y,targetLinks:c}of i)y.sort(ct),c.sort(lt)}function P(i,y){let c=i.y0-(i.sourceLinks.length-1)*g/2;for(const{target:e,width:r}of i.sourceLinks){if(e===y)break;c+=r+g}for(const{source:e,width:r}of y.targetLinks){if(e===i)break;c-=r}return c}function E(i,y){let c=y.y0-(y.targetLinks.length-1)*g/2;for(const{source:e,width:r}of y.targetLinks){if(e===i)break;c+=r+g}for(const{target:e,width:r}of i.sourceLinks){if(e===y)break;c-=r}return c}return v}var it=Math.PI,rt=2*it,F=1e-6,Tt=rt-F;function st(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function pt(){return new st}st.prototype=pt.prototype={constructor:st,moveTo:function(t,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,n){this._+="L"+(this._x1=+t)+","+(this._y1=+n)},quadraticCurveTo:function(t,n,s,a){this._+="Q"+ +t+","+ +n+","+(this._x1=+s)+","+(this._y1=+a)},bezierCurveTo:function(t,n,s,a,h,k){this._+="C"+ +t+","+ +n+","+ +s+","+ +a+","+(this._x1=+h)+","+(this._y1=+k)},arcTo:function(t,n,s,a,h){t=+t,n=+n,s=+s,a=+a,h=+h;var k=this._x1,g=this._y1,_=s-t,o=a-n,l=k-t,f=g-n,m=l*l+f*f;if(h<0)throw new Error("negative radius: "+h);if(this._x1===null)this._+="M"+(this._x1=t)+","+(this._y1=n);else if(m>F)if(!(Math.abs(f*_-o*l)>F)||!h)this._+="L"+(this._x1=t)+","+(this._y1=n);else{var x=s-k,d=a-g,v=_*_+o*o,T=x*x+d*d,A=Math.sqrt(v),M=Math.sqrt(m),I=h*Math.tan((it-Math.acos((v+m-T)/(2*A*M)))/2),C=I/M,$=I/A;Math.abs(C-1)>F&&(this._+="L"+(t+C*l)+","+(n+C*f)),this._+="A"+h+","+h+",0,0,"+ +(f*x>l*d)+","+(this._x1=t+$*_)+","+(this._y1=n+$*o)}},arc:function(t,n,s,a,h,k){t=+t,n=+n,s=+s,k=!!k;var g=s*Math.cos(a),_=s*Math.sin(a),o=t+g,l=n+_,f=1^k,m=k?a-h:h-a;if(s<0)throw new Error("negative radius: "+s);this._x1===null?this._+="M"+o+","+l:(Math.abs(this._x1-o)>F||Math.abs(this._y1-l)>F)&&(this._+="L"+o+","+l),s&&(m<0&&(m=m%rt+rt),m>Tt?this._+="A"+s+","+s+",0,1,"+f+","+(t-g)+","+(n-_)+"A"+s+","+s+",0,1,"+f+","+(this._x1=o)+","+(this._y1=l):m>F&&(this._+="A"+s+","+s+",0,"+ +(m>=it)+","+f+","+(this._x1=t+s*Math.cos(h))+","+(this._y1=n+s*Math.sin(h))))},rect:function(t,n,s,a){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +s+"v"+ +a+"h"+-s+"Z"},toString:function(){return this._}};function ft(t){return function(){return t}}function Mt(t){return t[0]}function Ct(t){return t[1]}var Nt=Array.prototype.slice;function Pt(t){return t.source}function It(t){return t.target}function Ot(t){var n=Pt,s=It,a=Mt,h=Ct,k=null;function g(){var _,o=Nt.call(arguments),l=n.apply(this,o),f=s.apply(this,o);if(k||(k=_=pt()),t(k,+a.apply(this,(o[0]=l,o)),+h.apply(this,o),+a.apply(this,(o[0]=f,o)),+h.apply(this,o)),_)return k=null,_+""||null}return g.source=function(_){return arguments.length?(n=_,g):n},g.target=function(_){return arguments.length?(s=_,g):s},g.x=function(_){return arguments.length?(a=typeof _=="function"?_:ft(+_),g):a},g.y=function(_){return arguments.length?(h=typeof _=="function"?_:ft(+_),g):h},g.context=function(_){return arguments.length?(k=_??null,g):k},g}function Dt(t,n,s,a,h){t.moveTo(n,s),t.bezierCurveTo(n=(n+a)/2,s,n,h,a,h)}function $t(){return Ot(Dt)}function jt(t){return[t.source.x1,t.y0]}function zt(t){return[t.target.x0,t.y1]}function Bt(){return $t().source(jt).target(zt)}var ot=(function(){var t=u.__name(function(_,o,l,f){for(l=l||{},f=_.length;f--;l[_[f]]=o);return l},"o"),n=[1,9],s=[1,10],a=[1,5,10,12],h={trace:u.__name(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:u.__name(function(o,l,f,m,x,d,v){var T=d.length-1;switch(x){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:n,20:s},{1:[2,6],7:11,10:[1,12]},t(s,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(a,[2,8]),t(a,[2,9]),{19:[1,16]},t(a,[2,11]),{1:[2,1]},{1:[2,5]},t(s,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:n,20:s},{15:18,16:7,17:8,18:n,20:s},{18:[1,19]},t(s,[2,3]),{12:[1,20]},t(a,[2,10]),{15:21,16:7,17:8,18:n,20:s},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:u.__name(function(o,l){if(l.recoverable)this.trace(o);else{var f=new Error(o);throw f.hash=l,f}},"parseError"),parse:u.__name(function(o){var l=this,f=[0],m=[],x=[null],d=[],v=this.table,T="",A=0,M=0,I=2,C=1,$=d.slice.call(arguments,1),S=Object.create(this.lexer),N={yy:{}};for(var R in this.yy)Object.prototype.hasOwnProperty.call(this.yy,R)&&(N.yy[R]=this.yy[R]);S.setInput(o,N.yy),N.yy.lexer=S,N.yy.parser=this,typeof S.yylloc>"u"&&(S.yylloc={});var j=S.yylloc;d.push(j);var V=S.options&&S.options.ranges;typeof N.yy.parseError=="function"?this.parseError=N.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function O(L){f.length=f.length-2*L,x.length=x.length-L,d.length=d.length-L}u.__name(O,"popStack");function z(){var L;return L=m.pop()||S.lex()||C,typeof L!="number"&&(L instanceof Array&&(m=L,L=m.pop()),L=l.symbols_[L]||L),L}u.__name(z,"lex");for(var w,P,E,i,y={},c,e,r,p;;){if(P=f[f.length-1],this.defaultActions[P]?E=this.defaultActions[P]:((w===null||typeof w>"u")&&(w=z()),E=v[P]&&v[P][w]),typeof E>"u"||!E.length||!E[0]){var b="";p=[];for(c in v[P])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==C?"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: "+P+", token: "+w);switch(E[0]){case 1:f.push(w),x.push(S.yytext),d.push(S.yylloc),f.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],y.$=x[x.length-e],y._$={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&&(y._$.range=[d[d.length-(e||1)].range[0],d[d.length-1].range[1]]),i=this.performAction.apply(y,[T,M,A,N.yy,E[1],x,d].concat($)),typeof i<"u")return i;e&&(f=f.slice(0,-1*e*2),x=x.slice(0,-1*e),d=d.slice(0,-1*e)),f.push(this.productions_[E[1]][0]),x.push(y.$),d.push(y._$),r=v[f[f.length-2]][f[f.length-1]],f.push(r);break;case 3:return!0}}return!0},"parse")},k=(function(){var _={EOF:1,parseError:u.__name(function(l,f){if(this.yy.parser)this.yy.parser.parseError(l,f);else throw new Error(l)},"parseError"),setInput:u.__name(function(o,l){return this.yy=l||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:u.__name(function(){var o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var l=o.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),o},"input"),unput:u.__name(function(o){var l=o.length,f=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-l),this.offset-=l;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),f.length-1&&(this.yylineno-=f.length-1);var x=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:f?(f.length===m.length?this.yylloc.first_column:0)+m[m.length-f.length].length-f[0].length:this.yylloc.first_column-l},this.options.ranges&&(this.yylloc.range=[x[0],x[0]+this.yyleng-l]),this.yyleng=this.yytext.length,this},"unput"),more:u.__name(function(){return this._more=!0,this},"more"),reject:u.__name(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:u.__name(function(o){this.unput(this.match.slice(o))},"less"),pastInput:u.__name(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:u.__name(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:u.__name(function(){var o=this.pastInput(),l=new Array(o.length+1).join("-");return o+this.upcomingInput()+`
@@ -1,11 +1,11 @@
1
- import { I as er } from "./chunk-2Q5K7J3B-Bv43-wHE.js";
2
- import { _ as x, a4 as rr, Q as $, R as Yt, U as at, $ as Me, V as ar, W as sr, a1 as N, O as De, G as ir, a8 as nr, K as or, J as cr, a9 as lr, aa as hr, ab as dr, ae as Tr, Y as Wt, a7 as Q, ap as Z, aq as kt, ar as Be, as as pr, ai as Ft, at as Er, au as Ve } from "./extractHeadings-BhUj7gND.js";
3
- import { a as ur, b as se, g as dt, d as fr, e as ie, f as ne } from "./chunk-32BRIVSS-Fs4Q9289.js";
1
+ import { I as er } from "./chunk-2Q5K7J3B-CopwR1m3.js";
2
+ import { _ as x, a6 as rr, U as $, V as Yt, W as at, a1 as Me, X as ar, Y as sr, a3 as N, R as De, K as ir, aa as nr, Q as or, O as cr, ab as lr, ac as hr, ad as dr, ag as Tr, a0 as Wt, a9 as Q, ar as Z, as as kt, at as Be, au as pr, ak as Ft, av as Er, aw as Ve } from "./extractHeadings-DlQcPv5N.js";
3
+ import { a as ur, b as se, g as dt, d as fr, e as ie, f as ne } from "./chunk-32BRIVSS-BnNlhc1M.js";
4
4
  var ee = (function() {
5
5
  var e = /* @__PURE__ */ x(function(ut, S, v, P) {
6
6
  for (v = v || {}, P = ut.length; P--; v[ut[P]] = S) ;
7
7
  return v;
8
- }, "o"), t = [1, 2], a = [1, 3], r = [1, 4], i = [2, 4], n = [1, 9], s = [1, 11], c = [1, 12], E = [1, 14], h = [1, 15], p = [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], A = [1, 33], D = [1, 34], M = [1, 35], V = [1, 36], W = [1, 37], U = [1, 38], G = [1, 39], X = [1, 40], nt = [1, 42], j = [1, 43], H = [1, 44], st = [1, 45], tt = [1, 46], Y = [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], St = [1, 74], Dt = [1, 80], m = [1, 81], k = [1, 82], lt = [1, 83], et = [1, 84], K = [1, 85], Ot = [1, 86], oe = [1, 87], ce = [1, 88], le = [1, 89], he = [1, 90], de = [1, 91], Te = [1, 92], pe = [1, 93], Ee = [1, 94], ue = [1, 95], fe = [1, 96], _e = [1, 97], ge = [1, 98], xe = [1, 99], Ie = [1, 100], ye = [1, 101], Re = [1, 102], Oe = [1, 103], Le = [1, 104], be = [1, 105], me = [2, 78], wt = [4, 5, 17, 51, 53, 54], vt = [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], Ae = [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], Gt = [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], Se = [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], Xt = [5, 52], F = [70, 71, 72, 73], ot = [1, 151], Jt = {
8
+ }, "o"), t = [1, 2], a = [1, 3], r = [1, 4], i = [2, 4], n = [1, 9], s = [1, 11], c = [1, 12], E = [1, 14], h = [1, 15], p = [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], A = [1, 33], D = [1, 34], M = [1, 35], V = [1, 36], W = [1, 37], U = [1, 38], G = [1, 39], X = [1, 40], nt = [1, 42], j = [1, 43], q = [1, 44], st = [1, 45], tt = [1, 46], Y = [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], St = [1, 74], Dt = [1, 80], m = [1, 81], k = [1, 82], lt = [1, 83], et = [1, 84], K = [1, 85], Ot = [1, 86], oe = [1, 87], ce = [1, 88], le = [1, 89], he = [1, 90], de = [1, 91], Te = [1, 92], pe = [1, 93], Ee = [1, 94], ue = [1, 95], fe = [1, 96], _e = [1, 97], ge = [1, 98], xe = [1, 99], Ie = [1, 100], ye = [1, 101], Re = [1, 102], Oe = [1, 103], Le = [1, 104], be = [1, 105], me = [2, 78], wt = [4, 5, 17, 51, 53, 54], vt = [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], Ae = [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], Gt = [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], Se = [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], Xt = [5, 52], F = [70, 71, 72, 73], ot = [1, 151], Jt = {
9
9
  trace: /* @__PURE__ */ x(function() {
10
10
  }, "trace"),
11
11
  yy: {},
@@ -301,7 +301,7 @@ var ee = (function() {
301
301
  break;
302
302
  }
303
303
  }, "anonymous"),
304
- 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: E, 15: h, 18: 16, 19: p, 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: A, 42: D, 44: M, 45: V, 47: W, 51: U, 53: G, 54: X, 56: nt, 61: j, 62: H, 63: st, 64: tt, 73: Y }, e(C, [2, 5]), { 9: 48, 13: 13, 14: E, 15: h, 18: 16, 19: p, 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: A, 42: D, 44: M, 45: V, 47: W, 51: U, 53: G, 54: X, 56: nt, 61: j, 62: H, 63: st, 64: tt, 73: Y }, e(C, [2, 7]), e(C, [2, 8]), e(C, [2, 9]), e(C, [2, 15]), { 13: 49, 51: U, 53: G, 54: X }, { 16: [1, 50] }, { 5: [1, 51] }, { 5: [1, 54], 20: [1, 52], 21: [1, 53] }, { 23: 55, 73: Y }, { 23: 56, 73: Y }, { 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: St }, { 23: 75, 55: 76, 73: St }, { 23: 77, 73: Y }, { 69: 78, 72: [1, 79], 78: Dt, 79: m, 80: k, 81: lt, 82: et, 83: K, 84: Ot, 85: oe, 86: ce, 87: le, 88: he, 89: de, 90: Te, 91: pe, 92: Ee, 93: ue, 94: fe, 95: _e, 96: ge, 97: xe, 98: Ie, 99: ye, 100: Re, 101: Oe, 102: Le, 103: be }, { 57: 106, 59: [1, 107], 67: [1, 108], 68: [1, 109] }, { 23: 110, 73: Y }, { 23: 111, 73: Y }, { 23: 112, 73: Y }, { 23: 113, 73: Y }, 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], me), e(C, [2, 6]), e(C, [2, 16]), e(wt, [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(vt, i, { 7: 120 }), e(vt, i, { 7: 121 }), e(vt, i, { 7: 122 }), e(Ae, i, { 41: 123, 7: 124 }), e(Gt, i, { 43: 125, 7: 126 }), e(Gt, i, { 7: 126, 43: 127 }), e(Se, i, { 46: 128, 7: 129 }), e(vt, i, { 7: 130 }), { 5: [1, 132], 52: [1, 131] }, { 5: [1, 134], 52: [1, 133] }, e(Xt, me, { 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: Y }, { 69: 146, 78: Dt, 79: m, 80: k, 81: lt, 82: et, 83: K, 84: Ot, 85: oe, 86: ce, 87: le, 88: he, 89: de, 90: Te, 91: pe, 92: Ee, 93: ue, 94: fe, 95: _e, 96: ge, 97: xe, 98: Ie, 99: ye, 100: Re, 101: Oe, 102: Le, 103: be }, e(F, [2, 79]), e(F, [2, 80]), e(F, [2, 81]), e(F, [2, 82]), e(F, [2, 83]), e(F, [2, 84]), e(F, [2, 85]), e(F, [2, 86]), e(F, [2, 87]), e(F, [2, 88]), e(F, [2, 89]), e(F, [2, 90]), e(F, [2, 91]), e(F, [2, 92]), e(F, [2, 93]), e(F, [2, 94]), e(F, [2, 95]), e(F, [2, 96]), e(F, [2, 97]), e(F, [2, 98]), e(F, [2, 99]), e(F, [2, 100]), e(F, [2, 101]), e(F, [2, 102]), e(F, [2, 103]), e(F, [2, 104]), { 23: 147, 73: Y }, { 23: 149, 60: 148, 73: Y }, { 73: [2, 68] }, { 73: [2, 69] }, { 58: 150, 104: ot }, { 58: 152, 104: ot }, { 58: 153, 104: ot }, { 58: 154, 104: ot }, { 4: [1, 157], 5: [1, 159], 12: 156, 13: 158, 17: [1, 155], 51: U, 53: G, 54: X }, { 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: E, 15: h, 17: [1, 161], 18: 16, 19: p, 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: A, 42: D, 44: M, 45: V, 47: W, 51: U, 53: G, 54: X, 56: nt, 61: j, 62: H, 63: st, 64: tt, 73: Y }, { 4: n, 5: s, 8: 8, 9: 10, 10: c, 13: 13, 14: E, 15: h, 17: [1, 162], 18: 16, 19: p, 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: A, 42: D, 44: M, 45: V, 47: W, 51: U, 53: G, 54: X, 56: nt, 61: j, 62: H, 63: st, 64: tt, 73: Y }, { 4: n, 5: s, 8: 8, 9: 10, 10: c, 13: 13, 14: E, 15: h, 17: [1, 163], 18: 16, 19: p, 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: A, 42: D, 44: M, 45: V, 47: W, 51: U, 53: G, 54: X, 56: nt, 61: j, 62: H, 63: st, 64: tt, 73: Y }, { 17: [1, 164] }, { 4: n, 5: s, 8: 8, 9: 10, 10: c, 13: 13, 14: E, 15: h, 17: [2, 47], 18: 16, 19: p, 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: A, 42: D, 44: M, 45: V, 47: W, 50: [1, 165], 51: U, 53: G, 54: X, 56: nt, 61: j, 62: H, 63: st, 64: tt, 73: Y }, { 17: [1, 166] }, { 4: n, 5: s, 8: 8, 9: 10, 10: c, 13: 13, 14: E, 15: h, 17: [2, 45], 18: 16, 19: p, 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: A, 42: D, 44: M, 45: V, 47: W, 49: [1, 167], 51: U, 53: G, 54: X, 56: nt, 61: j, 62: H, 63: st, 64: tt, 73: Y }, { 17: [1, 168] }, { 17: [1, 169] }, { 4: n, 5: s, 8: 8, 9: 10, 10: c, 13: 13, 14: E, 15: h, 17: [2, 43], 18: 16, 19: p, 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: A, 42: D, 44: M, 45: V, 47: W, 48: [1, 170], 51: U, 53: G, 54: X, 56: nt, 61: j, 62: H, 63: st, 64: tt, 73: Y }, { 4: n, 5: s, 8: 8, 9: 10, 10: c, 13: 13, 14: E, 15: h, 17: [1, 171], 18: 16, 19: p, 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: A, 42: D, 44: M, 45: V, 47: W, 51: U, 53: G, 54: X, 56: nt, 61: j, 62: H, 63: st, 64: tt, 73: Y }, { 16: [1, 172] }, e(C, [2, 50]), { 16: [1, 173] }, e(C, [2, 55]), e(Xt, [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: Y }, { 23: 178, 73: Y }, { 23: 179, 73: Y }, { 58: 180, 104: ot }, { 23: 181, 72: [1, 182], 73: Y }, { 58: 183, 104: ot }, { 58: 184, 104: ot }, { 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(wt, [2, 11]), { 13: 186, 51: U, 53: G, 54: X }, e(wt, [2, 13]), e(wt, [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: ot }, { 58: 196, 104: ot }, { 58: 197, 104: ot }, { 5: [2, 75] }, { 58: 198, 104: ot }, { 23: 199, 73: Y }, { 5: [2, 58] }, { 5: [2, 59] }, { 23: 200, 73: Y }, e(wt, [2, 12]), e(Ae, i, { 7: 124, 41: 201 }), e(Gt, i, { 7: 126, 43: 202 }), e(Se, i, { 7: 129, 46: 203 }), e(C, [2, 49]), e(C, [2, 54]), e(Xt, [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: ot }, { 104: [2, 66] }, { 17: [2, 48] }, { 17: [2, 46] }, { 17: [2, 44] }, { 5: [2, 74] }],
304
+ 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: E, 15: h, 18: 16, 19: p, 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: A, 42: D, 44: M, 45: V, 47: W, 51: U, 53: G, 54: X, 56: nt, 61: j, 62: q, 63: st, 64: tt, 73: Y }, e(C, [2, 5]), { 9: 48, 13: 13, 14: E, 15: h, 18: 16, 19: p, 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: A, 42: D, 44: M, 45: V, 47: W, 51: U, 53: G, 54: X, 56: nt, 61: j, 62: q, 63: st, 64: tt, 73: Y }, e(C, [2, 7]), e(C, [2, 8]), e(C, [2, 9]), e(C, [2, 15]), { 13: 49, 51: U, 53: G, 54: X }, { 16: [1, 50] }, { 5: [1, 51] }, { 5: [1, 54], 20: [1, 52], 21: [1, 53] }, { 23: 55, 73: Y }, { 23: 56, 73: Y }, { 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: St }, { 23: 75, 55: 76, 73: St }, { 23: 77, 73: Y }, { 69: 78, 72: [1, 79], 78: Dt, 79: m, 80: k, 81: lt, 82: et, 83: K, 84: Ot, 85: oe, 86: ce, 87: le, 88: he, 89: de, 90: Te, 91: pe, 92: Ee, 93: ue, 94: fe, 95: _e, 96: ge, 97: xe, 98: Ie, 99: ye, 100: Re, 101: Oe, 102: Le, 103: be }, { 57: 106, 59: [1, 107], 67: [1, 108], 68: [1, 109] }, { 23: 110, 73: Y }, { 23: 111, 73: Y }, { 23: 112, 73: Y }, { 23: 113, 73: Y }, 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], me), e(C, [2, 6]), e(C, [2, 16]), e(wt, [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(vt, i, { 7: 120 }), e(vt, i, { 7: 121 }), e(vt, i, { 7: 122 }), e(Ae, i, { 41: 123, 7: 124 }), e(Gt, i, { 43: 125, 7: 126 }), e(Gt, i, { 7: 126, 43: 127 }), e(Se, i, { 46: 128, 7: 129 }), e(vt, i, { 7: 130 }), { 5: [1, 132], 52: [1, 131] }, { 5: [1, 134], 52: [1, 133] }, e(Xt, me, { 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: Y }, { 69: 146, 78: Dt, 79: m, 80: k, 81: lt, 82: et, 83: K, 84: Ot, 85: oe, 86: ce, 87: le, 88: he, 89: de, 90: Te, 91: pe, 92: Ee, 93: ue, 94: fe, 95: _e, 96: ge, 97: xe, 98: Ie, 99: ye, 100: Re, 101: Oe, 102: Le, 103: be }, e(F, [2, 79]), e(F, [2, 80]), e(F, [2, 81]), e(F, [2, 82]), e(F, [2, 83]), e(F, [2, 84]), e(F, [2, 85]), e(F, [2, 86]), e(F, [2, 87]), e(F, [2, 88]), e(F, [2, 89]), e(F, [2, 90]), e(F, [2, 91]), e(F, [2, 92]), e(F, [2, 93]), e(F, [2, 94]), e(F, [2, 95]), e(F, [2, 96]), e(F, [2, 97]), e(F, [2, 98]), e(F, [2, 99]), e(F, [2, 100]), e(F, [2, 101]), e(F, [2, 102]), e(F, [2, 103]), e(F, [2, 104]), { 23: 147, 73: Y }, { 23: 149, 60: 148, 73: Y }, { 73: [2, 68] }, { 73: [2, 69] }, { 58: 150, 104: ot }, { 58: 152, 104: ot }, { 58: 153, 104: ot }, { 58: 154, 104: ot }, { 4: [1, 157], 5: [1, 159], 12: 156, 13: 158, 17: [1, 155], 51: U, 53: G, 54: X }, { 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: E, 15: h, 17: [1, 161], 18: 16, 19: p, 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: A, 42: D, 44: M, 45: V, 47: W, 51: U, 53: G, 54: X, 56: nt, 61: j, 62: q, 63: st, 64: tt, 73: Y }, { 4: n, 5: s, 8: 8, 9: 10, 10: c, 13: 13, 14: E, 15: h, 17: [1, 162], 18: 16, 19: p, 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: A, 42: D, 44: M, 45: V, 47: W, 51: U, 53: G, 54: X, 56: nt, 61: j, 62: q, 63: st, 64: tt, 73: Y }, { 4: n, 5: s, 8: 8, 9: 10, 10: c, 13: 13, 14: E, 15: h, 17: [1, 163], 18: 16, 19: p, 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: A, 42: D, 44: M, 45: V, 47: W, 51: U, 53: G, 54: X, 56: nt, 61: j, 62: q, 63: st, 64: tt, 73: Y }, { 17: [1, 164] }, { 4: n, 5: s, 8: 8, 9: 10, 10: c, 13: 13, 14: E, 15: h, 17: [2, 47], 18: 16, 19: p, 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: A, 42: D, 44: M, 45: V, 47: W, 50: [1, 165], 51: U, 53: G, 54: X, 56: nt, 61: j, 62: q, 63: st, 64: tt, 73: Y }, { 17: [1, 166] }, { 4: n, 5: s, 8: 8, 9: 10, 10: c, 13: 13, 14: E, 15: h, 17: [2, 45], 18: 16, 19: p, 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: A, 42: D, 44: M, 45: V, 47: W, 49: [1, 167], 51: U, 53: G, 54: X, 56: nt, 61: j, 62: q, 63: st, 64: tt, 73: Y }, { 17: [1, 168] }, { 17: [1, 169] }, { 4: n, 5: s, 8: 8, 9: 10, 10: c, 13: 13, 14: E, 15: h, 17: [2, 43], 18: 16, 19: p, 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: A, 42: D, 44: M, 45: V, 47: W, 48: [1, 170], 51: U, 53: G, 54: X, 56: nt, 61: j, 62: q, 63: st, 64: tt, 73: Y }, { 4: n, 5: s, 8: 8, 9: 10, 10: c, 13: 13, 14: E, 15: h, 17: [1, 171], 18: 16, 19: p, 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: A, 42: D, 44: M, 45: V, 47: W, 51: U, 53: G, 54: X, 56: nt, 61: j, 62: q, 63: st, 64: tt, 73: Y }, { 16: [1, 172] }, e(C, [2, 50]), { 16: [1, 173] }, e(C, [2, 55]), e(Xt, [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: Y }, { 23: 178, 73: Y }, { 23: 179, 73: Y }, { 58: 180, 104: ot }, { 23: 181, 72: [1, 182], 73: Y }, { 58: 183, 104: ot }, { 58: 184, 104: ot }, { 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(wt, [2, 11]), { 13: 186, 51: U, 53: G, 54: X }, e(wt, [2, 13]), e(wt, [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: ot }, { 58: 196, 104: ot }, { 58: 197, 104: ot }, { 5: [2, 75] }, { 58: 198, 104: ot }, { 23: 199, 73: Y }, { 5: [2, 58] }, { 5: [2, 59] }, { 23: 200, 73: Y }, e(wt, [2, 12]), e(Ae, i, { 7: 124, 41: 201 }), e(Gt, i, { 7: 126, 43: 202 }), e(Se, i, { 7: 129, 46: 203 }), e(C, [2, 49]), e(C, [2, 54]), e(Xt, [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: ot }, { 104: [2, 66] }, { 17: [2, 48] }, { 17: [2, 46] }, { 17: [2, 44] }, { 5: [2, 74] }],
305
305
  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] },
306
306
  parseError: /* @__PURE__ */ x(function(S, v) {
307
307
  if (v.recoverable)
@@ -1370,7 +1370,7 @@ var _r = ee, gr = {
1370
1370
  stroke: ${e.nodeBorder};
1371
1371
  }
1372
1372
  `;
1373
- }, "getStyles"), Or = Rr, It = 36, ft = "actor-top", _t = "actor-bottom", Ht = "actor-box", yt = "actor-man", pt = /* @__PURE__ */ new Set(["redux-color", "redux-dark-color"]), Pt = /* @__PURE__ */ x(function(e, t) {
1373
+ }, "getStyles"), Or = Rr, It = 36, ft = "actor-top", _t = "actor-bottom", qt = "actor-box", yt = "actor-man", pt = /* @__PURE__ */ new Set(["redux-color", "redux-dark-color"]), Pt = /* @__PURE__ */ x(function(e, t) {
1374
1374
  const a = fr(e, t);
1375
1375
  return Ft().look === "neo" && a.attr("data-look", "neo"), a;
1376
1376
  }, "drawRect"), Lr = /* @__PURE__ */ x(function(e, t, a, r, i) {
@@ -1404,7 +1404,7 @@ var _r = ee, gr = {
1404
1404
  return u.attr("height", O), { height: c.height + O, width: _ };
1405
1405
  }, "drawPopup"), zt = /* @__PURE__ */ x(function(e) {
1406
1406
  return "var pu = document.getElementById('" + e + "'); if (pu != null) { pu.style.display = pu.style.display == 'block' ? 'none' : 'block'; }";
1407
- }, "popupMenuToggle"), qt = /* @__PURE__ */ x(async function(e, t, a = null) {
1407
+ }, "popupMenuToggle"), Ht = /* @__PURE__ */ x(async function(e, t, a = null) {
1408
1408
  let r = e.append("foreignObject");
1409
1409
  const i = await Ve(t.text, Ft()), s = r.append("xhtml:div").attr("style", "width: fit-content;").attr("xmlns", "http://www.w3.org/1999/xhtml").html(i).node().getBoundingClientRect();
1410
1410
  if (r.attr("height", Math.round(s.height)).attr("width", Math.round(s.width)), t.class === "noteText") {
@@ -1501,7 +1501,7 @@ var _r = ee, gr = {
1501
1501
  g.y,
1502
1502
  g.width,
1503
1503
  g.height,
1504
- { class: `actor ${Ht}` },
1504
+ { class: `actor ${qt}` },
1505
1505
  a
1506
1506
  );
1507
1507
  let b = t.height;
@@ -1536,7 +1536,7 @@ var _r = ee, gr = {
1536
1536
  g.y + I,
1537
1537
  g.width,
1538
1538
  g.height,
1539
- { class: `actor ${Ht}` },
1539
+ { class: `actor ${qt}` },
1540
1540
  a
1541
1541
  );
1542
1542
  let D = t.height;
@@ -1575,7 +1575,7 @@ var _r = ee, gr = {
1575
1575
  g.y,
1576
1576
  g.width,
1577
1577
  g.height,
1578
- { class: `actor ${Ht}` },
1578
+ { class: `actor ${qt}` },
1579
1579
  a
1580
1580
  );
1581
1581
  let M = t.height;
@@ -1655,7 +1655,7 @@ var _r = ee, gr = {
1655
1655
  f.y + 35,
1656
1656
  f.width,
1657
1657
  f.height,
1658
- { class: `actor ${Ht}` },
1658
+ { class: `actor ${qt}` },
1659
1659
  a
1660
1660
  );
1661
1661
  const W = D.select("path:last-child");
@@ -1780,11 +1780,11 @@ var _r = ee, gr = {
1780
1780
  });
1781
1781
  let T = se();
1782
1782
  T.text = a, T.x = t.startx, T.y = t.starty, T.fontFamily = h, T.fontSize = p, T.fontWeight = _, T.anchor = "middle", T.valign = "middle", T.tspan = !1, T.width = Math.max(E ?? 0, 50), T.height = c + (r.look === "neo" ? 15 : 0) || 20, T.textMargin = s, T.class = "labelText", Ye(u, T), T = Fe(), T.text = t.title, T.x = t.startx + E / 2 + (t.stopx - t.startx) / 2, T.y = t.starty + n + s, T.anchor = "middle", T.valign = "middle", T.textMargin = s, T.class = "loopText", T.fontFamily = h, T.fontSize = p, T.fontWeight = _, T.wrap = !0;
1783
- let g = Z(T.text) ? await qt(u, T, t) : At(u, T);
1783
+ let g = Z(T.text) ? await Ht(u, T, t) : At(u, T);
1784
1784
  if (t.sectionTitles !== void 0) {
1785
1785
  for (const [f, I] of Object.entries(t.sectionTitles))
1786
1786
  if (I.message) {
1787
- T.text = I.message, T.x = t.startx + (t.stopx - t.startx) / 2, T.y = t.sections[f].y + n + s, T.class = "sectionTitle", T.anchor = "middle", T.valign = "middle", T.tspan = !1, T.fontFamily = h, T.fontSize = p, T.fontWeight = _, T.wrap = t.wrap, Z(T.text) ? (t.starty = t.sections[f].y, await qt(u, T, t)) : At(u, T);
1787
+ T.text = I.message, T.x = t.startx + (t.stopx - t.startx) / 2, T.y = t.sections[f].y + n + s, T.class = "sectionTitle", T.anchor = "middle", T.valign = "middle", T.tspan = !1, T.fontFamily = h, T.fontSize = p, T.fontWeight = _, T.wrap = t.wrap, Z(T.text) ? (t.starty = t.sections[f].y, await Ht(u, T, t)) : At(u, T);
1788
1788
  let L = Math.round(
1789
1789
  g.map((b) => (b._groups || b)[0][0].getBBox().height).reduce((b, w) => b + w)
1790
1790
  );
@@ -1813,9 +1813,9 @@ var _r = ee, gr = {
1813
1813
  e.append("defs").append("marker").attr("id", t + "-arrowhead").attr("refX", 7.9).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto-start-reverse").append("path").attr("d", "M -1 0 L 10 5 L 0 10 z");
1814
1814
  }, "insertArrowHead"), Fr = /* @__PURE__ */ x(function(e, t) {
1815
1815
  e.append("defs").append("marker").attr("id", t + "-filled-head").attr("refX", 15.5).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L14,7 L9,1 Z");
1816
- }, "insertArrowFilledHead"), qr = /* @__PURE__ */ x(function(e, t) {
1816
+ }, "insertArrowFilledHead"), Hr = /* @__PURE__ */ x(function(e, t) {
1817
1817
  e.append("defs").append("marker").attr("id", t + "-sequencenumber").attr("refX", 15).attr("refY", 15).attr("markerWidth", 60).attr("markerHeight", 40).attr("orient", "auto").append("circle").attr("cx", 15).attr("cy", 15).attr("r", 6);
1818
- }, "insertSequenceNumber"), Hr = /* @__PURE__ */ x(function(e, t) {
1818
+ }, "insertSequenceNumber"), qr = /* @__PURE__ */ x(function(e, t) {
1819
1819
  e.append("defs").append("marker").attr("id", t + "-crosshead").attr("markerWidth", 15).attr("markerHeight", 8).attr("orient", "auto").attr("refX", 4).attr("refY", 4.5).append("path").attr("fill", "none").attr("stroke", "#000000").style("stroke-dasharray", "0, 0").attr("stroke-width", "1pt").attr("d", "M 1,2 L 6,7 M 6,2 L 1,7");
1820
1820
  }, "insertArrowCrossHead"), zr = /* @__PURE__ */ x(function(e, t) {
1821
1821
  const { theme: a } = t;
@@ -1912,7 +1912,7 @@ var _r = ee, gr = {
1912
1912
  e.append("defs").append("marker").attr("id", t + "-stickTopArrowHead").attr("refX", 7.5).attr("refY", 7).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto-start-reverse").append("path").attr("d", "M 0 0 L 7 7").attr("stroke", "black").attr("stroke-width", 1.5).attr("fill", "none");
1913
1913
  }, "insertStickTopArrowHead"), Zr = /* @__PURE__ */ x(function(e, t) {
1914
1914
  e.append("defs").append("marker").attr("id", t + "-stickBottomArrowHead").attr("refX", 7.5).attr("refY", 0).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto-start-reverse").append("path").attr("d", "M 0 7 L 7 0").attr("stroke", "black").attr("stroke-width", 1.5).attr("fill", "none");
1915
- }, "insertStickBottomArrowHead"), q = {
1915
+ }, "insertStickBottomArrowHead"), H = {
1916
1916
  drawRect: Pt,
1917
1917
  drawText: At,
1918
1918
  drawLabel: Ye,
@@ -1925,8 +1925,8 @@ var _r = ee, gr = {
1925
1925
  drawBackgroundRect: Ke,
1926
1926
  insertArrowHead: Kr,
1927
1927
  insertArrowFilledHead: Fr,
1928
- insertSequenceNumber: qr,
1929
- insertArrowCrossHead: Hr,
1928
+ insertSequenceNumber: Hr,
1929
+ insertArrowCrossHead: qr,
1930
1930
  insertDatabaseIcon: Vr,
1931
1931
  insertComputerIcon: Yr,
1932
1932
  insertClockIcon: Wr,
@@ -2027,7 +2027,7 @@ var _r = ee, gr = {
2027
2027
  stopx: n + l.activationWidth,
2028
2028
  stopy: void 0,
2029
2029
  actor: e.from,
2030
- anchored: q.anchorElement(t)
2030
+ anchored: H.anchorElement(t)
2031
2031
  });
2032
2032
  }, "newActivation"),
2033
2033
  endActivation: /* @__PURE__ */ x(function(e) {
@@ -2083,9 +2083,9 @@ var _r = ee, gr = {
2083
2083
  r.x = t.startx, r.y = t.starty, r.width = t.width || l.width, r.class = "note";
2084
2084
  const i = e.append("g");
2085
2085
  i.attr("data-et", "note"), i.attr("data-id", "i" + a);
2086
- const n = q.drawRect(i, r), s = se();
2086
+ const n = H.drawRect(i, r), s = se();
2087
2087
  s.x = t.startx, s.y = t.starty, s.width = r.width, s.dy = "1em", s.text = t.message, s.class = "noteText", s.fontFamily = l.noteFontFamily, s.fontSize = l.noteFontSize, s.fontWeight = l.noteFontWeight, s.anchor = l.noteAlign, s.textMargin = l.noteMargin, s.valign = "center";
2088
- const c = Z(s.text) ? await qt(i, s) : At(i, s), E = Math.round(
2088
+ const c = Z(s.text) ? await Ht(i, s) : At(i, s), E = Math.round(
2089
2089
  c.map((h) => (h._groups || h)[0][0].getBBox().height).reduce((h, p) => h + p)
2090
2090
  );
2091
2091
  n.attr("height", E + 2 * l.noteMargin), t.height += E + 2 * l.noteMargin, R.bumpVerticalPos(E + 2 * l.noteMargin), t.stopy = t.starty + E + 2 * l.noteMargin, t.stopx = t.startx + r.width, R.insert(t.startx, t.starty, t.stopx, t.stopy), R.models.addNote(t);
@@ -2134,7 +2134,7 @@ var _r = ee, gr = {
2134
2134
  fontSize: e.actorFontSize,
2135
2135
  fontWeight: e.actorFontWeight
2136
2136
  }), "actorFont");
2137
- async function qe(e, t) {
2137
+ async function He(e, t) {
2138
2138
  R.bumpVerticalPos(10);
2139
2139
  const { startx: a, stopx: r, message: i } = t, n = N.splitBreaks(i).length, s = Z(i), c = s ? await kt(i, $()) : Q.calculateTextDimensions(i, Rt(l));
2140
2140
  if (!s) {
@@ -2156,10 +2156,10 @@ async function qe(e, t) {
2156
2156
  h += l.boxMargin, E = R.getVerticalPos() + h, R.insert(a, E - 10, r, E);
2157
2157
  return R.bumpVerticalPos(h), t.height += h, t.stopy = t.starty + t.height, R.insert(t.fromBounds, t.starty, t.toBounds, t.stopy), E;
2158
2158
  }
2159
- x(qe, "boundMessage");
2159
+ x(He, "boundMessage");
2160
2160
  var jr = /* @__PURE__ */ x(async function(e, t, a, r, i, n) {
2161
2161
  const { startx: s, stopx: c, starty: E, message: h, type: p, sequenceIndex: _, sequenceVisible: u } = t, O = Q.calculateTextDimensions(h, Rt(l)), T = se();
2162
- T.x = Math.min(s, c), T.y = E + 10, T.width = Math.abs(c - s), T.class = "messageText", T.dy = "1em", T.text = h, T.fontFamily = l.messageFontFamily, T.fontSize = l.messageFontSize, T.fontWeight = l.messageFontWeight, T.anchor = l.messageAlign, T.valign = "center", T.textMargin = l.wrapPadding, T.tspan = !1, Z(T.text) ? await qt(e, T, { startx: s, stopx: c, starty: a }) : At(e, T);
2162
+ T.x = Math.min(s, c), T.y = E + 10, T.width = Math.abs(c - s), T.class = "messageText", T.dy = "1em", T.text = h, T.fontFamily = l.messageFontFamily, T.fontSize = l.messageFontSize, T.fontWeight = l.messageFontWeight, T.anchor = l.messageAlign, T.valign = "center", T.textMargin = l.wrapPadding, T.tspan = !1, Z(T.text) ? await Ht(e, T, { startx: s, stopx: c, starty: a }) : At(e, T);
2163
2163
  const g = O.width;
2164
2164
  let f;
2165
2165
  if (s === c) {
@@ -2200,7 +2200,7 @@ var jr = /* @__PURE__ */ x(async function(e, t, a, r, i, n) {
2200
2200
  for (const E of a) {
2201
2201
  const h = t.get(E);
2202
2202
  h.stopy || (h.stopy = R.getVerticalPos());
2203
- const p = await q.drawActor(
2203
+ const p = await H.drawActor(
2204
2204
  e,
2205
2205
  h,
2206
2206
  l,
@@ -2215,12 +2215,12 @@ var jr = /* @__PURE__ */ x(async function(e, t, a, r, i, n) {
2215
2215
  } else
2216
2216
  for (const c of a) {
2217
2217
  const E = t.get(c);
2218
- await q.drawActor(e, E, l, !1, i, n, s);
2218
+ await H.drawActor(e, E, l, !1, i, n, s);
2219
2219
  }
2220
- }, "drawActors"), He = /* @__PURE__ */ x(function(e, t, a, r) {
2220
+ }, "drawActors"), qe = /* @__PURE__ */ x(function(e, t, a, r) {
2221
2221
  let i = 0, n = 0;
2222
2222
  for (const s of a) {
2223
- const c = t.get(s), E = ra(c), h = q.drawPopup(
2223
+ const c = t.get(s), E = ra(c), h = H.drawPopup(
2224
2224
  e,
2225
2225
  c,
2226
2226
  E,
@@ -2328,7 +2328,7 @@ var ea = /* @__PURE__ */ x(async function(e, t, a, r) {
2328
2328
  const _ = i === "sandbox" ? h.select(`[id="${t}"]`) : Yt(`[id="${t}"]`), u = r.db.getActors(), O = r.db.getCreatedActors(), T = r.db.getDestroyedActors(), g = r.db.getBoxes();
2329
2329
  let f = r.db.getActorKeys();
2330
2330
  const I = r.db.getMessages(), L = r.db.getDiagramTitle(), b = r.db.hasAtLeastOneBox(), w = r.db.hasAtLeastOneBoxWithTitle(), A = await Ge(u, I, r);
2331
- if (l.height = await Xe(u, A, g), q.insertComputerIcon(_, t), q.insertDatabaseIcon(_, t), q.insertClockIcon(_, t), b && (R.bumpVerticalPos(l.boxMargin), w && R.bumpVerticalPos(g[0].textMaxHeight)), l.hideUnusedParticipants === !0) {
2331
+ if (l.height = await Xe(u, A, g), H.insertComputerIcon(_, t), H.insertDatabaseIcon(_, t), H.insertClockIcon(_, t), b && (R.bumpVerticalPos(l.boxMargin), w && R.bumpVerticalPos(g[0].textMaxHeight)), l.hideUnusedParticipants === !0) {
2332
2332
  const m = /* @__PURE__ */ new Set();
2333
2333
  I.forEach((k) => {
2334
2334
  m.add(k.from), m.add(k.to);
@@ -2339,10 +2339,10 @@ var ea = /* @__PURE__ */ x(async function(e, t, a, r) {
2339
2339
  );
2340
2340
  ta(_, u, O, f, 0, I, !1);
2341
2341
  const M = await ca(I, u, A, r);
2342
- q.insertArrowHead(_, t), q.insertArrowCrossHead(_, t), q.insertArrowFilledHead(_, t), q.insertSequenceNumber(_, t), q.insertSolidTopArrowHead(_, t), q.insertSolidBottomArrowHead(_, t), q.insertStickTopArrowHead(_, t), q.insertStickBottomArrowHead(_, t), s === "neo" && q.insertDropShadow(_, l);
2342
+ H.insertArrowHead(_, t), H.insertArrowCrossHead(_, t), H.insertArrowFilledHead(_, t), H.insertSequenceNumber(_, t), H.insertSolidTopArrowHead(_, t), H.insertSolidBottomArrowHead(_, t), H.insertStickTopArrowHead(_, t), H.insertStickBottomArrowHead(_, t), s === "neo" && H.insertDropShadow(_, l);
2343
2343
  function V(m, k) {
2344
2344
  const lt = R.endActivation(m);
2345
- lt.starty + 18 > k && (lt.starty = k - 6, k += 12), q.drawActivation(
2345
+ lt.starty + 18 > k && (lt.starty = k - 6, k += 12), H.drawActivation(
2346
2346
  _,
2347
2347
  lt,
2348
2348
  k,
@@ -2384,7 +2384,7 @@ var ea = /* @__PURE__ */ x(async function(e, t, a, r) {
2384
2384
  );
2385
2385
  break;
2386
2386
  case r.db.LINETYPE.LOOP_END:
2387
- k = R.endLoop(), await q.drawLoop(_, k, "loop", l, m), R.bumpVerticalPos(k.stopy - R.getVerticalPos()), R.models.addLoop(k);
2387
+ k = R.endLoop(), await H.drawLoop(_, k, "loop", l, m), R.bumpVerticalPos(k.stopy - R.getVerticalPos()), R.models.addLoop(k);
2388
2388
  break;
2389
2389
  case r.db.LINETYPE.RECT_START:
2390
2390
  ht(M, m, l.boxMargin, l.boxMargin, (K) => {
@@ -2405,7 +2405,7 @@ var ea = /* @__PURE__ */ x(async function(e, t, a, r) {
2405
2405
  );
2406
2406
  break;
2407
2407
  case r.db.LINETYPE.OPT_END:
2408
- k = R.endLoop(), await q.drawLoop(_, k, "opt", l, m), R.bumpVerticalPos(k.stopy - R.getVerticalPos()), R.models.addLoop(k);
2408
+ k = R.endLoop(), await H.drawLoop(_, k, "opt", l, m), R.bumpVerticalPos(k.stopy - R.getVerticalPos()), R.models.addLoop(k);
2409
2409
  break;
2410
2410
  case r.db.LINETYPE.ALT_START:
2411
2411
  ht(
@@ -2426,7 +2426,7 @@ var ea = /* @__PURE__ */ x(async function(e, t, a, r) {
2426
2426
  );
2427
2427
  break;
2428
2428
  case r.db.LINETYPE.ALT_END:
2429
- k = R.endLoop(), await q.drawLoop(_, k, "alt", l, m), R.bumpVerticalPos(k.stopy - R.getVerticalPos()), R.models.addLoop(k);
2429
+ k = R.endLoop(), await H.drawLoop(_, k, "alt", l, m), R.bumpVerticalPos(k.stopy - R.getVerticalPos()), R.models.addLoop(k);
2430
2430
  break;
2431
2431
  case r.db.LINETYPE.PAR_START:
2432
2432
  case r.db.LINETYPE.PAR_OVER_START:
@@ -2448,7 +2448,7 @@ var ea = /* @__PURE__ */ x(async function(e, t, a, r) {
2448
2448
  );
2449
2449
  break;
2450
2450
  case r.db.LINETYPE.PAR_END:
2451
- k = R.endLoop(), await q.drawLoop(_, k, "par", l, m), R.bumpVerticalPos(k.stopy - R.getVerticalPos()), R.models.addLoop(k);
2451
+ k = R.endLoop(), await H.drawLoop(_, k, "par", l, m), R.bumpVerticalPos(k.stopy - R.getVerticalPos()), R.models.addLoop(k);
2452
2452
  break;
2453
2453
  case r.db.LINETYPE.AUTONUMBER:
2454
2454
  W = m.message.start || W, U = m.message.step || U, m.message.visible ? r.db.enableSequenceNumbers() : r.db.disableSequenceNumbers();
@@ -2472,7 +2472,7 @@ var ea = /* @__PURE__ */ x(async function(e, t, a, r) {
2472
2472
  );
2473
2473
  break;
2474
2474
  case r.db.LINETYPE.CRITICAL_END:
2475
- k = R.endLoop(), await q.drawLoop(_, k, "critical", l, m), R.bumpVerticalPos(k.stopy - R.getVerticalPos()), R.models.addLoop(k);
2475
+ k = R.endLoop(), await H.drawLoop(_, k, "critical", l, m), R.bumpVerticalPos(k.stopy - R.getVerticalPos()), R.models.addLoop(k);
2476
2476
  break;
2477
2477
  case r.db.LINETYPE.BREAK_START:
2478
2478
  ht(
@@ -2484,12 +2484,12 @@ var ea = /* @__PURE__ */ x(async function(e, t, a, r) {
2484
2484
  );
2485
2485
  break;
2486
2486
  case r.db.LINETYPE.BREAK_END:
2487
- k = R.endLoop(), await q.drawLoop(_, k, "break", l, m), R.bumpVerticalPos(k.stopy - R.getVerticalPos()), R.models.addLoop(k);
2487
+ k = R.endLoop(), await H.drawLoop(_, k, "break", l, m), R.bumpVerticalPos(k.stopy - R.getVerticalPos()), R.models.addLoop(k);
2488
2488
  break;
2489
2489
  default:
2490
2490
  try {
2491
2491
  et = m.msgModel, et.starty = R.getVerticalPos(), et.sequenceIndex = W, et.sequenceVisible = r.db.showSequenceNumbers(), et.id = m.id, et.from = m.from, et.to = m.to;
2492
- const K = await qe(_, et);
2492
+ const K = await He(_, et);
2493
2493
  Ue(
2494
2494
  m,
2495
2495
  et,
@@ -2535,27 +2535,27 @@ var ea = /* @__PURE__ */ x(async function(e, t, a, r) {
2535
2535
  at.debug("createdActors", O), at.debug("destroyedActors", T), await ae(_, u, f, !1, t, r, D);
2536
2536
  for (const m of G)
2537
2537
  await jr(_, m.messageModel, m.lineStartY, r, m.msg, t);
2538
- l.mirrorActors && await ae(_, u, f, !0, t, r, D), X.forEach((m) => q.drawBackgroundRect(_, m)), We(_, u, f, l);
2538
+ l.mirrorActors && await ae(_, u, f, !0, t, r, D), X.forEach((m) => H.drawBackgroundRect(_, m)), We(_, u, f, l);
2539
2539
  for (const m of R.models.boxes) {
2540
2540
  m.height = R.getVerticalPos() - m.y, R.insert(m.x, m.y, m.x + m.width, m.height);
2541
2541
  const k = l.boxMargin * 2;
2542
- m.startx = m.x - k, m.starty = m.y - k * 0.25, m.stopx = m.startx + m.width + 2 * k, m.stopy = m.starty + m.height + k * 0.75, m.stroke = "rgb(0,0,0, 0.5)", q.drawBox(_, m, l);
2542
+ m.startx = m.x - k, m.starty = m.y - k * 0.25, m.stopx = m.startx + m.width + 2 * k, m.stopy = m.starty + m.height + k * 0.75, m.stroke = "rgb(0,0,0, 0.5)", H.drawBox(_, m, l);
2543
2543
  }
2544
2544
  b && R.bumpVerticalPos(l.boxMargin);
2545
- const j = He(_, u, f, p), { bounds: H } = R.getBounds();
2546
- H.startx === void 0 && (H.startx = 0), H.starty === void 0 && (H.starty = 0), H.stopx === void 0 && (H.stopx = 0), H.stopy === void 0 && (H.stopy = 0);
2547
- let st = H.stopy - H.starty;
2545
+ const j = qe(_, u, f, p), { bounds: q } = R.getBounds();
2546
+ q.startx === void 0 && (q.startx = 0), q.starty === void 0 && (q.starty = 0), q.stopx === void 0 && (q.stopx = 0), q.stopy === void 0 && (q.stopy = 0);
2547
+ let st = q.stopy - q.starty;
2548
2548
  st < j.maxHeight && (st = j.maxHeight);
2549
2549
  let tt = st + 2 * l.diagramMarginY;
2550
2550
  l.mirrorActors && (tt = tt - l.boxMargin + l.bottomMarginAdj);
2551
- let Y = H.stopx - H.startx;
2551
+ let Y = q.stopx - q.startx;
2552
2552
  Y < j.maxWidth && (Y = j.maxWidth);
2553
2553
  const C = Y + 2 * l.diagramMarginX;
2554
- L && _.append("text").text(L).attr("x", (H.stopx - H.startx) / 2 - 2 * l.diagramMarginX).attr("y", -25), ar(_, tt, C, l.useMaxWidth);
2554
+ L && _.append("text").text(L).attr("x", (q.stopx - q.startx) / 2 - 2 * l.diagramMarginX).attr("y", -25), ar(_, tt, C, l.useMaxWidth);
2555
2555
  const St = L ? 40 : 0, Dt = u.size && s === "neo" ? 30 : 0;
2556
2556
  _.attr(
2557
2557
  "viewBox",
2558
- H.startx - l.diagramMarginX + " -" + (l.diagramMarginY + St) + " " + C + " " + (tt + St + Dt)
2558
+ q.startx - l.diagramMarginX + " -" + (l.diagramMarginY + St) + " " + C + " " + (tt + St + Dt)
2559
2559
  ), at.debug("models:", R.models);
2560
2560
  }, "draw");
2561
2561
  async function Ge(e, t, a) {
@@ -2869,7 +2869,7 @@ var aa = /* @__PURE__ */ x(async function(e, t, a) {
2869
2869
  }, "calculateLoopBounds"), la = {
2870
2870
  bounds: R,
2871
2871
  drawActors: ae,
2872
- drawActorsPopup: He,
2872
+ drawActorsPopup: qe,
2873
2873
  setConf: ze,
2874
2874
  draw: ea
2875
2875
  }, pa = {
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Ye=require("./chunk-2Q5K7J3B-CxctoKh9.cjs"),r=require("./extractHeadings-Bg4X-sHT.cjs"),G=require("./chunk-32BRIVSS-O40GKD8W.cjs");var Ut=(function(){var e=r.__name(function(dt,A,D,w){for(D=D||{},w=dt.length;w--;D[dt[w]]=A);return D},"o"),t=[1,2],s=[1,3],a=[1,4],i=[2,4],o=[1,9],n=[1,11],l=[1,12],_=[1,14],h=[1,15],E=[1,17],g=[1,18],u=[1,19],R=[1,25],p=[1,26],m=[1,27],f=[1,28],x=[1,29],O=[1,30],L=[1,31],N=[1,32],S=[1,33],k=[1,34],v=[1,35],B=[1,36],Y=[1,37],z=[1,38],U=[1,39],X=[1,40],at=[1,42],Q=[1,43],q=[1,44],tt=[1,45],Z=[1,46],V=[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],Rt=[1,74],St=[1,80],b=[1,81],P=[1,82],nt=[1,83],$=[1,84],W=[1,85],gt=[1,86],Jt=[1,87],Qt=[1,88],Zt=[1,89],$t=[1,90],jt=[1,91],te=[1,92],ee=[1,93],ae=[1,94],re=[1,95],se=[1,96],ne=[1,97],ie=[1,98],oe=[1,99],ce=[1,100],le=[1,101],de=[1,102],he=[1,103],Te=[1,104],pe=[1,105],Ee=[2,78],Ot=[4,5,17,51,53,54],At=[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],_e=[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],Vt=[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],ue=[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],Yt=[5,52],K=[70,71,72,73],rt=[1,151],Wt={trace:r.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,INVALID:10,box_section:11,box_line:12,participant_statement:13,create:14,box:15,restOfLine:16,end:17,signal:18,autonumber:19,NUM:20,off:21,activate:22,actor:23,deactivate:24,note_statement:25,links_statement:26,link_statement:27,properties_statement:28,details_statement:29,title:30,legacy_title:31,acc_title:32,acc_title_value:33,acc_descr:34,acc_descr_value:35,acc_descr_multiline_value:36,loop:37,rect:38,opt:39,alt:40,else_sections:41,par:42,par_sections:43,par_over:44,critical:45,option_sections:46,break:47,option:48,and:49,else:50,participant:51,AS:52,participant_actor:53,destroy:54,actor_with_config:55,note:56,placement:57,text2:58,over:59,actor_pair:60,links:61,link:62,properties:63,details:64,spaceList:65,",":66,left_of:67,right_of:68,signaltype:69,"+":70,"-":71,"()":72,ACTOR:73,config_object:74,CONFIG_START:75,CONFIG_CONTENT:76,CONFIG_END:77,SOLID_OPEN_ARROW:78,DOTTED_OPEN_ARROW:79,SOLID_ARROW:80,SOLID_ARROW_TOP:81,SOLID_ARROW_BOTTOM:82,STICK_ARROW_TOP:83,STICK_ARROW_BOTTOM:84,SOLID_ARROW_TOP_DOTTED:85,SOLID_ARROW_BOTTOM_DOTTED:86,STICK_ARROW_TOP_DOTTED:87,STICK_ARROW_BOTTOM_DOTTED:88,SOLID_ARROW_TOP_REVERSE:89,SOLID_ARROW_BOTTOM_REVERSE:90,STICK_ARROW_TOP_REVERSE:91,STICK_ARROW_BOTTOM_REVERSE:92,SOLID_ARROW_TOP_REVERSE_DOTTED:93,SOLID_ARROW_BOTTOM_REVERSE_DOTTED:94,STICK_ARROW_TOP_REVERSE_DOTTED:95,STICK_ARROW_BOTTOM_REVERSE_DOTTED:96,BIDIRECTIONAL_SOLID_ARROW:97,DOTTED_ARROW:98,BIDIRECTIONAL_DOTTED_ARROW:99,SOLID_CROSS:100,DOTTED_CROSS:101,SOLID_POINT:102,DOTTED_POINT:103,TXT:104,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",10:"INVALID",14:"create",15:"box",16:"restOfLine",17:"end",19:"autonumber",20:"NUM",21:"off",22:"activate",24:"deactivate",30:"title",31:"legacy_title",32:"acc_title",33:"acc_title_value",34:"acc_descr",35:"acc_descr_value",36:"acc_descr_multiline_value",37:"loop",38:"rect",39:"opt",40:"alt",42:"par",44:"par_over",45:"critical",47:"break",48:"option",49:"and",50:"else",51:"participant",52:"AS",53:"participant_actor",54:"destroy",56:"note",59:"over",61:"links",62:"link",63:"properties",64:"details",66:",",67:"left_of",68:"right_of",70:"+",71:"-",72:"()",73:"ACTOR",75:"CONFIG_START",76:"CONFIG_CONTENT",77:"CONFIG_END",78:"SOLID_OPEN_ARROW",79:"DOTTED_OPEN_ARROW",80:"SOLID_ARROW",81:"SOLID_ARROW_TOP",82:"SOLID_ARROW_BOTTOM",83:"STICK_ARROW_TOP",84:"STICK_ARROW_BOTTOM",85:"SOLID_ARROW_TOP_DOTTED",86:"SOLID_ARROW_BOTTOM_DOTTED",87:"STICK_ARROW_TOP_DOTTED",88:"STICK_ARROW_BOTTOM_DOTTED",89:"SOLID_ARROW_TOP_REVERSE",90:"SOLID_ARROW_BOTTOM_REVERSE",91:"STICK_ARROW_TOP_REVERSE",92:"STICK_ARROW_BOTTOM_REVERSE",93:"SOLID_ARROW_TOP_REVERSE_DOTTED",94:"SOLID_ARROW_BOTTOM_REVERSE_DOTTED",95:"STICK_ARROW_TOP_REVERSE_DOTTED",96:"STICK_ARROW_BOTTOM_REVERSE_DOTTED",97:"BIDIRECTIONAL_SOLID_ARROW",98:"DOTTED_ARROW",99:"BIDIRECTIONAL_DOTTED_ARROW",100:"SOLID_CROSS",101:"DOTTED_CROSS",102:"SOLID_POINT",103:"DOTTED_POINT",104:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[8,1],[11,0],[11,2],[12,2],[12,1],[12,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[46,1],[46,4],[43,1],[43,4],[41,1],[41,4],[13,5],[13,3],[13,5],[13,3],[13,3],[13,5],[13,3],[13,5],[13,3],[25,4],[25,4],[26,3],[27,3],[28,3],[29,3],[65,2],[65,1],[60,3],[60,1],[57,1],[57,1],[18,5],[18,5],[18,5],[18,5],[18,6],[18,4],[55,2],[74,3],[23,1],[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:r.__name(function(A,D,w,I,H,c,Lt){var T=c.length-1;switch(H){case 3:return I.apply(c[T]),c[T];case 4:case 10:this.$=[];break;case 5:case 11:c[T-1].push(c[T]),this.$=c[T-1];break;case 6:case 7:case 12:case 13:this.$=c[T];break;case 8:case 9:case 14:this.$=[];break;case 16:c[T].type="createParticipant",this.$=c[T];break;case 17:c[T-1].unshift({type:"boxStart",boxData:I.parseBoxData(c[T-2])}),c[T-1].push({type:"boxEnd",boxText:c[T-2]}),this.$=c[T-1];break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(c[T-2]),sequenceIndexStep:Number(c[T-1]),sequenceVisible:!0,signalType:I.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceIndex:Number(c[T-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:I.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:I.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:I.LINETYPE.AUTONUMBER};break;case 23:this.$={type:"activeStart",signalType:I.LINETYPE.ACTIVE_START,actor:c[T-1].actor};break;case 24:this.$={type:"activeEnd",signalType:I.LINETYPE.ACTIVE_END,actor:c[T-1].actor};break;case 30:I.setDiagramTitle(c[T].substring(6)),this.$=c[T].substring(6);break;case 31:I.setDiagramTitle(c[T].substring(7)),this.$=c[T].substring(7);break;case 32:this.$=c[T].trim(),I.setAccTitle(this.$);break;case 33:case 34:this.$=c[T].trim(),I.setAccDescription(this.$);break;case 35:c[T-1].unshift({type:"loopStart",loopText:I.parseMessage(c[T-2]),signalType:I.LINETYPE.LOOP_START}),c[T-1].push({type:"loopEnd",loopText:c[T-2],signalType:I.LINETYPE.LOOP_END}),this.$=c[T-1];break;case 36:c[T-1].unshift({type:"rectStart",color:I.parseMessage(c[T-2]),signalType:I.LINETYPE.RECT_START}),c[T-1].push({type:"rectEnd",color:I.parseMessage(c[T-2]),signalType:I.LINETYPE.RECT_END}),this.$=c[T-1];break;case 37:c[T-1].unshift({type:"optStart",optText:I.parseMessage(c[T-2]),signalType:I.LINETYPE.OPT_START}),c[T-1].push({type:"optEnd",optText:I.parseMessage(c[T-2]),signalType:I.LINETYPE.OPT_END}),this.$=c[T-1];break;case 38:c[T-1].unshift({type:"altStart",altText:I.parseMessage(c[T-2]),signalType:I.LINETYPE.ALT_START}),c[T-1].push({type:"altEnd",signalType:I.LINETYPE.ALT_END}),this.$=c[T-1];break;case 39:c[T-1].unshift({type:"parStart",parText:I.parseMessage(c[T-2]),signalType:I.LINETYPE.PAR_START}),c[T-1].push({type:"parEnd",signalType:I.LINETYPE.PAR_END}),this.$=c[T-1];break;case 40:c[T-1].unshift({type:"parStart",parText:I.parseMessage(c[T-2]),signalType:I.LINETYPE.PAR_OVER_START}),c[T-1].push({type:"parEnd",signalType:I.LINETYPE.PAR_END}),this.$=c[T-1];break;case 41:c[T-1].unshift({type:"criticalStart",criticalText:I.parseMessage(c[T-2]),signalType:I.LINETYPE.CRITICAL_START}),c[T-1].push({type:"criticalEnd",signalType:I.LINETYPE.CRITICAL_END}),this.$=c[T-1];break;case 42:c[T-1].unshift({type:"breakStart",breakText:I.parseMessage(c[T-2]),signalType:I.LINETYPE.BREAK_START}),c[T-1].push({type:"breakEnd",optText:I.parseMessage(c[T-2]),signalType:I.LINETYPE.BREAK_END}),this.$=c[T-1];break;case 44:this.$=c[T-3].concat([{type:"option",optionText:I.parseMessage(c[T-1]),signalType:I.LINETYPE.CRITICAL_OPTION},c[T]]);break;case 46:this.$=c[T-3].concat([{type:"and",parText:I.parseMessage(c[T-1]),signalType:I.LINETYPE.PAR_AND},c[T]]);break;case 48:this.$=c[T-3].concat([{type:"else",altText:I.parseMessage(c[T-1]),signalType:I.LINETYPE.ALT_ELSE},c[T]]);break;case 49:c[T-3].draw="participant",c[T-3].type="addParticipant",c[T-3].description=I.parseMessage(c[T-1]),this.$=c[T-3];break;case 50:c[T-1].draw="participant",c[T-1].type="addParticipant",this.$=c[T-1];break;case 51:c[T-3].draw="actor",c[T-3].type="addParticipant",c[T-3].description=I.parseMessage(c[T-1]),this.$=c[T-3];break;case 52:case 57:c[T-1].draw="actor",c[T-1].type="addParticipant",this.$=c[T-1];break;case 53:c[T-1].type="destroyParticipant",this.$=c[T-1];break;case 54:c[T-3].draw="participant",c[T-3].type="addParticipant",c[T-3].description=I.parseMessage(c[T-1]),this.$=c[T-3];break;case 55:c[T-1].draw="participant",c[T-1].type="addParticipant",this.$=c[T-1];break;case 56:c[T-3].draw="actor",c[T-3].type="addParticipant",c[T-3].description=I.parseMessage(c[T-1]),this.$=c[T-3];break;case 58:this.$=[c[T-1],{type:"addNote",placement:c[T-2],actor:c[T-1].actor,text:c[T]}];break;case 59:c[T-2]=[].concat(c[T-1],c[T-1]).slice(0,2),c[T-2][0]=c[T-2][0].actor,c[T-2][1]=c[T-2][1].actor,this.$=[c[T-1],{type:"addNote",placement:I.PLACEMENT.OVER,actor:c[T-2].slice(0,2),text:c[T]}];break;case 60:this.$=[c[T-1],{type:"addLinks",actor:c[T-1].actor,text:c[T]}];break;case 61:this.$=[c[T-1],{type:"addALink",actor:c[T-1].actor,text:c[T]}];break;case 62:this.$=[c[T-1],{type:"addProperties",actor:c[T-1].actor,text:c[T]}];break;case 63:this.$=[c[T-1],{type:"addDetails",actor:c[T-1].actor,text:c[T]}];break;case 66:this.$=[c[T-2],c[T]];break;case 67:this.$=c[T];break;case 68:this.$=I.PLACEMENT.LEFTOF;break;case 69:this.$=I.PLACEMENT.RIGHTOF;break;case 70:this.$=[c[T-4],c[T-1],{type:"addMessage",from:c[T-4].actor,to:c[T-1].actor,signalType:c[T-3],msg:c[T],activate:!0},{type:"activeStart",signalType:I.LINETYPE.ACTIVE_START,actor:c[T-1].actor}];break;case 71:this.$=[c[T-4],c[T-1],{type:"addMessage",from:c[T-4].actor,to:c[T-1].actor,signalType:c[T-3],msg:c[T]},{type:"activeEnd",signalType:I.LINETYPE.ACTIVE_END,actor:c[T-4].actor}];break;case 72:this.$=[c[T-4],c[T-1],{type:"addMessage",from:c[T-4].actor,to:c[T-1].actor,signalType:c[T-3],msg:c[T],activate:!0,centralConnection:I.LINETYPE.CENTRAL_CONNECTION},{type:"centralConnection",signalType:I.LINETYPE.CENTRAL_CONNECTION,actor:c[T-1].actor}];break;case 73:this.$=[c[T-4],c[T-1],{type:"addMessage",from:c[T-4].actor,to:c[T-1].actor,signalType:c[T-2],msg:c[T],activate:!1,centralConnection:I.LINETYPE.CENTRAL_CONNECTION_REVERSE},{type:"centralConnectionReverse",signalType:I.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:c[T-4].actor}];break;case 74:this.$=[c[T-5],c[T-1],{type:"addMessage",from:c[T-5].actor,to:c[T-1].actor,signalType:c[T-3],msg:c[T],activate:!0,centralConnection:I.LINETYPE.CENTRAL_CONNECTION_DUAL},{type:"centralConnection",signalType:I.LINETYPE.CENTRAL_CONNECTION,actor:c[T-1].actor},{type:"centralConnectionReverse",signalType:I.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:c[T-5].actor}];break;case 75:this.$=[c[T-3],c[T-1],{type:"addMessage",from:c[T-3].actor,to:c[T-1].actor,signalType:c[T-2],msg:c[T]}];break;case 76:this.$={type:"addParticipant",actor:c[T-1],config:c[T]};break;case 77:this.$=c[T-1].trim();break;case 78:this.$={type:"addParticipant",actor:c[T]};break;case 79:this.$=I.LINETYPE.SOLID_OPEN;break;case 80:this.$=I.LINETYPE.DOTTED_OPEN;break;case 81:this.$=I.LINETYPE.SOLID;break;case 82:this.$=I.LINETYPE.SOLID_TOP;break;case 83:this.$=I.LINETYPE.SOLID_BOTTOM;break;case 84:this.$=I.LINETYPE.STICK_TOP;break;case 85:this.$=I.LINETYPE.STICK_BOTTOM;break;case 86:this.$=I.LINETYPE.SOLID_TOP_DOTTED;break;case 87:this.$=I.LINETYPE.SOLID_BOTTOM_DOTTED;break;case 88:this.$=I.LINETYPE.STICK_TOP_DOTTED;break;case 89:this.$=I.LINETYPE.STICK_BOTTOM_DOTTED;break;case 90:this.$=I.LINETYPE.SOLID_ARROW_TOP_REVERSE;break;case 91:this.$=I.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE;break;case 92:this.$=I.LINETYPE.STICK_ARROW_TOP_REVERSE;break;case 93:this.$=I.LINETYPE.STICK_ARROW_BOTTOM_REVERSE;break;case 94:this.$=I.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED;break;case 95:this.$=I.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED;break;case 96:this.$=I.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED;break;case 97:this.$=I.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED;break;case 98:this.$=I.LINETYPE.BIDIRECTIONAL_SOLID;break;case 99:this.$=I.LINETYPE.DOTTED;break;case 100:this.$=I.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 101:this.$=I.LINETYPE.SOLID_CROSS;break;case 102:this.$=I.LINETYPE.DOTTED_CROSS;break;case 103:this.$=I.LINETYPE.SOLID_POINT;break;case 104:this.$=I.LINETYPE.DOTTED_POINT;break;case 105:this.$=I.parseMessage(c[T].trim().substring(1));break}},"anonymous"),table:[{3:1,4:t,5:s,6:a},{1:[3]},{3:5,4:t,5:s,6:a},{3:6,4:t,5:s,6:a},e([1,4,5,10,14,15,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,51,53,54,56,61,62,63,64,73],i,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:o,5:n,8:8,9:10,10:l,13:13,14:_,15:h,18:16,19:E,22:g,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:R,31:p,32:m,34:f,36:x,37:O,38:L,39:N,40:S,42:k,44:v,45:B,47:Y,51:z,53:U,54:X,56:at,61:Q,62:q,63:tt,64:Z,73:V},e(C,[2,5]),{9:48,13:13,14:_,15:h,18:16,19:E,22:g,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:R,31:p,32:m,34:f,36:x,37:O,38:L,39:N,40:S,42:k,44:v,45:B,47:Y,51:z,53:U,54:X,56:at,61:Q,62:q,63:tt,64:Z,73:V},e(C,[2,7]),e(C,[2,8]),e(C,[2,9]),e(C,[2,15]),{13:49,51:z,53:U,54:X},{16:[1,50]},{5:[1,51]},{5:[1,54],20:[1,52],21:[1,53]},{23:55,73:V},{23:56,73:V},{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:Rt},{23:75,55:76,73:Rt},{23:77,73:V},{69:78,72:[1,79],78:St,79:b,80:P,81:nt,82:$,83:W,84:gt,85:Jt,86:Qt,87:Zt,88:$t,89:jt,90:te,91:ee,92:ae,93:re,94:se,95:ne,96:ie,97:oe,98:ce,99:le,100:de,101:he,102:Te,103:pe},{57:106,59:[1,107],67:[1,108],68:[1,109]},{23:110,73:V},{23:111,73:V},{23:112,73:V},{23:113,73:V},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],Ee),e(C,[2,6]),e(C,[2,16]),e(Ot,[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(At,i,{7:120}),e(At,i,{7:121}),e(At,i,{7:122}),e(_e,i,{41:123,7:124}),e(Vt,i,{43:125,7:126}),e(Vt,i,{7:126,43:127}),e(ue,i,{46:128,7:129}),e(At,i,{7:130}),{5:[1,132],52:[1,131]},{5:[1,134],52:[1,133]},e(Yt,Ee,{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:V},{69:146,78:St,79:b,80:P,81:nt,82:$,83:W,84:gt,85:Jt,86:Qt,87:Zt,88:$t,89:jt,90:te,91:ee,92:ae,93:re,94:se,95:ne,96:ie,97:oe,98:ce,99:le,100:de,101:he,102:Te,103:pe},e(K,[2,79]),e(K,[2,80]),e(K,[2,81]),e(K,[2,82]),e(K,[2,83]),e(K,[2,84]),e(K,[2,85]),e(K,[2,86]),e(K,[2,87]),e(K,[2,88]),e(K,[2,89]),e(K,[2,90]),e(K,[2,91]),e(K,[2,92]),e(K,[2,93]),e(K,[2,94]),e(K,[2,95]),e(K,[2,96]),e(K,[2,97]),e(K,[2,98]),e(K,[2,99]),e(K,[2,100]),e(K,[2,101]),e(K,[2,102]),e(K,[2,103]),e(K,[2,104]),{23:147,73:V},{23:149,60:148,73:V},{73:[2,68]},{73:[2,69]},{58:150,104:rt},{58:152,104:rt},{58:153,104:rt},{58:154,104:rt},{4:[1,157],5:[1,159],12:156,13:158,17:[1,155],51:z,53:U,54:X},{5:[1,160]},e(C,[2,20]),e(C,[2,21]),e(C,[2,23]),e(C,[2,24]),{4:o,5:n,8:8,9:10,10:l,13:13,14:_,15:h,17:[1,161],18:16,19:E,22:g,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:R,31:p,32:m,34:f,36:x,37:O,38:L,39:N,40:S,42:k,44:v,45:B,47:Y,51:z,53:U,54:X,56:at,61:Q,62:q,63:tt,64:Z,73:V},{4:o,5:n,8:8,9:10,10:l,13:13,14:_,15:h,17:[1,162],18:16,19:E,22:g,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:R,31:p,32:m,34:f,36:x,37:O,38:L,39:N,40:S,42:k,44:v,45:B,47:Y,51:z,53:U,54:X,56:at,61:Q,62:q,63:tt,64:Z,73:V},{4:o,5:n,8:8,9:10,10:l,13:13,14:_,15:h,17:[1,163],18:16,19:E,22:g,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:R,31:p,32:m,34:f,36:x,37:O,38:L,39:N,40:S,42:k,44:v,45:B,47:Y,51:z,53:U,54:X,56:at,61:Q,62:q,63:tt,64:Z,73:V},{17:[1,164]},{4:o,5:n,8:8,9:10,10:l,13:13,14:_,15:h,17:[2,47],18:16,19:E,22:g,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:R,31:p,32:m,34:f,36:x,37:O,38:L,39:N,40:S,42:k,44:v,45:B,47:Y,50:[1,165],51:z,53:U,54:X,56:at,61:Q,62:q,63:tt,64:Z,73:V},{17:[1,166]},{4:o,5:n,8:8,9:10,10:l,13:13,14:_,15:h,17:[2,45],18:16,19:E,22:g,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:R,31:p,32:m,34:f,36:x,37:O,38:L,39:N,40:S,42:k,44:v,45:B,47:Y,49:[1,167],51:z,53:U,54:X,56:at,61:Q,62:q,63:tt,64:Z,73:V},{17:[1,168]},{17:[1,169]},{4:o,5:n,8:8,9:10,10:l,13:13,14:_,15:h,17:[2,43],18:16,19:E,22:g,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:R,31:p,32:m,34:f,36:x,37:O,38:L,39:N,40:S,42:k,44:v,45:B,47:Y,48:[1,170],51:z,53:U,54:X,56:at,61:Q,62:q,63:tt,64:Z,73:V},{4:o,5:n,8:8,9:10,10:l,13:13,14:_,15:h,17:[1,171],18:16,19:E,22:g,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:R,31:p,32:m,34:f,36:x,37:O,38:L,39:N,40:S,42:k,44:v,45:B,47:Y,51:z,53:U,54:X,56:at,61:Q,62:q,63:tt,64:Z,73:V},{16:[1,172]},e(C,[2,50]),{16:[1,173]},e(C,[2,55]),e(Yt,[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:V},{23:178,73:V},{23:179,73:V},{58:180,104:rt},{23:181,72:[1,182],73:V},{58:183,104:rt},{58:184,104:rt},{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(Ot,[2,11]),{13:186,51:z,53:U,54:X},e(Ot,[2,13]),e(Ot,[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:rt},{58:196,104:rt},{58:197,104:rt},{5:[2,75]},{58:198,104:rt},{23:199,73:V},{5:[2,58]},{5:[2,59]},{23:200,73:V},e(Ot,[2,12]),e(_e,i,{7:124,41:201}),e(Vt,i,{7:126,43:202}),e(ue,i,{7:129,46:203}),e(C,[2,49]),e(C,[2,54]),e(Yt,[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:rt},{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:r.__name(function(A,D){if(D.recoverable)this.trace(A);else{var w=new Error(A);throw w.hash=D,w}},"parseError"),parse:r.__name(function(A){var D=this,w=[0],I=[],H=[null],c=[],Lt=this.table,T="",wt=0,fe=0,ve=2,ge=1,Me=c.slice.call(arguments,1),J=Object.create(this.lexer),pt={yy:{}};for(var Kt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Kt)&&(pt.yy[Kt]=this.yy[Kt]);J.setInput(A,pt.yy),pt.yy.lexer=J,pt.yy.parser=this,typeof J.yylloc>"u"&&(J.yylloc={});var Ft=J.yylloc;c.push(Ft);var Be=J.options&&J.options.ranges;typeof pt.yy.parseError=="function"?this.parseError=pt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ve(et){w.length=w.length-2*et,H.length=H.length-et,c.length=c.length-et}r.__name(Ve,"popStack");function me(){var et;return et=I.pop()||J.lex()||ge,typeof et!="number"&&(et instanceof Array&&(I=et,et=I.pop()),et=D.symbols_[et]||et),et}r.__name(me,"lex");for(var j,Et,st,qt,mt={},Pt,ot,xe,kt;;){if(Et=w[w.length-1],this.defaultActions[Et]?st=this.defaultActions[Et]:((j===null||typeof j>"u")&&(j=me()),st=Lt[Et]&&Lt[Et][j]),typeof st>"u"||!st.length||!st[0]){var Ht="";kt=[];for(Pt in Lt[Et])this.terminals_[Pt]&&Pt>ve&&kt.push("'"+this.terminals_[Pt]+"'");J.showPosition?Ht="Parse error on line "+(wt+1)+`:
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Ye=require("./chunk-2Q5K7J3B-DgtYKcDs.cjs"),r=require("./extractHeadings-wWAipplS.cjs"),G=require("./chunk-32BRIVSS-D-6GBFtx.cjs");var Ut=(function(){var e=r.__name(function(dt,A,D,w){for(D=D||{},w=dt.length;w--;D[dt[w]]=A);return D},"o"),t=[1,2],s=[1,3],a=[1,4],i=[2,4],o=[1,9],n=[1,11],l=[1,12],_=[1,14],h=[1,15],E=[1,17],g=[1,18],u=[1,19],R=[1,25],p=[1,26],m=[1,27],f=[1,28],x=[1,29],O=[1,30],L=[1,31],N=[1,32],S=[1,33],k=[1,34],v=[1,35],B=[1,36],Y=[1,37],z=[1,38],U=[1,39],X=[1,40],at=[1,42],Q=[1,43],q=[1,44],tt=[1,45],Z=[1,46],V=[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],Rt=[1,74],St=[1,80],b=[1,81],P=[1,82],nt=[1,83],$=[1,84],W=[1,85],gt=[1,86],Jt=[1,87],Qt=[1,88],Zt=[1,89],$t=[1,90],jt=[1,91],te=[1,92],ee=[1,93],ae=[1,94],re=[1,95],se=[1,96],ne=[1,97],ie=[1,98],oe=[1,99],ce=[1,100],le=[1,101],de=[1,102],he=[1,103],Te=[1,104],pe=[1,105],Ee=[2,78],Ot=[4,5,17,51,53,54],At=[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],_e=[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],Vt=[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],ue=[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],Yt=[5,52],K=[70,71,72,73],rt=[1,151],Wt={trace:r.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,INVALID:10,box_section:11,box_line:12,participant_statement:13,create:14,box:15,restOfLine:16,end:17,signal:18,autonumber:19,NUM:20,off:21,activate:22,actor:23,deactivate:24,note_statement:25,links_statement:26,link_statement:27,properties_statement:28,details_statement:29,title:30,legacy_title:31,acc_title:32,acc_title_value:33,acc_descr:34,acc_descr_value:35,acc_descr_multiline_value:36,loop:37,rect:38,opt:39,alt:40,else_sections:41,par:42,par_sections:43,par_over:44,critical:45,option_sections:46,break:47,option:48,and:49,else:50,participant:51,AS:52,participant_actor:53,destroy:54,actor_with_config:55,note:56,placement:57,text2:58,over:59,actor_pair:60,links:61,link:62,properties:63,details:64,spaceList:65,",":66,left_of:67,right_of:68,signaltype:69,"+":70,"-":71,"()":72,ACTOR:73,config_object:74,CONFIG_START:75,CONFIG_CONTENT:76,CONFIG_END:77,SOLID_OPEN_ARROW:78,DOTTED_OPEN_ARROW:79,SOLID_ARROW:80,SOLID_ARROW_TOP:81,SOLID_ARROW_BOTTOM:82,STICK_ARROW_TOP:83,STICK_ARROW_BOTTOM:84,SOLID_ARROW_TOP_DOTTED:85,SOLID_ARROW_BOTTOM_DOTTED:86,STICK_ARROW_TOP_DOTTED:87,STICK_ARROW_BOTTOM_DOTTED:88,SOLID_ARROW_TOP_REVERSE:89,SOLID_ARROW_BOTTOM_REVERSE:90,STICK_ARROW_TOP_REVERSE:91,STICK_ARROW_BOTTOM_REVERSE:92,SOLID_ARROW_TOP_REVERSE_DOTTED:93,SOLID_ARROW_BOTTOM_REVERSE_DOTTED:94,STICK_ARROW_TOP_REVERSE_DOTTED:95,STICK_ARROW_BOTTOM_REVERSE_DOTTED:96,BIDIRECTIONAL_SOLID_ARROW:97,DOTTED_ARROW:98,BIDIRECTIONAL_DOTTED_ARROW:99,SOLID_CROSS:100,DOTTED_CROSS:101,SOLID_POINT:102,DOTTED_POINT:103,TXT:104,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",10:"INVALID",14:"create",15:"box",16:"restOfLine",17:"end",19:"autonumber",20:"NUM",21:"off",22:"activate",24:"deactivate",30:"title",31:"legacy_title",32:"acc_title",33:"acc_title_value",34:"acc_descr",35:"acc_descr_value",36:"acc_descr_multiline_value",37:"loop",38:"rect",39:"opt",40:"alt",42:"par",44:"par_over",45:"critical",47:"break",48:"option",49:"and",50:"else",51:"participant",52:"AS",53:"participant_actor",54:"destroy",56:"note",59:"over",61:"links",62:"link",63:"properties",64:"details",66:",",67:"left_of",68:"right_of",70:"+",71:"-",72:"()",73:"ACTOR",75:"CONFIG_START",76:"CONFIG_CONTENT",77:"CONFIG_END",78:"SOLID_OPEN_ARROW",79:"DOTTED_OPEN_ARROW",80:"SOLID_ARROW",81:"SOLID_ARROW_TOP",82:"SOLID_ARROW_BOTTOM",83:"STICK_ARROW_TOP",84:"STICK_ARROW_BOTTOM",85:"SOLID_ARROW_TOP_DOTTED",86:"SOLID_ARROW_BOTTOM_DOTTED",87:"STICK_ARROW_TOP_DOTTED",88:"STICK_ARROW_BOTTOM_DOTTED",89:"SOLID_ARROW_TOP_REVERSE",90:"SOLID_ARROW_BOTTOM_REVERSE",91:"STICK_ARROW_TOP_REVERSE",92:"STICK_ARROW_BOTTOM_REVERSE",93:"SOLID_ARROW_TOP_REVERSE_DOTTED",94:"SOLID_ARROW_BOTTOM_REVERSE_DOTTED",95:"STICK_ARROW_TOP_REVERSE_DOTTED",96:"STICK_ARROW_BOTTOM_REVERSE_DOTTED",97:"BIDIRECTIONAL_SOLID_ARROW",98:"DOTTED_ARROW",99:"BIDIRECTIONAL_DOTTED_ARROW",100:"SOLID_CROSS",101:"DOTTED_CROSS",102:"SOLID_POINT",103:"DOTTED_POINT",104:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[8,1],[11,0],[11,2],[12,2],[12,1],[12,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[46,1],[46,4],[43,1],[43,4],[41,1],[41,4],[13,5],[13,3],[13,5],[13,3],[13,3],[13,5],[13,3],[13,5],[13,3],[25,4],[25,4],[26,3],[27,3],[28,3],[29,3],[65,2],[65,1],[60,3],[60,1],[57,1],[57,1],[18,5],[18,5],[18,5],[18,5],[18,6],[18,4],[55,2],[74,3],[23,1],[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:r.__name(function(A,D,w,I,H,c,Lt){var T=c.length-1;switch(H){case 3:return I.apply(c[T]),c[T];case 4:case 10:this.$=[];break;case 5:case 11:c[T-1].push(c[T]),this.$=c[T-1];break;case 6:case 7:case 12:case 13:this.$=c[T];break;case 8:case 9:case 14:this.$=[];break;case 16:c[T].type="createParticipant",this.$=c[T];break;case 17:c[T-1].unshift({type:"boxStart",boxData:I.parseBoxData(c[T-2])}),c[T-1].push({type:"boxEnd",boxText:c[T-2]}),this.$=c[T-1];break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(c[T-2]),sequenceIndexStep:Number(c[T-1]),sequenceVisible:!0,signalType:I.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceIndex:Number(c[T-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:I.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:I.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:I.LINETYPE.AUTONUMBER};break;case 23:this.$={type:"activeStart",signalType:I.LINETYPE.ACTIVE_START,actor:c[T-1].actor};break;case 24:this.$={type:"activeEnd",signalType:I.LINETYPE.ACTIVE_END,actor:c[T-1].actor};break;case 30:I.setDiagramTitle(c[T].substring(6)),this.$=c[T].substring(6);break;case 31:I.setDiagramTitle(c[T].substring(7)),this.$=c[T].substring(7);break;case 32:this.$=c[T].trim(),I.setAccTitle(this.$);break;case 33:case 34:this.$=c[T].trim(),I.setAccDescription(this.$);break;case 35:c[T-1].unshift({type:"loopStart",loopText:I.parseMessage(c[T-2]),signalType:I.LINETYPE.LOOP_START}),c[T-1].push({type:"loopEnd",loopText:c[T-2],signalType:I.LINETYPE.LOOP_END}),this.$=c[T-1];break;case 36:c[T-1].unshift({type:"rectStart",color:I.parseMessage(c[T-2]),signalType:I.LINETYPE.RECT_START}),c[T-1].push({type:"rectEnd",color:I.parseMessage(c[T-2]),signalType:I.LINETYPE.RECT_END}),this.$=c[T-1];break;case 37:c[T-1].unshift({type:"optStart",optText:I.parseMessage(c[T-2]),signalType:I.LINETYPE.OPT_START}),c[T-1].push({type:"optEnd",optText:I.parseMessage(c[T-2]),signalType:I.LINETYPE.OPT_END}),this.$=c[T-1];break;case 38:c[T-1].unshift({type:"altStart",altText:I.parseMessage(c[T-2]),signalType:I.LINETYPE.ALT_START}),c[T-1].push({type:"altEnd",signalType:I.LINETYPE.ALT_END}),this.$=c[T-1];break;case 39:c[T-1].unshift({type:"parStart",parText:I.parseMessage(c[T-2]),signalType:I.LINETYPE.PAR_START}),c[T-1].push({type:"parEnd",signalType:I.LINETYPE.PAR_END}),this.$=c[T-1];break;case 40:c[T-1].unshift({type:"parStart",parText:I.parseMessage(c[T-2]),signalType:I.LINETYPE.PAR_OVER_START}),c[T-1].push({type:"parEnd",signalType:I.LINETYPE.PAR_END}),this.$=c[T-1];break;case 41:c[T-1].unshift({type:"criticalStart",criticalText:I.parseMessage(c[T-2]),signalType:I.LINETYPE.CRITICAL_START}),c[T-1].push({type:"criticalEnd",signalType:I.LINETYPE.CRITICAL_END}),this.$=c[T-1];break;case 42:c[T-1].unshift({type:"breakStart",breakText:I.parseMessage(c[T-2]),signalType:I.LINETYPE.BREAK_START}),c[T-1].push({type:"breakEnd",optText:I.parseMessage(c[T-2]),signalType:I.LINETYPE.BREAK_END}),this.$=c[T-1];break;case 44:this.$=c[T-3].concat([{type:"option",optionText:I.parseMessage(c[T-1]),signalType:I.LINETYPE.CRITICAL_OPTION},c[T]]);break;case 46:this.$=c[T-3].concat([{type:"and",parText:I.parseMessage(c[T-1]),signalType:I.LINETYPE.PAR_AND},c[T]]);break;case 48:this.$=c[T-3].concat([{type:"else",altText:I.parseMessage(c[T-1]),signalType:I.LINETYPE.ALT_ELSE},c[T]]);break;case 49:c[T-3].draw="participant",c[T-3].type="addParticipant",c[T-3].description=I.parseMessage(c[T-1]),this.$=c[T-3];break;case 50:c[T-1].draw="participant",c[T-1].type="addParticipant",this.$=c[T-1];break;case 51:c[T-3].draw="actor",c[T-3].type="addParticipant",c[T-3].description=I.parseMessage(c[T-1]),this.$=c[T-3];break;case 52:case 57:c[T-1].draw="actor",c[T-1].type="addParticipant",this.$=c[T-1];break;case 53:c[T-1].type="destroyParticipant",this.$=c[T-1];break;case 54:c[T-3].draw="participant",c[T-3].type="addParticipant",c[T-3].description=I.parseMessage(c[T-1]),this.$=c[T-3];break;case 55:c[T-1].draw="participant",c[T-1].type="addParticipant",this.$=c[T-1];break;case 56:c[T-3].draw="actor",c[T-3].type="addParticipant",c[T-3].description=I.parseMessage(c[T-1]),this.$=c[T-3];break;case 58:this.$=[c[T-1],{type:"addNote",placement:c[T-2],actor:c[T-1].actor,text:c[T]}];break;case 59:c[T-2]=[].concat(c[T-1],c[T-1]).slice(0,2),c[T-2][0]=c[T-2][0].actor,c[T-2][1]=c[T-2][1].actor,this.$=[c[T-1],{type:"addNote",placement:I.PLACEMENT.OVER,actor:c[T-2].slice(0,2),text:c[T]}];break;case 60:this.$=[c[T-1],{type:"addLinks",actor:c[T-1].actor,text:c[T]}];break;case 61:this.$=[c[T-1],{type:"addALink",actor:c[T-1].actor,text:c[T]}];break;case 62:this.$=[c[T-1],{type:"addProperties",actor:c[T-1].actor,text:c[T]}];break;case 63:this.$=[c[T-1],{type:"addDetails",actor:c[T-1].actor,text:c[T]}];break;case 66:this.$=[c[T-2],c[T]];break;case 67:this.$=c[T];break;case 68:this.$=I.PLACEMENT.LEFTOF;break;case 69:this.$=I.PLACEMENT.RIGHTOF;break;case 70:this.$=[c[T-4],c[T-1],{type:"addMessage",from:c[T-4].actor,to:c[T-1].actor,signalType:c[T-3],msg:c[T],activate:!0},{type:"activeStart",signalType:I.LINETYPE.ACTIVE_START,actor:c[T-1].actor}];break;case 71:this.$=[c[T-4],c[T-1],{type:"addMessage",from:c[T-4].actor,to:c[T-1].actor,signalType:c[T-3],msg:c[T]},{type:"activeEnd",signalType:I.LINETYPE.ACTIVE_END,actor:c[T-4].actor}];break;case 72:this.$=[c[T-4],c[T-1],{type:"addMessage",from:c[T-4].actor,to:c[T-1].actor,signalType:c[T-3],msg:c[T],activate:!0,centralConnection:I.LINETYPE.CENTRAL_CONNECTION},{type:"centralConnection",signalType:I.LINETYPE.CENTRAL_CONNECTION,actor:c[T-1].actor}];break;case 73:this.$=[c[T-4],c[T-1],{type:"addMessage",from:c[T-4].actor,to:c[T-1].actor,signalType:c[T-2],msg:c[T],activate:!1,centralConnection:I.LINETYPE.CENTRAL_CONNECTION_REVERSE},{type:"centralConnectionReverse",signalType:I.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:c[T-4].actor}];break;case 74:this.$=[c[T-5],c[T-1],{type:"addMessage",from:c[T-5].actor,to:c[T-1].actor,signalType:c[T-3],msg:c[T],activate:!0,centralConnection:I.LINETYPE.CENTRAL_CONNECTION_DUAL},{type:"centralConnection",signalType:I.LINETYPE.CENTRAL_CONNECTION,actor:c[T-1].actor},{type:"centralConnectionReverse",signalType:I.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:c[T-5].actor}];break;case 75:this.$=[c[T-3],c[T-1],{type:"addMessage",from:c[T-3].actor,to:c[T-1].actor,signalType:c[T-2],msg:c[T]}];break;case 76:this.$={type:"addParticipant",actor:c[T-1],config:c[T]};break;case 77:this.$=c[T-1].trim();break;case 78:this.$={type:"addParticipant",actor:c[T]};break;case 79:this.$=I.LINETYPE.SOLID_OPEN;break;case 80:this.$=I.LINETYPE.DOTTED_OPEN;break;case 81:this.$=I.LINETYPE.SOLID;break;case 82:this.$=I.LINETYPE.SOLID_TOP;break;case 83:this.$=I.LINETYPE.SOLID_BOTTOM;break;case 84:this.$=I.LINETYPE.STICK_TOP;break;case 85:this.$=I.LINETYPE.STICK_BOTTOM;break;case 86:this.$=I.LINETYPE.SOLID_TOP_DOTTED;break;case 87:this.$=I.LINETYPE.SOLID_BOTTOM_DOTTED;break;case 88:this.$=I.LINETYPE.STICK_TOP_DOTTED;break;case 89:this.$=I.LINETYPE.STICK_BOTTOM_DOTTED;break;case 90:this.$=I.LINETYPE.SOLID_ARROW_TOP_REVERSE;break;case 91:this.$=I.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE;break;case 92:this.$=I.LINETYPE.STICK_ARROW_TOP_REVERSE;break;case 93:this.$=I.LINETYPE.STICK_ARROW_BOTTOM_REVERSE;break;case 94:this.$=I.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED;break;case 95:this.$=I.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED;break;case 96:this.$=I.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED;break;case 97:this.$=I.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED;break;case 98:this.$=I.LINETYPE.BIDIRECTIONAL_SOLID;break;case 99:this.$=I.LINETYPE.DOTTED;break;case 100:this.$=I.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 101:this.$=I.LINETYPE.SOLID_CROSS;break;case 102:this.$=I.LINETYPE.DOTTED_CROSS;break;case 103:this.$=I.LINETYPE.SOLID_POINT;break;case 104:this.$=I.LINETYPE.DOTTED_POINT;break;case 105:this.$=I.parseMessage(c[T].trim().substring(1));break}},"anonymous"),table:[{3:1,4:t,5:s,6:a},{1:[3]},{3:5,4:t,5:s,6:a},{3:6,4:t,5:s,6:a},e([1,4,5,10,14,15,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,51,53,54,56,61,62,63,64,73],i,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:o,5:n,8:8,9:10,10:l,13:13,14:_,15:h,18:16,19:E,22:g,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:R,31:p,32:m,34:f,36:x,37:O,38:L,39:N,40:S,42:k,44:v,45:B,47:Y,51:z,53:U,54:X,56:at,61:Q,62:q,63:tt,64:Z,73:V},e(C,[2,5]),{9:48,13:13,14:_,15:h,18:16,19:E,22:g,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:R,31:p,32:m,34:f,36:x,37:O,38:L,39:N,40:S,42:k,44:v,45:B,47:Y,51:z,53:U,54:X,56:at,61:Q,62:q,63:tt,64:Z,73:V},e(C,[2,7]),e(C,[2,8]),e(C,[2,9]),e(C,[2,15]),{13:49,51:z,53:U,54:X},{16:[1,50]},{5:[1,51]},{5:[1,54],20:[1,52],21:[1,53]},{23:55,73:V},{23:56,73:V},{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:Rt},{23:75,55:76,73:Rt},{23:77,73:V},{69:78,72:[1,79],78:St,79:b,80:P,81:nt,82:$,83:W,84:gt,85:Jt,86:Qt,87:Zt,88:$t,89:jt,90:te,91:ee,92:ae,93:re,94:se,95:ne,96:ie,97:oe,98:ce,99:le,100:de,101:he,102:Te,103:pe},{57:106,59:[1,107],67:[1,108],68:[1,109]},{23:110,73:V},{23:111,73:V},{23:112,73:V},{23:113,73:V},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],Ee),e(C,[2,6]),e(C,[2,16]),e(Ot,[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(At,i,{7:120}),e(At,i,{7:121}),e(At,i,{7:122}),e(_e,i,{41:123,7:124}),e(Vt,i,{43:125,7:126}),e(Vt,i,{7:126,43:127}),e(ue,i,{46:128,7:129}),e(At,i,{7:130}),{5:[1,132],52:[1,131]},{5:[1,134],52:[1,133]},e(Yt,Ee,{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:V},{69:146,78:St,79:b,80:P,81:nt,82:$,83:W,84:gt,85:Jt,86:Qt,87:Zt,88:$t,89:jt,90:te,91:ee,92:ae,93:re,94:se,95:ne,96:ie,97:oe,98:ce,99:le,100:de,101:he,102:Te,103:pe},e(K,[2,79]),e(K,[2,80]),e(K,[2,81]),e(K,[2,82]),e(K,[2,83]),e(K,[2,84]),e(K,[2,85]),e(K,[2,86]),e(K,[2,87]),e(K,[2,88]),e(K,[2,89]),e(K,[2,90]),e(K,[2,91]),e(K,[2,92]),e(K,[2,93]),e(K,[2,94]),e(K,[2,95]),e(K,[2,96]),e(K,[2,97]),e(K,[2,98]),e(K,[2,99]),e(K,[2,100]),e(K,[2,101]),e(K,[2,102]),e(K,[2,103]),e(K,[2,104]),{23:147,73:V},{23:149,60:148,73:V},{73:[2,68]},{73:[2,69]},{58:150,104:rt},{58:152,104:rt},{58:153,104:rt},{58:154,104:rt},{4:[1,157],5:[1,159],12:156,13:158,17:[1,155],51:z,53:U,54:X},{5:[1,160]},e(C,[2,20]),e(C,[2,21]),e(C,[2,23]),e(C,[2,24]),{4:o,5:n,8:8,9:10,10:l,13:13,14:_,15:h,17:[1,161],18:16,19:E,22:g,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:R,31:p,32:m,34:f,36:x,37:O,38:L,39:N,40:S,42:k,44:v,45:B,47:Y,51:z,53:U,54:X,56:at,61:Q,62:q,63:tt,64:Z,73:V},{4:o,5:n,8:8,9:10,10:l,13:13,14:_,15:h,17:[1,162],18:16,19:E,22:g,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:R,31:p,32:m,34:f,36:x,37:O,38:L,39:N,40:S,42:k,44:v,45:B,47:Y,51:z,53:U,54:X,56:at,61:Q,62:q,63:tt,64:Z,73:V},{4:o,5:n,8:8,9:10,10:l,13:13,14:_,15:h,17:[1,163],18:16,19:E,22:g,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:R,31:p,32:m,34:f,36:x,37:O,38:L,39:N,40:S,42:k,44:v,45:B,47:Y,51:z,53:U,54:X,56:at,61:Q,62:q,63:tt,64:Z,73:V},{17:[1,164]},{4:o,5:n,8:8,9:10,10:l,13:13,14:_,15:h,17:[2,47],18:16,19:E,22:g,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:R,31:p,32:m,34:f,36:x,37:O,38:L,39:N,40:S,42:k,44:v,45:B,47:Y,50:[1,165],51:z,53:U,54:X,56:at,61:Q,62:q,63:tt,64:Z,73:V},{17:[1,166]},{4:o,5:n,8:8,9:10,10:l,13:13,14:_,15:h,17:[2,45],18:16,19:E,22:g,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:R,31:p,32:m,34:f,36:x,37:O,38:L,39:N,40:S,42:k,44:v,45:B,47:Y,49:[1,167],51:z,53:U,54:X,56:at,61:Q,62:q,63:tt,64:Z,73:V},{17:[1,168]},{17:[1,169]},{4:o,5:n,8:8,9:10,10:l,13:13,14:_,15:h,17:[2,43],18:16,19:E,22:g,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:R,31:p,32:m,34:f,36:x,37:O,38:L,39:N,40:S,42:k,44:v,45:B,47:Y,48:[1,170],51:z,53:U,54:X,56:at,61:Q,62:q,63:tt,64:Z,73:V},{4:o,5:n,8:8,9:10,10:l,13:13,14:_,15:h,17:[1,171],18:16,19:E,22:g,23:41,24:u,25:20,26:21,27:22,28:23,29:24,30:R,31:p,32:m,34:f,36:x,37:O,38:L,39:N,40:S,42:k,44:v,45:B,47:Y,51:z,53:U,54:X,56:at,61:Q,62:q,63:tt,64:Z,73:V},{16:[1,172]},e(C,[2,50]),{16:[1,173]},e(C,[2,55]),e(Yt,[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:V},{23:178,73:V},{23:179,73:V},{58:180,104:rt},{23:181,72:[1,182],73:V},{58:183,104:rt},{58:184,104:rt},{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(Ot,[2,11]),{13:186,51:z,53:U,54:X},e(Ot,[2,13]),e(Ot,[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:rt},{58:196,104:rt},{58:197,104:rt},{5:[2,75]},{58:198,104:rt},{23:199,73:V},{5:[2,58]},{5:[2,59]},{23:200,73:V},e(Ot,[2,12]),e(_e,i,{7:124,41:201}),e(Vt,i,{7:126,43:202}),e(ue,i,{7:129,46:203}),e(C,[2,49]),e(C,[2,54]),e(Yt,[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:rt},{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:r.__name(function(A,D){if(D.recoverable)this.trace(A);else{var w=new Error(A);throw w.hash=D,w}},"parseError"),parse:r.__name(function(A){var D=this,w=[0],I=[],H=[null],c=[],Lt=this.table,T="",wt=0,fe=0,ve=2,ge=1,Me=c.slice.call(arguments,1),J=Object.create(this.lexer),pt={yy:{}};for(var Kt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Kt)&&(pt.yy[Kt]=this.yy[Kt]);J.setInput(A,pt.yy),pt.yy.lexer=J,pt.yy.parser=this,typeof J.yylloc>"u"&&(J.yylloc={});var Ft=J.yylloc;c.push(Ft);var Be=J.options&&J.options.ranges;typeof pt.yy.parseError=="function"?this.parseError=pt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ve(et){w.length=w.length-2*et,H.length=H.length-et,c.length=c.length-et}r.__name(Ve,"popStack");function me(){var et;return et=I.pop()||J.lex()||ge,typeof et!="number"&&(et instanceof Array&&(I=et,et=I.pop()),et=D.symbols_[et]||et),et}r.__name(me,"lex");for(var j,Et,st,qt,mt={},Pt,ot,xe,kt;;){if(Et=w[w.length-1],this.defaultActions[Et]?st=this.defaultActions[Et]:((j===null||typeof j>"u")&&(j=me()),st=Lt[Et]&&Lt[Et][j]),typeof st>"u"||!st.length||!st[0]){var Ht="";kt=[];for(Pt in Lt[Et])this.terminals_[Pt]&&Pt>ve&&kt.push("'"+this.terminals_[Pt]+"'");J.showPosition?Ht="Parse error on line "+(wt+1)+`:
2
2
  `+J.showPosition()+`
3
3
  Expecting `+kt.join(", ")+", got '"+(this.terminals_[j]||j)+"'":Ht="Parse error on line "+(wt+1)+": Unexpected "+(j==ge?"end of input":"'"+(this.terminals_[j]||j)+"'"),this.parseError(Ht,{text:J.match,token:this.terminals_[j]||j,line:J.yylineno,loc:Ft,expected:kt})}if(st[0]instanceof Array&&st.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Et+", token: "+j);switch(st[0]){case 1:w.push(j),H.push(J.yytext),c.push(J.yylloc),w.push(st[1]),j=null,fe=J.yyleng,T=J.yytext,wt=J.yylineno,Ft=J.yylloc;break;case 2:if(ot=this.productions_[st[1]][1],mt.$=H[H.length-ot],mt._$={first_line:c[c.length-(ot||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(ot||1)].first_column,last_column:c[c.length-1].last_column},Be&&(mt._$.range=[c[c.length-(ot||1)].range[0],c[c.length-1].range[1]]),qt=this.performAction.apply(mt,[T,fe,wt,pt.yy,st[1],H,c].concat(Me)),typeof qt<"u")return qt;ot&&(w=w.slice(0,-1*ot*2),H=H.slice(0,-1*ot),c=c.slice(0,-1*ot)),w.push(this.productions_[st[1]][0]),H.push(mt.$),c.push(mt._$),xe=Lt[w[w.length-2]][w[w.length-1]],w.push(xe);break;case 3:return!0}}return!0},"parse")},Ce=(function(){var dt={EOF:1,parseError:r.__name(function(D,w){if(this.yy.parser)this.yy.parser.parseError(D,w);else throw new Error(D)},"parseError"),setInput:r.__name(function(A,D){return this.yy=D||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:r.__name(function(){var A=this._input[0];this.yytext+=A,this.yyleng++,this.offset++,this.match+=A,this.matched+=A;var D=A.match(/(?:\r\n?|\n).*/g);return D?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),A},"input"),unput:r.__name(function(A){var D=A.length,w=A.split(/(?:\r\n?|\n)/g);this._input=A+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-D),this.offset-=D;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),w.length-1&&(this.yylineno-=w.length-1);var H=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:w?(w.length===I.length?this.yylloc.first_column:0)+I[I.length-w.length].length-w[0].length:this.yylloc.first_column-D},this.options.ranges&&(this.yylloc.range=[H[0],H[0]+this.yyleng-D]),this.yyleng=this.yytext.length,this},"unput"),more:r.__name(function(){return this._more=!0,this},"more"),reject:r.__name(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:r.__name(function(A){this.unput(this.match.slice(A))},"less"),pastInput:r.__name(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:r.__name(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:r.__name(function(){var A=this.pastInput(),D=new Array(A.length+1).join("-");return A+this.upcomingInput()+`
@@ -1,4 +1,4 @@
1
- import { _ as o } from "./extractHeadings-BhUj7gND.js";
1
+ import { _ as o } from "./extractHeadings-DlQcPv5N.js";
2
2
  var c = 1;
3
3
  function i() {
4
4
  if (!(typeof globalThis > "u"))