@aiquants/markdown 6.1.0 → 6.2.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 (133) hide show
  1. package/README.md +54 -2
  2. package/dist/{abnfDiagram-VRR7QNED-0ow9i3L-.js → abnfDiagram-VRR7QNED-Csrzuwyl.js} +3 -3
  3. package/dist/{abnfDiagram-VRR7QNED-DRNsVB-u.cjs → abnfDiagram-VRR7QNED-DX6eyf4O.cjs} +1 -1
  4. package/dist/arc-Gw7Urszo.js +83 -0
  5. package/dist/{arc-BWR9_qMf.cjs → arc-ZAQ3z7kr.cjs} +1 -1
  6. package/dist/{architectureDiagram-ZJ3FMSHR-CsFXQcxx.js → architectureDiagram-ZJ3FMSHR-Coy6_Fcg.js} +2 -2
  7. package/dist/{architectureDiagram-ZJ3FMSHR-DtrqDlxV.cjs → architectureDiagram-ZJ3FMSHR-DxzMbkp1.cjs} +1 -1
  8. package/dist/{blockDiagram-677ZJIJ3-CqQ43viF.js → blockDiagram-677ZJIJ3-CbR-wn2x.js} +3 -3
  9. package/dist/{blockDiagram-677ZJIJ3-CoZEeE0C.cjs → blockDiagram-677ZJIJ3-THmR4OyE.cjs} +1 -1
  10. package/dist/{c4Diagram-LMCZKHZV-DGA2gxp-.cjs → c4Diagram-LMCZKHZV-BcJpuXK1.cjs} +1 -1
  11. package/dist/{c4Diagram-LMCZKHZV-QPgNg4El.js → c4Diagram-LMCZKHZV-DHMqNO9p.js} +2 -2
  12. package/dist/{channel-PnA15jK3.js → channel-CfC4eqki.js} +1 -1
  13. package/dist/{channel-Jkgg7NV4.cjs → channel-Cryph4zI.cjs} +1 -1
  14. package/dist/{chunk-2Q5K7J3B-DOWfHP5s.js → chunk-2Q5K7J3B-C3BIc3MH.js} +1 -1
  15. package/dist/{chunk-2Q5K7J3B-1iQ5h7FK.cjs → chunk-2Q5K7J3B-CxWyY331.cjs} +1 -1
  16. package/dist/{chunk-32BRIVSS-94iTIA-u.js → chunk-32BRIVSS-C37ccuiX.js} +1 -1
  17. package/dist/{chunk-32BRIVSS-XUAL4SUU.cjs → chunk-32BRIVSS-C3w_aYfI.cjs} +1 -1
  18. package/dist/{chunk-5VM5RSS4-CKgpuXOS.cjs → chunk-5VM5RSS4-Cbt79-V5.cjs} +1 -1
  19. package/dist/{chunk-5VM5RSS4-OANQKmQE.js → chunk-5VM5RSS4-DVLmkcyq.js} +1 -1
  20. package/dist/{chunk-EX3LRPZG-BrRRbskW.cjs → chunk-EX3LRPZG-BZOxrSRn.cjs} +1 -1
  21. package/dist/{chunk-EX3LRPZG-BQDQ1MdS.js → chunk-EX3LRPZG-Co0Bql0-.js} +37 -37
  22. package/dist/{chunk-JWPE2WC7-Bz9dXsLZ.cjs → chunk-JWPE2WC7-Cvt_ToFU.cjs} +1 -1
  23. package/dist/{chunk-JWPE2WC7-Djg6Qi23.js → chunk-JWPE2WC7-DUndc3Wb.js} +1 -1
  24. package/dist/{chunk-MOJQB5TN-DUk2Jy4_.cjs → chunk-MOJQB5TN-AAMW2q8N.cjs} +1 -1
  25. package/dist/{chunk-MOJQB5TN-1pZNp2Wl.js → chunk-MOJQB5TN-aTSDPliR.js} +11 -11
  26. package/dist/{chunk-PUDLZKDR-CVedetzB.cjs → chunk-PUDLZKDR-CzCdcyAN.cjs} +1 -1
  27. package/dist/{chunk-PUDLZKDR-G5JYyEiR.js → chunk-PUDLZKDR-Q5QzbDtY.js} +11 -11
  28. package/dist/{chunk-RYQCIY6F-D0y50t5B.cjs → chunk-RYQCIY6F-DbjhsOnH.cjs} +1 -1
  29. package/dist/{chunk-RYQCIY6F-Crmt36sO.js → chunk-RYQCIY6F-O6wbIIFF.js} +10 -10
  30. package/dist/{chunk-V7JOEXUC-DXSQM1ea.cjs → chunk-V7JOEXUC-B6Qc5ABc.cjs} +1 -1
  31. package/dist/{chunk-V7JOEXUC-BNo-X7NC.js → chunk-V7JOEXUC-OTS1fN7j.js} +10 -10
  32. package/dist/{chunk-VR4S4FIN-BGGITgpQ.js → chunk-VR4S4FIN-D4tY80kq.js} +1 -1
  33. package/dist/{chunk-VR4S4FIN-Bc567umS.cjs → chunk-VR4S4FIN-DlneMFEg.cjs} +1 -1
  34. package/dist/{chunk-XXDRQBXY-Drnpl-KK.js → chunk-XXDRQBXY-58rTAwvh.js} +1 -1
  35. package/dist/{chunk-XXDRQBXY-DOuLpiJ4.cjs → chunk-XXDRQBXY-CvhBfnFQ.cjs} +1 -1
  36. package/dist/{classDiagram-OUVF2IWQ-mmjBEYmN.cjs → classDiagram-OUVF2IWQ-C0S2HAJU.cjs} +1 -1
  37. package/dist/{classDiagram-v2-EOCWNBFH-Cneye7qT.js → classDiagram-OUVF2IWQ-hcuKRiyp.js} +2 -2
  38. package/dist/{classDiagram-v2-EOCWNBFH-mmjBEYmN.cjs → classDiagram-v2-EOCWNBFH-C0S2HAJU.cjs} +1 -1
  39. package/dist/{classDiagram-OUVF2IWQ-Cneye7qT.js → classDiagram-v2-EOCWNBFH-hcuKRiyp.js} +2 -2
  40. package/dist/components/HostedScrollArea.d.ts +15 -0
  41. package/dist/components/MarkdownViewer.d.ts +3 -1
  42. package/dist/components/mermaidInteraction.d.ts +1 -0
  43. package/dist/{cose-bilkent-JH36ORCC-BQWfGE1G.js → cose-bilkent-JH36ORCC-BwltbHKG.js} +5 -5
  44. package/dist/{cose-bilkent-JH36ORCC-BaEdcRlX.cjs → cose-bilkent-JH36ORCC-DVZVn03H.cjs} +1 -1
  45. package/dist/{cynefinDiagram-TSTJHNR4-DPQl09kC.cjs → cynefinDiagram-TSTJHNR4-DYCBxaEi.cjs} +1 -1
  46. package/dist/{cynefinDiagram-TSTJHNR4-CTDDSUz7.js → cynefinDiagram-TSTJHNR4-ogTeIoNY.js} +28 -28
  47. package/dist/{dagre-VKFMJZFB-BMRdJgZy.js → dagre-VKFMJZFB-BfNdgMHQ.js} +9 -9
  48. package/dist/{dagre-VKFMJZFB-DZ4E-Szs.cjs → dagre-VKFMJZFB-DJW9o9XX.cjs} +1 -1
  49. package/dist/{diagram-FQU43EPY-mK9YHIy1.cjs → diagram-FQU43EPY-BRpNVpgn.cjs} +1 -1
  50. package/dist/{diagram-FQU43EPY-CmEpNw5i.js → diagram-FQU43EPY-CJf3yD8h.js} +25 -25
  51. package/dist/{diagram-G47NLZAW-BX8Lj_uD.cjs → diagram-G47NLZAW-5rZfUeWV.cjs} +1 -1
  52. package/dist/{diagram-G47NLZAW-eJRQFjAg.js → diagram-G47NLZAW-D0-6oupP.js} +25 -25
  53. package/dist/{diagram-NH7WQ7WH-BOOj_4-N.js → diagram-NH7WQ7WH-BwrWWWZJ.js} +19 -19
  54. package/dist/{diagram-NH7WQ7WH-3r1_3TrC.cjs → diagram-NH7WQ7WH-g7m8p5fK.cjs} +1 -1
  55. package/dist/{diagram-OA4YK3LP-DnDIHtcW.js → diagram-OA4YK3LP-BBqA1m8s.js} +13 -13
  56. package/dist/{diagram-OA4YK3LP-CkDJzLOy.cjs → diagram-OA4YK3LP-BxP8KUna.cjs} +1 -1
  57. package/dist/{diagram-WEI45ONY-BHpuPTt-.js → diagram-WEI45ONY-CMexm2GN.js} +35 -35
  58. package/dist/{diagram-WEI45ONY-BpCCo_Ty.cjs → diagram-WEI45ONY-DgJyq1w0.cjs} +1 -1
  59. package/dist/{ebnfDiagram-CCIWWBDH-BDLB-AVF.js → ebnfDiagram-CCIWWBDH-DvLr_8nV.js} +3 -3
  60. package/dist/{ebnfDiagram-CCIWWBDH-CfdalXdM.cjs → ebnfDiagram-CCIWWBDH-sfiWOXCW.cjs} +1 -1
  61. package/dist/embeds/testing.cjs +1 -1
  62. package/dist/embeds/testing.js +1 -1
  63. package/dist/embeds.cjs +1 -1
  64. package/dist/embeds.js +1 -1
  65. package/dist/{erDiagram-Q63AITRT-CviOyQsx.cjs → erDiagram-Q63AITRT-B11THykZ.cjs} +1 -1
  66. package/dist/{erDiagram-Q63AITRT-DZlcgZfp.js → erDiagram-Q63AITRT-D6U6Ng3Y.js} +4 -4
  67. package/dist/{extractHeadings-CtiYkq2z.js → extractHeadings-CdLPwHlC.js} +5092 -5002
  68. package/dist/extractHeadings-DRUBnhbi.cjs +311 -0
  69. package/dist/flowDiagram-23GEKE2U-CDscoQ9F.cjs +1 -0
  70. package/dist/flowDiagram-23GEKE2U-CLibi_u4.js +7 -0
  71. package/dist/{ganttDiagram-NO4QXBWP-CJa-hKPU.cjs → ganttDiagram-NO4QXBWP-BLlXK3zo.cjs} +1 -1
  72. package/dist/{ganttDiagram-NO4QXBWP-DO0HAbYg.js → ganttDiagram-NO4QXBWP-CGCdgj0K.js} +2 -2
  73. package/dist/{gitGraphDiagram-IHSO6WYX-CXcPHbkt.cjs → gitGraphDiagram-IHSO6WYX-BHOyibqH.cjs} +1 -1
  74. package/dist/{gitGraphDiagram-IHSO6WYX-CXStgPQs.js → gitGraphDiagram-IHSO6WYX-Bib3c0C6.js} +3 -3
  75. package/dist/index.cjs +1 -1
  76. package/dist/index.client.cjs +1 -1
  77. package/dist/index.client.d.ts +1 -0
  78. package/dist/index.client.js +33 -32
  79. package/dist/index.js +33 -32
  80. package/dist/{infoDiagram-FWYZ7A6U-K0__ySEG.js → infoDiagram-FWYZ7A6U-BUqDBIaP.js} +3 -3
  81. package/dist/{infoDiagram-FWYZ7A6U-BByoHihL.cjs → infoDiagram-FWYZ7A6U-BcDp6g1Y.cjs} +1 -1
  82. package/dist/{ishikawaDiagram-FXEZZL3T-DZOMdeTI.cjs → ishikawaDiagram-FXEZZL3T-C3QHQ1ia.cjs} +1 -1
  83. package/dist/{ishikawaDiagram-FXEZZL3T-C8QlwQP1.js → ishikawaDiagram-FXEZZL3T-CcPh4nuP.js} +18 -18
  84. package/dist/{journeyDiagram-5HDEW3XC-RvC77rKo.cjs → journeyDiagram-5HDEW3XC-B17v98Wb.cjs} +1 -1
  85. package/dist/{journeyDiagram-5HDEW3XC-CZ9PFNNN.js → journeyDiagram-5HDEW3XC-MdxndgF1.js} +30 -30
  86. package/dist/{kanban-definition-HUTT4EX6-BL1jihGl.cjs → kanban-definition-HUTT4EX6-BApVXeVQ.cjs} +1 -1
  87. package/dist/{kanban-definition-HUTT4EX6-Q12F4vHx.js → kanban-definition-HUTT4EX6-JhfZ6Qik.js} +120 -120
  88. package/dist/{linear-lDvPoqlB.cjs → linear-CIVwb13z.cjs} +1 -1
  89. package/dist/{linear-LWjATjog.js → linear-dbOUbGpD.js} +8 -8
  90. package/dist/markdown.css +1 -1
  91. package/dist/{mindmap-definition-LN4V7U3C-TVYKONRm.cjs → mindmap-definition-LN4V7U3C-BUbo0u-Y.cjs} +1 -1
  92. package/dist/{mindmap-definition-LN4V7U3C-CM1XvwJX.js → mindmap-definition-LN4V7U3C-gNTBga2z.js} +16 -16
  93. package/dist/{pegDiagram-2B236MQR-Dlrnikqd.js → pegDiagram-2B236MQR-BqjpbNkG.js} +3 -3
  94. package/dist/{pegDiagram-2B236MQR-a9Up0ERY.cjs → pegDiagram-2B236MQR-DZiQVxu1.cjs} +1 -1
  95. package/dist/{pieDiagram-ENE6RG2P-WYrEJp8U.js → pieDiagram-ENE6RG2P-C1Gr48CK.js} +60 -60
  96. package/dist/{pieDiagram-ENE6RG2P-ClakmSma.cjs → pieDiagram-ENE6RG2P-D2nxDVFV.cjs} +1 -1
  97. package/dist/providers-BO7J62-7.cjs +1 -0
  98. package/dist/{providers-Drq7MT_K.js → providers-L5RM3KgR.js} +23 -23
  99. package/dist/{quadrantDiagram-ABIIQ3AL-Cb01YcqR.cjs → quadrantDiagram-ABIIQ3AL-C855tL3K.cjs} +1 -1
  100. package/dist/{quadrantDiagram-ABIIQ3AL-BkgMVDaX.js → quadrantDiagram-ABIIQ3AL-DuD9ZdUQ.js} +18 -18
  101. package/dist/{railroadDiagram-RFXS5EU6-Bob4WSMz.cjs → railroadDiagram-RFXS5EU6-BZsnhaQd.cjs} +1 -1
  102. package/dist/{railroadDiagram-RFXS5EU6-RfCtZGUR.js → railroadDiagram-RFXS5EU6-xx1d3Md8.js} +3 -3
  103. package/dist/{requirementDiagram-TGXJPOKE-C1yJPMp1.js → requirementDiagram-TGXJPOKE-CCu1UYFH.js} +3 -3
  104. package/dist/{requirementDiagram-TGXJPOKE-BP5h9mCj.cjs → requirementDiagram-TGXJPOKE-D_NbFRkb.cjs} +1 -1
  105. package/dist/{sankeyDiagram-HTMAVEWB-shq9WK4t.cjs → sankeyDiagram-HTMAVEWB-Dn2Ta-XX.cjs} +1 -1
  106. package/dist/{sankeyDiagram-HTMAVEWB-D5G9Dcmr.js → sankeyDiagram-HTMAVEWB-QGzXzczJ.js} +1 -1
  107. package/dist/{sequenceDiagram-DBY2YBRQ-BRxcK5-5.cjs → sequenceDiagram-DBY2YBRQ-BA3Oc4pz.cjs} +1 -1
  108. package/dist/{sequenceDiagram-DBY2YBRQ-8EJMQxiB.js → sequenceDiagram-DBY2YBRQ-CjnUnaw9.js} +3 -3
  109. package/dist/{sizeCapture-X5ZJPWSS-BtBRJO2R.cjs → sizeCapture-X5ZJPWSS-BPQhVBe0.cjs} +1 -1
  110. package/dist/{sizeCapture-X5ZJPWSS-DJG85IuR.js → sizeCapture-X5ZJPWSS-nb9uU-BE.js} +1 -1
  111. package/dist/{stateDiagram-2N3HPSRC-CAd-NU-f.js → stateDiagram-2N3HPSRC-Byg3E1AA.js} +11 -11
  112. package/dist/{stateDiagram-2N3HPSRC-Czgkv_ey.cjs → stateDiagram-2N3HPSRC-DSqLqSY5.cjs} +1 -1
  113. package/dist/{stateDiagram-v2-6OUMAXLB-BNP5Lx0Y.cjs → stateDiagram-v2-6OUMAXLB-VRhXyf-C.cjs} +1 -1
  114. package/dist/{stateDiagram-v2-6OUMAXLB-x_Zps-d5.js → stateDiagram-v2-6OUMAXLB-hKcuYy9t.js} +2 -2
  115. package/dist/styles/markdown.css +1 -1
  116. package/dist/{swimlanes-5IMT3BWC-CfdkDd3q.cjs → swimlanes-5IMT3BWC-CVnOKNcb.cjs} +1 -1
  117. package/dist/{swimlanes-5IMT3BWC-D8brzzxb.js → swimlanes-5IMT3BWC-DyIDdThc.js} +3 -3
  118. package/dist/{swimlanesDiagram-G3AALYLV-Bc9-lR2e.js → swimlanesDiagram-G3AALYLV-BF1ofRjP.js} +2 -2
  119. package/dist/{swimlanesDiagram-G3AALYLV-dvJpSdGV.cjs → swimlanesDiagram-G3AALYLV-C3U5wLlX.cjs} +1 -1
  120. package/dist/{timeline-definition-FHXFAJF6-CKW3NJOF.js → timeline-definition-FHXFAJF6-DBmE_qU3.js} +38 -38
  121. package/dist/{timeline-definition-FHXFAJF6-BSqACati.cjs → timeline-definition-FHXFAJF6-KUETCXLT.cjs} +1 -1
  122. package/dist/{vennDiagram-L72KCM5P-vPmq984y.js → vennDiagram-L72KCM5P-C6j4k5X-.js} +102 -102
  123. package/dist/{vennDiagram-L72KCM5P-ChKxsFyJ.cjs → vennDiagram-L72KCM5P-DkSV3dIE.cjs} +1 -1
  124. package/dist/{wardleyDiagram-EHGQE667-CwN9zwBX.js → wardleyDiagram-EHGQE667-BaG6Cf_u.js} +18 -18
  125. package/dist/{wardleyDiagram-EHGQE667-CxzlR7km.cjs → wardleyDiagram-EHGQE667-uWMTMxL-.cjs} +1 -1
  126. package/dist/{xychartDiagram-FW5EYKEG-DBSKTLuc.js → xychartDiagram-FW5EYKEG-BPl5BnMB.js} +27 -27
  127. package/dist/{xychartDiagram-FW5EYKEG-wJqYRInm.cjs → xychartDiagram-FW5EYKEG-QAFE-xqg.cjs} +1 -1
  128. package/package.json +8 -7
  129. package/dist/arc-Bh12k776.js +0 -83
  130. package/dist/extractHeadings-D1A8WzVy.cjs +0 -311
  131. package/dist/flowDiagram-23GEKE2U-C_FW0q38.js +0 -7
  132. package/dist/flowDiagram-23GEKE2U-Cb0U58EU.cjs +0 -1
  133. package/dist/providers-Bxr2Wb-j.cjs +0 -1
