@layers-app/editor 0.2.0 → 0.2.2
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/dist/index.cjs +2 -2
- package/dist/index.js +2 -2
- package/dist/{layers.CNLMZ-n8.js → layers.0F4YVLp2.js} +1 -1
- package/dist/{layers.B3BBy8oP.js → layers.0VD_lQDW.js} +1 -1
- package/dist/{layers.Ddk469Dh.js → layers.2c8neW9s.js} +1 -1
- package/dist/{layers.BMC2kTTB.js → layers.35zYsSGA.js} +3 -3
- package/dist/{layers.mp_9sP04.js → layers.3fHuIWPj.js} +1 -1
- package/dist/{layers.BbArzt5V.js → layers.4CKvGDBj.js} +1 -1
- package/dist/{layers.BtZHGQ6E.js → layers.4hMJo09s.js} +1 -1
- package/dist/layers.52famHy6.js +1 -0
- package/dist/layers.5MjpdN9h.js +7 -0
- package/dist/{layers.Bg-rk-IY.js → layers.5QTOXn6B.js} +7 -7
- package/dist/{layers.4B2wOIR1.js → layers.5bRls69E.js} +1 -1
- package/dist/layers.70-mDRns.js +7 -0
- package/dist/{layers.umahO1ag.js → layers.8Xhcyc3R.js} +1 -1
- package/dist/{layers.Bs1Yuja3.js → layers.8yJMoQR5.js} +5 -5
- package/dist/{layers.CR64bkIJ.js → layers.9FcR61sH.js} +1 -1
- package/dist/layers.9kMKYgzy.js +425 -0
- package/dist/{layers.YCPGkQIi.js → layers.AR5MtL5j.js} +1 -1
- package/dist/{layers.BeoJyn39.js → layers.B-D6NGcR.js} +1 -1
- package/dist/layers.B-JWed8S.js +122 -0
- package/dist/{layers.DVOYRLqd.js → layers.B-WhNV_G.js} +1 -1
- package/dist/layers.B-YVtk3d.js +207 -0
- package/dist/{layers.Cq0Ch5Iv.js → layers.B02pzIIg.js} +1 -1
- package/dist/{layers.JP-lzz5f.js → layers.B26uOkwH.js} +1 -1
- package/dist/{layers.C4ls7ISP.js → layers.B2IUimpm.js} +1 -1
- package/dist/layers.B31sa6rr.js +139 -0
- package/dist/layers.B3D4g2HH.js +1 -0
- package/dist/{layers.CGpLdUiP.js → layers.B3bY-ou_.js} +2 -2
- package/dist/layers.B7z4hw4p.js +51 -0
- package/dist/layers.B8GNrynA.js +6 -0
- package/dist/{layers.fDF0XXNl.js → layers.B9cgMIYN.js} +1 -1
- package/dist/layers.BAZ7VG7y.js +1 -0
- package/dist/{layers.C94fZyIE.js → layers.BBMUBp9d.js} +1 -1
- package/dist/{layers.B2Pkrdw1.js → layers.BC8EPkM1.js} +1 -1
- package/dist/{layers.BahDi8Jq.js → layers.BEBnBBBW.js} +1 -1
- package/dist/{layers.Dk0kd6-B.js → layers.BHu9OC6O.js} +1 -1
- package/dist/{layers.TyARdHUj.js → layers.BI9sEtHQ.js} +4 -4
- package/dist/{layers.DCNkKcra.js → layers.BKQGrfL6.js} +149 -143
- package/dist/{layers.BRDVz-vO.js → layers.BLB-_Qmf.js} +1 -1
- package/dist/{layers.DzuES31X.js → layers.BLvIp7w9.js} +64 -64
- package/dist/{layers.C_TMBTwJ.js → layers.BN5jyCHu.js} +2 -2
- package/dist/{layers.7AsF2nNX.js → layers.BN6XfzOG.js} +1 -1
- package/dist/{layers.D_VA8g4H.js → layers.BQMg8YcH.js} +4 -4
- package/dist/{layers.C22FTFEe.js → layers.BRemUPLR.js} +1 -1
- package/dist/{layers.Cs8AaSS3.js → layers.BSmQmuya.js} +1 -1
- package/dist/{layers.3Ou02qfO.js → layers.BT-Zowct.js} +5 -5
- package/dist/{layers.BWcGUFHK.js → layers.BTqJA0pT.js} +1 -1
- package/dist/{layers.f6YInEN9.js → layers.BUbI0ic-.js} +1 -1
- package/dist/{layers.BKC37Rv9.js → layers.BYBbRM55.js} +3 -3
- package/dist/{layers.CS2XhZuy.js → layers.BYDDbIIf.js} +1 -1
- package/dist/{layers.B_tG84JI.js → layers.BYzGqi2X.js} +1 -1
- package/dist/{layers.DAjImaDP.js → layers.B_0_ehec.js} +1 -1
- package/dist/{layers.O_QfH9Tw.js → layers.BbCfEXyj.js} +2 -2
- package/dist/{layers.BVMj1jxT.js → layers.Bcyj5-mw.js} +1 -1
- package/dist/{layers.Bp4GA39y.js → layers.BeEd9b3v.js} +1 -1
- package/dist/{layers.B26_Cpa_.js → layers.Bf8DIIJg.js} +1 -1
- package/dist/{layers.BWnw9UAM.js → layers.BffSZvB5.js} +1 -1
- package/dist/{layers.BeQ4Whpe.js → layers.BgMZDjpU.js} +1 -1
- package/dist/{layers.BODaZCcU.js → layers.BgOa2ZQq.js} +1 -1
- package/dist/{layers.OwyTRmnO.js → layers.BiJ8hfRt.js} +2 -2
- package/dist/{layers.DcfJoQ0g.js → layers.Bix14Gyj.js} +1 -1
- package/dist/{layers.Ky-Kjdnk.js → layers.BkI15sb3.js} +4 -4
- package/dist/{layers.D3uU6aTA.js → layers.BmnCi3BA.js} +1 -1
- package/dist/{layers.D8x1H5iy.js → layers.Bn0pZfJP.js} +1 -1
- package/dist/layers.BnzcEpZ-.js +133 -0
- package/dist/{layers.DrMkXfHK.js → layers.BoGiK5Q3.js} +1 -1
- package/dist/{layers.s5JSe8EA.js → layers.BrLfRSb6.js} +7603 -7501
- package/dist/{layers.eyx0ycIx.js → layers.BvY9Vbf5.js} +1 -1
- package/dist/{layers.Bh3cQUDo.js → layers.BvxaTTGy.js} +1 -1
- package/dist/{layers.IVSRrFHN.js → layers.BxUcR6lS.js} +1 -1
- package/dist/{layers.DHSCEHR8.js → layers.BxgEYHek.js} +1 -1
- package/dist/{layers.rze-LVSQ.js → layers.Bycyf6i4.js} +3 -3
- package/dist/{layers.BrEysPok.js → layers.BzBY9_VP.js} +1 -1
- package/dist/{layers.BbLvjR2J.js → layers.C5qx0lm-.js} +1 -1
- package/dist/{layers.B8vpQUjo.js → layers.C63_nn-c.js} +1 -1
- package/dist/{layers.BwoIBDJT.js → layers.C6KSH7-K.js} +5 -5
- package/dist/{layers.D0DwN9e2.js → layers.C7Bp-YD0.js} +1 -1
- package/dist/{layers.BjijCp-F.js → layers.C7wlXQdJ.js} +1 -1
- package/dist/{layers.CPqqkX8Z.js → layers.C8_lu5UH.js} +4 -4
- package/dist/{layers.Bw0ntPL0.js → layers.CB16iL01.js} +1 -1
- package/dist/{layers.DgZOLgtm.js → layers.CBHqAOYd.js} +1 -1
- package/dist/{layers.DxK9eunI.js → layers.CBdo3bZY.js} +5 -5
- package/dist/{layers.CV4vxTrW.js → layers.CCA_JMcB.js} +5 -5
- package/dist/{layers.DRho07Me.js → layers.CCOSIepd.js} +1 -1
- package/dist/{layers.v61VCm7Q.js → layers.CCgXCoxo.js} +10 -10
- package/dist/{layers.C1pkM2ng.js → layers.CDCOafi_.js} +1 -1
- package/dist/{layers.CLLE0XNM.js → layers.CFFbs4Fg.js} +9 -9
- package/dist/{layers.CJDFmwM6.js → layers.CG2_6S6j.js} +1 -1
- package/dist/{layers.CEbG0GWT.js → layers.CIUNTFjL.js} +1 -1
- package/dist/{layers.tv97TVVq.js → layers.CLJ_bqDt.js} +7 -7
- package/dist/{layers.Bt2QXZPR.js → layers.CMXxlWls.js} +6 -6
- package/dist/{layers.DAdht3uC.js → layers.CMlDQ4cq.js} +1 -1
- package/dist/{layers.D37Y-iXY.js → layers.CPpq-0-3.js} +1 -1
- package/dist/{layers.CRBfbmxk.js → layers.CSOcpruf.js} +3 -3
- package/dist/{layers.CC5jTanD.js → layers.CTJult8H.js} +1 -1
- package/dist/{layers.BxS3YGIg.js → layers.CTvU95kc.js} +8 -8
- package/dist/{layers.CI18gAPx.js → layers.CUjzCCDm.js} +1 -1
- package/dist/{layers.B5mng6BK.js → layers.CV6zTkfI.js} +3 -3
- package/dist/layers.CWD_iM8P.js +10 -0
- package/dist/{layers.GDyqPJjS.js → layers.CXj15Ps-.js} +1 -1
- package/dist/{layers.CI9cIkVg.js → layers.CXvT2UC9.js} +1 -1
- package/dist/{layers.dd9VpJ2j.js → layers.CXvVwX4x.js} +1 -1
- package/dist/{layers.COPquQl9.js → layers.CYTk83wT.js} +1 -1
- package/dist/layers.CZm6rGMB.js +61 -0
- package/dist/{layers.CFNz078z.js → layers.C_-Ax18X.js} +3 -3
- package/dist/{layers.DeMtErmI.js → layers.CbgVuTnA.js} +1 -1
- package/dist/{layers.BZ8rMF0E.js → layers.CcBXzLii.js} +2 -2
- package/dist/layers.Cd1w5n0X.js +160 -0
- package/dist/layers.CdpHcFy4.js +8 -0
- package/dist/{layers.ClRou2HW.js → layers.CeVO_M7c.js} +1 -1
- package/dist/{layers.D-TocJgP.js → layers.CfhsXiUG.js} +1 -1
- package/dist/layers.Cg4yfmEg.js +7 -0
- package/dist/{layers.CSAG6lyD.js → layers.CkrYzAn-.js} +1 -1
- package/dist/{layers.CUS1mIbU.js → layers.ClXOWap_.js} +1 -1
- package/dist/{layers.oAr0GPvq.js → layers.Clyu9Us_.js} +1 -1
- package/dist/{layers._9mQNYpC.js → layers.Cmd31MCh.js} +7 -7
- package/dist/{layers.CmawNzHJ.js → layers.CoyIFAVi.js} +1 -1
- package/dist/{layers.BtsKbOpT.js → layers.CpTgN5MB.js} +1 -1
- package/dist/{layers.fwvLLyfC.js → layers.Cs4xvX_E.js} +3 -3
- package/dist/{layers.OucwMvYb.js → layers.CsZt8Z7H.js} +1 -1
- package/dist/{layers.BfiIrqIN.js → layers.CsnR-FHC.js} +1 -1
- package/dist/{layers.Dd8DmCpU.js → layers.CvJTPHg2.js} +1 -1
- package/dist/{layers.3ncr24k-.js → layers.CvPWRTZP.js} +1 -1
- package/dist/{layers.B1Se8OaH.js → layers.CwSCM7t9.js} +1 -1
- package/dist/{layers.DStKHWvW.js → layers.CxungwaX.js} +1 -1
- package/dist/{layers.7H2WL17C.js → layers.Cy_zyir1.js} +1 -1
- package/dist/{layers.CNHqdpb5.js → layers.D-KUaT13.js} +1 -1
- package/dist/{layers.CRqgQB8J.js → layers.D0LUaNf6.js} +3298 -3296
- package/dist/{layers.DwIdSTnx.js → layers.D3ie5lZH.js} +1 -1
- package/dist/{layers.99biaYEX.js → layers.D42Q8AOa.js} +1 -1
- package/dist/{layers.7PjUehxE.js → layers.D4ynF3yn.js} +1 -1
- package/dist/{layers.CwIlknpB.js → layers.D6zG1isk.js} +1 -1
- package/dist/{layers.C1IDSQaT.js → layers.D8VZU5xA.js} +1 -1
- package/dist/{layers.D_fROAHm.js → layers.D8v17Kex.js} +1 -1
- package/dist/{layers.D1ZA3f6W.js → layers.DDSZLEv8.js} +3 -3
- package/dist/{layers.Bu-x_OvJ.js → layers.DEh849IH.js} +1 -1
- package/dist/{layers.BH9wqgDY.js → layers.DICExkiD.js} +1 -1
- package/dist/{layers.U3puEHYK.js → layers.DJyLK8NN.js} +9 -9
- package/dist/{layers.CTwL_3Cz.js → layers.DKgc2UPF.js} +6 -6
- package/dist/{layers.CxtTQD6P.js → layers.DLrHHn6O.js} +1 -1
- package/dist/{layers.Bt8u_f-g.js → layers.DLvSgg1j.js} +1 -1
- package/dist/{layers.D2U6dFrQ.js → layers.DRThkhb-.js} +1 -1
- package/dist/{layers.Cg7KtW25.js → layers.DSCDI0hj.js} +1 -1
- package/dist/{layers.CyziF_SQ.js → layers.DUIaCr3w.js} +1 -1
- package/dist/layers.DURGPkGd.js +1 -0
- package/dist/{layers.BMwaDYYZ.js → layers.DVU5gOz7.js} +1 -1
- package/dist/{layers.BUmiV0yN.js → layers.DVnFApRs.js} +1 -1
- package/dist/{layers.BFTIBVaT.js → layers.DWKh0bxp.js} +1 -1
- package/dist/{layers.BBlxht-2.js → layers.DXQ151AT.js} +8 -8
- package/dist/{layers.D909hx91.js → layers.DadXDcU9.js} +4 -4
- package/dist/{layers.DgWiivNQ.js → layers.Dbl9SWXe.js} +34 -34
- package/dist/{layers.vNQeOI7i.js → layers.DeWpRm8S.js} +1 -1
- package/dist/{layers.09-oE2J6.js → layers.DeZkhcY6.js} +1 -1
- package/dist/{layers.rOgZc7GK.js → layers.Dfjo7U5Y.js} +1 -1
- package/dist/{layers.CTm23lwt.js → layers.DhYiQsca.js} +1 -1
- package/dist/layers.DjWiinie.js +70 -0
- package/dist/layers.DjkEfBcd.js +1 -0
- package/dist/{layers.D8h1OdVA.js → layers.DkVk5c8Y.js} +6 -6
- package/dist/{layers.CIPEXJ_Z.js → layers.Dkcn0PJ4.js} +2 -2
- package/dist/{layers.VCVkMi6g.js → layers.DmGNcA03.js} +1 -1
- package/dist/{layers.C8ovo18Q.js → layers.DnbyHEyP.js} +1 -1
- package/dist/{layers.CJKF-1iy.js → layers.DnzgqxNL.js} +1 -1
- package/dist/layers.Dos5JhV7.js +10 -0
- package/dist/{layers.BOuSIBai.js → layers.DrZ_6nLR.js} +1 -1
- package/dist/{layers.CU8oxKiy.js → layers.Dr_GuX3B.js} +1 -1
- package/dist/{layers.COLyJ5LO.js → layers.Du3MtzCK.js} +3 -3
- package/dist/{layers.lqQ4_QwL.js → layers.DxT3M_n_.js} +1 -1
- package/dist/{layers.CyhLcp6y.js → layers.Dy5HywqQ.js} +18 -18
- package/dist/{layers.BmTC_qEU.js → layers.DyOerMOO.js} +7 -7
- package/dist/{layers.CWT_90sw.js → layers.DyW56kfJ.js} +1 -1
- package/dist/{layers.DpBckJG9.js → layers.EJCk5q9h.js} +1 -1
- package/dist/{layers.bGcD7F4_.js → layers.G0Hy6_r0.js} +1 -1
- package/dist/{layers.iWHM-07P.js → layers.H7ZdlWaz.js} +1 -1
- package/dist/{layers.Cw-Ru6_X.js → layers.HZDrvVZ_.js} +1 -1
- package/dist/{layers.Dj1UIVrM.js → layers.JV8VqxPJ.js} +1 -1
- package/dist/{layers.BxGdSKRP.js → layers.JkI-2tky.js} +2 -2
- package/dist/{layers.CqMjEixm.js → layers.K-5OCs0S.js} +1 -1
- package/dist/{layers.BulWAmk4.js → layers.MUAIuNwW.js} +1 -1
- package/dist/{layers.BCkBAe54.js → layers.N0r3OrGA.js} +1 -1
- package/dist/{layers.SsYje0m0.js → layers.NW_jMcHV.js} +1 -1
- package/dist/{layers.DBc1SfKV.js → layers.QhXcTlNu.js} +1 -1
- package/dist/{layers.CTcZFAZr.js → layers.Qoe7c5zq.js} +1 -1
- package/dist/{layers.DvkFfQRh.js → layers.SZnQBQCh.js} +1 -1
- package/dist/{layers.Ct4uwlVm.js → layers.V1JpmTJ-.js} +5 -5
- package/dist/{layers.BQKuAwQB.js → layers.YAOhWgD1.js} +1 -1
- package/dist/{layers.CqF4H_mD.js → layers.Yq02aUNE.js} +1 -1
- package/dist/{layers.BvS5Wia8.js → layers._-TDHzf7.js} +3 -3
- package/dist/{layers.CWpeLc0t.js → layers._7y-Xj15.js} +1 -1
- package/dist/{layers.CN8r250h.js → layers.an4EkQNe.js} +1 -1
- package/dist/{layers.DXz6eUMI.js → layers.aqWSxJBA.js} +1 -1
- package/dist/{layers.Ddq-N8Yz.js → layers.b4JJbLKL.js} +1 -1
- package/dist/{layers.DCRFU33R.js → layers.bd4UZYau.js} +1 -1
- package/dist/{layers.BV8IclsW.js → layers.cCX18abj.js} +10 -10
- package/dist/{layers.D-kFJ8el.js → layers.f1mppJzZ.js} +1 -1
- package/dist/{layers.DpoYMK1j.js → layers.f5MGtbUo.js} +1 -1
- package/dist/{layers.BLDa5caG.js → layers.jeBs5I3w.js} +39 -39
- package/dist/{layers.Dimd3uv_.js → layers.l1b8DDPI.js} +1 -1
- package/dist/{layers.STzdH4sy.js → layers.l8pum33R.js} +1 -1
- package/dist/{layers.wt0qnNWd.js → layers.qkfFfzYb.js} +9 -9
- package/dist/{layers.DrqT2qdE.js → layers.qqCEeUgc.js} +1 -1
- package/dist/{layers.C6FjBgZG.js → layers.qsV-U57E.js} +1 -1
- package/dist/{layers.BhzBGGFh.js → layers.rFaWtL_v.js} +4 -4
- package/dist/{layers.D5zd0los.js → layers.s4QuadEl.js} +1 -1
- package/dist/{layers.BvuDBP9J.js → layers.sErNmXIW.js} +1 -1
- package/dist/{layers.CQuzRJqP.js → layers.uU2u2bPA.js} +1 -1
- package/dist/{layers.CwoIo7W8.js → layers.vBwtO_oV.js} +1 -1
- package/dist/{layers.CxfZ-PyC.js → layers.vcAXI_CD.js} +1 -1
- package/dist/{layers.CZ8VwlJ4.js → layers.yretCoWE.js} +3 -3
- package/dist/{layers.CvP8SKXD.js → layers.zbIcrERn.js} +1 -1
- package/package.json +5 -5
- package/dist/layers.0GKOEfQX.js +0 -132
- package/dist/layers.0QUpYe8U.js +0 -7
- package/dist/layers.B7HljEnE.js +0 -1
- package/dist/layers.BGu81HI5.js +0 -139
- package/dist/layers.BW2Tio6y.js +0 -8
- package/dist/layers.BZxcnuyH.js +0 -1
- package/dist/layers.C6qpUDWv.js +0 -207
- package/dist/layers.C8qZUu8m.js +0 -7
- package/dist/layers.CLPJWTr_.js +0 -1
- package/dist/layers.CbKsKQXR.js +0 -10
- package/dist/layers.DCtPhtVd.js +0 -10
- package/dist/layers.DEzlOM_P.js +0 -1
- package/dist/layers.DIVgeM1q.js +0 -160
- package/dist/layers.DX3QVmN4.js +0 -6
- package/dist/layers.DftUTp1O.js +0 -122
- package/dist/layers.DjLVRmof.js +0 -7
- package/dist/layers.Ds95POLS.js +0 -1
- package/dist/layers.DxlYIAi2.js +0 -70
- package/dist/layers.eXGxDQC_.js +0 -425
- package/dist/layers.gWRZSm_f.js +0 -61
- package/dist/layers.zq4AFjsy.js +0 -51
package/dist/layers.CLPJWTr_.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function u(t){function i(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var n=e.done;return Promise.resolve(e.value).then(function(s){return{value:s,done:n}})}return u=function(e){this.s=e,this.n=e.next},u.prototype={s:null,n:null,next:function(){return i(this.n.apply(this.s,arguments))},return:function(e){var n=this.s.return;return n===void 0?Promise.resolve({value:e,done:!0}):i(n.apply(this.s,arguments))},throw:function(e){var n=this.s.return;return n===void 0?Promise.reject(e):i(n.apply(this.s,arguments))}},new u(t)}const m=async(t,i,e=t.name,n)=>{const s=[],y=[];var d,c=!1,v=!1;try{for(var h,f=function(r){var o,a,l,p=2;for(typeof Symbol<"u"&&(a=Symbol.asyncIterator,l=Symbol.iterator);p--;){if(a&&(o=r[a])!=null)return o.call(r);if(l&&(o=r[l])!=null)return new u(o.call(r));a="@@asyncIterator",l="@@iterator"}throw new TypeError("Object is not async iterable")}(t.values());c=!(h=await f.next()).done;c=!1){const r=h.value,o=`${e}/${r.name}`;r.kind==="file"?y.push(r.getFile().then(a=>(a.directoryHandle=t,a.handle=r,Object.defineProperty(a,"webkitRelativePath",{configurable:!0,enumerable:!0,get:()=>o})))):r.kind!=="directory"||!i||n&&n(r)||s.push(m(r,i,o,n))}}catch(r){v=!0,d=r}finally{try{c&&f.return!=null&&await f.return()}finally{if(v)throw d}}return[...(await Promise.all(s)).flat(),...await Promise.all(y)]};var w=async(t={})=>{t.recursive=t.recursive||!1;const i=await window.showDirectoryPicker({id:t.id,startIn:t.startIn});return m(i,t.recursive,void 0,t.skipDirectory)};exports.default=w;
|
package/dist/layers.CbKsKQXR.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("./layers.3Ou02qfO.js"),re=require("./layers.CNHqdpb5.js"),Ee=require("./layers.BLDa5caG.js");var Nt=function(){var e=function(_t,_,x,m){for(x=x||{},m=_t.length;m--;x[_t[m]]=_);return x},t=[1,24],a=[1,25],o=[1,26],l=[1,27],i=[1,28],s=[1,63],r=[1,64],n=[1,65],h=[1,66],f=[1,67],d=[1,68],p=[1,69],E=[1,29],O=[1,30],D=[1,31],P=[1,32],N=[1,33],I=[1,34],H=[1,35],q=[1,36],G=[1,37],K=[1,38],J=[1,39],Z=[1,40],$=[1,41],tt=[1,42],et=[1,43],it=[1,44],nt=[1,45],st=[1,46],at=[1,47],rt=[1,48],lt=[1,50],ot=[1,51],ct=[1,52],ht=[1,53],ut=[1,54],dt=[1,55],ft=[1,56],pt=[1,57],yt=[1,58],gt=[1,59],bt=[1,60],Ct=[14,42],Ut=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],wt=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],v=[1,82],A=[1,83],k=[1,84],C=[1,85],T=[12,14,42],te=[12,14,33,42],St=[12,14,33,42,76,77,79,80],Et=[12,33],Ft=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Vt={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:function(_,x,m,g,R,u,Ot){var y=u.length-1;switch(R){case 3:g.setDirection("TB");break;case 4:g.setDirection("BT");break;case 5:g.setDirection("RL");break;case 6:g.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:g.setC4Type(u[y-3]);break;case 19:g.setTitle(u[y].substring(6)),this.$=u[y].substring(6);break;case 20:g.setAccDescription(u[y].substring(15)),this.$=u[y].substring(15);break;case 21:this.$=u[y].trim(),g.setTitle(this.$);break;case 22:case 23:this.$=u[y].trim(),g.setAccDescription(this.$);break;case 28:case 29:u[y].splice(2,0,"ENTERPRISE"),g.addPersonOrSystemBoundary(...u[y]),this.$=u[y];break;case 30:g.addPersonOrSystemBoundary(...u[y]),this.$=u[y];break;case 31:u[y].splice(2,0,"CONTAINER"),g.addContainerBoundary(...u[y]),this.$=u[y];break;case 32:g.addDeploymentNode("node",...u[y]),this.$=u[y];break;case 33:g.addDeploymentNode("nodeL",...u[y]),this.$=u[y];break;case 34:g.addDeploymentNode("nodeR",...u[y]),this.$=u[y];break;case 35:g.popBoundaryParseStack();break;case 39:g.addPersonOrSystem("person",...u[y]),this.$=u[y];break;case 40:g.addPersonOrSystem("external_person",...u[y]),this.$=u[y];break;case 41:g.addPersonOrSystem("system",...u[y]),this.$=u[y];break;case 42:g.addPersonOrSystem("system_db",...u[y]),this.$=u[y];break;case 43:g.addPersonOrSystem("system_queue",...u[y]),this.$=u[y];break;case 44:g.addPersonOrSystem("external_system",...u[y]),this.$=u[y];break;case 45:g.addPersonOrSystem("external_system_db",...u[y]),this.$=u[y];break;case 46:g.addPersonOrSystem("external_system_queue",...u[y]),this.$=u[y];break;case 47:g.addContainer("container",...u[y]),this.$=u[y];break;case 48:g.addContainer("container_db",...u[y]),this.$=u[y];break;case 49:g.addContainer("container_queue",...u[y]),this.$=u[y];break;case 50:g.addContainer("external_container",...u[y]),this.$=u[y];break;case 51:g.addContainer("external_container_db",...u[y]),this.$=u[y];break;case 52:g.addContainer("external_container_queue",...u[y]),this.$=u[y];break;case 53:g.addComponent("component",...u[y]),this.$=u[y];break;case 54:g.addComponent("component_db",...u[y]),this.$=u[y];break;case 55:g.addComponent("component_queue",...u[y]),this.$=u[y];break;case 56:g.addComponent("external_component",...u[y]),this.$=u[y];break;case 57:g.addComponent("external_component_db",...u[y]),this.$=u[y];break;case 58:g.addComponent("external_component_queue",...u[y]),this.$=u[y];break;case 60:g.addRel("rel",...u[y]),this.$=u[y];break;case 61:g.addRel("birel",...u[y]),this.$=u[y];break;case 62:g.addRel("rel_u",...u[y]),this.$=u[y];break;case 63:g.addRel("rel_d",...u[y]),this.$=u[y];break;case 64:g.addRel("rel_l",...u[y]),this.$=u[y];break;case 65:g.addRel("rel_r",...u[y]),this.$=u[y];break;case 66:g.addRel("rel_b",...u[y]),this.$=u[y];break;case 67:u[y].splice(0,1),g.addRel("rel",...u[y]),this.$=u[y];break;case 68:g.updateElStyle("update_el_style",...u[y]),this.$=u[y];break;case 69:g.updateRelStyle("update_rel_style",...u[y]),this.$=u[y];break;case 70:g.updateLayoutConfig("update_layout_config",...u[y]),this.$=u[y];break;case 71:this.$=[u[y]];break;case 72:u[y].unshift(u[y-1]),this.$=u[y];break;case 73:case 75:this.$=u[y].trim();break;case 74:let vt={};vt[u[y-1].trim()]=u[y].trim(),this.$=vt;break;case 76:this.$="";break}},table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:t,23:a,24:o,26:l,28:i,29:49,30:61,32:62,34:s,36:r,37:n,38:h,39:f,40:d,41:p,43:23,44:E,45:O,46:D,47:P,48:N,49:I,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:it,60:nt,61:st,62:at,63:rt,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{13:70,19:20,20:21,21:22,22:t,23:a,24:o,26:l,28:i,29:49,30:61,32:62,34:s,36:r,37:n,38:h,39:f,40:d,41:p,43:23,44:E,45:O,46:D,47:P,48:N,49:I,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:it,60:nt,61:st,62:at,63:rt,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{13:71,19:20,20:21,21:22,22:t,23:a,24:o,26:l,28:i,29:49,30:61,32:62,34:s,36:r,37:n,38:h,39:f,40:d,41:p,43:23,44:E,45:O,46:D,47:P,48:N,49:I,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:it,60:nt,61:st,62:at,63:rt,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{13:72,19:20,20:21,21:22,22:t,23:a,24:o,26:l,28:i,29:49,30:61,32:62,34:s,36:r,37:n,38:h,39:f,40:d,41:p,43:23,44:E,45:O,46:D,47:P,48:N,49:I,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:it,60:nt,61:st,62:at,63:rt,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{13:73,19:20,20:21,21:22,22:t,23:a,24:o,26:l,28:i,29:49,30:61,32:62,34:s,36:r,37:n,38:h,39:f,40:d,41:p,43:23,44:E,45:O,46:D,47:P,48:N,49:I,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:it,60:nt,61:st,62:at,63:rt,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{14:[1,74]},e(Ct,[2,13],{43:23,29:49,30:61,32:62,20:75,34:s,36:r,37:n,38:h,39:f,40:d,41:p,44:E,45:O,46:D,47:P,48:N,49:I,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:it,60:nt,61:st,62:at,63:rt,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt}),e(Ct,[2,14]),e(Ut,[2,16],{12:[1,76]}),e(Ct,[2,36],{12:[1,77]}),e(wt,[2,19]),e(wt,[2,20]),{25:[1,78]},{27:[1,79]},e(wt,[2,23]),{35:80,75:81,76:v,77:A,79:k,80:C},{35:86,75:81,76:v,77:A,79:k,80:C},{35:87,75:81,76:v,77:A,79:k,80:C},{35:88,75:81,76:v,77:A,79:k,80:C},{35:89,75:81,76:v,77:A,79:k,80:C},{35:90,75:81,76:v,77:A,79:k,80:C},{35:91,75:81,76:v,77:A,79:k,80:C},{35:92,75:81,76:v,77:A,79:k,80:C},{35:93,75:81,76:v,77:A,79:k,80:C},{35:94,75:81,76:v,77:A,79:k,80:C},{35:95,75:81,76:v,77:A,79:k,80:C},{35:96,75:81,76:v,77:A,79:k,80:C},{35:97,75:81,76:v,77:A,79:k,80:C},{35:98,75:81,76:v,77:A,79:k,80:C},{35:99,75:81,76:v,77:A,79:k,80:C},{35:100,75:81,76:v,77:A,79:k,80:C},{35:101,75:81,76:v,77:A,79:k,80:C},{35:102,75:81,76:v,77:A,79:k,80:C},{35:103,75:81,76:v,77:A,79:k,80:C},{35:104,75:81,76:v,77:A,79:k,80:C},e(T,[2,59]),{35:105,75:81,76:v,77:A,79:k,80:C},{35:106,75:81,76:v,77:A,79:k,80:C},{35:107,75:81,76:v,77:A,79:k,80:C},{35:108,75:81,76:v,77:A,79:k,80:C},{35:109,75:81,76:v,77:A,79:k,80:C},{35:110,75:81,76:v,77:A,79:k,80:C},{35:111,75:81,76:v,77:A,79:k,80:C},{35:112,75:81,76:v,77:A,79:k,80:C},{35:113,75:81,76:v,77:A,79:k,80:C},{35:114,75:81,76:v,77:A,79:k,80:C},{35:115,75:81,76:v,77:A,79:k,80:C},{20:116,29:49,30:61,32:62,34:s,36:r,37:n,38:h,39:f,40:d,41:p,43:23,44:E,45:O,46:D,47:P,48:N,49:I,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:it,60:nt,61:st,62:at,63:rt,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{12:[1,118],33:[1,117]},{35:119,75:81,76:v,77:A,79:k,80:C},{35:120,75:81,76:v,77:A,79:k,80:C},{35:121,75:81,76:v,77:A,79:k,80:C},{35:122,75:81,76:v,77:A,79:k,80:C},{35:123,75:81,76:v,77:A,79:k,80:C},{35:124,75:81,76:v,77:A,79:k,80:C},{35:125,75:81,76:v,77:A,79:k,80:C},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},e(Ct,[2,15]),e(Ut,[2,17],{21:22,19:130,22:t,23:a,24:o,26:l,28:i}),e(Ct,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:t,23:a,24:o,26:l,28:i,34:s,36:r,37:n,38:h,39:f,40:d,41:p,44:E,45:O,46:D,47:P,48:N,49:I,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:it,60:nt,61:st,62:at,63:rt,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt}),e(wt,[2,21]),e(wt,[2,22]),e(T,[2,39]),e(te,[2,71],{75:81,35:132,76:v,77:A,79:k,80:C}),e(St,[2,73]),{78:[1,133]},e(St,[2,75]),e(St,[2,76]),e(T,[2,40]),e(T,[2,41]),e(T,[2,42]),e(T,[2,43]),e(T,[2,44]),e(T,[2,45]),e(T,[2,46]),e(T,[2,47]),e(T,[2,48]),e(T,[2,49]),e(T,[2,50]),e(T,[2,51]),e(T,[2,52]),e(T,[2,53]),e(T,[2,54]),e(T,[2,55]),e(T,[2,56]),e(T,[2,57]),e(T,[2,58]),e(T,[2,60]),e(T,[2,61]),e(T,[2,62]),e(T,[2,63]),e(T,[2,64]),e(T,[2,65]),e(T,[2,66]),e(T,[2,67]),e(T,[2,68]),e(T,[2,69]),e(T,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},e(Et,[2,28]),e(Et,[2,29]),e(Et,[2,30]),e(Et,[2,31]),e(Et,[2,32]),e(Et,[2,33]),e(Et,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},e(Ut,[2,18]),e(Ct,[2,38]),e(te,[2,72]),e(St,[2,74]),e(T,[2,24]),e(T,[2,35]),e(Ft,[2,25]),e(Ft,[2,26],{12:[1,138]}),e(Ft,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:function(_,x){if(x.recoverable)this.trace(_);else{var m=new Error(_);throw m.hash=x,m}},parse:function(_){var x=this,m=[0],g=[],R=[null],u=[],Ot=this.table,y="",vt=0,ee=0,be=2,ie=1,_e=u.slice.call(arguments,1),S=Object.create(this.lexer),At={yy:{}};for(var Wt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Wt)&&(At.yy[Wt]=this.yy[Wt]);S.setInput(_,At.yy),At.yy.lexer=S,At.yy.parser=this,typeof S.yylloc>"u"&&(S.yylloc={});var Xt=S.yylloc;u.push(Xt);var xe=S.options&&S.options.ranges;typeof At.yy.parseError=="function"?this.parseError=At.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function me(){var X;return X=g.pop()||S.lex()||ie,typeof X!="number"&&(X instanceof Array&&(g=X,X=g.pop()),X=x.symbols_[X]||X),X}for(var L,kt,B,Qt,Tt={},Pt,W,ne,Mt;;){if(kt=m[m.length-1],this.defaultActions[kt]?B=this.defaultActions[kt]:((L===null||typeof L>"u")&&(L=me()),B=Ot[kt]&&Ot[kt][L]),typeof B>"u"||!B.length||!B[0]){var Ht="";Mt=[];for(Pt in Ot[kt])this.terminals_[Pt]&&Pt>be&&Mt.push("'"+this.terminals_[Pt]+"'");S.showPosition?Ht="Parse error on line "+(vt+1)+`:
|
|
2
|
-
`+S.showPosition()+`
|
|
3
|
-
Expecting `+Mt.join(", ")+", got '"+(this.terminals_[L]||L)+"'":Ht="Parse error on line "+(vt+1)+": Unexpected "+(L==ie?"end of input":"'"+(this.terminals_[L]||L)+"'"),this.parseError(Ht,{text:S.match,token:this.terminals_[L]||L,line:S.yylineno,loc:Xt,expected:Mt})}if(B[0]instanceof Array&&B.length>1)throw new Error("Parse Error: multiple actions possible at state: "+kt+", token: "+L);switch(B[0]){case 1:m.push(L),R.push(S.yytext),u.push(S.yylloc),m.push(B[1]),L=null,ee=S.yyleng,y=S.yytext,vt=S.yylineno,Xt=S.yylloc;break;case 2:if(W=this.productions_[B[1]][1],Tt.$=R[R.length-W],Tt._$={first_line:u[u.length-(W||1)].first_line,last_line:u[u.length-1].last_line,first_column:u[u.length-(W||1)].first_column,last_column:u[u.length-1].last_column},xe&&(Tt._$.range=[u[u.length-(W||1)].range[0],u[u.length-1].range[1]]),Qt=this.performAction.apply(Tt,[y,ee,vt,At.yy,B[1],R,u].concat(_e)),typeof Qt<"u")return Qt;W&&(m=m.slice(0,-1*W*2),R=R.slice(0,-1*W),u=u.slice(0,-1*W)),m.push(this.productions_[B[1]][0]),R.push(Tt.$),u.push(Tt._$),ne=Ot[m[m.length-2]][m[m.length-1]],m.push(ne);break;case 3:return!0}}return!0}},ge=function(){var _t={EOF:1,parseError:function(x,m){if(this.yy.parser)this.yy.parser.parseError(x,m);else throw new Error(x)},setInput:function(_,x){return this.yy=x||this.yy||{},this._input=_,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 _=this._input[0];this.yytext+=_,this.yyleng++,this.offset++,this.match+=_,this.matched+=_;var x=_.match(/(?:\r\n?|\n).*/g);return x?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),_},unput:function(_){var x=_.length,m=_.split(/(?:\r\n?|\n)/g);this._input=_+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-x),this.offset-=x;var g=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),m.length-1&&(this.yylineno-=m.length-1);var R=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:m?(m.length===g.length?this.yylloc.first_column:0)+g[g.length-m.length].length-m[0].length:this.yylloc.first_column-x},this.options.ranges&&(this.yylloc.range=[R[0],R[0]+this.yyleng-x]),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(_){this.unput(this.match.slice(_))},pastInput:function(){var _=this.matched.substr(0,this.matched.length-this.match.length);return(_.length>20?"...":"")+_.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var _=this.match;return _.length<20&&(_+=this._input.substr(0,20-_.length)),(_.substr(0,20)+(_.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var _=this.pastInput(),x=new Array(_.length+1).join("-");return _+this.upcomingInput()+`
|
|
5
|
-
`+x+"^"},test_match:function(_,x){var m,g,R;if(this.options.backtrack_lexer&&(R={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&&(R.yylloc.range=this.yylloc.range.slice(0))),g=_[0].match(/(?:\r\n?|\n).*/g),g&&(this.yylineno+=g.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:g?g[g.length-1].length-g[g.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+_[0].length},this.yytext+=_[0],this.match+=_[0],this.matches=_,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(_[0].length),this.matched+=_[0],m=this.performAction.call(this,this.yy,this,x,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),m)return m;if(this._backtrack){for(var u in R)this[u]=R[u];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var _,x,m,g;this._more||(this.yytext="",this.match="");for(var R=this._currentRules(),u=0;u<R.length;u++)if(m=this._input.match(this.rules[R[u]]),m&&(!x||m[0].length>x[0].length)){if(x=m,g=u,this.options.backtrack_lexer){if(_=this.test_match(m,R[u]),_!==!1)return _;if(this._backtrack){x=!1;continue}else return!1}else if(!this.options.flex)break}return x?(_=this.test_match(x,R[g]),_!==!1?_:!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 x=this.next();return x||this.lex()},begin:function(x){this.conditionStack.push(x)},popState:function(){var x=this.conditionStack.length-1;return x>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(x){return x=this.conditionStack.length-1-Math.abs(x||0),x>=0?this.conditionStack[x]:"INITIAL"},pushState:function(x){this.begin(x)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(x,m,g,R){switch(g){case 0:return 6;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 22;case 5:return 23;case 6:return this.begin("acc_title"),24;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),26;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:break;case 14:c;break;case 15:return 12;case 16:break;case 17:return 11;case 18:return 15;case 19:return 16;case 20:return 17;case 21:return 18;case 22:return this.begin("person_ext"),45;case 23:return this.begin("person"),44;case 24:return this.begin("system_ext_queue"),51;case 25:return this.begin("system_ext_db"),50;case 26:return this.begin("system_ext"),49;case 27:return this.begin("system_queue"),48;case 28:return this.begin("system_db"),47;case 29:return this.begin("system"),46;case 30:return this.begin("boundary"),37;case 31:return this.begin("enterprise_boundary"),34;case 32:return this.begin("system_boundary"),36;case 33:return this.begin("container_ext_queue"),57;case 34:return this.begin("container_ext_db"),56;case 35:return this.begin("container_ext"),55;case 36:return this.begin("container_queue"),54;case 37:return this.begin("container_db"),53;case 38:return this.begin("container"),52;case 39:return this.begin("container_boundary"),38;case 40:return this.begin("component_ext_queue"),63;case 41:return this.begin("component_ext_db"),62;case 42:return this.begin("component_ext"),61;case 43:return this.begin("component_queue"),60;case 44:return this.begin("component_db"),59;case 45:return this.begin("component"),58;case 46:return this.begin("node"),39;case 47:return this.begin("node"),39;case 48:return this.begin("node_l"),40;case 49:return this.begin("node_r"),41;case 50:return this.begin("rel"),64;case 51:return this.begin("birel"),65;case 52:return this.begin("rel_u"),66;case 53:return this.begin("rel_u"),66;case 54:return this.begin("rel_d"),67;case 55:return this.begin("rel_d"),67;case 56:return this.begin("rel_l"),68;case 57:return this.begin("rel_l"),68;case 58:return this.begin("rel_r"),69;case 59:return this.begin("rel_r"),69;case 60:return this.begin("rel_b"),70;case 61:return this.begin("rel_index"),71;case 62:return this.begin("update_el_style"),72;case 63:return this.begin("update_rel_style"),73;case 64:return this.begin("update_layout_config"),74;case 65:return"EOF_IN_STRUCT";case 66:return this.begin("attribute"),"ATTRIBUTE_EMPTY";case 67:this.begin("attribute");break;case 68:this.popState(),this.popState();break;case 69:return 80;case 70:break;case 71:return 80;case 72:this.begin("string");break;case 73:this.popState();break;case 74:return"STR";case 75:this.begin("string_kv");break;case 76:return this.begin("string_kv_key"),"STR_KEY";case 77:this.popState(),this.begin("string_kv_value");break;case 78:return"STR_VALUE";case 79:this.popState(),this.popState();break;case 80:return"STR";case 81:return"LBRACE";case 82:return"RBRACE";case 83:return"SPACE";case 84:return"EOL";case 85:return 14}},rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:title\s[^#\n;]+)/,/^(?:accDescription\s[^#\n;]+)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:C4Context\b)/,/^(?:C4Container\b)/,/^(?:C4Component\b)/,/^(?:C4Dynamic\b)/,/^(?:C4Deployment\b)/,/^(?:Person_Ext\b)/,/^(?:Person\b)/,/^(?:SystemQueue_Ext\b)/,/^(?:SystemDb_Ext\b)/,/^(?:System_Ext\b)/,/^(?:SystemQueue\b)/,/^(?:SystemDb\b)/,/^(?:System\b)/,/^(?:Boundary\b)/,/^(?:Enterprise_Boundary\b)/,/^(?:System_Boundary\b)/,/^(?:ContainerQueue_Ext\b)/,/^(?:ContainerDb_Ext\b)/,/^(?:Container_Ext\b)/,/^(?:ContainerQueue\b)/,/^(?:ContainerDb\b)/,/^(?:Container\b)/,/^(?:Container_Boundary\b)/,/^(?:ComponentQueue_Ext\b)/,/^(?:ComponentDb_Ext\b)/,/^(?:Component_Ext\b)/,/^(?:ComponentQueue\b)/,/^(?:ComponentDb\b)/,/^(?:Component\b)/,/^(?:Deployment_Node\b)/,/^(?:Node\b)/,/^(?:Node_L\b)/,/^(?:Node_R\b)/,/^(?:Rel\b)/,/^(?:BiRel\b)/,/^(?:Rel_Up\b)/,/^(?:Rel_U\b)/,/^(?:Rel_Down\b)/,/^(?:Rel_D\b)/,/^(?:Rel_Left\b)/,/^(?:Rel_L\b)/,/^(?:Rel_Right\b)/,/^(?:Rel_R\b)/,/^(?:Rel_Back\b)/,/^(?:RelIndex\b)/,/^(?:UpdateElementStyle\b)/,/^(?:UpdateRelStyle\b)/,/^(?:UpdateLayoutConfig\b)/,/^(?:$)/,/^(?:[(][ ]*[,])/,/^(?:[(])/,/^(?:[)])/,/^(?:,,)/,/^(?:,)/,/^(?:[ ]*["]["])/,/^(?:[ ]*["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[ ]*[\$])/,/^(?:[^=]*)/,/^(?:[=][ ]*["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:[^,]+)/,/^(?:\{)/,/^(?:\})/,/^(?:[\s]+)/,/^(?:[\n\r]+)/,/^(?:$)/],conditions:{acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},string_kv_value:{rules:[78,79],inclusive:!1},string_kv_key:{rules:[77],inclusive:!1},string_kv:{rules:[76],inclusive:!1},string:{rules:[73,74],inclusive:!1},attribute:{rules:[68,69,70,71,72,75,80],inclusive:!1},update_layout_config:{rules:[65,66,67,68],inclusive:!1},update_rel_style:{rules:[65,66,67,68],inclusive:!1},update_el_style:{rules:[65,66,67,68],inclusive:!1},rel_b:{rules:[65,66,67,68],inclusive:!1},rel_r:{rules:[65,66,67,68],inclusive:!1},rel_l:{rules:[65,66,67,68],inclusive:!1},rel_d:{rules:[65,66,67,68],inclusive:!1},rel_u:{rules:[65,66,67,68],inclusive:!1},rel_bi:{rules:[],inclusive:!1},rel:{rules:[65,66,67,68],inclusive:!1},node_r:{rules:[65,66,67,68],inclusive:!1},node_l:{rules:[65,66,67,68],inclusive:!1},node:{rules:[65,66,67,68],inclusive:!1},index:{rules:[],inclusive:!1},rel_index:{rules:[65,66,67,68],inclusive:!1},component_ext_queue:{rules:[],inclusive:!1},component_ext_db:{rules:[65,66,67,68],inclusive:!1},component_ext:{rules:[65,66,67,68],inclusive:!1},component_queue:{rules:[65,66,67,68],inclusive:!1},component_db:{rules:[65,66,67,68],inclusive:!1},component:{rules:[65,66,67,68],inclusive:!1},container_boundary:{rules:[65,66,67,68],inclusive:!1},container_ext_queue:{rules:[65,66,67,68],inclusive:!1},container_ext_db:{rules:[65,66,67,68],inclusive:!1},container_ext:{rules:[65,66,67,68],inclusive:!1},container_queue:{rules:[65,66,67,68],inclusive:!1},container_db:{rules:[65,66,67,68],inclusive:!1},container:{rules:[65,66,67,68],inclusive:!1},birel:{rules:[65,66,67,68],inclusive:!1},system_boundary:{rules:[65,66,67,68],inclusive:!1},enterprise_boundary:{rules:[65,66,67,68],inclusive:!1},boundary:{rules:[65,66,67,68],inclusive:!1},system_ext_queue:{rules:[65,66,67,68],inclusive:!1},system_ext_db:{rules:[65,66,67,68],inclusive:!1},system_ext:{rules:[65,66,67,68],inclusive:!1},system_queue:{rules:[65,66,67,68],inclusive:!1},system_db:{rules:[65,66,67,68],inclusive:!1},system:{rules:[65,66,67,68],inclusive:!1},person_ext:{rules:[65,66,67,68],inclusive:!1},person:{rules:[65,66,67,68],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,81,82,83,84,85],inclusive:!0}}};return _t}();Vt.lexer=ge;function zt(){this.yy={}}return zt.prototype=Vt,Vt.Parser=zt,new zt}();Nt.parser=Nt;const ve=Nt;let F=[],xt=[""],M="global",U="",z=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],Dt=[],Jt="",Zt=!1,Bt=4,Yt=2;var le;const Ae=function(){return le},ke=function(e){le=w.sanitizeText$2(e,w.getConfig())},Ce=function(e,t,a,o,l,i,s,r,n){if(e==null||t===void 0||t===null||a===void 0||a===null||o===void 0||o===null)return;let h={};const f=Dt.find(d=>d.from===t&&d.to===a);if(f?h=f:Dt.push(h),h.type=e,h.from=t,h.to=a,h.label={text:o},l==null)h.techn={text:""};else if(typeof l=="object"){let[d,p]=Object.entries(l)[0];h[d]={text:p}}else h.techn={text:l};if(i==null)h.descr={text:""};else if(typeof i=="object"){let[d,p]=Object.entries(i)[0];h[d]={text:p}}else h.descr={text:i};if(typeof s=="object"){let[d,p]=Object.entries(s)[0];h[d]=p}else h.sprite=s;if(typeof r=="object"){let[d,p]=Object.entries(r)[0];h[d]=p}else h.tags=r;if(typeof n=="object"){let[d,p]=Object.entries(n)[0];h[d]=p}else h.link=n;h.wrap=mt()},Te=function(e,t,a,o,l,i,s){if(t===null||a===null)return;let r={};const n=F.find(h=>h.alias===t);if(n&&t===n.alias?r=n:(r.alias=t,F.push(r)),a==null?r.label={text:""}:r.label={text:a},o==null)r.descr={text:""};else if(typeof o=="object"){let[h,f]=Object.entries(o)[0];r[h]={text:f}}else r.descr={text:o};if(typeof l=="object"){let[h,f]=Object.entries(l)[0];r[h]=f}else r.sprite=l;if(typeof i=="object"){let[h,f]=Object.entries(i)[0];r[h]=f}else r.tags=i;if(typeof s=="object"){let[h,f]=Object.entries(s)[0];r[h]=f}else r.link=s;r.typeC4Shape={text:e},r.parentBoundary=M,r.wrap=mt()},we=function(e,t,a,o,l,i,s,r){if(t===null||a===null)return;let n={};const h=F.find(f=>f.alias===t);if(h&&t===h.alias?n=h:(n.alias=t,F.push(n)),a==null?n.label={text:""}:n.label={text:a},o==null)n.techn={text:""};else if(typeof o=="object"){let[f,d]=Object.entries(o)[0];n[f]={text:d}}else n.techn={text:o};if(l==null)n.descr={text:""};else if(typeof l=="object"){let[f,d]=Object.entries(l)[0];n[f]={text:d}}else n.descr={text:l};if(typeof i=="object"){let[f,d]=Object.entries(i)[0];n[f]=d}else n.sprite=i;if(typeof s=="object"){let[f,d]=Object.entries(s)[0];n[f]=d}else n.tags=s;if(typeof r=="object"){let[f,d]=Object.entries(r)[0];n[f]=d}else n.link=r;n.wrap=mt(),n.typeC4Shape={text:e},n.parentBoundary=M},Oe=function(e,t,a,o,l,i,s,r){if(t===null||a===null)return;let n={};const h=F.find(f=>f.alias===t);if(h&&t===h.alias?n=h:(n.alias=t,F.push(n)),a==null?n.label={text:""}:n.label={text:a},o==null)n.techn={text:""};else if(typeof o=="object"){let[f,d]=Object.entries(o)[0];n[f]={text:d}}else n.techn={text:o};if(l==null)n.descr={text:""};else if(typeof l=="object"){let[f,d]=Object.entries(l)[0];n[f]={text:d}}else n.descr={text:l};if(typeof i=="object"){let[f,d]=Object.entries(i)[0];n[f]=d}else n.sprite=i;if(typeof s=="object"){let[f,d]=Object.entries(s)[0];n[f]=d}else n.tags=s;if(typeof r=="object"){let[f,d]=Object.entries(r)[0];n[f]=d}else n.link=r;n.wrap=mt(),n.typeC4Shape={text:e},n.parentBoundary=M},Re=function(e,t,a,o,l){if(e===null||t===null)return;let i={};const s=z.find(r=>r.alias===e);if(s&&e===s.alias?i=s:(i.alias=e,z.push(i)),t==null?i.label={text:""}:i.label={text:t},a==null)i.type={text:"system"};else if(typeof a=="object"){let[r,n]=Object.entries(a)[0];i[r]={text:n}}else i.type={text:a};if(typeof o=="object"){let[r,n]=Object.entries(o)[0];i[r]=n}else i.tags=o;if(typeof l=="object"){let[r,n]=Object.entries(l)[0];i[r]=n}else i.link=l;i.parentBoundary=M,i.wrap=mt(),U=M,M=e,xt.push(U)},De=function(e,t,a,o,l){if(e===null||t===null)return;let i={};const s=z.find(r=>r.alias===e);if(s&&e===s.alias?i=s:(i.alias=e,z.push(i)),t==null?i.label={text:""}:i.label={text:t},a==null)i.type={text:"container"};else if(typeof a=="object"){let[r,n]=Object.entries(a)[0];i[r]={text:n}}else i.type={text:a};if(typeof o=="object"){let[r,n]=Object.entries(o)[0];i[r]=n}else i.tags=o;if(typeof l=="object"){let[r,n]=Object.entries(l)[0];i[r]=n}else i.link=l;i.parentBoundary=M,i.wrap=mt(),U=M,M=e,xt.push(U)},Se=function(e,t,a,o,l,i,s,r){if(t===null||a===null)return;let n={};const h=z.find(f=>f.alias===t);if(h&&t===h.alias?n=h:(n.alias=t,z.push(n)),a==null?n.label={text:""}:n.label={text:a},o==null)n.type={text:"node"};else if(typeof o=="object"){let[f,d]=Object.entries(o)[0];n[f]={text:d}}else n.type={text:o};if(l==null)n.descr={text:""};else if(typeof l=="object"){let[f,d]=Object.entries(l)[0];n[f]={text:d}}else n.descr={text:l};if(typeof s=="object"){let[f,d]=Object.entries(s)[0];n[f]=d}else n.tags=s;if(typeof r=="object"){let[f,d]=Object.entries(r)[0];n[f]=d}else n.link=r;n.nodeType=e,n.parentBoundary=M,n.wrap=mt(),U=M,M=t,xt.push(U)},Pe=function(){M=U,xt.pop(),U=xt.pop(),xt.push(U)},Me=function(e,t,a,o,l,i,s,r,n,h,f){let d=F.find(p=>p.alias===t);if(!(d===void 0&&(d=z.find(p=>p.alias===t),d===void 0))){if(a!=null)if(typeof a=="object"){let[p,E]=Object.entries(a)[0];d[p]=E}else d.bgColor=a;if(o!=null)if(typeof o=="object"){let[p,E]=Object.entries(o)[0];d[p]=E}else d.fontColor=o;if(l!=null)if(typeof l=="object"){let[p,E]=Object.entries(l)[0];d[p]=E}else d.borderColor=l;if(i!=null)if(typeof i=="object"){let[p,E]=Object.entries(i)[0];d[p]=E}else d.shadowing=i;if(s!=null)if(typeof s=="object"){let[p,E]=Object.entries(s)[0];d[p]=E}else d.shape=s;if(r!=null)if(typeof r=="object"){let[p,E]=Object.entries(r)[0];d[p]=E}else d.sprite=r;if(n!=null)if(typeof n=="object"){let[p,E]=Object.entries(n)[0];d[p]=E}else d.techn=n;if(h!=null)if(typeof h=="object"){let[p,E]=Object.entries(h)[0];d[p]=E}else d.legendText=h;if(f!=null)if(typeof f=="object"){let[p,E]=Object.entries(f)[0];d[p]=E}else d.legendSprite=f}},Le=function(e,t,a,o,l,i,s){const r=Dt.find(n=>n.from===t&&n.to===a);if(r!==void 0){if(o!=null)if(typeof o=="object"){let[n,h]=Object.entries(o)[0];r[n]=h}else r.textColor=o;if(l!=null)if(typeof l=="object"){let[n,h]=Object.entries(l)[0];r[n]=h}else r.lineColor=l;if(i!=null)if(typeof i=="object"){let[n,h]=Object.entries(i)[0];r[n]=parseInt(h)}else r.offsetX=parseInt(i);if(s!=null)if(typeof s=="object"){let[n,h]=Object.entries(s)[0];r[n]=parseInt(h)}else r.offsetY=parseInt(s)}},Ne=function(e,t,a){let o=Bt,l=Yt;if(typeof t=="object"){const i=Object.values(t)[0];o=parseInt(i)}else o=parseInt(t);if(typeof a=="object"){const i=Object.values(a)[0];l=parseInt(i)}else l=parseInt(a);o>=1&&(Bt=o),l>=1&&(Yt=l)},Be=function(){return Bt},Ye=function(){return Yt},Ie=function(){return M},je=function(){return U},oe=function(e){return e==null?F:F.filter(t=>t.parentBoundary===e)},Ue=function(e){return F.find(t=>t.alias===e)},Fe=function(e){return Object.keys(oe(e))},ce=function(e){return e==null?z:z.filter(t=>t.parentBoundary===e)},Ve=ce,ze=function(){return Dt},We=function(){return Jt},Xe=function(e){Zt=e},mt=function(){return Zt},Qe=function(){F=[],z=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],U="",M="global",xt=[""],Dt=[],xt=[""],Jt="",Zt=!1,Bt=4,Yt=2},He={SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25},qe={FILLED:0,OPEN:1},Ge={LEFTOF:0,RIGHTOF:1,OVER:2},Ke=function(e){Jt=w.sanitizeText$2(e,w.getConfig())},qt={addPersonOrSystem:Te,addPersonOrSystemBoundary:Re,addContainer:we,addContainerBoundary:De,addComponent:Oe,addDeploymentNode:Se,popBoundaryParseStack:Pe,addRel:Ce,updateElStyle:Me,updateRelStyle:Le,updateLayoutConfig:Ne,autoWrap:mt,setWrap:Xe,getC4ShapeArray:oe,getC4Shape:Ue,getC4ShapeKeys:Fe,getBoundaries:ce,getBoundarys:Ve,getCurrentBoundaryParse:Ie,getParentBoundaryParse:je,getRels:ze,getTitle:We,getC4Type:Ae,getC4ShapeInRow:Be,getC4BoundaryInRow:Ye,setAccTitle:w.setAccTitle,getAccTitle:w.getAccTitle,getAccDescription:w.getAccDescription,setAccDescription:w.setAccDescription,getConfig:()=>w.getConfig().c4,clear:Qe,LINETYPE:He,ARROWTYPE:qe,PLACEMENT:Ge,setTitle:Ke,setC4Type:ke},$t=function(e,t){return re.drawRect(e,t)},he=function(e,t,a,o,l,i){const s=e.append("image");s.attr("width",t),s.attr("height",a),s.attr("x",o),s.attr("y",l);let r=i.startsWith("data:image/png;base64")?i:Ee.distExports.sanitizeUrl(i);s.attr("xlink:href",r)},Je=(e,t,a)=>{const o=e.append("g");let l=0;for(let i of t){let s=i.textColor?i.textColor:"#444444",r=i.lineColor?i.lineColor:"#444444",n=i.offsetX?parseInt(i.offsetX):0,h=i.offsetY?parseInt(i.offsetY):0,f="";if(l===0){let p=o.append("line");p.attr("x1",i.startPoint.x),p.attr("y1",i.startPoint.y),p.attr("x2",i.endPoint.x),p.attr("y2",i.endPoint.y),p.attr("stroke-width","1"),p.attr("stroke",r),p.style("fill","none"),i.type!=="rel_b"&&p.attr("marker-end","url("+f+"#arrowhead)"),(i.type==="birel"||i.type==="rel_b")&&p.attr("marker-start","url("+f+"#arrowend)"),l=-1}else{let p=o.append("path");p.attr("fill","none").attr("stroke-width","1").attr("stroke",r).attr("d","Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx",i.startPoint.x).replaceAll("starty",i.startPoint.y).replaceAll("controlx",i.startPoint.x+(i.endPoint.x-i.startPoint.x)/2-(i.endPoint.x-i.startPoint.x)/4).replaceAll("controly",i.startPoint.y+(i.endPoint.y-i.startPoint.y)/2).replaceAll("stopx",i.endPoint.x).replaceAll("stopy",i.endPoint.y)),i.type!=="rel_b"&&p.attr("marker-end","url("+f+"#arrowhead)"),(i.type==="birel"||i.type==="rel_b")&&p.attr("marker-start","url("+f+"#arrowend)")}let d=a.messageFont();Q(a)(i.label.text,o,Math.min(i.startPoint.x,i.endPoint.x)+Math.abs(i.endPoint.x-i.startPoint.x)/2+n,Math.min(i.startPoint.y,i.endPoint.y)+Math.abs(i.endPoint.y-i.startPoint.y)/2+h,i.label.width,i.label.height,{fill:s},d),i.techn&&i.techn.text!==""&&(d=a.messageFont(),Q(a)("["+i.techn.text+"]",o,Math.min(i.startPoint.x,i.endPoint.x)+Math.abs(i.endPoint.x-i.startPoint.x)/2+n,Math.min(i.startPoint.y,i.endPoint.y)+Math.abs(i.endPoint.y-i.startPoint.y)/2+a.messageFontSize+5+h,Math.max(i.label.width,i.techn.width),i.techn.height,{fill:s,"font-style":"italic"},d))}},Ze=function(e,t,a){const o=e.append("g");let l=t.bgColor?t.bgColor:"none",i=t.borderColor?t.borderColor:"#444444",s=t.fontColor?t.fontColor:"black",r={"stroke-width":1,"stroke-dasharray":"7.0,7.0"};t.nodeType&&(r={"stroke-width":1});let n={x:t.x,y:t.y,fill:l,stroke:i,width:t.width,height:t.height,rx:2.5,ry:2.5,attrs:r};$t(o,n);let h=a.boundaryFont();h.fontWeight="bold",h.fontSize=h.fontSize+2,h.fontColor=s,Q(a)(t.label.text,o,t.x,t.y+t.label.Y,t.width,t.height,{fill:"#444444"},h),t.type&&t.type.text!==""&&(h=a.boundaryFont(),h.fontColor=s,Q(a)(t.type.text,o,t.x,t.y+t.type.Y,t.width,t.height,{fill:"#444444"},h)),t.descr&&t.descr.text!==""&&(h=a.boundaryFont(),h.fontSize=h.fontSize-2,h.fontColor=s,Q(a)(t.descr.text,o,t.x,t.y+t.descr.Y,t.width,t.height,{fill:"#444444"},h))},$e=function(e,t,a){var o;let l=t.bgColor?t.bgColor:a[t.typeC4Shape.text+"_bg_color"],i=t.borderColor?t.borderColor:a[t.typeC4Shape.text+"_border_color"],s=t.fontColor?t.fontColor:"#FFFFFF",r="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";switch(t.typeC4Shape.text){case"person":r="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";break;case"external_person":r="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAAB6ElEQVR4Xu2YLY+EMBCG9+dWr0aj0Wg0Go1Go0+j8Xdv2uTCvv1gpt0ebHKPuhDaeW4605Z9mJvx4AdXUyTUdd08z+u6flmWZRnHsWkafk9DptAwDPu+f0eAYtu2PEaGWuj5fCIZrBAC2eLBAnRCsEkkxmeaJp7iDJ2QMDdHsLg8SxKFEJaAo8lAXnmuOFIhTMpxxKATebo4UiFknuNo4OniSIXQyRxEA3YsnjGCVEjVXD7yLUAqxBGUyPv/Y4W2beMgGuS7kVQIBycH0fD+oi5pezQETxdHKmQKGk1eQEYldK+jw5GxPfZ9z7Mk0Qnhf1W1m3w//EUn5BDmSZsbR44QQLBEqrBHqOrmSKaQAxdnLArCrxZcM7A7ZKs4ioRq8LFC+NpC3WCBJsvpVw5edm9iEXFuyNfxXAgSwfrFQ1c0iNda8AdejvUgnktOtJQQxmcfFzGglc5WVCj7oDgFqU18boeFSs52CUh8LE8BIVQDT1ABrB0HtgSEYlX5doJnCwv9TXocKCaKbnwhdDKPq4lf3SwU3HLq4V/+WYhHVMa/3b4IlfyikAduCkcBc7mQ3/z/Qq/cTuikhkzB12Ae/mcJC9U+Vo8Ej1gWAtgbeGgFsAMHr50BIWOLCbezvhpBFUdY6EJuJ/QDW0XoMX60zZ0AAAAASUVORK5CYII=";break}const n=e.append("g");n.attr("class","person-man");const h=re.getNoteRect();switch(t.typeC4Shape.text){case"person":case"external_person":case"system":case"external_system":case"container":case"external_container":case"component":case"external_component":h.x=t.x,h.y=t.y,h.fill=l,h.width=t.width,h.height=t.height,h.stroke=i,h.rx=2.5,h.ry=2.5,h.attrs={"stroke-width":.5},$t(n,h);break;case"system_db":case"external_system_db":case"container_db":case"external_container_db":case"component_db":case"external_component_db":n.append("path").attr("fill",l).attr("stroke-width","0.5").attr("stroke",i).attr("d","Mstartx,startyc0,-10 half,-10 half,-10c0,0 half,0 half,10l0,heightc0,10 -half,10 -half,10c0,0 -half,0 -half,-10l0,-height".replaceAll("startx",t.x).replaceAll("starty",t.y).replaceAll("half",t.width/2).replaceAll("height",t.height)),n.append("path").attr("fill","none").attr("stroke-width","0.5").attr("stroke",i).attr("d","Mstartx,startyc0,10 half,10 half,10c0,0 half,0 half,-10".replaceAll("startx",t.x).replaceAll("starty",t.y).replaceAll("half",t.width/2));break;case"system_queue":case"external_system_queue":case"container_queue":case"external_container_queue":case"component_queue":case"external_component_queue":n.append("path").attr("fill",l).attr("stroke-width","0.5").attr("stroke",i).attr("d","Mstartx,startylwidth,0c5,0 5,half 5,halfc0,0 0,half -5,halfl-width,0c-5,0 -5,-half -5,-halfc0,0 0,-half 5,-half".replaceAll("startx",t.x).replaceAll("starty",t.y).replaceAll("width",t.width).replaceAll("half",t.height/2)),n.append("path").attr("fill","none").attr("stroke-width","0.5").attr("stroke",i).attr("d","Mstartx,startyc-5,0 -5,half -5,halfc0,half 5,half 5,half".replaceAll("startx",t.x+t.width).replaceAll("starty",t.y).replaceAll("half",t.height/2));break}let f=o0(a,t.typeC4Shape.text);switch(n.append("text").attr("fill",s).attr("font-family",f.fontFamily).attr("font-size",f.fontSize-2).attr("font-style","italic").attr("lengthAdjust","spacing").attr("textLength",t.typeC4Shape.width).attr("x",t.x+t.width/2-t.typeC4Shape.width/2).attr("y",t.y+t.typeC4Shape.Y).text("<<"+t.typeC4Shape.text+">>"),t.typeC4Shape.text){case"person":case"external_person":he(n,48,48,t.x+t.width/2-24,t.y+t.image.Y,r);break}let d=a[t.typeC4Shape.text+"Font"]();return d.fontWeight="bold",d.fontSize=d.fontSize+2,d.fontColor=s,Q(a)(t.label.text,n,t.x,t.y+t.label.Y,t.width,t.height,{fill:s},d),d=a[t.typeC4Shape.text+"Font"](),d.fontColor=s,t.techn&&((o=t.techn)==null?void 0:o.text)!==""?Q(a)(t.techn.text,n,t.x,t.y+t.techn.Y,t.width,t.height,{fill:s,"font-style":"italic"},d):t.type&&t.type.text!==""&&Q(a)(t.type.text,n,t.x,t.y+t.type.Y,t.width,t.height,{fill:s,"font-style":"italic"},d),t.descr&&t.descr.text!==""&&(d=a.personFont(),d.fontColor=s,Q(a)(t.descr.text,n,t.x,t.y+t.descr.Y,t.width,t.height,{fill:s},d)),t.height},t0=function(e){e.append("defs").append("symbol").attr("id","database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z")},e0=function(e){e.append("defs").append("symbol").attr("id","computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z")},i0=function(e){e.append("defs").append("symbol").attr("id","clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z")},n0=function(e){e.append("defs").append("marker").attr("id","arrowhead").attr("refX",9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z")},s0=function(e){e.append("defs").append("marker").attr("id","arrowend").attr("refX",1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 z")},a0=function(e){e.append("defs").append("marker").attr("id","filled-head").attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},r0=function(e){e.append("defs").append("marker").attr("id","sequencenumber").attr("refX",15).attr("refY",15).attr("markerWidth",60).attr("markerHeight",40).attr("orient","auto").append("circle").attr("cx",15).attr("cy",15).attr("r",6)},l0=function(e){const a=e.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",16).attr("refY",4);a.append("path").attr("fill","black").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 9,2 V 6 L16,4 Z"),a.append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 0,1 L 6,7 M 6,1 L 0,7")},o0=(e,t)=>({fontFamily:e[t+"FontFamily"],fontSize:e[t+"FontSize"],fontWeight:e[t+"FontWeight"]}),Q=function(){function e(l,i,s,r,n,h,f){const d=i.append("text").attr("x",s+n/2).attr("y",r+h/2+5).style("text-anchor","middle").text(l);o(d,f)}function t(l,i,s,r,n,h,f,d){const{fontSize:p,fontFamily:E,fontWeight:O}=d,D=l.split(w.common$1.lineBreakRegex);for(let P=0;P<D.length;P++){const N=P*p-p*(D.length-1)/2,I=i.append("text").attr("x",s+n/2).attr("y",r).style("text-anchor","middle").attr("dominant-baseline","middle").style("font-size",p).style("font-weight",O).style("font-family",E);I.append("tspan").attr("dy",N).text(D[P]).attr("alignment-baseline","mathematical"),o(I,f)}}function a(l,i,s,r,n,h,f,d){const p=i.append("switch"),O=p.append("foreignObject").attr("x",s).attr("y",r).attr("width",n).attr("height",h).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");O.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(l),t(l,p,s,r,n,h,f,d),o(O,f)}function o(l,i){for(const s in i)i.hasOwnProperty(s)&&l.attr(s,i[s])}return function(l){return l.textPlacement==="fo"?a:l.textPlacement==="old"?e:t}}(),V={drawRect:$t,drawBoundary:Ze,drawC4Shape:$e,drawRels:Je,drawImage:he,insertArrowHead:n0,insertArrowEnd:s0,insertArrowFilledHead:a0,insertDynamicNumber:r0,insertArrowCrossHead:l0,insertDatabaseIcon:t0,insertComputerIcon:e0,insertClockIcon:i0};let It=0,jt=0,ue=4,Gt=2;Nt.yy=qt;let b={};class de{constructor(t){this.name="",this.data={},this.data.startx=void 0,this.data.stopx=void 0,this.data.starty=void 0,this.data.stopy=void 0,this.data.widthLimit=void 0,this.nextData={},this.nextData.startx=void 0,this.nextData.stopx=void 0,this.nextData.starty=void 0,this.nextData.stopy=void 0,this.nextData.cnt=0,Kt(t.db.getConfig())}setData(t,a,o,l){this.nextData.startx=this.data.startx=t,this.nextData.stopx=this.data.stopx=a,this.nextData.starty=this.data.starty=o,this.nextData.stopy=this.data.stopy=l}updateVal(t,a,o,l){t[a]===void 0?t[a]=o:t[a]=l(o,t[a])}insert(t){this.nextData.cnt=this.nextData.cnt+1;let a=this.nextData.startx===this.nextData.stopx?this.nextData.stopx+t.margin:this.nextData.stopx+t.margin*2,o=a+t.width,l=this.nextData.starty+t.margin*2,i=l+t.height;(a>=this.data.widthLimit||o>=this.data.widthLimit||this.nextData.cnt>ue)&&(a=this.nextData.startx+t.margin+b.nextLinePaddingX,l=this.nextData.stopy+t.margin*2,this.nextData.stopx=o=a+t.width,this.nextData.starty=this.nextData.stopy,this.nextData.stopy=i=l+t.height,this.nextData.cnt=1),t.x=a,t.y=l,this.updateVal(this.data,"startx",a,Math.min),this.updateVal(this.data,"starty",l,Math.min),this.updateVal(this.data,"stopx",o,Math.max),this.updateVal(this.data,"stopy",i,Math.max),this.updateVal(this.nextData,"startx",a,Math.min),this.updateVal(this.nextData,"starty",l,Math.min),this.updateVal(this.nextData,"stopx",o,Math.max),this.updateVal(this.nextData,"stopy",i,Math.max)}init(t){this.name="",this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,widthLimit:void 0},this.nextData={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,cnt:0},Kt(t.db.getConfig())}bumpLastMargin(t){this.data.stopx+=t,this.data.stopy+=t}}const Kt=function(e){w.assignWithDepth$1(b,e),e.fontFamily&&(b.personFontFamily=b.systemFontFamily=b.messageFontFamily=e.fontFamily),e.fontSize&&(b.personFontSize=b.systemFontSize=b.messageFontSize=e.fontSize),e.fontWeight&&(b.personFontWeight=b.systemFontWeight=b.messageFontWeight=e.fontWeight)},Rt=(e,t)=>({fontFamily:e[t+"FontFamily"],fontSize:e[t+"FontSize"],fontWeight:e[t+"FontWeight"]}),Lt=e=>({fontFamily:e.boundaryFontFamily,fontSize:e.boundaryFontSize,fontWeight:e.boundaryFontWeight}),c0=e=>({fontFamily:e.messageFontFamily,fontSize:e.messageFontSize,fontWeight:e.messageFontWeight});function j(e,t,a,o,l){if(!t[e].width)if(a)t[e].text=w.wrapLabel(t[e].text,l,o),t[e].textLines=t[e].text.split(w.common$1.lineBreakRegex).length,t[e].width=l,t[e].height=w.calculateTextHeight(t[e].text,o);else{let i=t[e].text.split(w.common$1.lineBreakRegex);t[e].textLines=i.length;let s=0;t[e].height=0,t[e].width=0;for(const r of i)t[e].width=Math.max(w.calculateTextWidth(r,o),t[e].width),s=w.calculateTextHeight(r,o),t[e].height=t[e].height+s}}const fe=function(e,t,a){t.x=a.data.startx,t.y=a.data.starty,t.width=a.data.stopx-a.data.startx,t.height=a.data.stopy-a.data.starty,t.label.y=b.c4ShapeMargin-35;let o=t.wrap&&b.wrap,l=Lt(b);l.fontSize=l.fontSize+2,l.fontWeight="bold";let i=w.calculateTextWidth(t.label.text,l);j("label",t,o,l,i),V.drawBoundary(e,t,b)},pe=function(e,t,a,o){let l=0;for(const i of o){l=0;const s=a[i];let r=Rt(b,s.typeC4Shape.text);switch(r.fontSize=r.fontSize-2,s.typeC4Shape.width=w.calculateTextWidth("«"+s.typeC4Shape.text+"»",r),s.typeC4Shape.height=r.fontSize+2,s.typeC4Shape.Y=b.c4ShapePadding,l=s.typeC4Shape.Y+s.typeC4Shape.height-4,s.image={width:0,height:0,Y:0},s.typeC4Shape.text){case"person":case"external_person":s.image.width=48,s.image.height=48,s.image.Y=l,l=s.image.Y+s.image.height;break}s.sprite&&(s.image.width=48,s.image.height=48,s.image.Y=l,l=s.image.Y+s.image.height);let n=s.wrap&&b.wrap,h=b.width-b.c4ShapePadding*2,f=Rt(b,s.typeC4Shape.text);if(f.fontSize=f.fontSize+2,f.fontWeight="bold",j("label",s,n,f,h),s.label.Y=l+8,l=s.label.Y+s.label.height,s.type&&s.type.text!==""){s.type.text="["+s.type.text+"]";let E=Rt(b,s.typeC4Shape.text);j("type",s,n,E,h),s.type.Y=l+5,l=s.type.Y+s.type.height}else if(s.techn&&s.techn.text!==""){s.techn.text="["+s.techn.text+"]";let E=Rt(b,s.techn.text);j("techn",s,n,E,h),s.techn.Y=l+5,l=s.techn.Y+s.techn.height}let d=l,p=s.label.width;if(s.descr&&s.descr.text!==""){let E=Rt(b,s.typeC4Shape.text);j("descr",s,n,E,h),s.descr.Y=l+20,l=s.descr.Y+s.descr.height,p=Math.max(s.label.width,s.descr.width),d=l-s.descr.textLines*5}p=p+b.c4ShapePadding,s.width=Math.max(s.width||b.width,p,b.width),s.height=Math.max(s.height||b.height,d,b.height),s.margin=s.margin||b.c4ShapeMargin,e.insert(s),V.drawC4Shape(t,s,b)}e.bumpLastMargin(b.c4ShapeMargin)};class Y{constructor(t,a){this.x=t,this.y=a}}let se=function(e,t){let a=e.x,o=e.y,l=t.x,i=t.y,s=a+e.width/2,r=o+e.height/2,n=Math.abs(a-l),h=Math.abs(o-i),f=h/n,d=e.height/e.width,p=null;return o==i&&a<l?p=new Y(a+e.width,r):o==i&&a>l?p=new Y(a,r):a==l&&o<i?p=new Y(s,o+e.height):a==l&&o>i&&(p=new Y(s,o)),a>l&&o<i?d>=f?p=new Y(a,r+f*e.width/2):p=new Y(s-n/h*e.height/2,o+e.height):a<l&&o<i?d>=f?p=new Y(a+e.width,r+f*e.width/2):p=new Y(s+n/h*e.height/2,o+e.height):a<l&&o>i?d>=f?p=new Y(a+e.width,r-f*e.width/2):p=new Y(s+e.height/2*n/h,o):a>l&&o>i&&(d>=f?p=new Y(a,r-e.width/2*f):p=new Y(s-e.height/2*n/h,o)),p},h0=function(e,t){let a={x:0,y:0};a.x=t.x+t.width/2,a.y=t.y+t.height/2;let o=se(e,a);a.x=e.x+e.width/2,a.y=e.y+e.height/2;let l=se(t,a);return{startPoint:o,endPoint:l}};const u0=function(e,t,a,o){let l=0;for(let i of t){l=l+1;let s=i.wrap&&b.wrap,r=c0(b);o.db.getC4Type()==="C4Dynamic"&&(i.label.text=l+": "+i.label.text);let h=w.calculateTextWidth(i.label.text,r);j("label",i,s,r,h),i.techn&&i.techn.text!==""&&(h=w.calculateTextWidth(i.techn.text,r),j("techn",i,s,r,h)),i.descr&&i.descr.text!==""&&(h=w.calculateTextWidth(i.descr.text,r),j("descr",i,s,r,h));let f=a(i.from),d=a(i.to),p=h0(f,d);i.startPoint=p.startPoint,i.endPoint=p.endPoint}V.drawRels(e,t,b)};function ye(e,t,a,o,l){let i=new de(l);i.data.widthLimit=a.data.widthLimit/Math.min(Gt,o.length);for(let[s,r]of o.entries()){let n=0;r.image={width:0,height:0,Y:0},r.sprite&&(r.image.width=48,r.image.height=48,r.image.Y=n,n=r.image.Y+r.image.height);let h=r.wrap&&b.wrap,f=Lt(b);if(f.fontSize=f.fontSize+2,f.fontWeight="bold",j("label",r,h,f,i.data.widthLimit),r.label.Y=n+8,n=r.label.Y+r.label.height,r.type&&r.type.text!==""){r.type.text="["+r.type.text+"]";let O=Lt(b);j("type",r,h,O,i.data.widthLimit),r.type.Y=n+5,n=r.type.Y+r.type.height}if(r.descr&&r.descr.text!==""){let O=Lt(b);O.fontSize=O.fontSize-2,j("descr",r,h,O,i.data.widthLimit),r.descr.Y=n+20,n=r.descr.Y+r.descr.height}if(s==0||s%Gt===0){let O=a.data.startx+b.diagramMarginX,D=a.data.stopy+b.diagramMarginY+n;i.setData(O,O,D,D)}else{let O=i.data.stopx!==i.data.startx?i.data.stopx+b.diagramMarginX:i.data.startx,D=i.data.starty;i.setData(O,O,D,D)}i.name=r.alias;let d=l.db.getC4ShapeArray(r.alias),p=l.db.getC4ShapeKeys(r.alias);p.length>0&&pe(i,e,d,p),t=r.alias;let E=l.db.getBoundarys(t);E.length>0&&ye(e,t,i,E,l),r.alias!=="global"&&fe(e,r,i),a.data.stopy=Math.max(i.data.stopy+b.c4ShapeMargin,a.data.stopy),a.data.stopx=Math.max(i.data.stopx+b.c4ShapeMargin,a.data.stopx),It=Math.max(It,a.data.stopx),jt=Math.max(jt,a.data.stopy)}}const d0=function(e,t,a,o){b=w.getConfig().c4;const l=w.getConfig().securityLevel;let i;l==="sandbox"&&(i=w.select("#i"+t));const s=l==="sandbox"?w.select(i.nodes()[0].contentDocument.body):w.select("body");let r=o.db;o.db.setWrap(b.wrap),ue=r.getC4ShapeInRow(),Gt=r.getC4BoundaryInRow(),w.log$1.debug(`C:${JSON.stringify(b,null,2)}`);const n=l==="sandbox"?s.select(`[id="${t}"]`):w.select(`[id="${t}"]`);V.insertComputerIcon(n),V.insertDatabaseIcon(n),V.insertClockIcon(n);let h=new de(o);h.setData(b.diagramMarginX,b.diagramMarginX,b.diagramMarginY,b.diagramMarginY),h.data.widthLimit=screen.availWidth,It=b.diagramMarginX,jt=b.diagramMarginY;const f=o.db.getTitle();let d=o.db.getBoundarys("");ye(n,"",h,d,o),V.insertArrowHead(n),V.insertArrowEnd(n),V.insertArrowCrossHead(n),V.insertArrowFilledHead(n),u0(n,o.db.getRels(),o.db.getC4Shape,o),h.data.stopx=It,h.data.stopy=jt;const p=h.data;let O=p.stopy-p.starty+2*b.diagramMarginY;const P=p.stopx-p.startx+2*b.diagramMarginX;f&&n.append("text").text(f).attr("x",(p.stopx-p.startx)/2-4*b.diagramMarginX).attr("y",p.starty+b.diagramMarginY),w.configureSvgSize(n,O,P,b.useMaxWidth);const N=f?60:0;n.attr("viewBox",p.startx-b.diagramMarginX+" -"+(b.diagramMarginY+N)+" "+P+" "+(O+N)),w.log$1.debug("models:",p)},ae={drawPersonOrSystemArray:pe,drawBoundary:fe,setConf:Kt,draw:d0},f0=e=>`.person {
|
|
7
|
-
stroke: ${e.personBorder};
|
|
8
|
-
fill: ${e.personBkg};
|
|
9
|
-
}
|
|
10
|
-
`,p0=f0,y0={parser:ve,db:qt,renderer:ae,styles:p0,init:({c4:e,wrap:t})=>{ae.setConf(e),qt.setWrap(t)}};exports.diagram=y0;
|
package/dist/layers.DCtPhtVd.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";const F=require("./layers.3Ou02qfO.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;
|
package/dist/layers.DEzlOM_P.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./layers.C_TMBTwJ.js");require("./layers.BLDa5caG.js");exports.Commands=e.CB;exports.subsetToBase64=e.QB;exports.subsetToBinary=e.NQ;exports.toBase64=e.AI;
|
package/dist/layers.DIVgeM1q.js
DELETED
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
"use strict";const h=require("./layers.3Ou02qfO.js");var Oe=function(){var e=function(v,u,a,A){for(a=a||{},A=v.length;A--;a[v[A]]=u);return a},i=[1,17],r=[1,18],c=[1,19],o=[1,39],f=[1,40],k=[1,25],D=[1,23],B=[1,24],_=[1,31],Ae=[1,32],fe=[1,33],pe=[1,34],de=[1,35],Ce=[1,36],Ee=[1,26],me=[1,27],ge=[1,28],be=[1,29],C=[1,43],ke=[1,30],E=[1,42],m=[1,44],g=[1,41],T=[1,45],Te=[1,9],l=[1,8,9],z=[1,56],K=[1,57],Y=[1,58],Q=[1,59],j=[1,60],ye=[1,61],Fe=[1,62],X=[1,8,9,39],we=[1,74],P=[1,8,9,12,13,21,37,39,42,59,60,61,62,63,64,65,70,72],q=[1,8,9,12,13,19,21,37,39,42,46,59,60,61,62,63,64,65,70,72,74,80,95,97,98],H=[13,74,80,95,97,98],M=[13,64,65,74,80,95,97,98],Pe=[13,59,60,61,62,63,74,80,95,97,98],De=[1,93],W=[1,110],J=[1,108],Z=[1,102],$=[1,103],ee=[1,104],te=[1,105],se=[1,106],ie=[1,107],ne=[1,109],Be=[1,8,9,37,39,42],ue=[1,8,9,21],Me=[1,8,9,78],S=[1,8,9,21,73,74,78,80,81,82,83,84,85],_e={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,className:17,classLiteralName:18,GENERICTYPE:19,relationStatement:20,LABEL:21,namespaceStatement:22,classStatement:23,memberStatement:24,annotationStatement:25,clickStatement:26,styleStatement:27,cssClassStatement:28,noteStatement:29,direction:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,namespaceIdentifier:36,STRUCT_START:37,classStatements:38,STRUCT_STOP:39,NAMESPACE:40,classIdentifier:41,STYLE_SEPARATOR:42,members:43,CLASS:44,ANNOTATION_START:45,ANNOTATION_END:46,MEMBER:47,SEPARATOR:48,relation:49,NOTE_FOR:50,noteText:51,NOTE:52,direction_tb:53,direction_bt:54,direction_rl:55,direction_lr:56,relationType:57,lineType:58,AGGREGATION:59,EXTENSION:60,COMPOSITION:61,DEPENDENCY:62,LOLLIPOP:63,LINE:64,DOTTED_LINE:65,CALLBACK:66,LINK:67,LINK_TARGET:68,CLICK:69,CALLBACK_NAME:70,CALLBACK_ARGS:71,HREF:72,STYLE:73,ALPHA:74,stylesOpt:75,CSSCLASS:76,style:77,COMMA:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,commentToken:86,textToken:87,graphCodeTokens:88,textNoTagsToken:89,TAGSTART:90,TAGEND:91,"==":92,"--":93,DEFAULT:94,MINUS:95,keywords:96,UNICODE_TEXT:97,BQUOTE_STR:98,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",19:"GENERICTYPE",21:"LABEL",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",37:"STRUCT_START",39:"STRUCT_STOP",40:"NAMESPACE",42:"STYLE_SEPARATOR",44:"CLASS",45:"ANNOTATION_START",46:"ANNOTATION_END",47:"MEMBER",48:"SEPARATOR",50:"NOTE_FOR",52:"NOTE",53:"direction_tb",54:"direction_bt",55:"direction_rl",56:"direction_lr",59:"AGGREGATION",60:"EXTENSION",61:"COMPOSITION",62:"DEPENDENCY",63:"LOLLIPOP",64:"LINE",65:"DOTTED_LINE",66:"CALLBACK",67:"LINK",68:"LINK_TARGET",69:"CLICK",70:"CALLBACK_NAME",71:"CALLBACK_ARGS",72:"HREF",73:"STYLE",74:"ALPHA",76:"CSSCLASS",78:"COMMA",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",88:"graphCodeTokens",90:"TAGSTART",91:"TAGEND",92:"==",93:"--",94:"DEFAULT",95:"MINUS",96:"keywords",97:"UNICODE_TEXT",98:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,2],[17,1],[17,1],[17,2],[17,2],[17,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[22,4],[22,5],[36,2],[38,1],[38,2],[38,3],[23,1],[23,3],[23,4],[23,6],[41,2],[41,3],[25,4],[43,1],[43,2],[24,1],[24,2],[24,1],[24,1],[20,3],[20,4],[20,4],[20,5],[29,3],[29,2],[30,1],[30,1],[30,1],[30,1],[49,3],[49,2],[49,2],[49,1],[57,1],[57,1],[57,1],[57,1],[57,1],[58,1],[58,1],[26,3],[26,4],[26,3],[26,4],[26,4],[26,5],[26,3],[26,4],[26,4],[26,5],[26,4],[26,5],[26,5],[26,6],[27,3],[28,3],[75,1],[75,3],[77,1],[77,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[86,1],[86,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[89,1],[89,1],[89,1],[89,1],[16,1],[16,1],[16,1],[16,1],[18,1],[51,1]],performAction:function(u,a,A,n,d,t,G){var s=t.length-1;switch(d){case 8:this.$=t[s-1];break;case 9:case 11:case 12:this.$=t[s];break;case 10:case 13:this.$=t[s-1]+t[s];break;case 14:case 15:this.$=t[s-1]+"~"+t[s]+"~";break;case 16:n.addRelation(t[s]);break;case 17:t[s-1].title=n.cleanupLabel(t[s]),n.addRelation(t[s-1]);break;case 27:this.$=t[s].trim(),n.setAccTitle(this.$);break;case 28:case 29:this.$=t[s].trim(),n.setAccDescription(this.$);break;case 30:n.addClassesToNamespace(t[s-3],t[s-1]);break;case 31:n.addClassesToNamespace(t[s-4],t[s-1]);break;case 32:this.$=t[s],n.addNamespace(t[s]);break;case 33:this.$=[t[s]];break;case 34:this.$=[t[s-1]];break;case 35:t[s].unshift(t[s-2]),this.$=t[s];break;case 37:n.setCssClass(t[s-2],t[s]);break;case 38:n.addMembers(t[s-3],t[s-1]);break;case 39:n.setCssClass(t[s-5],t[s-3]),n.addMembers(t[s-5],t[s-1]);break;case 40:this.$=t[s],n.addClass(t[s]);break;case 41:this.$=t[s-1],n.addClass(t[s-1]),n.setClassLabel(t[s-1],t[s]);break;case 42:n.addAnnotation(t[s],t[s-2]);break;case 43:this.$=[t[s]];break;case 44:t[s].push(t[s-1]),this.$=t[s];break;case 45:break;case 46:n.addMember(t[s-1],n.cleanupLabel(t[s]));break;case 47:break;case 48:break;case 49:this.$={id1:t[s-2],id2:t[s],relation:t[s-1],relationTitle1:"none",relationTitle2:"none"};break;case 50:this.$={id1:t[s-3],id2:t[s],relation:t[s-1],relationTitle1:t[s-2],relationTitle2:"none"};break;case 51:this.$={id1:t[s-3],id2:t[s],relation:t[s-2],relationTitle1:"none",relationTitle2:t[s-1]};break;case 52:this.$={id1:t[s-4],id2:t[s],relation:t[s-2],relationTitle1:t[s-3],relationTitle2:t[s-1]};break;case 53:n.addNote(t[s],t[s-1]);break;case 54:n.addNote(t[s]);break;case 55:n.setDirection("TB");break;case 56:n.setDirection("BT");break;case 57:n.setDirection("RL");break;case 58:n.setDirection("LR");break;case 59:this.$={type1:t[s-2],type2:t[s],lineType:t[s-1]};break;case 60:this.$={type1:"none",type2:t[s],lineType:t[s-1]};break;case 61:this.$={type1:t[s-1],type2:"none",lineType:t[s]};break;case 62:this.$={type1:"none",type2:"none",lineType:t[s]};break;case 63:this.$=n.relationType.AGGREGATION;break;case 64:this.$=n.relationType.EXTENSION;break;case 65:this.$=n.relationType.COMPOSITION;break;case 66:this.$=n.relationType.DEPENDENCY;break;case 67:this.$=n.relationType.LOLLIPOP;break;case 68:this.$=n.lineType.LINE;break;case 69:this.$=n.lineType.DOTTED_LINE;break;case 70:case 76:this.$=t[s-2],n.setClickEvent(t[s-1],t[s]);break;case 71:case 77:this.$=t[s-3],n.setClickEvent(t[s-2],t[s-1]),n.setTooltip(t[s-2],t[s]);break;case 72:this.$=t[s-2],n.setLink(t[s-1],t[s]);break;case 73:this.$=t[s-3],n.setLink(t[s-2],t[s-1],t[s]);break;case 74:this.$=t[s-3],n.setLink(t[s-2],t[s-1]),n.setTooltip(t[s-2],t[s]);break;case 75:this.$=t[s-4],n.setLink(t[s-3],t[s-2],t[s]),n.setTooltip(t[s-3],t[s-1]);break;case 78:this.$=t[s-3],n.setClickEvent(t[s-2],t[s-1],t[s]);break;case 79:this.$=t[s-4],n.setClickEvent(t[s-3],t[s-2],t[s-1]),n.setTooltip(t[s-3],t[s]);break;case 80:this.$=t[s-3],n.setLink(t[s-2],t[s]);break;case 81:this.$=t[s-4],n.setLink(t[s-3],t[s-1],t[s]);break;case 82:this.$=t[s-4],n.setLink(t[s-3],t[s-1]),n.setTooltip(t[s-3],t[s]);break;case 83:this.$=t[s-5],n.setLink(t[s-4],t[s-2],t[s]),n.setTooltip(t[s-4],t[s-1]);break;case 84:this.$=t[s-2],n.setCssStyle(t[s-1],t[s]);break;case 85:n.setCssClass(t[s-1],t[s]);break;case 86:this.$=[t[s]];break;case 87:t[s-2].push(t[s]),this.$=t[s-2];break;case 89:this.$=t[s-1]+t[s];break}},table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:37,17:20,18:38,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:16,31:i,33:r,35:c,36:21,40:o,41:22,44:f,45:k,47:D,48:B,50:_,52:Ae,53:fe,54:pe,55:de,56:Ce,66:Ee,67:me,69:ge,73:be,74:C,76:ke,80:E,95:m,97:g,98:T},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},e(Te,[2,5],{8:[1,46]}),{8:[1,47]},e(l,[2,16],{21:[1,48]}),e(l,[2,18]),e(l,[2,19]),e(l,[2,20]),e(l,[2,21]),e(l,[2,22]),e(l,[2,23]),e(l,[2,24]),e(l,[2,25]),e(l,[2,26]),{32:[1,49]},{34:[1,50]},e(l,[2,29]),e(l,[2,45],{49:51,57:54,58:55,13:[1,52],21:[1,53],59:z,60:K,61:Y,62:Q,63:j,64:ye,65:Fe}),{37:[1,63]},e(X,[2,36],{37:[1,65],42:[1,64]}),e(l,[2,47]),e(l,[2,48]),{16:66,74:C,80:E,95:m,97:g},{16:37,17:67,18:38,74:C,80:E,95:m,97:g,98:T},{16:37,17:68,18:38,74:C,80:E,95:m,97:g,98:T},{16:37,17:69,18:38,74:C,80:E,95:m,97:g,98:T},{74:[1,70]},{13:[1,71]},{16:37,17:72,18:38,74:C,80:E,95:m,97:g,98:T},{13:we,51:73},e(l,[2,55]),e(l,[2,56]),e(l,[2,57]),e(l,[2,58]),e(P,[2,11],{16:37,18:38,17:75,19:[1,76],74:C,80:E,95:m,97:g,98:T}),e(P,[2,12],{19:[1,77]}),{15:78,16:79,74:C,80:E,95:m,97:g},{16:37,17:80,18:38,74:C,80:E,95:m,97:g,98:T},e(q,[2,112]),e(q,[2,113]),e(q,[2,114]),e(q,[2,115]),e([1,8,9,12,13,19,21,37,39,42,59,60,61,62,63,64,65,70,72],[2,116]),e(Te,[2,6],{10:5,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:16,17:20,36:21,41:22,16:37,18:38,5:81,31:i,33:r,35:c,40:o,44:f,45:k,47:D,48:B,50:_,52:Ae,53:fe,54:pe,55:de,56:Ce,66:Ee,67:me,69:ge,73:be,74:C,76:ke,80:E,95:m,97:g,98:T}),{5:82,10:5,16:37,17:20,18:38,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:16,31:i,33:r,35:c,36:21,40:o,41:22,44:f,45:k,47:D,48:B,50:_,52:Ae,53:fe,54:pe,55:de,56:Ce,66:Ee,67:me,69:ge,73:be,74:C,76:ke,80:E,95:m,97:g,98:T},e(l,[2,17]),e(l,[2,27]),e(l,[2,28]),{13:[1,84],16:37,17:83,18:38,74:C,80:E,95:m,97:g,98:T},{49:85,57:54,58:55,59:z,60:K,61:Y,62:Q,63:j,64:ye,65:Fe},e(l,[2,46]),{58:86,64:ye,65:Fe},e(H,[2,62],{57:87,59:z,60:K,61:Y,62:Q,63:j}),e(M,[2,63]),e(M,[2,64]),e(M,[2,65]),e(M,[2,66]),e(M,[2,67]),e(Pe,[2,68]),e(Pe,[2,69]),{8:[1,89],23:90,38:88,41:22,44:f},{16:91,74:C,80:E,95:m,97:g},{43:92,47:De},{46:[1,94]},{13:[1,95]},{13:[1,96]},{70:[1,97],72:[1,98]},{21:W,73:J,74:Z,75:99,77:100,79:101,80:$,81:ee,82:te,83:se,84:ie,85:ne},{74:[1,111]},{13:we,51:112},e(l,[2,54]),e(l,[2,117]),e(P,[2,13]),e(P,[2,14]),e(P,[2,15]),{37:[2,32]},{15:113,16:79,37:[2,9],74:C,80:E,95:m,97:g},e(Be,[2,40],{11:114,12:[1,115]}),e(Te,[2,7]),{9:[1,116]},e(ue,[2,49]),{16:37,17:117,18:38,74:C,80:E,95:m,97:g,98:T},{13:[1,119],16:37,17:118,18:38,74:C,80:E,95:m,97:g,98:T},e(H,[2,61],{57:120,59:z,60:K,61:Y,62:Q,63:j}),e(H,[2,60]),{39:[1,121]},{23:90,38:122,41:22,44:f},{8:[1,123],39:[2,33]},e(X,[2,37],{37:[1,124]}),{39:[1,125]},{39:[2,43],43:126,47:De},{16:37,17:127,18:38,74:C,80:E,95:m,97:g,98:T},e(l,[2,70],{13:[1,128]}),e(l,[2,72],{13:[1,130],68:[1,129]}),e(l,[2,76],{13:[1,131],71:[1,132]}),{13:[1,133]},e(l,[2,84],{78:[1,134]}),e(Me,[2,86],{79:135,21:W,73:J,74:Z,80:$,81:ee,82:te,83:se,84:ie,85:ne}),e(S,[2,88]),e(S,[2,90]),e(S,[2,91]),e(S,[2,92]),e(S,[2,93]),e(S,[2,94]),e(S,[2,95]),e(S,[2,96]),e(S,[2,97]),e(S,[2,98]),e(l,[2,85]),e(l,[2,53]),{37:[2,10]},e(Be,[2,41]),{13:[1,136]},{1:[2,4]},e(ue,[2,51]),e(ue,[2,50]),{16:37,17:137,18:38,74:C,80:E,95:m,97:g,98:T},e(H,[2,59]),e(l,[2,30]),{39:[1,138]},{23:90,38:139,39:[2,34],41:22,44:f},{43:140,47:De},e(X,[2,38]),{39:[2,44]},e(l,[2,42]),e(l,[2,71]),e(l,[2,73]),e(l,[2,74],{68:[1,141]}),e(l,[2,77]),e(l,[2,78],{13:[1,142]}),e(l,[2,80],{13:[1,144],68:[1,143]}),{21:W,73:J,74:Z,77:145,79:101,80:$,81:ee,82:te,83:se,84:ie,85:ne},e(S,[2,89]),{14:[1,146]},e(ue,[2,52]),e(l,[2,31]),{39:[2,35]},{39:[1,147]},e(l,[2,75]),e(l,[2,79]),e(l,[2,81]),e(l,[2,82],{68:[1,148]}),e(Me,[2,87],{79:135,21:W,73:J,74:Z,80:$,81:ee,82:te,83:se,84:ie,85:ne}),e(Be,[2,8]),e(X,[2,39]),e(l,[2,83])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],78:[2,32],113:[2,10],116:[2,4],126:[2,44],139:[2,35]},parseError:function(u,a){if(a.recoverable)this.trace(u);else{var A=new Error(u);throw A.hash=a,A}},parse:function(u){var a=this,A=[0],n=[],d=[null],t=[],G=this.table,s="",re=0,Ge=0,Je=2,Ue=1,Ze=t.slice.call(arguments,1),b=Object.create(this.lexer),O={yy:{}};for(var Ne in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ne)&&(O.yy[Ne]=this.yy[Ne]);b.setInput(u,O.yy),O.yy.lexer=b,O.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var Le=b.yylloc;t.push(Le);var $e=b.options&&b.options.ranges;typeof O.yy.parseError=="function"?this.parseError=O.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function et(){var L;return L=n.pop()||b.lex()||Ue,typeof L!="number"&&(L instanceof Array&&(n=L,L=n.pop()),L=a.symbols_[L]||L),L}for(var y,I,F,ve,w={},ae,N,ze,ce;;){if(I=A[A.length-1],this.defaultActions[I]?F=this.defaultActions[I]:((y===null||typeof y>"u")&&(y=et()),F=G[I]&&G[I][y]),typeof F>"u"||!F.length||!F[0]){var xe="";ce=[];for(ae in G[I])this.terminals_[ae]&&ae>Je&&ce.push("'"+this.terminals_[ae]+"'");b.showPosition?xe="Parse error on line "+(re+1)+`:
|
|
2
|
-
`+b.showPosition()+`
|
|
3
|
-
Expecting `+ce.join(", ")+", got '"+(this.terminals_[y]||y)+"'":xe="Parse error on line "+(re+1)+": Unexpected "+(y==Ue?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(xe,{text:b.match,token:this.terminals_[y]||y,line:b.yylineno,loc:Le,expected:ce})}if(F[0]instanceof Array&&F.length>1)throw new Error("Parse Error: multiple actions possible at state: "+I+", token: "+y);switch(F[0]){case 1:A.push(y),d.push(b.yytext),t.push(b.yylloc),A.push(F[1]),y=null,Ge=b.yyleng,s=b.yytext,re=b.yylineno,Le=b.yylloc;break;case 2:if(N=this.productions_[F[1]][1],w.$=d[d.length-N],w._$={first_line:t[t.length-(N||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(N||1)].first_column,last_column:t[t.length-1].last_column},$e&&(w._$.range=[t[t.length-(N||1)].range[0],t[t.length-1].range[1]]),ve=this.performAction.apply(w,[s,Ge,re,O.yy,F[1],d,t].concat(Ze)),typeof ve<"u")return ve;N&&(A=A.slice(0,-1*N*2),d=d.slice(0,-1*N),t=t.slice(0,-1*N)),A.push(this.productions_[F[1]][0]),d.push(w.$),t.push(w._$),ze=G[A[A.length-2]][A[A.length-1]],A.push(ze);break;case 3:return!0}}return!0}},We=function(){var v={EOF:1,parseError:function(a,A){if(this.yy.parser)this.yy.parser.parseError(a,A);else throw new Error(a)},setInput:function(u,a){return this.yy=a||this.yy||{},this._input=u,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 u=this._input[0];this.yytext+=u,this.yyleng++,this.offset++,this.match+=u,this.matched+=u;var a=u.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),u},unput:function(u){var a=u.length,A=u.split(/(?:\r\n?|\n)/g);this._input=u+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;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),A.length-1&&(this.yylineno-=A.length-1);var d=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:A?(A.length===n.length?this.yylloc.first_column:0)+n[n.length-A.length].length-A[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[d[0],d[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},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(u){this.unput(this.match.slice(u))},pastInput:function(){var u=this.matched.substr(0,this.matched.length-this.match.length);return(u.length>20?"...":"")+u.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var u=this.match;return u.length<20&&(u+=this._input.substr(0,20-u.length)),(u.substr(0,20)+(u.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var u=this.pastInput(),a=new Array(u.length+1).join("-");return u+this.upcomingInput()+`
|
|
5
|
-
`+a+"^"},test_match:function(u,a){var A,n,d;if(this.options.backtrack_lexer&&(d={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&&(d.yylloc.range=this.yylloc.range.slice(0))),n=u[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+u[0].length},this.yytext+=u[0],this.match+=u[0],this.matches=u,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(u[0].length),this.matched+=u[0],A=this.performAction.call(this,this.yy,this,a,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),A)return A;if(this._backtrack){for(var t in d)this[t]=d[t];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var u,a,A,n;this._more||(this.yytext="",this.match="");for(var d=this._currentRules(),t=0;t<d.length;t++)if(A=this._input.match(this.rules[d[t]]),A&&(!a||A[0].length>a[0].length)){if(a=A,n=t,this.options.backtrack_lexer){if(u=this.test_match(A,d[t]),u!==!1)return u;if(this._backtrack){a=!1;continue}else return!1}else if(!this.options.flex)break}return a?(u=this.test_match(a,d[n]),u!==!1?u:!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 a=this.next();return a||this.lex()},begin:function(a){this.conditionStack.push(a)},popState:function(){var a=this.conditionStack.length-1;return a>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(a){return a=this.conditionStack.length-1-Math.abs(a||0),a>=0?this.conditionStack[a]:"INITIAL"},pushState:function(a){this.begin(a)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(a,A,n,d){switch(n){case 0:return 53;case 1:return 54;case 2:return 55;case 3:return 56;case 4:break;case 5:break;case 6:return this.begin("acc_title"),31;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),33;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:return 8;case 14:break;case 15:return 7;case 16:return 7;case 17:return"EDGE_STATE";case 18:this.begin("callback_name");break;case 19:this.popState();break;case 20:this.popState(),this.begin("callback_args");break;case 21:return 70;case 22:this.popState();break;case 23:return 71;case 24:this.popState();break;case 25:return"STR";case 26:this.begin("string");break;case 27:return 73;case 28:return this.begin("namespace"),40;case 29:return this.popState(),8;case 30:break;case 31:return this.begin("namespace-body"),37;case 32:return this.popState(),39;case 33:return"EOF_IN_STRUCT";case 34:return 8;case 35:break;case 36:return"EDGE_STATE";case 37:return this.begin("class"),44;case 38:return this.popState(),8;case 39:break;case 40:return this.popState(),this.popState(),39;case 41:return this.begin("class-body"),37;case 42:return this.popState(),39;case 43:return"EOF_IN_STRUCT";case 44:return"EDGE_STATE";case 45:return"OPEN_IN_STRUCT";case 46:break;case 47:return"MEMBER";case 48:return 76;case 49:return 66;case 50:return 67;case 51:return 69;case 52:return 50;case 53:return 52;case 54:return 45;case 55:return 46;case 56:return 72;case 57:this.popState();break;case 58:return"GENERICTYPE";case 59:this.begin("generic");break;case 60:this.popState();break;case 61:return"BQUOTE_STR";case 62:this.begin("bqstring");break;case 63:return 68;case 64:return 68;case 65:return 68;case 66:return 68;case 67:return 60;case 68:return 60;case 69:return 62;case 70:return 62;case 71:return 61;case 72:return 59;case 73:return 63;case 74:return 64;case 75:return 65;case 76:return 21;case 77:return 42;case 78:return 95;case 79:return"DOT";case 80:return"PLUS";case 81:return 81;case 82:return 78;case 83:return 84;case 84:return 84;case 85:return 85;case 86:return"EQUALS";case 87:return"EQUALS";case 88:return 74;case 89:return 12;case 90:return 14;case 91:return"PUNCTUATION";case 92:return 80;case 93:return 97;case 94:return 83;case 95:return 83;case 96:return 9}},rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:classDiagram-v2\b)/,/^(?:classDiagram\b)/,/^(?:\[\*\])/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:["])/,/^(?:[^"]*)/,/^(?:["])/,/^(?:style\b)/,/^(?:namespace\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:\[\*\])/,/^(?:class\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[}])/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\[\*\])/,/^(?:[{])/,/^(?:[\n])/,/^(?:[^{}\n]*)/,/^(?:cssClass\b)/,/^(?:callback\b)/,/^(?:link\b)/,/^(?:click\b)/,/^(?:note for\b)/,/^(?:note\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:href\b)/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:~)/,/^(?:[`])/,/^(?:[^`]+)/,/^(?:[`])/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:\s*<\|)/,/^(?:\s*\|>)/,/^(?:\s*>)/,/^(?:\s*<)/,/^(?:\s*\*)/,/^(?:\s*o\b)/,/^(?:\s*\(\))/,/^(?:--)/,/^(?:\.\.)/,/^(?::{1}[^:\n;]+)/,/^(?::{3})/,/^(?:-)/,/^(?:\.)/,/^(?:\+)/,/^(?::)/,/^(?:,)/,/^(?:#)/,/^(?:#)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:\w+)/,/^(?:\[)/,/^(?:\])/,/^(?:[!"#$%&'*+,-.`?\\/])/,/^(?:[0-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])/,/^(?:\s)/,/^(?:\s)/,/^(?:$)/],conditions:{"namespace-body":{rules:[26,32,33,34,35,36,37,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},namespace:{rules:[26,28,29,30,31,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},"class-body":{rules:[26,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},class:{rules:[26,38,39,40,41,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},acc_descr_multiline:{rules:[11,12,26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},acc_descr:{rules:[9,26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},acc_title:{rules:[7,26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},callback_args:{rules:[22,23,26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},callback_name:{rules:[19,20,21,26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},href:{rules:[26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},struct:{rules:[26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},generic:{rules:[26,48,49,50,51,52,53,54,55,56,57,58,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},bqstring:{rules:[26,48,49,50,51,52,53,54,55,56,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},string:{rules:[24,25,26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,26,27,28,37,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96],inclusive:!0}}};return v}();_e.lexer=We;function Se(){this.yy={}}return Se.prototype=_e,_e.Parser=Se,new Se}();Oe.parser=Oe;const tt=Oe,Ke=["#","+","~","-",""];class Ye{constructor(i,r){this.memberType=r,this.visibility="",this.classifier="";const c=h.sanitizeText$2(i,h.getConfig());this.parseMember(c)}getDisplayDetails(){let i=this.visibility+h.parseGenericTypes(this.id);this.memberType==="method"&&(i+=`(${h.parseGenericTypes(this.parameters.trim())})`,this.returnType&&(i+=" : "+h.parseGenericTypes(this.returnType))),i=i.trim();const r=this.parseClassifier();return{displayText:i,cssStyle:r}}parseMember(i){let r="";if(this.memberType==="method"){const c=/([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/,o=i.match(c);if(o){const f=o[1]?o[1].trim():"";if(Ke.includes(f)&&(this.visibility=f),this.id=o[2].trim(),this.parameters=o[3]?o[3].trim():"",r=o[4]?o[4].trim():"",this.returnType=o[5]?o[5].trim():"",r===""){const k=this.returnType.substring(this.returnType.length-1);k.match(/[$*]/)&&(r=k,this.returnType=this.returnType.substring(0,this.returnType.length-1))}}}else{const c=i.length,o=i.substring(0,1),f=i.substring(c-1);Ke.includes(o)&&(this.visibility=o),f.match(/[$*]/)&&(r=f),this.id=i.substring(this.visibility===""?0:1,r===""?c:c-1)}this.classifier=r}parseClassifier(){switch(this.classifier){case"*":return"font-style:italic;";case"$":return"text-decoration:underline;";default:return""}}}const he="classId-";let Re=[],p={},le=[],Qe=0,x={},Ie=0,U=[];const R=e=>h.common$1.sanitizeText(e,h.getConfig()),V=function(e){const i=h.common$1.sanitizeText(e,h.getConfig());let r="",c=i;if(i.indexOf("~")>0){const o=i.split("~");c=R(o[0]),r=R(o[1])}return{className:c,type:r}},st=function(e,i){const r=h.common$1.sanitizeText(e,h.getConfig());i&&(i=R(i));const{className:c}=V(r);p[c].label=i},oe=function(e){const i=h.common$1.sanitizeText(e,h.getConfig()),{className:r,type:c}=V(i);if(Object.hasOwn(p,r))return;const o=h.common$1.sanitizeText(r,h.getConfig());p[o]={id:o,type:c,label:o,cssClasses:[],methods:[],members:[],annotations:[],styles:[],domId:he+o+"-"+Qe},Qe++},je=function(e){const i=h.common$1.sanitizeText(e,h.getConfig());if(i in p)return p[i].domId;throw new Error("Class not found: "+i)},it=function(){Re=[],p={},le=[],U=[],U.push(qe),x={},Ie=0,h.clear()},nt=function(e){return p[e]},ut=function(){return p},rt=function(){return Re},at=function(){return le},ct=function(e){h.log$1.debug("Adding relation: "+JSON.stringify(e)),oe(e.id1),oe(e.id2),e.id1=V(e.id1).className,e.id2=V(e.id2).className,e.relationTitle1=h.common$1.sanitizeText(e.relationTitle1.trim(),h.getConfig()),e.relationTitle2=h.common$1.sanitizeText(e.relationTitle2.trim(),h.getConfig()),Re.push(e)},lt=function(e,i){const r=V(e).className;p[r].annotations.push(i)},Xe=function(e,i){oe(e);const r=V(e).className,c=p[r];if(typeof i=="string"){const o=i.trim();o.startsWith("<<")&&o.endsWith(">>")?c.annotations.push(R(o.substring(2,o.length-2))):o.indexOf(")")>0?c.methods.push(new Ye(o,"method")):o&&c.members.push(new Ye(o,"attribute"))}},ot=function(e,i){Array.isArray(i)&&(i.reverse(),i.forEach(r=>Xe(e,r)))},ht=function(e,i){const r={id:`note${le.length}`,class:i,text:e};le.push(r)},At=function(e){return e.startsWith(":")&&(e=e.substring(1)),R(e.trim())},Ve=function(e,i){e.split(",").forEach(function(r){let c=r;r[0].match(/\d/)&&(c=he+c),p[c]!==void 0&&p[c].cssClasses.push(i)})},ft=function(e,i){e.split(",").forEach(function(r){i!==void 0&&(p[r].tooltip=R(i))})},pt=function(e,i){return i?x[i].classes[e].tooltip:p[e].tooltip},dt=function(e,i,r){const c=h.getConfig();e.split(",").forEach(function(o){let f=o;o[0].match(/\d/)&&(f=he+f),p[f]!==void 0&&(p[f].link=h.utils.formatUrl(i,c),c.securityLevel==="sandbox"?p[f].linkTarget="_top":typeof r=="string"?p[f].linkTarget=R(r):p[f].linkTarget="_blank")}),Ve(e,"clickable")},Ct=function(e,i,r){e.split(",").forEach(function(c){Et(c,i,r),p[c].haveCallback=!0}),Ve(e,"clickable")},Et=function(e,i,r){const c=h.common$1.sanitizeText(e,h.getConfig());if(h.getConfig().securityLevel!=="loose"||i===void 0)return;const f=c;if(p[f]!==void 0){const k=je(f);let D=[];if(typeof r=="string"){D=r.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let B=0;B<D.length;B++){let _=D[B].trim();_.charAt(0)==='"'&&_.charAt(_.length-1)==='"'&&(_=_.substr(1,_.length-2)),D[B]=_}}D.length===0&&D.push(k),U.push(function(){const B=document.querySelector(`[id="${k}"]`);B!==null&&B.addEventListener("click",function(){h.utils.runFunc(i,...D)},!1)})}},mt=function(e){U.forEach(function(i){i(e)})},gt={LINE:0,DOTTED_LINE:1},bt={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3,LOLLIPOP:4},qe=function(e){let i=h.select(".mermaidTooltip");(i._groups||i)[0][0]===null&&(i=h.select("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),h.select(e).select("svg").selectAll("g.node").on("mouseover",function(){const o=h.select(this);if(o.attr("title")===null)return;const k=this.getBoundingClientRect();i.transition().duration(200).style("opacity",".9"),i.text(o.attr("title")).style("left",window.scrollX+k.left+(k.right-k.left)/2+"px").style("top",window.scrollY+k.top-14+document.body.scrollTop+"px"),i.html(i.html().replace(/<br\/>/g,"<br/>")),o.classed("hover",!0)}).on("mouseout",function(){i.transition().duration(500).style("opacity",0),h.select(this).classed("hover",!1)})};U.push(qe);let He="TB";const kt=()=>He,Tt=e=>{He=e},yt=function(e){x[e]===void 0&&(x[e]={id:e,classes:{},children:{},domId:he+e+"-"+Ie},Ie++)},Ft=function(e){return x[e]},Dt=function(){return x},Bt=function(e,i){if(x[e]!==void 0)for(const r of i){const{className:c}=V(r);p[c].parent=e,x[e].classes[c]=p[c]}},_t=function(e,i){const r=p[e];if(!(!i||!r))for(const c of i)c.includes(",")?r.styles.push(...c.split(",")):r.styles.push(c)},St={setAccTitle:h.setAccTitle,getAccTitle:h.getAccTitle,getAccDescription:h.getAccDescription,setAccDescription:h.setAccDescription,getConfig:()=>h.getConfig().class,addClass:oe,bindFunctions:mt,clear:it,getClass:nt,getClasses:ut,getNotes:at,addAnnotation:lt,addNote:ht,getRelations:rt,addRelation:ct,getDirection:kt,setDirection:Tt,addMember:Xe,addMembers:ot,cleanupLabel:At,lineType:gt,relationType:bt,setClickEvent:Ct,setCssClass:Ve,setLink:dt,getTooltip:pt,setTooltip:ft,lookUpDomId:je,setDiagramTitle:h.setDiagramTitle,getDiagramTitle:h.getDiagramTitle,setClassLabel:st,addNamespace:yt,addClassesToNamespace:Bt,getNamespace:Ft,getNamespaces:Dt,setCssStyle:_t},Nt=e=>`g.classGroup text {
|
|
7
|
-
fill: ${e.nodeBorder||e.classText};
|
|
8
|
-
stroke: none;
|
|
9
|
-
font-family: ${e.fontFamily};
|
|
10
|
-
font-size: 10px;
|
|
11
|
-
|
|
12
|
-
.title {
|
|
13
|
-
font-weight: bolder;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.nodeLabel, .edgeLabel {
|
|
19
|
-
color: ${e.classText};
|
|
20
|
-
}
|
|
21
|
-
.edgeLabel .label rect {
|
|
22
|
-
fill: ${e.mainBkg};
|
|
23
|
-
}
|
|
24
|
-
.label text {
|
|
25
|
-
fill: ${e.classText};
|
|
26
|
-
}
|
|
27
|
-
.edgeLabel .label span {
|
|
28
|
-
background: ${e.mainBkg};
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.classTitle {
|
|
32
|
-
font-weight: bolder;
|
|
33
|
-
}
|
|
34
|
-
.node rect,
|
|
35
|
-
.node circle,
|
|
36
|
-
.node ellipse,
|
|
37
|
-
.node polygon,
|
|
38
|
-
.node path {
|
|
39
|
-
fill: ${e.mainBkg};
|
|
40
|
-
stroke: ${e.nodeBorder};
|
|
41
|
-
stroke-width: 1px;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
.divider {
|
|
46
|
-
stroke: ${e.nodeBorder};
|
|
47
|
-
stroke-width: 1;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
g.clickable {
|
|
51
|
-
cursor: pointer;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
g.classGroup rect {
|
|
55
|
-
fill: ${e.mainBkg};
|
|
56
|
-
stroke: ${e.nodeBorder};
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
g.classGroup line {
|
|
60
|
-
stroke: ${e.nodeBorder};
|
|
61
|
-
stroke-width: 1;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.classLabel .box {
|
|
65
|
-
stroke: none;
|
|
66
|
-
stroke-width: 0;
|
|
67
|
-
fill: ${e.mainBkg};
|
|
68
|
-
opacity: 0.5;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.classLabel .label {
|
|
72
|
-
fill: ${e.nodeBorder};
|
|
73
|
-
font-size: 10px;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.relation {
|
|
77
|
-
stroke: ${e.lineColor};
|
|
78
|
-
stroke-width: 1;
|
|
79
|
-
fill: none;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.dashed-line{
|
|
83
|
-
stroke-dasharray: 3;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.dotted-line{
|
|
87
|
-
stroke-dasharray: 1 2;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
#compositionStart, .composition {
|
|
91
|
-
fill: ${e.lineColor} !important;
|
|
92
|
-
stroke: ${e.lineColor} !important;
|
|
93
|
-
stroke-width: 1;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
#compositionEnd, .composition {
|
|
97
|
-
fill: ${e.lineColor} !important;
|
|
98
|
-
stroke: ${e.lineColor} !important;
|
|
99
|
-
stroke-width: 1;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
#dependencyStart, .dependency {
|
|
103
|
-
fill: ${e.lineColor} !important;
|
|
104
|
-
stroke: ${e.lineColor} !important;
|
|
105
|
-
stroke-width: 1;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
#dependencyStart, .dependency {
|
|
109
|
-
fill: ${e.lineColor} !important;
|
|
110
|
-
stroke: ${e.lineColor} !important;
|
|
111
|
-
stroke-width: 1;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
#extensionStart, .extension {
|
|
115
|
-
fill: transparent !important;
|
|
116
|
-
stroke: ${e.lineColor} !important;
|
|
117
|
-
stroke-width: 1;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
#extensionEnd, .extension {
|
|
121
|
-
fill: transparent !important;
|
|
122
|
-
stroke: ${e.lineColor} !important;
|
|
123
|
-
stroke-width: 1;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
#aggregationStart, .aggregation {
|
|
127
|
-
fill: transparent !important;
|
|
128
|
-
stroke: ${e.lineColor} !important;
|
|
129
|
-
stroke-width: 1;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
#aggregationEnd, .aggregation {
|
|
133
|
-
fill: transparent !important;
|
|
134
|
-
stroke: ${e.lineColor} !important;
|
|
135
|
-
stroke-width: 1;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
#lollipopStart, .lollipop {
|
|
139
|
-
fill: ${e.mainBkg} !important;
|
|
140
|
-
stroke: ${e.lineColor} !important;
|
|
141
|
-
stroke-width: 1;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
#lollipopEnd, .lollipop {
|
|
145
|
-
fill: ${e.mainBkg} !important;
|
|
146
|
-
stroke: ${e.lineColor} !important;
|
|
147
|
-
stroke-width: 1;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.edgeTerminals {
|
|
151
|
-
font-size: 11px;
|
|
152
|
-
line-height: initial;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.classTitleText {
|
|
156
|
-
text-anchor: middle;
|
|
157
|
-
font-size: 18px;
|
|
158
|
-
fill: ${e.textColor};
|
|
159
|
-
}
|
|
160
|
-
`,Lt=Nt;exports.db=St;exports.parser$1=tt;exports.styles=Lt;
|