@economic/agents-playground 1.2.2 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{architectureDiagram-Q4EWVU46-B6GqUS-l.js → architectureDiagram-Q4EWVU46-YqMLsb7j.js} +1 -1
- package/dist/assets/{blockDiagram-DXYQGD6D-CigoMMLr.js → blockDiagram-DXYQGD6D-CltV9XBC.js} +1 -1
- package/dist/assets/{c4Diagram-AHTNJAMY-CWr1zv4H.js → c4Diagram-AHTNJAMY-CWB837fW.js} +1 -1
- package/dist/assets/channel-AqIO9WKZ.js +1 -0
- package/dist/assets/{chunk-336JU56O-BJgYnQa4.js → chunk-336JU56O-DL4hldLt.js} +2 -2
- package/dist/assets/{chunk-426QAEUC-BudTcDUq.js → chunk-426QAEUC-xf0J0Z4Z.js} +1 -1
- package/dist/assets/{chunk-4TB4RGXK-CrR5B6VF.js → chunk-4TB4RGXK-YmzpOfqV.js} +1 -1
- package/dist/assets/{chunk-5FUZZQ4R-D52n4iP1.js → chunk-5FUZZQ4R-uEUqWyGT.js} +1 -1
- package/dist/assets/{chunk-5PVQY5BW-B3bik6Qs.js → chunk-5PVQY5BW-QAGKzDty.js} +1 -1
- package/dist/assets/{chunk-EDXVE4YY-WMeXCGO7.js → chunk-EDXVE4YY-DdpQIdg4.js} +1 -1
- package/dist/assets/{chunk-ENJZ2VHE-7eB4zobq.js → chunk-ENJZ2VHE-BcPm3pHg.js} +1 -1
- package/dist/assets/{chunk-ICPOFSXX-DPU14nQf.js → chunk-ICPOFSXX-DB7cwCV-.js} +4 -4
- package/dist/assets/{chunk-OYMX7WX6-BSCL662h.js → chunk-OYMX7WX6-Czr9tLVQ.js} +1 -1
- package/dist/assets/{chunk-U2HBQHQK-kHvr0n9_.js → chunk-U2HBQHQK-BUEDKHge.js} +1 -1
- package/dist/assets/{chunk-X2U36JSP-C2t_hmZI.js → chunk-X2U36JSP-8NnX55Y7.js} +1 -1
- package/dist/assets/{chunk-YZCP3GAM-BG1b_sfU.js → chunk-YZCP3GAM-BKzzLXtn.js} +1 -1
- package/dist/assets/{chunk-ZZ45TVLE-Do5bp_-Y.js → chunk-ZZ45TVLE-BGFsPZSd.js} +1 -1
- package/dist/assets/classDiagram-6PBFFD2Q-DB1wrXGP.js +1 -0
- package/dist/assets/classDiagram-v2-HSJHXN6E-Bw6ca9pK.js +1 -0
- package/dist/assets/clone-DvmUvjwu.js +1 -0
- package/dist/assets/{dagre-Ba9vsFs-.js → dagre-BWXdComn.js} +1 -1
- package/dist/assets/{dagre-KV5264BT-hvYWIxYK.js → dagre-KV5264BT-Cp2gq40x.js} +1 -1
- package/dist/assets/{diagram-5BDNPKRD-BOSFMK4P.js → diagram-5BDNPKRD-GSxbfnJz.js} +1 -1
- package/dist/assets/{diagram-G4DWMVQ6-DSxu2KQr.js → diagram-G4DWMVQ6-tp6J6SRd.js} +1 -1
- package/dist/assets/{diagram-MMDJMWI5-BqrYMMHf.js → diagram-MMDJMWI5-Gu8Src1V.js} +1 -1
- package/dist/assets/{diagram-TYMM5635-stCZ2yN4.js → diagram-TYMM5635-cq8z5oad.js} +1 -1
- package/dist/assets/{erDiagram-SMLLAGMA-DyHL3KXD.js → erDiagram-SMLLAGMA-Bx1_Os8W.js} +1 -1
- package/dist/assets/{flowDiagram-DWJPFMVM-BuT0EUmC.js → flowDiagram-DWJPFMVM-Bktw281T.js} +1 -1
- package/dist/assets/{ganttDiagram-T4ZO3ILL-DwqQPsL3.js → ganttDiagram-T4ZO3ILL-BMXeVYqc.js} +1 -1
- package/dist/assets/{gitGraphDiagram-UUTBAWPF-B7Xh4MhX.js → gitGraphDiagram-UUTBAWPF-ChQ9Ghgn.js} +1 -1
- package/dist/assets/{graphlib-B6Sx8SxO.js → graphlib-BeGTzsVr.js} +1 -1
- package/dist/assets/index-CxJJBMoS.css +2 -0
- package/dist/assets/index-EkKJOXDi.js +329 -0
- package/dist/assets/{infoDiagram-42DDH7IO-Ubhhvlj2.js → infoDiagram-42DDH7IO-Dsx5n_6C.js} +1 -1
- package/dist/assets/{ishikawaDiagram-UXIWVN3A-DwC7bupi.js → ishikawaDiagram-UXIWVN3A-Mp37nJ4d.js} +1 -1
- package/dist/assets/{journeyDiagram-VCZTEJTY-zjDAn2hc.js → journeyDiagram-VCZTEJTY-B6vqrNf2.js} +1 -1
- package/dist/assets/{kanban-definition-6JOO6SKY-B8tLLKl_.js → kanban-definition-6JOO6SKY-bI4JYf8h.js} +1 -1
- package/dist/assets/{line-CTWofckH.js → line-lZvS95XN.js} +1 -1
- package/dist/assets/{mindmap-definition-QFDTVHPH-CmmHREAE.js → mindmap-definition-QFDTVHPH-BtXgyix8.js} +1 -1
- package/dist/assets/{pieDiagram-DEJITSTG-CY7UzlNA.js → pieDiagram-DEJITSTG-C2vsUYuj.js} +1 -1
- package/dist/assets/{quadrantDiagram-34T5L4WZ-CFRhUx6G.js → quadrantDiagram-34T5L4WZ-CwMD-RYU.js} +1 -1
- package/dist/assets/{requirementDiagram-MS252O5E-WIOmrMaO.js → requirementDiagram-MS252O5E-J4ulsCM6.js} +1 -1
- package/dist/assets/{sankeyDiagram-XADWPNL6-zDEJs1xu.js → sankeyDiagram-XADWPNL6-Bz2ZMHFN.js} +1 -1
- package/dist/assets/{sequenceDiagram-FGHM5R23-CUnj4Mqj.js → sequenceDiagram-FGHM5R23-b4aQT_5K.js} +1 -1
- package/dist/assets/{stateDiagram-FHFEXIEX-d6co23iE.js → stateDiagram-FHFEXIEX-DDenxAJa.js} +1 -1
- package/dist/assets/stateDiagram-v2-QKLJ7IA2-ClBsUbLz.js +1 -0
- package/dist/assets/{timeline-definition-GMOUNBTQ-CIKv1Jq0.js → timeline-definition-GMOUNBTQ-57fEq56M.js} +1 -1
- package/dist/assets/{vennDiagram-DHZGUBPP-ya7sSZNN.js → vennDiagram-DHZGUBPP-Bvydqbbx.js} +1 -1
- package/dist/assets/{wardleyDiagram-NUSXRM2D-E5XtnIim.js → wardleyDiagram-NUSXRM2D-BpjtR_nt.js} +1 -1
- package/dist/assets/{xychartDiagram-5P7HB3ND-DFE5v3bE.js → xychartDiagram-5P7HB3ND-DWFCOGcC.js} +1 -1
- package/dist/index.html +12 -12
- package/package.json +2 -2
- package/dist/assets/channel-BDUpd0JR.js +0 -1
- package/dist/assets/classDiagram-6PBFFD2Q-DaWLk_uZ.js +0 -1
- package/dist/assets/classDiagram-v2-HSJHXN6E-BQhx1y-5.js +0 -1
- package/dist/assets/clone-C3fjd0Ta.js +0 -1
- package/dist/assets/index-CJXc8PMM.js +0 -340
- package/dist/assets/index-PdFUBzlL.css +0 -2
- package/dist/assets/stateDiagram-v2-QKLJ7IA2-D2hNK5Wg.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as e,h as t,p as n}from"./src-Bn-kKzs7.js";import{b as r,w as i,y as a}from"./chunk-ICPOFSXX-
|
|
1
|
+
import{g as e,h as t,p as n}from"./src-Bn-kKzs7.js";import{b as r,w as i,y as a}from"./chunk-ICPOFSXX-DB7cwCV-.js";import{B as o,F as s,G as c,H as l,I as u,L as d,P as f,R as p,U as m,V as h,W as g,h as _,l as v,z as y}from"./chunk-5PVQY5BW-QAGKzDty.js";import{t as b}from"./line-lZvS95XN.js";import{i as x,n as S,r as C,t as w}from"./chunk-BSJP7CBP-DAOgE-Rh.js";import{n as T}from"./chunk-ZZ45TVLE-BGFsPZSd.js";import{i as E,n as ee}from"./chunk-X2U36JSP-8NnX55Y7.js";import{n as D}from"./chunk-U2HBQHQK-BUEDKHge.js";import{t as te}from"./rough.esm-CmtQZpzn.js";import{r as O}from"./chunk-5FUZZQ4R-uEUqWyGT.js";var k=t((e,t,n,r,i,a=!1,o)=>{t.arrowTypeStart&&M(e,`start`,t.arrowTypeStart,n,r,i,a,o),t.arrowTypeEnd&&M(e,`end`,t.arrowTypeEnd,n,r,i,a,o)},`addEdgeMarkers`),A={arrow_cross:{type:`cross`,fill:!1},arrow_point:{type:`point`,fill:!0},arrow_barb:{type:`barb`,fill:!0},arrow_barb_neo:{type:`barb`,fill:!0},arrow_circle:{type:`circle`,fill:!1},aggregation:{type:`aggregation`,fill:!1},extension:{type:`extension`,fill:!1},composition:{type:`composition`,fill:!0},dependency:{type:`dependency`,fill:!0},lollipop:{type:`lollipop`,fill:!1},only_one:{type:`onlyOne`,fill:!1},zero_or_one:{type:`zeroOrOne`,fill:!1},one_or_more:{type:`oneOrMore`,fill:!1},zero_or_more:{type:`zeroOrMore`,fill:!1},requirement_arrow:{type:`requirement_arrow`,fill:!1},requirement_contains:{type:`requirement_contains`,fill:!1}},j=[`cross`,`point`,`circle`,`lollipop`,`aggregation`,`extension`,`composition`,`dependency`,`barb`],M=t((t,n,r,i,a,o,s=!1,c)=>{let l=A[r],u=l&&j.includes(l.type);if(!l){e.warn(`Unknown arrow type: ${r}`);return}let d=`${a}_${o}-${l.type}${n===`start`?`Start`:`End`}${s&&u?`-margin`:``}`;if(c&&c.trim()!==``){let e=`${d}_${c.replace(/[^\dA-Za-z]/g,`_`)}`;if(!document.getElementById(e)){let t=document.getElementById(d);if(t){let n=t.cloneNode(!0);n.id=e,n.querySelectorAll(`path, circle, line`).forEach(e=>{e.setAttribute(`stroke`,c),l.fill&&e.setAttribute(`fill`,c)}),t.parentNode?.appendChild(n)}}t.attr(`marker-${n}`,`url(${i}#${e})`)}else t.attr(`marker-${n}`,`url(${i}#${d})`)},`addEdgeMarker`),ne=t(e=>typeof e==`string`?e:r()?.flowchart?.curve,`resolveEdgeCurveType`),N=new Map,P=new Map,F=t(()=>{N.clear(),P.clear()},`clear`),I=t(e=>e?typeof e==`string`?e:e.reduce((e,t)=>e+`;`+t,``):``,`getLabelStyles`),L=t(async(t,a)=>{let o=r(),s=i(o),{labelStyles:c}=E(a);a.labelStyle=c;let l=t.insert(`g`).attr(`class`,`edgeLabel`),u=l.insert(`g`).attr(`class`,`label`).attr(`data-id`,a.id),d=a.labelType===`markdown`,f=await D(t,a.label,{style:I(a.labelStyle),useHtmlLabels:s,addSvgBackground:!0,isNode:!1,markdown:d,width:void 0},o);u.node().appendChild(f),e.info(`abc82`,a,a.labelType);let p=f.getBBox(),m=p;if(s){let e=f.children[0],t=n(f);p=e.getBoundingClientRect(),m=p,t.attr(`width`,p.width),t.attr(`height`,p.height)}else{let e=n(f).select(`text`).node();e&&typeof e.getBBox==`function`&&(m=e.getBBox())}u.attr(`transform`,w(m,s)),N.set(a.id,l),a.width=p.width,a.height=p.height;let h;if(a.startLabelLeft){let e=t.insert(`g`).attr(`class`,`edgeTerminals`),r=e.insert(`g`).attr(`class`,`inner`),i=await O(r,a.startLabelLeft,I(a.labelStyle)||``,!1,!1);h=i;let o=i.getBBox();if(s){let e=i.children[0],t=n(i);o=e.getBoundingClientRect(),t.attr(`width`,o.width),t.attr(`height`,o.height)}r.attr(`transform`,w(o,s)),P.get(a.id)||P.set(a.id,{}),P.get(a.id).startLeft=e,R(h,a.startLabelLeft)}if(a.startLabelRight){let e=t.insert(`g`).attr(`class`,`edgeTerminals`),r=e.insert(`g`).attr(`class`,`inner`),i=await O(r,a.startLabelRight,I(a.labelStyle)||``,!1,!1);h=i,r.node().appendChild(i);let o=i.getBBox();if(s){let e=i.children[0],t=n(i);o=e.getBoundingClientRect(),t.attr(`width`,o.width),t.attr(`height`,o.height)}r.attr(`transform`,w(o,s)),P.get(a.id)||P.set(a.id,{}),P.get(a.id).startRight=e,R(h,a.startLabelRight)}if(a.endLabelLeft){let e=t.insert(`g`).attr(`class`,`edgeTerminals`),r=e.insert(`g`).attr(`class`,`inner`),i=await O(r,a.endLabelLeft,I(a.labelStyle)||``,!1,!1);h=i;let o=i.getBBox();if(s){let e=i.children[0],t=n(i);o=e.getBoundingClientRect(),t.attr(`width`,o.width),t.attr(`height`,o.height)}r.attr(`transform`,w(o,s)),e.node().appendChild(i),P.get(a.id)||P.set(a.id,{}),P.get(a.id).endLeft=e,R(h,a.endLabelLeft)}if(a.endLabelRight){let e=t.insert(`g`).attr(`class`,`edgeTerminals`),r=e.insert(`g`).attr(`class`,`inner`),i=await O(r,a.endLabelRight,I(a.labelStyle)||``,!1,!1);h=i;let o=i.getBBox();if(s){let e=i.children[0],t=n(i);o=e.getBoundingClientRect(),t.attr(`width`,o.width),t.attr(`height`,o.height)}r.attr(`transform`,w(o,s)),e.node().appendChild(i),P.get(a.id)||P.set(a.id,{}),P.get(a.id).endRight=e,R(h,a.endLabelRight)}return f},`insertEdgeLabel`);function R(e,t){i(r())&&e&&(e.style.width=t.length*9+`px`,e.style.height=`12px`)}t(R,`setTerminalWidth`);var z=t((t,n)=>{e.debug(`Moving label abc88 `,t.id,t.label,N.get(t.id),n);let i=n.updatedPath?n.updatedPath:n.originalPath,{subGraphTitleTotalMargin:a}=T(r());if(t.label){let r=N.get(t.id),o=t.x,s=t.y;if(i){let r=_.calcLabelPosition(i);e.debug(`Moving label `+t.label+` from (`,o,`,`,s,`) to (`,r.x,`,`,r.y,`) abc88`),n.updatedPath&&(o=r.x,s=r.y)}r.attr(`transform`,`translate(${o}, ${s+a/2})`)}if(t.startLabelLeft){let e=P.get(t.id).startLeft,n=t.x,r=t.y;if(i){let e=_.calcTerminalLabelPosition(t.arrowTypeStart?10:0,`start_left`,i);n=e.x,r=e.y}e.attr(`transform`,`translate(${n}, ${r})`)}if(t.startLabelRight){let e=P.get(t.id).startRight,n=t.x,r=t.y;if(i){let e=_.calcTerminalLabelPosition(t.arrowTypeStart?10:0,`start_right`,i);n=e.x,r=e.y}e.attr(`transform`,`translate(${n}, ${r})`)}if(t.endLabelLeft){let e=P.get(t.id).endLeft,n=t.x,r=t.y;if(i){let e=_.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,`end_left`,i);n=e.x,r=e.y}e.attr(`transform`,`translate(${n}, ${r})`)}if(t.endLabelRight){let e=P.get(t.id).endRight,n=t.x,r=t.y;if(i){let e=_.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,`end_right`,i);n=e.x,r=e.y}e.attr(`transform`,`translate(${n}, ${r})`)}},`positionEdgeLabel`),B=t((e,t)=>{let n=e.x,r=e.y,i=Math.abs(t.x-n),a=Math.abs(t.y-r),o=e.width/2,s=e.height/2;return i>=o||a>=s},`outsideNode`),V=t((t,n,r)=>{e.debug(`intersection calc abc89:
|
|
2
2
|
outsidePoint: ${JSON.stringify(n)}
|
|
3
3
|
insidePoint : ${JSON.stringify(r)}
|
|
4
4
|
node : x:${t.x} y:${t.y} w:${t.width} h:${t.height}`);let i=t.x,a=t.y,o=Math.abs(i-r.x),s=t.width/2,c=r.x<n.x?s-o:s+o,l=t.height/2,u=Math.abs(n.y-r.y),d=Math.abs(n.x-r.x);if(Math.abs(a-n.y)*s>Math.abs(i-n.x)*l){let t=r.y<n.y?n.y-l-a:a-l-n.y;c=d*t/u;let i={x:r.x<n.x?r.x+c:r.x-d+c,y:r.y<n.y?r.y+u-t:r.y-u+t};return c===0&&(i.x=n.x,i.y=n.y),d===0&&(i.x=n.x),u===0&&(i.y=n.y),e.debug(`abc89 top/bottom calc, Q ${u}, q ${t}, R ${d}, r ${c}`,i),i}else{c=r.x<n.x?n.x-s-i:i-s-n.x;let t=u*c/d,a=r.x<n.x?r.x+d-c:r.x-d+c,o=r.y<n.y?r.y+t:r.y-t;return e.debug(`sides calc abc89, Q ${u}, q ${t}, R ${d}, r ${c}`,{_x:a,_y:o}),c===0&&(a=n.x,o=n.y),d===0&&(a=n.x),u===0&&(o=n.y),{x:a,y:o}}},`intersection`),H=t((t,n)=>{e.warn(`abc88 cutPathAtIntersect`,t,n);let r=[],i=t[0],a=!1;return t.forEach(t=>{if(e.info(`abc88 checking point`,t,n),!B(n,t)&&!a){let o=V(n,i,t);e.debug(`abc88 inside`,t,i,o),e.debug(`abc88 intersection`,o,n);let s=!1;r.forEach(e=>{s||=e.x===o.x&&e.y===o.y}),r.some(e=>e.x===o.x&&e.y===o.y)?e.warn(`abc88 no intersect`,o,r):r.push(o),a=!0}else e.warn(`abc88 outside`,t,i),i=t,a||r.push(t)}),e.debug(`returning points`,r),r},`cutPathAtIntersect`);function U(e){let t=[],n=[];for(let r=1;r<e.length-1;r++){let i=e[r-1],a=e[r],o=e[r+1];(i.x===a.x&&a.y===o.y&&Math.abs(a.x-o.x)>5&&Math.abs(a.y-i.y)>5||i.y===a.y&&a.x===o.x&&Math.abs(a.x-i.x)>5&&Math.abs(a.y-o.y)>5)&&(t.push(a),n.push(r))}return{cornerPoints:t,cornerPointPositions:n}}t(U,`extractCornerPoints`);var W=t(function(e,t,n){let r=t.x-e.x,i=t.y-e.y,a=n/Math.sqrt(r*r+i*i);return{x:t.x-a*r,y:t.y-a*i}},`findAdjacentPoint`),re=t(function(t){let{cornerPointPositions:n}=U(t),r=[];for(let i=0;i<t.length;i++)if(n.includes(i)){let n=t[i-1],a=t[i+1],o=t[i],s=W(n,o,5),c=W(a,o,5),l=c.x-s.x,u=c.y-s.y;r.push(s);let d=Math.sqrt(2)*2,f={x:o.x,y:o.y};Math.abs(a.x-n.x)>10&&Math.abs(a.y-n.y)>=10?(e.debug(`Corner point fixing`,Math.abs(a.x-n.x),Math.abs(a.y-n.y)),f=o.x===s.x?{x:l<0?s.x-5+d:s.x+5-d,y:u<0?s.y-d:s.y+d}:{x:l<0?s.x-d:s.x+d,y:u<0?s.y-5+d:s.y+5-d}):e.debug(`Corner point skipping fixing`,Math.abs(a.x-n.x),Math.abs(a.y-n.y)),r.push(f,c)}else r.push(t[i]);return r},`fixCorners`),ie=t((e,t,n)=>{let r=e-t-n,i=Math.floor(r/4);return`0 ${t} ${Array(i).fill(`2 2`).join(` `)} ${n}`},`generateDashArray`),G=t(function(t,i,a,C,w,T,E,D=!1){if(!E)throw Error(`insertEdge: missing diagramId for edge "${i.id}" \u2014 edge IDs require a diagram prefix for uniqueness`);let{handDrawnSeed:O}=r(),A=i.points,j=!1,M=w;var N=T;let P=[];for(let e in i.cssCompiledStyles)ee(e)||P.push(i.cssCompiledStyles[e]);e.debug(`UIO intersect check`,i.points,N.x,M.x),N.intersect&&M.intersect&&!D&&(A=A.slice(1,i.points.length-1),A.unshift(M.intersect(A[0])),e.debug(`Last point UIO`,i.start,`-->`,i.end,A[A.length-1],N,N.intersect(A[A.length-1])),A.push(N.intersect(A[A.length-1])));let F=btoa(JSON.stringify(A));i.toCluster&&(e.info(`to cluster abc88`,a.get(i.toCluster)),A=H(i.points,a.get(i.toCluster).node),j=!0),i.fromCluster&&(e.debug(`from cluster abc88`,a.get(i.fromCluster),JSON.stringify(A,null,2)),A=H(A.reverse(),a.get(i.fromCluster).node).reverse(),j=!0);let I=A.filter(e=>!Number.isNaN(e.y)),L=ne(i.curve);L!==`rounded`&&(I=re(I));let R=c;switch(L){case`linear`:R=c;break;case`basis`:R=l;break;case`cardinal`:R=h;break;case`bumpX`:R=m;break;case`bumpY`:R=g;break;case`catmullRom`:R=o;break;case`monotoneX`:R=p;break;case`monotoneY`:R=y;break;case`natural`:R=d;break;case`step`:R=u;break;case`stepAfter`:R=f;break;case`stepBefore`:R=s;break;case`rounded`:R=c;break;default:R=l}let{x:z,y:B}=S(i),V=b().x(z).y(B).curve(R),U;switch(i.thickness){case`normal`:U=`edge-thickness-normal`;break;case`thick`:U=`edge-thickness-thick`;break;case`invisible`:U=`edge-thickness-invisible`;break;default:U=`edge-thickness-normal`}switch(i.pattern){case`solid`:U+=` edge-pattern-solid`;break;case`dotted`:U+=` edge-pattern-dotted`;break;case`dashed`:U+=` edge-pattern-dashed`;break;default:U+=` edge-pattern-solid`}let W,G=L===`rounded`?K(J(I,i),5):V(I),q=Array.isArray(i.style)?i.style:[i.style],Y=q.find(e=>e?.startsWith(`stroke:`)),X=``;i.animate&&(X=`edge-animation-fast`),i.animation&&(X=`edge-animation-`+i.animation);let Z=!1;if(i.look===`handDrawn`){let e=te.svg(t);Object.assign([],I);let r=e.path(G,{roughness:.3,seed:O});U+=` transition`,W=n(r).select(`path`).attr(`id`,`${E}-${i.id}`).attr(`class`,` `+U+(i.classes?` `+i.classes:``)+(X?` `+X:``)).attr(`style`,q?q.reduce((e,t)=>e+`;`+t,``):``);let a=W.attr(`d`);W.attr(`d`,a),t.node().appendChild(W.node())}else{let e=P.join(`;`),n=q?q.reduce((e,t)=>e+t+`;`,``):``,r=(e?e+`;`+n+`;`:n)+`;`+(q?q.reduce((e,t)=>e+`;`+t,``):``);W=t.append(`path`).attr(`d`,G).attr(`id`,`${E}-${i.id}`).attr(`class`,` `+U+(i.classes?` `+i.classes:``)+(X?` `+X:``)).attr(`style`,r),Y=r.match(/stroke:([^;]+)/)?.[1],Z=i.animate===!0||!!i.animation||e.includes(`animation`);let a=W.node(),o=typeof a.getTotalLength==`function`?a.getTotalLength():0,s=x[i.arrowTypeStart]||0,c=x[i.arrowTypeEnd]||0;if(i.look===`neo`&&!Z){let e=`stroke-dasharray: ${i.pattern===`dotted`||i.pattern===`dashed`?ie(o,s,c):`0 ${s} ${o-s-c} ${c}`}; stroke-dashoffset: 0;`;W.attr(`style`,e+W.attr(`style`))}}W.attr(`data-edge`,!0),W.attr(`data-et`,`edge`),W.attr(`data-id`,i.id),W.attr(`data-points`,F),W.attr(`data-look`,v(i.look)),i.showPoints&&I.forEach(e=>{t.append(`circle`).style(`stroke`,`red`).style(`fill`,`red`).attr(`r`,1).attr(`cx`,e.x).attr(`cy`,e.y)});let Q=``;(r().flowchart.arrowMarkerAbsolute||r().state.arrowMarkerAbsolute)&&(Q=window.location.protocol+`//`+window.location.host+window.location.pathname+window.location.search,Q=Q.replace(/\(/g,`\\(`).replace(/\)/g,`\\)`)),e.info(`arrowTypeStart`,i.arrowTypeStart),e.info(`arrowTypeEnd`,i.arrowTypeEnd);let ae=!Z&&i?.look===`neo`;k(W,i,Q,E,C,ae,Y);let oe=Math.floor(A.length/2),se=A[oe];_.isLabelCoordinateInPath(se,W.attr(`d`))||(j=!0);let $={};return j&&($.updatedPath=A),$.originalPath=i.points,$},`insertEdge`);function K(e,t){if(e.length<2)return``;let n=``,r=e.length,i=1e-5;for(let a=0;a<r;a++){let o=e[a],s=e[a-1],c=e[a+1];if(a===0)n+=`M${o.x},${o.y}`;else if(a===r-1)n+=`L${o.x},${o.y}`;else{let e=o.x-s.x,r=o.y-s.y,a=c.x-o.x,l=c.y-o.y,u=Math.hypot(e,r),d=Math.hypot(a,l);if(u<i||d<i){n+=`L${o.x},${o.y}`;continue}let f=e/u,p=r/u,m=a/d,h=l/d,g=f*m+p*h,_=Math.acos(Math.max(-1,Math.min(1,g)));if(_<i||Math.abs(Math.PI-_)<i){n+=`L${o.x},${o.y}`;continue}let v=Math.min(t/Math.sin(_/2),u/2,d/2),y=o.x-f*v,b=o.y-p*v,x=o.x+m*v,S=o.y+h*v;n+=`L${y},${b}`,n+=`Q${o.x},${o.y} ${x},${S}`}}return n}t(K,`generateRoundedPath`);function q(e,t){if(!e||!t)return{angle:0,deltaX:0,deltaY:0};let n=t.x-e.x,r=t.y-e.y;return{angle:Math.atan2(r,n),deltaX:n,deltaY:r}}t(q,`calculateDeltaAndAngle`);function J(e,t){let n=e.map(e=>({...e}));if(e.length>=2&&C[t.arrowTypeStart]){let r=C[t.arrowTypeStart],i=e[0],a=e[1],{angle:o}=q(i,a),s=r*Math.cos(o),c=r*Math.sin(o);n[0].x=i.x+s,n[0].y=i.y+c}let r=e.length;if(r>=2&&C[t.arrowTypeEnd]){let i=C[t.arrowTypeEnd],a=e[r-1],o=e[r-2],{angle:s}=q(o,a),c=i*Math.cos(s),l=i*Math.sin(s);n[r-1].x=a.x-c,n[r-1].y=a.y-l}return n}t(J,`applyMarkerOffsetsToPoints`);var Y=t((e,t,n,r)=>{t.forEach(t=>{X[t](e,n,r)})},`insertMarkers`),X={extension:t((t,n,r)=>{e.trace(`Making markers for `,r),t.append(`defs`).append(`marker`).attr(`id`,r+`_`+n+`-extensionStart`).attr(`class`,`marker extension `+n).attr(`refX`,18).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M 1,7 L18,13 V 1 Z`),t.append(`defs`).append(`marker`).attr(`id`,r+`_`+n+`-extensionEnd`).attr(`class`,`marker extension `+n).attr(`refX`,1).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 1,1 V 13 L18,7 Z`),t.append(`marker`).attr(`id`,r+`_`+n+`-extensionStart-margin`).attr(`class`,`marker extension `+n).attr(`refX`,18).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).attr(`viewBox`,`0 0 20 14`).append(`polygon`).attr(`points`,`10,7 18,13 18,1`).style(`stroke-width`,2).style(`stroke-dasharray`,`0`),t.append(`defs`).append(`marker`).attr(`id`,r+`_`+n+`-extensionEnd-margin`).attr(`class`,`marker extension `+n).attr(`refX`,9).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).attr(`viewBox`,`0 0 20 14`).append(`polygon`).attr(`points`,`10,1 10,13 18,7`).style(`stroke-width`,2).style(`stroke-dasharray`,`0`)},`extension`),composition:t((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-compositionStart`).attr(`class`,`marker composition `+t).attr(`refX`,18).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-compositionEnd`).attr(`class`,`marker composition `+t).attr(`refX`,1).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-compositionStart-margin`).attr(`class`,`marker composition `+t).attr(`refX`,15).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).style(`stroke-width`,0).attr(`viewBox`,`0 0 15 15`).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-compositionEnd-margin`).attr(`class`,`marker composition `+t).attr(`refX`,3.5).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).style(`stroke-width`,0).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`)},`composition`),aggregation:t((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-aggregationStart`).attr(`class`,`marker aggregation `+t).attr(`refX`,18).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-aggregationEnd`).attr(`class`,`marker aggregation `+t).attr(`refX`,1).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-aggregationStart-margin`).attr(`class`,`marker aggregation `+t).attr(`refX`,15).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).style(`stroke-width`,2).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-aggregationEnd-margin`).attr(`class`,`marker aggregation `+t).attr(`refX`,1).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).style(`stroke-width`,2).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`)},`aggregation`),dependency:t((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-dependencyStart`).attr(`class`,`marker dependency `+t).attr(`refX`,6).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 5,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-dependencyEnd`).attr(`class`,`marker dependency `+t).attr(`refX`,13).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`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-dependencyStart-margin`).attr(`class`,`marker dependency `+t).attr(`refX`,4).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).style(`stroke-width`,0).attr(`d`,`M 5,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-dependencyEnd-margin`).attr(`class`,`marker dependency `+t).attr(`refX`,16).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).style(`stroke-width`,0).attr(`d`,`M 18,7 L9,13 L14,7 L9,1 Z`)},`dependency`),lollipop:t((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-lollipopStart`).attr(`class`,`marker lollipop `+t).attr(`refX`,13).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).append(`circle`).attr(`fill`,`transparent`).attr(`cx`,7).attr(`cy`,7).attr(`r`,6),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-lollipopEnd`).attr(`class`,`marker lollipop `+t).attr(`refX`,1).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).append(`circle`).attr(`fill`,`transparent`).attr(`cx`,7).attr(`cy`,7).attr(`r`,6),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-lollipopStart-margin`).attr(`class`,`marker lollipop `+t).attr(`refX`,13).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`circle`).attr(`fill`,`transparent`).attr(`cx`,7).attr(`cy`,7).attr(`r`,6).attr(`stroke-width`,2),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-lollipopEnd-margin`).attr(`class`,`marker lollipop `+t).attr(`refX`,1).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`circle`).attr(`fill`,`transparent`).attr(`cx`,7).attr(`cy`,7).attr(`r`,6).attr(`stroke-width`,2)},`lollipop`),point:t((e,t,n)=>{e.append(`marker`).attr(`id`,n+`_`+t+`-pointEnd`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 10 10`).attr(`refX`,5).attr(`refY`,5).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,8).attr(`markerHeight`,8).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 0 0 L 10 5 L 0 10 z`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,1).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-pointStart`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 10 10`).attr(`refX`,4.5).attr(`refY`,5).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,8).attr(`markerHeight`,8).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 0 5 L 10 10 L 10 0 z`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,1).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-pointEnd-margin`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 11.5 14`).attr(`refX`,11.5).attr(`refY`,7).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,10.5).attr(`markerHeight`,14).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 0 0 L 11.5 7 L 0 14 z`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,0).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-pointStart-margin`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 11.5 14`).attr(`refX`,1).attr(`refY`,7).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,11.5).attr(`markerHeight`,14).attr(`orient`,`auto`).append(`polygon`).attr(`points`,`0,7 11.5,14 11.5,0`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,0).style(`stroke-dasharray`,`1,0`)},`point`),circle:t((e,t,n)=>{e.append(`marker`).attr(`id`,n+`_`+t+`-circleEnd`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 10 10`).attr(`refX`,11).attr(`refY`,5).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,11).attr(`markerHeight`,11).attr(`orient`,`auto`).append(`circle`).attr(`cx`,`5`).attr(`cy`,`5`).attr(`r`,`5`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,1).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-circleStart`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 10 10`).attr(`refX`,-1).attr(`refY`,5).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,11).attr(`markerHeight`,11).attr(`orient`,`auto`).append(`circle`).attr(`cx`,`5`).attr(`cy`,`5`).attr(`r`,`5`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,1).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-circleEnd-margin`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 10 10`).attr(`refY`,5).attr(`refX`,12.25).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,14).attr(`markerHeight`,14).attr(`orient`,`auto`).append(`circle`).attr(`cx`,`5`).attr(`cy`,`5`).attr(`r`,`5`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,0).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-circleStart-margin`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 10 10`).attr(`refX`,-2).attr(`refY`,5).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,14).attr(`markerHeight`,14).attr(`orient`,`auto`).append(`circle`).attr(`cx`,`5`).attr(`cy`,`5`).attr(`r`,`5`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,0).style(`stroke-dasharray`,`1,0`)},`circle`),cross:t((e,t,n)=>{e.append(`marker`).attr(`id`,n+`_`+t+`-crossEnd`).attr(`class`,`marker cross `+t).attr(`viewBox`,`0 0 11 11`).attr(`refX`,12).attr(`refY`,5.2).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,11).attr(`markerHeight`,11).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 1,1 l 9,9 M 10,1 l -9,9`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,2).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-crossStart`).attr(`class`,`marker cross `+t).attr(`viewBox`,`0 0 11 11`).attr(`refX`,-1).attr(`refY`,5.2).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,11).attr(`markerHeight`,11).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 1,1 l 9,9 M 10,1 l -9,9`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,2).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-crossEnd-margin`).attr(`class`,`marker cross `+t).attr(`viewBox`,`0 0 15 15`).attr(`refX`,17.7).attr(`refY`,7.5).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,12).attr(`markerHeight`,12).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 1,1 L 14,14 M 1,14 L 14,1`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,2.5),e.append(`marker`).attr(`id`,n+`_`+t+`-crossStart-margin`).attr(`class`,`marker cross `+t).attr(`viewBox`,`0 0 15 15`).attr(`refX`,-3.5).attr(`refY`,7.5).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,12).attr(`markerHeight`,12).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 1,1 L 14,14 M 1,14 L 14,1`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,2.5).style(`stroke-dasharray`,`1,0`)},`cross`),barb:t((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-barbEnd`).attr(`refX`,19).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,14).attr(`markerUnits`,`userSpaceOnUse`).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 19,7 L9,13 L14,7 L9,1 Z`)},`barb`),barbNeo:t((e,t,n)=>{let{themeVariables:r}=a(),{transitionColor:i}=r;e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-barbEnd`).attr(`refX`,19).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,14).attr(`markerUnits`,`strokeWidth`).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 19,7 L11,14 L13,7 L11,0 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-barbEnd-margin`).attr(`refX`,17).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,14).attr(`markerUnits`,`userSpaceOnUse`).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 19,7 L11,14 L13,7 L11,0 Z`).attr(`fill`,`${i}`)},`barbNeo`),only_one:t((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-onlyOneStart`).attr(`class`,`marker onlyOne `+t).attr(`refX`,0).attr(`refY`,9).attr(`markerWidth`,18).attr(`markerHeight`,18).attr(`orient`,`auto`).append(`path`).attr(`d`,`M9,0 L9,18 M15,0 L15,18`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-onlyOneEnd`).attr(`class`,`marker onlyOne `+t).attr(`refX`,18).attr(`refY`,9).attr(`markerWidth`,18).attr(`markerHeight`,18).attr(`orient`,`auto`).append(`path`).attr(`d`,`M3,0 L3,18 M9,0 L9,18`)},`only_one`),zero_or_one:t((e,t,n)=>{let r=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-zeroOrOneStart`).attr(`class`,`marker zeroOrOne `+t).attr(`refX`,0).attr(`refY`,9).attr(`markerWidth`,30).attr(`markerHeight`,18).attr(`orient`,`auto`);r.append(`circle`).attr(`fill`,`white`).attr(`cx`,21).attr(`cy`,9).attr(`r`,6),r.append(`path`).attr(`d`,`M9,0 L9,18`);let i=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-zeroOrOneEnd`).attr(`class`,`marker zeroOrOne `+t).attr(`refX`,30).attr(`refY`,9).attr(`markerWidth`,30).attr(`markerHeight`,18).attr(`orient`,`auto`);i.append(`circle`).attr(`fill`,`white`).attr(`cx`,9).attr(`cy`,9).attr(`r`,6),i.append(`path`).attr(`d`,`M21,0 L21,18`)},`zero_or_one`),one_or_more:t((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-oneOrMoreStart`).attr(`class`,`marker oneOrMore `+t).attr(`refX`,18).attr(`refY`,18).attr(`markerWidth`,45).attr(`markerHeight`,36).attr(`orient`,`auto`).append(`path`).attr(`d`,`M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-oneOrMoreEnd`).attr(`class`,`marker oneOrMore `+t).attr(`refX`,27).attr(`refY`,18).attr(`markerWidth`,45).attr(`markerHeight`,36).attr(`orient`,`auto`).append(`path`).attr(`d`,`M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18`)},`one_or_more`),zero_or_more:t((e,t,n)=>{let r=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-zeroOrMoreStart`).attr(`class`,`marker zeroOrMore `+t).attr(`refX`,18).attr(`refY`,18).attr(`markerWidth`,57).attr(`markerHeight`,36).attr(`orient`,`auto`);r.append(`circle`).attr(`fill`,`white`).attr(`cx`,48).attr(`cy`,18).attr(`r`,6),r.append(`path`).attr(`d`,`M0,18 Q18,0 36,18 Q18,36 0,18`);let i=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-zeroOrMoreEnd`).attr(`class`,`marker zeroOrMore `+t).attr(`refX`,39).attr(`refY`,18).attr(`markerWidth`,57).attr(`markerHeight`,36).attr(`orient`,`auto`);i.append(`circle`).attr(`fill`,`white`).attr(`cx`,9).attr(`cy`,18).attr(`r`,6),i.append(`path`).attr(`d`,`M21,18 Q39,0 57,18 Q39,36 21,18`)},`zero_or_more`),only_one_neo:t((e,t,n)=>{let{themeVariables:r}=a(),{strokeWidth:i}=r;e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-onlyOneStart`).attr(`class`,`marker onlyOne `+t).attr(`refX`,0).attr(`refY`,9).attr(`markerWidth`,18).attr(`markerHeight`,18).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M9,0 L9,18 M15,0 L15,18`).attr(`stroke-width`,`${i}`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-onlyOneEnd`).attr(`class`,`marker onlyOne `+t).attr(`refX`,18).attr(`refY`,9).attr(`markerWidth`,18).attr(`markerHeight`,18).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M3,0 L3,18 M9,0 L9,18`).attr(`stroke-width`,`${i}`)},`only_one_neo`),zero_or_one_neo:t((e,t,n)=>{let{themeVariables:r}=a(),{strokeWidth:i,mainBkg:o}=r,s=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-zeroOrOneStart`).attr(`class`,`marker zeroOrOne `+t).attr(`refX`,0).attr(`refY`,9).attr(`markerWidth`,30).attr(`markerHeight`,18).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`);s.append(`circle`).attr(`fill`,o??`white`).attr(`cx`,21).attr(`cy`,9).attr(`stroke-width`,`${i}`).attr(`r`,6),s.append(`path`).attr(`d`,`M9,0 L9,18`).attr(`stroke-width`,`${i}`);let c=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-zeroOrOneEnd`).attr(`class`,`marker zeroOrOne `+t).attr(`refX`,30).attr(`refY`,9).attr(`markerWidth`,30).attr(`markerHeight`,18).attr(`markerUnits`,`userSpaceOnUse`).attr(`orient`,`auto`);c.append(`circle`).attr(`fill`,o??`white`).attr(`cx`,9).attr(`cy`,9).attr(`stroke-width`,`${i}`).attr(`r`,6),c.append(`path`).attr(`d`,`M21,0 L21,18`).attr(`stroke-width`,`${i}`)},`zero_or_one_neo`),one_or_more_neo:t((e,t,n)=>{let{themeVariables:r}=a(),{strokeWidth:i}=r;e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-oneOrMoreStart`).attr(`class`,`marker oneOrMore `+t).attr(`refX`,18).attr(`refY`,18).attr(`markerWidth`,45).attr(`markerHeight`,36).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27`).attr(`stroke-width`,`${i}`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-oneOrMoreEnd`).attr(`class`,`marker oneOrMore `+t).attr(`refX`,27).attr(`refY`,18).attr(`markerWidth`,45).attr(`markerHeight`,36).attr(`markerUnits`,`userSpaceOnUse`).attr(`orient`,`auto`).append(`path`).attr(`d`,`M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18`).attr(`stroke-width`,`${i}`)},`one_or_more_neo`),zero_or_more_neo:t((e,t,n)=>{let{themeVariables:r}=a(),{strokeWidth:i,mainBkg:o}=r,s=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-zeroOrMoreStart`).attr(`class`,`marker zeroOrMore `+t).attr(`refX`,18).attr(`refY`,18).attr(`markerWidth`,57).attr(`markerHeight`,36).attr(`markerUnits`,`userSpaceOnUse`).attr(`orient`,`auto`);s.append(`circle`).attr(`fill`,o??`white`).attr(`cx`,45.5).attr(`cy`,18).attr(`r`,6).attr(`stroke-width`,`${i}`),s.append(`path`).attr(`d`,`M0,18 Q18,0 36,18 Q18,36 0,18`).attr(`stroke-width`,`${i}`);let c=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-zeroOrMoreEnd`).attr(`class`,`marker zeroOrMore `+t).attr(`refX`,39).attr(`refY`,18).attr(`markerWidth`,57).attr(`markerHeight`,36).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`);c.append(`circle`).attr(`fill`,o??`white`).attr(`cx`,11).attr(`cy`,18).attr(`r`,6).attr(`stroke-width`,`${i}`),c.append(`path`).attr(`d`,`M21,18 Q39,0 57,18 Q39,36 21,18`).attr(`stroke-width`,`${i}`)},`zero_or_more_neo`),requirement_arrow:t((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-requirement_arrowEnd`).attr(`refX`,20).attr(`refY`,10).attr(`markerWidth`,20).attr(`markerHeight`,20).attr(`orient`,`auto`).append(`path`).attr(`d`,`M0,0
|