Files
Awperative/_site/public/chunk-RSZXG5PP.min.js
2026-02-09 16:52:39 -05:00

9 lines
21 KiB
JavaScript
Executable File

import{a as kt,d as X}from"./chunk-IDQ2RCY2.min.js";import{a as T,b as V,c as pt}from"./chunk-77XMBG7U.min.js";import{a as ft}from"./chunk-ANLQN3B7.min.js";import{c as ht,d as mt}from"./chunk-OEBO5CRK.min.js";import{g as yt}from"./chunk-XCAVDAZC.min.js";import{m as $}from"./chunk-QZZKR5JD.min.js";import{F as K,W as v}from"./chunk-3EE2TK35.min.js";import{$ as lt,I as J,J as tt,L as rt,M as at,N as U,R as et,U as nt,Y as st,Z as ot,_ as it,aa as ct,b as h,ba as dt,d as m,j as D}from"./chunk-6TVUEPFY.min.js";var vt=h((r,t,a,s,i,n)=>{t.arrowTypeStart&&ut(r,"start",t.arrowTypeStart,a,s,i,n),t.arrowTypeEnd&&ut(r,"end",t.arrowTypeEnd,a,s,i,n)},"addEdgeMarkers"),$t={arrow_cross:{type:"cross",fill:!1},arrow_point:{type:"point",fill:!0},arrow_barb:{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}},ut=h((r,t,a,s,i,n,e)=>{let o=$t[a];if(!o){m.warn(`Unknown arrow type: ${a}`);return}let c=o.type,d=`${i}_${n}-${c}${t==="start"?"Start":"End"}`;if(e&&e.trim()!==""){let f=e.replace(/[^\dA-Za-z]/g,"_"),p=`${d}_${f}`;if(!document.getElementById(p)){let y=document.getElementById(d);if(y){let L=y.cloneNode(!0);L.id=p,L.querySelectorAll("path, circle, line").forEach(k=>{k.setAttribute("stroke",e),o.fill&&k.setAttribute("fill",e)}),y.parentNode?.appendChild(L)}}r.attr(`marker-${t}`,`url(${s}#${p})`)}else r.attr(`marker-${t}`,`url(${s}#${d})`)},"addEdgeMarker"),P=new Map,x=new Map,nr=h(()=>{P.clear(),x.clear()},"clear"),I=h(r=>r?r.reduce((a,s)=>a+";"+s,""):"","getLabelStyles"),sr=h(async(r,t)=>{let a=K(v().flowchart.htmlLabels),{labelStyles:s}=mt(t);t.labelStyle=s;let i=await yt(r,t.label,{style:t.labelStyle,useHtmlLabels:a,addSvgBackground:!0,isNode:!1});m.info("abc82",t,t.labelType);let n=r.insert("g").attr("class","edgeLabel"),e=n.insert("g").attr("class","label").attr("data-id",t.id);e.node().appendChild(i);let o=i.getBBox();if(a){let l=i.children[0],d=D(i);o=l.getBoundingClientRect(),d.attr("width",o.width),d.attr("height",o.height)}e.attr("transform","translate("+-o.width/2+", "+-o.height/2+")"),P.set(t.id,n),t.width=o.width,t.height=o.height;let c;if(t.startLabelLeft){let l=await X(t.startLabelLeft,I(t.labelStyle)),d=r.insert("g").attr("class","edgeTerminals"),f=d.insert("g").attr("class","inner");c=f.node().appendChild(l);let p=l.getBBox();f.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),x.get(t.id)||x.set(t.id,{}),x.get(t.id).startLeft=d,Y(c,t.startLabelLeft)}if(t.startLabelRight){let l=await X(t.startLabelRight,I(t.labelStyle)),d=r.insert("g").attr("class","edgeTerminals"),f=d.insert("g").attr("class","inner");c=d.node().appendChild(l),f.node().appendChild(l);let p=l.getBBox();f.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),x.get(t.id)||x.set(t.id,{}),x.get(t.id).startRight=d,Y(c,t.startLabelRight)}if(t.endLabelLeft){let l=await X(t.endLabelLeft,I(t.labelStyle)),d=r.insert("g").attr("class","edgeTerminals"),f=d.insert("g").attr("class","inner");c=f.node().appendChild(l);let p=l.getBBox();f.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),d.node().appendChild(l),x.get(t.id)||x.set(t.id,{}),x.get(t.id).endLeft=d,Y(c,t.endLabelLeft)}if(t.endLabelRight){let l=await X(t.endLabelRight,I(t.labelStyle)),d=r.insert("g").attr("class","edgeTerminals"),f=d.insert("g").attr("class","inner");c=f.node().appendChild(l);let p=l.getBBox();f.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),d.node().appendChild(l),x.get(t.id)||x.set(t.id,{}),x.get(t.id).endRight=d,Y(c,t.endLabelRight)}return i},"insertEdgeLabel");function Y(r,t){v().flowchart.htmlLabels&&r&&(r.style.width=t.length*9+"px",r.style.height="12px")}h(Y,"setTerminalWidth");var or=h((r,t)=>{m.debug("Moving label abc88 ",r.id,r.label,P.get(r.id),t);let a=t.updatedPath?t.updatedPath:t.originalPath,s=v(),{subGraphTitleTotalMargin:i}=ft(s);if(r.label){let n=P.get(r.id),e=r.x,o=r.y;if(a){let c=$.calcLabelPosition(a);m.debug("Moving label "+r.label+" from (",e,",",o,") to (",c.x,",",c.y,") abc88"),t.updatedPath&&(e=c.x,o=c.y)}n.attr("transform",`translate(${e}, ${o+i/2})`)}if(r.startLabelLeft){let n=x.get(r.id).startLeft,e=r.x,o=r.y;if(a){let c=$.calcTerminalLabelPosition(r.arrowTypeStart?10:0,"start_left",a);e=c.x,o=c.y}n.attr("transform",`translate(${e}, ${o})`)}if(r.startLabelRight){let n=x.get(r.id).startRight,e=r.x,o=r.y;if(a){let c=$.calcTerminalLabelPosition(r.arrowTypeStart?10:0,"start_right",a);e=c.x,o=c.y}n.attr("transform",`translate(${e}, ${o})`)}if(r.endLabelLeft){let n=x.get(r.id).endLeft,e=r.x,o=r.y;if(a){let c=$.calcTerminalLabelPosition(r.arrowTypeEnd?10:0,"end_left",a);e=c.x,o=c.y}n.attr("transform",`translate(${e}, ${o})`)}if(r.endLabelRight){let n=x.get(r.id).endRight,e=r.x,o=r.y;if(a){let c=$.calcTerminalLabelPosition(r.arrowTypeEnd?10:0,"end_right",a);e=c.x,o=c.y}n.attr("transform",`translate(${e}, ${o})`)}},"positionEdgeLabel"),St=h((r,t)=>{let a=r.x,s=r.y,i=Math.abs(t.x-a),n=Math.abs(t.y-s),e=r.width/2,o=r.height/2;return i>=e||n>=o},"outsideNode"),Et=h((r,t,a)=>{m.debug(`intersection calc abc89:
outsidePoint: ${JSON.stringify(t)}
insidePoint : ${JSON.stringify(a)}
node : x:${r.x} y:${r.y} w:${r.width} h:${r.height}`);let s=r.x,i=r.y,n=Math.abs(s-a.x),e=r.width/2,o=a.x<t.x?e-n:e+n,c=r.height/2,l=Math.abs(t.y-a.y),d=Math.abs(t.x-a.x);if(Math.abs(i-t.y)*e>Math.abs(s-t.x)*c){let f=a.y<t.y?t.y-c-i:i-c-t.y;o=d*f/l;let p={x:a.x<t.x?a.x+o:a.x-d+o,y:a.y<t.y?a.y+l-f:a.y-l+f};return o===0&&(p.x=t.x,p.y=t.y),d===0&&(p.x=t.x),l===0&&(p.y=t.y),m.debug(`abc89 top/bottom calc, Q ${l}, q ${f}, R ${d}, r ${o}`,p),p}else{a.x<t.x?o=t.x-e-s:o=s-e-t.x;let f=l*o/d,p=a.x<t.x?a.x+d-o:a.x-d+o,y=a.y<t.y?a.y+f:a.y-f;return m.debug(`sides calc abc89, Q ${l}, q ${f}, R ${d}, r ${o}`,{_x:p,_y:y}),o===0&&(p=t.x,y=t.y),d===0&&(p=t.x),l===0&&(y=t.y),{x:p,y}}},"intersection"),xt=h((r,t)=>{m.warn("abc88 cutPathAtIntersect",r,t);let a=[],s=r[0],i=!1;return r.forEach(n=>{if(m.info("abc88 checking point",n,t),!St(t,n)&&!i){let e=Et(t,s,n);m.debug("abc88 inside",n,s,e),m.debug("abc88 intersection",e,t);let o=!1;a.forEach(c=>{o=o||c.x===e.x&&c.y===e.y}),a.some(c=>c.x===e.x&&c.y===e.y)?m.warn("abc88 no intersect",e,a):a.push(e),i=!0}else m.warn("abc88 outside",n,s),s=n,i||a.push(n)}),m.debug("returning points",a),a},"cutPathAtIntersect");function gt(r){let t=[],a=[];for(let s=1;s<r.length-1;s++){let i=r[s-1],n=r[s],e=r[s+1];(i.x===n.x&&n.y===e.y&&Math.abs(n.x-e.x)>5&&Math.abs(n.y-i.y)>5||i.y===n.y&&n.x===e.x&&Math.abs(n.x-i.x)>5&&Math.abs(n.y-e.y)>5)&&(t.push(n),a.push(s))}return{cornerPoints:t,cornerPointPositions:a}}h(gt,"extractCornerPoints");var bt=h(function(r,t,a){let s=t.x-r.x,i=t.y-r.y,n=Math.sqrt(s*s+i*i),e=a/n;return{x:t.x-e*s,y:t.y-e*i}},"findAdjacentPoint"),Ot=h(function(r){let{cornerPointPositions:t}=gt(r),a=[];for(let s=0;s<r.length;s++)if(t.includes(s)){let i=r[s-1],n=r[s+1],e=r[s],o=bt(i,e,5),c=bt(n,e,5),l=c.x-o.x,d=c.y-o.y;a.push(o);let f=Math.sqrt(2)*2,p={x:e.x,y:e.y};if(Math.abs(n.x-i.x)>10&&Math.abs(n.y-i.y)>=10){m.debug("Corner point fixing",Math.abs(n.x-i.x),Math.abs(n.y-i.y));let y=5;e.x===o.x?p={x:l<0?o.x-y+f:o.x+y-f,y:d<0?o.y-f:o.y+f}:p={x:l<0?o.x-f:o.x+f,y:d<0?o.y-y+f:o.y+y-f}}else m.debug("Corner point skipping fixing",Math.abs(n.x-i.x),Math.abs(n.y-i.y));a.push(p,c)}else a.push(r[s]);return a},"fixCorners"),Tt=h((r,t,a)=>{let s=r-t-a,i=2,n=2,e=i+n,o=Math.floor(s/e),c=Array(o).fill(`${i} ${n}`).join(" ");return`0 ${t} ${c} ${a}`},"generateDashArray"),ir=h(function(r,t,a,s,i,n,e,o=!1){let{handDrawnSeed:c}=v(),l=t.points,d=!1,f=i;var p=n;let y=[];for(let b in t.cssCompiledStyles)ht(b)||y.push(t.cssCompiledStyles[b]);m.debug("UIO intersect check",t.points,p.x,f.x),p.intersect&&f.intersect&&!o&&(l=l.slice(1,t.points.length-1),l.unshift(f.intersect(l[0])),m.debug("Last point UIO",t.start,"-->",t.end,l[l.length-1],p,p.intersect(l[l.length-1])),l.push(p.intersect(l[l.length-1])));let L=btoa(JSON.stringify(l));t.toCluster&&(m.info("to cluster abc88",a.get(t.toCluster)),l=xt(t.points,a.get(t.toCluster).node),d=!0),t.fromCluster&&(m.debug("from cluster abc88",a.get(t.fromCluster),JSON.stringify(l,null,2)),l=xt(l.reverse(),a.get(t.fromCluster).node).reverse(),d=!0);let M=l.filter(b=>!Number.isNaN(b.y));M=Ot(M);let k=U;switch(k=J,t.curve){case"linear":k=J;break;case"basis":k=U;break;case"cardinal":k=et;break;case"bumpX":k=rt;break;case"bumpY":k=at;break;case"catmullRom":k=nt;break;case"monotoneX":k=st;break;case"monotoneY":k=ot;break;case"natural":k=it;break;case"step":k=lt;break;case"stepAfter":k=dt;break;case"stepBefore":k=ct;break;default:k=U}let{x:C,y:W}=pt(t),N=tt().x(C).y(W).curve(k),g;switch(t.thickness){case"normal":g="edge-thickness-normal";break;case"thick":g="edge-thickness-thick";break;case"invisible":g="edge-thickness-invisible";break;default:g="edge-thickness-normal"}switch(t.pattern){case"solid":g+=" edge-pattern-solid";break;case"dotted":g+=" edge-pattern-dotted";break;case"dashed":g+=" edge-pattern-dashed";break;default:g+=" edge-pattern-solid"}let u,_=t.curve==="rounded"?Lt(Mt(M,t),5):N(M),w=Array.isArray(t.style)?t.style:[t.style],H=w.find(b=>b?.startsWith("stroke:")),B=!1;if(t.look==="handDrawn"){let b=kt.svg(r);Object.assign([],M);let A=b.path(_,{roughness:.3,seed:c});g+=" transition",u=D(A).select("path").attr("id",t.id).attr("class"," "+g+(t.classes?" "+t.classes:"")).attr("style",w?w.reduce((R,z)=>R+";"+z,""):"");let E=u.attr("d");u.attr("d",E),r.node().appendChild(u.node())}else{let b=y.join(";"),A=w?w.reduce((q,O)=>q+O+";",""):"",E="";t.animate&&(E=" edge-animation-fast"),t.animation&&(E=" edge-animation-"+t.animation);let R=(b?b+";"+A+";":A)+";"+(w?w.reduce((q,O)=>q+";"+O,""):"");u=r.append("path").attr("d",_).attr("id",t.id).attr("class"," "+g+(t.classes?" "+t.classes:"")+(E??"")).attr("style",R),H=R.match(/stroke:([^;]+)/)?.[1],B=t.animate===!0||!!t.animation||b.includes("animation");let z=u.node(),G=typeof z.getTotalLength=="function"?z.getTotalLength():0,Z=V[t.arrowTypeStart]||0,j=V[t.arrowTypeEnd]||0;if(t.look==="neo"&&!B){let O=`stroke-dasharray: ${t.pattern==="dotted"||t.pattern==="dashed"?Tt(G,Z,j):`0 ${Z} ${G-Z-j} ${j}`}; stroke-dashoffset: 0;`;u.attr("style",O+u.attr("style"))}}u.attr("data-edge",!0),u.attr("data-et","edge"),u.attr("data-id",t.id),u.attr("data-points",L),t.showPoints&&M.forEach(b=>{r.append("circle").style("stroke","red").style("fill","red").attr("r",1).attr("cx",b.x).attr("cy",b.y)});let S="";(v().flowchart.arrowMarkerAbsolute||v().state.arrowMarkerAbsolute)&&(S=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,S=S.replace(/\(/g,"\\(").replace(/\)/g,"\\)")),m.info("arrowTypeStart",t.arrowTypeStart),m.info("arrowTypeEnd",t.arrowTypeEnd),vt(u,t,S,e,s,H);let wt=Math.floor(l.length/2),_t=l[wt];$.isLabelCoordinateInPath(_t,u.attr("d"))||(d=!0);let Q={};return d&&(Q.updatedPath=l),Q.originalPath=t.points,Q},"insertEdge");function Lt(r,t){if(r.length<2)return"";let a="",s=r.length,i=1e-5;for(let n=0;n<s;n++){let e=r[n],o=r[n-1],c=r[n+1];if(n===0)a+=`M${e.x},${e.y}`;else if(n===s-1)a+=`L${e.x},${e.y}`;else{let l=e.x-o.x,d=e.y-o.y,f=c.x-e.x,p=c.y-e.y,y=Math.hypot(l,d),L=Math.hypot(f,p);if(y<i||L<i){a+=`L${e.x},${e.y}`;continue}let M=l/y,k=d/y,C=f/L,W=p/L,N=M*C+k*W,g=Math.max(-1,Math.min(1,N)),u=Math.acos(g);if(u<i||Math.abs(Math.PI-u)<i){a+=`L${e.x},${e.y}`;continue}let _=Math.min(t/Math.sin(u/2),y/2,L/2),w=e.x-M*_,H=e.y-k*_,B=e.x+C*_,S=e.y+W*_;a+=`L${w},${H}`,a+=`Q${e.x},${e.y} ${B},${S}`}}return a}h(Lt,"generateRoundedPath");function F(r,t){if(!r||!t)return{angle:0,deltaX:0,deltaY:0};let a=t.x-r.x,s=t.y-r.y;return{angle:Math.atan2(s,a),deltaX:a,deltaY:s}}h(F,"calculateDeltaAndAngle");function Mt(r,t){let a=r.map(i=>({...i}));if(r.length>=2&&T[t.arrowTypeStart]){let i=T[t.arrowTypeStart],n=r[0],e=r[1],{angle:o}=F(n,e),c=i*Math.cos(o),l=i*Math.sin(o);a[0].x=n.x+c,a[0].y=n.y+l}let s=r.length;if(s>=2&&T[t.arrowTypeEnd]){let i=T[t.arrowTypeEnd],n=r[s-1],e=r[s-2],{angle:o}=F(e,n),c=i*Math.cos(o),l=i*Math.sin(o);a[s-1].x=n.x-c,a[s-1].y=n.y-l}return a}h(Mt,"applyMarkerOffsetsToPoints");var Xt=h((r,t,a,s)=>{t.forEach(i=>{jt[i](r,a,s)})},"insertMarkers"),Yt=h((r,t,a)=>{m.trace("Making markers for ",a),r.append("defs").append("marker").attr("id",a+"_"+t+"-extensionStart").attr("class","marker extension "+t).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),r.append("defs").append("marker").attr("id",a+"_"+t+"-extensionEnd").attr("class","marker extension "+t).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")},"extension"),Ct=h((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+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"),r.append("defs").append("marker").attr("id",a+"_"+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")},"composition"),Wt=h((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+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"),r.append("defs").append("marker").attr("id",a+"_"+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")},"aggregation"),Ht=h((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+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"),r.append("defs").append("marker").attr("id",a+"_"+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")},"dependency"),Bt=h((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+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("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),r.append("defs").append("marker").attr("id",a+"_"+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("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6)},"lollipop"),At=h((r,t,a)=>{r.append("marker").attr("id",a+"_"+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"),r.append("marker").attr("id",a+"_"+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")},"point"),Rt=h((r,t,a)=>{r.append("marker").attr("id",a+"_"+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"),r.append("marker").attr("id",a+"_"+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")},"circle"),zt=h((r,t,a)=>{r.append("marker").attr("id",a+"_"+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"),r.append("marker").attr("id",a+"_"+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")},"cross"),qt=h((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+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"),Ut=h((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+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"),r.append("defs").append("marker").attr("id",a+"_"+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"),It=h((r,t,a)=>{let s=r.append("defs").append("marker").attr("id",a+"_"+t+"-zeroOrOneStart").attr("class","marker zeroOrOne "+t).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto");s.append("circle").attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),s.append("path").attr("d","M9,0 L9,18");let i=r.append("defs").append("marker").attr("id",a+"_"+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"),Pt=h((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+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"),r.append("defs").append("marker").attr("id",a+"_"+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"),Nt=h((r,t,a)=>{let s=r.append("defs").append("marker").attr("id",a+"_"+t+"-zeroOrMoreStart").attr("class","marker zeroOrMore "+t).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto");s.append("circle").attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),s.append("path").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18");let i=r.append("defs").append("marker").attr("id",a+"_"+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"),Qt=h((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+t+"-requirement_arrowEnd").attr("refX",20).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("path").attr("d",`M0,0
L20,10
M20,10
L0,20`)},"requirement_arrow"),Zt=h((r,t,a)=>{let s=r.append("defs").append("marker").attr("id",a+"_"+t+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("g");s.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),s.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),s.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10)},"requirement_contains"),jt={extension:Yt,composition:Ct,aggregation:Wt,dependency:Ht,lollipop:Bt,point:At,circle:Rt,cross:zt,barb:qt,only_one:Ut,zero_or_one:It,one_or_more:Pt,zero_or_more:Nt,requirement_arrow:Qt,requirement_contains:Zt},lr=Xt;export{nr as a,sr as b,or as c,ir as d,lr as e};
//# sourceMappingURL=chunk-RSZXG5PP.min.js.map