@softistx/pulsarix-widget 0.8.3 → 0.8.5
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/chunks/{abnfDiagram-XWFEHMT6.9eyf87ze.js → abnfDiagram-XWFEHMT6.b9yk4x5x.js} +1 -1
- package/dist/chunks/architecture-WOLXFQ4H.aft3rkrr.js +1 -0
- package/dist/chunks/{architectureDiagram-CSQXQB3N.cy6247c8.js → architectureDiagram-CSQXQB3N.qz18rz0g.js} +1 -1
- package/dist/chunks/{blockDiagram-BEDRHYPZ.an5w7tk4.js → blockDiagram-BEDRHYPZ.bb08b9nt.js} +1 -1
- package/dist/chunks/{c4Diagram-M2UUVUY5.512525r3.js → c4Diagram-M2UUVUY5.px0epccd.js} +2 -2
- package/dist/chunks/{chat-markdown-COFhHMpe.fm39gs4e.js → chat-markdown-CrbWbK1O.k4nmgyey.js} +5 -5
- package/dist/chunks/{classDiagram-v2-KXABOMEV.5gw6azyv.js → classDiagram-v2-KXABOMEV.f02387t9.js} +2 -2
- package/dist/chunks/{cose-bilkent-JH36ORCC.9t42zmky.js → cose-bilkent-JH36ORCC.azq9k24r.js} +1 -1
- package/dist/chunks/cynefin-EF2NZ3EQ.dk039jny.js +1 -0
- package/dist/chunks/{cynefinDiagram-NJNITYFG.dta2tfnh.js → cynefinDiagram-NJNITYFG.zt7gprt1.js} +1 -1
- package/dist/chunks/{dagre-KIHZ2IZ3.k7b2vmwy.js → dagre-KIHZ2IZ3.702bqbr9.js} +1 -1
- package/dist/chunks/{diagram-7YQZDPLS.cd2t0saz.js → diagram-7YQZDPLS.m7vf21j6.js} +1 -1
- package/dist/chunks/{diagram-QBROCOUO.1x4d8w7m.js → diagram-QBROCOUO.33e5hv7x.js} +3 -3
- package/dist/chunks/{diagram-RJJCUUZO.jk65d82z.js → diagram-RJJCUUZO.94k74bz7.js} +2 -2
- package/dist/chunks/{diagram-WERXNKYE.85c3en4j.js → diagram-WERXNKYE.7fe849z6.js} +1 -1
- package/dist/chunks/{diagram-YHHI257C.y494n4nm.js → diagram-YHHI257C.qjjjfq7w.js} +2 -2
- package/dist/chunks/{diagram-YR4HJLHV.z2n88j9s.js → diagram-YR4HJLHV.310x2we2.js} +1 -1
- package/dist/chunks/{ebnfDiagram-N527522P.cgfkzbkp.js → ebnfDiagram-N527522P.a4crteq1.js} +1 -1
- package/dist/chunks/{editor-shortcuts-dialog-Ch8GFC-h.n66q7eep.js → editor-shortcuts-dialog-B0ppoiza.x3p4h07t.js} +1 -1
- package/dist/chunks/editor.arg3zy29.js +4 -0
- package/dist/chunks/{elk-O5DQBFGD.188pnf8b.js → elk-O5DQBFGD.dx61etan.js} +1 -1
- package/dist/chunks/{emoji-picker-Cv6ZOgpd.cmp5h45n.js → emoji-picker-CbvQZ2ZL.nst616hd.js} +2 -2
- package/dist/chunks/{erDiagram-K3K3BIDK.abxf5cgs.js → erDiagram-K3K3BIDK.qzqv67zm.js} +5 -5
- package/dist/chunks/eventmodeling-K75KTNOO.gmm1bcak.js +1 -0
- package/dist/chunks/{flow-diagram-B6X1M34-.awp18a9v.js → flow-diagram-AiM6FiIm.73jr19pb.js} +1 -1
- package/dist/chunks/flowDiagram-Z6JWZHQI.fzwqg115.js +1 -0
- package/dist/chunks/{ganttDiagram-3PRQTZWP.p72ak8vx.js → ganttDiagram-3PRQTZWP.xngzb32h.js} +2 -2
- package/dist/chunks/gitGraph-VSP46ZUC.0m8jykgw.js +1 -0
- package/dist/chunks/{gitGraphDiagram-VXDFKS5L.vtq378bg.js → gitGraphDiagram-VXDFKS5L.1sm36z2q.js} +1 -1
- package/dist/chunks/{grid-E2QIVN74.8xqrr45y.js → grid-E2QIVN74.76pgtn2n.js} +1 -1
- package/dist/chunks/illustration-BOW28wq5.bkz28k1x.js +1 -0
- package/dist/chunks/{index.pb5tn7q8.js → index.0e4s8r4m.js} +1 -1
- package/dist/chunks/{index.8hmrz817.js → index.0k4tbjhp.js} +1 -1
- package/dist/chunks/{index.je7pqrtm.js → index.1d7qpsyx.js} +2 -2
- package/dist/chunks/{index.x22rwqsz.js → index.32jxrb9b.js} +2 -2
- package/dist/chunks/{index.yd3167gn.js → index.7gxz6d1f.js} +2 -2
- package/dist/chunks/{index.r8wc9n4q.js → index.7k5v3p25.js} +1 -1
- package/dist/chunks/{index.nphh2dtn.js → index.8f3x951p.js} +1 -1
- package/dist/chunks/{index.ybmxf4mt.js → index.9bf5qrah.js} +1 -1
- package/dist/chunks/{index.mjfjqm0b.js → index.a1bxkgd3.js} +10 -10
- package/dist/chunks/{index.cf9nd6xy.js → index.a6rz456z.js} +2 -2
- package/dist/chunks/{index.b0pypc3w.js → index.dnnzjw18.js} +1 -1
- package/dist/chunks/index.e35b4yh5.js +44 -0
- package/dist/chunks/{index.jgvp2nkv.js → index.fbeztcp3.js} +1 -1
- package/dist/chunks/{index.2jsv3483.js → index.hvdnkr5m.js} +2 -2
- package/dist/chunks/{index.3k4gyba0.js → index.nsckd1vt.js} +2 -2
- package/dist/chunks/{index.btq862bx.js → index.r0p3fm9f.js} +1 -1
- package/dist/chunks/{index.psaka010.js → index.rfyzb2yv.js} +1 -1
- package/dist/chunks/{index.vm7ezzet.js → index.t34t6kpe.js} +2 -2
- package/dist/chunks/{index.6tc2v7mk.js → index.wrjdgn4c.js} +2 -2
- package/dist/chunks/{index.qy1pndre.js → index.zm5x44tn.js} +1 -1
- package/dist/chunks/info-OHQRW6UA.e0a85drn.js +1 -0
- package/dist/chunks/{infoDiagram-EZ3ZOAHP.q0047zjz.js → infoDiagram-EZ3ZOAHP.pfd0fjwn.js} +1 -1
- package/dist/chunks/{ishikawaDiagram-S3EKX5GW.41wwb1jp.js → ishikawaDiagram-S3EKX5GW.h5kjez1x.js} +2 -2
- package/dist/chunks/{journeyDiagram-POQNLL5X.2c9swtn6.js → journeyDiagram-POQNLL5X.55cqc9p0.js} +2 -2
- package/dist/chunks/{kanban-definition-BH5XI6FM.xznh9d30.js → kanban-definition-BH5XI6FM.pkdvda4y.js} +1 -1
- package/dist/chunks/{markup-color-chrome-ykGNUl8y.955bjndb.js → markup-color-chrome-ykGNUl8y.0ds56d6x.js} +1 -1
- package/dist/chunks/{markup-custom-color-Dou38qUi.w8c65wn1.js → markup-custom-color-Dgm2hHI7.7darvajx.js} +1 -1
- package/dist/chunks/{mention-list-D4eNNVs0.2k5cdtgy.js → mention-list-CkAUzPBG.mtjgmmzb.js} +1 -1
- package/dist/chunks/{mermaid.core.d680cq0m.js → mermaid.core.j7s05j63.js} +4 -4
- package/dist/chunks/{mindmap-definition-WVAN44T4.k41b9d4r.js → mindmap-definition-WVAN44T4.x3jbxvft.js} +1 -1
- package/dist/chunks/packet-JDAUHWVQ.52409p3r.js +1 -0
- package/dist/chunks/{panel.yh0jnkha.js → panel.9tp7gr60.js} +1 -1
- package/dist/chunks/{pegDiagram-D4NLKWP3.x25624w6.js → pegDiagram-D4NLKWP3.xq15gqy9.js} +1 -1
- package/dist/chunks/pie-XZMESJXO.q5kre8cx.js +1 -0
- package/dist/chunks/{pieDiagram-36ENHN4W.j4fq9134.js → pieDiagram-36ENHN4W.8h0wam54.js} +2 -2
- package/dist/chunks/{plated-illustration-0ro04oJt.0ebg0x7r.js → plated-illustration-COZYWJ81.xy7ba5mq.js} +1 -1
- package/dist/chunks/{quadrantDiagram-ZQUDMS73.1vgwgk90.js → quadrantDiagram-ZQUDMS73.k28g8jpn.js} +2 -2
- package/dist/chunks/radar-ABXABTNO.yk872k2n.js +1 -0
- package/dist/chunks/railroad-I3PHUGI6.9wfa6vs3.js +1 -0
- package/dist/chunks/railroad-abnf-LNEFI6M7.70zznk3b.js +1 -0
- package/dist/chunks/railroad-ebnf-DWYD2UWJ.4pvdng0p.js +1 -0
- package/dist/chunks/railroad-peg-JR7BVNR7.ev15ebp6.js +1 -0
- package/dist/chunks/{railroadDiagram-JIZHGYPL.pbv1rqfp.js → railroadDiagram-JIZHGYPL.e7p2vqgg.js} +1 -1
- package/dist/chunks/{render-VIF2ZAQL.2kz294jj.js → render-VIF2ZAQL.w5ytncsg.js} +1 -1
- package/dist/chunks/{requirementDiagram-AXW2TVFA.qnxmvqx8.js → requirementDiagram-AXW2TVFA.arekdz02.js} +2 -2
- package/dist/chunks/{sankeyDiagram-FBCJTAIF.whv6dy60.js → sankeyDiagram-FBCJTAIF.1d04xcmb.js} +2 -2
- package/dist/chunks/{sequenceDiagram-3LA2ROMG.w52darq5.js → sequenceDiagram-3LA2ROMG.j4xywwp1.js} +2 -2
- package/dist/chunks/{sizeCapture-2Q2CQKSF.zgscrz2v.js → sizeCapture-2Q2CQKSF.862bnf6p.js} +1 -1
- package/dist/chunks/{stateDiagram-v2-ATKHQDJO.zk8w1ht1.js → stateDiagram-v2-ATKHQDJO.xvvtr0y2.js} +2 -2
- package/dist/chunks/{swimlanes-YQL5WMAO.cn1pz0jc.js → swimlanes-YQL5WMAO.dtnjb4xt.js} +1 -1
- package/dist/chunks/swimlanesDiagram-UCCPES4V.0q8kd5qn.js +8 -0
- package/dist/chunks/{timeline-definition-7Z437IG3.atpqnb0j.js → timeline-definition-7Z437IG3.zfhqzc4r.js} +1 -1
- package/dist/chunks/treeView-D4JQ5SDB.3fzswdjp.js +1 -0
- package/dist/chunks/treemap-SAJKECNS.cgh74bhn.js +1 -0
- package/dist/chunks/{usecaseDiagram-RDK6N6HP.ase4sfgd.js → usecaseDiagram-RDK6N6HP.ewxnyz4c.js} +2 -2
- package/dist/chunks/{vennDiagram-SHRQU5PJ.as8z3hh5.js → vennDiagram-SHRQU5PJ.wkzf1f00.js} +2 -2
- package/dist/chunks/wardley-7MLQ67FV.6q5tgt0s.js +1 -0
- package/dist/chunks/{wardleyDiagram-F3OXNVQS.8pf1xb65.js → wardleyDiagram-F3OXNVQS.srjfm4nb.js} +1 -1
- package/dist/chunks/{xychartDiagram-GDYJKCDI.z35xw169.js → xychartDiagram-GDYJKCDI.xfa2vexk.js} +2 -2
- package/dist/index.js +22 -15
- package/package.json +2 -2
- package/dist/chunks/architecture-WOLXFQ4H.230b0n6c.js +0 -1
- package/dist/chunks/cynefin-EF2NZ3EQ.e9ycn4jb.js +0 -1
- package/dist/chunks/editor.yc8q5dd1.js +0 -4
- package/dist/chunks/eventmodeling-K75KTNOO.q3y4xbmj.js +0 -1
- package/dist/chunks/flowDiagram-Z6JWZHQI.af312t1k.js +0 -1
- package/dist/chunks/gitGraph-VSP46ZUC.e4envgw8.js +0 -1
- package/dist/chunks/illustration-BpmMAKpO.brt46gkr.js +0 -1
- package/dist/chunks/index.5vcex75v.js +0 -44
- package/dist/chunks/info-OHQRW6UA.yhwzx56w.js +0 -1
- package/dist/chunks/packet-JDAUHWVQ.gp9cmm94.js +0 -1
- package/dist/chunks/pie-XZMESJXO.fx385qqa.js +0 -1
- package/dist/chunks/radar-ABXABTNO.d58r1mqp.js +0 -1
- package/dist/chunks/railroad-I3PHUGI6.cwq84f31.js +0 -1
- package/dist/chunks/railroad-abnf-LNEFI6M7.7z7d547m.js +0 -1
- package/dist/chunks/railroad-ebnf-DWYD2UWJ.geje0ygg.js +0 -1
- package/dist/chunks/railroad-peg-JR7BVNR7.f8xnzs1y.js +0 -1
- package/dist/chunks/swimlanesDiagram-UCCPES4V.cy9ywqbn.js +0 -8
- package/dist/chunks/treeView-D4JQ5SDB.fj76b06b.js +0 -1
- package/dist/chunks/treemap-SAJKECNS.yk7967y9.js +0 -1
- package/dist/chunks/wardley-7MLQ67FV.r3k2k1ra.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Mo,yc}from"./index.0k4tbjhp.js";import"./index.e35b4yh5.js";export{yc as Illustration,Mo as t};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{e,hn,m,pn}from"./index.
|
|
1
|
+
import{e,hn,m,pn}from"./index.a1bxkgd3.js";import{Fe}from"./index.e35b4yh5.js";var o=Fe(pn(),1);var _r=e((s,t)=>{let r=s.append("rect");if(r.attr("x",t.x),r.attr("y",t.y),r.attr("fill",t.fill),r.attr("stroke",t.stroke),r.attr("width",t.width),r.attr("height",t.height),t.name)r.attr("name",t.name);if(t.rx)r.attr("rx",t.rx);if(t.ry)r.attr("ry",t.ry);if(t.attrs!==void 0)for(let a in t.attrs)r.attr(a,t.attrs[a]);if(t.class)r.attr("class",t.class);return r},"drawRect"),Ca=e((s,t)=>{let r={x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:"rect"};_r(s,r).lower()},"drawBackgroundRect"),ul=e((s,t)=>{let r=t.text.replace(hn," "),a=s.append("text");if(a.attr("x",t.x),a.attr("y",t.y),a.attr("class","legend"),a.style("text-anchor",t.anchor),t.class)a.attr("class",t.class);let i=a.append("tspan");return i.attr("x",t.x+t.textMargin*2),i.text(r),a},"drawText"),Ki=e((s,t,r,a)=>{let i=s.append("image");i.attr("x",t),i.attr("y",r);let n=o.sanitizeUrl(a);i.attr("xlink:href",n)},"drawImage"),Yi=e((s,t,r,a)=>{let i=s.append("use");i.attr("x",t),i.attr("y",r);let n=o.sanitizeUrl(a);i.attr("xlink:href",`#${n}`)},"drawEmbeddedImage"),ct=e(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),Xi=e(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj"),Xt=e(()=>{let s=m(".mermaidTooltip");if(s.empty())s=m("body").append("div").attr("class","mermaidTooltip").style("opacity",0).style("position","absolute").style("text-align","center").style("max-width","200px").style("padding","2px").style("font-size","12px").style("background","#ffffde").style("border","1px solid #333").style("border-radius","2px").style("pointer-events","none").style("z-index","100");return s},"createTooltip");
|
|
2
2
|
export{_r,Ca,ul,Ki,Yi,ct,Xi,Xt};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_,me,oe,Ha,H,w,r,xe,la,si,ca,Zr,Jr,Hs,Us,Ho,Ci,$l,Si,Uo,qo,ba}from"./index.
|
|
1
|
+
import{_,me,oe,Ha,H,w,r,xe,la,si,ca,Zr,Jr,Hs,Us,Ho,Ci,$l,Si,Uo,qo,ba}from"./index.e35b4yh5.js";var I=Symbol("glyphs");function x(e){let t=Math.trunc(e)*2654435761>>>0||1;return()=>{t=t+1831565813|0;let a=Math.imul(t^t>>>15,1|t);return a=a+Math.imul(a^a>>>7,61|a)^a,((a^a>>>14)>>>0)/4294967296}}var P={2:[[[40,42,30],[204,50,26]],[[206,48,32],[36,138,28]],[[44,48,28],[200,104,32]]],3:[[[40,42,30],[204,50,26],[202,138,28]],[[198,38,30],[40,76,26],[192,146,26]],[[44,148,28],[198,44,30],[208,142,24]],[[38,130,30],[122,22,24],[208,104,28]],[[202,36,28],[34,100,28],[122,154,22]],[[34,56,28],[208,60,28],[120,156,22]]],4:[[[40,42,30],[204,50,26],[202,138,28],[38,140,24]],[[36,44,26],[122,24,22],[206,64,26],[204,142,26]]]},C=[7,6,4.5,4],R=[[[88,26],[172,160],[214,96],[24,92]],[[170,24],[60,160],[26,100],[220,120]],[[30,26],[210,24],[150,162],[100,164]],[[120,170],[70,26],[222,74],[18,70]]],G=(e,t,a)=>`M${e} ${t-a}Q${e} ${t} ${e+a} ${t}Q${e} ${t} ${e} ${t+a}Q${e} ${t} ${e-a} ${t}Q${e} ${t} ${e} ${t-a}Z`;function D(e){let t=e.satellites??[];if(t.length>4)throw new xe("count",`${t.length} satellites: at most 4 are drawn.`);let a=e.sparkles??4;if(!(a>=0&&a<=4))throw new xe("count",`${a} sparkles: use 0 to 4.`);let n=e.layout??0;if(!(Number.isInteger(n)&&n>=0))throw new xe("count","The layout is a whole number, 0 or more.");let s=P[Math.min(4,Math.max(2,t.length))];return{sats:t,sparkles:a,places:s[(n>>2)%s.length],sparks:R[n&3]}}var Q=64,i=(e,t,a)=>a?{tag:e,attrs:t,children:a}:{tag:e,attrs:t};function U(e,t,a,n,s,o,{styles:c,rand:d,spriteBase:m,mapIcon:p,glyphs:l}){let u=typeof e==="string"?{name:e}:e;if(!ca(u.name))throw new xe("name",`${JSON.stringify(u.name)} is not an icon name: use lowercase words joined by dashes ("graduation-cap").`);let g=l&&Object.hasOwn(l,u.name)?l[u.name]:void 0;if(g){let v=n-o/2,S=s-o/2,{d:O,detail:M}=g,L=Math.round(o/Q*1000)/1000;return i("g",{id:t,class:a},[i("rect",{class:"ic-box",fill:"none",x:v,y:S,width:o,height:o}),i("g",{transform:`translate(${v} ${S}) scale(${L})`},[i("path",{d:M,fill:"currentColor","fill-opacity":0.4}),i("path",{d:O,fill:"currentColor"})])])}let y=c[c.length>1?Math.floor(d()*c.length):0],[b]=ba({family:u.family??y.family,type:u.type??y.type}),k={name:u.name,...b},h=n-o/2,f=s-o/2;return i("g",{id:t,class:a},[i("rect",{class:"ic-box",fill:"none",x:h,y:f,width:o,height:o}),i("use",{href:si(p?p(k):k,m),x:h,y:f,width:o,height:o})])}function q(e,t){let a=(typeof e==="string"?t?.(e):e?.d)??"M124 62A62 62 0 1 1 0 62A62 62 0 1 1 124 62Z";if(!/^[\d\sMLHVCSQTAZmlhvcsqtaz.,+eE-]*$/.test(a))throw new xe("name","A plate path holds path commands and numbers only.");return a}var E={empty:["cookie-9","primary",0,"box-open","inbox","folder-open"],"no-results":["soft-burst","secondary",0,"magnifying-glass","file-circle-question","sparkles"],"not-found":["flower","tertiary",0,"compass","map","location-dot","ghost"],error:["gem","error",0,"triangle-exclamation","server","bug","gear"],offline:["clover-4","warning",0,"wifi-slash","cloud-slash","plug-circle-xmark"],success:["sunny","success",0,"circle-check","party-horn","trophy"],welcome:["squircle","primary",0,"hand-wave","rocket","lightbulb","star"],forbidden:["gem","error",2,"lock-keyhole","ban","shield-halved","key"],maintenance:["triangle","warning",20,"screwdriver-wrench","gear","helmet-safety","traffic-cone"],invitation:["flower","primary",17,"envelope-open-text","user-plus","paper-plane","handshake"],"sign-in":["squircle","tertiary",15,"door-open","key","user","lock"],"empty-inbox":["oval","secondary",4,"envelope-open","inbox","circle-check","bell"]},N=Object.keys(E);function Ro(e,{idPrefix:t,spriteBase:a=la,plates:n,mapIcon:s}){if(!/^[A-Za-z][\w-]*$/.test(t))throw new xe("name",`The id prefix ${JSON.stringify(t)} is not safe: letters, digits, "_" and "-", a letter first.`);let{sats:o,sparkles:c,places:d,sparks:m}=D(e),p=ba(e.iconStyle),l=x(e.seed??0),u=(h)=>`${t}-${h}`,g=(h,f,v,S,O,M)=>U(h,u(f),v,S,O,M,{styles:p,rand:l,spriteBase:a,mapIcon:s,glyphs:e.glyphs}),y=B(u("plate"),q(e.plate,n)),b=o.flatMap((h,f)=>{let[v,S,O]=d[f];return[i("circle",{class:`ill-satbg ill-s${f}`,cx:v,cy:S,r:Math.round(O*78)/100}),g(h,`sat${f}`,`ill-sat ill-s${f}`,v,S,O)]}),k=g(e.hero,"hero","ill-hero",120,90,76);return i("svg",{id:u("root"),class:`ill ill-${e.tone??"primary"} ill-duo-${e.duotone??"opacity"}`,viewBox:"0 0 240 180",preserveAspectRatio:"xMidYMid meet","aria-hidden":"true",focusable:"false"},[...y,...b,k,...J(m,c)])}var B=(e,t)=>[i("g",{transform:"translate(58 28)"},[i("path",{id:e,class:"ill-plate",d:t})]),i("circle",{class:"ill-ring",cx:120,cy:90,r:74,fill:"none","stroke-dasharray":"2 5"})],J=(e,t)=>Array.from({length:t},(a,n)=>{let[s,o]=e[n];return i("path",{class:`ill-spark ill-k${n%2}`,d:G(s,o,C[n])})});function A(e,t={},a=E){if(!Object.hasOwn(a,e))throw new xe("name",`${JSON.stringify(e)} is not a scene of the table: use one of its ids.`);let[n,s,o,c,...d]=a[e],m=a[I];return{hero:c,satellites:d,plate:n,tone:s,layout:o,...m?{glyphs:m}:{},...t}}var Y=/^(aria|data)-/,Z=(e)=>e==="class"?"className":Y.test(e)?e:e.replace(/-([a-z])/g,(t,a)=>a.toUpperCase()),Mo=Ha(function e({node:t}){let a=Object.fromEntries(Object.entries(t.attrs).map(([n,s])=>[Z(n),s]));return oe(t.tag,a,...(t.children??[]).map((n,s)=>r(e,{node:n},s)))});function K(e,t,a){let n=Ho(),s=a??(V(e)?void 0:$l(n,e)),o=Hs(),c=Us(),d=`ill${H().replace(/[^\w-]/g,"-")}`,m=JSON.stringify([t,Ci(n,e),n?.iconStyle]);return{built:w(()=>{let p=Object.fromEntries(Object.entries(t).filter(([,l])=>l!==void 0));try{let l=A(e,{...n?.iconStyle===void 0?{}:{iconStyle:n.iconStyle},...Ci(n,e),...p},s);return{spec:l,flat:Ro(l,{idPrefix:d,spriteBase:o,...c==="free"?{mapIcon:Zr}:{}})}}catch(l){if(!(l instanceof xe))throw l;return F(`Illustration: ${l.message} Drawing the built-in art instead.`),null}},[e,s,m,d,o,c]),idPrefix:d,base:o,edition:c}}var j=new Set;function F(e){Jr()||j.has(e)||(j.add(e),console.warn(e))}var V=(e)=>N.includes(e);function T({kind:e}){return r(Si,{kind:e,"data-fallback":"",className:"h-full w-full"})}var X=Uo("plated-illustration",async()=>(await (_("xy7ba5mq"),import("./plated-illustration-COZYWJ81.xy7ba5mq.js"))).default,T);function yc({scene:e,scenes:t,size:a="md",title:n,animated:s,monochrome:o,hero:c,satellites:d,iconStyle:m,tone:p,duotone:l,className:u,...g}){let y=qo[e]??"empty",{built:b,idPrefix:k,base:h,edition:f}=K(e,{hero:c,satellites:d,iconStyle:m,tone:p,duotone:l},t);return r("div",{"data-slot":"illustration",...g,...n?{role:"img","aria-label":n}:{"aria-hidden":!0},"data-scene":e,"data-size":a,"data-animated":s?"":void 0,"data-monochrome":o?"":void 0,className:u,children:b?r(me,{fallback:r(Mo,{node:b.flat}),children:r(X,{spec:b.spec,idPrefix:k,base:h,edition:f,kind:y})}):r(T,{kind:y})})}export{Ro,Mo,yc};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{E,d,P,o,r,Se}from"./index.
|
|
2
|
-
export{
|
|
1
|
+
import{E,d,P,o,r,Se}from"./index.e35b4yh5.js";var w=/^rgb\(\s*(\d+)[\s,]+(\d+)[\s,]+(\d+)\s*\)$/;function b(e,n){e.clearRect(0,0,1,1),e.fillStyle="#000",e.fillStyle=n,e.fillRect(0,0,1,1);let[l=0,t=0,a=0,i=255]=e.getImageData(0,0,1,1).data;return[l,t,a,i]}function x(e,n){let l=e.ownerDocument,t,a=l.createElement("span");a.setAttribute("aria-hidden","true"),a.style.setProperty("display","none"),e.append(a);try{return n.map(({css:i,tone:s})=>{s?a.setAttribute("data-tone",s):a.removeAttribute("data-tone"),a.style.setProperty("color",""),a.style.setProperty("color",i);let u=l.defaultView?.getComputedStyle(a).color??"",f=w.exec(u);if(f)return[Number(f[1]),Number(f[2]),Number(f[3]),255];if(!u)return null;if(t===void 0){let m=l.createElement("canvas");m.width=m.height=1,t=m.getContext("2d",{willReadFrequently:!0})}return t?b(t,u):null})}finally{a.remove()}}var S=/^#([0-9a-fA-F]{3})$/,R=/^#([0-9a-fA-F]{6})$/;function On(e){let n=e.trim();if(!n)return null;let l=n.startsWith("#")?n:`#${n}`,t=S.exec(l);if(t?.[1]){let[a,i,s]=t[1];return`#${a}${a}${i}${i}${s}${s}`.toLowerCase()}return R.test(l)?l.toLowerCase():null}var k=/^var\(\s*(--[\w-]+)\s*(,[\s\S]*)?\)$/,c=(e,n)=>({key:`material.image-editor.markup.color-names.${e}`,en:n}),A=c("white","White"),g=c("black","Black"),I={"#ffffff":A,"#111827":g,"#000000":g,"#f97316":c("orange","Orange"),"#8b5cf6":c("violet","Violet"),"var(--primary)":c("primary","Primary"),"var(--destructive)":c("danger","Danger"),"var(--warning)":c("warning","Warning"),"var(--success)":c("success","Success"),"var(--info)":c("info","Info")},Js=(e)=>I[On(e)??e.trim().toLowerCase()],p=(e)=>e.toString(16).padStart(2,"0");function el(e,n){let l=On(e);if(l)return l;let t=k.exec(e.trim()),[a]=x(n,[{css:t&&!t[2]?`var(${t[1]}, transparent)`:e}]);return a?.[3]?`#${p(a[0])}${p(a[1])}${p(a[2])}`:null}function L(e,n,l){let t=On(n);return!t||l.includes(t)?[...e]:[t,...e.filter((a)=>a!==t)].slice(0,6)}function D(e){let n=[];for(let l of e){let t=On(l);t&&!n.includes(t)&&n.push(t)}return n.slice(0,6)}function N({recentColors:e,onRecentColorsChange:n}){let[l,t]=o([]),a=e===void 0?l:D(e),i=Se(a),s=Se(n),u=Se(e!==void 0);return{colors:a,add:d((f,m)=>{let v=L(i.current,f,m);v.join()!==i.current.join()&&(u.current||t(v),s.current?.(v))},[i,u,s])}}var C=E(null),h=E(null);function tl({value:e,recentColors:n,onRecentColorsChange:l,children:t}){let a=N({recentColors:n,onRecentColorsChange:l});return r(C.Provider,{value:e,children:r(h.Provider,{value:a,children:t})})}var y=()=>Error("ImageEditor parts must be used inside <ImageEditor>");function V(){let e=P(C);if(!e)throw y();return e}function rl(){let e=P(h);if(!e)throw y();return e}function nl(e){let n=e.trim().replace("#",""),l=n.length===3?n.replace(/./g,(u)=>u+u):n;if(!/^[0-9a-f]{6}/i.test(l))return!1;let t=Number.parseInt(l.slice(0,6),16),a=t>>16&255,i=t>>8&255,s=t&255;return 0.299*a+0.587*i+0.114*s>160}function Wo(e){return e.label??e.value}function Dn(e,n){return!!(e&&n&&e.toLowerCase()===n.toLowerCase())}function wa(e){return e&&/^#[0-9a-f]{6}$/i.test(e)?e:"#000000"}
|
|
2
|
+
export{On,Js,el,tl,V,rl,nl,Wo,Dn,wa};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{f,d,w,i,X,r,re,ke,B,Je,tr,yr,ci,ui}from"./index.
|
|
2
|
-
export{
|
|
1
|
+
import{f,d,w,i,X,r,re,ke,B,Je,tr,yr,ci,ui}from"./index.e35b4yh5.js";var N=Object.defineProperty,A=(e,o)=>N(e,"name",{value:o,configurable:!0}),F=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,o)=>{let t=re(`Primitive.${o}`),a=f((n,u)=>{let{asChild:s,...l}=n,c=s?t:o;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),r(c,{...l,ref:u})});return a.displayName=`Primitive.${o}`,{...e,[o]:a}},{});function H(e,o){e&&X(()=>e.dispatchEvent(o))}A(H,"dispatchDiscreteCustomEvent");var q=Object.defineProperty,S=(e,o)=>q(e,"name",{value:o,configurable:!0}),C={Horizontal:"horizontal",Vertical:"vertical"},P=C.Horizontal,J=Object.values(C),Rs=f(S(function(e,o){let{decorative:t,orientation:a=P,...n}=e,u=G(a)?a:P,s=u===C.Vertical?u:void 0,l=t?{role:"none"}:{"aria-orientation":s,role:"separator"};return r(F.div,{"data-orientation":u,...l,...n,ref:o})},"Separator"));function G(e){return J.includes(e)}S(G,"isValidOrientation");var K=Object.defineProperty,L=(e,o)=>K(e,"name",{value:o,configurable:!0}),Q=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,o)=>{let t=re(`Primitive.${o}`),a=f((n,u)=>{let{asChild:s,...l}=n,c=s?t:o;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),r(c,{...l,ref:u})});return a.displayName=`Primitive.${o}`,{...e,[o]:a}},{});function U(e,o){e&&X(()=>e.dispatchEvent(o))}L(U,"dispatchDiscreteCustomEvent");var W=Object.defineProperty,Y=(e,o)=>W(e,"name",{value:o,configurable:!0}),Z="Toggle",ee=f(Y(function(e,o){let{pressed:t,defaultPressed:a,onPressedChange:n,...u}=e,[s,l]=Je({prop:t,onChange:n,defaultProp:a??!1,caller:Z});return r(Q.button,{type:"button","aria-pressed":s,"data-state":s?"on":"off","data-disabled":e.disabled?"":void 0,...u,ref:o,onClick:B(e.onClick,()=>{e.disabled||l(!s)})})},"Toggle")),oe=Object.defineProperty,ae=(e,o)=>oe(e,"name",{value:o,configurable:!0}),_=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,o)=>{let t=re(`Primitive.${o}`),a=f((n,u)=>{let{asChild:s,...l}=n,c=s?t:o;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),r(c,{...l,ref:u})});return a.displayName=`Primitive.${o}`,{...e,[o]:a}},{});function ie(e,o){e&&X(()=>e.dispatchEvent(o))}ae(ie,"dispatchDiscreteCustomEvent");var te=Object.defineProperty,p=(e,o)=>te(e,"name",{value:o,configurable:!0}),m="ToggleGroup",b={Single:"single",Multiple:"multiple"},[I,j]=ke(m,[yr]),O=yr(),Sl=f(p(function(e,o){let{type:t,...a}=e;if(t===b.Single)return r(le,{role:"radiogroup",...a,ref:o});if(t===b.Multiple)return r(ne,{role:"toolbar",...a,ref:o});throw Error(`Missing prop \`type\` expected on \`${m}\``)},"ToggleGroup")),[E,V]=I(m),le=f(p(function(e,o){let{value:t,defaultValue:a,onValueChange:n=p(()=>{},"onValueChange"),...u}=e,[s,l]=Je({prop:t,defaultProp:a??"",onChange:n,caller:m});return r(E,{scope:e.__scopeToggleGroup,type:b.Single,value:w(()=>s?[s]:[],[s]),onItemActivate:l,onItemDeactivate:d(()=>l(""),[l]),children:r(x,{...u,ref:o})})},"ToggleGroupImplSingle")),ne=f(p(function(e,o){let{value:t,defaultValue:a,onValueChange:n=p(()=>{},"onValueChange"),...u}=e,[s,l]=Je({prop:t,defaultProp:a??[],onChange:n,caller:m}),c=d((v)=>l((g=[])=>[...g,v]),[l]),h=d((v)=>l((g=[])=>g.filter((M)=>M!==v)),[l]);return r(E,{scope:e.__scopeToggleGroup,type:b.Multiple,value:s,onItemActivate:c,onItemDeactivate:h,children:r(x,{...u,ref:o})})},"ToggleGroupImplMultiple")),[ue,de]=I(m),x=f(p(function(e,o){let{__scopeToggleGroup:t,disabled:a=!1,rovingFocus:n=!0,orientation:u,dir:s,loop:l=!0,...c}=e,h=O(t),v=tr(s),g={dir:v,...c};return r(ue,{scope:t,rovingFocus:n,disabled:a,children:n?r(ci,{asChild:!0,...h,orientation:u,dir:v,loop:l,children:r(_.div,{...g,ref:o})}):r(_.div,{...g,ref:o})})},"ToggleGroupImpl")),y="ToggleGroupItem",El=f(p(function(e,o){let t=V(y,e.__scopeToggleGroup),a=de(y,e.__scopeToggleGroup),n=O(e.__scopeToggleGroup),u=t.value.includes(e.value),s=a.disabled||e.disabled,l={...e,pressed:u,disabled:s},c=i(null);return a.rovingFocus?r(ui,{asChild:!0,...n,focusable:!s,active:u,ref:c,children:r(R,{...l,ref:o})}):r(R,{...l,ref:o})},"ToggleGroupItem")),R=f(p(function(e,o){let{__scopeToggleGroup:t,value:a,...n}=e,u=V(y,t),s={role:"radio","aria-checked":e.pressed,"aria-pressed":void 0},l=u.type===b.Single?s:void 0;return r(ee,{...l,...n,ref:o,onPressedChange:(c)=>{c?u.onItemActivate(a):u.onItemDeactivate(a)}})},"ToggleGroupItemImpl")),se=Object.defineProperty,fe=(e,o)=>se(e,"name",{value:o,configurable:!0}),D=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,o)=>{let t=re(`Primitive.${o}`),a=f((n,u)=>{let{asChild:s,...l}=n,c=s?t:o;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),r(c,{...l,ref:u})});return a.displayName=`Primitive.${o}`,{...e,[o]:a}},{});function ce(e,o){e&&X(()=>e.dispatchEvent(o))}fe(ce,"dispatchDiscreteCustomEvent");var pe=Object.defineProperty,T=(e,o)=>pe(e,"name",{value:o,configurable:!0}),k="Toolbar",[ve,Te]=ke(k,[yr,j]),z=yr();j();var[ge,me]=ve(k),Al=f(T(function(e,o){let{__scopeToolbar:t,orientation:a="horizontal",dir:n,loop:u=!0,...s}=e,l=z(t),c=tr(n);return r(ge,{scope:t,orientation:a,dir:c,children:r(ci,{asChild:!0,...l,orientation:a,dir:c,loop:u,children:r(D.div,{role:"toolbar","aria-orientation":a,dir:c,...s,ref:o})})})},"Toolbar")),be="ToolbarSeparator",_l=f(T(function(e,o){let{__scopeToolbar:t,...a}=e,n=me(be,t);return r(Rs,{orientation:n.orientation==="horizontal"?"vertical":"horizontal",...a,ref:o})},"ToolbarSeparator")),oa=f(T(function(e,o){let{__scopeToolbar:t,...a}=e,n=z(t);return r(ui,{asChild:!0,...n,focusable:!e.disabled,children:r(D.button,{type:"button",...a,ref:o})})},"ToolbarButton"));
|
|
2
|
+
export{Rs,Sl,El,Al,_l,oa};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{sa,_}from"./index.5vcex75v.js";var rn={};sa(rn,{AbnfAlternation:()=>go,AbnfConcatenation:()=>vo,AbnfElement:()=>hi,AbnfGroup:()=>To,AbnfNumVal:()=>$o,AbnfOptionalGroup:()=>Ro,AbnfPrimary:()=>cr,AbnfRule:()=>yi,AbnfRuleName:()=>Ao,AbnfStringLiteral:()=>Eo,AbstractMermaidTokenBuilder:()=>ce,AbstractMermaidValueConverter:()=>Ie,Architecture:()=>ot,ArchitectureGrammarGeneratedModule:()=>Ml,Branch:()=>Xn,Commit:()=>mr,CommonTokenBuilder:()=>kR,CommonValueConverter:()=>Je,Cynefin:()=>Ht,CynefinGrammarGeneratedModule:()=>Dl,DomainBlock:()=>Jn,DomainItem:()=>xi,EbnfChoice:()=>Co,EbnfExceptionPostfix:()=>bo,EbnfGroup:()=>_o,EbnfNonTerminal:()=>So,EbnfOneOrMorePostfix:()=>wo,EbnfOptional:()=>Po,EbnfOptionalPostfix:()=>ko,EbnfPostfix:()=>Yr,EbnfPrimary:()=>Vt,EbnfRepetition:()=>Io,EbnfRule:()=>gi,EbnfSequence:()=>No,EbnfSpecial:()=>Oo,EbnfTerm:()=>vi,EbnfTerminal:()=>Mo,EbnfZeroOrMorePostfix:()=>Do,EmDataEntity:()=>fr,EmFrame:()=>Kt,EmptyFileSystem:()=>le,EventModel:()=>ht,EventModelingGeneratedModule:()=>Ll,GitGraph:()=>Yt,GitGraphGrammarGeneratedModule:()=>xl,Info:()=>Qr,InfoGrammarGeneratedModule:()=>Gl,Merge:()=>hr,MermaidGeneratedSharedModule:()=>ue,Packet:()=>yr,PacketBlock:()=>gr,PacketGrammarGeneratedModule:()=>Fl,PegAny:()=>Lo,PegGroup:()=>xo,PegIdentifier:()=>Go,PegLiteral:()=>Fo,PegOrderedChoice:()=>jo,PegPrefix:()=>Ti,PegPrimary:()=>Xr,PegRule:()=>$i,PegSequence:()=>zo,PegSuffix:()=>Ri,Pie:()=>Xt,PieGrammarGeneratedModule:()=>jl,PieSection:()=>Zn,Radar:()=>Wt,RadarGrammarGeneratedModule:()=>zl,Railroad:()=>vr,RailroadAbnf:()=>Tr,RailroadAbnfGrammarGeneratedModule:()=>Bl,RailroadChoiceExpr:()=>Bo,RailroadEbnf:()=>$r,RailroadEbnfGrammarGeneratedModule:()=>Ul,RailroadExpression:()=>yt,RailroadGrammarGeneratedModule:()=>Vl,RailroadNonTerminalExpr:()=>Uo,RailroadOneOrMoreExpr:()=>Vo,RailroadOptionalExpr:()=>Wo,RailroadPeg:()=>Rr,RailroadPegGrammarGeneratedModule:()=>Kl,RailroadRule:()=>Ai,RailroadSequenceExpr:()=>qo,RailroadSpecialExpr:()=>Ho,RailroadTerminalExpr:()=>el,RailroadZeroOrMoreExpr:()=>tl,Statement:()=>pr,Transition:()=>en,TreeNode:()=>dr,TreeView:()=>Jr,TreeViewGrammarGeneratedModule:()=>ql,Treemap:()=>Ar,TreemapGrammarGeneratedModule:()=>Wl,Wardley:()=>Oe,WardleyGrammarGeneratedModule:()=>Hl,__name:()=>i,createDefaultCoreModule:()=>ne,createDefaultSharedCoreModule:()=>ae,inject:()=>W,isArchitecture:()=>Vp,isBranch:()=>Kp,isCommit:()=>Wp,isCynefin:()=>qp,isDomainBlock:()=>Hp,isDomainItem:()=>Yp,isEmModelEntityType:()=>Xp,isEmResetFrame:()=>ka,isGitGraph:()=>Jp,isInfo:()=>Zp,isMerge:()=>Qp,isPacket:()=>ed,isPacketBlock:()=>td,isPie:()=>rd,isPieSection:()=>nd,isRailroad:()=>ad,isRailroadAbnf:()=>id,isRailroadEbnf:()=>sd,isRailroadPeg:()=>od,isTransition:()=>ld,isTreemap:()=>ud,isWardley:()=>cd});var{create:rA,defineProperty:Gi,getOwnPropertyDescriptor:nA,getOwnPropertyNames:Sf,getPrototypeOf:aA}=Object,iA=Object.prototype.hasOwnProperty,i=(e,t)=>Gi(e,"name",{value:t,configurable:!0}),sA=(e,t)=>function(){return e&&(t=(0,e[Sf(e)[0]])(e=0)),t},J=(e,t)=>function(){return t||(0,e[Sf(e)[0]])((t={exports:{}}).exports,t),t.exports},oA=(e,t)=>{for(var r in t)Gi(e,r,{get:t[r],enumerable:!0})},Nm=(e,t,r,n)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let a of Sf(t))if(!iA.call(e,a)&&a!==r)Gi(e,a,{get:()=>t[a],enumerable:!(n=nA(t,a))||n.enumerable})}return e},wf=(e,t,r)=>(r=e!=null?rA(aA(e)):{},Nm(t||!e||!e.__esModule?Gi(r,"default",{value:e,enumerable:!0}):r,e)),Pf=(e)=>Nm(Gi({},"__esModule",{value:!0}),e),Fi=J({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/is.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.boolean=t,e.string=r,e.number=n,e.error=a,e.func=s,e.array=o,e.stringArray=l;function t(u){return u===!0||u===!1}i(t,"boolean");function r(u){return typeof u==="string"||u instanceof String}i(r,"string");function n(u){return typeof u==="number"||u instanceof Number}i(n,"number");function a(u){return u instanceof Error}i(a,"error");function s(u){return typeof u==="function"}i(s,"func");function o(u){return Array.isArray(u)}i(o,"array");function l(u){return o(u)&&u.every((c)=>r(c))}i(l,"stringArray")}}),Om=J({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/messages.js"(e){var t=e&&e.__createBinding||(Object.create?function(A,g,C,O){if(O===void 0)O=C;var w=Object.getOwnPropertyDescriptor(g,C);if(!w||("get"in w?!g.__esModule:w.writable||w.configurable))w={enumerable:!0,get:i(function(){return g[C]},"get")};Object.defineProperty(A,O,w)}:function(A,g,C,O){if(O===void 0)O=C;A[O]=g[C]}),r=e&&e.__setModuleDefault||(Object.create?function(A,g){Object.defineProperty(A,"default",{enumerable:!0,value:g})}:function(A,g){A.default=g}),n=e&&e.__importStar||function(){var A=i(function(g){return A=Object.getOwnPropertyNames||function(C){var O=[];for(var w in C)if(Object.prototype.hasOwnProperty.call(C,w))O[O.length]=w;return O},A(g)},"ownKeys");return function(g){if(g&&g.__esModule)return g;var C={};if(g!=null){for(var O=A(g),w=0;w<O.length;w++)if(O[w]!=="default")t(C,g,O[w])}return r(C,g),C}}();Object.defineProperty(e,"__esModule",{value:!0}),e.Message=e.NotificationType9=e.NotificationType8=e.NotificationType7=e.NotificationType6=e.NotificationType5=e.NotificationType4=e.NotificationType3=e.NotificationType2=e.NotificationType1=e.NotificationType0=e.NotificationType=e.RequestType9=e.RequestType8=e.RequestType7=e.RequestType6=e.RequestType5=e.RequestType4=e.RequestType3=e.RequestType2=e.RequestType1=e.RequestType=e.RequestType0=e.AbstractMessageSignature=e.ParameterStructures=e.ResponseError=e.ErrorCodes=void 0;var a=n(Fi()),s;(function(A){A.ParseError=-32700,A.InvalidRequest=-32600,A.MethodNotFound=-32601,A.InvalidParams=-32602,A.InternalError=-32603,A.jsonrpcReservedErrorRangeStart=-32099,A.serverErrorStart=-32099,A.MessageWriteError=-32099,A.MessageReadError=-32098,A.PendingResponseRejected=-32097,A.ConnectionInactive=-32096,A.ServerNotInitialized=-32002,A.UnknownErrorCode=-32001,A.jsonrpcReservedErrorRangeEnd=-32000,A.serverErrorEnd=-32000})(s||(e.ErrorCodes=s={}));var o=class A extends Error{static{i(this,"ResponseError")}code;data;constructor(g,C,O){super(C);this.code=a.number(g)?g:s.UnknownErrorCode,this.data=O,Object.setPrototypeOf(this,A.prototype)}toJson(){let g={code:this.code,message:this.message};if(this.data!==void 0)g.data=this.data;return g}};e.ResponseError=o;var l=class A{static{i(this,"ParameterStructures")}kind;static auto=new A("auto");static byPosition=new A("byPosition");static byName=new A("byName");constructor(g){this.kind=g}static is(g){return g===A.auto||g===A.byName||g===A.byPosition}toString(){return this.kind}};e.ParameterStructures=l;var u=class{static{i(this,"AbstractMessageSignature")}method;numberOfParams;constructor(A,g){this.method=A,this.numberOfParams=g}get parameterStructures(){return l.auto}};e.AbstractMessageSignature=u;var c=class extends u{static{i(this,"RequestType0")}_;constructor(A){super(A,0)}};e.RequestType0=c;var p=class extends u{static{i(this,"RequestType")}_parameterStructures;_;constructor(A,g=l.auto){super(A,1);this._parameterStructures=g}get parameterStructures(){return this._parameterStructures}};e.RequestType=p;var h=class extends u{static{i(this,"RequestType1")}_parameterStructures;_;constructor(A,g=l.auto){super(A,1);this._parameterStructures=g}get parameterStructures(){return this._parameterStructures}};e.RequestType1=h;var y=class extends u{static{i(this,"RequestType2")}_;constructor(A){super(A,2)}};e.RequestType2=y;var d=class extends u{static{i(this,"RequestType3")}_;constructor(A){super(A,3)}};e.RequestType3=d;var E=class extends u{static{i(this,"RequestType4")}_;constructor(A){super(A,4)}};e.RequestType4=E;var T=class extends u{static{i(this,"RequestType5")}_;constructor(A){super(A,5)}};e.RequestType5=T;var v=class extends u{static{i(this,"RequestType6")}_;constructor(A){super(A,6)}};e.RequestType6=v;var R=class extends u{static{i(this,"RequestType7")}_;constructor(A){super(A,7)}};e.RequestType7=R;var P=class extends u{static{i(this,"RequestType8")}_;constructor(A){super(A,8)}};e.RequestType8=P;var S=class extends u{static{i(this,"RequestType9")}_;constructor(A){super(A,9)}};e.RequestType9=S;var D=class extends u{static{i(this,"NotificationType")}_parameterStructures;_;constructor(A,g=l.auto){super(A,1);this._parameterStructures=g}get parameterStructures(){return this._parameterStructures}};e.NotificationType=D;var x=class extends u{static{i(this,"NotificationType0")}_;constructor(A){super(A,0)}};e.NotificationType0=x;var F=class extends u{static{i(this,"NotificationType1")}_parameterStructures;_;constructor(A,g=l.auto){super(A,1);this._parameterStructures=g}get parameterStructures(){return this._parameterStructures}};e.NotificationType1=F;var V=class extends u{static{i(this,"NotificationType2")}_;constructor(A){super(A,2)}};e.NotificationType2=V;var ee=class extends u{static{i(this,"NotificationType3")}_;constructor(A){super(A,3)}};e.NotificationType3=ee;var fe=class extends u{static{i(this,"NotificationType4")}_;constructor(A){super(A,4)}};e.NotificationType4=fe;var Z=class extends u{static{i(this,"NotificationType5")}_;constructor(A){super(A,5)}};e.NotificationType5=Z;var k=class extends u{static{i(this,"NotificationType6")}_;constructor(A){super(A,6)}};e.NotificationType6=k;var L=class extends u{static{i(this,"NotificationType7")}_;constructor(A){super(A,7)}};e.NotificationType7=L;var j=class extends u{static{i(this,"NotificationType8")}_;constructor(A){super(A,8)}};e.NotificationType8=j;var z=class extends u{static{i(this,"NotificationType9")}_;constructor(A){super(A,9)}};e.NotificationType9=z;var N;(function(A){function g(w){let M=w;return M&&a.string(M.method)&&(a.string(M.id)||a.number(M.id))}i(g,"isRequest"),A.isRequest=g;function C(w){let M=w;return M&&a.string(M.method)&&w.id===void 0}i(C,"isNotification"),A.isNotification=C;function O(w){let M=w;return M&&(M.result!==void 0||!!M.error)&&(a.string(M.id)||a.number(M.id)||M.id===null)}i(O,"isResponse"),A.isResponse=O})(N||(e.Message=N={}))}}),Mm=J({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/linkedMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.LRUCache=e.LinkedMap=e.Touch=void 0;var t;(function(a){a.None=0,a.First=1,a.AsOld=a.First,a.Last=2,a.AsNew=a.Last})(t||(e.Touch=t={}));var r=class{static{i(this,"LinkedMap")}[Symbol.toStringTag]="LinkedMap";_map;_head;_tail;_size;_state;constructor(){this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){return this._head?.value}get last(){return this._tail?.value}before(a){let s=this._map.get(a);return s?s.previous?.value:void 0}after(a){let s=this._map.get(a);return s?s.next?.value:void 0}has(a){return this._map.has(a)}get(a,s=t.None){let o=this._map.get(a);if(!o)return;if(s!==t.None)this.touch(o,s);return o.value}set(a,s,o=t.None){let l=this._map.get(a);if(l){if(l.value=s,o!==t.None)this.touch(l,o)}else{switch(l={key:a,value:s,next:void 0,previous:void 0},o){case t.None:this.addItemLast(l);break;case t.First:this.addItemFirst(l);break;case t.Last:this.addItemLast(l);break;default:this.addItemLast(l);break}this._map.set(a,l),this._size++}return this}delete(a){return!!this.remove(a)}remove(a){let s=this._map.get(a);if(!s)return;return this._map.delete(a),this.removeItem(s),this._size--,s.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw Error("Invalid list");let a=this._head;return this._map.delete(a.key),this.removeItem(a),this._size--,a.value}forEach(a,s){let o=this._state,l=this._head;while(l){if(s)a.bind(s)(l.value,l.key,this);else a(l.value,l.key,this);if(this._state!==o)throw Error("LinkedMap got modified during iteration.");l=l.next}}keys(){let a=this._state,s=this._head,o={[Symbol.iterator]:()=>o,next:i(()=>{if(this._state!==a)throw Error("LinkedMap got modified during iteration.");if(s){let l={value:s.key,done:!1};return s=s.next,l}else return{value:void 0,done:!0}},"next")};return o}values(){let a=this._state,s=this._head,o={[Symbol.iterator]:()=>o,next:i(()=>{if(this._state!==a)throw Error("LinkedMap got modified during iteration.");if(s){let l={value:s.value,done:!1};return s=s.next,l}else return{value:void 0,done:!0}},"next")};return o}entries(){let a=this._state,s=this._head,o={[Symbol.iterator]:()=>o,next:i(()=>{if(this._state!==a)throw Error("LinkedMap got modified during iteration.");if(s){let l={value:[s.key,s.value],done:!1};return s=s.next,l}else return{value:void 0,done:!0}},"next")};return o}[Symbol.iterator](){return this.entries()}trimOld(a){if(a>=this.size)return;if(a===0){this.clear();return}let s=this._head,o=this.size;while(s&&o>a)this._map.delete(s.key),s=s.next,o--;if(this._head=s,this._size=o,s)s.previous=void 0;this._state++}addItemFirst(a){if(!this._head&&!this._tail)this._tail=a;else if(!this._head)throw Error("Invalid list");else a.next=this._head,this._head.previous=a;this._head=a,this._state++}addItemLast(a){if(!this._head&&!this._tail)this._head=a;else if(!this._tail)throw Error("Invalid list");else a.previous=this._tail,this._tail.next=a;this._tail=a,this._state++}removeItem(a){if(a===this._head&&a===this._tail)this._head=void 0,this._tail=void 0;else if(a===this._head){if(!a.next)throw Error("Invalid list");a.next.previous=void 0,this._head=a.next}else if(a===this._tail){if(!a.previous)throw Error("Invalid list");a.previous.next=void 0,this._tail=a.previous}else{let{next:s,previous:o}=a;if(!s||!o)throw Error("Invalid list");s.previous=o,o.next=s}a.next=void 0,a.previous=void 0,this._state++}touch(a,s){if(!this._head||!this._tail)throw Error("Invalid list");if(s!==t.First&&s!==t.Last)return;if(s===t.First){if(a===this._head)return;let{next:o,previous:l}=a;if(a===this._tail)l.next=void 0,this._tail=l;else o.previous=l,l.next=o;a.previous=void 0,a.next=this._head,this._head.previous=a,this._head=a,this._state++}else if(s===t.Last){if(a===this._tail)return;let{next:o,previous:l}=a;if(a===this._head)o.previous=void 0,this._head=o;else o.previous=l,l.next=o;a.next=void 0,a.previous=this._tail,this._tail.next=a,this._tail=a,this._state++}}toJSON(){let a=[];return this.forEach((s,o)=>{a.push([o,s])}),a}fromJSON(a){this.clear();for(let[s,o]of a)this.set(s,o)}};e.LinkedMap=r;var n=class extends r{static{i(this,"LRUCache")}_limit;_ratio;constructor(a,s=1){super();this._limit=a,this._ratio=Math.min(Math.max(0,s),1)}get limit(){return this._limit}set limit(a){this._limit=a,this.checkTrim()}get ratio(){return this._ratio}set ratio(a){this._ratio=Math.min(Math.max(0,a),1),this.checkTrim()}get(a,s=t.AsNew){return super.get(a,s)}peek(a){return super.get(a,t.None)}set(a,s){return super.set(a,s,t.Last),this.checkTrim(),this}checkTrim(){if(this.size>this._limit)this.trimOld(Math.round(this._limit*this._ratio))}};e.LRUCache=n}}),lA=J({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/disposable.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Disposable=void 0;var t;(function(r){function n(a){return{dispose:a}}i(n,"create"),r.create=n})(t||(e.Disposable=t={}))}}),sn=J({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/ral.js"(e){Object.defineProperty(e,"__esModule",{value:!0});var t;function r(){if(t===void 0)throw Error("No runtime abstraction layer installed");return t}i(r,"RAL"),function(n){function a(s){if(s===void 0)throw Error("No runtime abstraction layer provided");t=s}i(a,"install"),n.install=a}(r||(r={})),e.default=r}}),ji=J({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/events.js"(e){var t=e&&e.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(e,"__esModule",{value:!0}),e.Emitter=e.Event=void 0;var r=t(sn()),n;(function(o){let l={dispose(){}};o.None=function(){return l}})(n||(e.Event=n={}));var a=class{static{i(this,"CallbackList")}_callbacks;_contexts;add(o,l=null,u){if(!this._callbacks)this._callbacks=[],this._contexts=[];if(this._callbacks.push(o),this._contexts.push(l),Array.isArray(u))u.push({dispose:i(()=>this.remove(o,l),"dispose")})}remove(o,l=null){if(!this._callbacks)return;let u=!1;for(let c=0,p=this._callbacks.length;c<p;c++)if(this._callbacks[c]===o)if(this._contexts[c]===l){this._callbacks.splice(c,1),this._contexts.splice(c,1);return}else u=!0;if(u)throw Error("When adding a listener with a context, you should remove it with the same context")}invoke(...o){if(!this._callbacks)return[];let l=[],u=this._callbacks.slice(0),c=this._contexts.slice(0);for(let p=0,h=u.length;p<h;p++)try{l.push(u[p].apply(c[p],o))}catch(y){(0,r.default)().console.error(y)}return l}isEmpty(){return!this._callbacks||this._callbacks.length===0}dispose(){this._callbacks=void 0,this._contexts=void 0}},s=class o{static{i(this,"Emitter")}_options;static _noop=i(function(){},"_noop");_event;_callbacks;constructor(l){this._options=l}get event(){if(!this._event)this._event=(l,u,c)=>{if(!this._callbacks)this._callbacks=new a;if(this._options&&this._options.onFirstListenerAdd&&this._callbacks.isEmpty())this._options.onFirstListenerAdd(this);this._callbacks.add(l,u);let p={dispose:i(()=>{if(!this._callbacks)return;if(this._callbacks.remove(l,u),p.dispose=o._noop,this._options&&this._options.onLastListenerRemove&&this._callbacks.isEmpty())this._options.onLastListenerRemove(this)},"dispose")};if(Array.isArray(c))c.push(p);return p};return this._event}fire(l){if(this._callbacks)this._callbacks.invoke.call(this._callbacks,l)}dispose(){if(this._callbacks)this._callbacks.dispose(),this._callbacks=void 0}};e.Emitter=s}}),kf=J({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/cancellation.js"(e){var t=e&&e.__createBinding||(Object.create?function(y,d,E,T){if(T===void 0)T=E;var v=Object.getOwnPropertyDescriptor(d,E);if(!v||("get"in v?!d.__esModule:v.writable||v.configurable))v={enumerable:!0,get:i(function(){return d[E]},"get")};Object.defineProperty(y,T,v)}:function(y,d,E,T){if(T===void 0)T=E;y[T]=d[E]}),r=e&&e.__setModuleDefault||(Object.create?function(y,d){Object.defineProperty(y,"default",{enumerable:!0,value:d})}:function(y,d){y.default=d}),n=e&&e.__importStar||function(){var y=i(function(d){return y=Object.getOwnPropertyNames||function(E){var T=[];for(var v in E)if(Object.prototype.hasOwnProperty.call(E,v))T[T.length]=v;return T},y(d)},"ownKeys");return function(d){if(d&&d.__esModule)return d;var E={};if(d!=null){for(var T=y(d),v=0;v<T.length;v++)if(T[v]!=="default")t(E,d,T[v])}return r(E,d),E}}(),a=e&&e.__importDefault||function(y){return y&&y.__esModule?y:{default:y}};Object.defineProperty(e,"__esModule",{value:!0}),e.CancellationTokenSource=e.CancellationToken=void 0;var s=a(sn()),o=n(Fi()),l=ji(),u;(function(y){y.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:l.Event.None}),y.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:l.Event.None});function d(E){let T=E;return T&&(T===y.None||T===y.Cancelled||o.boolean(T.isCancellationRequested)&&!!T.onCancellationRequested)}i(d,"is"),y.is=d})(u||(e.CancellationToken=u={}));var c=Object.freeze(function(y,d){let E=(0,s.default)().timer.setTimeout(y.bind(d),0);return{dispose(){E.dispose()}}}),p=class{static{i(this,"MutableToken")}_isCancelled=!1;_emitter;cancel(){if(!this._isCancelled){if(this._isCancelled=!0,this._emitter)this._emitter.fire(void 0),this.dispose()}}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){if(this._isCancelled)return c;if(!this._emitter)this._emitter=new l.Emitter;return this._emitter.event}dispose(){if(this._emitter)this._emitter.dispose(),this._emitter=void 0}},h=class{static{i(this,"CancellationTokenSource")}_token;get token(){if(!this._token)this._token=new p;return this._token}cancel(){if(!this._token)this._token=u.Cancelled;else this._token.cancel()}dispose(){if(!this._token)this._token=u.None;else if(this._token instanceof p)this._token.dispose()}};e.CancellationTokenSource=h}}),uA=J({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.SharedArrayReceiverStrategy=e.SharedArraySenderStrategy=void 0;var t=kf(),r;(function(l){l.Continue=0,l.Cancelled=1})(r||(r={}));var n=class{static{i(this,"SharedArraySenderStrategy")}buffers;constructor(){this.buffers=new Map}enableCancellation(l){if(l.id===null)return;let u=new SharedArrayBuffer(4),c=new Int32Array(u,0,1);c[0]=r.Continue,this.buffers.set(l.id,u),l.$cancellationData=u}async sendCancellation(l,u){let c=this.buffers.get(u);if(c===void 0)return;let p=new Int32Array(c,0,1);Atomics.store(p,0,r.Cancelled)}cleanup(l){this.buffers.delete(l)}dispose(){this.buffers.clear()}};e.SharedArraySenderStrategy=n;var a=class{static{i(this,"SharedArrayBufferCancellationToken")}data;constructor(l){this.data=new Int32Array(l,0,1)}get isCancellationRequested(){return Atomics.load(this.data,0)===r.Cancelled}get onCancellationRequested(){throw Error("Cancellation over SharedArrayBuffer doesn't support cancellation events")}},s=class{static{i(this,"SharedArrayBufferCancellationTokenSource")}token;constructor(l){this.token=new a(l)}cancel(){}dispose(){}},o=class{static{i(this,"SharedArrayReceiverStrategy")}kind="request";createCancellationTokenSource(l){let u=l.$cancellationData;if(u===void 0)return new t.CancellationTokenSource;return new s(u)}};e.SharedArrayReceiverStrategy=o}}),Dm=J({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/semaphore.js"(e){var t=e&&e.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(e,"__esModule",{value:!0}),e.Semaphore=void 0;var r=t(sn()),n=class{static{i(this,"Semaphore")}_capacity;_active;_waiting;constructor(a=1){if(a<=0)throw Error("Capacity must be greater than 0");this._capacity=a,this._active=0,this._waiting=[]}lock(a){return new Promise((s,o)=>{this._waiting.push({thunk:a,resolve:s,reject:o}),this.runNext()})}get active(){return this._active}runNext(){if(this._waiting.length===0||this._active===this._capacity)return;(0,r.default)().timer.setImmediate(()=>this.doRunNext())}doRunNext(){if(this._waiting.length===0||this._active===this._capacity)return;let a=this._waiting.shift();if(this._active++,this._active>this._capacity)throw Error("Too many thunks active");try{let s=a.thunk();if(s instanceof Promise)s.then((o)=>{this._active--,a.resolve(o),this.runNext()},(o)=>{this._active--,a.reject(o),this.runNext()});else this._active--,a.resolve(s),this.runNext()}catch(s){this._active--,a.reject(s),this.runNext()}}};e.Semaphore=n}}),cA=J({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/messageReader.js"(e){var t=e&&e.__createBinding||(Object.create?function(d,E,T,v){if(v===void 0)v=T;var R=Object.getOwnPropertyDescriptor(E,T);if(!R||("get"in R?!E.__esModule:R.writable||R.configurable))R={enumerable:!0,get:i(function(){return E[T]},"get")};Object.defineProperty(d,v,R)}:function(d,E,T,v){if(v===void 0)v=T;d[v]=E[T]}),r=e&&e.__setModuleDefault||(Object.create?function(d,E){Object.defineProperty(d,"default",{enumerable:!0,value:E})}:function(d,E){d.default=E}),n=e&&e.__importStar||function(){var d=i(function(E){return d=Object.getOwnPropertyNames||function(T){var v=[];for(var R in T)if(Object.prototype.hasOwnProperty.call(T,R))v[v.length]=R;return v},d(E)},"ownKeys");return function(E){if(E&&E.__esModule)return E;var T={};if(E!=null){for(var v=d(E),R=0;R<v.length;R++)if(v[R]!=="default")t(T,E,v[R])}return r(T,E),T}}(),a=e&&e.__importDefault||function(d){return d&&d.__esModule?d:{default:d}};Object.defineProperty(e,"__esModule",{value:!0}),e.ReadableStreamMessageReader=e.AbstractMessageReader=e.MessageReader=void 0;var s=a(sn()),o=n(Fi()),l=ji(),u=Dm(),c;(function(d){function E(T){let v=T;return v&&o.func(v.listen)&&o.func(v.dispose)&&o.func(v.onError)&&o.func(v.onClose)&&o.func(v.onPartialMessage)}i(E,"is"),d.is=E})(c||(e.MessageReader=c={}));var p=class{static{i(this,"AbstractMessageReader")}errorEmitter;closeEmitter;partialMessageEmitter;constructor(){this.errorEmitter=new l.Emitter,this.closeEmitter=new l.Emitter,this.partialMessageEmitter=new l.Emitter}dispose(){this.errorEmitter.dispose(),this.closeEmitter.dispose(),this.partialMessageEmitter.dispose()}get onError(){return this.errorEmitter.event}fireError(d){this.errorEmitter.fire(this.asError(d))}get onClose(){return this.closeEmitter.event}fireClose(){this.closeEmitter.fire(void 0)}get onPartialMessage(){return this.partialMessageEmitter.event}firePartialMessage(d){this.partialMessageEmitter.fire(d)}asError(d){if(d instanceof Error)return d;else return Error(`Reader received error. Reason: ${o.string(d.message)?d.message:"unknown"}`)}};e.AbstractMessageReader=p;var h;(function(d){function E(T){let v,R,P,S=new Map,D,x=new Map;if(T===void 0||typeof T==="string")v=T??"utf-8";else{if(v=T.charset??"utf-8",T.contentDecoder!==void 0)P=T.contentDecoder,S.set(P.name,P);if(T.contentDecoders!==void 0)for(let F of T.contentDecoders)S.set(F.name,F);if(T.contentTypeDecoder!==void 0)D=T.contentTypeDecoder,x.set(D.name,D);if(T.contentTypeDecoders!==void 0)for(let F of T.contentTypeDecoders)x.set(F.name,F)}if(D===void 0)D=(0,s.default)().applicationJson.decoder,x.set(D.name,D);return{charset:v,contentDecoder:P,contentDecoders:S,contentTypeDecoder:D,contentTypeDecoders:x}}i(E,"fromOptions"),d.fromOptions=E})(h||(h={}));var y=class extends p{static{i(this,"ReadableStreamMessageReader")}readable;options;callback;nextMessageLength;messageToken;buffer;partialMessageTimer;_partialMessageTimeout;readSemaphore;constructor(d,E){super();this.readable=d,this.options=h.fromOptions(E),this.buffer=(0,s.default)().messageBuffer.create(this.options.charset),this._partialMessageTimeout=1e4,this.nextMessageLength=-1,this.messageToken=0,this.readSemaphore=new u.Semaphore(1)}set partialMessageTimeout(d){this._partialMessageTimeout=d}get partialMessageTimeout(){return this._partialMessageTimeout}listen(d){this.nextMessageLength=-1,this.messageToken=0,this.partialMessageTimer=void 0,this.callback=d;let E=this.readable.onData((T)=>{this.onData(T)});return this.readable.onError((T)=>this.fireError(T)),this.readable.onClose(()=>this.fireClose()),E}onData(d){try{this.buffer.append(d);while(!0){if(this.nextMessageLength===-1){let T=this.buffer.tryReadHeaders(!0);if(!T)return;let v=T.get("content-length");if(!v){this.fireError(Error(`Header must provide a Content-Length property.
|
|
1
|
+
import{sa,_}from"./index.e35b4yh5.js";var rn={};sa(rn,{AbnfAlternation:()=>go,AbnfConcatenation:()=>vo,AbnfElement:()=>hi,AbnfGroup:()=>To,AbnfNumVal:()=>$o,AbnfOptionalGroup:()=>Ro,AbnfPrimary:()=>cr,AbnfRule:()=>yi,AbnfRuleName:()=>Ao,AbnfStringLiteral:()=>Eo,AbstractMermaidTokenBuilder:()=>ce,AbstractMermaidValueConverter:()=>Ie,Architecture:()=>ot,ArchitectureGrammarGeneratedModule:()=>Ml,Branch:()=>Xn,Commit:()=>mr,CommonTokenBuilder:()=>kR,CommonValueConverter:()=>Je,Cynefin:()=>Ht,CynefinGrammarGeneratedModule:()=>Dl,DomainBlock:()=>Jn,DomainItem:()=>xi,EbnfChoice:()=>Co,EbnfExceptionPostfix:()=>bo,EbnfGroup:()=>_o,EbnfNonTerminal:()=>So,EbnfOneOrMorePostfix:()=>wo,EbnfOptional:()=>Po,EbnfOptionalPostfix:()=>ko,EbnfPostfix:()=>Yr,EbnfPrimary:()=>Vt,EbnfRepetition:()=>Io,EbnfRule:()=>gi,EbnfSequence:()=>No,EbnfSpecial:()=>Oo,EbnfTerm:()=>vi,EbnfTerminal:()=>Mo,EbnfZeroOrMorePostfix:()=>Do,EmDataEntity:()=>fr,EmFrame:()=>Kt,EmptyFileSystem:()=>le,EventModel:()=>ht,EventModelingGeneratedModule:()=>Ll,GitGraph:()=>Yt,GitGraphGrammarGeneratedModule:()=>xl,Info:()=>Qr,InfoGrammarGeneratedModule:()=>Gl,Merge:()=>hr,MermaidGeneratedSharedModule:()=>ue,Packet:()=>yr,PacketBlock:()=>gr,PacketGrammarGeneratedModule:()=>Fl,PegAny:()=>Lo,PegGroup:()=>xo,PegIdentifier:()=>Go,PegLiteral:()=>Fo,PegOrderedChoice:()=>jo,PegPrefix:()=>Ti,PegPrimary:()=>Xr,PegRule:()=>$i,PegSequence:()=>zo,PegSuffix:()=>Ri,Pie:()=>Xt,PieGrammarGeneratedModule:()=>jl,PieSection:()=>Zn,Radar:()=>Wt,RadarGrammarGeneratedModule:()=>zl,Railroad:()=>vr,RailroadAbnf:()=>Tr,RailroadAbnfGrammarGeneratedModule:()=>Bl,RailroadChoiceExpr:()=>Bo,RailroadEbnf:()=>$r,RailroadEbnfGrammarGeneratedModule:()=>Ul,RailroadExpression:()=>yt,RailroadGrammarGeneratedModule:()=>Vl,RailroadNonTerminalExpr:()=>Uo,RailroadOneOrMoreExpr:()=>Vo,RailroadOptionalExpr:()=>Wo,RailroadPeg:()=>Rr,RailroadPegGrammarGeneratedModule:()=>Kl,RailroadRule:()=>Ai,RailroadSequenceExpr:()=>qo,RailroadSpecialExpr:()=>Ho,RailroadTerminalExpr:()=>el,RailroadZeroOrMoreExpr:()=>tl,Statement:()=>pr,Transition:()=>en,TreeNode:()=>dr,TreeView:()=>Jr,TreeViewGrammarGeneratedModule:()=>ql,Treemap:()=>Ar,TreemapGrammarGeneratedModule:()=>Wl,Wardley:()=>Oe,WardleyGrammarGeneratedModule:()=>Hl,__name:()=>i,createDefaultCoreModule:()=>ne,createDefaultSharedCoreModule:()=>ae,inject:()=>W,isArchitecture:()=>Vp,isBranch:()=>Kp,isCommit:()=>Wp,isCynefin:()=>qp,isDomainBlock:()=>Hp,isDomainItem:()=>Yp,isEmModelEntityType:()=>Xp,isEmResetFrame:()=>ka,isGitGraph:()=>Jp,isInfo:()=>Zp,isMerge:()=>Qp,isPacket:()=>ed,isPacketBlock:()=>td,isPie:()=>rd,isPieSection:()=>nd,isRailroad:()=>ad,isRailroadAbnf:()=>id,isRailroadEbnf:()=>sd,isRailroadPeg:()=>od,isTransition:()=>ld,isTreemap:()=>ud,isWardley:()=>cd});var{create:rA,defineProperty:Gi,getOwnPropertyDescriptor:nA,getOwnPropertyNames:Sf,getPrototypeOf:aA}=Object,iA=Object.prototype.hasOwnProperty,i=(e,t)=>Gi(e,"name",{value:t,configurable:!0}),sA=(e,t)=>function(){return e&&(t=(0,e[Sf(e)[0]])(e=0)),t},J=(e,t)=>function(){return t||(0,e[Sf(e)[0]])((t={exports:{}}).exports,t),t.exports},oA=(e,t)=>{for(var r in t)Gi(e,r,{get:t[r],enumerable:!0})},Nm=(e,t,r,n)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let a of Sf(t))if(!iA.call(e,a)&&a!==r)Gi(e,a,{get:()=>t[a],enumerable:!(n=nA(t,a))||n.enumerable})}return e},wf=(e,t,r)=>(r=e!=null?rA(aA(e)):{},Nm(t||!e||!e.__esModule?Gi(r,"default",{value:e,enumerable:!0}):r,e)),Pf=(e)=>Nm(Gi({},"__esModule",{value:!0}),e),Fi=J({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/is.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.boolean=t,e.string=r,e.number=n,e.error=a,e.func=s,e.array=o,e.stringArray=l;function t(u){return u===!0||u===!1}i(t,"boolean");function r(u){return typeof u==="string"||u instanceof String}i(r,"string");function n(u){return typeof u==="number"||u instanceof Number}i(n,"number");function a(u){return u instanceof Error}i(a,"error");function s(u){return typeof u==="function"}i(s,"func");function o(u){return Array.isArray(u)}i(o,"array");function l(u){return o(u)&&u.every((c)=>r(c))}i(l,"stringArray")}}),Om=J({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/messages.js"(e){var t=e&&e.__createBinding||(Object.create?function(A,g,C,O){if(O===void 0)O=C;var w=Object.getOwnPropertyDescriptor(g,C);if(!w||("get"in w?!g.__esModule:w.writable||w.configurable))w={enumerable:!0,get:i(function(){return g[C]},"get")};Object.defineProperty(A,O,w)}:function(A,g,C,O){if(O===void 0)O=C;A[O]=g[C]}),r=e&&e.__setModuleDefault||(Object.create?function(A,g){Object.defineProperty(A,"default",{enumerable:!0,value:g})}:function(A,g){A.default=g}),n=e&&e.__importStar||function(){var A=i(function(g){return A=Object.getOwnPropertyNames||function(C){var O=[];for(var w in C)if(Object.prototype.hasOwnProperty.call(C,w))O[O.length]=w;return O},A(g)},"ownKeys");return function(g){if(g&&g.__esModule)return g;var C={};if(g!=null){for(var O=A(g),w=0;w<O.length;w++)if(O[w]!=="default")t(C,g,O[w])}return r(C,g),C}}();Object.defineProperty(e,"__esModule",{value:!0}),e.Message=e.NotificationType9=e.NotificationType8=e.NotificationType7=e.NotificationType6=e.NotificationType5=e.NotificationType4=e.NotificationType3=e.NotificationType2=e.NotificationType1=e.NotificationType0=e.NotificationType=e.RequestType9=e.RequestType8=e.RequestType7=e.RequestType6=e.RequestType5=e.RequestType4=e.RequestType3=e.RequestType2=e.RequestType1=e.RequestType=e.RequestType0=e.AbstractMessageSignature=e.ParameterStructures=e.ResponseError=e.ErrorCodes=void 0;var a=n(Fi()),s;(function(A){A.ParseError=-32700,A.InvalidRequest=-32600,A.MethodNotFound=-32601,A.InvalidParams=-32602,A.InternalError=-32603,A.jsonrpcReservedErrorRangeStart=-32099,A.serverErrorStart=-32099,A.MessageWriteError=-32099,A.MessageReadError=-32098,A.PendingResponseRejected=-32097,A.ConnectionInactive=-32096,A.ServerNotInitialized=-32002,A.UnknownErrorCode=-32001,A.jsonrpcReservedErrorRangeEnd=-32000,A.serverErrorEnd=-32000})(s||(e.ErrorCodes=s={}));var o=class A extends Error{static{i(this,"ResponseError")}code;data;constructor(g,C,O){super(C);this.code=a.number(g)?g:s.UnknownErrorCode,this.data=O,Object.setPrototypeOf(this,A.prototype)}toJson(){let g={code:this.code,message:this.message};if(this.data!==void 0)g.data=this.data;return g}};e.ResponseError=o;var l=class A{static{i(this,"ParameterStructures")}kind;static auto=new A("auto");static byPosition=new A("byPosition");static byName=new A("byName");constructor(g){this.kind=g}static is(g){return g===A.auto||g===A.byName||g===A.byPosition}toString(){return this.kind}};e.ParameterStructures=l;var u=class{static{i(this,"AbstractMessageSignature")}method;numberOfParams;constructor(A,g){this.method=A,this.numberOfParams=g}get parameterStructures(){return l.auto}};e.AbstractMessageSignature=u;var c=class extends u{static{i(this,"RequestType0")}_;constructor(A){super(A,0)}};e.RequestType0=c;var p=class extends u{static{i(this,"RequestType")}_parameterStructures;_;constructor(A,g=l.auto){super(A,1);this._parameterStructures=g}get parameterStructures(){return this._parameterStructures}};e.RequestType=p;var h=class extends u{static{i(this,"RequestType1")}_parameterStructures;_;constructor(A,g=l.auto){super(A,1);this._parameterStructures=g}get parameterStructures(){return this._parameterStructures}};e.RequestType1=h;var y=class extends u{static{i(this,"RequestType2")}_;constructor(A){super(A,2)}};e.RequestType2=y;var d=class extends u{static{i(this,"RequestType3")}_;constructor(A){super(A,3)}};e.RequestType3=d;var E=class extends u{static{i(this,"RequestType4")}_;constructor(A){super(A,4)}};e.RequestType4=E;var T=class extends u{static{i(this,"RequestType5")}_;constructor(A){super(A,5)}};e.RequestType5=T;var v=class extends u{static{i(this,"RequestType6")}_;constructor(A){super(A,6)}};e.RequestType6=v;var R=class extends u{static{i(this,"RequestType7")}_;constructor(A){super(A,7)}};e.RequestType7=R;var P=class extends u{static{i(this,"RequestType8")}_;constructor(A){super(A,8)}};e.RequestType8=P;var S=class extends u{static{i(this,"RequestType9")}_;constructor(A){super(A,9)}};e.RequestType9=S;var D=class extends u{static{i(this,"NotificationType")}_parameterStructures;_;constructor(A,g=l.auto){super(A,1);this._parameterStructures=g}get parameterStructures(){return this._parameterStructures}};e.NotificationType=D;var x=class extends u{static{i(this,"NotificationType0")}_;constructor(A){super(A,0)}};e.NotificationType0=x;var F=class extends u{static{i(this,"NotificationType1")}_parameterStructures;_;constructor(A,g=l.auto){super(A,1);this._parameterStructures=g}get parameterStructures(){return this._parameterStructures}};e.NotificationType1=F;var V=class extends u{static{i(this,"NotificationType2")}_;constructor(A){super(A,2)}};e.NotificationType2=V;var ee=class extends u{static{i(this,"NotificationType3")}_;constructor(A){super(A,3)}};e.NotificationType3=ee;var fe=class extends u{static{i(this,"NotificationType4")}_;constructor(A){super(A,4)}};e.NotificationType4=fe;var Z=class extends u{static{i(this,"NotificationType5")}_;constructor(A){super(A,5)}};e.NotificationType5=Z;var k=class extends u{static{i(this,"NotificationType6")}_;constructor(A){super(A,6)}};e.NotificationType6=k;var L=class extends u{static{i(this,"NotificationType7")}_;constructor(A){super(A,7)}};e.NotificationType7=L;var j=class extends u{static{i(this,"NotificationType8")}_;constructor(A){super(A,8)}};e.NotificationType8=j;var z=class extends u{static{i(this,"NotificationType9")}_;constructor(A){super(A,9)}};e.NotificationType9=z;var N;(function(A){function g(w){let M=w;return M&&a.string(M.method)&&(a.string(M.id)||a.number(M.id))}i(g,"isRequest"),A.isRequest=g;function C(w){let M=w;return M&&a.string(M.method)&&w.id===void 0}i(C,"isNotification"),A.isNotification=C;function O(w){let M=w;return M&&(M.result!==void 0||!!M.error)&&(a.string(M.id)||a.number(M.id)||M.id===null)}i(O,"isResponse"),A.isResponse=O})(N||(e.Message=N={}))}}),Mm=J({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/linkedMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.LRUCache=e.LinkedMap=e.Touch=void 0;var t;(function(a){a.None=0,a.First=1,a.AsOld=a.First,a.Last=2,a.AsNew=a.Last})(t||(e.Touch=t={}));var r=class{static{i(this,"LinkedMap")}[Symbol.toStringTag]="LinkedMap";_map;_head;_tail;_size;_state;constructor(){this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){return this._head?.value}get last(){return this._tail?.value}before(a){let s=this._map.get(a);return s?s.previous?.value:void 0}after(a){let s=this._map.get(a);return s?s.next?.value:void 0}has(a){return this._map.has(a)}get(a,s=t.None){let o=this._map.get(a);if(!o)return;if(s!==t.None)this.touch(o,s);return o.value}set(a,s,o=t.None){let l=this._map.get(a);if(l){if(l.value=s,o!==t.None)this.touch(l,o)}else{switch(l={key:a,value:s,next:void 0,previous:void 0},o){case t.None:this.addItemLast(l);break;case t.First:this.addItemFirst(l);break;case t.Last:this.addItemLast(l);break;default:this.addItemLast(l);break}this._map.set(a,l),this._size++}return this}delete(a){return!!this.remove(a)}remove(a){let s=this._map.get(a);if(!s)return;return this._map.delete(a),this.removeItem(s),this._size--,s.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw Error("Invalid list");let a=this._head;return this._map.delete(a.key),this.removeItem(a),this._size--,a.value}forEach(a,s){let o=this._state,l=this._head;while(l){if(s)a.bind(s)(l.value,l.key,this);else a(l.value,l.key,this);if(this._state!==o)throw Error("LinkedMap got modified during iteration.");l=l.next}}keys(){let a=this._state,s=this._head,o={[Symbol.iterator]:()=>o,next:i(()=>{if(this._state!==a)throw Error("LinkedMap got modified during iteration.");if(s){let l={value:s.key,done:!1};return s=s.next,l}else return{value:void 0,done:!0}},"next")};return o}values(){let a=this._state,s=this._head,o={[Symbol.iterator]:()=>o,next:i(()=>{if(this._state!==a)throw Error("LinkedMap got modified during iteration.");if(s){let l={value:s.value,done:!1};return s=s.next,l}else return{value:void 0,done:!0}},"next")};return o}entries(){let a=this._state,s=this._head,o={[Symbol.iterator]:()=>o,next:i(()=>{if(this._state!==a)throw Error("LinkedMap got modified during iteration.");if(s){let l={value:[s.key,s.value],done:!1};return s=s.next,l}else return{value:void 0,done:!0}},"next")};return o}[Symbol.iterator](){return this.entries()}trimOld(a){if(a>=this.size)return;if(a===0){this.clear();return}let s=this._head,o=this.size;while(s&&o>a)this._map.delete(s.key),s=s.next,o--;if(this._head=s,this._size=o,s)s.previous=void 0;this._state++}addItemFirst(a){if(!this._head&&!this._tail)this._tail=a;else if(!this._head)throw Error("Invalid list");else a.next=this._head,this._head.previous=a;this._head=a,this._state++}addItemLast(a){if(!this._head&&!this._tail)this._head=a;else if(!this._tail)throw Error("Invalid list");else a.previous=this._tail,this._tail.next=a;this._tail=a,this._state++}removeItem(a){if(a===this._head&&a===this._tail)this._head=void 0,this._tail=void 0;else if(a===this._head){if(!a.next)throw Error("Invalid list");a.next.previous=void 0,this._head=a.next}else if(a===this._tail){if(!a.previous)throw Error("Invalid list");a.previous.next=void 0,this._tail=a.previous}else{let{next:s,previous:o}=a;if(!s||!o)throw Error("Invalid list");s.previous=o,o.next=s}a.next=void 0,a.previous=void 0,this._state++}touch(a,s){if(!this._head||!this._tail)throw Error("Invalid list");if(s!==t.First&&s!==t.Last)return;if(s===t.First){if(a===this._head)return;let{next:o,previous:l}=a;if(a===this._tail)l.next=void 0,this._tail=l;else o.previous=l,l.next=o;a.previous=void 0,a.next=this._head,this._head.previous=a,this._head=a,this._state++}else if(s===t.Last){if(a===this._tail)return;let{next:o,previous:l}=a;if(a===this._head)o.previous=void 0,this._head=o;else o.previous=l,l.next=o;a.next=void 0,a.previous=this._tail,this._tail.next=a,this._tail=a,this._state++}}toJSON(){let a=[];return this.forEach((s,o)=>{a.push([o,s])}),a}fromJSON(a){this.clear();for(let[s,o]of a)this.set(s,o)}};e.LinkedMap=r;var n=class extends r{static{i(this,"LRUCache")}_limit;_ratio;constructor(a,s=1){super();this._limit=a,this._ratio=Math.min(Math.max(0,s),1)}get limit(){return this._limit}set limit(a){this._limit=a,this.checkTrim()}get ratio(){return this._ratio}set ratio(a){this._ratio=Math.min(Math.max(0,a),1),this.checkTrim()}get(a,s=t.AsNew){return super.get(a,s)}peek(a){return super.get(a,t.None)}set(a,s){return super.set(a,s,t.Last),this.checkTrim(),this}checkTrim(){if(this.size>this._limit)this.trimOld(Math.round(this._limit*this._ratio))}};e.LRUCache=n}}),lA=J({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/disposable.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Disposable=void 0;var t;(function(r){function n(a){return{dispose:a}}i(n,"create"),r.create=n})(t||(e.Disposable=t={}))}}),sn=J({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/ral.js"(e){Object.defineProperty(e,"__esModule",{value:!0});var t;function r(){if(t===void 0)throw Error("No runtime abstraction layer installed");return t}i(r,"RAL"),function(n){function a(s){if(s===void 0)throw Error("No runtime abstraction layer provided");t=s}i(a,"install"),n.install=a}(r||(r={})),e.default=r}}),ji=J({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/events.js"(e){var t=e&&e.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(e,"__esModule",{value:!0}),e.Emitter=e.Event=void 0;var r=t(sn()),n;(function(o){let l={dispose(){}};o.None=function(){return l}})(n||(e.Event=n={}));var a=class{static{i(this,"CallbackList")}_callbacks;_contexts;add(o,l=null,u){if(!this._callbacks)this._callbacks=[],this._contexts=[];if(this._callbacks.push(o),this._contexts.push(l),Array.isArray(u))u.push({dispose:i(()=>this.remove(o,l),"dispose")})}remove(o,l=null){if(!this._callbacks)return;let u=!1;for(let c=0,p=this._callbacks.length;c<p;c++)if(this._callbacks[c]===o)if(this._contexts[c]===l){this._callbacks.splice(c,1),this._contexts.splice(c,1);return}else u=!0;if(u)throw Error("When adding a listener with a context, you should remove it with the same context")}invoke(...o){if(!this._callbacks)return[];let l=[],u=this._callbacks.slice(0),c=this._contexts.slice(0);for(let p=0,h=u.length;p<h;p++)try{l.push(u[p].apply(c[p],o))}catch(y){(0,r.default)().console.error(y)}return l}isEmpty(){return!this._callbacks||this._callbacks.length===0}dispose(){this._callbacks=void 0,this._contexts=void 0}},s=class o{static{i(this,"Emitter")}_options;static _noop=i(function(){},"_noop");_event;_callbacks;constructor(l){this._options=l}get event(){if(!this._event)this._event=(l,u,c)=>{if(!this._callbacks)this._callbacks=new a;if(this._options&&this._options.onFirstListenerAdd&&this._callbacks.isEmpty())this._options.onFirstListenerAdd(this);this._callbacks.add(l,u);let p={dispose:i(()=>{if(!this._callbacks)return;if(this._callbacks.remove(l,u),p.dispose=o._noop,this._options&&this._options.onLastListenerRemove&&this._callbacks.isEmpty())this._options.onLastListenerRemove(this)},"dispose")};if(Array.isArray(c))c.push(p);return p};return this._event}fire(l){if(this._callbacks)this._callbacks.invoke.call(this._callbacks,l)}dispose(){if(this._callbacks)this._callbacks.dispose(),this._callbacks=void 0}};e.Emitter=s}}),kf=J({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/cancellation.js"(e){var t=e&&e.__createBinding||(Object.create?function(y,d,E,T){if(T===void 0)T=E;var v=Object.getOwnPropertyDescriptor(d,E);if(!v||("get"in v?!d.__esModule:v.writable||v.configurable))v={enumerable:!0,get:i(function(){return d[E]},"get")};Object.defineProperty(y,T,v)}:function(y,d,E,T){if(T===void 0)T=E;y[T]=d[E]}),r=e&&e.__setModuleDefault||(Object.create?function(y,d){Object.defineProperty(y,"default",{enumerable:!0,value:d})}:function(y,d){y.default=d}),n=e&&e.__importStar||function(){var y=i(function(d){return y=Object.getOwnPropertyNames||function(E){var T=[];for(var v in E)if(Object.prototype.hasOwnProperty.call(E,v))T[T.length]=v;return T},y(d)},"ownKeys");return function(d){if(d&&d.__esModule)return d;var E={};if(d!=null){for(var T=y(d),v=0;v<T.length;v++)if(T[v]!=="default")t(E,d,T[v])}return r(E,d),E}}(),a=e&&e.__importDefault||function(y){return y&&y.__esModule?y:{default:y}};Object.defineProperty(e,"__esModule",{value:!0}),e.CancellationTokenSource=e.CancellationToken=void 0;var s=a(sn()),o=n(Fi()),l=ji(),u;(function(y){y.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:l.Event.None}),y.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:l.Event.None});function d(E){let T=E;return T&&(T===y.None||T===y.Cancelled||o.boolean(T.isCancellationRequested)&&!!T.onCancellationRequested)}i(d,"is"),y.is=d})(u||(e.CancellationToken=u={}));var c=Object.freeze(function(y,d){let E=(0,s.default)().timer.setTimeout(y.bind(d),0);return{dispose(){E.dispose()}}}),p=class{static{i(this,"MutableToken")}_isCancelled=!1;_emitter;cancel(){if(!this._isCancelled){if(this._isCancelled=!0,this._emitter)this._emitter.fire(void 0),this.dispose()}}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){if(this._isCancelled)return c;if(!this._emitter)this._emitter=new l.Emitter;return this._emitter.event}dispose(){if(this._emitter)this._emitter.dispose(),this._emitter=void 0}},h=class{static{i(this,"CancellationTokenSource")}_token;get token(){if(!this._token)this._token=new p;return this._token}cancel(){if(!this._token)this._token=u.Cancelled;else this._token.cancel()}dispose(){if(!this._token)this._token=u.None;else if(this._token instanceof p)this._token.dispose()}};e.CancellationTokenSource=h}}),uA=J({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.SharedArrayReceiverStrategy=e.SharedArraySenderStrategy=void 0;var t=kf(),r;(function(l){l.Continue=0,l.Cancelled=1})(r||(r={}));var n=class{static{i(this,"SharedArraySenderStrategy")}buffers;constructor(){this.buffers=new Map}enableCancellation(l){if(l.id===null)return;let u=new SharedArrayBuffer(4),c=new Int32Array(u,0,1);c[0]=r.Continue,this.buffers.set(l.id,u),l.$cancellationData=u}async sendCancellation(l,u){let c=this.buffers.get(u);if(c===void 0)return;let p=new Int32Array(c,0,1);Atomics.store(p,0,r.Cancelled)}cleanup(l){this.buffers.delete(l)}dispose(){this.buffers.clear()}};e.SharedArraySenderStrategy=n;var a=class{static{i(this,"SharedArrayBufferCancellationToken")}data;constructor(l){this.data=new Int32Array(l,0,1)}get isCancellationRequested(){return Atomics.load(this.data,0)===r.Cancelled}get onCancellationRequested(){throw Error("Cancellation over SharedArrayBuffer doesn't support cancellation events")}},s=class{static{i(this,"SharedArrayBufferCancellationTokenSource")}token;constructor(l){this.token=new a(l)}cancel(){}dispose(){}},o=class{static{i(this,"SharedArrayReceiverStrategy")}kind="request";createCancellationTokenSource(l){let u=l.$cancellationData;if(u===void 0)return new t.CancellationTokenSource;return new s(u)}};e.SharedArrayReceiverStrategy=o}}),Dm=J({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/semaphore.js"(e){var t=e&&e.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(e,"__esModule",{value:!0}),e.Semaphore=void 0;var r=t(sn()),n=class{static{i(this,"Semaphore")}_capacity;_active;_waiting;constructor(a=1){if(a<=0)throw Error("Capacity must be greater than 0");this._capacity=a,this._active=0,this._waiting=[]}lock(a){return new Promise((s,o)=>{this._waiting.push({thunk:a,resolve:s,reject:o}),this.runNext()})}get active(){return this._active}runNext(){if(this._waiting.length===0||this._active===this._capacity)return;(0,r.default)().timer.setImmediate(()=>this.doRunNext())}doRunNext(){if(this._waiting.length===0||this._active===this._capacity)return;let a=this._waiting.shift();if(this._active++,this._active>this._capacity)throw Error("Too many thunks active");try{let s=a.thunk();if(s instanceof Promise)s.then((o)=>{this._active--,a.resolve(o),this.runNext()},(o)=>{this._active--,a.reject(o),this.runNext()});else this._active--,a.resolve(s),this.runNext()}catch(s){this._active--,a.reject(s),this.runNext()}}};e.Semaphore=n}}),cA=J({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/messageReader.js"(e){var t=e&&e.__createBinding||(Object.create?function(d,E,T,v){if(v===void 0)v=T;var R=Object.getOwnPropertyDescriptor(E,T);if(!R||("get"in R?!E.__esModule:R.writable||R.configurable))R={enumerable:!0,get:i(function(){return E[T]},"get")};Object.defineProperty(d,v,R)}:function(d,E,T,v){if(v===void 0)v=T;d[v]=E[T]}),r=e&&e.__setModuleDefault||(Object.create?function(d,E){Object.defineProperty(d,"default",{enumerable:!0,value:E})}:function(d,E){d.default=E}),n=e&&e.__importStar||function(){var d=i(function(E){return d=Object.getOwnPropertyNames||function(T){var v=[];for(var R in T)if(Object.prototype.hasOwnProperty.call(T,R))v[v.length]=R;return v},d(E)},"ownKeys");return function(E){if(E&&E.__esModule)return E;var T={};if(E!=null){for(var v=d(E),R=0;R<v.length;R++)if(v[R]!=="default")t(T,E,v[R])}return r(T,E),T}}(),a=e&&e.__importDefault||function(d){return d&&d.__esModule?d:{default:d}};Object.defineProperty(e,"__esModule",{value:!0}),e.ReadableStreamMessageReader=e.AbstractMessageReader=e.MessageReader=void 0;var s=a(sn()),o=n(Fi()),l=ji(),u=Dm(),c;(function(d){function E(T){let v=T;return v&&o.func(v.listen)&&o.func(v.dispose)&&o.func(v.onError)&&o.func(v.onClose)&&o.func(v.onPartialMessage)}i(E,"is"),d.is=E})(c||(e.MessageReader=c={}));var p=class{static{i(this,"AbstractMessageReader")}errorEmitter;closeEmitter;partialMessageEmitter;constructor(){this.errorEmitter=new l.Emitter,this.closeEmitter=new l.Emitter,this.partialMessageEmitter=new l.Emitter}dispose(){this.errorEmitter.dispose(),this.closeEmitter.dispose(),this.partialMessageEmitter.dispose()}get onError(){return this.errorEmitter.event}fireError(d){this.errorEmitter.fire(this.asError(d))}get onClose(){return this.closeEmitter.event}fireClose(){this.closeEmitter.fire(void 0)}get onPartialMessage(){return this.partialMessageEmitter.event}firePartialMessage(d){this.partialMessageEmitter.fire(d)}asError(d){if(d instanceof Error)return d;else return Error(`Reader received error. Reason: ${o.string(d.message)?d.message:"unknown"}`)}};e.AbstractMessageReader=p;var h;(function(d){function E(T){let v,R,P,S=new Map,D,x=new Map;if(T===void 0||typeof T==="string")v=T??"utf-8";else{if(v=T.charset??"utf-8",T.contentDecoder!==void 0)P=T.contentDecoder,S.set(P.name,P);if(T.contentDecoders!==void 0)for(let F of T.contentDecoders)S.set(F.name,F);if(T.contentTypeDecoder!==void 0)D=T.contentTypeDecoder,x.set(D.name,D);if(T.contentTypeDecoders!==void 0)for(let F of T.contentTypeDecoders)x.set(F.name,F)}if(D===void 0)D=(0,s.default)().applicationJson.decoder,x.set(D.name,D);return{charset:v,contentDecoder:P,contentDecoders:S,contentTypeDecoder:D,contentTypeDecoders:x}}i(E,"fromOptions"),d.fromOptions=E})(h||(h={}));var y=class extends p{static{i(this,"ReadableStreamMessageReader")}readable;options;callback;nextMessageLength;messageToken;buffer;partialMessageTimer;_partialMessageTimeout;readSemaphore;constructor(d,E){super();this.readable=d,this.options=h.fromOptions(E),this.buffer=(0,s.default)().messageBuffer.create(this.options.charset),this._partialMessageTimeout=1e4,this.nextMessageLength=-1,this.messageToken=0,this.readSemaphore=new u.Semaphore(1)}set partialMessageTimeout(d){this._partialMessageTimeout=d}get partialMessageTimeout(){return this._partialMessageTimeout}listen(d){this.nextMessageLength=-1,this.messageToken=0,this.partialMessageTimer=void 0,this.callback=d;let E=this.readable.onData((T)=>{this.onData(T)});return this.readable.onError((T)=>this.fireError(T)),this.readable.onClose(()=>this.fireClose()),E}onData(d){try{this.buffer.append(d);while(!0){if(this.nextMessageLength===-1){let T=this.buffer.tryReadHeaders(!0);if(!T)return;let v=T.get("content-length");if(!v){this.fireError(Error(`Header must provide a Content-Length property.
|
|
2
2
|
${JSON.stringify(Object.fromEntries(T))}`));return}let R=parseInt(v);if(isNaN(R)){this.fireError(Error(`Content-Length value must be a number. Got ${v}`));return}this.nextMessageLength=R}let E=this.buffer.tryReadBody(this.nextMessageLength);if(E===void 0){this.setPartialMessageTimer();return}this.clearPartialMessageTimer(),this.nextMessageLength=-1,this.readSemaphore.lock(async()=>{let T=this.options.contentDecoder!==void 0?await this.options.contentDecoder.decode(E):E,v=await this.options.contentTypeDecoder.decode(T,this.options);this.callback(v)}).catch((T)=>{this.fireError(T)})}}catch(E){this.fireError(E)}}clearPartialMessageTimer(){if(this.partialMessageTimer)this.partialMessageTimer.dispose(),this.partialMessageTimer=void 0}setPartialMessageTimer(){if(this.clearPartialMessageTimer(),this._partialMessageTimeout<=0)return;this.partialMessageTimer=(0,s.default)().timer.setTimeout((d,E)=>{if(this.partialMessageTimer=void 0,d===this.messageToken)this.firePartialMessage({messageToken:d,waitingTime:E}),this.setPartialMessageTimer()},this._partialMessageTimeout,this.messageToken,this._partialMessageTimeout)}};e.ReadableStreamMessageReader=y}}),fA=J({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/messageWriter.js"(e){var t=e&&e.__createBinding||(Object.create?function(T,v,R,P){if(P===void 0)P=R;var S=Object.getOwnPropertyDescriptor(v,R);if(!S||("get"in S?!v.__esModule:S.writable||S.configurable))S={enumerable:!0,get:i(function(){return v[R]},"get")};Object.defineProperty(T,P,S)}:function(T,v,R,P){if(P===void 0)P=R;T[P]=v[R]}),r=e&&e.__setModuleDefault||(Object.create?function(T,v){Object.defineProperty(T,"default",{enumerable:!0,value:v})}:function(T,v){T.default=v}),n=e&&e.__importStar||function(){var T=i(function(v){return T=Object.getOwnPropertyNames||function(R){var P=[];for(var S in R)if(Object.prototype.hasOwnProperty.call(R,S))P[P.length]=S;return P},T(v)},"ownKeys");return function(v){if(v&&v.__esModule)return v;var R={};if(v!=null){for(var P=T(v),S=0;S<P.length;S++)if(P[S]!=="default")t(R,v,P[S])}return r(R,v),R}}(),a=e&&e.__importDefault||function(T){return T&&T.__esModule?T:{default:T}};Object.defineProperty(e,"__esModule",{value:!0}),e.WriteableStreamMessageWriter=e.AbstractMessageWriter=e.MessageWriter=void 0;var s=a(sn()),o=n(Fi()),l=Dm(),u=ji(),c="Content-Length: ",p=`\r
|
|
3
3
|
`,h;(function(T){function v(R){let P=R;return P&&o.func(P.dispose)&&o.func(P.onClose)&&o.func(P.onError)&&o.func(P.write)}i(v,"is"),T.is=v})(h||(e.MessageWriter=h={}));var y=class{static{i(this,"AbstractMessageWriter")}errorEmitter;closeEmitter;constructor(){this.errorEmitter=new u.Emitter,this.closeEmitter=new u.Emitter}dispose(){this.errorEmitter.dispose(),this.closeEmitter.dispose()}get onError(){return this.errorEmitter.event}fireError(T,v,R){this.errorEmitter.fire([this.asError(T),v,R])}get onClose(){return this.closeEmitter.event}fireClose(){this.closeEmitter.fire(void 0)}asError(T){if(T instanceof Error)return T;else return Error(`Writer received error. Reason: ${o.string(T.message)?T.message:"unknown"}`)}};e.AbstractMessageWriter=y;var d;(function(T){function v(R){if(R===void 0||typeof R==="string")return{charset:R??"utf-8",contentTypeEncoder:(0,s.default)().applicationJson.encoder};else return{charset:R.charset??"utf-8",contentEncoder:R.contentEncoder,contentTypeEncoder:R.contentTypeEncoder??(0,s.default)().applicationJson.encoder}}i(v,"fromOptions"),T.fromOptions=v})(d||(d={}));var E=class extends y{static{i(this,"WriteableStreamMessageWriter")}writable;options;errorCount;writeSemaphore;constructor(T,v){super();this.writable=T,this.options=d.fromOptions(v),this.errorCount=0,this.writeSemaphore=new l.Semaphore(1),this.writable.onError((R)=>this.fireError(R)),this.writable.onClose(()=>this.fireClose())}async write(T){return this.writeSemaphore.lock(async()=>this.options.contentTypeEncoder.encode(T,this.options).then((R)=>{if(this.options.contentEncoder!==void 0)return this.options.contentEncoder.encode(R);else return R}).then((R)=>{let P=[];return P.push(c,R.byteLength.toString(),p),P.push(p),this.doWrite(T,P,R)},(R)=>{throw this.fireError(R),R}))}async doWrite(T,v,R){try{return await this.writable.write(v.join(""),"ascii"),this.writable.write(R)}catch(P){return this.handleError(P,T),Promise.reject(P)}}handleError(T,v){this.errorCount++,this.fireError(T,v,this.errorCount)}end(){this.writable.end()}};e.WriteableStreamMessageWriter=E}}),pA=J({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/messageBuffer.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.AbstractMessageBuffer=void 0;var t=13,r=10,n=`\r
|
|
4
4
|
`,a=class{static{i(this,"AbstractMessageBuffer")}_encoding;_chunks;_totalLength;constructor(s="utf-8"){this._encoding=s,this._chunks=[],this._totalLength=0}get encoding(){return this._encoding}append(s){let o=typeof s==="string"?this.fromString(s,this._encoding):s;this._chunks.push(o),this._totalLength+=o.byteLength}tryReadHeaders(s=!1){if(this._chunks.length===0)return;let o=0,l=0,u=0,c=0;e:while(l<this._chunks.length){let d=this._chunks[l];u=0;while(u<d.length){switch(d[u]){case t:switch(o){case 0:o=1;break;case 2:o=3;break;default:o=0}break;case r:switch(o){case 1:o=2;break;case 3:o=4,u++;break e;default:o=0}break;default:o=0}u++}c+=d.byteLength,l++}if(o!==4)return;let p=this._read(c+u),h=new Map,y=this.toString(p,"ascii").split(n);if(y.length<2)return h;for(let d=0;d<y.length-2;d++){let E=y[d],T=E.indexOf(":");if(T===-1)throw Error(`Message header must separate key and value using ':'
|
|
@@ -136,7 +136,7 @@ ${t}`;if(this.inline)return`{${n}}`;else return n}};function bR(e,t,r){if(e==="l
|
|
|
136
136
|
`);return}},Je=class extends Ie{static{i(this,"CommonValueConverter")}runCustomConverter(e,t,r){return}},ce=class extends aR{static{i(this,"AbstractMermaidTokenBuilder")}constructor(e){super();this.keywords=new Set(e)}buildKeywordTokens(e,t,r){let n=super.buildKeywordTokens(e,t,r);return n.forEach((a)=>{if(this.keywords.has(a.name)&&a.PATTERN!==void 0)a.PATTERN=new RegExp(a.PATTERN.toString()+"(?:(?=%%)|(?!\\S))")}),n}},kR=class extends ce{static{i(this,"CommonTokenBuilder")}};var dP=class extends ce{static{i(this,"RadarTokenBuilder")}constructor(){super(["radar-beta"])}},IR={parser:{TokenBuilder:i(()=>new dP,"TokenBuilder"),ValueConverter:i(()=>new Je,"ValueConverter")}};function Ko(e=le){let t=W(ae(e),ue),r=W(ne({shared:t}),zl,IR);return t.ServiceRegistry.register(r),{shared:t,Radar:r}}i(Ko,"createRadarServices");var mP=class extends ce{static{i(this,"RailroadTokenBuilder")}constructor(){super(["railroad-beta"])}},NR=i((e)=>{let t=e.slice(1,-1),r="";for(let n=0;n<t.length;n++){let a=t[n];if(a==="\\"&&n+1<t.length){n++;let s=t[n];switch(s){case"n":r+=`
|
|
137
137
|
`;break;case"r":r+="\r";break;case"t":r+="\t";break;default:r+=s}continue}r+=a}return r},"decodeEscapedString"),hP=class extends Ie{static{i(this,"RailroadValueConverter")}runConverter(e,t,r){let n=super.runConverter(e,t,r);if(e.name==="TITLE"&&typeof n==="string"){let a=n.trim();if(a.startsWith('"')&&a.endsWith('"')||a.startsWith("'")&&a.endsWith("'"))return NR(a)}return n}runCustomConverter(e,t,r){if(e.name==="RR_STRING")return NR(t);return}},OR={parser:{TokenBuilder:i(()=>new mP,"TokenBuilder"),ValueConverter:i(()=>new hP,"ValueConverter")}};function Pn(e=le){let t=W(ae(e),ue),r=W(ne({shared:t}),Vl,OR);return t.ServiceRegistry.register(r),{shared:t,Railroad:r}}i(Pn,"createRailroadServices");var yP=class extends ce{static{i(this,"RailroadEbnfTokenBuilder")}constructor(){super(["railroad-ebnf-beta"])}},MR=i((e)=>{let t=e.slice(1,-1),r="";for(let n=0;n<t.length;n++){let a=t[n];if(a==="\\"&&n+1<t.length){n++;let s=t[n];switch(s){case"n":r+=`
|
|
138
138
|
`;break;case"r":r+="\r";break;case"t":r+="\t";break;default:r+=s}continue}r+=a}return r},"decodeEscapedString"),gP=class extends Ie{static{i(this,"RailroadEbnfValueConverter")}runConverter(e,t,r){let n=super.runConverter(e,t,r);if(e.name==="TITLE"&&typeof n==="string"){let a=n.trim();if(a.startsWith('"')&&a.endsWith('"')||a.startsWith("'")&&a.endsWith("'"))return MR(a)}return n}runCustomConverter(e,t,r){if(e.name==="EBNF_STRING")return MR(t);if(e.name==="EBNF_SPECIAL_SEQUENCE")return t.slice(1,-1).trim();return}},DR={parser:{TokenBuilder:i(()=>new yP,"TokenBuilder"),ValueConverter:i(()=>new gP,"ValueConverter")}};function Bn(e=le){let t=W(ae(e),ue),r=W(ne({shared:t}),Ul,DR);return t.ServiceRegistry.register(r),{shared:t,RailroadEbnf:r}}i(Bn,"createRailroadEbnfServices");var vP=class extends ce{static{i(this,"RailroadAbnfTokenBuilder")}constructor(){super(["railroad-abnf-beta"])}},TP=class extends Ie{static{i(this,"RailroadAbnfValueConverter")}runConverter(e,t,r){let n=super.runConverter(e,t,r);if(e.name==="TITLE"&&typeof n==="string"){let a=n.trim();if(a.startsWith('"')&&a.endsWith('"')||a.startsWith("'")&&a.endsWith("'"))return a.slice(1,-1)}return n}runCustomConverter(e,t,r){if(e.name==="ABNF_STRING")return t.slice(1,-1);return}},LR={parser:{TokenBuilder:i(()=>new vP,"TokenBuilder"),ValueConverter:i(()=>new TP,"ValueConverter")}};function Fn(e=le){let t=W(ae(e),ue),r=W(ne({shared:t}),Bl,LR);return t.ServiceRegistry.register(r),{shared:t,RailroadAbnf:r}}i(Fn,"createRailroadAbnfServices");var $P=class extends ce{static{i(this,"RailroadPegTokenBuilder")}constructor(){super(["railroad-peg-beta"])}},xR=i((e)=>{let t=e.slice(1,-1),r="";for(let n=0;n<t.length;n++){let a=t[n];if(a==="\\"&&n+1<t.length){n++;let s=t[n];switch(s){case"n":r+=`
|
|
139
|
-
`;break;case"r":r+="\r";break;case"t":r+="\t";break;default:r+=s}continue}r+=a}return r},"decodeEscapedString"),RP=class extends Ie{static{i(this,"RailroadPegValueConverter")}runConverter(e,t,r){let n=super.runConverter(e,t,r);if(e.name==="TITLE"&&typeof n==="string"){let a=n.trim();if(a.startsWith('"')&&a.endsWith('"')||a.startsWith("'")&&a.endsWith("'"))return xR(a)}return n}runCustomConverter(e,t,r){if(e.name==="PEG_STRING")return xR(t);return}},GR={parser:{TokenBuilder:i(()=>new $P,"TokenBuilder"),ValueConverter:i(()=>new RP,"ValueConverter")}};function $n(e=le){let t=W(ae(e),ue),r=W(ne({shared:t}),Kl,GR);return t.ServiceRegistry.register(r),{shared:t,RailroadPeg:r}}i($n,"createRailroadPegServices");var AP=class extends ce{static{i(this,"TreemapTokenBuilder")}constructor(){super(["treemap"])}},EP=/classDef\s+([A-Z_a-z]\w+)(?:\s+([^\n\r;]*))?;?/,CP=class extends Ie{static{i(this,"TreemapValueConverter")}runCustomConverter(e,t,r){if(e.name==="NUMBER2")return parseFloat(t.replace(/,/g,""));else if(e.name==="SEPARATOR")return t.substring(1,t.length-1);else if(e.name==="STRING2")return t.substring(1,t.length-1);else if(e.name==="INDENTATION")return t.length;else if(e.name==="ClassDef"){if(typeof t!=="string")return t;let n=EP.exec(t);if(n)return{$type:"ClassDefStatement",className:n[1],styleText:n[2]||void 0}}return}};function FR(e){let t=e.validation.TreemapValidator,r=e.validation.ValidationRegistry;if(r){let n={Treemap:t.checkSingleRoot.bind(t)};r.register(n,t)}}i(FR,"registerValidationChecks");var bP=class{static{i(this,"TreemapValidator")}checkSingleRoot(e,t){let r;for(let n of e.TreemapRows){if(!n.item)continue;if(r===void 0&&n.indent===void 0)r=0;else if(n.indent===void 0)t("error","Multiple root nodes are not allowed in a treemap.",{node:n,property:"item"});else if(r!==void 0&&r>=parseInt(n.indent,10))t("error","Multiple root nodes are not allowed in a treemap.",{node:n,property:"item"})}}},jR={parser:{TokenBuilder:i(()=>new AP,"TokenBuilder"),ValueConverter:i(()=>new CP,"ValueConverter")},validation:{TreemapValidator:i(()=>new bP,"TreemapValidator")}};function Yo(e=le){let t=W(ae(e),ue),r=W(ne({shared:t}),Wl,jR);return t.ServiceRegistry.register(r),FR(r),{shared:t,Treemap:r}}i(Yo,"createTreemapServices");var _P=class extends Ie{static{i(this,"WardleyValueConverter")}runCustomConverter(e,t,r){switch(e.name.toUpperCase()){case"LINK_LABEL":return t.substring(1).trim();default:return}}},zR={parser:{ValueConverter:i(()=>new _P,"ValueConverter")}};function Xo(e=le){let t=W(ae(e),ue),r=W(ne({shared:t}),Hl,zR);return t.ServiceRegistry.register(r),{shared:t,Wardley:r}}i(Xo,"createWardleyServices");var SP=class extends ce{static{i(this,"CynefinTokenBuilder")}constructor(){super(["cynefin-beta"])}},BR={parser:{TokenBuilder:i(()=>new SP,"TokenBuilder"),ValueConverter:i(()=>new Je,"ValueConverter")}};function Qo(e=le){let t=W(ae(e),ue),r=W(ne({shared:t}),Dl,BR);return t.ServiceRegistry.register(r),{shared:t,Cynefin:r}}i(Qo,"createCynefinServices");var wP=class extends ce{static{i(this,"GitGraphTokenBuilder")}constructor(){super(["gitGraph"])}},UR={parser:{TokenBuilder:i(()=>new wP,"TokenBuilder"),ValueConverter:i(()=>new Je,"ValueConverter")}};function Zo(e=le){let t=W(ae(e),ue),r=W(ne({shared:t}),xl,UR);return t.ServiceRegistry.register(r),{shared:t,GitGraph:r}}i(Zo,"createGitGraphServices");var PP=class extends ce{static{i(this,"InfoTokenBuilder")}constructor(){super(["info","showInfo"])}},VR={parser:{TokenBuilder:i(()=>new PP,"TokenBuilder"),ValueConverter:i(()=>new Je,"ValueConverter")}};function Jo(e=le){let t=W(ae(e),ue),r=W(ne({shared:t}),Gl,VR);return t.ServiceRegistry.register(r),{shared:t,Info:r}}i(Jo,"createInfoServices");var kP=class extends ce{static{i(this,"PacketTokenBuilder")}constructor(){super(["packet"])}},KR={parser:{TokenBuilder:i(()=>new kP,"TokenBuilder"),ValueConverter:i(()=>new Je,"ValueConverter")}};function es(e=le){let t=W(ae(e),ue),r=W(ne({shared:t}),Fl,KR);return t.ServiceRegistry.register(r),{shared:t,Packet:r}}i(es,"createPacketServices");var IP=class extends ce{static{i(this,"PieTokenBuilder")}constructor(){super(["pie","showData"])}},NP=class extends Ie{static{i(this,"PieValueConverter")}runCustomConverter(e,t,r){if(e.name!=="PIE_SECTION_LABEL")return;return t.replace(/"/g,"").trim()}},WR={parser:{TokenBuilder:i(()=>new IP,"TokenBuilder"),ValueConverter:i(()=>new NP,"ValueConverter")}};function ts(e=le){let t=W(ae(e),ue),r=W(ne({shared:t}),jl,WR);return t.ServiceRegistry.register(r),{shared:t,Pie:r}}i(ts,"createPieServices");var OP=class extends Ie{static{i(this,"TreeViewValueConverter")}runCustomConverter(e,t,r){if(e.name==="INDENTATION")return t?.length||0;if(e.name==="QUOTED_NAME")return t.substring(1,t.length-1);if(e.name==="BARE_NAME")return t.replace(/[\t ]+$/,"");if(e.name==="CLASS_ANNOTATION")return t.trim().substring(3).trim();if(e.name==="ICON_ANNOTATION"){let n=t.trim();return n.substring(5,n.length-1)}if(e.name==="DESC_ANNOTATION")return t.trim().substring(2).trim();return}},MP=class extends ce{static{i(this,"TreeViewTokenBuilder")}constructor(){super(["treeView-beta"])}},qR={parser:{TokenBuilder:i(()=>new MP,"TokenBuilder"),ValueConverter:i(()=>new OP,"ValueConverter")}};function rs(e=le){let t=W(ae(e),ue),r=W(ne({shared:t}),ql,qR);return t.ServiceRegistry.register(r),{shared:t,TreeView:r}}i(rs,"createTreeViewServices");var DP=class extends ce{static{i(this,"ArchitectureTokenBuilder")}constructor(){super(["architecture"])}},LP=class extends Ie{static{i(this,"ArchitectureValueConverter")}runCustomConverter(e,t,r){if(e.name==="ARCH_ICON")return t.replace(/[()]/g,"").trim();else if(e.name==="ARCH_TEXT_ICON")return t.replace(/["()]/g,"");else if(e.name==="ARCH_TITLE"){let n=t.replace(/^\[|]$/g,"").trim();if(n.startsWith('"')&&n.endsWith('"')||n.startsWith("'")&&n.endsWith("'"))n=n.slice(1,-1),n=n.replace(/\\"/g,'"').replace(/\\'/g,"'");return n.trim()}return}},HR={parser:{TokenBuilder:i(()=>new DP,"TokenBuilder"),ValueConverter:i(()=>new LP,"ValueConverter")}};function ns(e=le){let t=W(ae(e),ue),r=W(ne({shared:t}),Ml,HR);return t.ServiceRegistry.register(r),{shared:t,Architecture:r}}i(ns,"createArchitectureServices");var xP=class extends ce{static{i(this,"EventModelingTokenBuilder")}constructor(){super(["eventmodeling"])}},YR=new Set(["cmd","command"]),XR=new Set(["evt","event"]),fd=new Set(["rmo","readmodel"]),JR=new Set(["pcr","processor"]),ZR=new Set(["ui"]);function QR(e){let t=e.validation.EventModelingValidator,r=e.validation.ValidationRegistry;if(r){let n={EmTimeFrame:t.checkSourceFrameTypes.bind(t),EmResetFrame:t.checkSourceFrameTypes.bind(t)};r.register(n,t)}}i(QR,"registerValidationChecks");var GP=class{static{i(this,"EventModelingValidator")}checkSourceFrameTypes(e,t){if(e.sourceFrames.length===0)return;if(YR.has(e.modelEntityType))this.validateSources(e,new Set([...ZR,...JR]),"command","ui or processor",t);else if(XR.has(e.modelEntityType))this.validateSources(e,YR,"event","command",t);else if(fd.has(e.modelEntityType))this.validateSources(e,XR,"read model","event",t);else if(JR.has(e.modelEntityType))this.validateSources(e,fd,"processor","read model",t);else if(ZR.has(e.modelEntityType))this.validateSources(e,fd,"ui","read model",t)}validateSources(e,t,r,n,a){for(let s of e.sourceFrames){let o=s.ref;if(o!==void 0&&!t.has(o.modelEntityType))a("error",`A ${r} can only receive input from a ${n}, not from '${o.modelEntityType}'.`,{node:e,property:"sourceFrames"})}}},eA={parser:{TokenBuilder:i(()=>new xP,"TokenBuilder"),ValueConverter:i(()=>new Je,"ValueConverter")},validation:{EventModelingValidator:i(()=>new GP,"EventModelingValidator")}};function as(e=le){let t=W(ae(e),ue),r=W(ne({shared:t}),Ll,eA);return t.ServiceRegistry.register(r),QR(r),{shared:t,EventModel:r}}i(as,"createEventModelingServices");var je={},FP={info:i(async()=>{let{createInfoServices:e}=await (_("yhwzx56w"),import("./info-OHQRW6UA.yhwzx56w.js")),t=e().Info.parser.LangiumParser;je.info=t},"info"),packet:i(async()=>{let{createPacketServices:e}=await (_("gp9cmm94"),import("./packet-JDAUHWVQ.gp9cmm94.js")),t=e().Packet.parser.LangiumParser;je.packet=t},"packet"),pie:i(async()=>{let{createPieServices:e}=await (_("fx385qqa"),import("./pie-XZMESJXO.fx385qqa.js")),t=e().Pie.parser.LangiumParser;je.pie=t},"pie"),treeView:i(async()=>{let{createTreeViewServices:e}=await (_("fj76b06b"),import("./treeView-D4JQ5SDB.fj76b06b.js")),t=e().TreeView.parser.LangiumParser;je.treeView=t},"treeView"),architecture:i(async()=>{let{createArchitectureServices:e}=await (_("230b0n6c"),import("./architecture-WOLXFQ4H.230b0n6c.js")),t=e().Architecture.parser.LangiumParser;je.architecture=t},"architecture"),gitGraph:i(async()=>{let{createGitGraphServices:e}=await (_("e4envgw8"),import("./gitGraph-VSP46ZUC.e4envgw8.js")),t=e().GitGraph.parser.LangiumParser;je.gitGraph=t},"gitGraph"),eventmodeling:i(async()=>{let{createEventModelingServices:e}=await (_("q3y4xbmj"),import("./eventmodeling-K75KTNOO.q3y4xbmj.js")),t=e().EventModel.parser.LangiumParser;je.eventmodeling=t},"eventmodeling"),radar:i(async()=>{let{createRadarServices:e}=await (_("d58r1mqp"),import("./radar-ABXABTNO.d58r1mqp.js")),t=e().Radar.parser.LangiumParser;je.radar=t},"radar"),railroad:i(async()=>{let{createRailroadServices:e}=await (_("cwq84f31"),import("./railroad-I3PHUGI6.cwq84f31.js")),t=e().Railroad.parser.LangiumParser;je.railroad=t},"railroad"),railroadEbnf:i(async()=>{let{createRailroadEbnfServices:e}=await (_("geje0ygg"),import("./railroad-ebnf-DWYD2UWJ.geje0ygg.js")),t=e().RailroadEbnf.parser.LangiumParser;je.railroadEbnf=t},"railroadEbnf"),railroadAbnf:i(async()=>{let{createRailroadAbnfServices:e}=await (_("7z7d547m"),import("./railroad-abnf-LNEFI6M7.7z7d547m.js")),t=e().RailroadAbnf.parser.LangiumParser;je.railroadAbnf=t},"railroadAbnf"),railroadPeg:i(async()=>{let{createRailroadPegServices:e}=await (_("f8xnzs1y"),import("./railroad-peg-JR7BVNR7.f8xnzs1y.js")),t=e().RailroadPeg.parser.LangiumParser;je.railroadPeg=t},"railroadPeg"),treemap:i(async()=>{let{createTreemapServices:e}=await (_("yk7967y9"),import("./treemap-SAJKECNS.yk7967y9.js")),t=e().Treemap.parser.LangiumParser;je.treemap=t},"treemap"),wardley:i(async()=>{let{createWardleyServices:e}=await (_("r3k2k1ra"),import("./wardley-7MLQ67FV.r3k2k1ra.js")),t=e().Wardley.parser.LangiumParser;je.wardley=t},"wardley"),cynefin:i(async()=>{let{createCynefinServices:e}=await (_("e9ycn4jb"),import("./cynefin-EF2NZ3EQ.e9ycn4jb.js")),t=e().Cynefin.parser.LangiumParser;je.cynefin=t},"cynefin")};async function se(e,t){let r=FP[e];if(!r)throw Error(`Unknown diagram type: ${e}`);if(!je[e])await r();let a=je[e].parse(t);if(a.lexerErrors.length>0||a.parserErrors.length>0)throw new Lt(a);return a.value}i(se,"parse");var Yl=i((e)=>e!==void 0&&e>=0?e:"?","formatLocation"),Lt=class extends Error{constructor(e){let t=e.lexerErrors.map((n)=>{let a=Yl(n.line),s=Yl(n.column);return`Lexer error on line ${a}, column ${s}: ${n.message}`}).join(`
|
|
139
|
+
`;break;case"r":r+="\r";break;case"t":r+="\t";break;default:r+=s}continue}r+=a}return r},"decodeEscapedString"),RP=class extends Ie{static{i(this,"RailroadPegValueConverter")}runConverter(e,t,r){let n=super.runConverter(e,t,r);if(e.name==="TITLE"&&typeof n==="string"){let a=n.trim();if(a.startsWith('"')&&a.endsWith('"')||a.startsWith("'")&&a.endsWith("'"))return xR(a)}return n}runCustomConverter(e,t,r){if(e.name==="PEG_STRING")return xR(t);return}},GR={parser:{TokenBuilder:i(()=>new $P,"TokenBuilder"),ValueConverter:i(()=>new RP,"ValueConverter")}};function $n(e=le){let t=W(ae(e),ue),r=W(ne({shared:t}),Kl,GR);return t.ServiceRegistry.register(r),{shared:t,RailroadPeg:r}}i($n,"createRailroadPegServices");var AP=class extends ce{static{i(this,"TreemapTokenBuilder")}constructor(){super(["treemap"])}},EP=/classDef\s+([A-Z_a-z]\w+)(?:\s+([^\n\r;]*))?;?/,CP=class extends Ie{static{i(this,"TreemapValueConverter")}runCustomConverter(e,t,r){if(e.name==="NUMBER2")return parseFloat(t.replace(/,/g,""));else if(e.name==="SEPARATOR")return t.substring(1,t.length-1);else if(e.name==="STRING2")return t.substring(1,t.length-1);else if(e.name==="INDENTATION")return t.length;else if(e.name==="ClassDef"){if(typeof t!=="string")return t;let n=EP.exec(t);if(n)return{$type:"ClassDefStatement",className:n[1],styleText:n[2]||void 0}}return}};function FR(e){let t=e.validation.TreemapValidator,r=e.validation.ValidationRegistry;if(r){let n={Treemap:t.checkSingleRoot.bind(t)};r.register(n,t)}}i(FR,"registerValidationChecks");var bP=class{static{i(this,"TreemapValidator")}checkSingleRoot(e,t){let r;for(let n of e.TreemapRows){if(!n.item)continue;if(r===void 0&&n.indent===void 0)r=0;else if(n.indent===void 0)t("error","Multiple root nodes are not allowed in a treemap.",{node:n,property:"item"});else if(r!==void 0&&r>=parseInt(n.indent,10))t("error","Multiple root nodes are not allowed in a treemap.",{node:n,property:"item"})}}},jR={parser:{TokenBuilder:i(()=>new AP,"TokenBuilder"),ValueConverter:i(()=>new CP,"ValueConverter")},validation:{TreemapValidator:i(()=>new bP,"TreemapValidator")}};function Yo(e=le){let t=W(ae(e),ue),r=W(ne({shared:t}),Wl,jR);return t.ServiceRegistry.register(r),FR(r),{shared:t,Treemap:r}}i(Yo,"createTreemapServices");var _P=class extends Ie{static{i(this,"WardleyValueConverter")}runCustomConverter(e,t,r){switch(e.name.toUpperCase()){case"LINK_LABEL":return t.substring(1).trim();default:return}}},zR={parser:{ValueConverter:i(()=>new _P,"ValueConverter")}};function Xo(e=le){let t=W(ae(e),ue),r=W(ne({shared:t}),Hl,zR);return t.ServiceRegistry.register(r),{shared:t,Wardley:r}}i(Xo,"createWardleyServices");var SP=class extends ce{static{i(this,"CynefinTokenBuilder")}constructor(){super(["cynefin-beta"])}},BR={parser:{TokenBuilder:i(()=>new SP,"TokenBuilder"),ValueConverter:i(()=>new Je,"ValueConverter")}};function Qo(e=le){let t=W(ae(e),ue),r=W(ne({shared:t}),Dl,BR);return t.ServiceRegistry.register(r),{shared:t,Cynefin:r}}i(Qo,"createCynefinServices");var wP=class extends ce{static{i(this,"GitGraphTokenBuilder")}constructor(){super(["gitGraph"])}},UR={parser:{TokenBuilder:i(()=>new wP,"TokenBuilder"),ValueConverter:i(()=>new Je,"ValueConverter")}};function Zo(e=le){let t=W(ae(e),ue),r=W(ne({shared:t}),xl,UR);return t.ServiceRegistry.register(r),{shared:t,GitGraph:r}}i(Zo,"createGitGraphServices");var PP=class extends ce{static{i(this,"InfoTokenBuilder")}constructor(){super(["info","showInfo"])}},VR={parser:{TokenBuilder:i(()=>new PP,"TokenBuilder"),ValueConverter:i(()=>new Je,"ValueConverter")}};function Jo(e=le){let t=W(ae(e),ue),r=W(ne({shared:t}),Gl,VR);return t.ServiceRegistry.register(r),{shared:t,Info:r}}i(Jo,"createInfoServices");var kP=class extends ce{static{i(this,"PacketTokenBuilder")}constructor(){super(["packet"])}},KR={parser:{TokenBuilder:i(()=>new kP,"TokenBuilder"),ValueConverter:i(()=>new Je,"ValueConverter")}};function es(e=le){let t=W(ae(e),ue),r=W(ne({shared:t}),Fl,KR);return t.ServiceRegistry.register(r),{shared:t,Packet:r}}i(es,"createPacketServices");var IP=class extends ce{static{i(this,"PieTokenBuilder")}constructor(){super(["pie","showData"])}},NP=class extends Ie{static{i(this,"PieValueConverter")}runCustomConverter(e,t,r){if(e.name!=="PIE_SECTION_LABEL")return;return t.replace(/"/g,"").trim()}},WR={parser:{TokenBuilder:i(()=>new IP,"TokenBuilder"),ValueConverter:i(()=>new NP,"ValueConverter")}};function ts(e=le){let t=W(ae(e),ue),r=W(ne({shared:t}),jl,WR);return t.ServiceRegistry.register(r),{shared:t,Pie:r}}i(ts,"createPieServices");var OP=class extends Ie{static{i(this,"TreeViewValueConverter")}runCustomConverter(e,t,r){if(e.name==="INDENTATION")return t?.length||0;if(e.name==="QUOTED_NAME")return t.substring(1,t.length-1);if(e.name==="BARE_NAME")return t.replace(/[\t ]+$/,"");if(e.name==="CLASS_ANNOTATION")return t.trim().substring(3).trim();if(e.name==="ICON_ANNOTATION"){let n=t.trim();return n.substring(5,n.length-1)}if(e.name==="DESC_ANNOTATION")return t.trim().substring(2).trim();return}},MP=class extends ce{static{i(this,"TreeViewTokenBuilder")}constructor(){super(["treeView-beta"])}},qR={parser:{TokenBuilder:i(()=>new MP,"TokenBuilder"),ValueConverter:i(()=>new OP,"ValueConverter")}};function rs(e=le){let t=W(ae(e),ue),r=W(ne({shared:t}),ql,qR);return t.ServiceRegistry.register(r),{shared:t,TreeView:r}}i(rs,"createTreeViewServices");var DP=class extends ce{static{i(this,"ArchitectureTokenBuilder")}constructor(){super(["architecture"])}},LP=class extends Ie{static{i(this,"ArchitectureValueConverter")}runCustomConverter(e,t,r){if(e.name==="ARCH_ICON")return t.replace(/[()]/g,"").trim();else if(e.name==="ARCH_TEXT_ICON")return t.replace(/["()]/g,"");else if(e.name==="ARCH_TITLE"){let n=t.replace(/^\[|]$/g,"").trim();if(n.startsWith('"')&&n.endsWith('"')||n.startsWith("'")&&n.endsWith("'"))n=n.slice(1,-1),n=n.replace(/\\"/g,'"').replace(/\\'/g,"'");return n.trim()}return}},HR={parser:{TokenBuilder:i(()=>new DP,"TokenBuilder"),ValueConverter:i(()=>new LP,"ValueConverter")}};function ns(e=le){let t=W(ae(e),ue),r=W(ne({shared:t}),Ml,HR);return t.ServiceRegistry.register(r),{shared:t,Architecture:r}}i(ns,"createArchitectureServices");var xP=class extends ce{static{i(this,"EventModelingTokenBuilder")}constructor(){super(["eventmodeling"])}},YR=new Set(["cmd","command"]),XR=new Set(["evt","event"]),fd=new Set(["rmo","readmodel"]),JR=new Set(["pcr","processor"]),ZR=new Set(["ui"]);function QR(e){let t=e.validation.EventModelingValidator,r=e.validation.ValidationRegistry;if(r){let n={EmTimeFrame:t.checkSourceFrameTypes.bind(t),EmResetFrame:t.checkSourceFrameTypes.bind(t)};r.register(n,t)}}i(QR,"registerValidationChecks");var GP=class{static{i(this,"EventModelingValidator")}checkSourceFrameTypes(e,t){if(e.sourceFrames.length===0)return;if(YR.has(e.modelEntityType))this.validateSources(e,new Set([...ZR,...JR]),"command","ui or processor",t);else if(XR.has(e.modelEntityType))this.validateSources(e,YR,"event","command",t);else if(fd.has(e.modelEntityType))this.validateSources(e,XR,"read model","event",t);else if(JR.has(e.modelEntityType))this.validateSources(e,fd,"processor","read model",t);else if(ZR.has(e.modelEntityType))this.validateSources(e,fd,"ui","read model",t)}validateSources(e,t,r,n,a){for(let s of e.sourceFrames){let o=s.ref;if(o!==void 0&&!t.has(o.modelEntityType))a("error",`A ${r} can only receive input from a ${n}, not from '${o.modelEntityType}'.`,{node:e,property:"sourceFrames"})}}},eA={parser:{TokenBuilder:i(()=>new xP,"TokenBuilder"),ValueConverter:i(()=>new Je,"ValueConverter")},validation:{EventModelingValidator:i(()=>new GP,"EventModelingValidator")}};function as(e=le){let t=W(ae(e),ue),r=W(ne({shared:t}),Ll,eA);return t.ServiceRegistry.register(r),QR(r),{shared:t,EventModel:r}}i(as,"createEventModelingServices");var je={},FP={info:i(async()=>{let{createInfoServices:e}=await (_("e0a85drn"),import("./info-OHQRW6UA.e0a85drn.js")),t=e().Info.parser.LangiumParser;je.info=t},"info"),packet:i(async()=>{let{createPacketServices:e}=await (_("52409p3r"),import("./packet-JDAUHWVQ.52409p3r.js")),t=e().Packet.parser.LangiumParser;je.packet=t},"packet"),pie:i(async()=>{let{createPieServices:e}=await (_("q5kre8cx"),import("./pie-XZMESJXO.q5kre8cx.js")),t=e().Pie.parser.LangiumParser;je.pie=t},"pie"),treeView:i(async()=>{let{createTreeViewServices:e}=await (_("3fzswdjp"),import("./treeView-D4JQ5SDB.3fzswdjp.js")),t=e().TreeView.parser.LangiumParser;je.treeView=t},"treeView"),architecture:i(async()=>{let{createArchitectureServices:e}=await (_("aft3rkrr"),import("./architecture-WOLXFQ4H.aft3rkrr.js")),t=e().Architecture.parser.LangiumParser;je.architecture=t},"architecture"),gitGraph:i(async()=>{let{createGitGraphServices:e}=await (_("0m8jykgw"),import("./gitGraph-VSP46ZUC.0m8jykgw.js")),t=e().GitGraph.parser.LangiumParser;je.gitGraph=t},"gitGraph"),eventmodeling:i(async()=>{let{createEventModelingServices:e}=await (_("gmm1bcak"),import("./eventmodeling-K75KTNOO.gmm1bcak.js")),t=e().EventModel.parser.LangiumParser;je.eventmodeling=t},"eventmodeling"),radar:i(async()=>{let{createRadarServices:e}=await (_("yk872k2n"),import("./radar-ABXABTNO.yk872k2n.js")),t=e().Radar.parser.LangiumParser;je.radar=t},"radar"),railroad:i(async()=>{let{createRailroadServices:e}=await (_("9wfa6vs3"),import("./railroad-I3PHUGI6.9wfa6vs3.js")),t=e().Railroad.parser.LangiumParser;je.railroad=t},"railroad"),railroadEbnf:i(async()=>{let{createRailroadEbnfServices:e}=await (_("4pvdng0p"),import("./railroad-ebnf-DWYD2UWJ.4pvdng0p.js")),t=e().RailroadEbnf.parser.LangiumParser;je.railroadEbnf=t},"railroadEbnf"),railroadAbnf:i(async()=>{let{createRailroadAbnfServices:e}=await (_("70zznk3b"),import("./railroad-abnf-LNEFI6M7.70zznk3b.js")),t=e().RailroadAbnf.parser.LangiumParser;je.railroadAbnf=t},"railroadAbnf"),railroadPeg:i(async()=>{let{createRailroadPegServices:e}=await (_("ev15ebp6"),import("./railroad-peg-JR7BVNR7.ev15ebp6.js")),t=e().RailroadPeg.parser.LangiumParser;je.railroadPeg=t},"railroadPeg"),treemap:i(async()=>{let{createTreemapServices:e}=await (_("cgh74bhn"),import("./treemap-SAJKECNS.cgh74bhn.js")),t=e().Treemap.parser.LangiumParser;je.treemap=t},"treemap"),wardley:i(async()=>{let{createWardleyServices:e}=await (_("6q5tgt0s"),import("./wardley-7MLQ67FV.6q5tgt0s.js")),t=e().Wardley.parser.LangiumParser;je.wardley=t},"wardley"),cynefin:i(async()=>{let{createCynefinServices:e}=await (_("dk039jny"),import("./cynefin-EF2NZ3EQ.dk039jny.js")),t=e().Cynefin.parser.LangiumParser;je.cynefin=t},"cynefin")};async function se(e,t){let r=FP[e];if(!r)throw Error(`Unknown diagram type: ${e}`);if(!je[e])await r();let a=je[e].parse(t);if(a.lexerErrors.length>0||a.parserErrors.length>0)throw new Lt(a);return a.value}i(se,"parse");var Yl=i((e)=>e!==void 0&&e>=0?e:"?","formatLocation"),Lt=class extends Error{constructor(e){let t=e.lexerErrors.map((n)=>{let a=Yl(n.line),s=Yl(n.column);return`Lexer error on line ${a}, column ${s}: ${n.message}`}).join(`
|
|
140
140
|
`),r=e.parserErrors.map((n)=>{let a=Yl(n.token.startLine),s=Yl(n.token.startColumn);return`Parse error on line ${a}, column ${s}: ${n.message}`}).join(`
|
|
141
141
|
`);super(`Parsing failed: ${t} ${r}`);this.result=e}static{i(this,"MermaidParseError")}};
|
|
142
142
|
export{ka,Ko,Pn,Bn,Fn,$n,Yo,Xo,Qo,Zo,Jo,es,ts,rs,ns,as,se,Lt};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{e,m}from"./index.
|
|
1
|
+
import{e,m}from"./index.a1bxkgd3.js";var Ee=e((o,t)=>{let n;if(t==="sandbox")n=m("#i"+o);return(t==="sandbox"?m(n.nodes()[0].contentDocument.body):m("body")).select(`[id="${o}"]`)},"getDiagramElement");
|
|
2
2
|
export{Ee};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{e}from"./index.
|
|
1
|
+
import{e}from"./index.a1bxkgd3.js";var Br=class{constructor(t){this.init=t,this.records=this.init()}static{e(this,"ImperativeState")}reset(){this.records=this.init()}};
|
|
2
2
|
export{Br};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{e,n,j}from"./index.
|
|
1
|
+
import{e,n,j}from"./index.a1bxkgd3.js";var ge=e((t,i,o,h)=>{t.attr("class",o);let{width:r,height:a,x:w,y:x}=u(t,i);j(t,a,r,h);let c=m(w,x,r,a,i);t.attr("viewBox",c),n.debug(`viewBox configured: ${c} with padding: ${i}`)},"setupViewPortForSVG"),u=e((t,i)=>{let o=t.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:o.width+i*2,height:o.height+i*2,x:o.x,y:o.y}},"calculateDimensionsWithPadding"),m=e((t,i,o,h,r)=>`${t-r} ${i-r} ${o} ${h}`,"createViewBox");
|
|
2
2
|
export{ge};
|