@@ -1,5 +1,5 @@
1
- import { _ as o, J as ot, ao as ut, ak as dt, aZ as yt, ab as ft, Y as pt, a5 as it, A as gt, G as kt, z as mt, y as wt, a6 as _t, Q as bt } from "./extractHeadings-CtiYkq2z.js";
2
- var J = (function() {
1
+ import { _ as o, K as ot, ap as ut, al as dt, a_ as yt, ac as ft, $ as pt, a6 as it, G as gt, J as kt, A as mt, z as wt, a7 as _t, R as bt } from "./extractHeadings-CdLPwHlC.js";
2
+ var Q = (function() {
3
3
  var e = /* @__PURE__ */ o(function(T, t, s, i) {
4
4
  for (s = s || {}, i = T.length; i--; s[T[i]] = t) ;
5
5
  return s;
@@ -52,15 +52,15 @@ var J = (function() {
52
52
  return B = c.pop() || b.lex() || A, typeof B != "number" && (B instanceof Array && (c = B, B = c.pop()), B = s.symbols_[B] || B), B;
53
53
  }
54
54
  o(tt, "lex");
55
- for (var M, W, N, K, z = {}, U, V, et, Z; ; ) {
55
+ for (var M, W, N, Y, z = {}, U, V, et, Z; ; ) {
56
56
  if (W = i[i.length - 1], this.defaultActions[W] ? N = this.defaultActions[W] : ((M === null || typeof M > "u") && (M = tt()), N = v[W] && v[W][M]), typeof N > "u" || !N.length || !N[0]) {
57
- var Q = "";
57
+ var q = "";
58
58
  Z = [];
59
59
  for (U in v[W])
60
60
  this.terminals_[U] && U > L && Z.push("'" + this.terminals_[U] + "'");
61
- b.showPosition ? Q = "Parse error on line " + (I + 1) + `:
61
+ b.showPosition ? q = "Parse error on line " + (I + 1) + `:
62
62
  ` + b.showPosition() + `
63
- Expecting ` + Z.join(", ") + ", got '" + (this.terminals_[M] || M) + "'" : Q = "Parse error on line " + (I + 1) + ": Unexpected " + (M == A ? "end of input" : "'" + (this.terminals_[M] || M) + "'"), this.parseError(Q, {
63
+ Expecting ` + Z.join(", ") + ", got '" + (this.terminals_[M] || M) + "'" : q = "Parse error on line " + (I + 1) + ": Unexpected " + (M == A ? "end of input" : "'" + (this.terminals_[M] || M) + "'"), this.parseError(q, {
64
64
  text: b.match,
65
65
  token: this.terminals_[M] || M,
66
66
  line: b.yylineno,
@@ -83,7 +83,7 @@ Expecting ` + Z.join(", ") + ", got '" + (this.terminals_[M] || M) + "'" : Q = "
83
83
  }, G && (z._$.range = [
84
84
  n[n.length - (V || 1)].range[0],
85
85
  n[n.length - 1].range[1]
86
- ]), K = this.performAction.apply(z, [
86
+ ]), Y = this.performAction.apply(z, [
87
87
  w,
88
88
  $,
89
89
  I,
@@ -91,8 +91,8 @@ Expecting ` + Z.join(", ") + ", got '" + (this.terminals_[M] || M) + "'" : Q = "
91
91
  N[1],
92
92
  p,
93
93
  n
94
- ].concat(C)), typeof K < "u")
95
- return K;
94
+ ].concat(C)), typeof Y < "u")
95
+ return Y;
96
96
  V && (i = i.slice(0, -1 * V * 2), p = p.slice(0, -1 * V), n = n.slice(0, -1 * V)), i.push(this.productions_[N[1]][0]), p.push(z.$), n.push(z._$), et = v[i[i.length - 2]][i[i.length - 1]], i.push(et);
97
97
  break;
98
98
  case 3:
@@ -302,8 +302,8 @@ Expecting ` + Z.join(", ") + ", got '" + (this.terminals_[M] || M) + "'" : Q = "
302
302
  }
303
303
  return o(E, "Parser"), E.prototype = D, D.Parser = E, new E();
304
304
  })();
305
- J.parser = J;
306
- var xt = J, H, vt = (H = class {
305
+ Q.parser = Q;
306
+ var xt = Q, H, vt = (H = class {
307
307
  constructor() {
308
308
  this.stack = [], this.clear = this.clear.bind(this), this.addNode = this.addNode.bind(this), this.getRoot = this.getRoot.bind(this);
309
309
  }
@@ -401,7 +401,7 @@ var xt = J, H, vt = (H = class {
401
401
  { total: 0, max: 0 }
402
402
  );
403
403
  }, "sideStats"), Lt = /* @__PURE__ */ o((e, h, r, a, l, y) => {
404
- const f = Math.max(6, Math.floor(110 / (l * 0.6))), d = e.append("g").attr("class", "ishikawa-head-group").attr("transform", `translate(${h},${r})`), m = Y(
404
+ const f = Math.max(6, Math.floor(110 / (l * 0.6))), d = e.append("g").attr("class", "ishikawa-head-group").attr("transform", `translate(${h},${r})`), m = K(
405
405
  d,
406
406
  ct(a, f),
407
407
  0,
@@ -440,7 +440,7 @@ var xt = J, H, vt = (H = class {
440
440
  }, "walk");
441
441
  return l(e, -1, 2), { entries: r, yOrder: a };
442
442
  }, "flattenTree"), Mt = /* @__PURE__ */ o((e, h, r, a, l, y, f) => {
443
- const d = e.append("g").attr("class", "ishikawa-label-group"), u = Y(
443
+ const d = e.append("g").attr("class", "ishikawa-label-group"), u = K(
444
444
  d,
445
445
  h,
446
446
  r,
@@ -469,7 +469,7 @@ var xt = J, H, vt = (H = class {
469
469
  d.insert(() => k, ":first-child").attr("class", "ishikawa-label-box");
470
470
  } else
471
471
  d.insert("rect", ":first-child").attr("class", "ishikawa-label-box").attr("x", u.x - 20).attr("y", u.y - 2).attr("width", u.width + 40).attr("height", u.height + 4);
472
- }, "drawCauseLabel"), q = /* @__PURE__ */ o((e, h, r, a, l, y) => {
472
+ }, "drawCauseLabel"), J = /* @__PURE__ */ o((e, h, r, a, l, y) => {
473
473
  const f = Math.sqrt(a * a + l * l);
474
474
  if (f === 0)
475
475
  return;
@@ -484,7 +484,7 @@ var xt = J, H, vt = (H = class {
484
484
  e.append(() => O);
485
485
  }, "drawArrowMarker"), Pt = /* @__PURE__ */ o((e, h, r, a, l, y, f, d) => {
486
486
  const m = h.children ?? [], u = y * (m.length ? 1 : 0.2), k = -st * u, g = nt * u * l, _ = r + k, x = a + g;
487
- if (j(e, r, a, _, x, "ishikawa-branch", d), d && q(e, r, a, r - _, a - x, d), Mt(e, h.text, _, x, l, f, d), !m.length)
487
+ if (j(e, r, a, _, x, "ishikawa-branch", d), d && J(e, r, a, r - _, a - x, d), Mt(e, h.text, _, x, l, f, d), !m.length)
488
488
  return;
489
489
  const { entries: D, yOrder: O } = Tt(m, l), E = D.length, T = new Array(E);
490
490
  for (const [p, n] of O.entries())
@@ -504,10 +504,10 @@ var xt = J, H, vt = (H = class {
504
504
  let $ = 0, L = 0, A = 0;
505
505
  if (n.depth % 2 === 0) {
506
506
  const C = w.y1 - w.y0;
507
- $ = lt(w.x0, w.x1, C ? (v - w.y0) / C : 0.5), L = v, A = $ - (n.childCount > 0 ? Et + n.childCount * At : $t), j(I, $, v, A, v, "ishikawa-sub-branch", d), d && q(I, $, v, 1, 0, d), Y(I, n.text, A, v, "ishikawa-label align", "end", f);
507
+ $ = lt(w.x0, w.x1, C ? (v - w.y0) / C : 0.5), L = v, A = $ - (n.childCount > 0 ? Et + n.childCount * At : $t), j(I, $, v, A, v, "ishikawa-sub-branch", d), d && J(I, $, v, 1, 0, d), K(I, n.text, A, v, "ishikawa-label align", "end", f);
508
508
  } else {
509
509
  const C = w.childrenDrawn++;
510
- $ = lt(w.x0, w.x1, (w.childCount - C) / (w.childCount + 1)), L = w.y0, A = $ + s * ((v - L) / i), j(I, $, L, A, v, "ishikawa-sub-branch", d), d && q(I, $, L, $ - A, L - v, d), Y(I, n.text, A, v, c, "end", f);
510
+ $ = lt(w.x0, w.x1, (w.childCount - C) / (w.childCount + 1)), L = w.y0, A = $ + s * ((v - L) / i), j(I, $, L, A, v, "ishikawa-sub-branch", d), d && J(I, $, L, $ - A, L - v, d), K(I, n.text, A, v, c, "end", f);
511
511
  }
512
512
  n.childCount > 0 && t.set(p, {
513
513
  x0: $,
@@ -528,7 +528,7 @@ var xt = J, H, vt = (H = class {
528
528
  }
529
529
  return r.join(`
530
530
  `);
531
- }, "wrapText"), Y = /* @__PURE__ */ o((e, h, r, a, l, y, f) => {
531
+ }, "wrapText"), K = /* @__PURE__ */ o((e, h, r, a, l, y, f) => {
532
532
  const d = Bt(h), m = f * 1.05, u = e.append("text").attr("class", l).attr("text-anchor", y).attr("x", r).attr("y", a - (d.length - 1) * m / 2);
533
533
  for (const [k, g] of d.entries())
534
534
  u.append("tspan").attr("x", r).attr("dy", k === 0 ? 0 : m).text(g);
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ft=require("./chunk-5VM5RSS4-CKgpuXOS.cjs"),j=require("./chunk-32BRIVSS-XUAL4SUU.cjs"),n=require("./extractHeadings-D1A8WzVy.cjs"),et=require("./arc-BWR9_qMf.cjs");var G=(function(){var t=n.__name(function(h,r,a,l){for(a=a||{},l=h.length;l--;a[h[l]]=r);return a},"o"),e=[6,8,10,11,12,14,16,17,18],s=[1,9],f=[1,10],i=[1,11],u=[1,12],p=[1,13],o=[1,14],_={trace:n.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:n.__name(function(r,a,l,y,d,c,v){var x=c.length-1;switch(d){case 1:return c[x-1];case 2:this.$=[];break;case 3:c[x-1].push(c[x]),this.$=c[x-1];break;case 4:case 5:this.$=c[x];break;case 6:case 7:this.$=[];break;case 8:y.setDiagramTitle(c[x].substr(6)),this.$=c[x].substr(6);break;case 9:this.$=c[x].trim(),y.setAccTitle(this.$);break;case 10:case 11:this.$=c[x].trim(),y.setAccDescription(this.$);break;case 12:y.addSection(c[x].substr(8)),this.$=c[x].substr(8);break;case 13:y.addTask(c[x-1],c[x]),this.$="task";break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:s,12:f,14:i,16:u,17:p,18:o},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:s,12:f,14:i,16:u,17:p,18:o},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:n.__name(function(r,a){if(a.recoverable)this.trace(r);else{var l=new Error(r);throw l.hash=a,l}},"parseError"),parse:n.__name(function(r){var a=this,l=[0],y=[],d=[null],c=[],v=this.table,x="",E=0,K=0,ht=2,Q=1,ut=c.slice.call(arguments,1),k=Object.create(this.lexer),A={yy:{}};for(var q in this.yy)Object.prototype.hasOwnProperty.call(this.yy,q)&&(A.yy[q]=this.yy[q]);k.setInput(r,A.yy),A.yy.lexer=k,A.yy.parser=this,typeof k.yylloc>"u"&&(k.yylloc={});var O=k.yylloc;c.push(O);var yt=k.options&&k.options.ranges;typeof A.yy.parseError=="function"?this.parseError=A.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function dt(w){l.length=l.length-2*w,d.length=d.length-w,c.length=c.length-w}n.__name(dt,"popStack");function D(){var w;return w=y.pop()||k.lex()||Q,typeof w!="number"&&(w instanceof Array&&(y=w,w=y.pop()),w=a.symbols_[w]||w),w}n.__name(D,"lex");for(var b,I,T,Y,R={},N,M,tt,z;;){if(I=l[l.length-1],this.defaultActions[I]?T=this.defaultActions[I]:((b===null||typeof b>"u")&&(b=D()),T=v[I]&&v[I][b]),typeof T>"u"||!T.length||!T[0]){var H="";z=[];for(N in v[I])this.terminals_[N]&&N>ht&&z.push("'"+this.terminals_[N]+"'");k.showPosition?H="Parse error on line "+(E+1)+`:
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ft=require("./chunk-5VM5RSS4-Cbt79-V5.cjs"),j=require("./chunk-32BRIVSS-C3w_aYfI.cjs"),n=require("./extractHeadings-DRUBnhbi.cjs"),et=require("./arc-ZAQ3z7kr.cjs");var G=(function(){var t=n.__name(function(h,r,a,l){for(a=a||{},l=h.length;l--;a[h[l]]=r);return a},"o"),e=[6,8,10,11,12,14,16,17,18],s=[1,9],f=[1,10],i=[1,11],u=[1,12],p=[1,13],o=[1,14],_={trace:n.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:n.__name(function(r,a,l,y,d,c,v){var x=c.length-1;switch(d){case 1:return c[x-1];case 2:this.$=[];break;case 3:c[x-1].push(c[x]),this.$=c[x-1];break;case 4:case 5:this.$=c[x];break;case 6:case 7:this.$=[];break;case 8:y.setDiagramTitle(c[x].substr(6)),this.$=c[x].substr(6);break;case 9:this.$=c[x].trim(),y.setAccTitle(this.$);break;case 10:case 11:this.$=c[x].trim(),y.setAccDescription(this.$);break;case 12:y.addSection(c[x].substr(8)),this.$=c[x].substr(8);break;case 13:y.addTask(c[x-1],c[x]),this.$="task";break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:s,12:f,14:i,16:u,17:p,18:o},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:s,12:f,14:i,16:u,17:p,18:o},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:n.__name(function(r,a){if(a.recoverable)this.trace(r);else{var l=new Error(r);throw l.hash=a,l}},"parseError"),parse:n.__name(function(r){var a=this,l=[0],y=[],d=[null],c=[],v=this.table,x="",E=0,K=0,ht=2,Q=1,ut=c.slice.call(arguments,1),k=Object.create(this.lexer),A={yy:{}};for(var q in this.yy)Object.prototype.hasOwnProperty.call(this.yy,q)&&(A.yy[q]=this.yy[q]);k.setInput(r,A.yy),A.yy.lexer=k,A.yy.parser=this,typeof k.yylloc>"u"&&(k.yylloc={});var O=k.yylloc;c.push(O);var yt=k.options&&k.options.ranges;typeof A.yy.parseError=="function"?this.parseError=A.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function dt(w){l.length=l.length-2*w,d.length=d.length-w,c.length=c.length-w}n.__name(dt,"popStack");function D(){var w;return w=y.pop()||k.lex()||Q,typeof w!="number"&&(w instanceof Array&&(y=w,w=y.pop()),w=a.symbols_[w]||w),w}n.__name(D,"lex");for(var b,I,T,Y,R={},N,M,tt,z;;){if(I=l[l.length-1],this.defaultActions[I]?T=this.defaultActions[I]:((b===null||typeof b>"u")&&(b=D()),T=v[I]&&v[I][b]),typeof T>"u"||!T.length||!T[0]){var H="";z=[];for(N in v[I])this.terminals_[N]&&N>ht&&z.push("'"+this.terminals_[N]+"'");k.showPosition?H="Parse error on line "+(E+1)+`:
2
2
  `+k.showPosition()+`
3
3
  Expecting `+z.join(", ")+", got '"+(this.terminals_[b]||b)+"'":H="Parse error on line "+(E+1)+": Unexpected "+(b==Q?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(H,{text:k.match,token:this.terminals_[b]||b,line:k.yylineno,loc:O,expected:z})}if(T[0]instanceof Array&&T.length>1)throw new Error("Parse Error: multiple actions possible at state: "+I+", token: "+b);switch(T[0]){case 1:l.push(b),d.push(k.yytext),c.push(k.yylloc),l.push(T[1]),b=null,K=k.yyleng,x=k.yytext,E=k.yylineno,O=k.yylloc;break;case 2:if(M=this.productions_[T[1]][1],R.$=d[d.length-M],R._$={first_line:c[c.length-(M||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(M||1)].first_column,last_column:c[c.length-1].last_column},yt&&(R._$.range=[c[c.length-(M||1)].range[0],c[c.length-1].range[1]]),Y=this.performAction.apply(R,[x,K,E,A.yy,T[1],d,c].concat(ut)),typeof Y<"u")return Y;M&&(l=l.slice(0,-1*M*2),d=d.slice(0,-1*M),c=c.slice(0,-1*M)),l.push(this.productions_[T[1]][0]),d.push(R.$),c.push(R._$),tt=v[l[l.length-2]][l[l.length-1]],l.push(tt);break;case 3:return!0}}return!0},"parse")},g=(function(){var h={EOF:1,parseError:n.__name(function(a,l){if(this.yy.parser)this.yy.parser.parseError(a,l);else throw new Error(a)},"parseError"),setInput:n.__name(function(r,a){return this.yy=a||this.yy||{},this._input=r,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:n.__name(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var a=r.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},"input"),unput:n.__name(function(r){var a=r.length,l=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var y=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),l.length-1&&(this.yylineno-=l.length-1);var d=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:l?(l.length===y.length?this.yylloc.first_column:0)+y[y.length-l.length].length-l[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[d[0],d[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},"unput"),more:n.__name(function(){return this._more=!0,this},"more"),reject:n.__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:n.__name(function(r){this.unput(this.match.slice(r))},"less"),pastInput:n.__name(function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:n.__name(function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:n.__name(function(){var r=this.pastInput(),a=new Array(r.length+1).join("-");return r+this.upcomingInput()+`
@@ -1,7 +1,7 @@
1
- import { g as gt } from "./chunk-5VM5RSS4-OANQKmQE.js";
2
- import { a as mt, g as lt, h as xt, d as kt } from "./chunk-32BRIVSS-94iTIA-u.js";
3
- import { z as _t, y as vt, A as bt, G as wt, a6 as Tt, a5 as St, _ as s, J as R, K as H, Q as $t, ab as Mt } from "./extractHeadings-CtiYkq2z.js";
4
- import { d as it } from "./arc-Bh12k776.js";
1
+ import { g as gt } from "./chunk-5VM5RSS4-DVLmkcyq.js";
2
+ import { a as mt, g as lt, h as xt, d as kt } from "./chunk-32BRIVSS-C37ccuiX.js";
3
+ import { A as _t, z as vt, G as bt, J as wt, a7 as Tt, a6 as St, _ as s, K as V, O as H, R as $t, ac as Mt } from "./extractHeadings-CdLPwHlC.js";
4
+ import { d as it } from "./arc-Gw7Urszo.js";
5
5
  var U = (function() {
6
6
  var t = /* @__PURE__ */ s(function(h, r, n, l) {
7
7
  for (n = n || {}, l = h.length; l--; n[h[l]] = r) ;
@@ -61,7 +61,7 @@ var U = (function() {
61
61
  }
62
62
  }, "parseError"),
63
63
  parse: /* @__PURE__ */ s(function(r) {
64
- var n = this, l = [0], y = [], d = [null], c = [], v = this.table, k = "", C = 0, Z = 0, yt = 2, D = 1, dt = c.slice.call(arguments, 1), _ = Object.create(this.lexer), I = { yy: {} };
64
+ var n = this, l = [0], y = [], d = [null], c = [], v = this.table, k = "", C = 0, Q = 0, yt = 2, D = 1, dt = c.slice.call(arguments, 1), _ = Object.create(this.lexer), I = { yy: {} };
65
65
  for (var O in this.yy)
66
66
  Object.prototype.hasOwnProperty.call(this.yy, O) && (I.yy[O] = this.yy[O]);
67
67
  _.setInput(r, I.yy), I.yy.lexer = _, I.yy.parser = this, typeof _.yylloc > "u" && (_.yylloc = {});
@@ -98,7 +98,7 @@ Expecting ` + z.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : G = "
98
98
  throw new Error("Parse Error: multiple actions possible at state: " + A + ", token: " + b);
99
99
  switch (T[0]) {
100
100
  case 1:
101
- l.push(b), d.push(_.yytext), c.push(_.yylloc), l.push(T[1]), b = null, Z = _.yyleng, k = _.yytext, C = _.yylineno, Y = _.yylloc;
101
+ l.push(b), d.push(_.yytext), c.push(_.yylloc), l.push(T[1]), b = null, Q = _.yyleng, k = _.yytext, C = _.yylineno, Y = _.yylloc;
102
102
  break;
103
103
  case 2:
104
104
  if (M = this.productions_[T[1]][1], F.$ = d[d.length - M], F._$ = {
@@ -111,7 +111,7 @@ Expecting ` + z.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : G = "
111
111
  c[c.length - 1].range[1]
112
112
  ]), q = this.performAction.apply(F, [
113
113
  k,
114
- Z,
114
+ Q,
115
115
  C,
116
116
  I.yy,
117
117
  T[1],
@@ -355,10 +355,10 @@ Expecting ` + z.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : G = "
355
355
  return s(x, "Parser"), x.prototype = g, g.Parser = x, new x();
356
356
  })();
357
357
  U.parser = U;
358
- var Et = U, V = "", K = [], L = [], B = [], Ct = /* @__PURE__ */ s(function() {
359
- K.length = 0, L.length = 0, V = "", B.length = 0, Mt();
358
+ var Et = U, R = "", K = [], L = [], B = [], Ct = /* @__PURE__ */ s(function() {
359
+ K.length = 0, L.length = 0, R = "", B.length = 0, Mt();
360
360
  }, "clear"), Pt = /* @__PURE__ */ s(function(t) {
361
- V = t, K.push(t);
361
+ R = t, K.push(t);
362
362
  }, "addSection"), It = /* @__PURE__ */ s(function() {
363
363
  return K;
364
364
  }, "getSections"), At = /* @__PURE__ */ s(function() {
@@ -373,22 +373,22 @@ var Et = U, V = "", K = [], L = [], B = [], Ct = /* @__PURE__ */ s(function() {
373
373
  return L.forEach((a) => {
374
374
  a.people && t.push(...a.people);
375
375
  }), [...new Set(t)].sort();
376
- }, "updateActors"), Vt = /* @__PURE__ */ s(function(t, e) {
376
+ }, "updateActors"), Rt = /* @__PURE__ */ s(function(t, e) {
377
377
  const a = e.substr(1).split(":");
378
378
  let f = 0, i = [];
379
379
  a.length === 1 ? (f = Number(a[0]), i = []) : (f = Number(a[0]), i = a[1].split(","));
380
380
  const u = i.map((o) => o.trim()), p = {
381
- section: V,
382
- type: V,
381
+ section: R,
382
+ type: R,
383
383
  people: u,
384
384
  task: t,
385
385
  score: f
386
386
  };
387
387
  B.push(p);
388
- }, "addTask"), Rt = /* @__PURE__ */ s(function(t) {
388
+ }, "addTask"), Vt = /* @__PURE__ */ s(function(t) {
389
389
  const e = {
390
- section: V,
391
- type: V,
390
+ section: R,
391
+ type: R,
392
392
  description: t,
393
393
  task: t,
394
394
  classes: []
@@ -405,7 +405,7 @@ var Et = U, V = "", K = [], L = [], B = [], Ct = /* @__PURE__ */ s(function() {
405
405
  }, "compileTasks"), Lt = /* @__PURE__ */ s(function() {
406
406
  return Ft();
407
407
  }, "getActors"), nt = {
408
- getConfig: /* @__PURE__ */ s(() => R().journey, "getConfig"),
408
+ getConfig: /* @__PURE__ */ s(() => V().journey, "getConfig"),
409
409
  clear: Ct,
410
410
  setDiagramTitle: St,
411
411
  getDiagramTitle: Tt,
@@ -416,8 +416,8 @@ var Et = U, V = "", K = [], L = [], B = [], Ct = /* @__PURE__ */ s(function() {
416
416
  addSection: Pt,
417
417
  getSections: It,
418
418
  getTasks: At,
419
- addTask: Vt,
420
- addTaskOrg: Rt,
419
+ addTask: Rt,
420
+ addTaskOrg: Vt,
421
421
  getActors: Lt
422
422
  }, Bt = /* @__PURE__ */ s((t) => `.label {
423
423
  font-family: ${t.fontFamily};
@@ -552,7 +552,7 @@ var Et = U, V = "", K = [], L = [], B = [], Ct = /* @__PURE__ */ s(function() {
552
552
  ${t.actor5 ? `fill: ${t.actor5}` : ""};
553
553
  }
554
554
  ${gt()}
555
- `, "getStyles"), jt = Bt, Q = /* @__PURE__ */ s(function(t, e) {
555
+ `, "getStyles"), jt = Bt, Z = /* @__PURE__ */ s(function(t, e) {
556
556
  return kt(t, e);
557
557
  }, "drawRect"), Nt = /* @__PURE__ */ s(function(t, e) {
558
558
  const f = t.append("circle").attr("cx", e.cx).attr("cy", e.cy).attr("class", "face").attr("r", 15).attr("stroke-width", 2).attr("overflow", "visible"), i = t.append("g");
@@ -586,7 +586,7 @@ var Et = U, V = "", K = [], L = [], B = [], Ct = /* @__PURE__ */ s(function() {
586
586
  }, "drawLabel"), Wt = /* @__PURE__ */ s(function(t, e, a) {
587
587
  const f = t.append("g"), i = lt();
588
588
  i.x = e.x, i.y = e.y, i.fill = e.fill, i.width = a.width * e.taskCount + // width of the tasks
589
- a.diagramMarginX * (e.taskCount - 1), i.height = a.height, i.class = "journey-section section-type-" + e.num, i.rx = 3, i.ry = 3, Q(f, i), ht(a)(
589
+ a.diagramMarginX * (e.taskCount - 1), i.height = a.height, i.class = "journey-section section-type-" + e.num, i.rx = 3, i.ry = 3, Z(f, i), ht(a)(
590
590
  e.text,
591
591
  f,
592
592
  i.x,
@@ -605,7 +605,7 @@ var Et = U, V = "", K = [], L = [], B = [], Ct = /* @__PURE__ */ s(function() {
605
605
  score: e.score
606
606
  });
607
607
  const o = lt();
608
- o.x = e.x, o.y = e.y, o.fill = e.fill, o.width = a.width, o.height = a.height, o.class = "task task-type-" + e.num, o.rx = 3, o.ry = 3, Q(u, o);
608
+ o.x = e.x, o.y = e.y, o.fill = e.fill, o.width = a.width, o.height = a.height, o.class = "task task-type-" + e.num, o.rx = 3, o.ry = 3, Z(u, o);
609
609
  let g = e.x + 14;
610
610
  e.people.forEach((m) => {
611
611
  const x = e.actors[m].color, h = {
@@ -660,7 +660,7 @@ var Et = U, V = "", K = [], L = [], B = [], Ct = /* @__PURE__ */ s(function() {
660
660
  })(), qt = /* @__PURE__ */ s(function(t, e) {
661
661
  J = -1, t.append("defs").append("marker").attr("id", e + "-arrowhead").attr("refX", 5).attr("refY", 2).attr("markerWidth", 6).attr("markerHeight", 4).attr("orient", "auto").append("path").attr("d", "M 0,0 V 4 L6,2 Z");
662
662
  }, "initGraphics"), j = {
663
- drawRect: Q,
663
+ drawRect: Z,
664
664
  drawCircle: ot,
665
665
  drawSection: Wt,
666
666
  drawText: ct,
@@ -674,7 +674,7 @@ var Et = U, V = "", K = [], L = [], B = [], Ct = /* @__PURE__ */ s(function() {
674
674
  });
675
675
  }, "setConf"), E = {}, W = 0;
676
676
  function ut(t) {
677
- const e = R().journey, a = e.maxLabelWidth;
677
+ const e = V().journey, a = e.maxLabelWidth;
678
678
  W = 0;
679
679
  let f = 60;
680
680
  Object.keys(E).forEach((i) => {
@@ -722,8 +722,8 @@ function ut(t) {
722
722
  });
723
723
  }
724
724
  s(ut, "drawActorLegend");
725
- var $ = R().journey, P = 0, Ht = /* @__PURE__ */ s(function(t, e, a, f) {
726
- const i = R(), u = i.journey.titleColor, p = i.journey.titleFontSize, o = i.journey.titleFontFamily, g = i.securityLevel;
725
+ var $ = V().journey, P = 0, Ht = /* @__PURE__ */ s(function(t, e, a, f) {
726
+ const i = V(), u = i.journey.titleColor, p = i.journey.titleFontSize, o = i.journey.titleFontFamily, g = i.securityLevel;
727
727
  let m;
728
728
  g === "sandbox" && (m = H("#i" + e));
729
729
  const x = g === "sandbox" ? H(m.nodes()[0].contentDocument.body) : H("body");
@@ -767,7 +767,7 @@ var $ = R().journey, P = 0, Ht = /* @__PURE__ */ s(function(t, e, a, f) {
767
767
  t[e] === void 0 ? t[e] = a : t[e] = f(a, t[e]);
768
768
  }, "updateVal"),
769
769
  updateBounds: /* @__PURE__ */ s(function(t, e, a, f) {
770
- const i = R().journey, u = this;
770
+ const i = V().journey, u = this;
771
771
  let p = 0;
772
772
  function o(g) {
773
773
  return /* @__PURE__ */ s(function(x) {
@@ -792,7 +792,7 @@ var $ = R().journey, P = 0, Ht = /* @__PURE__ */ s(function(t, e, a, f) {
792
792
  return this.data;
793
793
  }, "getBounds")
794
794
  }, X = $.sectionFills, st = $.sectionColours, Xt = /* @__PURE__ */ s(function(t, e, a, f) {
795
- const i = R().journey;
795
+ const i = V().journey;
796
796
  let u = "";
797
797
  const p = i.height * 2 + i.diagramMarginY, o = a + p;
798
798
  let g = 0, m = "#CCC", x = "black", h = 0;
@@ -820,7 +820,7 @@ var $ = R().journey, P = 0, Ht = /* @__PURE__ */ s(function(t, e, a, f) {
820
820
  }, "drawTasks"), at = {
821
821
  setConf: Gt,
822
822
  draw: Ht
823
- }, Zt = {
823
+ }, Qt = {
824
824
  parser: Et,
825
825
  db: nt,
826
826
  renderer: at,
@@ -830,5 +830,5 @@ var $ = R().journey, P = 0, Ht = /* @__PURE__ */ s(function(t, e, a, f) {
830
830
  }, "init")
831
831
  };
832
832
  export {
833
- Zt as diagram
833
+ Qt as diagram
834
834
  };
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./extractHeadings-D1A8WzVy.cjs"),le=require("./chunk-5VM5RSS4-CKgpuXOS.cjs");var J=(function(){var e=n.__name(function(O,s,i,a){for(i=i||{},a=O.length;a--;i[O[a]]=s);return i},"o"),h=[1,4],p=[1,13],r=[1,12],d=[1,15],b=[1,16],y=[1,20],l=[1,19],D=[6,7,8],C=[1,26],g=[1,24],T=[1,25],k=[6,7,11],M=[1,31],x=[6,7,11,24],V=[1,6,13,16,17,20,23],f=[1,35],w=[1,36],L=[1,6,7,11,13,16,17,20,23],F=[1,38],A={trace:n.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:n.__name(function(s,i,a,o,u,t,G){var c=t.length-1;switch(u){case 6:case 7:return o;case 8:o.getLogger().trace("Stop NL ");break;case 9:o.getLogger().trace("Stop EOF ");break;case 11:o.getLogger().trace("Stop NL2 ");break;case 12:o.getLogger().trace("Stop EOF2 ");break;case 15:o.getLogger().info("Node: ",t[c-1].id),o.addNode(t[c-2].length,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 16:o.getLogger().info("Node: ",t[c].id),o.addNode(t[c-1].length,t[c].id,t[c].descr,t[c].type);break;case 17:o.getLogger().trace("Icon: ",t[c]),o.decorateNode({icon:t[c]});break;case 18:case 23:o.decorateNode({class:t[c]});break;case 19:o.getLogger().trace("SPACELIST");break;case 20:o.getLogger().trace("Node: ",t[c-1].id),o.addNode(0,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 21:o.getLogger().trace("Node: ",t[c].id),o.addNode(0,t[c].id,t[c].descr,t[c].type);break;case 22:o.decorateNode({icon:t[c]});break;case 27:o.getLogger().trace("node found ..",t[c-2]),this.$={id:t[c-1],descr:t[c-1],type:o.getType(t[c-2],t[c])};break;case 28:this.$={id:t[c],descr:t[c],type:0};break;case 29:o.getLogger().trace("node found ..",t[c-3]),this.$={id:t[c-3],descr:t[c-1],type:o.getType(t[c-2],t[c])};break;case 30:this.$=t[c-1]+t[c];break;case 31:this.$=t[c];break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:h},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:h},{6:p,7:[1,10],9:9,12:11,13:r,14:14,16:d,17:b,18:17,19:18,20:y,23:l},e(D,[2,3]),{1:[2,2]},e(D,[2,4]),e(D,[2,5]),{1:[2,6],6:p,12:21,13:r,14:14,16:d,17:b,18:17,19:18,20:y,23:l},{6:p,9:22,12:11,13:r,14:14,16:d,17:b,18:17,19:18,20:y,23:l},{6:C,7:g,10:23,11:T},e(k,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:y,23:l}),e(k,[2,19]),e(k,[2,21],{15:30,24:M}),e(k,[2,22]),e(k,[2,23]),e(x,[2,25]),e(x,[2,26]),e(x,[2,28],{20:[1,32]}),{21:[1,33]},{6:C,7:g,10:34,11:T},{1:[2,7],6:p,12:21,13:r,14:14,16:d,17:b,18:17,19:18,20:y,23:l},e(V,[2,14],{7:f,11:w}),e(L,[2,8]),e(L,[2,9]),e(L,[2,10]),e(k,[2,16],{15:37,24:M}),e(k,[2,17]),e(k,[2,18]),e(k,[2,20],{24:F}),e(x,[2,31]),{21:[1,39]},{22:[1,40]},e(V,[2,13],{7:f,11:w}),e(L,[2,11]),e(L,[2,12]),e(k,[2,15],{24:F}),e(x,[2,30]),{22:[1,41]},e(x,[2,27]),e(x,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:n.__name(function(s,i){if(i.recoverable)this.trace(s);else{var a=new Error(s);throw a.hash=i,a}},"parseError"),parse:n.__name(function(s){var i=this,a=[0],o=[],u=[null],t=[],G=this.table,c="",H=0,ee=0,re=2,te=1,ae=t.slice.call(arguments,1),m=Object.create(this.lexer),R={yy:{}};for(var X in this.yy)Object.prototype.hasOwnProperty.call(this.yy,X)&&(R.yy[X]=this.yy[X]);m.setInput(s,R.yy),R.yy.lexer=m,R.yy.parser=this,typeof m.yylloc>"u"&&(m.yylloc={});var K=m.yylloc;t.push(K);var oe=m.options&&m.options.ranges;typeof R.yy.parseError=="function"?this.parseError=R.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ce(S){a.length=a.length-2*S,u.length=u.length-S,t.length=t.length-S}n.__name(ce,"popStack");function ne(){var S;return S=o.pop()||m.lex()||te,typeof S!="number"&&(S instanceof Array&&(o=S,S=o.pop()),S=i.symbols_[S]||S),S}n.__name(ne,"lex");for(var E,P,N,Y,j={},U,I,ie,z;;){if(P=a[a.length-1],this.defaultActions[P]?N=this.defaultActions[P]:((E===null||typeof E>"u")&&(E=ne()),N=G[P]&&G[P][E]),typeof N>"u"||!N.length||!N[0]){var q="";z=[];for(U in G[P])this.terminals_[U]&&U>re&&z.push("'"+this.terminals_[U]+"'");m.showPosition?q="Parse error on line "+(H+1)+`:
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./extractHeadings-DRUBnhbi.cjs"),le=require("./chunk-5VM5RSS4-Cbt79-V5.cjs");var J=(function(){var e=n.__name(function(O,s,i,a){for(i=i||{},a=O.length;a--;i[O[a]]=s);return i},"o"),h=[1,4],p=[1,13],r=[1,12],d=[1,15],b=[1,16],y=[1,20],l=[1,19],D=[6,7,8],C=[1,26],g=[1,24],T=[1,25],k=[6,7,11],M=[1,31],x=[6,7,11,24],V=[1,6,13,16,17,20,23],f=[1,35],w=[1,36],L=[1,6,7,11,13,16,17,20,23],F=[1,38],A={trace:n.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:n.__name(function(s,i,a,o,u,t,G){var c=t.length-1;switch(u){case 6:case 7:return o;case 8:o.getLogger().trace("Stop NL ");break;case 9:o.getLogger().trace("Stop EOF ");break;case 11:o.getLogger().trace("Stop NL2 ");break;case 12:o.getLogger().trace("Stop EOF2 ");break;case 15:o.getLogger().info("Node: ",t[c-1].id),o.addNode(t[c-2].length,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 16:o.getLogger().info("Node: ",t[c].id),o.addNode(t[c-1].length,t[c].id,t[c].descr,t[c].type);break;case 17:o.getLogger().trace("Icon: ",t[c]),o.decorateNode({icon:t[c]});break;case 18:case 23:o.decorateNode({class:t[c]});break;case 19:o.getLogger().trace("SPACELIST");break;case 20:o.getLogger().trace("Node: ",t[c-1].id),o.addNode(0,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 21:o.getLogger().trace("Node: ",t[c].id),o.addNode(0,t[c].id,t[c].descr,t[c].type);break;case 22:o.decorateNode({icon:t[c]});break;case 27:o.getLogger().trace("node found ..",t[c-2]),this.$={id:t[c-1],descr:t[c-1],type:o.getType(t[c-2],t[c])};break;case 28:this.$={id:t[c],descr:t[c],type:0};break;case 29:o.getLogger().trace("node found ..",t[c-3]),this.$={id:t[c-3],descr:t[c-1],type:o.getType(t[c-2],t[c])};break;case 30:this.$=t[c-1]+t[c];break;case 31:this.$=t[c];break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:h},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:h},{6:p,7:[1,10],9:9,12:11,13:r,14:14,16:d,17:b,18:17,19:18,20:y,23:l},e(D,[2,3]),{1:[2,2]},e(D,[2,4]),e(D,[2,5]),{1:[2,6],6:p,12:21,13:r,14:14,16:d,17:b,18:17,19:18,20:y,23:l},{6:p,9:22,12:11,13:r,14:14,16:d,17:b,18:17,19:18,20:y,23:l},{6:C,7:g,10:23,11:T},e(k,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:y,23:l}),e(k,[2,19]),e(k,[2,21],{15:30,24:M}),e(k,[2,22]),e(k,[2,23]),e(x,[2,25]),e(x,[2,26]),e(x,[2,28],{20:[1,32]}),{21:[1,33]},{6:C,7:g,10:34,11:T},{1:[2,7],6:p,12:21,13:r,14:14,16:d,17:b,18:17,19:18,20:y,23:l},e(V,[2,14],{7:f,11:w}),e(L,[2,8]),e(L,[2,9]),e(L,[2,10]),e(k,[2,16],{15:37,24:M}),e(k,[2,17]),e(k,[2,18]),e(k,[2,20],{24:F}),e(x,[2,31]),{21:[1,39]},{22:[1,40]},e(V,[2,13],{7:f,11:w}),e(L,[2,11]),e(L,[2,12]),e(k,[2,15],{24:F}),e(x,[2,30]),{22:[1,41]},e(x,[2,27]),e(x,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:n.__name(function(s,i){if(i.recoverable)this.trace(s);else{var a=new Error(s);throw a.hash=i,a}},"parseError"),parse:n.__name(function(s){var i=this,a=[0],o=[],u=[null],t=[],G=this.table,c="",H=0,ee=0,re=2,te=1,ae=t.slice.call(arguments,1),m=Object.create(this.lexer),R={yy:{}};for(var X in this.yy)Object.prototype.hasOwnProperty.call(this.yy,X)&&(R.yy[X]=this.yy[X]);m.setInput(s,R.yy),R.yy.lexer=m,R.yy.parser=this,typeof m.yylloc>"u"&&(m.yylloc={});var K=m.yylloc;t.push(K);var oe=m.options&&m.options.ranges;typeof R.yy.parseError=="function"?this.parseError=R.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ce(S){a.length=a.length-2*S,u.length=u.length-S,t.length=t.length-S}n.__name(ce,"popStack");function ne(){var S;return S=o.pop()||m.lex()||te,typeof S!="number"&&(S instanceof Array&&(o=S,S=o.pop()),S=i.symbols_[S]||S),S}n.__name(ne,"lex");for(var E,P,N,Y,j={},U,I,ie,z;;){if(P=a[a.length-1],this.defaultActions[P]?N=this.defaultActions[P]:((E===null||typeof E>"u")&&(E=ne()),N=G[P]&&G[P][E]),typeof N>"u"||!N.length||!N[0]){var q="";z=[];for(U in G[P])this.terminals_[U]&&U>re&&z.push("'"+this.terminals_[U]+"'");m.showPosition?q="Parse error on line "+(H+1)+`:
2
2
  `+m.showPosition()+`
3
3
  Expecting `+z.join(", ")+", got '"+(this.terminals_[E]||E)+"'":q="Parse error on line "+(H+1)+": Unexpected "+(E==te?"end of input":"'"+(this.terminals_[E]||E)+"'"),this.parseError(q,{text:m.match,token:this.terminals_[E]||E,line:m.yylineno,loc:K,expected:z})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+E);switch(N[0]){case 1:a.push(E),u.push(m.yytext),t.push(m.yylloc),a.push(N[1]),E=null,ee=m.yyleng,c=m.yytext,H=m.yylineno,K=m.yylloc;break;case 2:if(I=this.productions_[N[1]][1],j.$=u[u.length-I],j._$={first_line:t[t.length-(I||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(I||1)].first_column,last_column:t[t.length-1].last_column},oe&&(j._$.range=[t[t.length-(I||1)].range[0],t[t.length-1].range[1]]),Y=this.performAction.apply(j,[c,ee,H,R.yy,N[1],u,t].concat(ae)),typeof Y<"u")return Y;I&&(a=a.slice(0,-1*I*2),u=u.slice(0,-1*I),t=t.slice(0,-1*I)),a.push(this.productions_[N[1]][0]),u.push(j.$),t.push(j._$),ie=G[a[a.length-2]][a[a.length-1]],a.push(ie);break;case 3:return!0}}return!0},"parse")},W=(function(){var O={EOF:1,parseError:n.__name(function(i,a){if(this.yy.parser)this.yy.parser.parseError(i,a);else throw new Error(i)},"parseError"),setInput:n.__name(function(s,i){return this.yy=i||this.yy||{},this._input=s,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:n.__name(function(){var s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var i=s.match(/(?:\r\n?|\n).*/g);return i?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),s},"input"),unput:n.__name(function(s){var i=s.length,a=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;var o=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),a.length-1&&(this.yylineno-=a.length-1);var u=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:a?(a.length===o.length?this.yylloc.first_column:0)+o[o.length-a.length].length-a[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[u[0],u[0]+this.yyleng-i]),this.yyleng=this.yytext.length,this},"unput"),more:n.__name(function(){return this._more=!0,this},"more"),reject:n.__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:n.__name(function(s){this.unput(this.match.slice(s))},"less"),pastInput:n.__name(function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:n.__name(function(){var s=this.match;return s.length<20&&(s+=this._input.substr(0,20-s.length)),(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:n.__name(function(){var s=this.pastInput(),i=new Array(s.length+1).join("-");return s+this.upcomingInput()+`