mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-09-05 04:24:21 +08:00
Update assets
This commit is contained in:
parent
c7572adb5d
commit
6f55b0e5b2
50 changed files with 222 additions and 222 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
|||
import{b as u,c as y,d as f,e as h}from"./chunk-BOD4ZWPQ.js";import{b as g,e as m,h as d}from"./chunk-24CS6DUF.js";import{c as l}from"./chunk-HFFTYNMA.js";import{D as n,N as s,h as o,j as a}from"./chunk-3QLLRM5L.js";var p={common:s,getConfig:n,insertCluster:m,insertEdge:f,insertEdgeLabel:u,insertMarkers:h,insertNode:d,interpolateToCurve:l,labelHelper:g,log:a,positionEdgeLabel:y},t={},L=o(r=>{for(let e of r)t[e.name]=e},"registerLayoutLoaders"),w=o(()=>{L([{name:"dagre",loader:o(async()=>await import("./dagre-SWNTG5WE-OT2ACH3F.js"),"loader")}])},"registerDefaultLayoutLoaders");w();var R=o(async(r,e)=>{if(!(r.layoutAlgorithm in t))throw new Error(`Unknown layout algorithm: ${r.layoutAlgorithm}`);let i=t[r.layoutAlgorithm];return(await i.loader()).render(r,e,p,{algorithm:i.algorithm})},"render"),_=o((r="",{fallback:e="dagre"}={})=>{if(r in t)return r;if(e in t)return a.warn(`Layout algorithm ${r} is not registered. Using ${e} as fallback.`),e;throw new Error(`Both layout algorithms ${r} and ${e} are not registered.`)},"getRegisteredLayoutAlgorithm");export{L as a,R as b,_ as c};
|
||||
import{b as u,c as y,d as f,e as h}from"./chunk-IDH2HD35.js";import{b as g,e as m,h as d}from"./chunk-FIA6NTGC.js";import{c as l}from"./chunk-47P5NBBB.js";import{D as n,N as s,h as o,j as a}from"./chunk-KRX7QNR4.js";var p={common:s,getConfig:n,insertCluster:m,insertEdge:f,insertEdgeLabel:u,insertMarkers:h,insertNode:d,interpolateToCurve:l,labelHelper:g,log:a,positionEdgeLabel:y},t={},L=o(r=>{for(let e of r)t[e.name]=e},"registerLayoutLoaders"),w=o(()=>{L([{name:"dagre",loader:o(async()=>await import("./dagre-4EVJKHTY-TI3ZPXZV.js"),"loader")}])},"registerDefaultLayoutLoaders");w();var R=o(async(r,e)=>{if(!(r.layoutAlgorithm in t))throw new Error(`Unknown layout algorithm: ${r.layoutAlgorithm}`);let i=t[r.layoutAlgorithm];return(await i.loader()).render(r,e,p,{algorithm:i.algorithm})},"render"),_=o((r="",{fallback:e="dagre"}={})=>{if(r in t)return r;if(e in t)return a.warn(`Layout algorithm ${r} is not registered. Using ${e} as fallback.`),e;throw new Error(`Both layout algorithms ${r} and ${e} are not registered.`)},"getRegisteredLayoutAlgorithm");export{L as a,R as b,_ as c};
|
|
@ -1 +1 @@
|
|||
import{Z as m,h as c,ia as e}from"./chunk-3QLLRM5L.js";var v=c(t=>{var n,s;let{securityLevel:l}=m(),o=e("body");if(l==="sandbox"){let r=(s=(n=e(`#i${t}`).node())==null?void 0:n.contentDocument)!=null?s:document;o=e(r.body)}return o.select(`#${t}`)},"selectSvgElement");export{v as a};
|
||||
import{Z as m,h as c,ia as e}from"./chunk-KRX7QNR4.js";var v=c(t=>{var n,s;let{securityLevel:l}=m(),o=e("body");if(l==="sandbox"){let r=(s=(n=e(`#i${t}`).node())==null?void 0:n.contentDocument)!=null?s:document;o=e(r.body)}return o.select(`#${t}`)},"selectSvgElement");export{v as a};
|
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
|||
import{O as x,h as n,ia as a,j as h}from"./chunk-3QLLRM5L.js";var b=n((t,e)=>{let o;return e==="sandbox"&&(o=a("#i"+t)),(e==="sandbox"?a(o.nodes()[0].contentDocument.body):a("body")).select(`[id="${t}"]`)},"getDiagramElement"),B=n((t,e,o,i)=>{t.attr("class",o);let{width:r,height:s,x:m,y:d}=g(t,e);x(t,s,r,i);let c=w(m,d,r,s,e);t.attr("viewBox",c),h.debug(`viewBox configured: ${c} with padding: ${e}`)},"setupViewPortForSVG"),g=n((t,e)=>{var i;let o=((i=t.node())==null?void 0:i.getBBox())||{width:0,height:0,x:0,y:0};return{width:o.width+e*2,height:o.height+e*2,x:o.x,y:o.y}},"calculateDimensionsWithPadding"),w=n((t,e,o,i,r)=>`${t-r} ${e-r} ${o} ${i}`,"createViewBox");export{b as a,B as b};
|
||||
import{O as x,h as n,ia as a,j as h}from"./chunk-KRX7QNR4.js";var b=n((t,e)=>{let o;return e==="sandbox"&&(o=a("#i"+t)),(e==="sandbox"?a(o.nodes()[0].contentDocument.body):a("body")).select(`[id="${t}"]`)},"getDiagramElement"),B=n((t,e,o,i)=>{t.attr("class",o);let{width:r,height:s,x:m,y:d}=g(t,e);x(t,s,r,i);let c=w(m,d,r,s,e);t.attr("viewBox",c),h.debug(`viewBox configured: ${c} with padding: ${e}`)},"setupViewPortForSVG"),g=n((t,e)=>{var i;let o=((i=t.node())==null?void 0:i.getBBox())||{width:0,height:0,x:0,y:0};return{width:o.width+e*2,height:o.height+e*2,x:o.x,y:o.y}},"calculateDimensionsWithPadding"),w=n((t,e,o,i,r)=>`${t-r} ${e-r} ${o} ${i}`,"createViewBox");export{b as a,B as b};
|
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
|||
import{h as i}from"./chunk-3QLLRM5L.js";var t,e=(t=class{constructor(r){this.init=r,this.records=this.init()}reset(){this.records=this.init()}},i(t,"ImperativeState"),t);export{e as a};
|
||||
import{h as i}from"./chunk-KRX7QNR4.js";var t,e=(t=class{constructor(r){this.init=r,this.records=this.init()}reset(){this.records=this.init()}},i(t,"ImperativeState"),t);export{e as a};
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
|||
import{h as x}from"./chunk-3QLLRM5L.js";var c={aggregation:18,extension:18,composition:18,dependency:6,lollipop:13.5,arrow_point:4};function d(n,r){if(n===void 0||r===void 0)return{angle:0,deltaX:0,deltaY:0};n=t(n),r=t(r);let[s,e]=[n.x,n.y],[a,i]=[r.x,r.y],o=a-s,y=i-e;return{angle:Math.atan(y/o),deltaX:o,deltaY:y}}x(d,"calculateDeltaAndAngle");var t=x(n=>Array.isArray(n)?{x:n[0],y:n[1]}:n,"pointTransformer"),T=x(n=>({x:x(function(r,s,e){let a=0,i=t(e[0]).x<t(e[e.length-1]).x?"left":"right";if(s===0&&Object.hasOwn(c,n.arrowTypeStart)){let{angle:l,deltaX:g}=d(e[0],e[1]);a=c[n.arrowTypeStart]*Math.cos(l)*(g>=0?1:-1)}else if(s===e.length-1&&Object.hasOwn(c,n.arrowTypeEnd)){let{angle:l,deltaX:g}=d(e[e.length-1],e[e.length-2]);a=c[n.arrowTypeEnd]*Math.cos(l)*(g>=0?1:-1)}let o=Math.abs(t(r).x-t(e[e.length-1]).x),y=Math.abs(t(r).y-t(e[e.length-1]).y),f=Math.abs(t(r).x-t(e[0]).x),w=Math.abs(t(r).y-t(e[0]).y),h=c[n.arrowTypeStart],u=c[n.arrowTypeEnd],p=1;if(o<u&&o>0&&y<u){let l=u+p-o;l*=i==="right"?-1:1,a-=l}if(f<h&&f>0&&w<h){let l=h+p-f;l*=i==="right"?-1:1,a+=l}return t(r).x+a},"x"),y:x(function(r,s,e){let a=0,i=t(e[0]).y<t(e[e.length-1]).y?"down":"up";if(s===0&&Object.hasOwn(c,n.arrowTypeStart)){let{angle:l,deltaY:g}=d(e[0],e[1]);a=c[n.arrowTypeStart]*Math.abs(Math.sin(l))*(g>=0?1:-1)}else if(s===e.length-1&&Object.hasOwn(c,n.arrowTypeEnd)){let{angle:l,deltaY:g}=d(e[e.length-1],e[e.length-2]);a=c[n.arrowTypeEnd]*Math.abs(Math.sin(l))*(g>=0?1:-1)}let o=Math.abs(t(r).y-t(e[e.length-1]).y),y=Math.abs(t(r).x-t(e[e.length-1]).x),f=Math.abs(t(r).y-t(e[0]).y),w=Math.abs(t(r).x-t(e[0]).x),h=c[n.arrowTypeStart],u=c[n.arrowTypeEnd],p=1;if(o<u&&o>0&&y<u){let l=u+p-o;l*=i==="up"?-1:1,a-=l}if(f<h&&f>0&&w<h){let l=h+p-f;l*=i==="up"?-1:1,a+=l}return t(r).y+a},"y")}),"getLineFunctionsWithOffset");export{T as a};
|
||||
import{h as x}from"./chunk-KRX7QNR4.js";var c={aggregation:18,extension:18,composition:18,dependency:6,lollipop:13.5,arrow_point:4};function d(n,r){if(n===void 0||r===void 0)return{angle:0,deltaX:0,deltaY:0};n=t(n),r=t(r);let[s,e]=[n.x,n.y],[a,i]=[r.x,r.y],o=a-s,y=i-e;return{angle:Math.atan(y/o),deltaX:o,deltaY:y}}x(d,"calculateDeltaAndAngle");var t=x(n=>Array.isArray(n)?{x:n[0],y:n[1]}:n,"pointTransformer"),T=x(n=>({x:x(function(r,s,e){let a=0,i=t(e[0]).x<t(e[e.length-1]).x?"left":"right";if(s===0&&Object.hasOwn(c,n.arrowTypeStart)){let{angle:l,deltaX:g}=d(e[0],e[1]);a=c[n.arrowTypeStart]*Math.cos(l)*(g>=0?1:-1)}else if(s===e.length-1&&Object.hasOwn(c,n.arrowTypeEnd)){let{angle:l,deltaX:g}=d(e[e.length-1],e[e.length-2]);a=c[n.arrowTypeEnd]*Math.cos(l)*(g>=0?1:-1)}let o=Math.abs(t(r).x-t(e[e.length-1]).x),y=Math.abs(t(r).y-t(e[e.length-1]).y),f=Math.abs(t(r).x-t(e[0]).x),w=Math.abs(t(r).y-t(e[0]).y),h=c[n.arrowTypeStart],u=c[n.arrowTypeEnd],p=1;if(o<u&&o>0&&y<u){let l=u+p-o;l*=i==="right"?-1:1,a-=l}if(f<h&&f>0&&w<h){let l=h+p-f;l*=i==="right"?-1:1,a+=l}return t(r).x+a},"x"),y:x(function(r,s,e){let a=0,i=t(e[0]).y<t(e[e.length-1]).y?"down":"up";if(s===0&&Object.hasOwn(c,n.arrowTypeStart)){let{angle:l,deltaY:g}=d(e[0],e[1]);a=c[n.arrowTypeStart]*Math.abs(Math.sin(l))*(g>=0?1:-1)}else if(s===e.length-1&&Object.hasOwn(c,n.arrowTypeEnd)){let{angle:l,deltaY:g}=d(e[e.length-1],e[e.length-2]);a=c[n.arrowTypeEnd]*Math.abs(Math.sin(l))*(g>=0?1:-1)}let o=Math.abs(t(r).y-t(e[e.length-1]).y),y=Math.abs(t(r).x-t(e[e.length-1]).x),f=Math.abs(t(r).y-t(e[0]).y),w=Math.abs(t(r).x-t(e[0]).x),h=c[n.arrowTypeStart],u=c[n.arrowTypeEnd],p=1;if(o<u&&o>0&&y<u){let l=u+p-o;l*=i==="up"?-1:1,a-=l}if(f<h&&f>0&&w<h){let l=h+p-f;l*=i==="up"?-1:1,a+=l}return t(r).y+a},"y")}),"getLineFunctionsWithOffset");export{T as a};
|
64
static/assets/chunk-KRX7QNR4.js
Normal file
64
static/assets/chunk-KRX7QNR4.js
Normal file
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
|||
import{a as c}from"./chunk-XHGORZV2.js";import{G as o,h as n}from"./chunk-3QLLRM5L.js";import{i as x}from"./chunk-MGYUK2XN.js";var l=x(c(),1),d=n((a,t)=>{let r=a.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),t.rx&&r.attr("rx",t.rx),t.ry&&r.attr("ry",t.ry),t.attrs!==void 0)for(let e in t.attrs)r.attr(e,t.attrs[e]);return t.class&&r.attr("class",t.class),r},"drawRect"),g=n((a,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"};d(a,r).lower()},"drawBackgroundRect"),h=n((a,t)=>{let r=t.text.replace(o," "),e=a.append("text");e.attr("x",t.x),e.attr("y",t.y),e.attr("class","legend"),e.style("text-anchor",t.anchor),t.class&&e.attr("class",t.class);let s=e.append("tspan");return s.attr("x",t.x+t.textMargin*2),s.text(r),e},"drawText"),y=n((a,t,r,e)=>{let s=a.append("image");s.attr("x",t),s.attr("y",r);let i=(0,l.sanitizeUrl)(e);s.attr("xlink:href",i)},"drawImage"),p=n((a,t,r,e)=>{let s=a.append("use");s.attr("x",t),s.attr("y",r);let i=(0,l.sanitizeUrl)(e);s.attr("xlink:href",`#${i}`)},"drawEmbeddedImage"),f=n(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),w=n(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj");export{d as a,g as b,h as c,y as d,p as e,f,w as g};
|
||||
import{a as c}from"./chunk-XHGORZV2.js";import{G as o,h as n}from"./chunk-KRX7QNR4.js";import{i as x}from"./chunk-MGYUK2XN.js";var l=x(c(),1),d=n((a,t)=>{let r=a.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),t.rx&&r.attr("rx",t.rx),t.ry&&r.attr("ry",t.ry),t.attrs!==void 0)for(let e in t.attrs)r.attr(e,t.attrs[e]);return t.class&&r.attr("class",t.class),r},"drawRect"),g=n((a,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"};d(a,r).lower()},"drawBackgroundRect"),h=n((a,t)=>{let r=t.text.replace(o," "),e=a.append("text");e.attr("x",t.x),e.attr("y",t.y),e.attr("class","legend"),e.style("text-anchor",t.anchor),t.class&&e.attr("class",t.class);let s=e.append("tspan");return s.attr("x",t.x+t.textMargin*2),s.text(r),e},"drawText"),y=n((a,t,r,e)=>{let s=a.append("image");s.attr("x",t),s.attr("y",r);let i=(0,l.sanitizeUrl)(e);s.attr("xlink:href",i)},"drawImage"),p=n((a,t,r,e)=>{let s=a.append("use");s.attr("x",t),s.attr("y",r);let i=(0,l.sanitizeUrl)(e);s.attr("xlink:href",`#${i}`)},"drawEmbeddedImage"),f=n(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),w=n(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj");export{d as a,g as b,h as c,y as d,p as e,f,w as g};
|
|
@ -1 +1 @@
|
|||
import{h as l}from"./chunk-3QLLRM5L.js";function m(e,c){var i,t,o;e.accDescr&&((i=c.setAccDescription)==null||i.call(c,e.accDescr)),e.accTitle&&((t=c.setAccTitle)==null||t.call(c,e.accTitle)),e.title&&((o=c.setDiagramTitle)==null||o.call(c,e.title))}l(m,"populateCommonDb");export{m as a};
|
||||
import{h as l}from"./chunk-KRX7QNR4.js";function m(e,c){var i,t,o;e.accDescr&&((i=c.setAccDescription)==null||i.call(c,e.accDescr)),e.accTitle&&((t=c.setAccTitle)==null||t.call(c,e.accTitle)),e.title&&((o=c.setDiagramTitle)==null||o.call(c,e.title))}l(m,"populateCommonDb");export{m as a};
|
File diff suppressed because one or more lines are too long
|
@ -1,4 +1,4 @@
|
|||
import{h as f}from"./chunk-3QLLRM5L.js";function Ae(e){return typeof e=="undefined"||e===null}f(Ae,"isNothing");function Ee(e){return typeof e=="object"&&e!==null}f(Ee,"isObject");function Oe(e){return Array.isArray(e)?e:Ae(e)?[]:[e]}f(Oe,"toArray");function Ie(e,n){var i,l,r,u;if(n)for(u=Object.keys(n),i=0,l=u.length;i<l;i+=1)r=u[i],e[r]=n[r];return e}f(Ie,"extend");function ke(e,n){var i="",l;for(l=0;l<n;l+=1)i+=e;return i}f(ke,"repeat");function Le(e){return e===0&&Number.NEGATIVE_INFINITY===1/e}f(Le,"isNegativeZero");var hi=Ae,di=Ee,si=Oe,mi=ke,gi=Le,vi=Ie,w={isNothing:hi,isObject:di,toArray:si,repeat:mi,isNegativeZero:gi,extend:vi};function ye(e,n){var i="",l=e.reason||"(unknown reason)";return e.mark?(e.mark.name&&(i+='in "'+e.mark.name+'" '),i+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")",!n&&e.mark.snippet&&(i+=`
|
||||
import{h as f}from"./chunk-KRX7QNR4.js";function Ae(e){return typeof e=="undefined"||e===null}f(Ae,"isNothing");function Ee(e){return typeof e=="object"&&e!==null}f(Ee,"isObject");function Oe(e){return Array.isArray(e)?e:Ae(e)?[]:[e]}f(Oe,"toArray");function Ie(e,n){var i,l,r,u;if(n)for(u=Object.keys(n),i=0,l=u.length;i<l;i+=1)r=u[i],e[r]=n[r];return e}f(Ie,"extend");function ke(e,n){var i="",l;for(l=0;l<n;l+=1)i+=e;return i}f(ke,"repeat");function Le(e){return e===0&&Number.NEGATIVE_INFINITY===1/e}f(Le,"isNegativeZero");var hi=Ae,di=Ee,si=Oe,mi=ke,gi=Le,vi=Ie,w={isNothing:hi,isObject:di,toArray:si,repeat:mi,isNegativeZero:gi,extend:vi};function ye(e,n){var i="",l=e.reason||"(unknown reason)";return e.mark?(e.mark.name&&(i+='in "'+e.mark.name+'" '),i+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")",!n&&e.mark.snippet&&(i+=`
|
||||
|
||||
`+e.mark.snippet),l+" "+i):l}f(ye,"formatError");function B(e,n){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=n,this.message=ye(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}f(B,"YAMLException$1");B.prototype=Object.create(Error.prototype);B.prototype.constructor=B;B.prototype.toString=f(function(n){return this.name+": "+ye(this,n)},"toString");var x=B;function W(e,n,i,l,r){var u="",o="",c=Math.floor(r/2)-1;return l-n>c&&(u=" ... ",n=l-c+u.length),i-l>c&&(o=" ...",i=l+c-o.length),{str:u+e.slice(n,i).replace(/\t/g,"\u2192")+o,pos:l-n+u.length}}f(W,"getLine");function G(e,n){return w.repeat(" ",n-e.length)+e}f(G,"padStart");function Ne(e,n){if(n=Object.create(n||null),!e.buffer)return null;n.maxLength||(n.maxLength=79),typeof n.indent!="number"&&(n.indent=1),typeof n.linesBefore!="number"&&(n.linesBefore=3),typeof n.linesAfter!="number"&&(n.linesAfter=2);for(var i=/\r?\n|\r|\0/g,l=[0],r=[],u,o=-1;u=i.exec(e.buffer);)r.push(u.index),l.push(u.index+u[0].length),e.position<=u.index&&o<0&&(o=l.length-2);o<0&&(o=l.length-1);var c="",a,t,d=Math.min(e.line+n.linesAfter,r.length).toString().length,p=n.maxLength-(n.indent+d+3);for(a=1;a<=n.linesBefore&&!(o-a<0);a++)t=W(e.buffer,l[o-a],r[o-a],e.position-(l[o]-l[o-a]),p),c=w.repeat(" ",n.indent)+G((e.line-a+1).toString(),d)+" | "+t.str+`
|
||||
`+c;for(t=W(e.buffer,l[o],r[o],e.position,p),c+=w.repeat(" ",n.indent)+G((e.line+1).toString(),d)+" | "+t.str+`
|
||||
|
@ -32,7 +32,7 @@ import{h as f}from"./chunk-3QLLRM5L.js";function Ae(e){return typeof e=="undefin
|
|||
`:""}f(pi,"dump$1");var sr=pi,mr={dump:sr};function ne(e,n){return function(){throw new Error("Function yaml."+e+" is removed in js-yaml 4. Use yaml."+n+" instead, which is now safe by default.")}}f(ne,"renamed");var vr=ze,Ar=Hn.load,yr=Hn.loadAll,_r=mr.dump,wr=ne("safeLoad","load"),Cr=ne("safeLoadAll","loadAll"),Sr=ne("safeDump","dump");export{vr as a,Ar as b};
|
||||
/*! Bundled license information:
|
||||
|
||||
mermaid/dist/chunks/mermaid.core/chunk-RDESMYQM.mjs:
|
||||
mermaid/dist/chunks/mermaid.core/chunk-S3SWNSAA.mjs:
|
||||
(*! Bundled license information:
|
||||
|
||||
js-yaml/dist/js-yaml.mjs:
|
|
@ -1 +1 @@
|
|||
import{h as g}from"./chunk-3QLLRM5L.js";var b=g(({flowchart:i})=>{var t,p,r,s;let e=(p=(t=i==null?void 0:i.subGraphTitleMargin)==null?void 0:t.top)!=null?p:0,n=(s=(r=i==null?void 0:i.subGraphTitleMargin)==null?void 0:r.bottom)!=null?s:0,T=e+n;return{subGraphTitleTopMargin:e,subGraphTitleBottomMargin:n,subGraphTitleTotalMargin:T}},"getSubGraphTitleMargins");export{b as a};
|
||||
import{h as g}from"./chunk-KRX7QNR4.js";var b=g(({flowchart:i})=>{var t,p,r,s;let e=(p=(t=i==null?void 0:i.subGraphTitleMargin)==null?void 0:t.top)!=null?p:0,n=(s=(r=i==null?void 0:i.subGraphTitleMargin)==null?void 0:r.bottom)!=null?s:0,T=e+n;return{subGraphTitleTopMargin:e,subGraphTitleBottomMargin:n,subGraphTitleTotalMargin:T}},"getSubGraphTitleMargins");export{b as a};
|
1
static/assets/chunk-W7LTUAGZ.js
Normal file
1
static/assets/chunk-W7LTUAGZ.js
Normal file
|
@ -0,0 +1 @@
|
|||
var r="11.4.1";export{r as a};
|
|
@ -1 +0,0 @@
|
|||
var r="11.4.0";export{r as a};
|
|
@ -1,4 +1,4 @@
|
|||
import{o as ge}from"./chunk-HFFTYNMA.js";import{K as X,M as he,N as ue,Z as fe,h as m,ia as P,j as pe}from"./chunk-3QLLRM5L.js";import{a as b,b as A,j as k,k as ce,l as v}from"./chunk-MGYUK2XN.js";function de(a){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];var s=Array.from(typeof a=="string"?[a]:a);s[s.length-1]=s[s.length-1].replace(/\r?\n([\t ]*)$/,"");var n=s.reduce(function(l,o){var c=o.match(/\n([\t ]+|(?!\s).)/g);return c?l.concat(c.map(function(p){var h,u;return(u=(h=p.match(/[\t ]/g))===null||h===void 0?void 0:h.length)!==null&&u!==void 0?u:0})):l},[]);if(n.length){var r=new RegExp(`
|
||||
import{o as ge}from"./chunk-47P5NBBB.js";import{K as X,M as he,N as ue,Z as fe,h as m,ia as P,j as pe}from"./chunk-KRX7QNR4.js";import{a as b,b as A,j as k,k as ce,l as v}from"./chunk-MGYUK2XN.js";function de(a){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];var s=Array.from(typeof a=="string"?[a]:a);s[s.length-1]=s[s.length-1].replace(/\r?\n([\t ]*)$/,"");var n=s.reduce(function(l,o){var c=o.match(/\n([\t ]+|(?!\s).)/g);return c?l.concat(c.map(function(p){var h,u;return(u=(h=p.match(/[\t ]/g))===null||h===void 0?void 0:h.length)!==null&&u!==void 0?u:0})):l},[]);if(n.length){var r=new RegExp(`
|
||||
[ ]{`+Math.min.apply(Math,n)+"}","g");s=s.map(function(l){return l.replace(r,`
|
||||
`)})}s[0]=s[0].replace(/^\r?\n/,"");var i=s[0];return e.forEach(function(l,o){var c=i.match(/(?:^|\n)( *)$/),p=c?c[1]:"",h=l;typeof l=="string"&&l.includes(`
|
||||
`)&&(h=String(l).split(`
|
|
@ -1 +0,0 @@
|
|||
import{a as e,b as a,c as i,d as s}from"./chunk-Q5YZKTUL.js";import"./chunk-3JJH2D3F.js";import"./chunk-WXHYUPIN.js";import"./chunk-BOD4ZWPQ.js";import"./chunk-24CS6DUF.js";import"./chunk-YJYNUSAM.js";import"./chunk-5JJWRCP3.js";import"./chunk-E34HJRR4.js";import"./chunk-MCENFELV.js";import"./chunk-HFFTYNMA.js";import"./chunk-XHGORZV2.js";import{h as t}from"./chunk-3QLLRM5L.js";import"./chunk-24JW6VB3.js";import"./chunk-MGYUK2XN.js";var g={parser:e,db:a,renderer:s,styles:i,init:t(r=>{r.class||(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute,a.clear()},"init")};export{g as diagram};
|
1
static/assets/classDiagram-LNE6IOMH-QE5QBIDP.js
Normal file
1
static/assets/classDiagram-LNE6IOMH-QE5QBIDP.js
Normal file
|
@ -0,0 +1 @@
|
|||
import{a as e,b as a,c as i,d as s}from"./chunk-IJWB56EA.js";import"./chunk-BQJTSJOB.js";import"./chunk-5JLOMFCN.js";import"./chunk-IDH2HD35.js";import"./chunk-FIA6NTGC.js";import"./chunk-JVEBZTDG.js";import"./chunk-VW6A6SAT.js";import"./chunk-NCYNIMJ4.js";import"./chunk-ZPWCXWQI.js";import"./chunk-47P5NBBB.js";import"./chunk-XHGORZV2.js";import{h as t}from"./chunk-KRX7QNR4.js";import"./chunk-24JW6VB3.js";import"./chunk-MGYUK2XN.js";var g={parser:e,db:a,renderer:s,styles:i,init:t(r=>{r.class||(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute,a.clear()},"init")};export{g as diagram};
|
1
static/assets/classDiagram-v2-MQ7JQ4JX-6A4BS74I.js
Normal file
1
static/assets/classDiagram-v2-MQ7JQ4JX-6A4BS74I.js
Normal file
|
@ -0,0 +1 @@
|
|||
import{a as e,b as a,c as i,d as s}from"./chunk-IJWB56EA.js";import"./chunk-BQJTSJOB.js";import"./chunk-5JLOMFCN.js";import"./chunk-IDH2HD35.js";import"./chunk-FIA6NTGC.js";import"./chunk-JVEBZTDG.js";import"./chunk-VW6A6SAT.js";import"./chunk-NCYNIMJ4.js";import"./chunk-ZPWCXWQI.js";import"./chunk-47P5NBBB.js";import"./chunk-XHGORZV2.js";import{h as t}from"./chunk-KRX7QNR4.js";import"./chunk-24JW6VB3.js";import"./chunk-MGYUK2XN.js";var g={parser:e,db:a,renderer:s,styles:i,init:t(r=>{r.class||(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute,a.clear()},"init")};export{g as diagram};
|
|
@ -1 +0,0 @@
|
|||
import{a as e,b as a,c as i,d as s}from"./chunk-Q5YZKTUL.js";import"./chunk-3JJH2D3F.js";import"./chunk-WXHYUPIN.js";import"./chunk-BOD4ZWPQ.js";import"./chunk-24CS6DUF.js";import"./chunk-YJYNUSAM.js";import"./chunk-5JJWRCP3.js";import"./chunk-E34HJRR4.js";import"./chunk-MCENFELV.js";import"./chunk-HFFTYNMA.js";import"./chunk-XHGORZV2.js";import{h as t}from"./chunk-3QLLRM5L.js";import"./chunk-24JW6VB3.js";import"./chunk-MGYUK2XN.js";var g={parser:e,db:a,renderer:s,styles:i,init:t(r=>{r.class||(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute,a.clear()},"init")};export{g as diagram};
|
File diff suppressed because one or more lines are too long
|
@ -1,4 +1,4 @@
|
|||
import{a as A}from"./chunk-3TJGQJWJ.js";import{a as D}from"./chunk-XC24IWTK.js";import{a as E}from"./chunk-E4RBDSW5.js";import"./chunk-NKCQAART.js";import"./chunk-WNVR7S66.js";import"./chunk-ZP5QXAVO.js";import{l as x}from"./chunk-HFFTYNMA.js";import"./chunk-XHGORZV2.js";import{D as y,O as w,S as B,T as S,U as F,V as z,W as P,X as W,Y as T,h as n,j as v,v as $}from"./chunk-3QLLRM5L.js";import"./chunk-UY4K4Z6W.js";import"./chunk-TZMIYTTY.js";import"./chunk-SA2EGKJT.js";import"./chunk-WYMAA4MH.js";import"./chunk-SISR4MA5.js";import"./chunk-24JW6VB3.js";import{a as m}from"./chunk-MGYUK2XN.js";var _={packet:[]},C=structuredClone(_),Y=$.packet,I=n(()=>{let t=x(m(m({},Y),y().packet));return t.showBits&&(t.paddingY+=10),t},"getConfig"),M=n(()=>C.packet,"getPacket"),O=n(t=>{t.length>0&&C.packet.push(t)},"pushWord"),G=n(()=>{B(),C=structuredClone(_)},"clear"),h={pushWord:O,getPacket:M,getConfig:I,clear:G,setAccTitle:S,getAccTitle:F,setDiagramTitle:W,getDiagramTitle:T,getAccDescription:P,setAccDescription:z},H=1e4,K=n(t=>{A(t,h);let e=-1,o=[],i=1,{bitsPerRow:s}=h.getConfig();for(let{start:r,end:a,label:p}of t.blocks){if(a&&a<r)throw new Error(`Packet block ${r} - ${a} is invalid. End must be greater than start.`);if(r!==e+1)throw new Error(`Packet block ${r} - ${a!=null?a:r} is not contiguous. It should start from ${e+1}.`);for(e=a!=null?a:r,v.debug(`Packet block ${r} - ${e} with label ${p}`);o.length<=s+1&&h.getPacket().length<H;){let[b,c]=R({start:r,end:a,label:p},i,s);if(o.push(b),b.end+1===i*s&&(h.pushWord(o),o=[],i++),!c)break;({start:r,end:a,label:p}=c)}}h.pushWord(o)},"populate"),R=n((t,e,o)=>{if(t.end===void 0&&(t.end=t.start),t.start>t.end)throw new Error(`Block start ${t.start} is greater than block end ${t.end}.`);return t.end+1<=e*o?[t,void 0]:[{start:t.start,end:e*o-1,label:t.label},{start:e*o,end:t.end,label:t.label}]},"getNextFittingBlock"),U={parse:n(async t=>{let e=await E("packet",t);v.debug(e),K(e)},"parse")},X=n((t,e,o,i)=>{let s=i.db,r=s.getConfig(),{rowHeight:a,paddingY:p,bitWidth:b,bitsPerRow:c}=r,u=s.getPacket(),l=s.getDiagramTitle(),g=a+p,d=g*(u.length+1)-(l?0:a),k=b*c+2,f=D(e);f.attr("viewbox",`0 0 ${k} ${d}`),w(f,d,k,r.useMaxWidth);for(let[N,L]of u.entries())j(f,L,N,r);f.append("text").text(l).attr("x",k/2).attr("y",d-g/2).attr("dominant-baseline","middle").attr("text-anchor","middle").attr("class","packetTitle")},"draw"),j=n((t,e,o,{rowHeight:i,paddingX:s,paddingY:r,bitWidth:a,bitsPerRow:p,showBits:b})=>{let c=t.append("g"),u=o*(i+r)+r;for(let l of e){let g=l.start%p*a+1,d=(l.end-l.start+1)*a-s;if(c.append("rect").attr("x",g).attr("y",u).attr("width",d).attr("height",i).attr("class","packetBlock"),c.append("text").attr("x",g+d/2).attr("y",u+i/2).attr("class","packetLabel").attr("dominant-baseline","middle").attr("text-anchor","middle").text(l.label),!b)continue;let k=l.end===l.start,f=u-2;c.append("text").attr("x",g+(k?d/2:0)).attr("y",f).attr("class","packetByte start").attr("dominant-baseline","auto").attr("text-anchor",k?"middle":"start").text(l.start),k||c.append("text").attr("x",g+d).attr("y",f).attr("class","packetByte end").attr("dominant-baseline","auto").attr("text-anchor","end").text(l.end)}},"drawWord"),q={draw:X},J={byteFontSize:"10px",startByteColor:"black",endByteColor:"black",labelColor:"black",labelFontSize:"12px",titleColor:"black",titleFontSize:"14px",blockStrokeColor:"black",blockStrokeWidth:"1",blockFillColor:"#efefef"},Q=n(({packet:t}={})=>{let e=x(J,t);return`
|
||||
import{a as A}from"./chunk-MF5TUIBL.js";import{a as D}from"./chunk-5XJO6U7A.js";import{a as E}from"./chunk-E4RBDSW5.js";import"./chunk-NKCQAART.js";import"./chunk-WNVR7S66.js";import"./chunk-ZP5QXAVO.js";import{l as x}from"./chunk-47P5NBBB.js";import"./chunk-XHGORZV2.js";import{D as y,O as w,S as B,T as S,U as F,V as z,W as P,X as W,Y as T,h as n,j as v,v as $}from"./chunk-KRX7QNR4.js";import"./chunk-UY4K4Z6W.js";import"./chunk-TZMIYTTY.js";import"./chunk-SA2EGKJT.js";import"./chunk-WYMAA4MH.js";import"./chunk-SISR4MA5.js";import"./chunk-24JW6VB3.js";import{a as m}from"./chunk-MGYUK2XN.js";var _={packet:[]},C=structuredClone(_),Y=$.packet,I=n(()=>{let t=x(m(m({},Y),y().packet));return t.showBits&&(t.paddingY+=10),t},"getConfig"),M=n(()=>C.packet,"getPacket"),O=n(t=>{t.length>0&&C.packet.push(t)},"pushWord"),G=n(()=>{B(),C=structuredClone(_)},"clear"),h={pushWord:O,getPacket:M,getConfig:I,clear:G,setAccTitle:S,getAccTitle:F,setDiagramTitle:W,getDiagramTitle:T,getAccDescription:P,setAccDescription:z},H=1e4,K=n(t=>{A(t,h);let e=-1,o=[],i=1,{bitsPerRow:s}=h.getConfig();for(let{start:r,end:a,label:p}of t.blocks){if(a&&a<r)throw new Error(`Packet block ${r} - ${a} is invalid. End must be greater than start.`);if(r!==e+1)throw new Error(`Packet block ${r} - ${a!=null?a:r} is not contiguous. It should start from ${e+1}.`);for(e=a!=null?a:r,v.debug(`Packet block ${r} - ${e} with label ${p}`);o.length<=s+1&&h.getPacket().length<H;){let[b,c]=R({start:r,end:a,label:p},i,s);if(o.push(b),b.end+1===i*s&&(h.pushWord(o),o=[],i++),!c)break;({start:r,end:a,label:p}=c)}}h.pushWord(o)},"populate"),R=n((t,e,o)=>{if(t.end===void 0&&(t.end=t.start),t.start>t.end)throw new Error(`Block start ${t.start} is greater than block end ${t.end}.`);return t.end+1<=e*o?[t,void 0]:[{start:t.start,end:e*o-1,label:t.label},{start:e*o,end:t.end,label:t.label}]},"getNextFittingBlock"),U={parse:n(async t=>{let e=await E("packet",t);v.debug(e),K(e)},"parse")},X=n((t,e,o,i)=>{let s=i.db,r=s.getConfig(),{rowHeight:a,paddingY:p,bitWidth:b,bitsPerRow:c}=r,u=s.getPacket(),l=s.getDiagramTitle(),g=a+p,d=g*(u.length+1)-(l?0:a),k=b*c+2,f=D(e);f.attr("viewbox",`0 0 ${k} ${d}`),w(f,d,k,r.useMaxWidth);for(let[N,L]of u.entries())j(f,L,N,r);f.append("text").text(l).attr("x",k/2).attr("y",d-g/2).attr("dominant-baseline","middle").attr("text-anchor","middle").attr("class","packetTitle")},"draw"),j=n((t,e,o,{rowHeight:i,paddingX:s,paddingY:r,bitWidth:a,bitsPerRow:p,showBits:b})=>{let c=t.append("g"),u=o*(i+r)+r;for(let l of e){let g=l.start%p*a+1,d=(l.end-l.start+1)*a-s;if(c.append("rect").attr("x",g).attr("y",u).attr("width",d).attr("height",i).attr("class","packetBlock"),c.append("text").attr("x",g+d/2).attr("y",u+i/2).attr("class","packetLabel").attr("dominant-baseline","middle").attr("text-anchor","middle").text(l.label),!b)continue;let k=l.end===l.start,f=u-2;c.append("text").attr("x",g+(k?d/2:0)).attr("y",f).attr("class","packetByte start").attr("dominant-baseline","auto").attr("text-anchor",k?"middle":"start").text(l.start),k||c.append("text").attr("x",g+d).attr("y",f).attr("class","packetByte end").attr("dominant-baseline","auto").attr("text-anchor","end").text(l.end)}},"drawWord"),q={draw:X},J={byteFontSize:"10px",startByteColor:"black",endByteColor:"black",labelColor:"black",labelFontSize:"12px",titleColor:"black",titleFontSize:"14px",blockStrokeColor:"black",blockStrokeWidth:"1",blockFillColor:"#efefef"},Q=n(({packet:t}={})=>{let e=x(J,t);return`
|
||||
.packetByte {
|
||||
font-size: ${e.byteFontSize};
|
||||
}
|
File diff suppressed because one or more lines are too long
|
@ -1,4 +1,4 @@
|
|||
import{a as ft,b as bt}from"./chunk-FCAZCHV6.js";import{a as Et,b as St}from"./chunk-3JJH2D3F.js";import{b as At,c as mt}from"./chunk-WXHYUPIN.js";import"./chunk-BOD4ZWPQ.js";import{g as gt}from"./chunk-24CS6DUF.js";import"./chunk-YJYNUSAM.js";import"./chunk-5JJWRCP3.js";import"./chunk-E34HJRR4.js";import"./chunk-MCENFELV.js";import{m as ee,p as kt}from"./chunk-HFFTYNMA.js";import"./chunk-XHGORZV2.js";import{$ as pt,N as it,S as nt,T as ut,U as ot,V as lt,W as ct,X as ht,Y as dt,Z as v1,_ as ke,b as rt,c as at,h as o,ia as f1,j as Z}from"./chunk-3QLLRM5L.js";import"./chunk-24JW6VB3.js";import{a as fe,b as be}from"./chunk-MGYUK2XN.js";var Ot="flowchart-",Dt=0,z1=v1(),m1=new Map,Y=[],j1=new Map,b1=[],Ee=new Map,Se=new Map,te=0,Ae=!0,J,re,ae=[],ie=o(e=>it.sanitizeText(e,z1),"sanitizeText"),ne=o(function(e){for(let r of m1.values())if(r.id===e)return r.domId;return e},"lookUpDomId"),Gt=o(function(e,r,a,i,u,c,b={},A){var x,M;if(!e||e.trim().length===0)return;let h,l=m1.get(e);if(l===void 0&&(l={id:e,labelType:"text",domId:Ot+e+"-"+Dt,styles:[],classes:[]},m1.set(e,l)),Dt++,r!==void 0?(z1=v1(),h=ie(r.text.trim()),l.labelType=r.type,h.startsWith('"')&&h.endsWith('"')&&(h=h.substring(1,h.length-1)),l.text=h):l.text===void 0&&(l.text=e),a!==void 0&&(l.type=a),i!=null&&i.forEach(function(_){l.styles.push(_)}),u!=null&&u.forEach(function(_){l.classes.push(_)}),c!==void 0&&(l.dir=c),l.props===void 0?l.props=b:b!==void 0&&Object.assign(l.props,b),A!==void 0){let _;A.includes(`
|
||||
import{a as ft,b as bt}from"./chunk-VJZZWRCC.js";import{a as Et,b as St}from"./chunk-BQJTSJOB.js";import{b as At,c as mt}from"./chunk-5JLOMFCN.js";import"./chunk-IDH2HD35.js";import{g as gt}from"./chunk-FIA6NTGC.js";import"./chunk-JVEBZTDG.js";import"./chunk-VW6A6SAT.js";import"./chunk-NCYNIMJ4.js";import"./chunk-ZPWCXWQI.js";import{m as ee,p as kt}from"./chunk-47P5NBBB.js";import"./chunk-XHGORZV2.js";import{$ as pt,N as it,S as nt,T as ut,U as ot,V as lt,W as ct,X as ht,Y as dt,Z as v1,_ as ke,b as rt,c as at,h as o,ia as f1,j as Z}from"./chunk-KRX7QNR4.js";import"./chunk-24JW6VB3.js";import{a as fe,b as be}from"./chunk-MGYUK2XN.js";var Ot="flowchart-",Dt=0,z1=v1(),m1=new Map,Y=[],j1=new Map,b1=[],Ee=new Map,Se=new Map,te=0,Ae=!0,J,re,ae=[],ie=o(e=>it.sanitizeText(e,z1),"sanitizeText"),ne=o(function(e){for(let r of m1.values())if(r.id===e)return r.domId;return e},"lookUpDomId"),Gt=o(function(e,r,a,i,u,c,b={},A){var x,M;if(!e||e.trim().length===0)return;let h,l=m1.get(e);if(l===void 0&&(l={id:e,labelType:"text",domId:Ot+e+"-"+Dt,styles:[],classes:[]},m1.set(e,l)),Dt++,r!==void 0?(z1=v1(),h=ie(r.text.trim()),l.labelType=r.type,h.startsWith('"')&&h.endsWith('"')&&(h=h.substring(1,h.length-1)),l.text=h):l.text===void 0&&(l.text=e),a!==void 0&&(l.type=a),i!=null&&i.forEach(function(_){l.styles.push(_)}),u!=null&&u.forEach(function(_){l.classes.push(_)}),c!==void 0&&(l.dir=c),l.props===void 0?l.props=b:b!==void 0&&Object.assign(l.props,b),A!==void 0){let _;A.includes(`
|
||||
`)?_=A+`
|
||||
`:_=`{
|
||||
`+A+`
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,2 +1,2 @@
|
|||
import{a as s}from"./chunk-YVH3MUTW.js";import{a as i}from"./chunk-XC24IWTK.js";import{a as g}from"./chunk-E4RBDSW5.js";import"./chunk-NKCQAART.js";import"./chunk-WNVR7S66.js";import"./chunk-ZP5QXAVO.js";import{O as n,h as r,j as a}from"./chunk-3QLLRM5L.js";import"./chunk-UY4K4Z6W.js";import"./chunk-TZMIYTTY.js";import"./chunk-SA2EGKJT.js";import"./chunk-WYMAA4MH.js";import"./chunk-SISR4MA5.js";import"./chunk-24JW6VB3.js";import"./chunk-MGYUK2XN.js";var v={parse:r(async e=>{let t=await g("info",e);a.debug(t)},"parse")},d={version:s},m=r(()=>d.version,"getVersion"),c={getVersion:m},f=r((e,t,p)=>{a.debug(`rendering info diagram
|
||||
import{a as s}from"./chunk-W7LTUAGZ.js";import{a as i}from"./chunk-5XJO6U7A.js";import{a as g}from"./chunk-E4RBDSW5.js";import"./chunk-NKCQAART.js";import"./chunk-WNVR7S66.js";import"./chunk-ZP5QXAVO.js";import{O as n,h as r,j as a}from"./chunk-KRX7QNR4.js";import"./chunk-UY4K4Z6W.js";import"./chunk-TZMIYTTY.js";import"./chunk-SA2EGKJT.js";import"./chunk-WYMAA4MH.js";import"./chunk-SISR4MA5.js";import"./chunk-24JW6VB3.js";import"./chunk-MGYUK2XN.js";var v={parse:r(async e=>{let t=await g("info",e);a.debug(t)},"parse")},d={version:s},m=r(()=>d.version,"getVersion"),c={getVersion:m},f=r((e,t,p)=>{a.debug(`rendering info diagram
|
||||
`+e);let o=i(t);n(o,100,400,!0),o.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${p}`)},"draw"),l={draw:f},y={parser:v,db:c,renderer:l};export{y as diagram};
|
|
@ -1,4 +1,4 @@
|
|||
import{a as yt,b as dt,c as ft,f as U}from"./chunk-6QRB5FN5.js";import"./chunk-XHGORZV2.js";import{Da as H,O as nt,S as st,T as at,U as lt,V as ot,W as ct,X as ht,Y as ut,Z as E,h as n,ia as z}from"./chunk-3QLLRM5L.js";import"./chunk-MGYUK2XN.js";var J=function(){var t=n(function(g,r,a,l){for(a=a||{},l=g.length;l--;a[g[l]]=r);return a},"o"),e=[6,8,10,11,12,14,16,17,18],s=[1,9],c=[1,10],i=[1,11],u=[1,12],h=[1,13],p=[1,14],d={trace:n(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:n(function(r,a,l,y,f,o,S){var _=o.length-1;switch(f){case 1:return o[_-1];case 2:this.$=[];break;case 3:o[_-1].push(o[_]),this.$=o[_-1];break;case 4:case 5:this.$=o[_];break;case 6:case 7:this.$=[];break;case 8:y.setDiagramTitle(o[_].substr(6)),this.$=o[_].substr(6);break;case 9:this.$=o[_].trim(),y.setAccTitle(this.$);break;case 10:case 11:this.$=o[_].trim(),y.setAccDescription(this.$);break;case 12:y.addSection(o[_].substr(8)),this.$=o[_].substr(8);break;case 13:y.addTask(o[_-1],o[_]),this.$="task";break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:s,12:c,14:i,16:u,17:h,18:p},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:s,12:c,14:i,16:u,17:h,18:p},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:n(function(r,a){if(a.recoverable)this.trace(r);else{var l=new Error(r);throw l.hash=a,l}},"parseError"),parse:n(function(r){var a=this,l=[0],y=[],f=[null],o=[],S=this.table,_="",B=0,D=0,tt=0,Tt=2,et=1,St=o.slice.call(arguments,1),k=Object.create(this.lexer),P={yy:{}};for(var Y in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Y)&&(P.yy[Y]=this.yy[Y]);k.setInput(r,P.yy),P.yy.lexer=k,P.yy.parser=this,typeof k.yylloc=="undefined"&&(k.yylloc={});var q=k.yylloc;o.push(q);var Mt=k.options&&k.options.ranges;typeof P.yy.parseError=="function"?this.parseError=P.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function $t(v){l.length=l.length-2*v,f.length=f.length-v,o.length=o.length-v}n($t,"popStack");function rt(){var v;return v=y.pop()||k.lex()||et,typeof v!="number"&&(v instanceof Array&&(y=v,v=y.pop()),v=a.symbols_[v]||v),v}n(rt,"lex");for(var b,G,I,w,Ut,W,C={},N,M,it,j;;){if(I=l[l.length-1],this.defaultActions[I]?w=this.defaultActions[I]:((b===null||typeof b=="undefined")&&(b=rt()),w=S[I]&&S[I][b]),typeof w=="undefined"||!w.length||!w[0]){var X="";j=[];for(N in S[I])this.terminals_[N]&&N>Tt&&j.push("'"+this.terminals_[N]+"'");k.showPosition?X="Parse error on line "+(B+1)+`:
|
||||
import{a as yt,b as dt,c as ft,f as U}from"./chunk-L3A5WJI3.js";import"./chunk-XHGORZV2.js";import{Da as H,O as nt,S as st,T as at,U as lt,V as ot,W as ct,X as ht,Y as ut,Z as E,h as n,ia as z}from"./chunk-KRX7QNR4.js";import"./chunk-MGYUK2XN.js";var J=function(){var t=n(function(g,r,a,l){for(a=a||{},l=g.length;l--;a[g[l]]=r);return a},"o"),e=[6,8,10,11,12,14,16,17,18],s=[1,9],c=[1,10],i=[1,11],u=[1,12],h=[1,13],p=[1,14],d={trace:n(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:n(function(r,a,l,y,f,o,S){var _=o.length-1;switch(f){case 1:return o[_-1];case 2:this.$=[];break;case 3:o[_-1].push(o[_]),this.$=o[_-1];break;case 4:case 5:this.$=o[_];break;case 6:case 7:this.$=[];break;case 8:y.setDiagramTitle(o[_].substr(6)),this.$=o[_].substr(6);break;case 9:this.$=o[_].trim(),y.setAccTitle(this.$);break;case 10:case 11:this.$=o[_].trim(),y.setAccDescription(this.$);break;case 12:y.addSection(o[_].substr(8)),this.$=o[_].substr(8);break;case 13:y.addTask(o[_-1],o[_]),this.$="task";break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:s,12:c,14:i,16:u,17:h,18:p},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:s,12:c,14:i,16:u,17:h,18:p},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:n(function(r,a){if(a.recoverable)this.trace(r);else{var l=new Error(r);throw l.hash=a,l}},"parseError"),parse:n(function(r){var a=this,l=[0],y=[],f=[null],o=[],S=this.table,_="",B=0,D=0,tt=0,Tt=2,et=1,St=o.slice.call(arguments,1),k=Object.create(this.lexer),P={yy:{}};for(var Y in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Y)&&(P.yy[Y]=this.yy[Y]);k.setInput(r,P.yy),P.yy.lexer=k,P.yy.parser=this,typeof k.yylloc=="undefined"&&(k.yylloc={});var q=k.yylloc;o.push(q);var Mt=k.options&&k.options.ranges;typeof P.yy.parseError=="function"?this.parseError=P.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function $t(v){l.length=l.length-2*v,f.length=f.length-v,o.length=o.length-v}n($t,"popStack");function rt(){var v;return v=y.pop()||k.lex()||et,typeof v!="number"&&(v instanceof Array&&(y=v,v=y.pop()),v=a.symbols_[v]||v),v}n(rt,"lex");for(var b,G,I,w,Ut,W,C={},N,M,it,j;;){if(I=l[l.length-1],this.defaultActions[I]?w=this.defaultActions[I]:((b===null||typeof b=="undefined")&&(b=rt()),w=S[I]&&S[I][b]),typeof w=="undefined"||!w.length||!w[0]){var X="";j=[];for(N in S[I])this.terminals_[N]&&N>Tt&&j.push("'"+this.terminals_[N]+"'");k.showPosition?X="Parse error on line "+(B+1)+`:
|
||||
`+k.showPosition()+`
|
||||
Expecting `+j.join(", ")+", got '"+(this.terminals_[b]||b)+"'":X="Parse error on line "+(B+1)+": Unexpected "+(b==et?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(X,{text:k.match,token:this.terminals_[b]||b,line:k.yylineno,loc:q,expected:j})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+I+", token: "+b);switch(w[0]){case 1:l.push(b),f.push(k.yytext),o.push(k.yylloc),l.push(w[1]),b=null,G?(b=G,G=null):(D=k.yyleng,_=k.yytext,B=k.yylineno,q=k.yylloc,tt>0&&tt--);break;case 2:if(M=this.productions_[w[1]][1],C.$=f[f.length-M],C._$={first_line:o[o.length-(M||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(M||1)].first_column,last_column:o[o.length-1].last_column},Mt&&(C._$.range=[o[o.length-(M||1)].range[0],o[o.length-1].range[1]]),W=this.performAction.apply(C,[_,D,B,P.yy,w[1],f,o].concat(St)),typeof W!="undefined")return W;M&&(l=l.slice(0,-1*M*2),f=f.slice(0,-1*M),o=o.slice(0,-1*M)),l.push(this.productions_[w[1]][0]),f.push(C.$),o.push(C._$),it=S[l[l.length-2]][l[l.length-1]],l.push(it);break;case 3:return!0}}return!0},"parse")},x=function(){var g={EOF:1,parseError:n(function(a,l){if(this.yy.parser)this.yy.parser.parseError(a,l);else throw new Error(a)},"parseError"),setInput:n(function(r,a){return this.yy=a||this.yy||{},this._input=r,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:n(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var a=r.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},"input"),unput:n(function(r){var a=r.length,l=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var y=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),l.length-1&&(this.yylineno-=l.length-1);var f=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:l?(l.length===y.length?this.yylloc.first_column:0)+y[y.length-l.length].length-l[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[f[0],f[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},"unput"),more:n(function(){return this._more=!0,this},"more"),reject:n(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
||||
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:n(function(r){this.unput(this.match.slice(r))},"less"),pastInput:n(function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:n(function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:n(function(){var r=this.pastInput(),a=new Array(r.length+1).join("-");return r+this.upcomingInput()+`
|
|
@ -1,4 +1,4 @@
|
|||
import{a as me}from"./chunk-XC24IWTK.js";import{a as pe,b as fe}from"./chunk-FCAZCHV6.js";import{e as be,h as ye,k as ke}from"./chunk-24CS6DUF.js";import"./chunk-5JJWRCP3.js";import"./chunk-E34HJRR4.js";import"./chunk-MCENFELV.js";import"./chunk-HFFTYNMA.js";import"./chunk-XHGORZV2.js";import{H as V,P as de,Z as M,d as ge,e as ne,f as ie,h as c,j as q,v as X}from"./chunk-3QLLRM5L.js";import"./chunk-24JW6VB3.js";import"./chunk-MGYUK2XN.js";var re=function(){var e=c(function(p,i,t,a){for(t=t||{},a=p.length;a--;t[p[a]]=i);return t},"o"),d=[1,4],f=[1,13],s=[1,12],k=[1,15],_=[1,16],u=[1,20],b=[1,19],D=[6,7,8],g=[1,26],O=[1,24],L=[1,25],m=[6,7,11],I=[1,31],r=[6,7,11,24],B=[1,6,13,16,17,20,23],U=[1,35],j=[1,36],A=[1,6,7,11,13,16,17,20,23],H=[1,38],F={trace:c(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:c(function(i,t,a,l,h,n,C){var o=n.length-1;switch(h){case 6:case 7:return l;case 8:l.getLogger().trace("Stop NL ");break;case 9:l.getLogger().trace("Stop EOF ");break;case 11:l.getLogger().trace("Stop NL2 ");break;case 12:l.getLogger().trace("Stop EOF2 ");break;case 15:l.getLogger().info("Node: ",n[o-1].id),l.addNode(n[o-2].length,n[o-1].id,n[o-1].descr,n[o-1].type,n[o]);break;case 16:l.getLogger().info("Node: ",n[o].id),l.addNode(n[o-1].length,n[o].id,n[o].descr,n[o].type);break;case 17:l.getLogger().trace("Icon: ",n[o]),l.decorateNode({icon:n[o]});break;case 18:case 23:l.decorateNode({class:n[o]});break;case 19:l.getLogger().trace("SPACELIST");break;case 20:l.getLogger().trace("Node: ",n[o-1].id),l.addNode(0,n[o-1].id,n[o-1].descr,n[o-1].type,n[o]);break;case 21:l.getLogger().trace("Node: ",n[o].id),l.addNode(0,n[o].id,n[o].descr,n[o].type);break;case 22:l.decorateNode({icon:n[o]});break;case 27:l.getLogger().trace("node found ..",n[o-2]),this.$={id:n[o-1],descr:n[o-1],type:l.getType(n[o-2],n[o])};break;case 28:this.$={id:n[o],descr:n[o],type:0};break;case 29:l.getLogger().trace("node found ..",n[o-3]),this.$={id:n[o-3],descr:n[o-1],type:l.getType(n[o-2],n[o])};break;case 30:this.$=n[o-1]+n[o];break;case 31:this.$=n[o];break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:d},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:d},{6:f,7:[1,10],9:9,12:11,13:s,14:14,16:k,17:_,18:17,19:18,20:u,23:b},e(D,[2,3]),{1:[2,2]},e(D,[2,4]),e(D,[2,5]),{1:[2,6],6:f,12:21,13:s,14:14,16:k,17:_,18:17,19:18,20:u,23:b},{6:f,9:22,12:11,13:s,14:14,16:k,17:_,18:17,19:18,20:u,23:b},{6:g,7:O,10:23,11:L},e(m,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:u,23:b}),e(m,[2,19]),e(m,[2,21],{15:30,24:I}),e(m,[2,22]),e(m,[2,23]),e(r,[2,25]),e(r,[2,26]),e(r,[2,28],{20:[1,32]}),{21:[1,33]},{6:g,7:O,10:34,11:L},{1:[2,7],6:f,12:21,13:s,14:14,16:k,17:_,18:17,19:18,20:u,23:b},e(B,[2,14],{7:U,11:j}),e(A,[2,8]),e(A,[2,9]),e(A,[2,10]),e(m,[2,16],{15:37,24:I}),e(m,[2,17]),e(m,[2,18]),e(m,[2,20],{24:H}),e(r,[2,31]),{21:[1,39]},{22:[1,40]},e(B,[2,13],{7:U,11:j}),e(A,[2,11]),e(A,[2,12]),e(m,[2,15],{24:H}),e(r,[2,30]),{22:[1,41]},e(r,[2,27]),e(r,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:c(function(i,t){if(t.recoverable)this.trace(i);else{var a=new Error(i);throw a.hash=t,a}},"parseError"),parse:c(function(i){var t=this,a=[0],l=[],h=[null],n=[],C=this.table,o="",W=0,z=0,le=0,_e=2,ce=1,Se=n.slice.call(arguments,1),E=Object.create(this.lexer),R={yy:{}};for(var Q in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Q)&&(R.yy[Q]=this.yy[Q]);E.setInput(i,R.yy),R.yy.lexer=E,R.yy.parser=this,typeof E.yylloc=="undefined"&&(E.yylloc={});var Z=E.yylloc;n.push(Z);var Ne=E.options&&E.options.ranges;typeof R.yy.parseError=="function"?this.parseError=R.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function xe(N){a.length=a.length-2*N,h.length=h.length-N,n.length=n.length-N}c(xe,"popStack");function he(){var N;return N=l.pop()||E.lex()||ce,typeof N!="number"&&(N instanceof Array&&(l=N,N=l.pop()),N=t.symbols_[N]||N),N}c(he,"lex");for(var S,$,P,x,He,ee,G={},Y,w,ue,J;;){if(P=a[a.length-1],this.defaultActions[P]?x=this.defaultActions[P]:((S===null||typeof S=="undefined")&&(S=he()),x=C[P]&&C[P][S]),typeof x=="undefined"||!x.length||!x[0]){var te="";J=[];for(Y in C[P])this.terminals_[Y]&&Y>_e&&J.push("'"+this.terminals_[Y]+"'");E.showPosition?te="Parse error on line "+(W+1)+`:
|
||||
import{a as me}from"./chunk-5XJO6U7A.js";import{a as pe,b as fe}from"./chunk-VJZZWRCC.js";import{e as be,h as ye,k as ke}from"./chunk-FIA6NTGC.js";import"./chunk-VW6A6SAT.js";import"./chunk-NCYNIMJ4.js";import"./chunk-ZPWCXWQI.js";import"./chunk-47P5NBBB.js";import"./chunk-XHGORZV2.js";import{H as V,P as de,Z as M,d as ge,e as ne,f as ie,h as c,j as q,v as X}from"./chunk-KRX7QNR4.js";import"./chunk-24JW6VB3.js";import"./chunk-MGYUK2XN.js";var re=function(){var e=c(function(p,i,t,a){for(t=t||{},a=p.length;a--;t[p[a]]=i);return t},"o"),d=[1,4],f=[1,13],s=[1,12],k=[1,15],_=[1,16],u=[1,20],b=[1,19],D=[6,7,8],g=[1,26],O=[1,24],L=[1,25],m=[6,7,11],I=[1,31],r=[6,7,11,24],B=[1,6,13,16,17,20,23],U=[1,35],j=[1,36],A=[1,6,7,11,13,16,17,20,23],H=[1,38],F={trace:c(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:c(function(i,t,a,l,h,n,C){var o=n.length-1;switch(h){case 6:case 7:return l;case 8:l.getLogger().trace("Stop NL ");break;case 9:l.getLogger().trace("Stop EOF ");break;case 11:l.getLogger().trace("Stop NL2 ");break;case 12:l.getLogger().trace("Stop EOF2 ");break;case 15:l.getLogger().info("Node: ",n[o-1].id),l.addNode(n[o-2].length,n[o-1].id,n[o-1].descr,n[o-1].type,n[o]);break;case 16:l.getLogger().info("Node: ",n[o].id),l.addNode(n[o-1].length,n[o].id,n[o].descr,n[o].type);break;case 17:l.getLogger().trace("Icon: ",n[o]),l.decorateNode({icon:n[o]});break;case 18:case 23:l.decorateNode({class:n[o]});break;case 19:l.getLogger().trace("SPACELIST");break;case 20:l.getLogger().trace("Node: ",n[o-1].id),l.addNode(0,n[o-1].id,n[o-1].descr,n[o-1].type,n[o]);break;case 21:l.getLogger().trace("Node: ",n[o].id),l.addNode(0,n[o].id,n[o].descr,n[o].type);break;case 22:l.decorateNode({icon:n[o]});break;case 27:l.getLogger().trace("node found ..",n[o-2]),this.$={id:n[o-1],descr:n[o-1],type:l.getType(n[o-2],n[o])};break;case 28:this.$={id:n[o],descr:n[o],type:0};break;case 29:l.getLogger().trace("node found ..",n[o-3]),this.$={id:n[o-3],descr:n[o-1],type:l.getType(n[o-2],n[o])};break;case 30:this.$=n[o-1]+n[o];break;case 31:this.$=n[o];break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:d},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:d},{6:f,7:[1,10],9:9,12:11,13:s,14:14,16:k,17:_,18:17,19:18,20:u,23:b},e(D,[2,3]),{1:[2,2]},e(D,[2,4]),e(D,[2,5]),{1:[2,6],6:f,12:21,13:s,14:14,16:k,17:_,18:17,19:18,20:u,23:b},{6:f,9:22,12:11,13:s,14:14,16:k,17:_,18:17,19:18,20:u,23:b},{6:g,7:O,10:23,11:L},e(m,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:u,23:b}),e(m,[2,19]),e(m,[2,21],{15:30,24:I}),e(m,[2,22]),e(m,[2,23]),e(r,[2,25]),e(r,[2,26]),e(r,[2,28],{20:[1,32]}),{21:[1,33]},{6:g,7:O,10:34,11:L},{1:[2,7],6:f,12:21,13:s,14:14,16:k,17:_,18:17,19:18,20:u,23:b},e(B,[2,14],{7:U,11:j}),e(A,[2,8]),e(A,[2,9]),e(A,[2,10]),e(m,[2,16],{15:37,24:I}),e(m,[2,17]),e(m,[2,18]),e(m,[2,20],{24:H}),e(r,[2,31]),{21:[1,39]},{22:[1,40]},e(B,[2,13],{7:U,11:j}),e(A,[2,11]),e(A,[2,12]),e(m,[2,15],{24:H}),e(r,[2,30]),{22:[1,41]},e(r,[2,27]),e(r,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:c(function(i,t){if(t.recoverable)this.trace(i);else{var a=new Error(i);throw a.hash=t,a}},"parseError"),parse:c(function(i){var t=this,a=[0],l=[],h=[null],n=[],C=this.table,o="",W=0,z=0,le=0,_e=2,ce=1,Se=n.slice.call(arguments,1),E=Object.create(this.lexer),R={yy:{}};for(var Q in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Q)&&(R.yy[Q]=this.yy[Q]);E.setInput(i,R.yy),R.yy.lexer=E,R.yy.parser=this,typeof E.yylloc=="undefined"&&(E.yylloc={});var Z=E.yylloc;n.push(Z);var Ne=E.options&&E.options.ranges;typeof R.yy.parseError=="function"?this.parseError=R.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function xe(N){a.length=a.length-2*N,h.length=h.length-N,n.length=n.length-N}c(xe,"popStack");function he(){var N;return N=l.pop()||E.lex()||ce,typeof N!="number"&&(N instanceof Array&&(l=N,N=l.pop()),N=t.symbols_[N]||N),N}c(he,"lex");for(var S,$,P,x,He,ee,G={},Y,w,ue,J;;){if(P=a[a.length-1],this.defaultActions[P]?x=this.defaultActions[P]:((S===null||typeof S=="undefined")&&(S=he()),x=C[P]&&C[P][S]),typeof x=="undefined"||!x.length||!x[0]){var te="";J=[];for(Y in C[P])this.terminals_[Y]&&Y>_e&&J.push("'"+this.terminals_[Y]+"'");E.showPosition?te="Parse error on line "+(W+1)+`:
|
||||
`+E.showPosition()+`
|
||||
Expecting `+J.join(", ")+", got '"+(this.terminals_[S]||S)+"'":te="Parse error on line "+(W+1)+": Unexpected "+(S==ce?"end of input":"'"+(this.terminals_[S]||S)+"'"),this.parseError(te,{text:E.match,token:this.terminals_[S]||S,line:E.yylineno,loc:Z,expected:J})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+S);switch(x[0]){case 1:a.push(S),h.push(E.yytext),n.push(E.yylloc),a.push(x[1]),S=null,$?(S=$,$=null):(z=E.yyleng,o=E.yytext,W=E.yylineno,Z=E.yylloc,le>0&&le--);break;case 2:if(w=this.productions_[x[1]][1],G.$=h[h.length-w],G._$={first_line:n[n.length-(w||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(w||1)].first_column,last_column:n[n.length-1].last_column},Ne&&(G._$.range=[n[n.length-(w||1)].range[0],n[n.length-1].range[1]]),ee=this.performAction.apply(G,[o,z,W,R.yy,x[1],h,n].concat(Se)),typeof ee!="undefined")return ee;w&&(a=a.slice(0,-1*w*2),h=h.slice(0,-1*w),n=n.slice(0,-1*w)),a.push(this.productions_[x[1]][0]),h.push(G.$),n.push(G._$),ue=C[a[a.length-2]][a[a.length-1]],a.push(ue);break;case 3:return!0}}return!0},"parse")},K=function(){var p={EOF:1,parseError:c(function(t,a){if(this.yy.parser)this.yy.parser.parseError(t,a);else throw new Error(t)},"parseError"),setInput:c(function(i,t){return this.yy=t||this.yy||{},this._input=i,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:c(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var t=i.match(/(?:\r\n?|\n).*/g);return t?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:c(function(i){var t=i.length,a=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var l=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),a.length-1&&(this.yylineno-=a.length-1);var h=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:a?(a.length===l.length?this.yylloc.first_column:0)+l[l.length-a.length].length-a[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[h[0],h[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},"unput"),more:c(function(){return this._more=!0,this},"more"),reject:c(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
||||
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:c(function(i){this.unput(this.match.slice(i))},"less"),pastInput:c(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:c(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:c(function(){var i=this.pastInput(),t=new Array(i.length+1).join("-");return i+this.upcomingInput()+`
|
||||
|
@ -7,7 +7,7 @@ Expecting `+J.join(", ")+", got '"+(this.terminals_[S]||S)+"'":te="Parse error o
|
|||
`)?I=k+`
|
||||
`:I=`{
|
||||
`+k+`
|
||||
}`;let r=fe(I,{schema:pe});if(r.shape&&(r.shape!==r.shape.toLowerCase()||r.shape.includes("_")))throw new Error(`No such shape: ${r.shape}. Shape names should be lowercase.`);r!=null&&r.shape&&r.shape==="kanbanItem"&&(b.shape=r==null?void 0:r.shape),r!=null&&r.label&&(b.label=r==null?void 0:r.label),r!=null&&r.icon&&(b.icon=r==null?void 0:r.icon),r!=null&&r.assigned&&(b.assigned=r==null?void 0:r.assigned),r!=null&&r.ticket&&(b.ticket=r==null?void 0:r.ticket),r!=null&&r.priority&&(b.priority=r==null?void 0:r.priority)}let D=Le(e);D?b.parentId=D.id||"kbn"+se++:ae.push(b),v.push(b)},"addNode"),y={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},Ce=c((e,d)=>{switch(q.debug("In get type",e,d),e){case"[":return y.RECT;case"(":return d===")"?y.ROUNDED_RECT:y.CLOUD;case"((":return y.CIRCLE;case")":return y.CLOUD;case"))":return y.BANG;case"{{":return y.HEXAGON;default:return y.DEFAULT}},"getType"),we=c((e,d)=>{oe[e]=d},"setElementForId"),Ae=c(e=>{if(!e)return;let d=M(),f=v[v.length-1];e.icon&&(f.icon=V(e.icon,d)),e.class&&(f.cssClasses=V(e.class,d))},"decorateNode"),Te=c(e=>{switch(e){case y.DEFAULT:return"no-border";case y.RECT:return"rect";case y.ROUNDED_RECT:return"rounded-rect";case y.CIRCLE:return"circle";case y.CLOUD:return"cloud";case y.BANG:return"bang";case y.HEXAGON:return"hexgon";default:return"no-border"}},"type2Str"),Re=c(()=>q,"getLogger"),Pe=c(e=>oe[e],"getElementById"),Ve={clear:De,addNode:Ie,getSections:Ee,getData:Oe,nodeType:y,getType:Ce,setElementForId:we,decorateNode:Ae,type2Str:Te,getLogger:Re,getElementById:Pe},Be=Ve,Fe=c(async(e,d,f,s)=>{var U,j,A,H,F,K,T;q.debug(`Rendering kanban diagram
|
||||
}`;let r=fe(I,{schema:pe});if(r.shape&&(r.shape!==r.shape.toLowerCase()||r.shape.includes("_")))throw new Error(`No such shape: ${r.shape}. Shape names should be lowercase.`);r!=null&&r.shape&&r.shape==="kanbanItem"&&(b.shape=r==null?void 0:r.shape),r!=null&&r.label&&(b.label=r==null?void 0:r.label),r!=null&&r.icon&&(b.icon=r==null?void 0:r.icon.toString()),r!=null&&r.assigned&&(b.assigned=r==null?void 0:r.assigned.toString()),r!=null&&r.ticket&&(b.ticket=r==null?void 0:r.ticket.toString()),r!=null&&r.priority&&(b.priority=r==null?void 0:r.priority)}let D=Le(e);D?b.parentId=D.id||"kbn"+se++:ae.push(b),v.push(b)},"addNode"),y={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},Ce=c((e,d)=>{switch(q.debug("In get type",e,d),e){case"[":return y.RECT;case"(":return d===")"?y.ROUNDED_RECT:y.CLOUD;case"((":return y.CIRCLE;case")":return y.CLOUD;case"))":return y.BANG;case"{{":return y.HEXAGON;default:return y.DEFAULT}},"getType"),we=c((e,d)=>{oe[e]=d},"setElementForId"),Ae=c(e=>{if(!e)return;let d=M(),f=v[v.length-1];e.icon&&(f.icon=V(e.icon,d)),e.class&&(f.cssClasses=V(e.class,d))},"decorateNode"),Te=c(e=>{switch(e){case y.DEFAULT:return"no-border";case y.RECT:return"rect";case y.ROUNDED_RECT:return"rounded-rect";case y.CIRCLE:return"circle";case y.CLOUD:return"cloud";case y.BANG:return"bang";case y.HEXAGON:return"hexgon";default:return"no-border"}},"type2Str"),Re=c(()=>q,"getLogger"),Pe=c(e=>oe[e],"getElementById"),Ve={clear:De,addNode:Ie,getSections:Ee,getData:Oe,nodeType:y,getType:Ce,setElementForId:we,decorateNode:Ae,type2Str:Te,getLogger:Re,getElementById:Pe},Be=Ve,Fe=c(async(e,d,f,s)=>{var U,j,A,H,F,K,T;q.debug(`Rendering kanban diagram
|
||||
`+e);let _=s.db.getData(),u=M();u.htmlLabels=!1;let b=me(d),D=b.append("g");D.attr("class","sections");let g=b.append("g");g.attr("class","items");let O=_.nodes.filter(p=>p.isGroup),L=0,m=10,I=[],r=25;for(let p of O){let i=((U=u==null?void 0:u.kanban)==null?void 0:U.sectionWidth)||200;L=L+1,p.x=i*L+(L-1)*m/2,p.width=i,p.y=0,p.height=i*3,p.rx=5,p.ry=5,p.cssClasses=p.cssClasses+" section-"+L;let t=await be(D,p);r=Math.max(r,(j=t==null?void 0:t.labelBBox)==null?void 0:j.height),I.push(t)}let B=0;for(let p of O){let i=I[B];B=B+1;let t=((A=u==null?void 0:u.kanban)==null?void 0:A.sectionWidth)||200,a=-t*3/2+r,l=a,h=_.nodes.filter(o=>o.parentId===p.id);for(let o of h){if(o.isGroup)throw new Error("Groups within groups are not allowed in Kanban diagrams");o.x=p.x,o.width=t-1.5*m;let z=(await ye(g,o,{config:u})).node().getBBox();o.y=l+z.height/2,await ke(o),l=o.y+z.height/2+m/2}let n=i.cluster.select("rect"),C=Math.max(l-a+3*m,50)+(r-25);n.attr("height",C)}de(void 0,b,(F=(H=u.mindmap)==null?void 0:H.padding)!=null?F:X.kanban.padding,(T=(K=u.mindmap)==null?void 0:K.useMaxWidth)!=null?T:X.kanban.useMaxWidth)},"draw"),Ge={draw:Fe},Me=c(e=>{let d="";for(let s=0;s<e.THEME_COLOR_LIMIT;s++)e["lineColor"+s]=e["lineColor"+s]||e["cScaleInv"+s],ge(e["lineColor"+s])?e["lineColor"+s]=ne(e["lineColor"+s],20):e["lineColor"+s]=ie(e["lineColor"+s],20);let f=c((s,k)=>e.darkMode?ie(s,k):ne(s,k),"adjuster");for(let s=0;s<e.THEME_COLOR_LIMIT;s++){let k=""+(17-3*s);d+=`
|
||||
.section-${s-1} rect, .section-${s-1} path, .section-${s-1} circle, .section-${s-1} polygon, .section-${s-1} path {
|
||||
fill: ${f(e["cScale"+s],10)};
|
File diff suppressed because one or more lines are too long
18
static/assets/mermaid.core-PK4ATILI.js
Normal file
18
static/assets/mermaid.core-PK4ATILI.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,4 +1,4 @@
|
|||
import{a as q}from"./chunk-3TJGQJWJ.js";import{a as j}from"./chunk-XC24IWTK.js";import{a as H}from"./chunk-E4RBDSW5.js";import"./chunk-NKCQAART.js";import"./chunk-WNVR7S66.js";import"./chunk-ZP5QXAVO.js";import{k as V,l as Z}from"./chunk-HFFTYNMA.js";import"./chunk-XHGORZV2.js";import{Da as w,Ga as U,O as G,S as O,T as M,U as P,V as R,W as I,X as L,Y as W,Z as N,h as i,j as h,ka as B,v as F}from"./chunk-3QLLRM5L.js";import"./chunk-UY4K4Z6W.js";import"./chunk-TZMIYTTY.js";import"./chunk-SA2EGKJT.js";import"./chunk-WYMAA4MH.js";import"./chunk-SISR4MA5.js";import"./chunk-24JW6VB3.js";import"./chunk-MGYUK2XN.js";var J=F.pie,y={sections:new Map,showData:!1,config:J},v=y.sections,T=y.showData,ne=structuredClone(J),oe=i(()=>structuredClone(ne),"getConfig"),se=i(()=>{v=new Map,T=y.showData,O()},"clear"),le=i(({label:e,value:a})=>{v.has(e)||(v.set(e,a),h.debug(`added new section: ${e}, with value: ${a}`))},"addSection"),ce=i(()=>v,"getSections"),pe=i(e=>{T=e},"setShowData"),de=i(()=>T,"getShowData"),K={getConfig:oe,clear:se,setDiagramTitle:L,getDiagramTitle:W,setAccTitle:M,getAccTitle:P,setAccDescription:R,getAccDescription:I,addSection:le,getSections:ce,setShowData:pe,getShowData:de},ge=i((e,a)=>{q(e,a),a.setShowData(e.showData),e.sections.map(a.addSection)},"populateDb"),fe={parse:i(async e=>{let a=await H("pie",e);h.debug(a),ge(a,K)},"parse")},ue=i(e=>`
|
||||
import{a as q}from"./chunk-MF5TUIBL.js";import{a as j}from"./chunk-5XJO6U7A.js";import{a as H}from"./chunk-E4RBDSW5.js";import"./chunk-NKCQAART.js";import"./chunk-WNVR7S66.js";import"./chunk-ZP5QXAVO.js";import{k as V,l as Z}from"./chunk-47P5NBBB.js";import"./chunk-XHGORZV2.js";import{Da as w,Ga as U,O as G,S as O,T as M,U as P,V as R,W as I,X as L,Y as W,Z as N,h as i,j as h,ka as B,v as F}from"./chunk-KRX7QNR4.js";import"./chunk-UY4K4Z6W.js";import"./chunk-TZMIYTTY.js";import"./chunk-SA2EGKJT.js";import"./chunk-WYMAA4MH.js";import"./chunk-SISR4MA5.js";import"./chunk-24JW6VB3.js";import"./chunk-MGYUK2XN.js";var J=F.pie,y={sections:new Map,showData:!1,config:J},v=y.sections,T=y.showData,ne=structuredClone(J),oe=i(()=>structuredClone(ne),"getConfig"),se=i(()=>{v=new Map,T=y.showData,O()},"clear"),le=i(({label:e,value:a})=>{v.has(e)||(v.set(e,a),h.debug(`added new section: ${e}, with value: ${a}`))},"addSection"),ce=i(()=>v,"getSections"),pe=i(e=>{T=e},"setShowData"),de=i(()=>T,"getShowData"),K={getConfig:oe,clear:se,setDiagramTitle:L,getDiagramTitle:W,setAccTitle:M,getAccTitle:P,setAccDescription:R,getAccDescription:I,addSection:le,getSections:ce,setShowData:pe,getShowData:de},ge=i((e,a)=>{q(e,a),a.setShowData(e.showData),e.sections.map(a.addSection)},"populateDb"),fe={parse:i(async e=>{let a=await H("pie",e);h.debug(a),ge(a,K)},"parse")},ue=i(e=>`
|
||||
.pieCircle{
|
||||
stroke: ${e.pieStrokeColor};
|
||||
stroke-width : ${e.pieStrokeWidth};
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
static/assets/stateDiagram-v2-4JROLMXI-VMRUNBYI.js
Normal file
1
static/assets/stateDiagram-v2-4JROLMXI-VMRUNBYI.js
Normal file
|
@ -0,0 +1 @@
|
|||
import{a,b as i,c as r,d as o}from"./chunk-6KI6TUY3.js";import"./chunk-BQJTSJOB.js";import"./chunk-5JLOMFCN.js";import"./chunk-IDH2HD35.js";import"./chunk-FIA6NTGC.js";import"./chunk-JVEBZTDG.js";import"./chunk-VW6A6SAT.js";import"./chunk-NCYNIMJ4.js";import"./chunk-ZPWCXWQI.js";import"./chunk-47P5NBBB.js";import"./chunk-XHGORZV2.js";import{h as e}from"./chunk-KRX7QNR4.js";import"./chunk-24JW6VB3.js";import"./chunk-MGYUK2XN.js";var k={parser:a,db:r,renderer:i,styles:o,init:e(t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute,r.clear()},"init")};export{k as diagram};
|
|
@ -1 +0,0 @@
|
|||
import{a,b as i,c as r,d as o}from"./chunk-VWDTCB2M.js";import"./chunk-3JJH2D3F.js";import"./chunk-WXHYUPIN.js";import"./chunk-BOD4ZWPQ.js";import"./chunk-24CS6DUF.js";import"./chunk-YJYNUSAM.js";import"./chunk-5JJWRCP3.js";import"./chunk-E34HJRR4.js";import"./chunk-MCENFELV.js";import"./chunk-HFFTYNMA.js";import"./chunk-XHGORZV2.js";import{h as e}from"./chunk-3QLLRM5L.js";import"./chunk-24JW6VB3.js";import"./chunk-MGYUK2XN.js";var k={parser:a,db:r,renderer:i,styles:o,init:e(t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute,r.clear()},"init")};export{k as diagram};
|
|
@ -1,4 +1,4 @@
|
|||
import{Da as Y,P as ct,R as ht,S as dt,Z as ut,d as st,e as at,f as lt,h as s,i as ot,ia as B,j as S}from"./chunk-3QLLRM5L.js";import"./chunk-MGYUK2XN.js";var D=function(){var n=s(function(f,i,a,d){for(a=a||{},d=f.length;d--;a[f[d]]=i);return a},"o"),t=[6,8,10,11,12,14,16,17,20,21],e=[1,9],l=[1,10],r=[1,11],h=[1,12],c=[1,13],g=[1,16],m=[1,17],p={trace:s(function(){},"trace"),yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,period_statement:18,event_statement:19,period:20,event:21,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",20:"period",21:"event"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,1],[18,1],[19,1]],performAction:s(function(i,a,d,u,y,o,E){var k=o.length-1;switch(y){case 1:return o[k-1];case 2:this.$=[];break;case 3:o[k-1].push(o[k]),this.$=o[k-1];break;case 4:case 5:this.$=o[k];break;case 6:case 7:this.$=[];break;case 8:u.getCommonDb().setDiagramTitle(o[k].substr(6)),this.$=o[k].substr(6);break;case 9:this.$=o[k].trim(),u.getCommonDb().setAccTitle(this.$);break;case 10:case 11:this.$=o[k].trim(),u.getCommonDb().setAccDescription(this.$);break;case 12:u.addSection(o[k].substr(8)),this.$=o[k].substr(8);break;case 15:u.addTask(o[k],0,""),this.$=o[k];break;case 16:u.addEvent(o[k].substr(2)),this.$=o[k];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},n(t,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:e,12:l,14:r,16:h,17:c,18:14,19:15,20:g,21:m},n(t,[2,7],{1:[2,1]}),n(t,[2,3]),{9:18,11:e,12:l,14:r,16:h,17:c,18:14,19:15,20:g,21:m},n(t,[2,5]),n(t,[2,6]),n(t,[2,8]),{13:[1,19]},{15:[1,20]},n(t,[2,11]),n(t,[2,12]),n(t,[2,13]),n(t,[2,14]),n(t,[2,15]),n(t,[2,16]),n(t,[2,4]),n(t,[2,9]),n(t,[2,10])],defaultActions:{},parseError:s(function(i,a){if(a.recoverable)this.trace(i);else{var d=new Error(i);throw d.hash=a,d}},"parseError"),parse:s(function(i){var a=this,d=[0],u=[],y=[null],o=[],E=this.table,k="",M=0,H=0,z=0,rt=2,G=1,q=o.slice.call(arguments,1),b=Object.create(this.lexer),N={yy:{}};for(var V in this.yy)Object.prototype.hasOwnProperty.call(this.yy,V)&&(N.yy[V]=this.yy[V]);b.setInput(i,N.yy),N.yy.lexer=b,N.yy.parser=this,typeof b.yylloc=="undefined"&&(b.yylloc={});var L=b.yylloc;o.push(L);var w=b.options&&b.options.ranges;typeof N.yy.parseError=="function"?this.parseError=N.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function $(T){d.length=d.length-2*T,y.length=y.length-T,o.length=o.length-T}s($,"popStack");function C(){var T;return T=u.pop()||b.lex()||G,typeof T!="number"&&(T instanceof Array&&(u=T,T=u.pop()),T=a.symbols_[T]||T),T}s(C,"lex");for(var _,R,P,I,Jt,Q,W={},U,A,it,Z;;){if(P=d[d.length-1],this.defaultActions[P]?I=this.defaultActions[P]:((_===null||typeof _=="undefined")&&(_=C()),I=E[P]&&E[P][_]),typeof I=="undefined"||!I.length||!I[0]){var X="";Z=[];for(U in E[P])this.terminals_[U]&&U>rt&&Z.push("'"+this.terminals_[U]+"'");b.showPosition?X="Parse error on line "+(M+1)+`:
|
||||
import{Da as Y,P as ct,R as ht,S as dt,Z as ut,d as st,e as at,f as lt,h as s,i as ot,ia as B,j as S}from"./chunk-KRX7QNR4.js";import"./chunk-MGYUK2XN.js";var D=function(){var n=s(function(f,i,a,d){for(a=a||{},d=f.length;d--;a[f[d]]=i);return a},"o"),t=[6,8,10,11,12,14,16,17,20,21],e=[1,9],l=[1,10],r=[1,11],h=[1,12],c=[1,13],g=[1,16],m=[1,17],p={trace:s(function(){},"trace"),yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,period_statement:18,event_statement:19,period:20,event:21,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",20:"period",21:"event"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,1],[18,1],[19,1]],performAction:s(function(i,a,d,u,y,o,E){var k=o.length-1;switch(y){case 1:return o[k-1];case 2:this.$=[];break;case 3:o[k-1].push(o[k]),this.$=o[k-1];break;case 4:case 5:this.$=o[k];break;case 6:case 7:this.$=[];break;case 8:u.getCommonDb().setDiagramTitle(o[k].substr(6)),this.$=o[k].substr(6);break;case 9:this.$=o[k].trim(),u.getCommonDb().setAccTitle(this.$);break;case 10:case 11:this.$=o[k].trim(),u.getCommonDb().setAccDescription(this.$);break;case 12:u.addSection(o[k].substr(8)),this.$=o[k].substr(8);break;case 15:u.addTask(o[k],0,""),this.$=o[k];break;case 16:u.addEvent(o[k].substr(2)),this.$=o[k];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},n(t,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:e,12:l,14:r,16:h,17:c,18:14,19:15,20:g,21:m},n(t,[2,7],{1:[2,1]}),n(t,[2,3]),{9:18,11:e,12:l,14:r,16:h,17:c,18:14,19:15,20:g,21:m},n(t,[2,5]),n(t,[2,6]),n(t,[2,8]),{13:[1,19]},{15:[1,20]},n(t,[2,11]),n(t,[2,12]),n(t,[2,13]),n(t,[2,14]),n(t,[2,15]),n(t,[2,16]),n(t,[2,4]),n(t,[2,9]),n(t,[2,10])],defaultActions:{},parseError:s(function(i,a){if(a.recoverable)this.trace(i);else{var d=new Error(i);throw d.hash=a,d}},"parseError"),parse:s(function(i){var a=this,d=[0],u=[],y=[null],o=[],E=this.table,k="",M=0,H=0,z=0,rt=2,G=1,q=o.slice.call(arguments,1),b=Object.create(this.lexer),N={yy:{}};for(var V in this.yy)Object.prototype.hasOwnProperty.call(this.yy,V)&&(N.yy[V]=this.yy[V]);b.setInput(i,N.yy),N.yy.lexer=b,N.yy.parser=this,typeof b.yylloc=="undefined"&&(b.yylloc={});var L=b.yylloc;o.push(L);var w=b.options&&b.options.ranges;typeof N.yy.parseError=="function"?this.parseError=N.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function $(T){d.length=d.length-2*T,y.length=y.length-T,o.length=o.length-T}s($,"popStack");function C(){var T;return T=u.pop()||b.lex()||G,typeof T!="number"&&(T instanceof Array&&(u=T,T=u.pop()),T=a.symbols_[T]||T),T}s(C,"lex");for(var _,R,P,I,Jt,Q,W={},U,A,it,Z;;){if(P=d[d.length-1],this.defaultActions[P]?I=this.defaultActions[P]:((_===null||typeof _=="undefined")&&(_=C()),I=E[P]&&E[P][_]),typeof I=="undefined"||!I.length||!I[0]){var X="";Z=[];for(U in E[P])this.terminals_[U]&&U>rt&&Z.push("'"+this.terminals_[U]+"'");b.showPosition?X="Parse error on line "+(M+1)+`:
|
||||
`+b.showPosition()+`
|
||||
Expecting `+Z.join(", ")+", got '"+(this.terminals_[_]||_)+"'":X="Parse error on line "+(M+1)+": Unexpected "+(_==G?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(X,{text:b.match,token:this.terminals_[_]||_,line:b.yylineno,loc:L,expected:Z})}if(I[0]instanceof Array&&I.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+_);switch(I[0]){case 1:d.push(_),y.push(b.yytext),o.push(b.yylloc),d.push(I[1]),_=null,R?(_=R,R=null):(H=b.yyleng,k=b.yytext,M=b.yylineno,L=b.yylloc,z>0&&z--);break;case 2:if(A=this.productions_[I[1]][1],W.$=y[y.length-A],W._$={first_line:o[o.length-(A||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(A||1)].first_column,last_column:o[o.length-1].last_column},w&&(W._$.range=[o[o.length-(A||1)].range[0],o[o.length-1].range[1]]),Q=this.performAction.apply(W,[k,H,M,N.yy,I[1],y,o].concat(q)),typeof Q!="undefined")return Q;A&&(d=d.slice(0,-1*A*2),y=y.slice(0,-1*A),o=o.slice(0,-1*A)),d.push(this.productions_[I[1]][0]),y.push(W.$),o.push(W._$),it=E[d[d.length-2]][d[d.length-1]],d.push(it);break;case 3:return!0}}return!0},"parse")},x=function(){var f={EOF:1,parseError:s(function(a,d){if(this.yy.parser)this.yy.parser.parseError(a,d);else throw new Error(a)},"parseError"),setInput:s(function(i,a){return this.yy=a||this.yy||{},this._input=i,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:s(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var a=i.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:s(function(i){var a=i.length,d=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var u=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),d.length-1&&(this.yylineno-=d.length-1);var y=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:d?(d.length===u.length?this.yylloc.first_column:0)+u[u.length-d.length].length-d[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[y[0],y[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},"unput"),more:s(function(){return this._more=!0,this},"more"),reject:s(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
||||
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:s(function(i){this.unput(this.match.slice(i))},"less"),pastInput:s(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:s(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:s(function(){var i=this.pastInput(),a=new Array(i.length+1).join("-");return i+this.upcomingInput()+`
|
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue