@aiquants/markdown 6.4.1 → 8.0.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.
- package/README.md +108 -15
- package/dist/{abnfDiagram-VRR7QNED-2HHLEFYn.js → abnfDiagram-VRR7QNED-CBM41EC-.js} +3 -3
- package/dist/{abnfDiagram-VRR7QNED-B9qvbKps.cjs → abnfDiagram-VRR7QNED-RXKSzAok.cjs} +1 -1
- package/dist/{arc-DGI79XZe.cjs → arc-BgmWispZ.cjs} +1 -1
- package/dist/{arc-DD1A3GS6.js → arc-Bih4TvC8.js} +1 -1
- package/dist/{architectureDiagram-ZJ3FMSHR-C2Isv_kl.js → architectureDiagram-ZJ3FMSHR-D5xVqWe2.js} +2 -2
- package/dist/{architectureDiagram-ZJ3FMSHR-B7adKw79.cjs → architectureDiagram-ZJ3FMSHR-G8H1xynt.cjs} +1 -1
- package/dist/{blockDiagram-677ZJIJ3-tX1_79x-.cjs → blockDiagram-677ZJIJ3-ChRokBD8.cjs} +1 -1
- package/dist/{blockDiagram-677ZJIJ3-BzDG3iuJ.js → blockDiagram-677ZJIJ3-D2McEwPe.js} +3 -3
- package/dist/{c4Diagram-LMCZKHZV-Cw3Nz-fO.cjs → c4Diagram-LMCZKHZV-BbuZbR8I.cjs} +1 -1
- package/dist/{c4Diagram-LMCZKHZV-C1E7x4pL.js → c4Diagram-LMCZKHZV-pbn9ZNfc.js} +2 -2
- package/dist/{channel-rE7Nidar.js → channel-BSzyMwb9.js} +1 -1
- package/dist/{channel-BDmOr8WI.cjs → channel-Bsz6w6My.cjs} +1 -1
- package/dist/{chunk-2Q5K7J3B-CTJGCzMl.js → chunk-2Q5K7J3B-BTLV8fQR.js} +1 -1
- package/dist/{chunk-2Q5K7J3B-B_uu3ryF.cjs → chunk-2Q5K7J3B-JZcIC-fN.cjs} +1 -1
- package/dist/{chunk-32BRIVSS-BU3k8fI2.cjs → chunk-32BRIVSS-CE9TqZq-.cjs} +1 -1
- package/dist/{chunk-32BRIVSS-80KutoA3.js → chunk-32BRIVSS-DVNzMr7e.js} +1 -1
- package/dist/{chunk-5VM5RSS4-B832yI0V.js → chunk-5VM5RSS4-Cs47jzo-.js} +1 -1
- package/dist/{chunk-5VM5RSS4-uqdZf5S-.cjs → chunk-5VM5RSS4-r0VjpGpm.cjs} +1 -1
- package/dist/{chunk-EX3LRPZG-5HbToUCP.cjs → chunk-EX3LRPZG-BY25xTq7.cjs} +1 -1
- package/dist/{chunk-EX3LRPZG-DApvzt_L.js → chunk-EX3LRPZG-B_5Ggj5W.js} +4 -4
- package/dist/{chunk-JWPE2WC7-CBmUqzlg.cjs → chunk-JWPE2WC7-C27eOtyn.cjs} +1 -1
- package/dist/{chunk-JWPE2WC7-Dum8Mfkz.js → chunk-JWPE2WC7-CNmttOZb.js} +1 -1
- package/dist/{chunk-MOJQB5TN-EODWFr7m.js → chunk-MOJQB5TN-CEUtU-PA.js} +1 -1
- package/dist/{chunk-MOJQB5TN-hBYZmLmM.cjs → chunk-MOJQB5TN-sLs8lWY5.cjs} +1 -1
- package/dist/{chunk-PUDLZKDR-Cy-CXwf7.cjs → chunk-PUDLZKDR-CKqKzHIr.cjs} +1 -1
- package/dist/{chunk-PUDLZKDR-C2TE3L5R.js → chunk-PUDLZKDR-kE8IVbnR.js} +6 -6
- package/dist/{chunk-RYQCIY6F-DYWz_eP5.cjs → chunk-RYQCIY6F-DFx9Fm0p.cjs} +1 -1
- package/dist/{chunk-RYQCIY6F-BEpprYHU.js → chunk-RYQCIY6F-DvGyCn1K.js} +1 -1
- package/dist/{chunk-V7JOEXUC-GAaV0B4H.cjs → chunk-V7JOEXUC-CDO6Uw3c.cjs} +1 -1
- package/dist/{chunk-V7JOEXUC-BM-hXi97.js → chunk-V7JOEXUC-Ct7hq70I.js} +5 -5
- package/dist/{chunk-VR4S4FIN-BXcUlQwZ.cjs → chunk-VR4S4FIN-BHCUd_x_.cjs} +1 -1
- package/dist/{chunk-VR4S4FIN-BC678u_2.js → chunk-VR4S4FIN-BfeSjNNr.js} +1 -1
- package/dist/{chunk-XXDRQBXY-DUBr_c4F.cjs → chunk-XXDRQBXY-DcTILS1N.cjs} +1 -1
- package/dist/{chunk-XXDRQBXY-CQpPgj7q.js → chunk-XXDRQBXY-HnJRRkBi.js} +1 -1
- package/dist/{classDiagram-OUVF2IWQ-COvGPN2S.cjs → classDiagram-OUVF2IWQ-D2U1rWVc.cjs} +1 -1
- package/dist/{classDiagram-v2-EOCWNBFH-yWKe5-Fq.js → classDiagram-OUVF2IWQ-aidSJ9xs.js} +2 -2
- package/dist/{classDiagram-v2-EOCWNBFH-COvGPN2S.cjs → classDiagram-v2-EOCWNBFH-D2U1rWVc.cjs} +1 -1
- package/dist/{classDiagram-OUVF2IWQ-yWKe5-Fq.js → classDiagram-v2-EOCWNBFH-aidSJ9xs.js} +2 -2
- package/dist/components/mdastNodes/codeTokenPalette.d.ts +5 -0
- package/dist/components/mermaidInteraction.d.ts +53 -4
- package/dist/components/mermaidLabels.d.ts +12 -1
- package/dist/components/pointerCoarse.d.ts +2 -0
- package/dist/converter.wasm +0 -0
- package/dist/{cose-bilkent-JH36ORCC-BZn7k9jD.js → cose-bilkent-JH36ORCC-BRo-F7tL.js} +1 -1
- package/dist/{cose-bilkent-JH36ORCC-CcFTw3np.cjs → cose-bilkent-JH36ORCC-Dwf9bYva.cjs} +1 -1
- package/dist/css/github-markdown.css +34 -0
- package/dist/css/zenn-content.css +34 -0
- package/dist/{cynefinDiagram-TSTJHNR4-hurHHCIy.js → cynefinDiagram-TSTJHNR4-C-GL5fqa.js} +2 -2
- package/dist/{cynefinDiagram-TSTJHNR4-XM1i8MSX.cjs → cynefinDiagram-TSTJHNR4-zinokqe_.cjs} +1 -1
- package/dist/{dagre-VKFMJZFB-CAdYW8rl.js → dagre-VKFMJZFB-BffjLC2e.js} +2 -2
- package/dist/{dagre-VKFMJZFB-3LTByKBx.cjs → dagre-VKFMJZFB-DuneW1hp.cjs} +1 -1
- package/dist/{diagram-FQU43EPY-CksXO5SO.js → diagram-FQU43EPY-Dzgvcg1I.js} +2 -2
- package/dist/{diagram-FQU43EPY-Cbzx46mZ.cjs → diagram-FQU43EPY-zo5gKmtP.cjs} +1 -1
- package/dist/{diagram-G47NLZAW-CyQT8r6l.js → diagram-G47NLZAW-CzcPjsD-.js} +3 -3
- package/dist/{diagram-G47NLZAW-C86xos3U.cjs → diagram-G47NLZAW-IhAHXHlI.cjs} +1 -1
- package/dist/{diagram-NH7WQ7WH-DqE3-hMS.cjs → diagram-NH7WQ7WH-CJ5N1ivv.cjs} +1 -1
- package/dist/{diagram-NH7WQ7WH-ClLVgFsl.js → diagram-NH7WQ7WH-DHiaRk6y.js} +2 -2
- package/dist/{diagram-OA4YK3LP-CkDm25Bj.js → diagram-OA4YK3LP-ByjYRYdV.js} +3 -3
- package/dist/{diagram-OA4YK3LP-TeFqqPyo.cjs → diagram-OA4YK3LP-DgT93Vwf.cjs} +1 -1
- package/dist/{diagram-WEI45ONY-DCJ7RPdW.js → diagram-WEI45ONY-BAxzHZgz.js} +2 -2
- package/dist/{diagram-WEI45ONY-sNQ6RgM4.cjs → diagram-WEI45ONY-QLDnHl3R.cjs} +1 -1
- package/dist/{ebnfDiagram-CCIWWBDH-CwojFWHZ.cjs → ebnfDiagram-CCIWWBDH-CMtypcXn.cjs} +1 -1
- package/dist/{ebnfDiagram-CCIWWBDH-ORZrs8P1.js → ebnfDiagram-CCIWWBDH-DgSrRJ63.js} +3 -3
- package/dist/{erDiagram-Q63AITRT-B5r4qjGb.cjs → erDiagram-Q63AITRT-CQ9Q6fWy.cjs} +1 -1
- package/dist/{erDiagram-Q63AITRT-DLihpfSY.js → erDiagram-Q63AITRT-CyJyuZ4T.js} +4 -4
- package/dist/extractHeadings-Bu1mM2zB.cjs +311 -0
- package/dist/{extractHeadings-jpTidOYO.js → extractHeadings-z3AodVn3.js} +6636 -6329
- package/dist/flowDiagram-23GEKE2U-CF3VxB6X.js +7 -0
- package/dist/flowDiagram-23GEKE2U-D3VUCGjn.cjs +1 -0
- package/dist/{ganttDiagram-NO4QXBWP-qrmnl_LY.cjs → ganttDiagram-NO4QXBWP-CxK0RSqW.cjs} +1 -1
- package/dist/{ganttDiagram-NO4QXBWP-Cc8dpB_u.js → ganttDiagram-NO4QXBWP-DhRS80ms.js} +2 -2
- package/dist/{gitGraphDiagram-IHSO6WYX-DEf3gB0s.js → gitGraphDiagram-IHSO6WYX-2Va5zqby.js} +3 -3
- package/dist/{gitGraphDiagram-IHSO6WYX-Bi0LKdq4.cjs → gitGraphDiagram-IHSO6WYX-CN12KReP.cjs} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.client.cjs +1 -1
- package/dist/index.client.js +1 -1
- package/dist/index.js +1 -1
- package/dist/index.server.cjs +1 -1
- package/dist/index.server.js +246 -241
- package/dist/{infoDiagram-FWYZ7A6U-CC1jQUez.js → infoDiagram-FWYZ7A6U--V_yHphS.js} +1 -1
- package/dist/{infoDiagram-FWYZ7A6U-ByUzaoGp.cjs → infoDiagram-FWYZ7A6U-k83LxwrO.cjs} +1 -1
- package/dist/{ishikawaDiagram-FXEZZL3T-q0Tua53X.cjs → ishikawaDiagram-FXEZZL3T-694D7LFH.cjs} +1 -1
- package/dist/{ishikawaDiagram-FXEZZL3T-BD2ZWvM9.js → ishikawaDiagram-FXEZZL3T-Bd4kOAap.js} +1 -1
- package/dist/{journeyDiagram-5HDEW3XC-Cc_OHYxa.cjs → journeyDiagram-5HDEW3XC-CbcL76rx.cjs} +1 -1
- package/dist/{journeyDiagram-5HDEW3XC-B2d4YZ1X.js → journeyDiagram-5HDEW3XC-Czr00oZx.js} +4 -4
- package/dist/{kanban-definition-HUTT4EX6-CGhp8hq-.cjs → kanban-definition-HUTT4EX6-BNO2VHFH.cjs} +1 -1
- package/dist/{kanban-definition-HUTT4EX6-CVTjOFjf.js → kanban-definition-HUTT4EX6-DYscvXvj.js} +2 -2
- package/dist/{linear-Gki9XU32.js → linear-DHAx74C6.js} +1 -1
- package/dist/{linear-NPD77kko.cjs → linear-DZLxJhtt.cjs} +1 -1
- package/dist/{mindmap-definition-LN4V7U3C-BVMzWil4.cjs → mindmap-definition-LN4V7U3C-CEitacUY.cjs} +1 -1
- package/dist/{mindmap-definition-LN4V7U3C-CcFlbH0m.js → mindmap-definition-LN4V7U3C-DoqEgdhu.js} +3 -3
- package/dist/{pegDiagram-2B236MQR-BjkrlFo4.cjs → pegDiagram-2B236MQR-B8G9cHi4.cjs} +1 -1
- package/dist/{pegDiagram-2B236MQR-BIEbmEyL.js → pegDiagram-2B236MQR-C7BDICCf.js} +3 -3
- package/dist/{pieDiagram-ENE6RG2P-C_zKMY-f.cjs → pieDiagram-ENE6RG2P-Bg4RGsL0.cjs} +1 -1
- package/dist/{pieDiagram-ENE6RG2P-B8b2HOMr.js → pieDiagram-ENE6RG2P-J6aMzjsp.js} +3 -3
- package/dist/{quadrantDiagram-ABIIQ3AL-DM2brpjs.cjs → quadrantDiagram-ABIIQ3AL-B3io0Zj4.cjs} +1 -1
- package/dist/{quadrantDiagram-ABIIQ3AL-CAzEuvrn.js → quadrantDiagram-ABIIQ3AL-DZMEnLkj.js} +2 -2
- package/dist/{railroadDiagram-RFXS5EU6-D4qyeIm0.cjs → railroadDiagram-RFXS5EU6-CHPuNJfr.cjs} +1 -1
- package/dist/{railroadDiagram-RFXS5EU6-Dj5Hhb2C.js → railroadDiagram-RFXS5EU6-b6ccE5L3.js} +3 -3
- package/dist/{requirementDiagram-TGXJPOKE-DxMueY11.cjs → requirementDiagram-TGXJPOKE-4iI6cUK1.cjs} +1 -1
- package/dist/{requirementDiagram-TGXJPOKE-DCsyd9cl.js → requirementDiagram-TGXJPOKE-DyI3IxhA.js} +3 -3
- package/dist/{sankeyDiagram-HTMAVEWB-Djmdo0Ih.js → sankeyDiagram-HTMAVEWB-C4kn0m5M.js} +1 -1
- package/dist/{sankeyDiagram-HTMAVEWB-HPKhkyBx.cjs → sankeyDiagram-HTMAVEWB-Cu9APNc7.cjs} +1 -1
- package/dist/{sequenceDiagram-DBY2YBRQ-3XPFEpyb.cjs → sequenceDiagram-DBY2YBRQ-4nhGxKJK.cjs} +1 -1
- package/dist/{sequenceDiagram-DBY2YBRQ-BsELINW9.js → sequenceDiagram-DBY2YBRQ-Cw7yhFCq.js} +3 -3
- package/dist/{sizeCapture-X5ZJPWSS-CYMPBUJR.js → sizeCapture-X5ZJPWSS-B-QK7YKx.js} +1 -1
- package/dist/{sizeCapture-X5ZJPWSS-31abQGwa.cjs → sizeCapture-X5ZJPWSS-xbVXdoFv.cjs} +1 -1
- package/dist/{stateDiagram-2N3HPSRC-a3NuIfYf.js → stateDiagram-2N3HPSRC-Bzh1K0Rc.js} +2 -2
- package/dist/{stateDiagram-2N3HPSRC-B0XEIOiL.cjs → stateDiagram-2N3HPSRC-Ds2EuiOJ.cjs} +1 -1
- package/dist/{stateDiagram-v2-6OUMAXLB-DGoXPnAk.js → stateDiagram-v2-6OUMAXLB-BlfKLpe-.js} +2 -2
- package/dist/{stateDiagram-v2-6OUMAXLB-BwCXOhvG.cjs → stateDiagram-v2-6OUMAXLB-DRUVmXUz.cjs} +1 -1
- package/dist/styles/markdown.css +1 -1
- package/dist/styles/markdown.standalone.css +3 -0
- package/dist/{swimlanes-5IMT3BWC-BogVCjJZ.cjs → swimlanes-5IMT3BWC-BIWoRJar.cjs} +1 -1
- package/dist/{swimlanes-5IMT3BWC-261b0Snh.js → swimlanes-5IMT3BWC-DUDhAFXh.js} +3 -3
- package/dist/{swimlanesDiagram-G3AALYLV-B-HBl7xR.cjs → swimlanesDiagram-G3AALYLV-BKJ-xuX7.cjs} +1 -1
- package/dist/{swimlanesDiagram-G3AALYLV-0hHND0xf.js → swimlanesDiagram-G3AALYLV-Cw5EI2_0.js} +2 -2
- package/dist/{timeline-definition-FHXFAJF6-B_euDX4t.js → timeline-definition-FHXFAJF6-BFvyhmFu.js} +2 -2
- package/dist/{timeline-definition-FHXFAJF6-Cm4g61OO.cjs → timeline-definition-FHXFAJF6-BZUlhY1Z.cjs} +1 -1
- package/dist/{vennDiagram-L72KCM5P-BL65fZ2Z.js → vennDiagram-L72KCM5P-0cC3-YkU.js} +1 -1
- package/dist/{vennDiagram-L72KCM5P-DCLNzpM1.cjs → vennDiagram-L72KCM5P-CySpaALH.cjs} +1 -1
- package/dist/{wardleyDiagram-EHGQE667-yrrICYTB.cjs → wardleyDiagram-EHGQE667-CTzDdsPw.cjs} +1 -1
- package/dist/{wardleyDiagram-EHGQE667-BbdgmKNq.js → wardleyDiagram-EHGQE667-CttMnmMH.js} +2 -2
- package/dist/{xychartDiagram-FW5EYKEG-1YlGN0q3.cjs → xychartDiagram-FW5EYKEG-CDQbUs0H.cjs} +1 -1
- package/dist/{xychartDiagram-FW5EYKEG-D0ITIjet.js → xychartDiagram-FW5EYKEG-Dy4JEmdB.js} +2 -2
- package/package.json +14 -12
- package/dist/extractHeadings-AC80DPCv.cjs +0 -311
- package/dist/flowDiagram-23GEKE2U-gaIzKUxz.js +0 -7
- package/dist/flowDiagram-23GEKE2U-pAPxQFWB.cjs +0 -1
- package/dist/markdown.css +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as e, Q as s, al as o, R as i } from "./extractHeadings-
|
|
1
|
+
import { _ as e, Q as s, al as o, R as i } from "./extractHeadings-z3AodVn3.js";
|
|
2
2
|
import { p as g } from "./cynefin-VYW2F7L2-Bkk-F_Js.js";
|
|
3
3
|
var p = {
|
|
4
4
|
parse: /* @__PURE__ */ e(async (r) => {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./extractHeadings-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./extractHeadings-Bu1mM2zB.cjs"),s=require("./cynefin-VYW2F7L2-MpAliYy9.cjs");var i={parse:e.__name(async r=>{const a=await s.parse("info",r);e.log.debug(a)},"parse")},o={version:"11.16.0"},g=e.__name(()=>o.version,"getVersion"),d={getVersion:g},v=e.__name((r,a,n)=>{e.log.debug(`rendering info diagram
|
|
2
2
|
`+r);const t=e.selectSvgElement(a);e.configureSvgSize(t,100,400,!0),t.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${n}`)},"draw"),c={draw:v},p={parser:i,db:d,renderer:c};exports.diagram=p;
|
package/dist/{ishikawaDiagram-FXEZZL3T-q0Tua53X.cjs → ishikawaDiagram-FXEZZL3T-694D7LFH.cjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./extractHeadings-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./extractHeadings-Bu1mM2zB.cjs");var J=(function(){var i=e.__name(function(T,t,s,n){for(s=s||{},n=T.length;n--;s[T[n]]=t);return s},"o"),h=[1,4],l=[1,14],r=[1,12],o=[1,13],y=[6,7,8],f=[1,20],d=[1,18],m=[1,19],u=[6,7,11],g=[1,6,13,14],_=[1,23],w=[1,24],x=[1,6,7,11,13,14],D={trace:e.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ishikawa:4,spaceLines:5,SPACELINE:6,NL:7,ISHIKAWA:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,TEXT:14,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"ISHIKAWA",11:"EOF",13:"SPACELIST",14:"TEXT"},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,2],[12,1],[12,1],[12,1]],performAction:e.__name(function(t,s,n,c,p,a,v){var k=a.length-1;switch(p){case 6:case 7:return c;case 15:c.addNode(a[k-1].length,a[k].trim());break;case 16:c.addNode(0,a[k].trim());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:l,7:[1,10],9:9,12:11,13:r,14:o},i(y,[2,3]),{1:[2,2]},i(y,[2,4]),i(y,[2,5]),{1:[2,6],6:l,12:15,13:r,14:o},{6:l,9:16,12:11,13:r,14:o},{6:f,7:d,10:17,11:m},i(u,[2,18],{14:[1,21]}),i(u,[2,16]),i(u,[2,17]),{6:f,7:d,10:22,11:m},{1:[2,7],6:l,12:15,13:r,14:o},i(g,[2,14],{7:_,11:w}),i(x,[2,8]),i(x,[2,9]),i(x,[2,10]),i(u,[2,15]),i(g,[2,13],{7:_,11:w}),i(x,[2,11]),i(x,[2,12])],defaultActions:{2:[2,1],6:[2,2]},parseError:e.__name(function(t,s){if(s.recoverable)this.trace(t);else{var n=new Error(t);throw n.hash=s,n}},"parseError"),parse:e.__name(function(t){var s=this,n=[0],c=[],p=[null],a=[],v=this.table,k="",I=0,$=0,L=2,A=1,C=a.slice.call(arguments,1),b=Object.create(this.lexer),S={yy:{}};for(var P in this.yy)Object.prototype.hasOwnProperty.call(this.yy,P)&&(S.yy[P]=this.yy[P]);b.setInput(t,S.yy),S.yy.lexer=b,S.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var R=b.yylloc;a.push(R);var G=b.options&&b.options.ranges;typeof S.yy.parseError=="function"?this.parseError=S.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Y(B){n.length=n.length-2*B,p.length=p.length-B,a.length=a.length-B}e.__name(Y,"popStack");function tt(){var B;return B=c.pop()||b.lex()||A,typeof B!="number"&&(B instanceof Array&&(c=B,B=c.pop()),B=s.symbols_[B]||B),B}e.__name(tt,"lex");for(var M,W,N,q,j={},U,V,et,Z;;){if(W=n[n.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]){var K="";Z=[];for(U in v[W])this.terminals_[U]&&U>L&&Z.push("'"+this.terminals_[U]+"'");b.showPosition?K="Parse error on line "+(I+1)+`:
|
|
2
2
|
`+b.showPosition()+`
|
|
3
3
|
Expecting `+Z.join(", ")+", got '"+(this.terminals_[M]||M)+"'":K="Parse error on line "+(I+1)+": Unexpected "+(M==A?"end of input":"'"+(this.terminals_[M]||M)+"'"),this.parseError(K,{text:b.match,token:this.terminals_[M]||M,line:b.yylineno,loc:R,expected:Z})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+W+", token: "+M);switch(N[0]){case 1:n.push(M),p.push(b.yytext),a.push(b.yylloc),n.push(N[1]),M=null,$=b.yyleng,k=b.yytext,I=b.yylineno,R=b.yylloc;break;case 2:if(V=this.productions_[N[1]][1],j.$=p[p.length-V],j._$={first_line:a[a.length-(V||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(V||1)].first_column,last_column:a[a.length-1].last_column},G&&(j._$.range=[a[a.length-(V||1)].range[0],a[a.length-1].range[1]]),q=this.performAction.apply(j,[k,$,I,S.yy,N[1],p,a].concat(C)),typeof q<"u")return q;V&&(n=n.slice(0,-1*V*2),p=p.slice(0,-1*V),a=a.slice(0,-1*V)),n.push(this.productions_[N[1]][0]),p.push(j.$),a.push(j._$),et=v[n[n.length-2]][n[n.length-1]],n.push(et);break;case 3:return!0}}return!0},"parse")},O=(function(){var T={EOF:1,parseError:e.__name(function(s,n){if(this.yy.parser)this.yy.parser.parseError(s,n);else throw new Error(s)},"parseError"),setInput:e.__name(function(t,s){return this.yy=s||this.yy||{},this._input=t,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:e.__name(function(){var t=this._input[0];this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t;var s=t.match(/(?:\r\n?|\n).*/g);return s?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:e.__name(function(t){var s=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s),this.offset-=s;var c=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),n.length-1&&(this.yylineno-=n.length-1);var p=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:n?(n.length===c.length?this.yylloc.first_column:0)+c[c.length-n.length].length-n[0].length:this.yylloc.first_column-s},this.options.ranges&&(this.yylloc.range=[p[0],p[0]+this.yyleng-s]),this.yyleng=this.yytext.length,this},"unput"),more:e.__name(function(){return this._more=!0,this},"more"),reject:e.__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:e.__name(function(t){this.unput(this.match.slice(t))},"less"),pastInput:e.__name(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:e.__name(function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:e.__name(function(){var t=this.pastInput(),s=new Array(t.length+1).join("-");return t+this.upcomingInput()+`
|
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-z3AodVn3.js";
|
|
2
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) ;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ft=require("./chunk-5VM5RSS4-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ft=require("./chunk-5VM5RSS4-r0VjpGpm.cjs"),j=require("./chunk-32BRIVSS-CE9TqZq-.cjs"),n=require("./extractHeadings-Bu1mM2zB.cjs"),et=require("./arc-BgmWispZ.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-
|
|
2
|
-
import { a as mt, g as lt, h as xt, d as kt } from "./chunk-32BRIVSS-
|
|
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-
|
|
4
|
-
import { d as it } from "./arc-
|
|
1
|
+
import { g as gt } from "./chunk-5VM5RSS4-Cs47jzo-.js";
|
|
2
|
+
import { a as mt, g as lt, h as xt, d as kt } from "./chunk-32BRIVSS-DVNzMr7e.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-z3AodVn3.js";
|
|
4
|
+
import { d as it } from "./arc-Bih4TvC8.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) ;
|
package/dist/{kanban-definition-HUTT4EX6-CGhp8hq-.cjs → kanban-definition-HUTT4EX6-BNO2VHFH.cjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./extractHeadings-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./extractHeadings-Bu1mM2zB.cjs"),le=require("./chunk-5VM5RSS4-r0VjpGpm.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()+`
|
package/dist/{kanban-definition-HUTT4EX6-CVTjOFjf.js → kanban-definition-HUTT4EX6-DYscvXvj.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as o, Q as te, K as H, al as fe, aS as ye, aT as be, aU as me, aB as _e, aj as X, W as F, a8 as ke, a9 as Ee, ay as Se, az as ce, aA as le } from "./extractHeadings-
|
|
2
|
-
import { g as Ne } from "./chunk-5VM5RSS4-
|
|
1
|
+
import { _ as o, Q as te, K as H, al as fe, aS as ye, aT as be, aU as me, aB as _e, aj as X, W as F, a8 as ke, a9 as Ee, ay as Se, az as ce, aA as le } from "./extractHeadings-z3AodVn3.js";
|
|
2
|
+
import { g as Ne } from "./chunk-5VM5RSS4-Cs47jzo-.js";
|
|
3
3
|
var $ = (function() {
|
|
4
4
|
var e = /* @__PURE__ */ o(function(O, s, n, r) {
|
|
5
5
|
for (n = n || {}, r = O.length; r--; n[O[r]] = s) ;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bN as j, bO as p, bP as w, bQ as k, bR as q } from "./extractHeadings-
|
|
1
|
+
import { bN as j, bO as p, bP as w, bQ as k, bR as q } from "./extractHeadings-z3AodVn3.js";
|
|
2
2
|
import { i as D } from "./init-DjUOC4st.js";
|
|
3
3
|
import { e as g, f as F, a as P, b as z } from "./defaultLocale-BgPVtth8.js";
|
|
4
4
|
function M(n, r) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const m=require("./extractHeadings-
|
|
1
|
+
"use strict";const m=require("./extractHeadings-Bu1mM2zB.cjs"),j=require("./init-CHZsXQcr.cjs"),g=require("./defaultLocale-C4wbwF1n.cjs");function p(n,r){return n==null||r==null?NaN:n<r?-1:n>r?1:n>=r?0:NaN}function D(n,r){return n==null||r==null?NaN:r<n?-1:r>n?1:r>=n?0:NaN}function d(n){let r,t,e;n.length!==2?(r=p,t=(a,f)=>p(n(a),f),e=(a,f)=>n(a)-f):(r=n===p||n===D?n:F,t=n,e=n);function u(a,f,i=0,s=a.length){if(i<s){if(r(f,f)!==0)return s;do{const l=i+s>>>1;t(a[l],f)<0?i=l+1:s=l}while(i<s)}return i}function c(a,f,i=0,s=a.length){if(i<s){if(r(f,f)!==0)return s;do{const l=i+s>>>1;t(a[l],f)<=0?i=l+1:s=l}while(i<s)}return i}function o(a,f,i=0,s=a.length){const l=u(a,f,i,s-1);return l>i&&e(a[l-1],f)>-e(a[l],f)?l-1:l}return{left:u,center:o,right:c}}function F(){return 0}function $(n){return n===null?NaN:+n}const z=d(p),B=z.right;d($).center;const I=Math.sqrt(50),P=Math.sqrt(10),V=Math.sqrt(2);function v(n,r,t){const e=(r-n)/Math.max(0,t),u=Math.floor(Math.log10(e)),c=e/Math.pow(10,u),o=c>=I?10:c>=P?5:c>=V?2:1;let a,f,i;return u<0?(i=Math.pow(10,-u)/o,a=Math.round(n*i),f=Math.round(r*i),a/i<n&&++a,f/i>r&&--f,i=-i):(i=Math.pow(10,u)*o,a=Math.round(n/i),f=Math.round(r/i),a*i<n&&++a,f*i>r&&--f),f<a&&.5<=t&&t<2?v(n,r,t*2):[a,f,i]}function H(n,r,t){if(r=+r,n=+n,t=+t,!(t>0))return[];if(n===r)return[n];const e=r<n,[u,c,o]=e?v(r,n,t):v(n,r,t);if(!(c>=u))return[];const a=c-u+1,f=new Array(a);if(e)if(o<0)for(let i=0;i<a;++i)f[i]=(c-i)/-o;else for(let i=0;i<a;++i)f[i]=(c-i)*o;else if(o<0)for(let i=0;i<a;++i)f[i]=(u+i)/-o;else for(let i=0;i<a;++i)f[i]=(u+i)*o;return f}function y(n,r,t){return r=+r,n=+n,t=+t,v(n,r,t)[2]}function A(n,r,t){r=+r,n=+n,t=+t;const e=r<n,u=e?y(r,n,t):y(n,r,t);return(e?-1:1)*(u<0?1/-u:u)}function L(n,r){r||(r=[]);var t=n?Math.min(r.length,n.length):0,e=r.slice(),u;return function(c){for(u=0;u<t;++u)e[u]=n[u]*(1-c)+r[u]*c;return e}}function O(n){return ArrayBuffer.isView(n)&&!(n instanceof DataView)}function T(n,r){var t=r?r.length:0,e=n?Math.min(t,n.length):0,u=new Array(e),c=new Array(t),o;for(o=0;o<e;++o)u[o]=w(n[o],r[o]);for(;o<t;++o)c[o]=r[o];return function(a){for(o=0;o<e;++o)c[o]=u[o](a);return c}}function C(n,r){var t=new Date;return n=+n,r=+r,function(e){return t.setTime(n*(1-e)+r*e),t}}function E(n,r){var t={},e={},u;(n===null||typeof n!="object")&&(n={}),(r===null||typeof r!="object")&&(r={});for(u in r)u in n?t[u]=w(n[u],r[u]):e[u]=r[u];return function(c){for(u in t)e[u]=t[u](c);return e}}function w(n,r){var t=typeof r,e;return r==null||t==="boolean"?m.constant$1(r):(t==="number"?m.interpolateNumber:t==="string"?(e=m.color(r))?(r=e,m.interpolateRgb):m.interpolateString:r instanceof m.color?m.interpolateRgb:r instanceof Date?C:O(r)?L:Array.isArray(r)?T:typeof r.valueOf!="function"&&typeof r.toString!="function"||isNaN(r)?E:m.interpolateNumber)(n,r)}function G(n,r){return n=+n,r=+r,function(t){return Math.round(n*(1-t)+r*t)}}function J(n){return Math.max(0,-g.exponent(Math.abs(n)))}function K(n,r){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(g.exponent(r)/3)))*3-g.exponent(Math.abs(n)))}function Q(n,r){return n=Math.abs(n),r=Math.abs(r)-n,Math.max(0,g.exponent(r)-g.exponent(n))+1}function U(n){return function(){return n}}function W(n){return+n}var k=[0,1];function M(n){return n}function N(n,r){return(r-=n=+n)?function(t){return(t-n)/r}:U(isNaN(r)?NaN:.5)}function X(n,r){var t;return n>r&&(t=n,n=r,r=t),function(e){return Math.max(n,Math.min(r,e))}}function Y(n,r,t){var e=n[0],u=n[1],c=r[0],o=r[1];return u<e?(e=N(u,e),c=t(o,c)):(e=N(e,u),c=t(c,o)),function(a){return c(e(a))}}function Z(n,r,t){var e=Math.min(n.length,r.length)-1,u=new Array(e),c=new Array(e),o=-1;for(n[e]<n[0]&&(n=n.slice().reverse(),r=r.slice().reverse());++o<e;)u[o]=N(n[o],n[o+1]),c[o]=t(r[o],r[o+1]);return function(a){var f=B(n,a,1,e)-1;return c[f](u[f](a))}}function R(n,r){return r.domain(n.domain()).range(n.range()).interpolate(n.interpolate()).clamp(n.clamp()).unknown(n.unknown())}function _(){var n=k,r=k,t=w,e,u,c,o=M,a,f,i;function s(){var h=Math.min(n.length,r.length);return o!==M&&(o=X(n[0],n[h-1])),a=h>2?Z:Y,f=i=null,l}function l(h){return h==null||isNaN(h=+h)?c:(f||(f=a(n.map(e),r,t)))(e(o(h)))}return l.invert=function(h){return o(u((i||(i=a(r,n.map(e),m.interpolateNumber)))(h)))},l.domain=function(h){return arguments.length?(n=Array.from(h,W),s()):n.slice()},l.range=function(h){return arguments.length?(r=Array.from(h),s()):r.slice()},l.rangeRound=function(h){return r=Array.from(h),t=G,s()},l.clamp=function(h){return arguments.length?(o=h?!0:M,s()):o!==M},l.interpolate=function(h){return arguments.length?(t=h,s()):t},l.unknown=function(h){return arguments.length?(c=h,l):c},function(h,x){return e=h,u=x,s()}}function q(){return _()(M,M)}function b(n,r,t,e){var u=A(n,r,t),c;switch(e=g.formatSpecifier(e??",f"),e.type){case"s":{var o=Math.max(Math.abs(n),Math.abs(r));return e.precision==null&&!isNaN(c=K(u,o))&&(e.precision=c),g.formatPrefix(e,o)}case"":case"e":case"g":case"p":case"r":{e.precision==null&&!isNaN(c=Q(u,Math.max(Math.abs(n),Math.abs(r))))&&(e.precision=c-(e.type==="e"));break}case"f":case"%":{e.precision==null&&!isNaN(c=J(u))&&(e.precision=c-(e.type==="%")*2);break}}return g.format(e)}function nn(n){var r=n.domain;return n.ticks=function(t){var e=r();return H(e[0],e[e.length-1],t??10)},n.tickFormat=function(t,e){var u=r();return b(u[0],u[u.length-1],t??10,e)},n.nice=function(t){t==null&&(t=10);var e=r(),u=0,c=e.length-1,o=e[u],a=e[c],f,i,s=10;for(a<o&&(i=o,o=a,a=i,i=u,u=c,c=i);s-- >0;){if(i=y(o,a,t),i===f)return e[u]=o,e[c]=a,r(e);if(i>0)o=Math.floor(o/i)*i,a=Math.ceil(a/i)*i;else if(i<0)o=Math.ceil(o*i)/i,a=Math.floor(a*i)/i;else break;f=i}return n},n}function S(){var n=q();return n.copy=function(){return R(n,S())},j.initRange.apply(n,arguments),nn(n)}exports.bisector=d;exports.continuous=q;exports.copy=R;exports.linear=S;exports.tickStep=A;
|
package/dist/{mindmap-definition-LN4V7U3C-BVMzWil4.cjs → mindmap-definition-LN4V7U3C-CEitacUY.cjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ie=require("./chunk-XXDRQBXY-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ie=require("./chunk-XXDRQBXY-DcTILS1N.cjs"),se=require("./chunk-VR4S4FIN-BHCUd_x_.cjs"),s=require("./extractHeadings-Bu1mM2zB.cjs"),E=[];for(let t=0;t<256;++t)E.push((t+256).toString(16).slice(1));function re(t,e=0){return(E[t[e+0]]+E[t[e+1]]+E[t[e+2]]+E[t[e+3]]+"-"+E[t[e+4]]+E[t[e+5]]+"-"+E[t[e+6]]+E[t[e+7]]+"-"+E[t[e+8]]+E[t[e+9]]+"-"+E[t[e+10]]+E[t[e+11]]+E[t[e+12]]+E[t[e+13]]+E[t[e+14]]+E[t[e+15]]).toLowerCase()}const ae=new Uint8Array(16);function oe(){return crypto.getRandomValues(ae)}function ce(t,e,c){return crypto.randomUUID?crypto.randomUUID():le(t)}function le(t,e,c){t=t||{};const h=t.random??t.rng?.()??oe();if(h.length<16)throw new Error("Random bytes length must be >= 16");return h[6]=h[6]&15|64,h[8]=h[8]&63|128,re(h)}var z=(function(){var t=s.__name(function(L,r,i,o){for(i=i||{},o=L.length;o--;i[L[o]]=r);return i},"o"),e=[1,4],c=[1,13],h=[1,12],n=[1,15],d=[1,16],f=[1,20],y=[1,19],_=[6,7,8],k=[1,26],v=[1,24],w=[1,25],g=[6,7,11],R=[1,6,13,15,16,19,22],X=[1,33],W=[1,34],A=[1,6,7,11,13,15,16,19,22],V={trace:s.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"MINDMAP",11:"EOF",13:"SPACELIST",15:"ICON",16:"CLASS",19:"NODE_DSTART",20:"NODE_DESCR",21:"NODE_DEND",22:"NODE_ID"},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,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:s.__name(function(r,i,o,l,p,a,$){var u=a.length-1;switch(p){case 6:case 7:return l;case 8:l.getLogger().trace("Stop NL ");break;case 9:l.getLogger().trace("Stop EOF ");break;case 11:l.getLogger().trace("Stop NL2 ");break;case 12:l.getLogger().trace("Stop EOF2 ");break;case 15:l.getLogger().info("Node: ",a[u].id),l.addNode(a[u-1].length,a[u].id,a[u].descr,a[u].type);break;case 16:l.getLogger().trace("Icon: ",a[u]),l.decorateNode({icon:a[u]});break;case 17:case 21:l.decorateNode({class:a[u]});break;case 18:l.getLogger().trace("SPACELIST");break;case 19:l.getLogger().trace("Node: ",a[u].id),l.addNode(0,a[u].id,a[u].descr,a[u].type);break;case 20:l.decorateNode({icon:a[u]});break;case 25:l.getLogger().trace("node found ..",a[u-2]),this.$={id:a[u-1],descr:a[u-1],type:l.getType(a[u-2],a[u])};break;case 26:this.$={id:a[u],descr:a[u],type:l.nodeType.DEFAULT};break;case 27:l.getLogger().trace("node found ..",a[u-3]),this.$={id:a[u-3],descr:a[u-1],type:l.getType(a[u-2],a[u])};break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:e},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:e},{6:c,7:[1,10],9:9,12:11,13:h,14:14,15:n,16:d,17:17,18:18,19:f,22:y},t(_,[2,3]),{1:[2,2]},t(_,[2,4]),t(_,[2,5]),{1:[2,6],6:c,12:21,13:h,14:14,15:n,16:d,17:17,18:18,19:f,22:y},{6:c,9:22,12:11,13:h,14:14,15:n,16:d,17:17,18:18,19:f,22:y},{6:k,7:v,10:23,11:w},t(g,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:f,22:y}),t(g,[2,18]),t(g,[2,19]),t(g,[2,20]),t(g,[2,21]),t(g,[2,23]),t(g,[2,24]),t(g,[2,26],{19:[1,30]}),{20:[1,31]},{6:k,7:v,10:32,11:w},{1:[2,7],6:c,12:21,13:h,14:14,15:n,16:d,17:17,18:18,19:f,22:y},t(R,[2,14],{7:X,11:W}),t(A,[2,8]),t(A,[2,9]),t(A,[2,10]),t(g,[2,15]),t(g,[2,16]),t(g,[2,17]),{20:[1,35]},{21:[1,36]},t(R,[2,13],{7:X,11:W}),t(A,[2,11]),t(A,[2,12]),{21:[1,37]},t(g,[2,25]),t(g,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:s.__name(function(r,i){if(i.recoverable)this.trace(r);else{var o=new Error(r);throw o.hash=i,o}},"parseError"),parse:s.__name(function(r){var i=this,o=[0],l=[],p=[null],a=[],$=this.table,u="",P=0,Y=0,Z=2,q=1,ee=a.slice.call(arguments,1),m=Object.create(this.lexer),T={yy:{}};for(var F in this.yy)Object.prototype.hasOwnProperty.call(this.yy,F)&&(T.yy[F]=this.yy[F]);m.setInput(r,T.yy),T.yy.lexer=m,T.yy.parser=this,typeof m.yylloc>"u"&&(m.yylloc={});var G=m.yylloc;a.push(G);var te=m.options&&m.options.ranges;typeof T.yy.parseError=="function"?this.parseError=T.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ne(S){o.length=o.length-2*S,p.length=p.length-S,a.length=a.length-S}s.__name(ne,"popStack");function Q(){var S;return S=l.pop()||m.lex()||q,typeof S!="number"&&(S instanceof Array&&(l=S,S=l.pop()),S=i.symbols_[S]||S),S}s.__name(Q,"lex");for(var b,C,x,j,O={},M,N,J,U;;){if(C=o[o.length-1],this.defaultActions[C]?x=this.defaultActions[C]:((b===null||typeof b>"u")&&(b=Q()),x=$[C]&&$[C][b]),typeof x>"u"||!x.length||!x[0]){var H="";U=[];for(M in $[C])this.terminals_[M]&&M>Z&&U.push("'"+this.terminals_[M]+"'");m.showPosition?H="Parse error on line "+(P+1)+`:
|
|
2
2
|
`+m.showPosition()+`
|
|
3
3
|
Expecting `+U.join(", ")+", got '"+(this.terminals_[b]||b)+"'":H="Parse error on line "+(P+1)+": Unexpected "+(b==q?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(H,{text:m.match,token:this.terminals_[b]||b,line:m.yylineno,loc:G,expected:U})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+C+", token: "+b);switch(x[0]){case 1:o.push(b),p.push(m.yytext),a.push(m.yylloc),o.push(x[1]),b=null,Y=m.yyleng,u=m.yytext,P=m.yylineno,G=m.yylloc;break;case 2:if(N=this.productions_[x[1]][1],O.$=p[p.length-N],O._$={first_line:a[a.length-(N||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(N||1)].first_column,last_column:a[a.length-1].last_column},te&&(O._$.range=[a[a.length-(N||1)].range[0],a[a.length-1].range[1]]),j=this.performAction.apply(O,[u,Y,P,T.yy,x[1],p,a].concat(ee)),typeof j<"u")return j;N&&(o=o.slice(0,-1*N*2),p=p.slice(0,-1*N),a=a.slice(0,-1*N)),o.push(this.productions_[x[1]][0]),p.push(O.$),a.push(O._$),J=$[o[o.length-2]][o[o.length-1]],o.push(J);break;case 3:return!0}}return!0},"parse")},K=(function(){var L={EOF:1,parseError:s.__name(function(i,o){if(this.yy.parser)this.yy.parser.parseError(i,o);else throw new Error(i)},"parseError"),setInput:s.__name(function(r,i){return this.yy=i||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:s.__name(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var i=r.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),r},"input"),unput:s.__name(function(r){var i=r.length,o=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;var l=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),o.length-1&&(this.yylineno-=o.length-1);var p=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:o?(o.length===l.length?this.yylloc.first_column:0)+l[l.length-o.length].length-o[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[p[0],p[0]+this.yyleng-i]),this.yyleng=this.yytext.length,this},"unput"),more:s.__name(function(){return this._more=!0,this},"more"),reject:s.__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:s.__name(function(r){this.unput(this.match.slice(r))},"less"),pastInput:s.__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:s.__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:s.__name(function(){var r=this.pastInput(),i=new Array(r.length+1).join("-");return r+this.upcomingInput()+`
|
package/dist/{mindmap-definition-LN4V7U3C-CcFlbH0m.js → mindmap-definition-LN4V7U3C-DoqEgdhu.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as oe } from "./chunk-XXDRQBXY-
|
|
2
|
-
import { s as ce } from "./chunk-VR4S4FIN-
|
|
3
|
-
import { _ as h, Q as I, a3 as le, a4 as he, ag as de, aj as j, K as P, W as G, a1 as ge, ay as ue, az as pe, aA as fe } from "./extractHeadings-
|
|
1
|
+
import { g as oe } from "./chunk-XXDRQBXY-HnJRRkBi.js";
|
|
2
|
+
import { s as ce } from "./chunk-VR4S4FIN-BfeSjNNr.js";
|
|
3
|
+
import { _ as h, Q as I, a3 as le, a4 as he, ag as de, aj as j, K as P, W as G, a1 as ge, ay as ue, az as pe, aA as fe } from "./extractHeadings-z3AodVn3.js";
|
|
4
4
|
const _ = [];
|
|
5
5
|
for (let t = 0; t < 256; ++t)
|
|
6
6
|
_.push((t + 256).toString(16).slice(1));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./chunk-MOJQB5TN-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./chunk-MOJQB5TN-sLs8lWY5.cjs"),l=require("./chunk-JWPE2WC7-C27eOtyn.cjs"),t=require("./extractHeadings-Bu1mM2zB.cjs"),s=require("./cynefin-VYW2F7L2-MpAliYy9.cjs");var u=s.createRailroadPegServices().RailroadPeg.parser.LangiumParser,i=t.__name(e=>{const r=e.alternatives.map(m);return r.length===1?r[0]:{type:"choice",alternatives:r}},"transformOrderedChoice"),m=t.__name(e=>{const r=e.elements.map(c);return r.length===1?r[0]:{type:"sequence",elements:r}},"transformSequence"),c=t.__name(e=>{const r=p(e.suffix);return e.operator?{type:"special",text:e.operator==="&"?`&${o(r)}`:`!${o(r)}`}:r},"transformPrefix"),o=t.__name(e=>{switch(e.type){case"terminal":return`"${e.value}"`;case"nonterminal":return e.name;case"special":return e.text;default:return"(...)"}},"nodeToLabel"),p=t.__name(e=>{const r=d(e.primary);if(!e.operator)return r;switch(e.operator){case"?":return{type:"optional",element:r};case"*":return{type:"repetition",element:r,min:0,max:1/0};case"+":return{type:"repetition",element:r,min:1,max:1/0};default:throw new Error(`Unsupported PEG suffix operator: ${e.operator}`)}},"transformSuffix"),d=t.__name(e=>{switch(e.$type){case"PegLiteral":return{type:"terminal",value:e.value};case"PegIdentifier":return{type:"nonterminal",name:e.name};case"PegGroup":return i(e.element);case"PegAny":return{type:"special",text:e.dot};default:throw new Error(`Unsupported PEG primary node: ${e.$type}`)}},"transformPrimary"),f=t.__name(e=>({name:e.name,definition:i(e.definition)}),"transformRule"),g=t.__name(e=>{l.populateCommonDb(e,a.db),e.title&&a.db.setTitle(e.title),e.rules.map(r=>a.db.addRule(f(r)))},"populateDb"),P={parse:t.__name(e=>{a.db.clear(),t.log.debug("[PEG Parser] Starting Langium parse");const r=u.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new s.MermaidParseError(r);const n=r.value;t.log.debug("[PEG Parser] Parsed rules:",n.rules.length),g(n),t.log.debug("[PEG Parser] Parse complete")},"parse"),parser:{yy:a.db}},y={parser:P,db:a.db,renderer:a.renderer,styles:a.getStyles};exports.diagram=y;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as l, r as m, d as a } from "./chunk-MOJQB5TN-
|
|
2
|
-
import { p } from "./chunk-JWPE2WC7-
|
|
3
|
-
import { _ as t, Q as o } from "./extractHeadings-
|
|
1
|
+
import { g as l, r as m, d as a } from "./chunk-MOJQB5TN-CEUtU-PA.js";
|
|
2
|
+
import { p } from "./chunk-JWPE2WC7-CNmttOZb.js";
|
|
3
|
+
import { _ as t, Q as o } from "./extractHeadings-z3AodVn3.js";
|
|
4
4
|
import { M as u, d as c } from "./cynefin-VYW2F7L2-Bkk-F_Js.js";
|
|
5
5
|
var f = c().RailroadPeg.parser.LangiumParser, i = /* @__PURE__ */ t((e) => {
|
|
6
6
|
const r = e.alternatives.map(d);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Q=require("./chunk-JWPE2WC7-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Q=require("./chunk-JWPE2WC7-C27eOtyn.cjs"),e=require("./extractHeadings-Bu1mM2zB.cjs"),tt=require("./cynefin-VYW2F7L2-MpAliYy9.cjs"),j=require("./arc-BgmWispZ.cjs"),et=require("./ordinal-CagbB1m8.cjs");function nt(t,i){return i<t?-1:i>t?1:i>=t?0:NaN}function at(t){return t}function rt(){var t=at,i=nt,x=null,T=e.constant(0),c=e.constant(e.tau),h=e.constant(0);function o(n){var r,s=(n=e.array(n)).length,p,A,C=0,f=new Array(s),l=new Array(s),_=+T.apply(this,arguments),k=Math.min(e.tau,Math.max(-e.tau,c.apply(this,arguments)-_)),$,z=Math.min(Math.abs(k)/s,h.apply(this,arguments)),g=z*(k<0?-1:1),w;for(r=0;r<s;++r)(w=l[f[r]=r]=+t(n[r],r,n))>0&&(C+=w);for(i!=null?f.sort(function(E,m){return i(l[E],l[m])}):x!=null&&f.sort(function(E,m){return x(n[E],n[m])}),r=0,A=C?(k-s*g)/C:0;r<s;++r,_=$)p=f[r],w=l[p],$=_+(w>0?w*A:0)+g,l[p]={data:n[p],index:r,value:w,startAngle:_,endAngle:$,padAngle:z};return l}return o.value=function(n){return arguments.length?(t=typeof n=="function"?n:e.constant(+n),o):t},o.sortValues=function(n){return arguments.length?(i=n,x=null,o):i},o.sort=function(n){return arguments.length?(x=n,i=null,o):x},o.startAngle=function(n){return arguments.length?(T=typeof n=="function"?n:e.constant(+n),o):T},o.endAngle=function(n){return arguments.length?(c=typeof n=="function"?n:e.constant(+n),o):c},o.padAngle=function(n){return arguments.length?(h=typeof n=="function"?n:e.constant(+n),o):h},o}var it=e.defaultConfig_default.pie,N={sections:new Map,showData:!1},P=N.sections,G=N.showData,ot=structuredClone(it),lt=e.__name(()=>structuredClone(ot),"getConfig"),st=e.__name(()=>{P=new Map,G=N.showData,e.clear()},"clear"),ct=e.__name(({label:t,value:i})=>{if(i<0)throw new Error(`"${t}" has invalid value: ${i}. Negative values are not allowed in pie charts. All slice values must be >= 0.`);P.has(t)||(P.set(t,i),e.log.debug(`added new section: ${t}, with value: ${i}`))},"addSection"),ut=e.__name(()=>P,"getSections"),gt=e.__name(t=>{G=t},"setShowData"),dt=e.__name(()=>G,"getShowData"),U={getConfig:lt,clear:st,setDiagramTitle:e.setDiagramTitle,getDiagramTitle:e.getDiagramTitle,setAccTitle:e.setAccTitle,getAccTitle:e.getAccTitle,setAccDescription:e.setAccDescription,getAccDescription:e.getAccDescription,addSection:ct,getSections:ut,setShowData:gt,getShowData:dt},ht=e.__name((t,i)=>{Q.populateCommonDb(t,i),i.setShowData(t.showData),t.sections.map(i.addSection)},"populateDb"),pt={parse:e.__name(async t=>{const i=await tt.parse("pie",t);e.log.debug(i),ht(i,U)},"parse")},ft=e.__name(t=>`
|
|
2
2
|
.pieCircle{
|
|
3
3
|
stroke: ${t.pieStrokeColor};
|
|
4
4
|
stroke-width : ${t.pieStrokeWidth};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { p as at } from "./chunk-JWPE2WC7-
|
|
2
|
-
import { aO as T, aG as P, bK as rt, A as nt, z as it, G as ot, J as st, a7 as lt, a6 as ct, _ as g, Q as B, K as ut, ai as dt, al as gt, ap as pt, R as ht, ac as ft, aj as mt } from "./extractHeadings-
|
|
1
|
+
import { p as at } from "./chunk-JWPE2WC7-CNmttOZb.js";
|
|
2
|
+
import { aO as T, aG as P, bK as rt, A as nt, z as it, G as ot, J as st, a7 as lt, a6 as ct, _ as g, Q as B, K as ut, ai as dt, al as gt, ap as pt, R as ht, ac as ft, aj as mt } from "./extractHeadings-z3AodVn3.js";
|
|
3
3
|
import { p as vt } from "./cynefin-VYW2F7L2-Bkk-F_Js.js";
|
|
4
|
-
import { d as Q } from "./arc-
|
|
4
|
+
import { d as Q } from "./arc-Bih4TvC8.js";
|
|
5
5
|
import { o as xt } from "./ordinal-B6-f3MAq.js";
|
|
6
6
|
function St(t, n) {
|
|
7
7
|
return n < t ? -1 : n > t ? 1 : n >= t ? 0 : NaN;
|
package/dist/{quadrantDiagram-ABIIQ3AL-DM2brpjs.cjs → quadrantDiagram-ABIIQ3AL-B3io0Zj4.cjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./extractHeadings-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./extractHeadings-Bu1mM2zB.cjs"),Jt=require("./linear-DZLxJhtt.cjs");var Ct=(function(){var t=e.__name(function(M,l,o,f){for(o=o||{},f=M.length;f--;o[M[f]]=l);return o},"o"),s=[1,3],x=[1,4],d=[1,5],c=[1,6],p=[1,7],_=[1,4,5,10,12,13,14,15,18,25,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],S=[1,4,5,10,12,13,14,15,18,25,28,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],n=[55,56,57],k=[2,36],u=[1,37],y=[1,36],m=[1,38],T=[1,35],q=[1,43],g=[1,41],A=[1,45],ot=[1,14],ut=[1,23],ft=[1,18],xt=[1,19],ct=[1,20],qt=[1,21],ht=[1,22],i=[1,24],Lt=[1,25],Et=[1,26],Dt=[1,27],zt=[1,28],Vt=[1,29],W=[1,32],U=[1,33],F=[1,34],P=[1,39],C=[1,40],v=[1,42],L=[1,44],O=[1,63],H=[1,62],E=[4,5,8,10,12,13,14,15,18,44,47,49,55,56,57,63,64,65,66,67],It=[1,66],wt=[1,67],Bt=[1,68],Rt=[1,69],Nt=[1,70],Wt=[1,71],Ut=[1,72],Qt=[1,73],Ot=[1,74],Ht=[1,75],Xt=[1,76],Mt=[1,77],I=[4,5,6,7,8,9,10,11,12,13,14,15,18],G=[1,91],K=[1,92],Z=[1,93],J=[1,100],$=[1,94],tt=[1,97],et=[1,95],at=[1,96],it=[1,98],nt=[1,99],bt=[1,103],Yt=[10,55,56,57],R=[4,5,6,8,10,11,13,17,18,19,20,55,56,57],St={trace:e.__name(function(){},"trace"),yy:{},symbols_:{error:2,idStringToken:3,ALPHA:4,NUM:5,NODE_STRING:6,DOWN:7,MINUS:8,DEFAULT:9,COMMA:10,COLON:11,AMP:12,BRKT:13,MULT:14,UNICODE_TEXT:15,styleComponent:16,UNIT:17,SPACE:18,STYLE:19,PCT:20,idString:21,style:22,stylesOpt:23,classDefStatement:24,CLASSDEF:25,start:26,eol:27,QUADRANT:28,document:29,line:30,statement:31,axisDetails:32,quadrantDetails:33,points:34,title:35,title_value:36,acc_title:37,acc_title_value:38,acc_descr:39,acc_descr_value:40,acc_descr_multiline_value:41,section:42,text:43,point_start:44,point_x:45,point_y:46,class_name:47,"X-AXIS":48,"AXIS-TEXT-DELIMITER":49,"Y-AXIS":50,QUADRANT_1:51,QUADRANT_2:52,QUADRANT_3:53,QUADRANT_4:54,NEWLINE:55,SEMI:56,EOF:57,alphaNumToken:58,textNoTagsToken:59,STR:60,MD_STR:61,alphaNum:62,PUNCTUATION:63,PLUS:64,EQUALS:65,DOT:66,UNDERSCORE:67,$accept:0,$end:1},terminals_:{2:"error",4:"ALPHA",5:"NUM",6:"NODE_STRING",7:"DOWN",8:"MINUS",9:"DEFAULT",10:"COMMA",11:"COLON",12:"AMP",13:"BRKT",14:"MULT",15:"UNICODE_TEXT",17:"UNIT",18:"SPACE",19:"STYLE",20:"PCT",25:"CLASSDEF",28:"QUADRANT",35:"title",36:"title_value",37:"acc_title",38:"acc_title_value",39:"acc_descr",40:"acc_descr_value",41:"acc_descr_multiline_value",42:"section",44:"point_start",45:"point_x",46:"point_y",47:"class_name",48:"X-AXIS",49:"AXIS-TEXT-DELIMITER",50:"Y-AXIS",51:"QUADRANT_1",52:"QUADRANT_2",53:"QUADRANT_3",54:"QUADRANT_4",55:"NEWLINE",56:"SEMI",57:"EOF",60:"STR",61:"MD_STR",63:"PUNCTUATION",64:"PLUS",65:"EQUALS",66:"DOT",67:"UNDERSCORE"},productions_:[0,[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[21,1],[21,2],[22,1],[22,2],[23,1],[23,3],[24,5],[26,2],[26,2],[26,2],[29,0],[29,2],[30,2],[31,0],[31,1],[31,2],[31,1],[31,1],[31,1],[31,2],[31,2],[31,2],[31,1],[31,1],[34,4],[34,5],[34,5],[34,6],[32,4],[32,3],[32,2],[32,4],[32,3],[32,2],[33,2],[33,2],[33,2],[33,2],[27,1],[27,1],[27,1],[43,1],[43,2],[43,1],[43,1],[62,1],[62,2],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[59,1],[59,1],[59,1]],performAction:e.__name(function(l,o,f,h,b,a,dt){var r=a.length-1;switch(b){case 23:this.$=a[r];break;case 24:this.$=a[r-1]+""+a[r];break;case 26:this.$=a[r-1]+a[r];break;case 27:this.$=[a[r].trim()];break;case 28:a[r-2].push(a[r].trim()),this.$=a[r-2];break;case 29:this.$=a[r-4],h.addClass(a[r-2],a[r]);break;case 37:this.$=[];break;case 42:this.$=a[r].trim(),h.setDiagramTitle(this.$);break;case 43:this.$=a[r].trim(),h.setAccTitle(this.$);break;case 44:case 45:this.$=a[r].trim(),h.setAccDescription(this.$);break;case 46:h.addSection(a[r].substr(8)),this.$=a[r].substr(8);break;case 47:h.addPoint(a[r-3],"",a[r-1],a[r],[]);break;case 48:h.addPoint(a[r-4],a[r-3],a[r-1],a[r],[]);break;case 49:h.addPoint(a[r-4],"",a[r-2],a[r-1],a[r]);break;case 50:h.addPoint(a[r-5],a[r-4],a[r-2],a[r-1],a[r]);break;case 51:h.setXAxisLeftText(a[r-2]),h.setXAxisRightText(a[r]);break;case 52:a[r-1].text+=" ⟶ ",h.setXAxisLeftText(a[r-1]);break;case 53:h.setXAxisLeftText(a[r]);break;case 54:h.setYAxisBottomText(a[r-2]),h.setYAxisTopText(a[r]);break;case 55:a[r-1].text+=" ⟶ ",h.setYAxisBottomText(a[r-1]);break;case 56:h.setYAxisBottomText(a[r]);break;case 57:h.setQuadrant1Text(a[r]);break;case 58:h.setQuadrant2Text(a[r]);break;case 59:h.setQuadrant3Text(a[r]);break;case 60:h.setQuadrant4Text(a[r]);break;case 64:this.$={text:a[r],type:"text"};break;case 65:this.$={text:a[r-1].text+""+a[r],type:a[r-1].type};break;case 66:this.$={text:a[r],type:"text"};break;case 67:this.$={text:a[r],type:"markdown"};break;case 68:this.$=a[r];break;case 69:this.$=a[r-1]+""+a[r];break}},"anonymous"),table:[{18:s,26:1,27:2,28:x,55:d,56:c,57:p},{1:[3]},{18:s,26:8,27:2,28:x,55:d,56:c,57:p},{18:s,26:9,27:2,28:x,55:d,56:c,57:p},t(_,[2,33],{29:10}),t(S,[2,61]),t(S,[2,62]),t(S,[2,63]),{1:[2,30]},{1:[2,31]},t(n,k,{30:11,31:12,24:13,32:15,33:16,34:17,43:30,58:31,1:[2,32],4:u,5:y,10:m,12:T,13:q,14:g,15:A,18:ot,25:ut,35:ft,37:xt,39:ct,41:qt,42:ht,48:i,50:Lt,51:Et,52:Dt,53:zt,54:Vt,60:W,61:U,63:F,64:P,65:C,66:v,67:L}),t(_,[2,34]),{27:46,55:d,56:c,57:p},t(n,[2,37]),t(n,k,{24:13,32:15,33:16,34:17,43:30,58:31,31:47,4:u,5:y,10:m,12:T,13:q,14:g,15:A,18:ot,25:ut,35:ft,37:xt,39:ct,41:qt,42:ht,48:i,50:Lt,51:Et,52:Dt,53:zt,54:Vt,60:W,61:U,63:F,64:P,65:C,66:v,67:L}),t(n,[2,39]),t(n,[2,40]),t(n,[2,41]),{36:[1,48]},{38:[1,49]},{40:[1,50]},t(n,[2,45]),t(n,[2,46]),{18:[1,51]},{4:u,5:y,10:m,12:T,13:q,14:g,15:A,43:52,58:31,60:W,61:U,63:F,64:P,65:C,66:v,67:L},{4:u,5:y,10:m,12:T,13:q,14:g,15:A,43:53,58:31,60:W,61:U,63:F,64:P,65:C,66:v,67:L},{4:u,5:y,10:m,12:T,13:q,14:g,15:A,43:54,58:31,60:W,61:U,63:F,64:P,65:C,66:v,67:L},{4:u,5:y,10:m,12:T,13:q,14:g,15:A,43:55,58:31,60:W,61:U,63:F,64:P,65:C,66:v,67:L},{4:u,5:y,10:m,12:T,13:q,14:g,15:A,43:56,58:31,60:W,61:U,63:F,64:P,65:C,66:v,67:L},{4:u,5:y,10:m,12:T,13:q,14:g,15:A,43:57,58:31,60:W,61:U,63:F,64:P,65:C,66:v,67:L},{4:u,5:y,8:O,10:m,12:T,13:q,14:g,15:A,18:H,44:[1,58],47:[1,59],58:61,59:60,63:F,64:P,65:C,66:v,67:L},t(E,[2,64]),t(E,[2,66]),t(E,[2,67]),t(E,[2,70]),t(E,[2,71]),t(E,[2,72]),t(E,[2,73]),t(E,[2,74]),t(E,[2,75]),t(E,[2,76]),t(E,[2,77]),t(E,[2,78]),t(E,[2,79]),t(E,[2,80]),t(E,[2,81]),t(_,[2,35]),t(n,[2,38]),t(n,[2,42]),t(n,[2,43]),t(n,[2,44]),{3:65,4:It,5:wt,6:Bt,7:Rt,8:Nt,9:Wt,10:Ut,11:Qt,12:Ot,13:Ht,14:Xt,15:Mt,21:64},t(n,[2,53],{59:60,58:61,4:u,5:y,8:O,10:m,12:T,13:q,14:g,15:A,18:H,49:[1,78],63:F,64:P,65:C,66:v,67:L}),t(n,[2,56],{59:60,58:61,4:u,5:y,8:O,10:m,12:T,13:q,14:g,15:A,18:H,49:[1,79],63:F,64:P,65:C,66:v,67:L}),t(n,[2,57],{59:60,58:61,4:u,5:y,8:O,10:m,12:T,13:q,14:g,15:A,18:H,63:F,64:P,65:C,66:v,67:L}),t(n,[2,58],{59:60,58:61,4:u,5:y,8:O,10:m,12:T,13:q,14:g,15:A,18:H,63:F,64:P,65:C,66:v,67:L}),t(n,[2,59],{59:60,58:61,4:u,5:y,8:O,10:m,12:T,13:q,14:g,15:A,18:H,63:F,64:P,65:C,66:v,67:L}),t(n,[2,60],{59:60,58:61,4:u,5:y,8:O,10:m,12:T,13:q,14:g,15:A,18:H,63:F,64:P,65:C,66:v,67:L}),{45:[1,80]},{44:[1,81]},t(E,[2,65]),t(E,[2,82]),t(E,[2,83]),t(E,[2,84]),{3:83,4:It,5:wt,6:Bt,7:Rt,8:Nt,9:Wt,10:Ut,11:Qt,12:Ot,13:Ht,14:Xt,15:Mt,18:[1,82]},t(I,[2,23]),t(I,[2,1]),t(I,[2,2]),t(I,[2,3]),t(I,[2,4]),t(I,[2,5]),t(I,[2,6]),t(I,[2,7]),t(I,[2,8]),t(I,[2,9]),t(I,[2,10]),t(I,[2,11]),t(I,[2,12]),t(n,[2,52],{58:31,43:84,4:u,5:y,10:m,12:T,13:q,14:g,15:A,60:W,61:U,63:F,64:P,65:C,66:v,67:L}),t(n,[2,55],{58:31,43:85,4:u,5:y,10:m,12:T,13:q,14:g,15:A,60:W,61:U,63:F,64:P,65:C,66:v,67:L}),{46:[1,86]},{45:[1,87]},{4:G,5:K,6:Z,8:J,11:$,13:tt,16:90,17:et,18:at,19:it,20:nt,22:89,23:88},t(I,[2,24]),t(n,[2,51],{59:60,58:61,4:u,5:y,8:O,10:m,12:T,13:q,14:g,15:A,18:H,63:F,64:P,65:C,66:v,67:L}),t(n,[2,54],{59:60,58:61,4:u,5:y,8:O,10:m,12:T,13:q,14:g,15:A,18:H,63:F,64:P,65:C,66:v,67:L}),t(n,[2,47],{22:89,16:90,23:101,4:G,5:K,6:Z,8:J,11:$,13:tt,17:et,18:at,19:it,20:nt}),{46:[1,102]},t(n,[2,29],{10:bt}),t(Yt,[2,27],{16:104,4:G,5:K,6:Z,8:J,11:$,13:tt,17:et,18:at,19:it,20:nt}),t(R,[2,25]),t(R,[2,13]),t(R,[2,14]),t(R,[2,15]),t(R,[2,16]),t(R,[2,17]),t(R,[2,18]),t(R,[2,19]),t(R,[2,20]),t(R,[2,21]),t(R,[2,22]),t(n,[2,49],{10:bt}),t(n,[2,48],{22:89,16:90,23:105,4:G,5:K,6:Z,8:J,11:$,13:tt,17:et,18:at,19:it,20:nt}),{4:G,5:K,6:Z,8:J,11:$,13:tt,16:90,17:et,18:at,19:it,20:nt,22:106},t(R,[2,26]),t(n,[2,50],{10:bt}),t(Yt,[2,28],{16:104,4:G,5:K,6:Z,8:J,11:$,13:tt,17:et,18:at,19:it,20:nt})],defaultActions:{8:[2,30],9:[2,31]},parseError:e.__name(function(l,o){if(o.recoverable)this.trace(l);else{var f=new Error(l);throw f.hash=o,f}},"parseError"),parse:e.__name(function(l){var o=this,f=[0],h=[],b=[null],a=[],dt=this.table,r="",pt=0,jt=0,ge=2,Gt=1,pe=a.slice.call(arguments,1),D=Object.create(this.lexer),Y={yy:{}};for(var At in this.yy)Object.prototype.hasOwnProperty.call(this.yy,At)&&(Y.yy[At]=this.yy[At]);D.setInput(l,Y.yy),Y.yy.lexer=D,Y.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var kt=D.yylloc;a.push(kt);var _e=D.options&&D.options.ranges;typeof Y.yy.parseError=="function"?this.parseError=Y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ye(B){f.length=f.length-2*B,b.length=b.length-B,a.length=a.length-B}e.__name(ye,"popStack");function Kt(){var B;return B=h.pop()||D.lex()||Gt,typeof B!="number"&&(B instanceof Array&&(h=B,B=h.pop()),B=o.symbols_[B]||B),B}e.__name(Kt,"lex");for(var w,j,N,Ft,st={},_t,X,Zt,yt;;){if(j=f[f.length-1],this.defaultActions[j]?N=this.defaultActions[j]:((w===null||typeof w>"u")&&(w=Kt()),N=dt[j]&&dt[j][w]),typeof N>"u"||!N.length||!N[0]){var Pt="";yt=[];for(_t in dt[j])this.terminals_[_t]&&_t>ge&&yt.push("'"+this.terminals_[_t]+"'");D.showPosition?Pt="Parse error on line "+(pt+1)+`:
|
|
2
2
|
`+D.showPosition()+`
|
|
3
3
|
Expecting `+yt.join(", ")+", got '"+(this.terminals_[w]||w)+"'":Pt="Parse error on line "+(pt+1)+": Unexpected "+(w==Gt?"end of input":"'"+(this.terminals_[w]||w)+"'"),this.parseError(Pt,{text:D.match,token:this.terminals_[w]||w,line:D.yylineno,loc:kt,expected:yt})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+j+", token: "+w);switch(N[0]){case 1:f.push(w),b.push(D.yytext),a.push(D.yylloc),f.push(N[1]),w=null,jt=D.yyleng,r=D.yytext,pt=D.yylineno,kt=D.yylloc;break;case 2:if(X=this.productions_[N[1]][1],st.$=b[b.length-X],st._$={first_line:a[a.length-(X||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(X||1)].first_column,last_column:a[a.length-1].last_column},_e&&(st._$.range=[a[a.length-(X||1)].range[0],a[a.length-1].range[1]]),Ft=this.performAction.apply(st,[r,jt,pt,Y.yy,N[1],b,a].concat(pe)),typeof Ft<"u")return Ft;X&&(f=f.slice(0,-1*X*2),b=b.slice(0,-1*X),a=a.slice(0,-1*X)),f.push(this.productions_[N[1]][0]),b.push(st.$),a.push(st._$),Zt=dt[f[f.length-2]][f[f.length-1]],f.push(Zt);break;case 3:return!0}}return!0},"parse")},xe=(function(){var M={EOF:1,parseError:e.__name(function(o,f){if(this.yy.parser)this.yy.parser.parseError(o,f);else throw new Error(o)},"parseError"),setInput:e.__name(function(l,o){return this.yy=o||this.yy||{},this._input=l,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:e.__name(function(){var l=this._input[0];this.yytext+=l,this.yyleng++,this.offset++,this.match+=l,this.matched+=l;var o=l.match(/(?:\r\n?|\n).*/g);return o?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),l},"input"),unput:e.__name(function(l){var o=l.length,f=l.split(/(?:\r\n?|\n)/g);this._input=l+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-o),this.offset-=o;var h=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 b=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===h.length?this.yylloc.first_column:0)+h[h.length-f.length].length-f[0].length:this.yylloc.first_column-o},this.options.ranges&&(this.yylloc.range=[b[0],b[0]+this.yyleng-o]),this.yyleng=this.yytext.length,this},"unput"),more:e.__name(function(){return this._more=!0,this},"more"),reject:e.__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:e.__name(function(l){this.unput(this.match.slice(l))},"less"),pastInput:e.__name(function(){var l=this.matched.substr(0,this.matched.length-this.match.length);return(l.length>20?"...":"")+l.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:e.__name(function(){var l=this.match;return l.length<20&&(l+=this._input.substr(0,20-l.length)),(l.substr(0,20)+(l.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:e.__name(function(){var l=this.pastInput(),o=new Array(l.length+1).join("-");return l+this.upcomingInput()+`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { z as Ae, A as ke, a7 as ae, a6 as Fe, G as Pe, J as ve, _ as o, K as zt, Q as bt, O as Lt, R as Ce, ac as Le, aj as z, W as Ee, am as De } from "./extractHeadings-
|
|
2
|
-
import { l as ie } from "./linear-
|
|
1
|
+
import { z as Ae, A as ke, a7 as ae, a6 as Fe, G as Pe, J as ve, _ as o, K as zt, Q as bt, O as Lt, R as Ce, ac as Le, aj as z, W as Ee, am as De } from "./extractHeadings-z3AodVn3.js";
|
|
2
|
+
import { l as ie } from "./linear-DHAx74C6.js";
|
|
3
3
|
var Et = (function() {
|
|
4
4
|
var t = /* @__PURE__ */ o(function(Y, r, l, x) {
|
|
5
5
|
for (l = l || {}, x = Y.length; x--; l[Y[x]] = r) ;
|
package/dist/{railroadDiagram-RFXS5EU6-D4qyeIm0.cjs → railroadDiagram-RFXS5EU6-CHPuNJfr.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./chunk-MOJQB5TN-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./chunk-MOJQB5TN-sLs8lWY5.cjs"),o=require("./chunk-JWPE2WC7-C27eOtyn.cjs"),t=require("./extractHeadings-Bu1mM2zB.cjs"),l=require("./cynefin-VYW2F7L2-MpAliYy9.cjs");var s=l.createRailroadServices().Railroad.parser.LangiumParser,n=t.__name(e=>{switch(e.$type){case"RailroadTerminalExpr":return{type:"terminal",value:e.value};case"RailroadNonTerminalExpr":return{type:"nonterminal",name:e.name};case"RailroadSpecialExpr":return{type:"special",text:e.text};case"RailroadSequenceExpr":{const r=e.elements.map(n);return r.length===1?r[0]:{type:"sequence",elements:r}}case"RailroadChoiceExpr":{const r=e.alternatives.map(n);return r.length===1?r[0]:{type:"choice",alternatives:r}}case"RailroadOptionalExpr":return{type:"optional",element:n(e.element)};case"RailroadOneOrMoreExpr":return{type:"repetition",element:n(e.element),min:1,max:1/0};case"RailroadZeroOrMoreExpr":return{type:"repetition",element:n(e.element),min:0,max:1/0};default:throw new Error(`Unsupported railroad expression: ${e.$type}`)}},"transformExpression"),m=t.__name(e=>({name:e.name,definition:n(e.definition)}),"transformRule"),u=t.__name(e=>{o.populateCommonDb(e,a.db),e.title&&a.db.setTitle(e.title),e.rules.map(r=>a.db.addRule(m(r)))},"populateDb"),d={parse:t.__name(e=>{a.db.clear(),t.log.debug("[Railroad Parser] Starting Langium parse");const r=s.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new l.MermaidParseError(r);const i=r.value;t.log.debug("[Railroad Parser] Parsed rules:",i.rules.length),u(i),t.log.debug("[Railroad Parser] Parse complete")},"parse"),parser:{yy:a.db}},p={parser:d,db:a.db,renderer:a.renderer,styles:a.getStyles};exports.diagram=p;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as o, r as l, d as t } from "./chunk-MOJQB5TN-
|
|
2
|
-
import { p as m } from "./chunk-JWPE2WC7-
|
|
3
|
-
import { _ as n, Q as s } from "./extractHeadings-
|
|
1
|
+
import { g as o, r as l, d as t } from "./chunk-MOJQB5TN-CEUtU-PA.js";
|
|
2
|
+
import { p as m } from "./chunk-JWPE2WC7-CNmttOZb.js";
|
|
3
|
+
import { _ as n, Q as s } from "./extractHeadings-z3AodVn3.js";
|
|
4
4
|
import { M as p, c as u } from "./cynefin-VYW2F7L2-Bkk-F_Js.js";
|
|
5
5
|
var d = u().Railroad.parser.LangiumParser, a = /* @__PURE__ */ n((e) => {
|
|
6
6
|
switch (e.$type) {
|
package/dist/{requirementDiagram-TGXJPOKE-DxMueY11.cjs → requirementDiagram-TGXJPOKE-4iI6cUK1.cjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const We=require("./chunk-XXDRQBXY-DUBr_c4F.cjs"),je=require("./chunk-VR4S4FIN-BXcUlQwZ.cjs"),n=require("./extractHeadings-AC80DPCv.cjs");var Ne=(function(){var e=n.__name(function($,i,c,h){for(c=c||{},h=$.length;h--;c[$[h]]=i);return c},"o"),a=[1,3],m=[1,4],u=[1,5],r=[1,6],l=[5,6,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],f=[1,22],E=[2,7],p=[1,26],S=[1,27],k=[1,28],q=[1,29],C=[1,33],A=[1,34],V=[1,35],v=[1,36],L=[1,37],x=[1,38],O=[1,24],w=[1,31],D=[1,32],M=[1,30],R=[1,39],g=[1,40],_=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],P=[1,61],X=[89,90],qe=[5,8,9,11,13,21,22,23,24,27,29,41,42,43,44,45,46,54,61,63,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],_e=[27,29],Ce=[1,70],Ae=[1,71],Ve=[1,72],ve=[1,73],Le=[1,74],xe=[1,75],Oe=[1,76],ee=[1,83],U=[1,80],te=[1,84],se=[1,85],ie=[1,86],re=[1,87],ne=[1,88],ae=[1,89],le=[1,90],ce=[1,91],oe=[1,92],Ee=[5,8,9,11,13,21,22,23,24,27,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],Y=[63,64],we=[1,101],De=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,76,77,89,90],T=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],B=[1,110],Q=[1,106],H=[1,107],K=[1,108],W=[1,109],j=[1,111],he=[1,116],ue=[1,117],me=[1,114],fe=[1,115],Se={trace:n.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,direction:17,styleStatement:18,classDefStatement:19,classStatement:20,direction_tb:21,direction_bt:22,direction_rl:23,direction_lr:24,requirementType:25,requirementName:26,STRUCT_START:27,requirementBody:28,STYLE_SEPARATOR:29,idList:30,ID:31,COLONSEP:32,id:33,TEXT:34,text:35,RISK:36,riskLevel:37,VERIFYMTHD:38,verifyType:39,STRUCT_STOP:40,REQUIREMENT:41,FUNCTIONAL_REQUIREMENT:42,INTERFACE_REQUIREMENT:43,PERFORMANCE_REQUIREMENT:44,PHYSICAL_REQUIREMENT:45,DESIGN_CONSTRAINT:46,LOW_RISK:47,MED_RISK:48,HIGH_RISK:49,VERIFY_ANALYSIS:50,VERIFY_DEMONSTRATION:51,VERIFY_INSPECTION:52,VERIFY_TEST:53,ELEMENT:54,elementName:55,elementBody:56,TYPE:57,type:58,DOCREF:59,ref:60,END_ARROW_L:61,relationship:62,LINE:63,END_ARROW_R:64,CONTAINS:65,COPIES:66,DERIVES:67,SATISFIES:68,VERIFIES:69,REFINES:70,TRACES:71,CLASSDEF:72,stylesOpt:73,CLASS:74,ALPHA:75,COMMA:76,STYLE:77,style:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,MINUS:86,LABEL:87,SEMICOLON:88,unqString:89,qString:90,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",21:"direction_tb",22:"direction_bt",23:"direction_rl",24:"direction_lr",27:"STRUCT_START",29:"STYLE_SEPARATOR",31:"ID",32:"COLONSEP",34:"TEXT",36:"RISK",38:"VERIFYMTHD",40:"STRUCT_STOP",41:"REQUIREMENT",42:"FUNCTIONAL_REQUIREMENT",43:"INTERFACE_REQUIREMENT",44:"PERFORMANCE_REQUIREMENT",45:"PHYSICAL_REQUIREMENT",46:"DESIGN_CONSTRAINT",47:"LOW_RISK",48:"MED_RISK",49:"HIGH_RISK",50:"VERIFY_ANALYSIS",51:"VERIFY_DEMONSTRATION",52:"VERIFY_INSPECTION",53:"VERIFY_TEST",54:"ELEMENT",57:"TYPE",59:"DOCREF",61:"END_ARROW_L",63:"LINE",64:"END_ARROW_R",65:"CONTAINS",66:"COPIES",67:"DERIVES",68:"SATISFIES",69:"VERIFIES",70:"REFINES",71:"TRACES",72:"CLASSDEF",74:"CLASS",75:"ALPHA",76:"COMMA",77:"STYLE",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",86:"MINUS",87:"LABEL",88:"SEMICOLON",89:"unqString",90:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[17,1],[17,1],[17,1],[17,1],[14,5],[14,7],[28,5],[28,5],[28,5],[28,5],[28,2],[28,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[37,1],[37,1],[37,1],[39,1],[39,1],[39,1],[39,1],[15,5],[15,7],[56,5],[56,5],[56,2],[56,1],[16,5],[16,5],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[19,3],[20,3],[20,3],[30,1],[30,3],[30,1],[30,3],[18,3],[73,1],[73,3],[78,1],[78,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[26,1],[26,1],[33,1],[33,1],[35,1],[35,1],[55,1],[55,1],[58,1],[58,1],[60,1],[60,1]],performAction:n.__name(function(i,c,h,s,d,t,de){var o=t.length-1;switch(d){case 4:this.$=t[o].trim(),s.setAccTitle(this.$);break;case 5:case 6:this.$=t[o].trim(),s.setAccDescription(this.$);break;case 7:this.$=[];break;case 17:s.setDirection("TB");break;case 18:s.setDirection("BT");break;case 19:s.setDirection("RL");break;case 20:s.setDirection("LR");break;case 21:s.addRequirement(t[o-3],t[o-4]);break;case 22:s.addRequirement(t[o-5],t[o-6]),s.setClass([t[o-5]],t[o-3]);break;case 23:s.setNewReqId(t[o-2]);break;case 24:s.setNewReqText(t[o-2]);break;case 25:s.setNewReqRisk(t[o-2]);break;case 26:s.setNewReqVerifyMethod(t[o-2]);break;case 29:this.$=s.RequirementType.REQUIREMENT;break;case 30:this.$=s.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 31:this.$=s.RequirementType.INTERFACE_REQUIREMENT;break;case 32:this.$=s.RequirementType.PERFORMANCE_REQUIREMENT;break;case 33:this.$=s.RequirementType.PHYSICAL_REQUIREMENT;break;case 34:this.$=s.RequirementType.DESIGN_CONSTRAINT;break;case 35:this.$=s.RiskLevel.LOW_RISK;break;case 36:this.$=s.RiskLevel.MED_RISK;break;case 37:this.$=s.RiskLevel.HIGH_RISK;break;case 38:this.$=s.VerifyType.VERIFY_ANALYSIS;break;case 39:this.$=s.VerifyType.VERIFY_DEMONSTRATION;break;case 40:this.$=s.VerifyType.VERIFY_INSPECTION;break;case 41:this.$=s.VerifyType.VERIFY_TEST;break;case 42:s.addElement(t[o-3]);break;case 43:s.addElement(t[o-5]),s.setClass([t[o-5]],t[o-3]);break;case 44:s.setNewElementType(t[o-2]);break;case 45:s.setNewElementDocRef(t[o-2]);break;case 48:s.addRelationship(t[o-2],t[o],t[o-4]);break;case 49:s.addRelationship(t[o-2],t[o-4],t[o]);break;case 50:this.$=s.Relationships.CONTAINS;break;case 51:this.$=s.Relationships.COPIES;break;case 52:this.$=s.Relationships.DERIVES;break;case 53:this.$=s.Relationships.SATISFIES;break;case 54:this.$=s.Relationships.VERIFIES;break;case 55:this.$=s.Relationships.REFINES;break;case 56:this.$=s.Relationships.TRACES;break;case 57:this.$=t[o-2],s.defineClass(t[o-1],t[o]);break;case 58:s.setClass(t[o-1],t[o]);break;case 59:s.setClass([t[o-2]],t[o]);break;case 60:case 62:this.$=[t[o]];break;case 61:case 63:this.$=t[o-2].concat([t[o]]);break;case 64:this.$=t[o-2],s.setCssStyle(t[o-1],t[o]);break;case 65:this.$=[t[o]];break;case 66:t[o-2].push(t[o]),this.$=t[o-2];break;case 68:this.$=t[o-1]+t[o];break}},"anonymous"),table:[{3:1,4:2,6:a,9:m,11:u,13:r},{1:[3]},{3:8,4:2,5:[1,7],6:a,9:m,11:u,13:r},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(l,[2,6]),{3:12,4:2,6:a,9:m,11:u,13:r},{1:[2,2]},{4:17,5:f,7:13,8:E,9:m,11:u,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:p,22:S,23:k,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:O,72:w,74:D,77:M,89:R,90:g},e(l,[2,4]),e(l,[2,5]),{1:[2,1]},{8:[1,41]},{4:17,5:f,7:42,8:E,9:m,11:u,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:p,22:S,23:k,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:O,72:w,74:D,77:M,89:R,90:g},{4:17,5:f,7:43,8:E,9:m,11:u,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:p,22:S,23:k,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:O,72:w,74:D,77:M,89:R,90:g},{4:17,5:f,7:44,8:E,9:m,11:u,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:p,22:S,23:k,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:O,72:w,74:D,77:M,89:R,90:g},{4:17,5:f,7:45,8:E,9:m,11:u,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:p,22:S,23:k,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:O,72:w,74:D,77:M,89:R,90:g},{4:17,5:f,7:46,8:E,9:m,11:u,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:p,22:S,23:k,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:O,72:w,74:D,77:M,89:R,90:g},{4:17,5:f,7:47,8:E,9:m,11:u,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:p,22:S,23:k,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:O,72:w,74:D,77:M,89:R,90:g},{4:17,5:f,7:48,8:E,9:m,11:u,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:p,22:S,23:k,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:O,72:w,74:D,77:M,89:R,90:g},{4:17,5:f,7:49,8:E,9:m,11:u,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:p,22:S,23:k,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:O,72:w,74:D,77:M,89:R,90:g},{4:17,5:f,7:50,8:E,9:m,11:u,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:p,22:S,23:k,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:O,72:w,74:D,77:M,89:R,90:g},{26:51,89:[1,52],90:[1,53]},{55:54,89:[1,55],90:[1,56]},{29:[1,59],61:[1,57],63:[1,58]},e(_,[2,17]),e(_,[2,18]),e(_,[2,19]),e(_,[2,20]),{30:60,33:62,75:P,89:R,90:g},{30:63,33:62,75:P,89:R,90:g},{30:64,33:62,75:P,89:R,90:g},e(X,[2,29]),e(X,[2,30]),e(X,[2,31]),e(X,[2,32]),e(X,[2,33]),e(X,[2,34]),e(qe,[2,81]),e(qe,[2,82]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{8:[2,13]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{27:[1,65],29:[1,66]},e(_e,[2,79]),e(_e,[2,80]),{27:[1,67],29:[1,68]},e(_e,[2,85]),e(_e,[2,86]),{62:69,65:Ce,66:Ae,67:Ve,68:ve,69:Le,70:xe,71:Oe},{62:77,65:Ce,66:Ae,67:Ve,68:ve,69:Le,70:xe,71:Oe},{30:78,33:62,75:P,89:R,90:g},{73:79,75:ee,76:U,78:81,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},e(Ee,[2,60]),e(Ee,[2,62]),{73:93,75:ee,76:U,78:81,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},{30:94,33:62,75:P,76:U,89:R,90:g},{5:[1,95]},{30:96,33:62,75:P,89:R,90:g},{5:[1,97]},{30:98,33:62,75:P,89:R,90:g},{63:[1,99]},e(Y,[2,50]),e(Y,[2,51]),e(Y,[2,52]),e(Y,[2,53]),e(Y,[2,54]),e(Y,[2,55]),e(Y,[2,56]),{64:[1,100]},e(_,[2,59],{76:U}),e(_,[2,64],{76:we}),{33:103,75:[1,102],89:R,90:g},e(De,[2,65],{79:104,75:ee,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe}),e(T,[2,67]),e(T,[2,69]),e(T,[2,70]),e(T,[2,71]),e(T,[2,72]),e(T,[2,73]),e(T,[2,74]),e(T,[2,75]),e(T,[2,76]),e(T,[2,77]),e(T,[2,78]),e(_,[2,57],{76:we}),e(_,[2,58],{76:U}),{5:B,28:105,31:Q,34:H,36:K,38:W,40:j},{27:[1,112],76:U},{5:he,40:ue,56:113,57:me,59:fe},{27:[1,118],76:U},{33:119,89:R,90:g},{33:120,89:R,90:g},{75:ee,78:121,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},e(Ee,[2,61]),e(Ee,[2,63]),e(T,[2,68]),e(_,[2,21]),{32:[1,122]},{32:[1,123]},{32:[1,124]},{32:[1,125]},{5:B,28:126,31:Q,34:H,36:K,38:W,40:j},e(_,[2,28]),{5:[1,127]},e(_,[2,42]),{32:[1,128]},{32:[1,129]},{5:he,40:ue,56:130,57:me,59:fe},e(_,[2,47]),{5:[1,131]},e(_,[2,48]),e(_,[2,49]),e(De,[2,66],{79:104,75:ee,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe}),{33:132,89:R,90:g},{35:133,89:[1,134],90:[1,135]},{37:136,47:[1,137],48:[1,138],49:[1,139]},{39:140,50:[1,141],51:[1,142],52:[1,143],53:[1,144]},e(_,[2,27]),{5:B,28:145,31:Q,34:H,36:K,38:W,40:j},{58:146,89:[1,147],90:[1,148]},{60:149,89:[1,150],90:[1,151]},e(_,[2,46]),{5:he,40:ue,56:152,57:me,59:fe},{5:[1,153]},{5:[1,154]},{5:[2,83]},{5:[2,84]},{5:[1,155]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[1,156]},{5:[2,38]},{5:[2,39]},{5:[2,40]},{5:[2,41]},e(_,[2,22]),{5:[1,157]},{5:[2,87]},{5:[2,88]},{5:[1,158]},{5:[2,89]},{5:[2,90]},e(_,[2,43]),{5:B,28:159,31:Q,34:H,36:K,38:W,40:j},{5:B,28:160,31:Q,34:H,36:K,38:W,40:j},{5:B,28:161,31:Q,34:H,36:K,38:W,40:j},{5:B,28:162,31:Q,34:H,36:K,38:W,40:j},{5:he,40:ue,56:163,57:me,59:fe},{5:he,40:ue,56:164,57:me,59:fe},e(_,[2,23]),e(_,[2,24]),e(_,[2,25]),e(_,[2,26]),e(_,[2,44]),e(_,[2,45])],defaultActions:{8:[2,2],12:[2,1],41:[2,3],42:[2,8],43:[2,9],44:[2,10],45:[2,11],46:[2,12],47:[2,13],48:[2,14],49:[2,15],50:[2,16],134:[2,83],135:[2,84],137:[2,35],138:[2,36],139:[2,37],141:[2,38],142:[2,39],143:[2,40],144:[2,41],147:[2,87],148:[2,88],150:[2,89],151:[2,90]},parseError:n.__name(function(i,c){if(c.recoverable)this.trace(i);else{var h=new Error(i);throw h.hash=c,h}},"parseError"),parse:n.__name(function(i){var c=this,h=[0],s=[],d=[null],t=[],de=this.table,o="",ge=0,Me=0,Be=2,Fe=1,Qe=t.slice.call(arguments,1),y=Object.create(this.lexer),G={yy:{}};for(var be in this.yy)Object.prototype.hasOwnProperty.call(this.yy,be)&&(G.yy[be]=this.yy[be]);y.setInput(i,G.yy),G.yy.lexer=y,G.yy.parser=this,typeof y.yylloc>"u"&&(y.yylloc={});var Ie=y.yylloc;t.push(Ie);var He=y.options&&y.options.ranges;typeof G.yy.parseError=="function"?this.parseError=G.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ke(I){h.length=h.length-2*I,d.length=d.length-I,t.length=t.length-I}n.__name(Ke,"popStack");function $e(){var I;return I=s.pop()||y.lex()||Fe,typeof I!="number"&&(I instanceof Array&&(s=I,I=s.pop()),I=c.symbols_[I]||I),I}n.__name($e,"lex");for(var b,z,N,ke,J={},pe,F,Pe,ye;;){if(z=h[h.length-1],this.defaultActions[z]?N=this.defaultActions[z]:((b===null||typeof b>"u")&&(b=$e()),N=de[z]&&de[z][b]),typeof N>"u"||!N.length||!N[0]){var Te="";ye=[];for(pe in de[z])this.terminals_[pe]&&pe>Be&&ye.push("'"+this.terminals_[pe]+"'");y.showPosition?Te="Parse error on line "+(ge+1)+`:
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const We=require("./chunk-XXDRQBXY-DcTILS1N.cjs"),je=require("./chunk-VR4S4FIN-BHCUd_x_.cjs"),n=require("./extractHeadings-Bu1mM2zB.cjs");var Ne=(function(){var e=n.__name(function($,i,c,h){for(c=c||{},h=$.length;h--;c[$[h]]=i);return c},"o"),a=[1,3],m=[1,4],u=[1,5],r=[1,6],l=[5,6,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],f=[1,22],E=[2,7],p=[1,26],S=[1,27],k=[1,28],q=[1,29],C=[1,33],A=[1,34],V=[1,35],v=[1,36],L=[1,37],x=[1,38],O=[1,24],w=[1,31],D=[1,32],M=[1,30],R=[1,39],g=[1,40],_=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],P=[1,61],X=[89,90],qe=[5,8,9,11,13,21,22,23,24,27,29,41,42,43,44,45,46,54,61,63,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],_e=[27,29],Ce=[1,70],Ae=[1,71],Ve=[1,72],ve=[1,73],Le=[1,74],xe=[1,75],Oe=[1,76],ee=[1,83],U=[1,80],te=[1,84],se=[1,85],ie=[1,86],re=[1,87],ne=[1,88],ae=[1,89],le=[1,90],ce=[1,91],oe=[1,92],Ee=[5,8,9,11,13,21,22,23,24,27,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],Y=[63,64],we=[1,101],De=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,76,77,89,90],T=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],B=[1,110],Q=[1,106],H=[1,107],K=[1,108],W=[1,109],j=[1,111],he=[1,116],ue=[1,117],me=[1,114],fe=[1,115],Se={trace:n.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,direction:17,styleStatement:18,classDefStatement:19,classStatement:20,direction_tb:21,direction_bt:22,direction_rl:23,direction_lr:24,requirementType:25,requirementName:26,STRUCT_START:27,requirementBody:28,STYLE_SEPARATOR:29,idList:30,ID:31,COLONSEP:32,id:33,TEXT:34,text:35,RISK:36,riskLevel:37,VERIFYMTHD:38,verifyType:39,STRUCT_STOP:40,REQUIREMENT:41,FUNCTIONAL_REQUIREMENT:42,INTERFACE_REQUIREMENT:43,PERFORMANCE_REQUIREMENT:44,PHYSICAL_REQUIREMENT:45,DESIGN_CONSTRAINT:46,LOW_RISK:47,MED_RISK:48,HIGH_RISK:49,VERIFY_ANALYSIS:50,VERIFY_DEMONSTRATION:51,VERIFY_INSPECTION:52,VERIFY_TEST:53,ELEMENT:54,elementName:55,elementBody:56,TYPE:57,type:58,DOCREF:59,ref:60,END_ARROW_L:61,relationship:62,LINE:63,END_ARROW_R:64,CONTAINS:65,COPIES:66,DERIVES:67,SATISFIES:68,VERIFIES:69,REFINES:70,TRACES:71,CLASSDEF:72,stylesOpt:73,CLASS:74,ALPHA:75,COMMA:76,STYLE:77,style:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,MINUS:86,LABEL:87,SEMICOLON:88,unqString:89,qString:90,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",21:"direction_tb",22:"direction_bt",23:"direction_rl",24:"direction_lr",27:"STRUCT_START",29:"STYLE_SEPARATOR",31:"ID",32:"COLONSEP",34:"TEXT",36:"RISK",38:"VERIFYMTHD",40:"STRUCT_STOP",41:"REQUIREMENT",42:"FUNCTIONAL_REQUIREMENT",43:"INTERFACE_REQUIREMENT",44:"PERFORMANCE_REQUIREMENT",45:"PHYSICAL_REQUIREMENT",46:"DESIGN_CONSTRAINT",47:"LOW_RISK",48:"MED_RISK",49:"HIGH_RISK",50:"VERIFY_ANALYSIS",51:"VERIFY_DEMONSTRATION",52:"VERIFY_INSPECTION",53:"VERIFY_TEST",54:"ELEMENT",57:"TYPE",59:"DOCREF",61:"END_ARROW_L",63:"LINE",64:"END_ARROW_R",65:"CONTAINS",66:"COPIES",67:"DERIVES",68:"SATISFIES",69:"VERIFIES",70:"REFINES",71:"TRACES",72:"CLASSDEF",74:"CLASS",75:"ALPHA",76:"COMMA",77:"STYLE",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",86:"MINUS",87:"LABEL",88:"SEMICOLON",89:"unqString",90:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[17,1],[17,1],[17,1],[17,1],[14,5],[14,7],[28,5],[28,5],[28,5],[28,5],[28,2],[28,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[37,1],[37,1],[37,1],[39,1],[39,1],[39,1],[39,1],[15,5],[15,7],[56,5],[56,5],[56,2],[56,1],[16,5],[16,5],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[19,3],[20,3],[20,3],[30,1],[30,3],[30,1],[30,3],[18,3],[73,1],[73,3],[78,1],[78,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[26,1],[26,1],[33,1],[33,1],[35,1],[35,1],[55,1],[55,1],[58,1],[58,1],[60,1],[60,1]],performAction:n.__name(function(i,c,h,s,d,t,de){var o=t.length-1;switch(d){case 4:this.$=t[o].trim(),s.setAccTitle(this.$);break;case 5:case 6:this.$=t[o].trim(),s.setAccDescription(this.$);break;case 7:this.$=[];break;case 17:s.setDirection("TB");break;case 18:s.setDirection("BT");break;case 19:s.setDirection("RL");break;case 20:s.setDirection("LR");break;case 21:s.addRequirement(t[o-3],t[o-4]);break;case 22:s.addRequirement(t[o-5],t[o-6]),s.setClass([t[o-5]],t[o-3]);break;case 23:s.setNewReqId(t[o-2]);break;case 24:s.setNewReqText(t[o-2]);break;case 25:s.setNewReqRisk(t[o-2]);break;case 26:s.setNewReqVerifyMethod(t[o-2]);break;case 29:this.$=s.RequirementType.REQUIREMENT;break;case 30:this.$=s.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 31:this.$=s.RequirementType.INTERFACE_REQUIREMENT;break;case 32:this.$=s.RequirementType.PERFORMANCE_REQUIREMENT;break;case 33:this.$=s.RequirementType.PHYSICAL_REQUIREMENT;break;case 34:this.$=s.RequirementType.DESIGN_CONSTRAINT;break;case 35:this.$=s.RiskLevel.LOW_RISK;break;case 36:this.$=s.RiskLevel.MED_RISK;break;case 37:this.$=s.RiskLevel.HIGH_RISK;break;case 38:this.$=s.VerifyType.VERIFY_ANALYSIS;break;case 39:this.$=s.VerifyType.VERIFY_DEMONSTRATION;break;case 40:this.$=s.VerifyType.VERIFY_INSPECTION;break;case 41:this.$=s.VerifyType.VERIFY_TEST;break;case 42:s.addElement(t[o-3]);break;case 43:s.addElement(t[o-5]),s.setClass([t[o-5]],t[o-3]);break;case 44:s.setNewElementType(t[o-2]);break;case 45:s.setNewElementDocRef(t[o-2]);break;case 48:s.addRelationship(t[o-2],t[o],t[o-4]);break;case 49:s.addRelationship(t[o-2],t[o-4],t[o]);break;case 50:this.$=s.Relationships.CONTAINS;break;case 51:this.$=s.Relationships.COPIES;break;case 52:this.$=s.Relationships.DERIVES;break;case 53:this.$=s.Relationships.SATISFIES;break;case 54:this.$=s.Relationships.VERIFIES;break;case 55:this.$=s.Relationships.REFINES;break;case 56:this.$=s.Relationships.TRACES;break;case 57:this.$=t[o-2],s.defineClass(t[o-1],t[o]);break;case 58:s.setClass(t[o-1],t[o]);break;case 59:s.setClass([t[o-2]],t[o]);break;case 60:case 62:this.$=[t[o]];break;case 61:case 63:this.$=t[o-2].concat([t[o]]);break;case 64:this.$=t[o-2],s.setCssStyle(t[o-1],t[o]);break;case 65:this.$=[t[o]];break;case 66:t[o-2].push(t[o]),this.$=t[o-2];break;case 68:this.$=t[o-1]+t[o];break}},"anonymous"),table:[{3:1,4:2,6:a,9:m,11:u,13:r},{1:[3]},{3:8,4:2,5:[1,7],6:a,9:m,11:u,13:r},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(l,[2,6]),{3:12,4:2,6:a,9:m,11:u,13:r},{1:[2,2]},{4:17,5:f,7:13,8:E,9:m,11:u,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:p,22:S,23:k,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:O,72:w,74:D,77:M,89:R,90:g},e(l,[2,4]),e(l,[2,5]),{1:[2,1]},{8:[1,41]},{4:17,5:f,7:42,8:E,9:m,11:u,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:p,22:S,23:k,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:O,72:w,74:D,77:M,89:R,90:g},{4:17,5:f,7:43,8:E,9:m,11:u,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:p,22:S,23:k,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:O,72:w,74:D,77:M,89:R,90:g},{4:17,5:f,7:44,8:E,9:m,11:u,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:p,22:S,23:k,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:O,72:w,74:D,77:M,89:R,90:g},{4:17,5:f,7:45,8:E,9:m,11:u,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:p,22:S,23:k,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:O,72:w,74:D,77:M,89:R,90:g},{4:17,5:f,7:46,8:E,9:m,11:u,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:p,22:S,23:k,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:O,72:w,74:D,77:M,89:R,90:g},{4:17,5:f,7:47,8:E,9:m,11:u,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:p,22:S,23:k,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:O,72:w,74:D,77:M,89:R,90:g},{4:17,5:f,7:48,8:E,9:m,11:u,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:p,22:S,23:k,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:O,72:w,74:D,77:M,89:R,90:g},{4:17,5:f,7:49,8:E,9:m,11:u,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:p,22:S,23:k,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:O,72:w,74:D,77:M,89:R,90:g},{4:17,5:f,7:50,8:E,9:m,11:u,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:p,22:S,23:k,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:O,72:w,74:D,77:M,89:R,90:g},{26:51,89:[1,52],90:[1,53]},{55:54,89:[1,55],90:[1,56]},{29:[1,59],61:[1,57],63:[1,58]},e(_,[2,17]),e(_,[2,18]),e(_,[2,19]),e(_,[2,20]),{30:60,33:62,75:P,89:R,90:g},{30:63,33:62,75:P,89:R,90:g},{30:64,33:62,75:P,89:R,90:g},e(X,[2,29]),e(X,[2,30]),e(X,[2,31]),e(X,[2,32]),e(X,[2,33]),e(X,[2,34]),e(qe,[2,81]),e(qe,[2,82]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{8:[2,13]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{27:[1,65],29:[1,66]},e(_e,[2,79]),e(_e,[2,80]),{27:[1,67],29:[1,68]},e(_e,[2,85]),e(_e,[2,86]),{62:69,65:Ce,66:Ae,67:Ve,68:ve,69:Le,70:xe,71:Oe},{62:77,65:Ce,66:Ae,67:Ve,68:ve,69:Le,70:xe,71:Oe},{30:78,33:62,75:P,89:R,90:g},{73:79,75:ee,76:U,78:81,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},e(Ee,[2,60]),e(Ee,[2,62]),{73:93,75:ee,76:U,78:81,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},{30:94,33:62,75:P,76:U,89:R,90:g},{5:[1,95]},{30:96,33:62,75:P,89:R,90:g},{5:[1,97]},{30:98,33:62,75:P,89:R,90:g},{63:[1,99]},e(Y,[2,50]),e(Y,[2,51]),e(Y,[2,52]),e(Y,[2,53]),e(Y,[2,54]),e(Y,[2,55]),e(Y,[2,56]),{64:[1,100]},e(_,[2,59],{76:U}),e(_,[2,64],{76:we}),{33:103,75:[1,102],89:R,90:g},e(De,[2,65],{79:104,75:ee,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe}),e(T,[2,67]),e(T,[2,69]),e(T,[2,70]),e(T,[2,71]),e(T,[2,72]),e(T,[2,73]),e(T,[2,74]),e(T,[2,75]),e(T,[2,76]),e(T,[2,77]),e(T,[2,78]),e(_,[2,57],{76:we}),e(_,[2,58],{76:U}),{5:B,28:105,31:Q,34:H,36:K,38:W,40:j},{27:[1,112],76:U},{5:he,40:ue,56:113,57:me,59:fe},{27:[1,118],76:U},{33:119,89:R,90:g},{33:120,89:R,90:g},{75:ee,78:121,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},e(Ee,[2,61]),e(Ee,[2,63]),e(T,[2,68]),e(_,[2,21]),{32:[1,122]},{32:[1,123]},{32:[1,124]},{32:[1,125]},{5:B,28:126,31:Q,34:H,36:K,38:W,40:j},e(_,[2,28]),{5:[1,127]},e(_,[2,42]),{32:[1,128]},{32:[1,129]},{5:he,40:ue,56:130,57:me,59:fe},e(_,[2,47]),{5:[1,131]},e(_,[2,48]),e(_,[2,49]),e(De,[2,66],{79:104,75:ee,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe}),{33:132,89:R,90:g},{35:133,89:[1,134],90:[1,135]},{37:136,47:[1,137],48:[1,138],49:[1,139]},{39:140,50:[1,141],51:[1,142],52:[1,143],53:[1,144]},e(_,[2,27]),{5:B,28:145,31:Q,34:H,36:K,38:W,40:j},{58:146,89:[1,147],90:[1,148]},{60:149,89:[1,150],90:[1,151]},e(_,[2,46]),{5:he,40:ue,56:152,57:me,59:fe},{5:[1,153]},{5:[1,154]},{5:[2,83]},{5:[2,84]},{5:[1,155]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[1,156]},{5:[2,38]},{5:[2,39]},{5:[2,40]},{5:[2,41]},e(_,[2,22]),{5:[1,157]},{5:[2,87]},{5:[2,88]},{5:[1,158]},{5:[2,89]},{5:[2,90]},e(_,[2,43]),{5:B,28:159,31:Q,34:H,36:K,38:W,40:j},{5:B,28:160,31:Q,34:H,36:K,38:W,40:j},{5:B,28:161,31:Q,34:H,36:K,38:W,40:j},{5:B,28:162,31:Q,34:H,36:K,38:W,40:j},{5:he,40:ue,56:163,57:me,59:fe},{5:he,40:ue,56:164,57:me,59:fe},e(_,[2,23]),e(_,[2,24]),e(_,[2,25]),e(_,[2,26]),e(_,[2,44]),e(_,[2,45])],defaultActions:{8:[2,2],12:[2,1],41:[2,3],42:[2,8],43:[2,9],44:[2,10],45:[2,11],46:[2,12],47:[2,13],48:[2,14],49:[2,15],50:[2,16],134:[2,83],135:[2,84],137:[2,35],138:[2,36],139:[2,37],141:[2,38],142:[2,39],143:[2,40],144:[2,41],147:[2,87],148:[2,88],150:[2,89],151:[2,90]},parseError:n.__name(function(i,c){if(c.recoverable)this.trace(i);else{var h=new Error(i);throw h.hash=c,h}},"parseError"),parse:n.__name(function(i){var c=this,h=[0],s=[],d=[null],t=[],de=this.table,o="",ge=0,Me=0,Be=2,Fe=1,Qe=t.slice.call(arguments,1),y=Object.create(this.lexer),G={yy:{}};for(var be in this.yy)Object.prototype.hasOwnProperty.call(this.yy,be)&&(G.yy[be]=this.yy[be]);y.setInput(i,G.yy),G.yy.lexer=y,G.yy.parser=this,typeof y.yylloc>"u"&&(y.yylloc={});var Ie=y.yylloc;t.push(Ie);var He=y.options&&y.options.ranges;typeof G.yy.parseError=="function"?this.parseError=G.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ke(I){h.length=h.length-2*I,d.length=d.length-I,t.length=t.length-I}n.__name(Ke,"popStack");function $e(){var I;return I=s.pop()||y.lex()||Fe,typeof I!="number"&&(I instanceof Array&&(s=I,I=s.pop()),I=c.symbols_[I]||I),I}n.__name($e,"lex");for(var b,z,N,ke,J={},pe,F,Pe,ye;;){if(z=h[h.length-1],this.defaultActions[z]?N=this.defaultActions[z]:((b===null||typeof b>"u")&&(b=$e()),N=de[z]&&de[z][b]),typeof N>"u"||!N.length||!N[0]){var Te="";ye=[];for(pe in de[z])this.terminals_[pe]&&pe>Be&&ye.push("'"+this.terminals_[pe]+"'");y.showPosition?Te="Parse error on line "+(ge+1)+`:
|
|
2
2
|
`+y.showPosition()+`
|
|
3
3
|
Expecting `+ye.join(", ")+", got '"+(this.terminals_[b]||b)+"'":Te="Parse error on line "+(ge+1)+": Unexpected "+(b==Fe?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(Te,{text:y.match,token:this.terminals_[b]||b,line:y.yylineno,loc:Ie,expected:ye})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+b);switch(N[0]){case 1:h.push(b),d.push(y.yytext),t.push(y.yylloc),h.push(N[1]),b=null,Me=y.yyleng,o=y.yytext,ge=y.yylineno,Ie=y.yylloc;break;case 2:if(F=this.productions_[N[1]][1],J.$=d[d.length-F],J._$={first_line:t[t.length-(F||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(F||1)].first_column,last_column:t[t.length-1].last_column},He&&(J._$.range=[t[t.length-(F||1)].range[0],t[t.length-1].range[1]]),ke=this.performAction.apply(J,[o,Me,ge,G.yy,N[1],d,t].concat(Qe)),typeof ke<"u")return ke;F&&(h=h.slice(0,-1*F*2),d=d.slice(0,-1*F),t=t.slice(0,-1*F)),h.push(this.productions_[N[1]][0]),d.push(J.$),t.push(J._$),Pe=de[h[h.length-2]][h[h.length-1]],h.push(Pe);break;case 3:return!0}}return!0},"parse")},Ye=(function(){var $={EOF:1,parseError:n.__name(function(c,h){if(this.yy.parser)this.yy.parser.parseError(c,h);else throw new Error(c)},"parseError"),setInput:n.__name(function(i,c){return this.yy=c||this.yy||{},this._input=i,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 i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var c=i.match(/(?:\r\n?|\n).*/g);return c?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:n.__name(function(i){var c=i.length,h=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-c),this.offset-=c;var s=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),h.length-1&&(this.yylineno-=h.length-1);var 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:h?(h.length===s.length?this.yylloc.first_column:0)+s[s.length-h.length].length-h[0].length:this.yylloc.first_column-c},this.options.ranges&&(this.yylloc.range=[d[0],d[0]+this.yyleng-c]),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(i){this.unput(this.match.slice(i))},"less"),pastInput:n.__name(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:n.__name(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:n.__name(function(){var i=this.pastInput(),c=new Array(i.length+1).join("-");return i+this.upcomingInput()+`
|
package/dist/{requirementDiagram-TGXJPOKE-DCsyd9cl.js → requirementDiagram-TGXJPOKE-DyI3IxhA.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as ze } from "./chunk-XXDRQBXY-
|
|
2
|
-
import { s as Xe } from "./chunk-VR4S4FIN-
|
|
3
|
-
import { _ as f, ag as Be, J as Je, G as Ze, z as et, A as tt, a6 as st, a7 as it, K as Ne, Q as qe, ac as rt, af as nt, a3 as at, a4 as lt, a5 as ct } from "./extractHeadings-
|
|
1
|
+
import { g as ze } from "./chunk-XXDRQBXY-HnJRRkBi.js";
|
|
2
|
+
import { s as Xe } from "./chunk-VR4S4FIN-BfeSjNNr.js";
|
|
3
|
+
import { _ as f, ag as Be, J as Je, G as Ze, z as et, A as tt, a6 as st, a7 as it, K as Ne, Q as qe, ac as rt, af as nt, a3 as at, a4 as lt, a5 as ct } from "./extractHeadings-z3AodVn3.js";
|
|
4
4
|
var Ce = (function() {
|
|
5
5
|
var e = /* @__PURE__ */ f(function($, i, l, o) {
|
|
6
6
|
for (l = l || {}, o = $.length; o--; l[$[o]] = i) ;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a6 as xt, a7 as _t, z as vt, A as bt, J as St, G as wt, _ as y, K as lt, ad as Lt, O as X, aB as Et, ac as At, $ as Tt } from "./extractHeadings-
|
|
1
|
+
import { a6 as xt, a7 as _t, z as vt, A as bt, J as St, G as wt, _ as y, K as lt, ad as Lt, O as X, aB as Et, ac as At, $ as Tt } from "./extractHeadings-z3AodVn3.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);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./extractHeadings-AC80DPCv.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-Bu1mM2zB.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()+`
|