@layers-app/editor 0.0.22 → 0.0.25
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 +47 -2
- package/dist/index.cjs +2 -2
- package/dist/index.d.ts +11 -43
- package/dist/index.js +2 -2
- package/dist/layers.07qQUlOx.js +11 -0
- package/dist/layers.0Uws2RMI.js +96 -0
- package/dist/layers.2klZ3piU.js +36 -0
- package/dist/layers.3O2dWJo4.js +1 -0
- package/dist/layers.3VppN-FK.js +423 -0
- package/dist/layers.3cmQBPRD.js +1 -0
- package/dist/layers.5U29QNMz.js +7 -0
- package/dist/layers.5s_bUFw7.js +8 -0
- package/dist/layers.7JqFgE4-.js +15 -0
- package/dist/layers.8dwcxQd3.js +8 -0
- package/dist/layers.9EMwI8Xs.js +425 -0
- package/dist/layers.9QK1wiQj.js +1 -0
- package/dist/layers.9pNaFvaX.js +1 -0
- package/dist/layers.9tX9hjoM.js +11692 -0
- package/dist/layers.B-eOoyQV.js +9128 -0
- package/dist/layers.B-hOwYRy.js +33 -0
- package/dist/layers.B0LHiU6c.js +10 -0
- package/dist/layers.B19hGmey.js +1 -0
- package/dist/layers.B1psjxfg.js +8 -0
- package/dist/layers.B1tTFwlU.js +5 -0
- package/dist/layers.B3NaBxHH.js +11 -0
- package/dist/layers.B43rvwKV.js +790 -0
- package/dist/layers.B7wN1gyM.js +35 -0
- package/dist/layers.B9ocXRVO.js +1 -0
- package/dist/layers.BAWbBe9N.js +42 -0
- package/dist/layers.BAaIrX5p.js +1 -0
- package/dist/layers.BAnc8Y8B.js +118 -0
- package/dist/layers.BAtv1CM7.js +1 -0
- package/dist/layers.BB7ssac6.js +50 -0
- package/dist/layers.BBm66jcD.js +70 -0
- package/dist/layers.BGF0mJI-.js +10 -0
- package/dist/layers.BIDnkNut.js +1510 -0
- package/dist/layers.BIeVwYKL.js +1 -0
- package/dist/layers.BJ2qg5fe.js +39 -0
- package/dist/layers.BK4BzYSQ.js +10 -0
- package/dist/layers.BKoRqbkc.js +4 -0
- package/dist/layers.BLvgQy3M.js +40 -0
- package/dist/layers.BNEX6ffl.js +1 -0
- package/dist/layers.BOEB6DhN.js +202 -0
- package/dist/layers.BOdIgbDK.js +233 -0
- package/dist/layers.BPTiALoi.js +19 -0
- package/dist/layers.BQHgH0c0.js +1 -0
- package/dist/layers.BQUkW6Sr.js +41 -0
- package/dist/layers.BQdiT-Gc.js +6 -0
- package/dist/layers.BSTBZrFn.js +1 -0
- package/dist/layers.BW8tNgnl.js +32 -0
- package/dist/layers.BWBOjwnD.js +9 -0
- package/dist/layers.BWBqFzL5.js +1083 -0
- package/dist/layers.BY_Ddtf_.js +257 -0
- package/dist/layers.BYzN4Zxz.js +7 -0
- package/dist/layers.B_3SG9-n.js +5 -0
- package/dist/layers.Bag9ck5N.js +1 -0
- package/dist/layers.Bgs9DWaM.js +160 -0
- package/dist/layers.BhjPgUp1.js +40 -0
- package/dist/layers.Bjqq928v.js +11 -0
- package/dist/layers.Bk3rEvTi.js +39 -0
- package/dist/layers.BlRFAeMZ.js +501 -0
- package/dist/layers.BlifjyLs.js +2 -0
- package/dist/layers.BlkvO94n.js +41 -0
- package/dist/layers.Bm4nXd83.js +2963 -0
- package/dist/layers.BmU3A8To.js +1 -0
- package/dist/layers.Bn8N2Stv.js +10 -0
- package/dist/layers.BpilXLfW.js +6 -0
- package/dist/layers.BqTvq1WO.js +38 -0
- package/dist/layers.BtP6vWIY.js +1 -0
- package/dist/layers.Bu0Rv7u8.js +9 -0
- package/dist/layers.BuJozguU.js +32 -0
- package/dist/layers.Bw3R-pSG.js +61 -0
- package/dist/layers.BwcyrXEu.js +39 -0
- package/dist/layers.Bwuu3jjm.js +3 -0
- package/dist/layers.BymWa7M3.js +11 -0
- package/dist/layers.BzRmHQQD.js +320 -0
- package/dist/layers.Bzc44mb4.js +36 -0
- package/dist/layers.C2b0BhoA.js +34 -0
- package/dist/layers.C3vT-_5E.js +42 -0
- package/dist/layers.C4L1zUgG.js +39 -0
- package/dist/layers.C6qRV0pD.js +9 -0
- package/dist/layers.C7_Otsyx.js +52 -0
- package/dist/layers.C7lIplJU.js +247 -0
- package/dist/layers.C8r5QjFY.js +2 -0
- package/dist/layers.C9vJr9Fp.js +769 -0
- package/dist/layers.CBAObrHU.js +1 -0
- package/dist/layers.CHZsXQcr.js +1 -0
- package/dist/layers.CHd51QJn.js +8 -0
- package/dist/layers.CI7Z-Sjj.js +9 -0
- package/dist/layers.CJudskXr.js +803 -0
- package/dist/layers.CLPJWTr_.js +1 -0
- package/dist/layers.CM0RbG9c.js +4 -0
- package/dist/layers.CNml1ojC.js +7 -0
- package/dist/layers.COAF7f8g.js +1 -0
- package/dist/{layers.CiSw1oA4.js → layers.CPPtpAVe.js} +1 -1
- package/dist/layers.CPqqkX8Z.js +23 -0
- package/dist/layers.CPtjfATq.js +40 -0
- package/dist/layers.CRVVTbRr.js +39 -0
- package/dist/layers.CRuKN3by.js +84 -0
- package/dist/layers.CSAdHZgs.js +1 -0
- package/dist/layers.CSy8D72I.js +40 -0
- package/dist/layers.CV_r6tXx.js +48146 -0
- package/dist/layers.CVlRuvNG.js +122 -0
- package/dist/layers.CWWJnwM1.js +39 -0
- package/dist/layers.CYPKJ9D_.js +39 -0
- package/dist/layers.CZ9asRxp.js +10 -0
- package/dist/layers.CctQZdRR.js +40 -0
- package/dist/layers.Cdw06C7D.js +2 -0
- package/dist/layers.Ce8BBqO9.js +139 -0
- package/dist/layers.CfVH6j0d.js +9 -0
- package/dist/layers.CfyH4z2e.js +39 -0
- package/dist/layers.CgdtQipl.js +207 -0
- package/dist/layers.CgvOUVzr.js +14 -0
- package/dist/layers.ChkOb4tl.js +960 -0
- package/dist/layers.Cj6cbW8i.js +2235 -0
- package/dist/layers.Cj7ITJ9c.js +1 -0
- package/dist/layers.CjRpPAKZ.js +1580 -0
- package/dist/{layers.C5tfzl26.js → layers.CjfoYqS0.js} +1 -1
- package/dist/layers.Ckd9L1ZQ.js +5 -0
- package/dist/layers.ClpTV2lw.js +1 -0
- package/dist/layers.CmEuIxO4.js +373 -0
- package/dist/layers.CmOPFjvq.js +9 -0
- package/dist/layers.CnlX6j6i.js +40 -0
- package/dist/layers.CqEtGCpU.js +40 -0
- package/dist/layers.CqMLQ0Dp.js +37 -0
- package/dist/layers.CqVTtuYm.js +6 -0
- package/dist/layers.CuxIZWEP.js +5 -0
- package/dist/layers.CvLOVBUw.js +40 -0
- package/dist/layers.Cx6FqSsI.js +11 -0
- package/dist/layers.CyUKOqQM.js +40 -0
- package/dist/layers.CzsxLGGT.js +8 -0
- package/dist/layers.D0yiFcqY.js +37 -0
- package/dist/layers.D0zn4_Mx.js +1 -0
- package/dist/layers.D1fmxxk7.js +1 -0
- package/dist/layers.D39cRqm0.js +8 -0
- package/dist/layers.D4fGb2cV.js +1272 -0
- package/dist/layers.D6ec9SRH.js +41 -0
- package/dist/layers.D71p3EhU.js +10 -0
- package/dist/layers.D7jGxypv.js +8 -0
- package/dist/layers.D8G_zttU.js +795 -0
- package/dist/layers.D8NjLtRn.js +8 -0
- package/dist/layers.DAkVONDW.js +21478 -0
- package/dist/layers.DDE-iai2.js +931 -0
- package/dist/layers.DDGV6wvn.js +10 -0
- package/dist/layers.DDPm1Phd.js +7 -0
- package/dist/layers.DFdD8OE6.js +5 -0
- package/dist/layers.DGC-QZbD.js +904 -0
- package/dist/layers.DH6JhdxT.js +35 -0
- package/dist/layers.DHNgS4o3.js +1 -0
- package/dist/layers.DHYQaKXy.js +35 -0
- package/dist/layers.DKTUd6cG.js +32 -0
- package/dist/layers.DLShWbE3.js +32 -0
- package/dist/layers.DLwuMfdd.js +84 -0
- package/dist/layers.DMkBISW1.js +1 -0
- package/dist/layers.DMnBSepD.js +7 -0
- package/dist/layers.DN2-RoYO.js +6 -0
- package/dist/layers.DN9HoVxI.js +18 -0
- package/dist/layers.DNvn8evO.js +8 -0
- package/dist/layers.DOrgOHBr.js +1 -0
- package/dist/layers.DPpl1Lyy.js +1283 -0
- package/dist/layers.DQevQguw.js +1034 -0
- package/dist/layers.DRGcrPPV.js +1126 -0
- package/dist/layers.DS8xp3z6.js +32 -0
- package/dist/layers.DT2vhESJ.js +4 -0
- package/dist/layers.DTSzGsqB.js +6 -0
- package/dist/layers.DTX-m6B0.js +41 -0
- package/dist/layers.DUgI8Qm6.js +1 -0
- package/dist/layers.DUt_7Rf9.js +261 -0
- package/dist/layers.DX5uxco3.js +6 -0
- package/dist/layers.DYoOWsyB.js +42 -0
- package/dist/layers.DZVs6rl-.js +65 -0
- package/dist/layers.DZxo3Qo-.js +37 -0
- package/dist/layers.DaNHv_tD.js +7 -0
- package/dist/layers.DbSjlXkz.js +10 -0
- package/dist/layers.DbaKVP5e.js +1 -0
- package/dist/layers.Dc_OXuAO.js +38 -0
- package/dist/layers.Dg4aFQbj.js +41 -0
- package/dist/layers.Dh8vVrkJ.js +38 -0
- package/dist/layers.DhaEWWE8.js +32 -0
- package/dist/layers.DhiiM0nu.js +6 -0
- package/dist/layers.Dj1RvABZ.js +9 -0
- package/dist/layers.DjUOC4st.js +16 -0
- package/dist/layers.DnhB9nfo.js +51 -0
- package/dist/layers.Dp_lp9sc.js +164 -0
- package/dist/layers.DpoqH_qu.js +36 -0
- package/dist/layers.Ds95POLS.js +1 -0
- package/dist/{layers.3lVEeOO7.js → layers.DtYpqqY0.js} +92 -92
- package/dist/layers.Dtt8if_X.js +9 -0
- package/dist/layers.Du5-W3Rw.js +186 -0
- package/dist/layers.Dv3wcPBB.js +1 -0
- package/dist/layers.DvVe2_B8.js +116 -0
- package/dist/layers.Dw80oYJ5.js +44 -0
- package/dist/layers.Dx5bTjWn.js +33 -0
- package/dist/layers.DxA6ocdw.js +70 -0
- package/dist/layers.Dy1naDTQ.js +14 -0
- package/dist/layers.DyUhnefH.js +1089 -0
- package/dist/layers.EqE20WDv.js +10 -0
- package/dist/{layers.CgiGa2Ym.js → layers.GO-Mbd7I.js} +38 -38
- package/dist/layers.HRFT_ZjM.js +268 -0
- package/dist/layers.JWCLFILJ.js +1 -0
- package/dist/layers.KCNY5y8z.js +37 -0
- package/dist/layers.KFKejNxr.js +41 -0
- package/dist/layers.LBCOqtdP.js +1 -0
- package/dist/layers.MYNPCNPb.js +1359 -0
- package/dist/layers.Mz6hy1ns.js +804 -0
- package/dist/layers.NnXYAx13.js +2479 -0
- package/dist/layers.O_QfH9Tw.js +55 -0
- package/dist/layers.PrN0U_UM.js +4 -0
- package/dist/layers.Q4CIFfze.js +1 -0
- package/dist/layers.R44OAZRP.js +40 -0
- package/dist/layers.SP95Qof2.js +9 -0
- package/dist/layers.SulLxOdh.js +1 -0
- package/dist/layers.T0eE6tga.js +42 -0
- package/dist/layers.UHP1RD2c.js +21836 -0
- package/dist/layers.UVNd1xGx.js +1265 -0
- package/dist/layers.WoRsWqkn.js +139 -0
- package/dist/layers.Xe8jbEny.js +39 -0
- package/dist/layers.ZN4JdEjx.js +7 -0
- package/dist/layers.ZYL9xgWP.js +6 -0
- package/dist/layers._hbnQs16.js +434 -0
- package/dist/layers.b0h5ZBmD.js +61 -0
- package/dist/layers.dRKtVcxx.js +41 -0
- package/dist/layers.eMCYstYw.js +7 -0
- package/dist/layers.eT0cgnuX.js +84 -0
- package/dist/layers.iE9hmQyV.js +1619 -0
- package/dist/layers.iRxcG0YN.js +9 -0
- package/dist/layers.kyTkLvwr.js +7 -0
- package/dist/layers.lCpg7dOn.js +21 -0
- package/dist/{layers.C9PaWLCY.js → layers.otSGVgrf.js} +10384 -11287
- package/dist/layers.pAr6m-ST.js +41 -0
- package/dist/layers.qxHQ5s48.js +8 -0
- package/dist/layers.qzkyQd0J.js +198 -0
- package/dist/layers.rB_UamkL.js +36 -0
- package/dist/layers.vK-UofJJ.js +8 -0
- package/dist/layers.vfmwTFt7.js +10 -0
- package/dist/layers.vrKjaGL3.js +13 -0
- package/dist/layers.wXI8z3zK.js +1 -0
- package/dist/layers.z_R2M9xA.js +42 -0
- package/dist/layers.zleGKGQR.js +220 -0
- package/dist/layers.zx6fFkwC.js +1 -0
- package/package.json +5 -7
- package/dist/layers.Dq4kf1xY.js +0 -164
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("./layers.0Uws2RMI.js");require("./layers.qzkyQd0J.js");var le=function(){var r=function(S,o,u,k){for(u=u||{},k=S.length;k--;u[S[k]]=o);return u},n=[1,3],l=[1,6],h=[1,4],i=[1,5],c=[2,5],p=[1,12],m=[5,7,13,19,21,23,24,26,28,31,37,40,47],y=[7,13,19,21,23,24,26,28,31,37,40],_=[7,12,13,19,21,23,24,26,28,31,37,40],a=[7,13,47],C=[1,42],E=[1,41],b=[7,13,29,32,35,38,47],f=[1,55],x=[1,56],d=[1,57],T=[7,13,32,35,42,47],D={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,GG:5,document:6,EOF:7,":":8,DIR:9,options:10,body:11,OPT:12,NL:13,line:14,statement:15,commitStatement:16,mergeStatement:17,cherryPickStatement:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,section:24,branchStatement:25,CHECKOUT:26,ref:27,BRANCH:28,ORDER:29,NUM:30,CHERRY_PICK:31,COMMIT_ID:32,STR:33,PARENT_COMMIT:34,COMMIT_TAG:35,EMPTYSTR:36,MERGE:37,COMMIT_TYPE:38,commitType:39,COMMIT:40,commit_arg:41,COMMIT_MSG:42,NORMAL:43,REVERSE:44,HIGHLIGHT:45,ID:46,";":47,$accept:0,$end:1},terminals_:{2:"error",5:"GG",7:"EOF",8:":",9:"DIR",12:"OPT",13:"NL",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"section",26:"CHECKOUT",28:"BRANCH",29:"ORDER",30:"NUM",31:"CHERRY_PICK",32:"COMMIT_ID",33:"STR",34:"PARENT_COMMIT",35:"COMMIT_TAG",36:"EMPTYSTR",37:"MERGE",38:"COMMIT_TYPE",40:"COMMIT",42:"COMMIT_MSG",43:"NORMAL",44:"REVERSE",45:"HIGHLIGHT",46:"ID",47:";"},productions_:[0,[3,2],[3,3],[3,4],[3,5],[6,0],[6,2],[10,2],[10,1],[11,0],[11,2],[14,2],[14,1],[15,1],[15,1],[15,1],[15,2],[15,2],[15,1],[15,1],[15,1],[15,2],[25,2],[25,4],[18,3],[18,5],[18,5],[18,7],[18,7],[18,5],[18,5],[18,5],[18,7],[18,7],[18,7],[18,7],[17,2],[17,4],[17,4],[17,4],[17,6],[17,6],[17,6],[17,6],[17,6],[17,6],[17,8],[17,8],[17,8],[17,8],[17,8],[17,8],[16,2],[16,3],[16,3],[16,5],[16,5],[16,3],[16,5],[16,5],[16,5],[16,5],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,3],[16,5],[16,5],[16,5],[16,5],[16,5],[16,5],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[41,0],[41,1],[39,1],[39,1],[39,1],[27,1],[27,1],[4,1],[4,1],[4,1]],performAction:function(o,u,k,s,w,e,J){var t=e.length-1;switch(w){case 2:return e[t];case 3:return e[t-1];case 4:return s.setDirection(e[t-3]),e[t-1];case 6:s.setOptions(e[t-1]),this.$=e[t];break;case 7:e[t-1]+=e[t],this.$=e[t-1];break;case 9:this.$=[];break;case 10:e[t-1].push(e[t]),this.$=e[t-1];break;case 11:this.$=e[t-1];break;case 16:this.$=e[t].trim(),s.setAccTitle(this.$);break;case 17:case 18:this.$=e[t].trim(),s.setAccDescription(this.$);break;case 19:s.addSection(e[t].substr(8)),this.$=e[t].substr(8);break;case 21:s.checkout(e[t]);break;case 22:s.branch(e[t]);break;case 23:s.branch(e[t-2],e[t]);break;case 24:s.cherryPick(e[t],"",void 0);break;case 25:s.cherryPick(e[t-2],"",void 0,e[t]);break;case 26:s.cherryPick(e[t-2],"",e[t]);break;case 27:s.cherryPick(e[t-4],"",e[t],e[t-2]);break;case 28:s.cherryPick(e[t-4],"",e[t-2],e[t]);break;case 29:s.cherryPick(e[t],"",e[t-2]);break;case 30:s.cherryPick(e[t],"","");break;case 31:s.cherryPick(e[t-2],"","");break;case 32:s.cherryPick(e[t-4],"","",e[t-2]);break;case 33:s.cherryPick(e[t-4],"","",e[t]);break;case 34:s.cherryPick(e[t-2],"",e[t-4],e[t]);break;case 35:s.cherryPick(e[t-2],"","",e[t]);break;case 36:s.merge(e[t],"","","");break;case 37:s.merge(e[t-2],e[t],"","");break;case 38:s.merge(e[t-2],"",e[t],"");break;case 39:s.merge(e[t-2],"","",e[t]);break;case 40:s.merge(e[t-4],e[t],"",e[t-2]);break;case 41:s.merge(e[t-4],"",e[t],e[t-2]);break;case 42:s.merge(e[t-4],"",e[t-2],e[t]);break;case 43:s.merge(e[t-4],e[t-2],e[t],"");break;case 44:s.merge(e[t-4],e[t-2],"",e[t]);break;case 45:s.merge(e[t-4],e[t],e[t-2],"");break;case 46:s.merge(e[t-6],e[t-4],e[t-2],e[t]);break;case 47:s.merge(e[t-6],e[t],e[t-4],e[t-2]);break;case 48:s.merge(e[t-6],e[t-4],e[t],e[t-2]);break;case 49:s.merge(e[t-6],e[t-2],e[t-4],e[t]);break;case 50:s.merge(e[t-6],e[t],e[t-2],e[t-4]);break;case 51:s.merge(e[t-6],e[t-2],e[t],e[t-4]);break;case 52:s.commit(e[t]);break;case 53:s.commit("","",s.commitType.NORMAL,e[t]);break;case 54:s.commit("","",e[t],"");break;case 55:s.commit("","",e[t],e[t-2]);break;case 56:s.commit("","",e[t-2],e[t]);break;case 57:s.commit("",e[t],s.commitType.NORMAL,"");break;case 58:s.commit("",e[t-2],s.commitType.NORMAL,e[t]);break;case 59:s.commit("",e[t],s.commitType.NORMAL,e[t-2]);break;case 60:s.commit("",e[t-2],e[t],"");break;case 61:s.commit("",e[t],e[t-2],"");break;case 62:s.commit("",e[t-4],e[t-2],e[t]);break;case 63:s.commit("",e[t-4],e[t],e[t-2]);break;case 64:s.commit("",e[t-2],e[t-4],e[t]);break;case 65:s.commit("",e[t],e[t-4],e[t-2]);break;case 66:s.commit("",e[t],e[t-2],e[t-4]);break;case 67:s.commit("",e[t-2],e[t],e[t-4]);break;case 68:s.commit(e[t],"",s.commitType.NORMAL,"");break;case 69:s.commit(e[t],"",s.commitType.NORMAL,e[t-2]);break;case 70:s.commit(e[t-2],"",s.commitType.NORMAL,e[t]);break;case 71:s.commit(e[t-2],"",e[t],"");break;case 72:s.commit(e[t],"",e[t-2],"");break;case 73:s.commit(e[t],e[t-2],s.commitType.NORMAL,"");break;case 74:s.commit(e[t-2],e[t],s.commitType.NORMAL,"");break;case 75:s.commit(e[t-4],"",e[t-2],e[t]);break;case 76:s.commit(e[t-4],"",e[t],e[t-2]);break;case 77:s.commit(e[t-2],"",e[t-4],e[t]);break;case 78:s.commit(e[t],"",e[t-4],e[t-2]);break;case 79:s.commit(e[t],"",e[t-2],e[t-4]);break;case 80:s.commit(e[t-2],"",e[t],e[t-4]);break;case 81:s.commit(e[t-4],e[t],e[t-2],"");break;case 82:s.commit(e[t-4],e[t-2],e[t],"");break;case 83:s.commit(e[t-2],e[t],e[t-4],"");break;case 84:s.commit(e[t],e[t-2],e[t-4],"");break;case 85:s.commit(e[t],e[t-4],e[t-2],"");break;case 86:s.commit(e[t-2],e[t-4],e[t],"");break;case 87:s.commit(e[t-4],e[t],s.commitType.NORMAL,e[t-2]);break;case 88:s.commit(e[t-4],e[t-2],s.commitType.NORMAL,e[t]);break;case 89:s.commit(e[t-2],e[t],s.commitType.NORMAL,e[t-4]);break;case 90:s.commit(e[t],e[t-2],s.commitType.NORMAL,e[t-4]);break;case 91:s.commit(e[t],e[t-4],s.commitType.NORMAL,e[t-2]);break;case 92:s.commit(e[t-2],e[t-4],s.commitType.NORMAL,e[t]);break;case 93:s.commit(e[t-6],e[t-4],e[t-2],e[t]);break;case 94:s.commit(e[t-6],e[t-4],e[t],e[t-2]);break;case 95:s.commit(e[t-6],e[t-2],e[t-4],e[t]);break;case 96:s.commit(e[t-6],e[t],e[t-4],e[t-2]);break;case 97:s.commit(e[t-6],e[t-2],e[t],e[t-4]);break;case 98:s.commit(e[t-6],e[t],e[t-2],e[t-4]);break;case 99:s.commit(e[t-4],e[t-6],e[t-2],e[t]);break;case 100:s.commit(e[t-4],e[t-6],e[t],e[t-2]);break;case 101:s.commit(e[t-2],e[t-6],e[t-4],e[t]);break;case 102:s.commit(e[t],e[t-6],e[t-4],e[t-2]);break;case 103:s.commit(e[t-2],e[t-6],e[t],e[t-4]);break;case 104:s.commit(e[t],e[t-6],e[t-2],e[t-4]);break;case 105:s.commit(e[t],e[t-4],e[t-2],e[t-6]);break;case 106:s.commit(e[t-2],e[t-4],e[t],e[t-6]);break;case 107:s.commit(e[t],e[t-2],e[t-4],e[t-6]);break;case 108:s.commit(e[t-2],e[t],e[t-4],e[t-6]);break;case 109:s.commit(e[t-4],e[t-2],e[t],e[t-6]);break;case 110:s.commit(e[t-4],e[t],e[t-2],e[t-6]);break;case 111:s.commit(e[t-2],e[t-4],e[t-6],e[t]);break;case 112:s.commit(e[t],e[t-4],e[t-6],e[t-2]);break;case 113:s.commit(e[t-2],e[t],e[t-6],e[t-4]);break;case 114:s.commit(e[t],e[t-2],e[t-6],e[t-4]);break;case 115:s.commit(e[t-4],e[t-2],e[t-6],e[t]);break;case 116:s.commit(e[t-4],e[t],e[t-6],e[t-2]);break;case 117:this.$="";break;case 118:this.$=e[t];break;case 119:this.$=s.commitType.NORMAL;break;case 120:this.$=s.commitType.REVERSE;break;case 121:this.$=s.commitType.HIGHLIGHT;break}},table:[{3:1,4:2,5:n,7:l,13:h,47:i},{1:[3]},{3:7,4:2,5:n,7:l,13:h,47:i},{6:8,7:c,8:[1,9],9:[1,10],10:11,13:p},r(m,[2,124]),r(m,[2,125]),r(m,[2,126]),{1:[2,1]},{7:[1,13]},{6:14,7:c,10:11,13:p},{8:[1,15]},r(y,[2,9],{11:16,12:[1,17]}),r(_,[2,8]),{1:[2,2]},{7:[1,18]},{6:19,7:c,10:11,13:p},{7:[2,6],13:[1,22],14:20,15:21,16:23,17:24,18:25,19:[1,26],21:[1,27],23:[1,28],24:[1,29],25:30,26:[1,31],28:[1,35],31:[1,34],37:[1,33],40:[1,32]},r(_,[2,7]),{1:[2,3]},{7:[1,36]},r(y,[2,10]),{4:37,7:l,13:h,47:i},r(y,[2,12]),r(a,[2,13]),r(a,[2,14]),r(a,[2,15]),{20:[1,38]},{22:[1,39]},r(a,[2,18]),r(a,[2,19]),r(a,[2,20]),{27:40,33:C,46:E},r(a,[2,117],{41:43,32:[1,46],33:[1,48],35:[1,44],38:[1,45],42:[1,47]}),{27:49,33:C,46:E},{32:[1,50],35:[1,51]},{27:52,33:C,46:E},{1:[2,4]},r(y,[2,11]),r(a,[2,16]),r(a,[2,17]),r(a,[2,21]),r(b,[2,122]),r(b,[2,123]),r(a,[2,52]),{33:[1,53]},{39:54,43:f,44:x,45:d},{33:[1,58]},{33:[1,59]},r(a,[2,118]),r(a,[2,36],{32:[1,60],35:[1,62],38:[1,61]}),{33:[1,63]},{33:[1,64],36:[1,65]},r(a,[2,22],{29:[1,66]}),r(a,[2,53],{32:[1,68],38:[1,67],42:[1,69]}),r(a,[2,54],{32:[1,71],35:[1,70],42:[1,72]}),r(T,[2,119]),r(T,[2,120]),r(T,[2,121]),r(a,[2,57],{35:[1,73],38:[1,74],42:[1,75]}),r(a,[2,68],{32:[1,78],35:[1,76],38:[1,77]}),{33:[1,79]},{39:80,43:f,44:x,45:d},{33:[1,81]},r(a,[2,24],{34:[1,82],35:[1,83]}),{32:[1,84]},{32:[1,85]},{30:[1,86]},{39:87,43:f,44:x,45:d},{33:[1,88]},{33:[1,89]},{33:[1,90]},{33:[1,91]},{33:[1,92]},{33:[1,93]},{39:94,43:f,44:x,45:d},{33:[1,95]},{33:[1,96]},{39:97,43:f,44:x,45:d},{33:[1,98]},r(a,[2,37],{35:[1,100],38:[1,99]}),r(a,[2,38],{32:[1,102],35:[1,101]}),r(a,[2,39],{32:[1,103],38:[1,104]}),{33:[1,105]},{33:[1,106],36:[1,107]},{33:[1,108]},{33:[1,109]},r(a,[2,23]),r(a,[2,55],{32:[1,110],42:[1,111]}),r(a,[2,59],{38:[1,112],42:[1,113]}),r(a,[2,69],{32:[1,115],38:[1,114]}),r(a,[2,56],{32:[1,116],42:[1,117]}),r(a,[2,61],{35:[1,118],42:[1,119]}),r(a,[2,72],{32:[1,121],35:[1,120]}),r(a,[2,58],{38:[1,122],42:[1,123]}),r(a,[2,60],{35:[1,124],42:[1,125]}),r(a,[2,73],{35:[1,127],38:[1,126]}),r(a,[2,70],{32:[1,129],38:[1,128]}),r(a,[2,71],{32:[1,131],35:[1,130]}),r(a,[2,74],{35:[1,133],38:[1,132]}),{39:134,43:f,44:x,45:d},{33:[1,135]},{33:[1,136]},{33:[1,137]},{33:[1,138]},{39:139,43:f,44:x,45:d},r(a,[2,25],{35:[1,140]}),r(a,[2,26],{34:[1,141]}),r(a,[2,31],{34:[1,142]}),r(a,[2,29],{34:[1,143]}),r(a,[2,30],{34:[1,144]}),{33:[1,145]},{33:[1,146]},{39:147,43:f,44:x,45:d},{33:[1,148]},{39:149,43:f,44:x,45:d},{33:[1,150]},{33:[1,151]},{33:[1,152]},{33:[1,153]},{33:[1,154]},{33:[1,155]},{33:[1,156]},{39:157,43:f,44:x,45:d},{33:[1,158]},{33:[1,159]},{33:[1,160]},{39:161,43:f,44:x,45:d},{33:[1,162]},{39:163,43:f,44:x,45:d},{33:[1,164]},{33:[1,165]},{33:[1,166]},{39:167,43:f,44:x,45:d},{33:[1,168]},r(a,[2,43],{35:[1,169]}),r(a,[2,44],{38:[1,170]}),r(a,[2,42],{32:[1,171]}),r(a,[2,45],{35:[1,172]}),r(a,[2,40],{38:[1,173]}),r(a,[2,41],{32:[1,174]}),{33:[1,175],36:[1,176]},{33:[1,177]},{33:[1,178]},{33:[1,179]},{33:[1,180]},r(a,[2,66],{42:[1,181]}),r(a,[2,79],{32:[1,182]}),r(a,[2,67],{42:[1,183]}),r(a,[2,90],{38:[1,184]}),r(a,[2,80],{32:[1,185]}),r(a,[2,89],{38:[1,186]}),r(a,[2,65],{42:[1,187]}),r(a,[2,78],{32:[1,188]}),r(a,[2,64],{42:[1,189]}),r(a,[2,84],{35:[1,190]}),r(a,[2,77],{32:[1,191]}),r(a,[2,83],{35:[1,192]}),r(a,[2,63],{42:[1,193]}),r(a,[2,91],{38:[1,194]}),r(a,[2,62],{42:[1,195]}),r(a,[2,85],{35:[1,196]}),r(a,[2,86],{35:[1,197]}),r(a,[2,92],{38:[1,198]}),r(a,[2,76],{32:[1,199]}),r(a,[2,87],{38:[1,200]}),r(a,[2,75],{32:[1,201]}),r(a,[2,81],{35:[1,202]}),r(a,[2,82],{35:[1,203]}),r(a,[2,88],{38:[1,204]}),{33:[1,205]},{39:206,43:f,44:x,45:d},{33:[1,207]},{33:[1,208]},{39:209,43:f,44:x,45:d},{33:[1,210]},r(a,[2,27]),r(a,[2,32]),r(a,[2,28]),r(a,[2,33]),r(a,[2,34]),r(a,[2,35]),{33:[1,211]},{33:[1,212]},{33:[1,213]},{39:214,43:f,44:x,45:d},{33:[1,215]},{39:216,43:f,44:x,45:d},{33:[1,217]},{33:[1,218]},{33:[1,219]},{33:[1,220]},{33:[1,221]},{33:[1,222]},{33:[1,223]},{39:224,43:f,44:x,45:d},{33:[1,225]},{33:[1,226]},{33:[1,227]},{39:228,43:f,44:x,45:d},{33:[1,229]},{39:230,43:f,44:x,45:d},{33:[1,231]},{33:[1,232]},{33:[1,233]},{39:234,43:f,44:x,45:d},r(a,[2,46]),r(a,[2,48]),r(a,[2,47]),r(a,[2,49]),r(a,[2,51]),r(a,[2,50]),r(a,[2,107]),r(a,[2,108]),r(a,[2,105]),r(a,[2,106]),r(a,[2,110]),r(a,[2,109]),r(a,[2,114]),r(a,[2,113]),r(a,[2,112]),r(a,[2,111]),r(a,[2,116]),r(a,[2,115]),r(a,[2,104]),r(a,[2,103]),r(a,[2,102]),r(a,[2,101]),r(a,[2,99]),r(a,[2,100]),r(a,[2,98]),r(a,[2,97]),r(a,[2,96]),r(a,[2,95]),r(a,[2,93]),r(a,[2,94])],defaultActions:{7:[2,1],13:[2,2],18:[2,3],36:[2,4]},parseError:function(o,u){if(u.recoverable)this.trace(o);else{var k=new Error(o);throw k.hash=u,k}},parse:function(o){var u=this,k=[0],s=[],w=[null],e=[],J=this.table,t="",ee=0,me=0,Ee=2,ue=1,Te=e.slice.call(arguments,1),O=Object.create(this.lexer),j={yy:{}};for(var ae in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ae)&&(j.yy[ae]=this.yy[ae]);O.setInput(o,j.yy),j.yy.lexer=O,j.yy.parser=this,typeof O.yylloc>"u"&&(O.yylloc={});var ne=O.yylloc;e.push(ne);var we=O.options&&O.options.ranges;typeof j.yy.parseError=="function"?this.parseError=j.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Le(){var z;return z=s.pop()||O.lex()||ue,typeof z!="number"&&(z instanceof Array&&(s=z,z=s.pop()),z=u.symbols_[z]||z),z}for(var N,Y,B,ce,U={},te,V,fe,re;;){if(Y=k[k.length-1],this.defaultActions[Y]?B=this.defaultActions[Y]:((N===null||typeof N>"u")&&(N=Le()),B=J[Y]&&J[Y][N]),typeof B>"u"||!B.length||!B[0]){var oe="";re=[];for(te in J[Y])this.terminals_[te]&&te>Ee&&re.push("'"+this.terminals_[te]+"'");O.showPosition?oe="Parse error on line "+(ee+1)+`:
|
|
2
|
+
`+O.showPosition()+`
|
|
3
|
+
Expecting `+re.join(", ")+", got '"+(this.terminals_[N]||N)+"'":oe="Parse error on line "+(ee+1)+": Unexpected "+(N==ue?"end of input":"'"+(this.terminals_[N]||N)+"'"),this.parseError(oe,{text:O.match,token:this.terminals_[N]||N,line:O.yylineno,loc:ne,expected:re})}if(B[0]instanceof Array&&B.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Y+", token: "+N);switch(B[0]){case 1:k.push(N),w.push(O.yytext),e.push(O.yylloc),k.push(B[1]),N=null,me=O.yyleng,t=O.yytext,ee=O.yylineno,ne=O.yylloc;break;case 2:if(V=this.productions_[B[1]][1],U.$=w[w.length-V],U._$={first_line:e[e.length-(V||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(V||1)].first_column,last_column:e[e.length-1].last_column},we&&(U._$.range=[e[e.length-(V||1)].range[0],e[e.length-1].range[1]]),ce=this.performAction.apply(U,[t,me,ee,j.yy,B[1],w,e].concat(Te)),typeof ce<"u")return ce;V&&(k=k.slice(0,-1*V*2),w=w.slice(0,-1*V),e=e.slice(0,-1*V)),k.push(this.productions_[B[1]][0]),w.push(U.$),e.push(U._$),fe=J[k[k.length-2]][k[k.length-1]],k.push(fe);break;case 3:return!0}}return!0}},M=function(){var S={EOF:1,parseError:function(u,k){if(this.yy.parser)this.yy.parser.parseError(u,k);else throw new Error(u)},setInput:function(o,u){return this.yy=u||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},input:function(){var o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var u=o.match(/(?:\r\n?|\n).*/g);return u?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),o},unput:function(o){var u=o.length,k=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-u),this.offset-=u;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),k.length-1&&(this.yylineno-=k.length-1);var w=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:k?(k.length===s.length?this.yylloc.first_column:0)+s[s.length-k.length].length-k[0].length:this.yylloc.first_column-u},this.options.ranges&&(this.yylloc.range=[w[0],w[0]+this.yyleng-u]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(o){this.unput(this.match.slice(o))},pastInput:function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},upcomingInput: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,"")},showPosition:function(){var o=this.pastInput(),u=new Array(o.length+1).join("-");return o+this.upcomingInput()+`
|
|
5
|
+
`+u+"^"},test_match:function(o,u){var k,s,w;if(this.options.backtrack_lexer&&(w={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(w.yylloc.range=this.yylloc.range.slice(0))),s=o[0].match(/(?:\r\n?|\n).*/g),s&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+o[0].length},this.yytext+=o[0],this.match+=o[0],this.matches=o,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(o[0].length),this.matched+=o[0],k=this.performAction.call(this,this.yy,this,u,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),k)return k;if(this._backtrack){for(var e in w)this[e]=w[e];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var o,u,k,s;this._more||(this.yytext="",this.match="");for(var w=this._currentRules(),e=0;e<w.length;e++)if(k=this._input.match(this.rules[w[e]]),k&&(!u||k[0].length>u[0].length)){if(u=k,s=e,this.options.backtrack_lexer){if(o=this.test_match(k,w[e]),o!==!1)return o;if(this._backtrack){u=!1;continue}else return!1}else if(!this.options.flex)break}return u?(o=this.test_match(u,w[s]),o!==!1?o:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
6
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var u=this.next();return u||this.lex()},begin:function(u){this.conditionStack.push(u)},popState:function(){var u=this.conditionStack.length-1;return u>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(u){return u=this.conditionStack.length-1-Math.abs(u||0),u>=0?this.conditionStack[u]:"INITIAL"},pushState:function(u){this.begin(u)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(u,k,s,w){switch(s){case 0:return this.begin("acc_title"),19;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),21;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return 13;case 8:break;case 9:break;case 10:return 5;case 11:return 40;case 12:return 32;case 13:return 38;case 14:return 42;case 15:return 43;case 16:return 44;case 17:return 45;case 18:return 35;case 19:return 28;case 20:return 29;case 21:return 37;case 22:return 31;case 23:return 34;case 24:return 26;case 25:return 9;case 26:return 9;case 27:return 8;case 28:return"CARET";case 29:this.begin("options");break;case 30:this.popState();break;case 31:return 12;case 32:return 36;case 33:this.begin("string");break;case 34:this.popState();break;case 35:return 33;case 36:return 30;case 37:return 46;case 38:return 7}},rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:(\r?\n)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:gitGraph\b)/i,/^(?:commit(?=\s|$))/i,/^(?:id:)/i,/^(?:type:)/i,/^(?:msg:)/i,/^(?:NORMAL\b)/i,/^(?:REVERSE\b)/i,/^(?:HIGHLIGHT\b)/i,/^(?:tag:)/i,/^(?:branch(?=\s|$))/i,/^(?:order:)/i,/^(?:merge(?=\s|$))/i,/^(?:cherry-pick(?=\s|$))/i,/^(?:parent:)/i,/^(?:checkout(?=\s|$))/i,/^(?:LR\b)/i,/^(?:TB\b)/i,/^(?::)/i,/^(?:\^)/i,/^(?:options\r?\n)/i,/^(?:[ \r\n\t]+end\b)/i,/^(?:[\s\S]+(?=[ \r\n\t]+end))/i,/^(?:["]["])/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[0-9]+(?=\s|$))/i,/^(?:\w([-\./\w]*[-\w])?)/i,/^(?:$)/i,/^(?:\s+)/i],conditions:{acc_descr_multiline:{rules:[5,6],inclusive:!1},acc_descr:{rules:[3],inclusive:!1},acc_title:{rules:[1],inclusive:!1},options:{rules:[30,31],inclusive:!1},string:{rules:[34,35],inclusive:!1},INITIAL:{rules:[0,2,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,32,33,36,37,38,39],inclusive:!0}}};return S}();D.lexer=M;function G(){this.yy={}}return G.prototype=D,D.Parser=G,new G}();le.parser=le;const Re=le;let ie=g.getConfig().gitGraph.mainBranchName,Ce=g.getConfig().gitGraph.mainBranchOrder,v={},I=null,Z={};Z[ie]={name:ie,order:Ce};let R={};R[ie]=I;let A=ie,be="LR",K=0;function he(){return g.random({length:7})}function Me(r,n){const l=Object.create(null);return r.reduce((h,i)=>{const c=n(i);return l[c]||(l[c]=!0,h.push(i)),h},[])}const ve=function(r){be=r};let de={};const Oe=function(r){g.log$1.debug("options str",r),r=r&&r.trim(),r=r||"{}";try{de=JSON.parse(r)}catch(n){g.log$1.error("error while parsing gitGraph options",n.message)}},Pe=function(){return de},Ae=function(r,n,l,h){g.log$1.debug("Entering commit:",r,n,l,h),n=g.common$1.sanitizeText(n,g.getConfig()),r=g.common$1.sanitizeText(r,g.getConfig()),h=g.common$1.sanitizeText(h,g.getConfig());const i={id:n||K+"-"+he(),message:r,seq:K++,type:l||W.NORMAL,tag:h||"",parents:I==null?[]:[I.id],branch:A};I=i,v[i.id]=i,R[A]=i.id,g.log$1.debug("in pushCommit "+i.id)},Se=function(r,n){if(r=g.common$1.sanitizeText(r,g.getConfig()),R[r]===void 0)R[r]=I!=null?I.id:null,Z[r]={name:r,order:n?parseInt(n,10):null},ke(r),g.log$1.debug("in createBranch");else{let l=new Error('Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout '+r+'")');throw l.hash={text:"branch "+r,token:"branch "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"checkout '+r+'"']},l}},Ge=function(r,n,l,h){r=g.common$1.sanitizeText(r,g.getConfig()),n=g.common$1.sanitizeText(n,g.getConfig());const i=v[R[A]],c=v[R[r]];if(A===r){let m=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw m.hash={text:"merge "+r,token:"merge "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch abc"]},m}else if(i===void 0||!i){let m=new Error('Incorrect usage of "merge". Current branch ('+A+")has no commits");throw m.hash={text:"merge "+r,token:"merge "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["commit"]},m}else if(R[r]===void 0){let m=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw m.hash={text:"merge "+r,token:"merge "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch "+r]},m}else if(c===void 0||!c){let m=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw m.hash={text:"merge "+r,token:"merge "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"commit"']},m}else if(i===c){let m=new Error('Incorrect usage of "merge". Both branches have same head');throw m.hash={text:"merge "+r,token:"merge "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch abc"]},m}else if(n&&v[n]!==void 0){let m=new Error('Incorrect usage of "merge". Commit with id:'+n+" already exists, use different custom Id");throw m.hash={text:"merge "+r+n+l+h,token:"merge "+r+n+l+h,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["merge "+r+" "+n+"_UNIQUE "+l+" "+h]},m}const p={id:n||K+"-"+he(),message:"merged branch "+r+" into "+A,seq:K++,parents:[I==null?null:I.id,R[r]],branch:A,type:W.MERGE,customType:l,customId:!!n,tag:h||""};I=p,v[p.id]=p,R[A]=p.id,g.log$1.debug(R),g.log$1.debug("in mergeBranch")},Ie=function(r,n,l,h){if(g.log$1.debug("Entering cherryPick:",r,n,l),r=g.common$1.sanitizeText(r,g.getConfig()),n=g.common$1.sanitizeText(n,g.getConfig()),l=g.common$1.sanitizeText(l,g.getConfig()),h=g.common$1.sanitizeText(h,g.getConfig()),!r||v[r]===void 0){let p=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw p.hash={text:"cherryPick "+r+" "+n,token:"cherryPick "+r+" "+n,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},p}let i=v[r],c=i.branch;if(h&&!(Array.isArray(i.parents)&&i.parents.includes(h)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");if(i.type===W.MERGE&&!h)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!n||v[n]===void 0){if(c===A){let y=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw y.hash={text:"cherryPick "+r+" "+n,token:"cherryPick "+r+" "+n,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},y}const p=v[R[A]];if(p===void 0||!p){let y=new Error('Incorrect usage of "cherry-pick". Current branch ('+A+")has no commits");throw y.hash={text:"cherryPick "+r+" "+n,token:"cherryPick "+r+" "+n,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},y}const m={id:K+"-"+he(),message:"cherry-picked "+i+" into "+A,seq:K++,parents:[I==null?null:I.id,i.id],branch:A,type:W.CHERRY_PICK,tag:l??`cherry-pick:${i.id}${i.type===W.MERGE?`|parent:${h}`:""}`};I=m,v[m.id]=m,R[A]=m.id,g.log$1.debug(R),g.log$1.debug("in cherryPick")}},ke=function(r){if(r=g.common$1.sanitizeText(r,g.getConfig()),R[r]===void 0){let n=new Error('Trying to checkout branch which is not yet created. (Help try using "branch '+r+'")');throw n.hash={text:"checkout "+r,token:"checkout "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"branch '+r+'"']},n}else{A=r;const n=R[A];I=v[n]}};function ge(r,n,l){const h=r.indexOf(n);h===-1?r.push(l):r.splice(h,1,l)}function xe(r){const n=r.reduce((i,c)=>i.seq>c.seq?i:c,r[0]);let l="";r.forEach(function(i){i===n?l+=" *":l+=" |"});const h=[l,n.id,n.seq];for(let i in R)R[i]===n.id&&h.push(i);if(g.log$1.debug(h.join(" ")),n.parents&&n.parents.length==2){const i=v[n.parents[0]];ge(r,n,i),r.push(v[n.parents[1]])}else{if(n.parents.length==0)return;{const i=v[n.parents];ge(r,n,i)}}r=Me(r,i=>i.id),xe(r)}const Ne=function(){g.log$1.debug(v);const r=ye()[0];xe([r])},He=function(){v={},I=null;let r=g.getConfig().gitGraph.mainBranchName,n=g.getConfig().gitGraph.mainBranchOrder;R={},R[r]=null,Z={},Z[r]={name:r,order:n},A=r,K=0,g.clear()},Be=function(){return Object.values(Z).map((n,l)=>n.order!==null?n:{...n,order:parseFloat(`0.${l}`,10)}).sort((n,l)=>n.order-l.order).map(({name:n})=>({name:n}))},De=function(){return R},Ve=function(){return v},ye=function(){const r=Object.keys(v).map(function(n){return v[n]});return r.forEach(function(n){g.log$1.debug(n.id)}),r.sort((n,l)=>n.seq-l.seq),r},ze=function(){return A},qe=function(){return be},je=function(){return I},W={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},Ye={getConfig:()=>g.getConfig().gitGraph,setDirection:ve,setOptions:Oe,getOptions:Pe,commit:Ae,branch:Se,merge:Ge,cherryPick:Ie,checkout:ke,prettyPrint:Ne,clear:He,getBranchesAsObjArray:Be,getBranches:De,getCommits:Ve,getCommitsArray:ye,getCurrentBranch:ze,getDirection:qe,getHead:je,setAccTitle:g.setAccTitle,getAccTitle:g.getAccTitle,getAccDescription:g.getAccDescription,setAccDescription:g.setAccDescription,setDiagramTitle:g.setDiagramTitle,getDiagramTitle:g.getDiagramTitle,commitType:W};let Q={};const P={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},F=8;let H={},q={},se=[],$=0,L="LR";const Fe=()=>{H={},q={},Q={},$=0,se=[],L="LR"},_e=r=>{const n=document.createElementNS("http://www.w3.org/2000/svg","text");let l=[];typeof r=="string"?l=r.split(/\\n|\n|<br\s*\/?>/gi):Array.isArray(r)?l=r:l=[];for(const h of l){const i=document.createElementNS("http://www.w3.org/2000/svg","tspan");i.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),i.setAttribute("dy","1em"),i.setAttribute("x","0"),i.setAttribute("class","row"),i.textContent=h.trim(),n.appendChild(i)}return n},Ke=r=>{let n="",l=0;return r.forEach(h=>{const i=L==="TB"?q[h].y:q[h].x;i>=l&&(n=h,l=i)}),n||void 0},pe=(r,n,l)=>{const h=g.getConfig().gitGraph,i=r.append("g").attr("class","commit-bullets"),c=r.append("g").attr("class","commit-labels");let p=0;L==="TB"&&(p=30);const y=Object.keys(n).sort((E,b)=>n[E].seq-n[b].seq),_=h.parallelCommits,a=10,C=40;y.forEach(E=>{const b=n[E];if(_)if(b.parents.length){const T=Ke(b.parents);p=L==="TB"?q[T].y+C:q[T].x+C}else p=0,L==="TB"&&(p=30);const f=p+a,x=L==="TB"?f:H[b.branch].pos,d=L==="TB"?H[b.branch].pos:f;if(l){let T,D=b.customType!==void 0&&b.customType!==""?b.customType:b.type;switch(D){case P.NORMAL:T="commit-normal";break;case P.REVERSE:T="commit-reverse";break;case P.HIGHLIGHT:T="commit-highlight";break;case P.MERGE:T="commit-merge";break;case P.CHERRY_PICK:T="commit-cherry-pick";break;default:T="commit-normal"}if(D===P.HIGHLIGHT){const M=i.append("rect");M.attr("x",d-10),M.attr("y",x-10),M.attr("height",20),M.attr("width",20),M.attr("class",`commit ${b.id} commit-highlight${H[b.branch].index%F} ${T}-outer`),i.append("rect").attr("x",d-6).attr("y",x-6).attr("height",12).attr("width",12).attr("class",`commit ${b.id} commit${H[b.branch].index%F} ${T}-inner`)}else if(D===P.CHERRY_PICK)i.append("circle").attr("cx",d).attr("cy",x).attr("r",10).attr("class",`commit ${b.id} ${T}`),i.append("circle").attr("cx",d-3).attr("cy",x+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${b.id} ${T}`),i.append("circle").attr("cx",d+3).attr("cy",x+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${b.id} ${T}`),i.append("line").attr("x1",d+3).attr("y1",x+1).attr("x2",d).attr("y2",x-5).attr("stroke","#fff").attr("class",`commit ${b.id} ${T}`),i.append("line").attr("x1",d-3).attr("y1",x+1).attr("x2",d).attr("y2",x-5).attr("stroke","#fff").attr("class",`commit ${b.id} ${T}`);else{const M=i.append("circle");if(M.attr("cx",d),M.attr("cy",x),M.attr("r",b.type===P.MERGE?9:10),M.attr("class",`commit ${b.id} commit${H[b.branch].index%F}`),D===P.MERGE){const G=i.append("circle");G.attr("cx",d),G.attr("cy",x),G.attr("r",6),G.attr("class",`commit ${T} ${b.id} commit${H[b.branch].index%F}`)}D===P.REVERSE&&i.append("path").attr("d",`M ${d-5},${x-5}L${d+5},${x+5}M${d-5},${x+5}L${d+5},${x-5}`).attr("class",`commit ${T} ${b.id} commit${H[b.branch].index%F}`)}}if(L==="TB"?q[b.id]={x:d,y:f}:q[b.id]={x:f,y:x},l){if(b.type!==P.CHERRY_PICK&&(b.customId&&b.type===P.MERGE||b.type!==P.MERGE)&&h.showCommitLabel){const M=c.append("g"),G=M.insert("rect").attr("class","commit-label-bkg"),S=M.append("text").attr("x",p).attr("y",x+25).attr("class","commit-label").text(b.id);let o=S.node().getBBox();if(G.attr("x",f-o.width/2-2).attr("y",x+13.5).attr("width",o.width+2*2).attr("height",o.height+2*2),L==="TB"&&(G.attr("x",d-(o.width+4*4+5)).attr("y",x-12),S.attr("x",d-(o.width+4*4)).attr("y",x+o.height-12)),L!=="TB"&&S.attr("x",f-o.width/2),h.rotateCommitLabel)if(L==="TB")S.attr("transform","rotate(-45, "+d+", "+x+")"),G.attr("transform","rotate(-45, "+d+", "+x+")");else{let u=-7.5-(o.width+10)/25*9.5,k=10+o.width/25*8.5;M.attr("transform","translate("+u+", "+k+") rotate(-45, "+p+", "+x+")")}}if(b.tag){const M=c.insert("polygon"),G=c.append("circle"),S=c.append("text").attr("y",x-16).attr("class","tag-label").text(b.tag);let o=S.node().getBBox();S.attr("x",f-o.width/2);const u=o.height/2,k=x-19.2;M.attr("class","tag-label-bkg").attr("points",`
|
|
7
|
+
${p-o.width/2-4/2},${k+2}
|
|
8
|
+
${p-o.width/2-4/2},${k-2}
|
|
9
|
+
${f-o.width/2-4},${k-u-2}
|
|
10
|
+
${f+o.width/2+4},${k-u-2}
|
|
11
|
+
${f+o.width/2+4},${k+u+2}
|
|
12
|
+
${f-o.width/2-4},${k+u+2}`),G.attr("cx",p-o.width/2+4/2).attr("cy",k).attr("r",1.5).attr("class","tag-hole"),L==="TB"&&(M.attr("class","tag-label-bkg").attr("points",`
|
|
13
|
+
${d},${p+2}
|
|
14
|
+
${d},${p-2}
|
|
15
|
+
${d+a},${p-u-2}
|
|
16
|
+
${d+a+o.width+4},${p-u-2}
|
|
17
|
+
${d+a+o.width+4},${p+u+2}
|
|
18
|
+
${d+a},${p+u+2}`).attr("transform","translate(12,12) rotate(45, "+d+","+p+")"),G.attr("cx",d+4/2).attr("cy",p).attr("transform","translate(12,12) rotate(45, "+d+","+p+")"),S.attr("x",d+5).attr("y",p+3).attr("transform","translate(14,14) rotate(45, "+d+","+p+")"))}}p+=C+a,p>$&&($=p)})},Ue=(r,n,l,h,i)=>{const p=(L==="TB"?l.x<h.x:l.y<h.y)?n.branch:r.branch,m=_=>_.branch===p,y=_=>_.seq>r.seq&&_.seq<n.seq;return Object.values(i).some(_=>y(_)&&m(_))},X=(r,n,l=0)=>{const h=r+Math.abs(r-n)/2;if(l>5)return h;if(se.every(p=>Math.abs(p-h)>=10))return se.push(h),h;const c=Math.abs(r-n);return X(r,n-c/5,l+1)},We=(r,n,l,h)=>{const i=q[n.id],c=q[l.id],p=Ue(n,l,i,c,h);let m="",y="",_=0,a=0,C=H[l.branch].index;l.type===P.MERGE&&n.id!==l.parents[0]&&(C=H[n.branch].index);let E;if(p){m="A 10 10, 0, 0, 0,",y="A 10 10, 0, 0, 1,",_=10,a=10;const b=i.y<c.y?X(i.y,c.y):X(c.y,i.y),f=i.x<c.x?X(i.x,c.x):X(c.x,i.x);L==="TB"?i.x<c.x?E=`M ${i.x} ${i.y} L ${f-_} ${i.y} ${y} ${f} ${i.y+a} L ${f} ${c.y-_} ${m} ${f+a} ${c.y} L ${c.x} ${c.y}`:(C=H[n.branch].index,E=`M ${i.x} ${i.y} L ${f+_} ${i.y} ${m} ${f} ${i.y+a} L ${f} ${c.y-_} ${y} ${f-a} ${c.y} L ${c.x} ${c.y}`):i.y<c.y?E=`M ${i.x} ${i.y} L ${i.x} ${b-_} ${m} ${i.x+a} ${b} L ${c.x-_} ${b} ${y} ${c.x} ${b+a} L ${c.x} ${c.y}`:(C=H[n.branch].index,E=`M ${i.x} ${i.y} L ${i.x} ${b+_} ${y} ${i.x+a} ${b} L ${c.x-_} ${b} ${m} ${c.x} ${b-a} L ${c.x} ${c.y}`)}else m="A 20 20, 0, 0, 0,",y="A 20 20, 0, 0, 1,",_=20,a=20,L==="TB"?(i.x<c.x&&(l.type===P.MERGE&&n.id!==l.parents[0]?E=`M ${i.x} ${i.y} L ${i.x} ${c.y-_} ${m} ${i.x+a} ${c.y} L ${c.x} ${c.y}`:E=`M ${i.x} ${i.y} L ${c.x-_} ${i.y} ${y} ${c.x} ${i.y+a} L ${c.x} ${c.y}`),i.x>c.x&&(m="A 20 20, 0, 0, 0,",y="A 20 20, 0, 0, 1,",_=20,a=20,l.type===P.MERGE&&n.id!==l.parents[0]?E=`M ${i.x} ${i.y} L ${i.x} ${c.y-_} ${y} ${i.x-a} ${c.y} L ${c.x} ${c.y}`:E=`M ${i.x} ${i.y} L ${c.x+_} ${i.y} ${m} ${c.x} ${i.y+a} L ${c.x} ${c.y}`),i.x===c.x&&(E=`M ${i.x} ${i.y} L ${c.x} ${c.y}`)):(i.y<c.y&&(l.type===P.MERGE&&n.id!==l.parents[0]?E=`M ${i.x} ${i.y} L ${c.x-_} ${i.y} ${y} ${c.x} ${i.y+a} L ${c.x} ${c.y}`:E=`M ${i.x} ${i.y} L ${i.x} ${c.y-_} ${m} ${i.x+a} ${c.y} L ${c.x} ${c.y}`),i.y>c.y&&(l.type===P.MERGE&&n.id!==l.parents[0]?E=`M ${i.x} ${i.y} L ${c.x-_} ${i.y} ${m} ${c.x} ${i.y-a} L ${c.x} ${c.y}`:E=`M ${i.x} ${i.y} L ${i.x} ${c.y+_} ${y} ${i.x+a} ${c.y} L ${c.x} ${c.y}`),i.y===c.y&&(E=`M ${i.x} ${i.y} L ${c.x} ${c.y}`));r.append("path").attr("d",E).attr("class","arrow arrow"+C%F)},Je=(r,n)=>{const l=r.append("g").attr("class","commit-arrows");Object.keys(n).forEach(h=>{const i=n[h];i.parents&&i.parents.length>0&&i.parents.forEach(c=>{We(l,n[c],i,n)})})},Qe=(r,n)=>{const l=g.getConfig().gitGraph,h=r.append("g");n.forEach((i,c)=>{const p=c%F,m=H[i.name].pos,y=h.append("line");y.attr("x1",0),y.attr("y1",m),y.attr("x2",$),y.attr("y2",m),y.attr("class","branch branch"+p),L==="TB"&&(y.attr("y1",30),y.attr("x1",m),y.attr("y2",$),y.attr("x2",m)),se.push(m);let _=i.name;const a=_e(_),C=h.insert("rect"),b=h.insert("g").attr("class","branchLabel").insert("g").attr("class","label branch-label"+p);b.node().appendChild(a);let f=a.getBBox();C.attr("class","branchLabelBkg label"+p).attr("rx",4).attr("ry",4).attr("x",-f.width-4-(l.rotateCommitLabel===!0?30:0)).attr("y",-f.height/2+8).attr("width",f.width+18).attr("height",f.height+4),b.attr("transform","translate("+(-f.width-14-(l.rotateCommitLabel===!0?30:0))+", "+(m-f.height/2-1)+")"),L==="TB"&&(C.attr("x",m-f.width/2-10).attr("y",0),b.attr("transform","translate("+(m-f.width/2-5)+", 0)")),L!=="TB"&&C.attr("transform","translate(-19, "+(m-f.height/2)+")")})},Xe=function(r,n,l,h){Fe();const i=g.getConfig(),c=i.gitGraph;g.log$1.debug("in gitgraph renderer",r+`
|
|
19
|
+
`,"id:",n,l),Q=h.db.getCommits();const p=h.db.getBranchesAsObjArray();L=h.db.getDirection();const m=g.select(`[id="${n}"]`);let y=0;p.forEach((_,a)=>{const C=_e(_.name),E=m.append("g"),b=E.insert("g").attr("class","branchLabel"),f=b.insert("g").attr("class","label branch-label");f.node().appendChild(C);let x=C.getBBox();H[_.name]={pos:y,index:a},y+=50+(c.rotateCommitLabel?40:0)+(L==="TB"?x.width/2:0),f.remove(),b.remove(),E.remove()}),pe(m,Q,!1),c.showBranches&&Qe(m,p),Je(m,Q),pe(m,Q,!0),g.utils.insertTitle(m,"gitTitleText",c.titleTopMargin,h.db.getDiagramTitle()),g.setupGraphViewbox(void 0,m,c.diagramPadding,c.useMaxWidth??i.useMaxWidth)},Ze={draw:Xe},$e=r=>`
|
|
20
|
+
.commit-id,
|
|
21
|
+
.commit-msg,
|
|
22
|
+
.branch-label {
|
|
23
|
+
fill: lightgrey;
|
|
24
|
+
color: lightgrey;
|
|
25
|
+
font-family: 'trebuchet ms', verdana, arial, sans-serif;
|
|
26
|
+
font-family: var(--mermaid-font-family);
|
|
27
|
+
}
|
|
28
|
+
${[0,1,2,3,4,5,6,7].map(n=>`
|
|
29
|
+
.branch-label${n} { fill: ${r["gitBranchLabel"+n]}; }
|
|
30
|
+
.commit${n} { stroke: ${r["git"+n]}; fill: ${r["git"+n]}; }
|
|
31
|
+
.commit-highlight${n} { stroke: ${r["gitInv"+n]}; fill: ${r["gitInv"+n]}; }
|
|
32
|
+
.label${n} { fill: ${r["git"+n]}; }
|
|
33
|
+
.arrow${n} { stroke: ${r["git"+n]}; }
|
|
34
|
+
`).join(`
|
|
35
|
+
`)}
|
|
36
|
+
|
|
37
|
+
.branch {
|
|
38
|
+
stroke-width: 1;
|
|
39
|
+
stroke: ${r.lineColor};
|
|
40
|
+
stroke-dasharray: 2;
|
|
41
|
+
}
|
|
42
|
+
.commit-label { font-size: ${r.commitLabelFontSize}; fill: ${r.commitLabelColor};}
|
|
43
|
+
.commit-label-bkg { font-size: ${r.commitLabelFontSize}; fill: ${r.commitLabelBackground}; opacity: 0.5; }
|
|
44
|
+
.tag-label { font-size: ${r.tagLabelFontSize}; fill: ${r.tagLabelColor};}
|
|
45
|
+
.tag-label-bkg { fill: ${r.tagLabelBackground}; stroke: ${r.tagLabelBorder}; }
|
|
46
|
+
.tag-hole { fill: ${r.textColor}; }
|
|
47
|
+
|
|
48
|
+
.commit-merge {
|
|
49
|
+
stroke: ${r.primaryColor};
|
|
50
|
+
fill: ${r.primaryColor};
|
|
51
|
+
}
|
|
52
|
+
.commit-reverse {
|
|
53
|
+
stroke: ${r.primaryColor};
|
|
54
|
+
fill: ${r.primaryColor};
|
|
55
|
+
stroke-width: 3;
|
|
56
|
+
}
|
|
57
|
+
.commit-highlight-outer {
|
|
58
|
+
}
|
|
59
|
+
.commit-highlight-inner {
|
|
60
|
+
stroke: ${r.primaryColor};
|
|
61
|
+
fill: ${r.primaryColor};
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.arrow { stroke-width: 8; stroke-linecap: round; fill: none}
|
|
65
|
+
.gitTitleText {
|
|
66
|
+
text-anchor: middle;
|
|
67
|
+
font-size: 18px;
|
|
68
|
+
fill: ${r.textColor};
|
|
69
|
+
}
|
|
70
|
+
`,et=$e,tt={parser:Re,db:Ye,renderer:Ze,styles:et};exports.diagram=tt;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";const F=require("./layers.0Uws2RMI.js");var ht=function(){var e=function(p1,a,o,f){for(o=o||{},f=p1.length;f--;o[p1[f]]=a);return o},u=[1,4],i=[1,3],r=[1,5],c=[1,8,9,10,11,27,34,36,38,42,58,81,82,83,84,85,86,99,102,103,106,108,111,112,113,118,119,120,121],l=[2,2],h=[1,13],G=[1,14],T=[1,15],O=[1,16],H=[1,23],l1=[1,25],A1=[1,26],d1=[1,27],_=[1,49],g=[1,48],h1=[1,29],U1=[1,30],G1=[1,31],M1=[1,32],K1=[1,33],B=[1,44],m=[1,46],y=[1,42],v=[1,47],V=[1,43],L=[1,50],I=[1,45],R=[1,51],N=[1,52],Y1=[1,34],j1=[1,35],z1=[1,36],X1=[1,37],R1=[1,57],k=[1,8,9,10,11,27,32,34,36,38,42,58,81,82,83,84,85,86,99,102,103,106,108,111,112,113,118,119,120,121],Q=[1,61],Z=[1,60],J=[1,62],H1=[8,9,11,73,75],k1=[1,88],b1=[1,93],D1=[1,92],F1=[1,89],T1=[1,85],C1=[1,91],S1=[1,87],_1=[1,94],x1=[1,90],B1=[1,95],m1=[1,86],q1=[8,9,10,11,73,75],w=[8,9,10,11,44,73,75],K=[8,9,10,11,29,42,44,46,48,50,52,54,56,58,61,63,65,66,68,73,75,86,99,102,103,106,108,111,112,113],pt=[8,9,11,42,58,73,75,86,99,102,103,106,108,111,112,113],N1=[42,58,86,99,102,103,106,108,111,112,113],At=[1,121],dt=[1,120],Et=[1,128],gt=[1,142],kt=[1,143],bt=[1,144],Dt=[1,145],Ft=[1,130],Tt=[1,132],Ct=[1,136],St=[1,137],_t=[1,138],xt=[1,139],Bt=[1,140],mt=[1,141],yt=[1,146],vt=[1,147],Vt=[1,126],Lt=[1,127],It=[1,134],Rt=[1,129],Nt=[1,133],wt=[1,131],it=[8,9,10,11,27,32,34,36,38,42,58,81,82,83,84,85,86,99,102,103,106,108,111,112,113,118,119,120,121],Ot=[1,149],C=[8,9,11],Y=[8,9,10,11,14,42,58,86,102,103,106,108,111,112,113],p=[1,169],P=[1,165],U=[1,166],A=[1,170],d=[1,167],E=[1,168],y1=[75,113,116],b=[8,9,10,11,12,14,27,29,32,42,58,73,81,82,83,84,85,86,87,102,106,108,111,112,113],Pt=[10,103],f1=[31,47,49,51,53,55,60,62,64,65,67,69,113,114,115],$=[1,235],t1=[1,233],e1=[1,237],s1=[1,231],u1=[1,232],i1=[1,234],n1=[1,236],r1=[1,238],v1=[1,255],Ut=[8,9,11,103],W=[8,9,10,11,58,81,102,103,106,107,108,109],nt={trace:function(){},yy:{},symbols_:{error:2,start:3,graphConfig:4,document:5,line:6,statement:7,SEMI:8,NEWLINE:9,SPACE:10,EOF:11,GRAPH:12,NODIR:13,DIR:14,FirstStmtSeparator:15,ending:16,endToken:17,spaceList:18,spaceListNewline:19,vertexStatement:20,separator:21,styleStatement:22,linkStyleStatement:23,classDefStatement:24,classStatement:25,clickStatement:26,subgraph:27,textNoTags:28,SQS:29,text:30,SQE:31,end:32,direction:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,link:39,node:40,styledVertex:41,AMP:42,vertex:43,STYLE_SEPARATOR:44,idString:45,DOUBLECIRCLESTART:46,DOUBLECIRCLEEND:47,PS:48,PE:49,"(-":50,"-)":51,STADIUMSTART:52,STADIUMEND:53,SUBROUTINESTART:54,SUBROUTINEEND:55,VERTEX_WITH_PROPS_START:56,"NODE_STRING[field]":57,COLON:58,"NODE_STRING[value]":59,PIPE:60,CYLINDERSTART:61,CYLINDEREND:62,DIAMOND_START:63,DIAMOND_STOP:64,TAGEND:65,TRAPSTART:66,TRAPEND:67,INVTRAPSTART:68,INVTRAPEND:69,linkStatement:70,arrowText:71,TESTSTR:72,START_LINK:73,edgeText:74,LINK:75,edgeTextToken:76,STR:77,MD_STR:78,textToken:79,keywords:80,STYLE:81,LINKSTYLE:82,CLASSDEF:83,CLASS:84,CLICK:85,DOWN:86,UP:87,textNoTagsToken:88,stylesOpt:89,"idString[vertex]":90,"idString[class]":91,CALLBACKNAME:92,CALLBACKARGS:93,HREF:94,LINK_TARGET:95,"STR[link]":96,"STR[tooltip]":97,alphaNum:98,DEFAULT:99,numList:100,INTERPOLATE:101,NUM:102,COMMA:103,style:104,styleComponent:105,NODE_STRING:106,UNIT:107,BRKT:108,PCT:109,idStringToken:110,MINUS:111,MULT:112,UNICODE_TEXT:113,TEXT:114,TAGSTART:115,EDGE_TEXT:116,alphaNumToken:117,direction_tb:118,direction_bt:119,direction_rl:120,direction_lr:121,$accept:0,$end:1},terminals_:{2:"error",8:"SEMI",9:"NEWLINE",10:"SPACE",11:"EOF",12:"GRAPH",13:"NODIR",14:"DIR",27:"subgraph",29:"SQS",31:"SQE",32:"end",34:"acc_title",35:"acc_title_value",36:"acc_descr",37:"acc_descr_value",38:"acc_descr_multiline_value",42:"AMP",44:"STYLE_SEPARATOR",46:"DOUBLECIRCLESTART",47:"DOUBLECIRCLEEND",48:"PS",49:"PE",50:"(-",51:"-)",52:"STADIUMSTART",53:"STADIUMEND",54:"SUBROUTINESTART",55:"SUBROUTINEEND",56:"VERTEX_WITH_PROPS_START",57:"NODE_STRING[field]",58:"COLON",59:"NODE_STRING[value]",60:"PIPE",61:"CYLINDERSTART",62:"CYLINDEREND",63:"DIAMOND_START",64:"DIAMOND_STOP",65:"TAGEND",66:"TRAPSTART",67:"TRAPEND",68:"INVTRAPSTART",69:"INVTRAPEND",72:"TESTSTR",73:"START_LINK",75:"LINK",77:"STR",78:"MD_STR",81:"STYLE",82:"LINKSTYLE",83:"CLASSDEF",84:"CLASS",85:"CLICK",86:"DOWN",87:"UP",90:"idString[vertex]",91:"idString[class]",92:"CALLBACKNAME",93:"CALLBACKARGS",94:"HREF",95:"LINK_TARGET",96:"STR[link]",97:"STR[tooltip]",99:"DEFAULT",101:"INTERPOLATE",102:"NUM",103:"COMMA",106:"NODE_STRING",107:"UNIT",108:"BRKT",109:"PCT",111:"MINUS",112:"MULT",113:"UNICODE_TEXT",114:"TEXT",115:"TAGSTART",116:"EDGE_TEXT",118:"direction_tb",119:"direction_bt",120:"direction_rl",121:"direction_lr"},productions_:[0,[3,2],[5,0],[5,2],[6,1],[6,1],[6,1],[6,1],[6,1],[4,2],[4,2],[4,2],[4,3],[16,2],[16,1],[17,1],[17,1],[17,1],[15,1],[15,1],[15,2],[19,2],[19,2],[19,1],[19,1],[18,2],[18,1],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,9],[7,6],[7,4],[7,1],[7,2],[7,2],[7,1],[21,1],[21,1],[21,1],[20,3],[20,4],[20,2],[20,1],[40,1],[40,5],[41,1],[41,3],[43,4],[43,4],[43,6],[43,4],[43,4],[43,4],[43,8],[43,4],[43,4],[43,4],[43,6],[43,4],[43,4],[43,4],[43,4],[43,4],[43,1],[39,2],[39,3],[39,3],[39,1],[39,3],[74,1],[74,2],[74,1],[74,1],[70,1],[71,3],[30,1],[30,2],[30,1],[30,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[28,1],[28,2],[28,1],[28,1],[24,5],[25,5],[26,2],[26,4],[26,3],[26,5],[26,3],[26,5],[26,5],[26,7],[26,2],[26,4],[26,2],[26,4],[26,4],[26,6],[22,5],[23,5],[23,5],[23,9],[23,9],[23,7],[23,7],[100,1],[100,3],[89,1],[89,3],[104,1],[104,2],[105,1],[105,1],[105,1],[105,1],[105,1],[105,1],[105,1],[105,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[79,1],[79,1],[79,1],[79,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[76,1],[76,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[45,1],[45,2],[98,1],[98,2],[33,1],[33,1],[33,1],[33,1]],performAction:function(a,o,f,n,S,t,w1){var s=t.length-1;switch(S){case 2:this.$=[];break;case 3:(!Array.isArray(t[s])||t[s].length>0)&&t[s-1].push(t[s]),this.$=t[s-1];break;case 4:case 176:this.$=t[s];break;case 11:n.setDirection("TB"),this.$="TB";break;case 12:n.setDirection(t[s-1]),this.$=t[s-1];break;case 27:this.$=t[s-1].nodes;break;case 28:case 29:case 30:case 31:case 32:this.$=[];break;case 33:this.$=n.addSubGraph(t[s-6],t[s-1],t[s-4]);break;case 34:this.$=n.addSubGraph(t[s-3],t[s-1],t[s-3]);break;case 35:this.$=n.addSubGraph(void 0,t[s-1],void 0);break;case 37:this.$=t[s].trim(),n.setAccTitle(this.$);break;case 38:case 39:this.$=t[s].trim(),n.setAccDescription(this.$);break;case 43:n.addLink(t[s-2].stmt,t[s],t[s-1]),this.$={stmt:t[s],nodes:t[s].concat(t[s-2].nodes)};break;case 44:n.addLink(t[s-3].stmt,t[s-1],t[s-2]),this.$={stmt:t[s-1],nodes:t[s-1].concat(t[s-3].nodes)};break;case 45:this.$={stmt:t[s-1],nodes:t[s-1]};break;case 46:this.$={stmt:t[s],nodes:t[s]};break;case 47:this.$=[t[s]];break;case 48:this.$=t[s-4].concat(t[s]);break;case 49:this.$=t[s];break;case 50:this.$=t[s-2],n.setClass(t[s-2],t[s]);break;case 51:this.$=t[s-3],n.addVertex(t[s-3],t[s-1],"square");break;case 52:this.$=t[s-3],n.addVertex(t[s-3],t[s-1],"doublecircle");break;case 53:this.$=t[s-5],n.addVertex(t[s-5],t[s-2],"circle");break;case 54:this.$=t[s-3],n.addVertex(t[s-3],t[s-1],"ellipse");break;case 55:this.$=t[s-3],n.addVertex(t[s-3],t[s-1],"stadium");break;case 56:this.$=t[s-3],n.addVertex(t[s-3],t[s-1],"subroutine");break;case 57:this.$=t[s-7],n.addVertex(t[s-7],t[s-1],"rect",void 0,void 0,void 0,Object.fromEntries([[t[s-5],t[s-3]]]));break;case 58:this.$=t[s-3],n.addVertex(t[s-3],t[s-1],"cylinder");break;case 59:this.$=t[s-3],n.addVertex(t[s-3],t[s-1],"round");break;case 60:this.$=t[s-3],n.addVertex(t[s-3],t[s-1],"diamond");break;case 61:this.$=t[s-5],n.addVertex(t[s-5],t[s-2],"hexagon");break;case 62:this.$=t[s-3],n.addVertex(t[s-3],t[s-1],"odd");break;case 63:this.$=t[s-3],n.addVertex(t[s-3],t[s-1],"trapezoid");break;case 64:this.$=t[s-3],n.addVertex(t[s-3],t[s-1],"inv_trapezoid");break;case 65:this.$=t[s-3],n.addVertex(t[s-3],t[s-1],"lean_right");break;case 66:this.$=t[s-3],n.addVertex(t[s-3],t[s-1],"lean_left");break;case 67:this.$=t[s],n.addVertex(t[s]);break;case 68:t[s-1].text=t[s],this.$=t[s-1];break;case 69:case 70:t[s-2].text=t[s-1],this.$=t[s-2];break;case 71:this.$=t[s];break;case 72:var j=n.destructLink(t[s],t[s-2]);this.$={type:j.type,stroke:j.stroke,length:j.length,text:t[s-1]};break;case 73:this.$={text:t[s],type:"text"};break;case 74:this.$={text:t[s-1].text+""+t[s],type:t[s-1].type};break;case 75:this.$={text:t[s],type:"string"};break;case 76:this.$={text:t[s],type:"markdown"};break;case 77:var j=n.destructLink(t[s]);this.$={type:j.type,stroke:j.stroke,length:j.length};break;case 78:this.$=t[s-1];break;case 79:this.$={text:t[s],type:"text"};break;case 80:this.$={text:t[s-1].text+""+t[s],type:t[s-1].type};break;case 81:this.$={text:t[s],type:"string"};break;case 82:case 97:this.$={text:t[s],type:"markdown"};break;case 94:this.$={text:t[s],type:"text"};break;case 95:this.$={text:t[s-1].text+""+t[s],type:t[s-1].type};break;case 96:this.$={text:t[s],type:"text"};break;case 98:this.$=t[s-4],n.addClass(t[s-2],t[s]);break;case 99:this.$=t[s-4],n.setClass(t[s-2],t[s]);break;case 100:case 108:this.$=t[s-1],n.setClickEvent(t[s-1],t[s]);break;case 101:case 109:this.$=t[s-3],n.setClickEvent(t[s-3],t[s-2]),n.setTooltip(t[s-3],t[s]);break;case 102:this.$=t[s-2],n.setClickEvent(t[s-2],t[s-1],t[s]);break;case 103:this.$=t[s-4],n.setClickEvent(t[s-4],t[s-3],t[s-2]),n.setTooltip(t[s-4],t[s]);break;case 104:this.$=t[s-2],n.setLink(t[s-2],t[s]);break;case 105:this.$=t[s-4],n.setLink(t[s-4],t[s-2]),n.setTooltip(t[s-4],t[s]);break;case 106:this.$=t[s-4],n.setLink(t[s-4],t[s-2],t[s]);break;case 107:this.$=t[s-6],n.setLink(t[s-6],t[s-4],t[s]),n.setTooltip(t[s-6],t[s-2]);break;case 110:this.$=t[s-1],n.setLink(t[s-1],t[s]);break;case 111:this.$=t[s-3],n.setLink(t[s-3],t[s-2]),n.setTooltip(t[s-3],t[s]);break;case 112:this.$=t[s-3],n.setLink(t[s-3],t[s-2],t[s]);break;case 113:this.$=t[s-5],n.setLink(t[s-5],t[s-4],t[s]),n.setTooltip(t[s-5],t[s-2]);break;case 114:this.$=t[s-4],n.addVertex(t[s-2],void 0,void 0,t[s]);break;case 115:this.$=t[s-4],n.updateLink([t[s-2]],t[s]);break;case 116:this.$=t[s-4],n.updateLink(t[s-2],t[s]);break;case 117:this.$=t[s-8],n.updateLinkInterpolate([t[s-6]],t[s-2]),n.updateLink([t[s-6]],t[s]);break;case 118:this.$=t[s-8],n.updateLinkInterpolate(t[s-6],t[s-2]),n.updateLink(t[s-6],t[s]);break;case 119:this.$=t[s-6],n.updateLinkInterpolate([t[s-4]],t[s]);break;case 120:this.$=t[s-6],n.updateLinkInterpolate(t[s-4],t[s]);break;case 121:case 123:this.$=[t[s]];break;case 122:case 124:t[s-2].push(t[s]),this.$=t[s-2];break;case 126:this.$=t[s-1]+t[s];break;case 174:this.$=t[s];break;case 175:this.$=t[s-1]+""+t[s];break;case 177:this.$=t[s-1]+""+t[s];break;case 178:this.$={stmt:"dir",value:"TB"};break;case 179:this.$={stmt:"dir",value:"BT"};break;case 180:this.$={stmt:"dir",value:"RL"};break;case 181:this.$={stmt:"dir",value:"LR"};break}},table:[{3:1,4:2,9:u,10:i,12:r},{1:[3]},e(c,l,{5:6}),{4:7,9:u,10:i,12:r},{4:8,9:u,10:i,12:r},{13:[1,9],14:[1,10]},{1:[2,1],6:11,7:12,8:h,9:G,10:T,11:O,20:17,22:18,23:19,24:20,25:21,26:22,27:H,33:24,34:l1,36:A1,38:d1,40:28,41:38,42:_,43:39,45:40,58:g,81:h1,82:U1,83:G1,84:M1,85:K1,86:B,99:m,102:y,103:v,106:V,108:L,110:41,111:I,112:R,113:N,118:Y1,119:j1,120:z1,121:X1},e(c,[2,9]),e(c,[2,10]),e(c,[2,11]),{8:[1,54],9:[1,55],10:R1,15:53,18:56},e(k,[2,3]),e(k,[2,4]),e(k,[2,5]),e(k,[2,6]),e(k,[2,7]),e(k,[2,8]),{8:Q,9:Z,11:J,21:58,39:59,70:63,73:[1,64],75:[1,65]},{8:Q,9:Z,11:J,21:66},{8:Q,9:Z,11:J,21:67},{8:Q,9:Z,11:J,21:68},{8:Q,9:Z,11:J,21:69},{8:Q,9:Z,11:J,21:70},{8:Q,9:Z,10:[1,71],11:J,21:72},e(k,[2,36]),{35:[1,73]},{37:[1,74]},e(k,[2,39]),e(H1,[2,46],{18:75,10:R1}),{10:[1,76]},{10:[1,77]},{10:[1,78]},{10:[1,79]},{14:k1,42:b1,58:D1,77:[1,83],86:F1,92:[1,80],94:[1,81],98:82,102:T1,103:C1,106:S1,108:_1,111:x1,112:B1,113:m1,117:84},e(k,[2,178]),e(k,[2,179]),e(k,[2,180]),e(k,[2,181]),e(q1,[2,47]),e(q1,[2,49],{44:[1,96]}),e(w,[2,67],{110:109,29:[1,97],42:_,46:[1,98],48:[1,99],50:[1,100],52:[1,101],54:[1,102],56:[1,103],58:g,61:[1,104],63:[1,105],65:[1,106],66:[1,107],68:[1,108],86:B,99:m,102:y,103:v,106:V,108:L,111:I,112:R,113:N}),e(K,[2,174]),e(K,[2,135]),e(K,[2,136]),e(K,[2,137]),e(K,[2,138]),e(K,[2,139]),e(K,[2,140]),e(K,[2,141]),e(K,[2,142]),e(K,[2,143]),e(K,[2,144]),e(K,[2,145]),e(c,[2,12]),e(c,[2,18]),e(c,[2,19]),{9:[1,110]},e(pt,[2,26],{18:111,10:R1}),e(k,[2,27]),{40:112,41:38,42:_,43:39,45:40,58:g,86:B,99:m,102:y,103:v,106:V,108:L,110:41,111:I,112:R,113:N},e(k,[2,40]),e(k,[2,41]),e(k,[2,42]),e(N1,[2,71],{71:113,60:[1,115],72:[1,114]}),{74:116,76:117,77:[1,118],78:[1,119],113:At,116:dt},e([42,58,60,72,86,99,102,103,106,108,111,112,113],[2,77]),e(k,[2,28]),e(k,[2,29]),e(k,[2,30]),e(k,[2,31]),e(k,[2,32]),{10:Et,12:gt,14:kt,27:bt,28:122,32:Dt,42:Ft,58:Tt,73:Ct,77:[1,124],78:[1,125],80:135,81:St,82:_t,83:xt,84:Bt,85:mt,86:yt,87:vt,88:123,102:Vt,106:Lt,108:It,111:Rt,112:Nt,113:wt},e(it,l,{5:148}),e(k,[2,37]),e(k,[2,38]),e(H1,[2,45],{42:Ot}),{42:_,45:150,58:g,86:B,99:m,102:y,103:v,106:V,108:L,110:41,111:I,112:R,113:N},{99:[1,151],100:152,102:[1,153]},{42:_,45:154,58:g,86:B,99:m,102:y,103:v,106:V,108:L,110:41,111:I,112:R,113:N},{42:_,45:155,58:g,86:B,99:m,102:y,103:v,106:V,108:L,110:41,111:I,112:R,113:N},e(C,[2,100],{10:[1,156],93:[1,157]}),{77:[1,158]},e(C,[2,108],{117:160,10:[1,159],14:k1,42:b1,58:D1,86:F1,102:T1,103:C1,106:S1,108:_1,111:x1,112:B1,113:m1}),e(C,[2,110],{10:[1,161]}),e(Y,[2,176]),e(Y,[2,163]),e(Y,[2,164]),e(Y,[2,165]),e(Y,[2,166]),e(Y,[2,167]),e(Y,[2,168]),e(Y,[2,169]),e(Y,[2,170]),e(Y,[2,171]),e(Y,[2,172]),e(Y,[2,173]),{42:_,45:162,58:g,86:B,99:m,102:y,103:v,106:V,108:L,110:41,111:I,112:R,113:N},{30:163,65:p,77:P,78:U,79:164,113:A,114:d,115:E},{30:171,65:p,77:P,78:U,79:164,113:A,114:d,115:E},{30:173,48:[1,172],65:p,77:P,78:U,79:164,113:A,114:d,115:E},{30:174,65:p,77:P,78:U,79:164,113:A,114:d,115:E},{30:175,65:p,77:P,78:U,79:164,113:A,114:d,115:E},{30:176,65:p,77:P,78:U,79:164,113:A,114:d,115:E},{106:[1,177]},{30:178,65:p,77:P,78:U,79:164,113:A,114:d,115:E},{30:179,63:[1,180],65:p,77:P,78:U,79:164,113:A,114:d,115:E},{30:181,65:p,77:P,78:U,79:164,113:A,114:d,115:E},{30:182,65:p,77:P,78:U,79:164,113:A,114:d,115:E},{30:183,65:p,77:P,78:U,79:164,113:A,114:d,115:E},e(K,[2,175]),e(c,[2,20]),e(pt,[2,25]),e(H1,[2,43],{18:184,10:R1}),e(N1,[2,68],{10:[1,185]}),{10:[1,186]},{30:187,65:p,77:P,78:U,79:164,113:A,114:d,115:E},{75:[1,188],76:189,113:At,116:dt},e(y1,[2,73]),e(y1,[2,75]),e(y1,[2,76]),e(y1,[2,161]),e(y1,[2,162]),{8:Q,9:Z,10:Et,11:J,12:gt,14:kt,21:191,27:bt,29:[1,190],32:Dt,42:Ft,58:Tt,73:Ct,80:135,81:St,82:_t,83:xt,84:Bt,85:mt,86:yt,87:vt,88:192,102:Vt,106:Lt,108:It,111:Rt,112:Nt,113:wt},e(b,[2,94]),e(b,[2,96]),e(b,[2,97]),e(b,[2,150]),e(b,[2,151]),e(b,[2,152]),e(b,[2,153]),e(b,[2,154]),e(b,[2,155]),e(b,[2,156]),e(b,[2,157]),e(b,[2,158]),e(b,[2,159]),e(b,[2,160]),e(b,[2,83]),e(b,[2,84]),e(b,[2,85]),e(b,[2,86]),e(b,[2,87]),e(b,[2,88]),e(b,[2,89]),e(b,[2,90]),e(b,[2,91]),e(b,[2,92]),e(b,[2,93]),{6:11,7:12,8:h,9:G,10:T,11:O,20:17,22:18,23:19,24:20,25:21,26:22,27:H,32:[1,193],33:24,34:l1,36:A1,38:d1,40:28,41:38,42:_,43:39,45:40,58:g,81:h1,82:U1,83:G1,84:M1,85:K1,86:B,99:m,102:y,103:v,106:V,108:L,110:41,111:I,112:R,113:N,118:Y1,119:j1,120:z1,121:X1},{10:R1,18:194},{10:[1,195],42:_,58:g,86:B,99:m,102:y,103:v,106:V,108:L,110:109,111:I,112:R,113:N},{10:[1,196]},{10:[1,197],103:[1,198]},e(Pt,[2,121]),{10:[1,199],42:_,58:g,86:B,99:m,102:y,103:v,106:V,108:L,110:109,111:I,112:R,113:N},{10:[1,200],42:_,58:g,86:B,99:m,102:y,103:v,106:V,108:L,110:109,111:I,112:R,113:N},{77:[1,201]},e(C,[2,102],{10:[1,202]}),e(C,[2,104],{10:[1,203]}),{77:[1,204]},e(Y,[2,177]),{77:[1,205],95:[1,206]},e(q1,[2,50],{110:109,42:_,58:g,86:B,99:m,102:y,103:v,106:V,108:L,111:I,112:R,113:N}),{31:[1,207],65:p,79:208,113:A,114:d,115:E},e(f1,[2,79]),e(f1,[2,81]),e(f1,[2,82]),e(f1,[2,146]),e(f1,[2,147]),e(f1,[2,148]),e(f1,[2,149]),{47:[1,209],65:p,79:208,113:A,114:d,115:E},{30:210,65:p,77:P,78:U,79:164,113:A,114:d,115:E},{49:[1,211],65:p,79:208,113:A,114:d,115:E},{51:[1,212],65:p,79:208,113:A,114:d,115:E},{53:[1,213],65:p,79:208,113:A,114:d,115:E},{55:[1,214],65:p,79:208,113:A,114:d,115:E},{58:[1,215]},{62:[1,216],65:p,79:208,113:A,114:d,115:E},{64:[1,217],65:p,79:208,113:A,114:d,115:E},{30:218,65:p,77:P,78:U,79:164,113:A,114:d,115:E},{31:[1,219],65:p,79:208,113:A,114:d,115:E},{65:p,67:[1,220],69:[1,221],79:208,113:A,114:d,115:E},{65:p,67:[1,223],69:[1,222],79:208,113:A,114:d,115:E},e(H1,[2,44],{42:Ot}),e(N1,[2,70]),e(N1,[2,69]),{60:[1,224],65:p,79:208,113:A,114:d,115:E},e(N1,[2,72]),e(y1,[2,74]),{30:225,65:p,77:P,78:U,79:164,113:A,114:d,115:E},e(it,l,{5:226}),e(b,[2,95]),e(k,[2,35]),{41:227,42:_,43:39,45:40,58:g,86:B,99:m,102:y,103:v,106:V,108:L,110:41,111:I,112:R,113:N},{10:$,58:t1,81:e1,89:228,102:s1,104:229,105:230,106:u1,107:i1,108:n1,109:r1},{10:$,58:t1,81:e1,89:239,101:[1,240],102:s1,104:229,105:230,106:u1,107:i1,108:n1,109:r1},{10:$,58:t1,81:e1,89:241,101:[1,242],102:s1,104:229,105:230,106:u1,107:i1,108:n1,109:r1},{102:[1,243]},{10:$,58:t1,81:e1,89:244,102:s1,104:229,105:230,106:u1,107:i1,108:n1,109:r1},{42:_,45:245,58:g,86:B,99:m,102:y,103:v,106:V,108:L,110:41,111:I,112:R,113:N},e(C,[2,101]),{77:[1,246]},{77:[1,247],95:[1,248]},e(C,[2,109]),e(C,[2,111],{10:[1,249]}),e(C,[2,112]),e(w,[2,51]),e(f1,[2,80]),e(w,[2,52]),{49:[1,250],65:p,79:208,113:A,114:d,115:E},e(w,[2,59]),e(w,[2,54]),e(w,[2,55]),e(w,[2,56]),{106:[1,251]},e(w,[2,58]),e(w,[2,60]),{64:[1,252],65:p,79:208,113:A,114:d,115:E},e(w,[2,62]),e(w,[2,63]),e(w,[2,65]),e(w,[2,64]),e(w,[2,66]),e([10,42,58,86,99,102,103,106,108,111,112,113],[2,78]),{31:[1,253],65:p,79:208,113:A,114:d,115:E},{6:11,7:12,8:h,9:G,10:T,11:O,20:17,22:18,23:19,24:20,25:21,26:22,27:H,32:[1,254],33:24,34:l1,36:A1,38:d1,40:28,41:38,42:_,43:39,45:40,58:g,81:h1,82:U1,83:G1,84:M1,85:K1,86:B,99:m,102:y,103:v,106:V,108:L,110:41,111:I,112:R,113:N,118:Y1,119:j1,120:z1,121:X1},e(q1,[2,48]),e(C,[2,114],{103:v1}),e(Ut,[2,123],{105:256,10:$,58:t1,81:e1,102:s1,106:u1,107:i1,108:n1,109:r1}),e(W,[2,125]),e(W,[2,127]),e(W,[2,128]),e(W,[2,129]),e(W,[2,130]),e(W,[2,131]),e(W,[2,132]),e(W,[2,133]),e(W,[2,134]),e(C,[2,115],{103:v1}),{10:[1,257]},e(C,[2,116],{103:v1}),{10:[1,258]},e(Pt,[2,122]),e(C,[2,98],{103:v1}),e(C,[2,99],{110:109,42:_,58:g,86:B,99:m,102:y,103:v,106:V,108:L,111:I,112:R,113:N}),e(C,[2,103]),e(C,[2,105],{10:[1,259]}),e(C,[2,106]),{95:[1,260]},{49:[1,261]},{60:[1,262]},{64:[1,263]},{8:Q,9:Z,11:J,21:264},e(k,[2,34]),{10:$,58:t1,81:e1,102:s1,104:265,105:230,106:u1,107:i1,108:n1,109:r1},e(W,[2,126]),{14:k1,42:b1,58:D1,86:F1,98:266,102:T1,103:C1,106:S1,108:_1,111:x1,112:B1,113:m1,117:84},{14:k1,42:b1,58:D1,86:F1,98:267,102:T1,103:C1,106:S1,108:_1,111:x1,112:B1,113:m1,117:84},{95:[1,268]},e(C,[2,113]),e(w,[2,53]),{30:269,65:p,77:P,78:U,79:164,113:A,114:d,115:E},e(w,[2,61]),e(it,l,{5:270}),e(Ut,[2,124],{105:256,10:$,58:t1,81:e1,102:s1,106:u1,107:i1,108:n1,109:r1}),e(C,[2,119],{117:160,10:[1,271],14:k1,42:b1,58:D1,86:F1,102:T1,103:C1,106:S1,108:_1,111:x1,112:B1,113:m1}),e(C,[2,120],{117:160,10:[1,272],14:k1,42:b1,58:D1,86:F1,102:T1,103:C1,106:S1,108:_1,111:x1,112:B1,113:m1}),e(C,[2,107]),{31:[1,273],65:p,79:208,113:A,114:d,115:E},{6:11,7:12,8:h,9:G,10:T,11:O,20:17,22:18,23:19,24:20,25:21,26:22,27:H,32:[1,274],33:24,34:l1,36:A1,38:d1,40:28,41:38,42:_,43:39,45:40,58:g,81:h1,82:U1,83:G1,84:M1,85:K1,86:B,99:m,102:y,103:v,106:V,108:L,110:41,111:I,112:R,113:N,118:Y1,119:j1,120:z1,121:X1},{10:$,58:t1,81:e1,89:275,102:s1,104:229,105:230,106:u1,107:i1,108:n1,109:r1},{10:$,58:t1,81:e1,89:276,102:s1,104:229,105:230,106:u1,107:i1,108:n1,109:r1},e(w,[2,57]),e(k,[2,33]),e(C,[2,117],{103:v1}),e(C,[2,118],{103:v1})],defaultActions:{},parseError:function(a,o){if(o.recoverable)this.trace(a);else{var f=new Error(a);throw f.hash=o,f}},parse:function(a){var o=this,f=[0],n=[],S=[null],t=[],w1=this.table,s="",j=0,Gt=0,Te=2,Mt=1,Ce=t.slice.call(arguments,1),x=Object.create(this.lexer),E1={yy:{}};for(var at in this.yy)Object.prototype.hasOwnProperty.call(this.yy,at)&&(E1.yy[at]=this.yy[at]);x.setInput(a,E1.yy),E1.yy.lexer=x,E1.yy.parser=this,typeof x.yylloc>"u"&&(x.yylloc={});var ct=x.yylloc;t.push(ct);var Se=x.options&&x.options.ranges;typeof E1.yy.parseError=="function"?this.parseError=E1.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function _e(){var c1;return c1=n.pop()||x.lex()||Mt,typeof c1!="number"&&(c1 instanceof Array&&(n=c1,c1=n.pop()),c1=o.symbols_[c1]||c1),c1}for(var M,g1,z,ot,V1={},W1,a1,Kt,Q1;;){if(g1=f[f.length-1],this.defaultActions[g1]?z=this.defaultActions[g1]:((M===null||typeof M>"u")&&(M=_e()),z=w1[g1]&&w1[g1][M]),typeof z>"u"||!z.length||!z[0]){var lt="";Q1=[];for(W1 in w1[g1])this.terminals_[W1]&&W1>Te&&Q1.push("'"+this.terminals_[W1]+"'");x.showPosition?lt="Parse error on line "+(j+1)+`:
|
|
2
|
+
`+x.showPosition()+`
|
|
3
|
+
Expecting `+Q1.join(", ")+", got '"+(this.terminals_[M]||M)+"'":lt="Parse error on line "+(j+1)+": Unexpected "+(M==Mt?"end of input":"'"+(this.terminals_[M]||M)+"'"),this.parseError(lt,{text:x.match,token:this.terminals_[M]||M,line:x.yylineno,loc:ct,expected:Q1})}if(z[0]instanceof Array&&z.length>1)throw new Error("Parse Error: multiple actions possible at state: "+g1+", token: "+M);switch(z[0]){case 1:f.push(M),S.push(x.yytext),t.push(x.yylloc),f.push(z[1]),M=null,Gt=x.yyleng,s=x.yytext,j=x.yylineno,ct=x.yylloc;break;case 2:if(a1=this.productions_[z[1]][1],V1.$=S[S.length-a1],V1._$={first_line:t[t.length-(a1||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(a1||1)].first_column,last_column:t[t.length-1].last_column},Se&&(V1._$.range=[t[t.length-(a1||1)].range[0],t[t.length-1].range[1]]),ot=this.performAction.apply(V1,[s,Gt,j,E1.yy,z[1],S,t].concat(Ce)),typeof ot<"u")return ot;a1&&(f=f.slice(0,-1*a1*2),S=S.slice(0,-1*a1),t=t.slice(0,-1*a1)),f.push(this.productions_[z[1]][0]),S.push(V1.$),t.push(V1._$),Kt=w1[f[f.length-2]][f[f.length-1]],f.push(Kt);break;case 3:return!0}}return!0}},Fe=function(){var p1={EOF:1,parseError:function(o,f){if(this.yy.parser)this.yy.parser.parseError(o,f);else throw new Error(o)},setInput:function(a,o){return this.yy=o||this.yy||{},this._input=a,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var a=this._input[0];this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a;var o=a.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),a},unput:function(a){var o=a.length,f=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-o),this.offset-=o;var n=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 S=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===n.length?this.yylloc.first_column:0)+n[n.length-f.length].length-f[0].length:this.yylloc.first_column-o},this.options.ranges&&(this.yylloc.range=[S[0],S[0]+this.yyleng-o]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(a){this.unput(this.match.slice(a))},pastInput:function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var a=this.pastInput(),o=new Array(a.length+1).join("-");return a+this.upcomingInput()+`
|
|
5
|
+
`+o+"^"},test_match:function(a,o){var f,n,S;if(this.options.backtrack_lexer&&(S={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(S.yylloc.range=this.yylloc.range.slice(0))),n=a[0].match(/(?:\r\n?|\n).*/g),n&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+a[0].length},this.yytext+=a[0],this.match+=a[0],this.matches=a,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(a[0].length),this.matched+=a[0],f=this.performAction.call(this,this.yy,this,o,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),f)return f;if(this._backtrack){for(var t in S)this[t]=S[t];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var a,o,f,n;this._more||(this.yytext="",this.match="");for(var S=this._currentRules(),t=0;t<S.length;t++)if(f=this._input.match(this.rules[S[t]]),f&&(!o||f[0].length>o[0].length)){if(o=f,n=t,this.options.backtrack_lexer){if(a=this.test_match(f,S[t]),a!==!1)return a;if(this._backtrack){o=!1;continue}else return!1}else if(!this.options.flex)break}return o?(a=this.test_match(o,S[n]),a!==!1?a:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
6
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var o=this.next();return o||this.lex()},begin:function(o){this.conditionStack.push(o)},popState:function(){var o=this.conditionStack.length-1;return o>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(o){return o=this.conditionStack.length-1-Math.abs(o||0),o>=0?this.conditionStack[o]:"INITIAL"},pushState:function(o){this.begin(o)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(o,f,n,S){switch(n){case 0:return this.begin("acc_title"),34;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),36;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:this.begin("callbackname");break;case 8:this.popState();break;case 9:this.popState(),this.begin("callbackargs");break;case 10:return 92;case 11:this.popState();break;case 12:return 93;case 13:return"MD_STR";case 14:this.popState();break;case 15:this.begin("md_string");break;case 16:return"STR";case 17:this.popState();break;case 18:this.pushState("string");break;case 19:return 81;case 20:return 99;case 21:return 82;case 22:return 101;case 23:return 83;case 24:return 84;case 25:return 94;case 26:this.begin("click");break;case 27:this.popState();break;case 28:return 85;case 29:return o.lex.firstGraph()&&this.begin("dir"),12;case 30:return o.lex.firstGraph()&&this.begin("dir"),12;case 31:return o.lex.firstGraph()&&this.begin("dir"),12;case 32:return 27;case 33:return 32;case 34:return 95;case 35:return 95;case 36:return 95;case 37:return 95;case 38:return this.popState(),13;case 39:return this.popState(),14;case 40:return this.popState(),14;case 41:return this.popState(),14;case 42:return this.popState(),14;case 43:return this.popState(),14;case 44:return this.popState(),14;case 45:return this.popState(),14;case 46:return this.popState(),14;case 47:return this.popState(),14;case 48:return this.popState(),14;case 49:return 118;case 50:return 119;case 51:return 120;case 52:return 121;case 53:return 102;case 54:return 108;case 55:return 44;case 56:return 58;case 57:return 42;case 58:return 8;case 59:return 103;case 60:return 112;case 61:return this.popState(),75;case 62:return this.pushState("edgeText"),73;case 63:return 116;case 64:return this.popState(),75;case 65:return this.pushState("thickEdgeText"),73;case 66:return 116;case 67:return this.popState(),75;case 68:return this.pushState("dottedEdgeText"),73;case 69:return 116;case 70:return 75;case 71:return this.popState(),51;case 72:return"TEXT";case 73:return this.pushState("ellipseText"),50;case 74:return this.popState(),53;case 75:return this.pushState("text"),52;case 76:return this.popState(),55;case 77:return this.pushState("text"),54;case 78:return 56;case 79:return this.pushState("text"),65;case 80:return this.popState(),62;case 81:return this.pushState("text"),61;case 82:return this.popState(),47;case 83:return this.pushState("text"),46;case 84:return this.popState(),67;case 85:return this.popState(),69;case 86:return 114;case 87:return this.pushState("trapText"),66;case 88:return this.pushState("trapText"),68;case 89:return 115;case 90:return 65;case 91:return 87;case 92:return"SEP";case 93:return 86;case 94:return 112;case 95:return 108;case 96:return 42;case 97:return 106;case 98:return 111;case 99:return 113;case 100:return this.popState(),60;case 101:return this.pushState("text"),60;case 102:return this.popState(),49;case 103:return this.pushState("text"),48;case 104:return this.popState(),31;case 105:return this.pushState("text"),29;case 106:return this.popState(),64;case 107:return this.pushState("text"),63;case 108:return"TEXT";case 109:return"QUOTE";case 110:return 9;case 111:return 10;case 112:return 11}},rules:[/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["][`])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:["])/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s])/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:flowchart-elk\b)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:[^-]|-(?!-)+)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:[^=]|=(?!))/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:[^\.]|\.(?!))/,/^(?:\s*~~[\~]+\s*)/,/^(?:[-/\)][\)])/,/^(?:[^\(\)\[\]\{\}]|!\)+)/,/^(?:\(-)/,/^(?:\]\))/,/^(?:\(\[)/,/^(?:\]\])/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:>)/,/^(?:\)\])/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\(\(\()/,/^(?:[\\(?=\])][\]])/,/^(?:\/(?=\])\])/,/^(?:\/(?!\])|\\(?!\])|[^\\\[\]\(\)\{\}\/]+)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:\*)/,/^(?:#)/,/^(?:&)/,/^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/,/^(?:-)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\|)/,/^(?:\))/,/^(?:\()/,/^(?:\])/,/^(?:\[)/,/^(?:(\}))/,/^(?:\{)/,/^(?:[^\[\]\(\)\{\}\|\"]+)/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:\s)/,/^(?:$)/],conditions:{callbackargs:{rules:[11,12,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},callbackname:{rules:[8,9,10,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},href:{rules:[15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},click:{rules:[15,18,27,28,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},dottedEdgeText:{rules:[15,18,67,69,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},thickEdgeText:{rules:[15,18,64,66,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},edgeText:{rules:[15,18,61,63,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},trapText:{rules:[15,18,70,73,75,77,81,83,84,85,86,87,88,101,103,105,107],inclusive:!1},ellipseText:{rules:[15,18,70,71,72,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},text:{rules:[15,18,70,73,74,75,76,77,80,81,82,83,87,88,100,101,102,103,104,105,106,107,108],inclusive:!1},vertex:{rules:[15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},dir:{rules:[15,18,38,39,40,41,42,43,44,45,46,47,48,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},acc_descr_multiline:{rules:[5,6,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},acc_descr:{rules:[3,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},acc_title:{rules:[1,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},md_string:{rules:[13,14,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},string:{rules:[15,16,17,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},INITIAL:{rules:[0,2,4,7,15,18,19,20,21,22,23,24,25,26,29,30,31,32,33,34,35,36,37,49,50,51,52,53,54,55,56,57,58,59,60,61,62,64,65,67,68,70,73,75,77,78,79,81,83,87,88,89,90,91,92,93,94,95,96,97,98,99,101,103,105,107,109,110,111,112],inclusive:!0}}};return p1}();nt.lexer=Fe;function rt(){this.yy={}}return rt.prototype=nt,nt.Parser=rt,new rt}();ht.parser=ht;const xe=ht,Be="flowchart-";let Yt=0,I1=F.getConfig(),D={},q=[],L1={},o1=[],J1={},$1={},Z1=0,ft=!0,X,tt,et=[];const st=e=>F.common$1.sanitizeText(e,I1),P1=function(e){const u=Object.keys(D);for(const i of u)if(D[i].id===e)return D[i].domId;return e},jt=function(e,u,i,r,c,l,h={}){let G,T=e;T!==void 0&&T.trim().length!==0&&(D[T]===void 0&&(D[T]={id:T,labelType:"text",domId:Be+T+"-"+Yt,styles:[],classes:[]}),Yt++,u!==void 0?(I1=F.getConfig(),G=st(u.text.trim()),D[T].labelType=u.type,G[0]==='"'&&G[G.length-1]==='"'&&(G=G.substring(1,G.length-1)),D[T].text=G):D[T].text===void 0&&(D[T].text=e),i!==void 0&&(D[T].type=i),r!=null&&r.forEach(function(O){D[T].styles.push(O)}),c!=null&&c.forEach(function(O){D[T].classes.push(O)}),l!==void 0&&(D[T].dir=l),D[T].props===void 0?D[T].props=h:h!==void 0&&Object.assign(D[T].props,h))},zt=function(e,u,i){const l={start:e,end:u,type:void 0,text:"",labelType:"text"};F.log$1.info("abc78 Got edge...",l);const h=i.text;if(h!==void 0&&(l.text=st(h.text.trim()),l.text[0]==='"'&&l.text[l.text.length-1]==='"'&&(l.text=l.text.substring(1,l.text.length-1)),l.labelType=h.type),i!==void 0&&(l.type=i.type,l.stroke=i.stroke,l.length=i.length),(l==null?void 0:l.length)>10&&(l.length=10),q.length<(I1.maxEdges??500))F.log$1.info("abc78 pushing edge..."),q.push(l);else throw new Error(`Edge limit exceeded. ${q.length} edges found, but the limit is ${I1.maxEdges}.
|
|
7
|
+
|
|
8
|
+
Initialize mermaid with maxEdges set to a higher number to allow more edges.
|
|
9
|
+
You cannot set this config via configuration inside the diagram as it is a secure config.
|
|
10
|
+
You have to call mermaid.initialize.`)},Xt=function(e,u,i){F.log$1.info("addLink (abc78)",e,u,i);let r,c;for(r=0;r<e.length;r++)for(c=0;c<u.length;c++)zt(e[r],u[c],i)},Ht=function(e,u){e.forEach(function(i){i==="default"?q.defaultInterpolate=u:q[i].interpolate=u})},qt=function(e,u){e.forEach(function(i){if(i>=q.length)throw new Error(`The index ${i} for linkStyle is out of bounds. Valid indices for linkStyle are between 0 and ${q.length-1}. (Help: Ensure that the index is within the range of existing edges.)`);i==="default"?q.defaultStyle=u:(F.utils.isSubstringInArray("fill",u)===-1&&u.push("fill:none"),q[i].style=u)})},Wt=function(e,u){e.split(",").forEach(function(i){L1[i]===void 0&&(L1[i]={id:i,styles:[],textStyles:[]}),u!=null&&u.forEach(function(r){if(r.match("color")){const c=r.replace("fill","bgFill").replace("color","fill");L1[i].textStyles.push(c)}L1[i].styles.push(r)})})},Qt=function(e){X=e,X.match(/.*</)&&(X="RL"),X.match(/.*\^/)&&(X="BT"),X.match(/.*>/)&&(X="LR"),X.match(/.*v/)&&(X="TB"),X==="TD"&&(X="TB")},ut=function(e,u){e.split(",").forEach(function(i){let r=i;D[r]!==void 0&&D[r].classes.push(u),J1[r]!==void 0&&J1[r].classes.push(u)})},me=function(e,u){e.split(",").forEach(function(i){u!==void 0&&($1[tt==="gen-1"?P1(i):i]=st(u))})},ye=function(e,u,i){let r=P1(e);if(F.getConfig().securityLevel!=="loose"||u===void 0)return;let c=[];if(typeof i=="string"){c=i.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let l=0;l<c.length;l++){let h=c[l].trim();h.charAt(0)==='"'&&h.charAt(h.length-1)==='"'&&(h=h.substr(1,h.length-2)),c[l]=h}}c.length===0&&c.push(e),D[e]!==void 0&&(D[e].haveCallback=!0,et.push(function(){const l=document.querySelector(`[id="${r}"]`);l!==null&&l.addEventListener("click",function(){F.utils.runFunc(u,...c)},!1)}))},Zt=function(e,u,i){e.split(",").forEach(function(r){D[r]!==void 0&&(D[r].link=F.utils.formatUrl(u,I1),D[r].linkTarget=i)}),ut(e,"clickable")},Jt=function(e){if($1.hasOwnProperty(e))return $1[e]},$t=function(e,u,i){e.split(",").forEach(function(r){ye(r,u,i)}),ut(e,"clickable")},te=function(e){et.forEach(function(u){u(e)})},ee=function(){return X.trim()},se=function(){return D},ue=function(){return q},ie=function(){return L1},ne=function(e){let u=F.select(".mermaidTooltip");(u._groups||u)[0][0]===null&&(u=F.select("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),F.select(e).select("svg").selectAll("g.node").on("mouseover",function(){const c=F.select(this);if(c.attr("title")===null)return;const h=this.getBoundingClientRect();u.transition().duration(200).style("opacity",".9"),u.text(c.attr("title")).style("left",window.scrollX+h.left+(h.right-h.left)/2+"px").style("top",window.scrollY+h.bottom+"px"),u.html(u.html().replace(/<br\/>/g,"<br/>")),c.classed("hover",!0)}).on("mouseout",function(){u.transition().duration(500).style("opacity",0),F.select(this).classed("hover",!1)})};et.push(ne);const re=function(e="gen-1"){D={},L1={},q=[],et=[ne],o1=[],J1={},Z1=0,$1={},ft=!0,tt=e,I1=F.getConfig(),F.clear()},ae=e=>{tt=e||"gen-2"},ce=function(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"},oe=function(e,u,i){let r=e.text.trim(),c=i.text;e===i&&i.text.match(/\s/)&&(r=void 0);function l(H){const l1={boolean:{},number:{},string:{}},A1=[];let d1;return{nodeList:H.filter(function(g){const h1=typeof g;return g.stmt&&g.stmt==="dir"?(d1=g.value,!1):g.trim()===""?!1:h1 in l1?l1[h1].hasOwnProperty(g)?!1:l1[h1][g]=!0:A1.includes(g)?!1:A1.push(g)}),dir:d1}}let h=[];const{nodeList:G,dir:T}=l(h.concat.apply(h,u));if(h=G,tt==="gen-1")for(let H=0;H<h.length;H++)h[H]=P1(h[H]);r=r||"subGraph"+Z1,c=c||"",c=st(c),Z1=Z1+1;const O={id:r,nodes:h,title:c.trim(),classes:[],dir:T,labelType:i.type};return F.log$1.info("Adding",O.id,O.nodes,O.dir),O.nodes=ke(O,o1).nodes,o1.push(O),J1[r]=O,r},ve=function(e){for(const[u,i]of o1.entries())if(i.id===e)return u;return-1};let O1=-1;const le=[],he=function(e,u){const i=o1[u].nodes;if(O1=O1+1,O1>2e3)return;if(le[O1]=u,o1[u].id===e)return{result:!0,count:0};let r=0,c=1;for(;r<i.length;){const l=ve(i[r]);if(l>=0){const h=he(e,l);if(h.result)return{result:!0,count:c+h.count};c=c+h.count}r=r+1}return{result:!1,count:c}},fe=function(e){return le[e]},pe=function(){O1=-1,o1.length>0&&he("none",o1.length-1)},Ae=function(){return o1},de=()=>ft?(ft=!1,!0):!1,Ve=e=>{let u=e.trim(),i="arrow_open";switch(u[0]){case"<":i="arrow_point",u=u.slice(1);break;case"x":i="arrow_cross",u=u.slice(1);break;case"o":i="arrow_circle",u=u.slice(1);break}let r="normal";return u.includes("=")&&(r="thick"),u.includes(".")&&(r="dotted"),{type:i,stroke:r}},Le=(e,u)=>{const i=u.length;let r=0;for(let c=0;c<i;++c)u[c]===e&&++r;return r},Ie=e=>{const u=e.trim();let i=u.slice(0,-1),r="arrow_open";switch(u.slice(-1)){case"x":r="arrow_cross",u[0]==="x"&&(r="double_"+r,i=i.slice(1));break;case">":r="arrow_point",u[0]==="<"&&(r="double_"+r,i=i.slice(1));break;case"o":r="arrow_circle",u[0]==="o"&&(r="double_"+r,i=i.slice(1));break}let c="normal",l=i.length-1;i[0]==="="&&(c="thick"),i[0]==="~"&&(c="invisible");let h=Le(".",i);return h&&(c="dotted",l=h),{type:r,stroke:c,length:l}},Ee=(e,u)=>{const i=Ie(e);let r;if(u){if(r=Ve(u),r.stroke!==i.stroke)return{type:"INVALID",stroke:"INVALID"};if(r.type==="arrow_open")r.type=i.type;else{if(r.type!==i.type)return{type:"INVALID",stroke:"INVALID"};r.type="double_"+r.type}return r.type==="double_arrow"&&(r.type="double_arrow_point"),r.length=i.length,r}return i},ge=(e,u)=>{let i=!1;return e.forEach(r=>{r.nodes.indexOf(u)>=0&&(i=!0)}),i},ke=(e,u)=>{const i=[];return e.nodes.forEach((r,c)=>{ge(u,r)||i.push(e.nodes[c])}),{nodes:i}},be={firstGraph:de},De={defaultConfig:()=>F.defaultConfig.flowchart,setAccTitle:F.setAccTitle,getAccTitle:F.getAccTitle,getAccDescription:F.getAccDescription,setAccDescription:F.setAccDescription,addVertex:jt,lookUpDomId:P1,addLink:Xt,updateLinkInterpolate:Ht,updateLink:qt,addClass:Wt,setDirection:Qt,setClass:ut,setTooltip:me,getTooltip:Jt,setClickEvent:$t,setLink:Zt,bindFunctions:te,getDirection:ee,getVertices:se,getEdges:ue,getClasses:ie,clear:re,setGen:ae,defaultStyle:ce,addSubGraph:oe,getDepthFirstPos:fe,indexNodes:pe,getSubGraphs:Ae,destructLink:Ee,lex:be,exists:ge,makeUniq:ke,setDiagramTitle:F.setDiagramTitle,getDiagramTitle:F.getDiagramTitle},Re=Object.freeze(Object.defineProperty({__proto__:null,addClass:Wt,addLink:Xt,addSingleLink:zt,addSubGraph:oe,addVertex:jt,bindFunctions:te,clear:re,default:De,defaultStyle:ce,destructLink:Ee,firstGraph:de,getClasses:ie,getDepthFirstPos:fe,getDirection:ee,getEdges:ue,getSubGraphs:Ae,getTooltip:Jt,getVertices:se,indexNodes:pe,lex:be,lookUpDomId:P1,setClass:ut,setClickEvent:$t,setDirection:Qt,setGen:ae,setLink:Zt,updateLink:qt,updateLinkInterpolate:Ht},Symbol.toStringTag,{value:"Module"}));exports.db=Re;exports.flowDb=De;exports.parser$1=xe;
|