UNPKG

epic-designer-gold

Version:

基于vue3的设计器,可视化开发页面表单

293 lines 70 kB
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./mermaid.core-amipJqhv.cjs"),rt=require("dayjs"),Tt=require("./_commonjsHelpers-DwTZ_eVU.cjs"),St=require("./linear-BRwdqJ9Z.cjs"),wn=require("./init-CHZsXQcr.cjs");function Dn(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n<r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let i of t)(i=e(i,++r,t))!=null&&(n<i||n===void 0&&i>=i)&&(n=i)}return n}function Cn(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let i of t)(i=e(i,++r,t))!=null&&(n>i||n===void 0&&i>=i)&&(n=i)}return n}function Mn(t){return t}var Bt=1,ne=2,he=3,jt=4,Ee=1e-6;function Sn(t){return"translate("+t+",0)"}function Yn(t){return"translate(0,"+t+")"}function Fn(t){return e=>+t(e)}function Un(t,e){return e=Math.max(0,t.bandwidth()-e*2)/2,t.round()&&(e=Math.round(e)),n=>+t(n)+e}function En(){return!this.__axis}function Be(t,e){var n=[],r=null,i=null,s=6,u=6,m=3,F=typeof window<"u"&&window.devicePixelRatio>1?0:.5,C=t===Bt||t===jt?-1:1,k=t===jt||t===ne?"x":"y",I=t===Bt||t===he?Sn:Yn;function S(M){var j=r??(e.ticks?e.ticks.apply(e,n):e.domain()),A=i??(e.tickFormat?e.tickFormat.apply(e,n):Mn),U=Math.max(s,0)+m,L=e.range(),N=+L[0]+F,W=+L[L.length-1]+F,Z=(e.bandwidth?Un:Fn)(e.copy(),F),X=M.selection?M.selection():M,p=X.selectAll(".domain").data([null]),g=X.selectAll(".tick").data(j,e).order(),y=g.exit(),h=g.enter().append("g").attr("class","tick"),w=g.select("line"),b=g.select("text");p=p.merge(p.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),g=g.merge(h),w=w.merge(h.append("line").attr("stroke","currentColor").attr(k+"2",C*s)),b=b.merge(h.append("text").attr("fill","currentColor").attr(k,C*U).attr("dy",t===Bt?"0em":t===he?"0.71em":"0.32em")),M!==X&&(p=p.transition(M),g=g.transition(M),w=w.transition(M),b=b.transition(M),y=y.transition(M).attr("opacity",Ee).attr("transform",function(T){return isFinite(T=Z(T))?I(T+F):this.getAttribute("transform")}),h.attr("opacity",Ee).attr("transform",function(T){var v=this.parentNode.__axis;return I((v&&isFinite(v=v(T))?v:Z(T))+F)})),y.remove(),p.attr("d",t===jt||t===ne?u?"M"+C*u+","+N+"H"+F+"V"+W+"H"+C*u:"M"+F+","+N+"V"+W:u?"M"+N+","+C*u+"V"+F+"H"+W+"V"+C*u:"M"+N+","+F+"H"+W),g.attr("opacity",1).attr("transform",function(T){return I(Z(T)+F)}),w.attr(k+"2",C*s),b.attr(k,C*U).text(A),X.filter(En).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===ne?"start":t===jt?"end":"middle"),X.each(function(){this.__axis=Z})}return S.scale=function(M){return arguments.length?(e=M,S):e},S.ticks=function(){return n=Array.from(arguments),S},S.tickArguments=function(M){return arguments.length?(n=M==null?[]:Array.from(M),S):n.slice()},S.tickValues=function(M){return arguments.length?(r=M==null?null:Array.from(M),S):r&&r.slice()},S.tickFormat=function(M){return arguments.length?(i=M,S):i},S.tickSize=function(M){return arguments.length?(s=u=+M,S):s},S.tickSizeInner=function(M){return arguments.length?(s=+M,S):s},S.tickSizeOuter=function(M){return arguments.length?(u=+M,S):u},S.tickPadding=function(M){return arguments.length?(m=+M,S):m},S.offset=function(M){return arguments.length?(F=+M,S):F},S}function Ln(t){return Be(Bt,t)}function In(t){return Be(he,t)}const An=Math.PI/180,Wn=180/Math.PI,Xt=18,qe=.96422,Ge=1,Xe=.82521,Qe=4/29,Yt=6/29,Je=3*Yt*Yt,On=Yt*Yt*Yt;function Ke(t){if(t instanceof ft)return new ft(t.l,t.a,t.b,t.opacity);if(t instanceof ht)return tn(t);t instanceof c.Rgb||(t=c.rgbConvert(t));var e=se(t.r),n=se(t.g),r=se(t.b),i=re((.2225045*e+.7168786*n+.0606169*r)/Ge),s,u;return e===n&&n===r?s=u=i:(s=re((.4360747*e+.3850649*n+.1430804*r)/qe),u=re((.0139322*e+.0971045*n+.7141733*r)/Xe)),new ft(116*i-16,500*(s-i),200*(i-u),t.opacity)}function $n(t,e,n,r){return arguments.length===1?Ke(t):new ft(t,e,n,r??1)}function ft(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}c.define(ft,$n,c.extend(c.Color$1,{brighter(t){return new ft(this.l+Xt*(t??1),this.a,this.b,this.opacity)},darker(t){return new ft(this.l-Xt*(t??1),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return e=qe*ie(e),t=Ge*ie(t),n=Xe*ie(n),new c.Rgb(ae(3.1338561*e-1.6168667*t-.4906146*n),ae(-.9787684*e+1.9161415*t+.033454*n),ae(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}}));function re(t){return t>On?Math.pow(t,1/3):t/Je+Qe}function ie(t){return t>Yt?t*t*t:Je*(t-Qe)}function ae(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function se(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function Hn(t){if(t instanceof ht)return new ht(t.h,t.c,t.l,t.opacity);if(t instanceof ft||(t=Ke(t)),t.a===0&&t.b===0)return new ht(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*Wn;return new ht(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function me(t,e,n,r){return arguments.length===1?Hn(t):new ht(t,e,n,r??1)}function ht(t,e,n,r){this.h=+t,this.c=+e,this.l=+n,this.opacity=+r}function tn(t){if(isNaN(t.h))return new ft(t.l,0,0,t.opacity);var e=t.h*An;return new ft(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}c.define(ht,me,c.extend(c.Color$1,{brighter(t){return new ht(this.h,this.c,this.l+Xt*(t??1),this.opacity)},darker(t){return new ht(this.h,this.c,this.l-Xt*(t??1),this.opacity)},rgb(){return tn(this).rgb()}}));function Nn(t){return function(e,n){var r=t((e=me(e)).h,(n=me(n)).h),i=c.nogamma(e.c,n.c),s=c.nogamma(e.l,n.l),u=c.nogamma(e.opacity,n.opacity);return function(m){return e.h=r(m),e.c=i(m),e.l=s(m),e.opacity=u(m),e+""}}}const Pn=Nn(c.hue);function Vn(t,e){t=t.slice();var n=0,r=t.length-1,i=t[n],s=t[r],u;return s<i&&(u=n,n=r,r=u,u=i,i=s,s=u),t[n]=e.floor(i),t[r]=e.ceil(s),t}const oe=new Date,ce=new Date;function et(t,e,n,r){function i(s){return t(s=arguments.length===0?new Date:new Date(+s)),s}return i.floor=s=>(t(s=new Date(+s)),s),i.ceil=s=>(t(s=new Date(s-1)),e(s,1),t(s),s),i.round=s=>{const u=i(s),m=i.ceil(s);return s-u<m-s?u:m},i.offset=(s,u)=>(e(s=new Date(+s),u==null?1:Math.floor(u)),s),i.range=(s,u,m)=>{const F=[];if(s=i.ceil(s),m=m==null?1:Math.floor(m),!(s<u)||!(m>0))return F;let C;do F.push(C=new Date(+s)),e(s,m),t(s);while(C<s&&s<u);return F},i.filter=s=>et(u=>{if(u>=u)for(;t(u),!s(u);)u.setTime(u-1)},(u,m)=>{if(u>=u)if(m<0)for(;++m<=0;)for(;e(u,-1),!s(u););else for(;--m>=0;)for(;e(u,1),!s(u););}),n&&(i.count=(s,u)=>(oe.setTime(+s),ce.setTime(+u),t(oe),t(ce),Math.floor(n(oe,ce))),i.every=s=>(s=Math.floor(s),!isFinite(s)||!(s>0)?null:s>1?i.filter(r?u=>r(u)%s===0:u=>i.count(0,u)%s===0):i)),i}const Ut=et(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);Ut.every=t=>(t=Math.floor(t),!isFinite(t)||!(t>0)?null:t>1?et(e=>{e.setTime(Math.floor(e/t)*t)},(e,n)=>{e.setTime(+e+n*t)},(e,n)=>(n-e)/t):Ut);Ut.range;const mt=1e3,ct=mt*60,gt=ct*60,yt=gt*24,ve=yt*7,Le=yt*30,ue=yt*365,vt=et(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+e*mt)},(t,e)=>(e-t)/mt,t=>t.getUTCSeconds());vt.range;const Ot=et(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*mt)},(t,e)=>{t.setTime(+t+e*ct)},(t,e)=>(e-t)/ct,t=>t.getMinutes());Ot.range;const zn=et(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+e*ct)},(t,e)=>(e-t)/ct,t=>t.getUTCMinutes());zn.range;const $t=et(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*mt-t.getMinutes()*ct)},(t,e)=>{t.setTime(+t+e*gt)},(t,e)=>(e-t)/gt,t=>t.getHours());$t.range;const Rn=et(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+e*gt)},(t,e)=>(e-t)/gt,t=>t.getUTCHours());Rn.range;const xt=et(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*ct)/yt,t=>t.getDate()-1);xt.range;const Te=et(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/yt,t=>t.getUTCDate()-1);Te.range;const Zn=et(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/yt,t=>Math.floor(t/yt));Zn.range;function wt(t){return et(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(e,n)=>{e.setDate(e.getDate()+n*7)},(e,n)=>(n-e-(n.getTimezoneOffset()-e.getTimezoneOffset())*ct)/ve)}const Pt=wt(0),Ht=wt(1),en=wt(2),nn=wt(3),_t=wt(4),rn=wt(5),an=wt(6);Pt.range;Ht.range;en.range;nn.range;_t.range;rn.range;an.range;function Dt(t){return et(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCDate(e.getUTCDate()+n*7)},(e,n)=>(n-e)/ve)}const sn=Dt(0),Qt=Dt(1),jn=Dt(2),Bn=Dt(3),Et=Dt(4),qn=Dt(5),Gn=Dt(6);sn.range;Qt.range;jn.range;Bn.range;Et.range;qn.range;Gn.range;const Nt=et(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth());Nt.range;const Xn=et(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth());Xn.range;const kt=et(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());kt.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:et(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,n)=>{e.setFullYear(e.getFullYear()+n*t)});kt.range;const bt=et(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());bt.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:et(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCFullYear(e.getUTCFullYear()+n*t)});bt.range;function Qn(t,e,n,r,i,s){const u=[[vt,1,mt],[vt,5,5*mt],[vt,15,15*mt],[vt,30,30*mt],[s,1,ct],[s,5,5*ct],[s,15,15*ct],[s,30,30*ct],[i,1,gt],[i,3,3*gt],[i,6,6*gt],[i,12,12*gt],[r,1,yt],[r,2,2*yt],[n,1,ve],[e,1,Le],[e,3,3*Le],[t,1,ue]];function m(C,k,I){const S=k<C;S&&([C,k]=[k,C]);const M=I&&typeof I.range=="function"?I:F(C,k,I),j=M?M.range(C,+k+1):[];return S?j.reverse():j}function F(C,k,I){const S=Math.abs(k-C)/I,M=St.bisector(([,,U])=>U).right(u,S);if(M===u.length)return t.every(St.tickStep(C/ue,k/ue,I));if(M===0)return Ut.every(Math.max(St.tickStep(C,k,I),1));const[j,A]=u[S/u[M-1][2]<u[M][2]/S?M-1:M];return j.every(A)}return[m,F]}const[Jn,Kn]=Qn(kt,Nt,Pt,xt,$t,Ot);function le(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function fe(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function It(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}function tr(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,s=t.days,u=t.shortDays,m=t.months,F=t.shortMonths,C=At(i),k=Wt(i),I=At(s),S=Wt(s),M=At(u),j=Wt(u),A=At(m),U=Wt(m),L=At(F),N=Wt(F),W={a:_,A:Y,b:o,B:q,c:null,d:He,e:He,f:br,g:Lr,G:Ar,H:Tr,I:xr,j:_r,L:on,m:wr,M:Dr,p:a,q:E,Q:Ve,s:ze,S:Cr,u:Mr,U:Sr,V:Yr,w:Fr,W:Ur,x:null,X:null,y:Er,Y:Ir,Z:Wr,"%":Pe},Z={a:R,A:z,b:P,B:K,c:null,d:Ne,e:Ne,f:Nr,g:Xr,G:Jr,H:Or,I:$r,j:Hr,L:un,m:Pr,M:Vr,p:$,q:at,Q:Ve,s:ze,S:zr,u:Rr,U:Zr,V:jr,w:Br,W:qr,x:null,X:null,y:Gr,Y:Qr,Z:Kr,"%":Pe},X={a:w,A:b,b:T,B:v,c:l,d:Oe,e:Oe,f:yr,g:We,G:Ae,H:$e,I:$e,j:dr,L:gr,m:fr,M:hr,p:h,q:lr,Q:pr,s:vr,S:mr,u:ar,U:sr,V:or,w:ir,W:cr,x:d,X:x,y:We,Y:Ae,Z:ur,"%":kr};W.x=p(n,W),W.X=p(r,W),W.c=p(e,W),Z.x=p(n,Z),Z.X=p(r,Z),Z.c=p(e,Z);function p(D,H){return function(V){var f=[],J=-1,O=0,Q=D.length,G,it,st;for(V instanceof Date||(V=new Date(+V));++J<Q;)D.charCodeAt(J)===37&&(f.push(D.slice(O,J)),(it=Ie[G=D.charAt(++J)])!=null?G=D.charAt(++J):it=G==="e"?" ":"0",(st=H[G])&&(G=st(V,it)),f.push(G),O=J+1);return f.push(D.slice(O,J)),f.join("")}}function g(D,H){return function(V){var f=It(1900,void 0,1),J=y(f,D,V+="",0),O,Q;if(J!=V.length)return null;if("Q"in f)return new Date(f.Q);if("s"in f)return new Date(f.s*1e3+("L"in f?f.L:0));if(H&&!("Z"in f)&&(f.Z=0),"p"in f&&(f.H=f.H%12+f.p*12),f.m===void 0&&(f.m="q"in f?f.q:0),"V"in f){if(f.V<1||f.V>53)return null;"w"in f||(f.w=1),"Z"in f?(O=fe(It(f.y,0,1)),Q=O.getUTCDay(),O=Q>4||Q===0?Qt.ceil(O):Qt(O),O=Te.offset(O,(f.V-1)*7),f.y=O.getUTCFullYear(),f.m=O.getUTCMonth(),f.d=O.getUTCDate()+(f.w+6)%7):(O=le(It(f.y,0,1)),Q=O.getDay(),O=Q>4||Q===0?Ht.ceil(O):Ht(O),O=xt.offset(O,(f.V-1)*7),f.y=O.getFullYear(),f.m=O.getMonth(),f.d=O.getDate()+(f.w+6)%7)}else("W"in f||"U"in f)&&("w"in f||(f.w="u"in f?f.u%7:"W"in f?1:0),Q="Z"in f?fe(It(f.y,0,1)).getUTCDay():le(It(f.y,0,1)).getDay(),f.m=0,f.d="W"in f?(f.w+6)%7+f.W*7-(Q+5)%7:f.w+f.U*7-(Q+6)%7);return"Z"in f?(f.H+=f.Z/100|0,f.M+=f.Z%100,fe(f)):le(f)}}function y(D,H,V,f){for(var J=0,O=H.length,Q=V.length,G,it;J<O;){if(f>=Q)return-1;if(G=H.charCodeAt(J++),G===37){if(G=H.charAt(J++),it=X[G in Ie?H.charAt(J++):G],!it||(f=it(D,V,f))<0)return-1}else if(G!=V.charCodeAt(f++))return-1}return f}function h(D,H,V){var f=C.exec(H.slice(V));return f?(D.p=k.get(f[0].toLowerCase()),V+f[0].length):-1}function w(D,H,V){var f=M.exec(H.slice(V));return f?(D.w=j.get(f[0].toLowerCase()),V+f[0].length):-1}function b(D,H,V){var f=I.exec(H.slice(V));return f?(D.w=S.get(f[0].toLowerCase()),V+f[0].length):-1}function T(D,H,V){var f=L.exec(H.slice(V));return f?(D.m=N.get(f[0].toLowerCase()),V+f[0].length):-1}function v(D,H,V){var f=A.exec(H.slice(V));return f?(D.m=U.get(f[0].toLowerCase()),V+f[0].length):-1}function l(D,H,V){return y(D,e,H,V)}function d(D,H,V){return y(D,n,H,V)}function x(D,H,V){return y(D,r,H,V)}function _(D){return u[D.getDay()]}function Y(D){return s[D.getDay()]}function o(D){return F[D.getMonth()]}function q(D){return m[D.getMonth()]}function a(D){return i[+(D.getHours()>=12)]}function E(D){return 1+~~(D.getMonth()/3)}function R(D){return u[D.getUTCDay()]}function z(D){return s[D.getUTCDay()]}function P(D){return F[D.getUTCMonth()]}function K(D){return m[D.getUTCMonth()]}function $(D){return i[+(D.getUTCHours()>=12)]}function at(D){return 1+~~(D.getUTCMonth()/3)}return{format:function(D){var H=p(D+="",W);return H.toString=function(){return D},H},parse:function(D){var H=g(D+="",!1);return H.toString=function(){return D},H},utcFormat:function(D){var H=p(D+="",Z);return H.toString=function(){return D},H},utcParse:function(D){var H=g(D+="",!0);return H.toString=function(){return D},H}}}var Ie={"-":"",_:" ",0:"0"},nt=/^\s*\d+/,er=/^%/,nr=/[\\^$*+?|[\]().{}]/g;function B(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",s=i.length;return r+(s<n?new Array(n-s+1).join(e)+i:i)}function rr(t){return t.replace(nr,"\\$&")}function At(t){return new RegExp("^(?:"+t.map(rr).join("|")+")","i")}function Wt(t){return new Map(t.map((e,n)=>[e.toLowerCase(),n]))}function ir(t,e,n){var r=nt.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function ar(t,e,n){var r=nt.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function sr(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function or(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function cr(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function Ae(t,e,n){var r=nt.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function We(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function ur(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function lr(t,e,n){var r=nt.exec(e.slice(n,n+1));return r?(t.q=r[0]*3-3,n+r[0].length):-1}function fr(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function Oe(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function dr(t,e,n){var r=nt.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function $e(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function hr(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function mr(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function gr(t,e,n){var r=nt.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function yr(t,e,n){var r=nt.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function kr(t,e,n){var r=er.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function pr(t,e,n){var r=nt.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function vr(t,e,n){var r=nt.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function He(t,e){return B(t.getDate(),e,2)}function Tr(t,e){return B(t.getHours(),e,2)}function xr(t,e){return B(t.getHours()%12||12,e,2)}function _r(t,e){return B(1+xt.count(kt(t),t),e,3)}function on(t,e){return B(t.getMilliseconds(),e,3)}function br(t,e){return on(t,e)+"000"}function wr(t,e){return B(t.getMonth()+1,e,2)}function Dr(t,e){return B(t.getMinutes(),e,2)}function Cr(t,e){return B(t.getSeconds(),e,2)}function Mr(t){var e=t.getDay();return e===0?7:e}function Sr(t,e){return B(Pt.count(kt(t)-1,t),e,2)}function cn(t){var e=t.getDay();return e>=4||e===0?_t(t):_t.ceil(t)}function Yr(t,e){return t=cn(t),B(_t.count(kt(t),t)+(kt(t).getDay()===4),e,2)}function Fr(t){return t.getDay()}function Ur(t,e){return B(Ht.count(kt(t)-1,t),e,2)}function Er(t,e){return B(t.getFullYear()%100,e,2)}function Lr(t,e){return t=cn(t),B(t.getFullYear()%100,e,2)}function Ir(t,e){return B(t.getFullYear()%1e4,e,4)}function Ar(t,e){var n=t.getDay();return t=n>=4||n===0?_t(t):_t.ceil(t),B(t.getFullYear()%1e4,e,4)}function Wr(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+B(e/60|0,"0",2)+B(e%60,"0",2)}function Ne(t,e){return B(t.getUTCDate(),e,2)}function Or(t,e){return B(t.getUTCHours(),e,2)}function $r(t,e){return B(t.getUTCHours()%12||12,e,2)}function Hr(t,e){return B(1+Te.count(bt(t),t),e,3)}function un(t,e){return B(t.getUTCMilliseconds(),e,3)}function Nr(t,e){return un(t,e)+"000"}function Pr(t,e){return B(t.getUTCMonth()+1,e,2)}function Vr(t,e){return B(t.getUTCMinutes(),e,2)}function zr(t,e){return B(t.getUTCSeconds(),e,2)}function Rr(t){var e=t.getUTCDay();return e===0?7:e}function Zr(t,e){return B(sn.count(bt(t)-1,t),e,2)}function ln(t){var e=t.getUTCDay();return e>=4||e===0?Et(t):Et.ceil(t)}function jr(t,e){return t=ln(t),B(Et.count(bt(t),t)+(bt(t).getUTCDay()===4),e,2)}function Br(t){return t.getUTCDay()}function qr(t,e){return B(Qt.count(bt(t)-1,t),e,2)}function Gr(t,e){return B(t.getUTCFullYear()%100,e,2)}function Xr(t,e){return t=ln(t),B(t.getUTCFullYear()%100,e,2)}function Qr(t,e){return B(t.getUTCFullYear()%1e4,e,4)}function Jr(t,e){var n=t.getUTCDay();return t=n>=4||n===0?Et(t):Et.ceil(t),B(t.getUTCFullYear()%1e4,e,4)}function Kr(){return"+0000"}function Pe(){return"%"}function Ve(t){return+t}function ze(t){return Math.floor(+t/1e3)}var Mt,Jt;ti({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function ti(t){return Mt=tr(t),Jt=Mt.format,Mt.parse,Mt.utcFormat,Mt.utcParse,Mt}function ei(t){return new Date(t)}function ni(t){return t instanceof Date?+t:+new Date(+t)}function fn(t,e,n,r,i,s,u,m,F,C){var k=St.continuous(),I=k.invert,S=k.domain,M=C(".%L"),j=C(":%S"),A=C("%I:%M"),U=C("%I %p"),L=C("%a %d"),N=C("%b %d"),W=C("%B"),Z=C("%Y");function X(p){return(F(p)<p?M:m(p)<p?j:u(p)<p?A:s(p)<p?U:r(p)<p?i(p)<p?L:N:n(p)<p?W:Z)(p)}return k.invert=function(p){return new Date(I(p))},k.domain=function(p){return arguments.length?S(Array.from(p,ni)):S().map(ei)},k.ticks=function(p){var g=S();return t(g[0],g[g.length-1],p??10)},k.tickFormat=function(p,g){return g==null?X:C(g)},k.nice=function(p){var g=S();return(!p||typeof p.range!="function")&&(p=e(g[0],g[g.length-1],p??10)),p?S(Vn(g,p)):k},k.copy=function(){return St.copy(k,fn(t,e,n,r,i,s,u,m,F,C))},k}function ri(){return wn.initRange.apply(fn(Jn,Kn,kt,Nt,Pt,xt,$t,Ot,vt,Jt).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}var dn={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(Tt.commonjsGlobal,function(){var n="day";return function(r,i,s){var u=function(C){return C.add(4-C.isoWeekday(),n)},m=i.prototype;m.isoWeekYear=function(){return u(this).year()},m.isoWeek=function(C){if(!this.$utils().u(C))return this.add(7*(C-this.isoWeek()),n);var k,I,S,M,j=u(this),A=(k=this.isoWeekYear(),I=this.$u,S=(I?s.utc:s)().year(k).startOf("year"),M=4-S.isoWeekday(),S.isoWeekday()>4&&(M+=7),S.add(M,n));return j.diff(A,"week")+1},m.isoWeekday=function(C){return this.$utils().u(C)?this.day()||7:this.day(this.day()%7?C:C-7)};var F=m.startOf;m.startOf=function(C,k){var I=this.$utils(),S=!!I.u(k)||k;return I.p(C)==="isoweek"?S?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):F.bind(this)(C,k)}}})})(dn);var ii=dn.exports;const ai=Tt.getDefaultExportFromCjs(ii);var hn={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(Tt.commonjsGlobal,function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d/,s=/\d\d/,u=/\d\d?/,m=/\d*[^-_:/,()\s\d]+/,F={},C=function(U){return(U=+U)+(U>68?1900:2e3)},k=function(U){return function(L){this[U]=+L}},I=[/[+-]\d\d:?(\d\d)?|Z/,function(U){(this.zone||(this.zone={})).offset=function(L){if(!L||L==="Z")return 0;var N=L.match(/([+-]|\d\d)/g),W=60*N[1]+(+N[2]||0);return W===0?0:N[0]==="+"?-W:W}(U)}],S=function(U){var L=F[U];return L&&(L.indexOf?L:L.s.concat(L.f))},M=function(U,L){var N,W=F.meridiem;if(W){for(var Z=1;Z<=24;Z+=1)if(U.indexOf(W(Z,0,L))>-1){N=Z>12;break}}else N=U===(L?"pm":"PM");return N},j={A:[m,function(U){this.afternoon=M(U,!1)}],a:[m,function(U){this.afternoon=M(U,!0)}],Q:[i,function(U){this.month=3*(U-1)+1}],S:[i,function(U){this.milliseconds=100*+U}],SS:[s,function(U){this.milliseconds=10*+U}],SSS:[/\d{3}/,function(U){this.milliseconds=+U}],s:[u,k("seconds")],ss:[u,k("seconds")],m:[u,k("minutes")],mm:[u,k("minutes")],H:[u,k("hours")],h:[u,k("hours")],HH:[u,k("hours")],hh:[u,k("hours")],D:[u,k("day")],DD:[s,k("day")],Do:[m,function(U){var L=F.ordinal,N=U.match(/\d+/);if(this.day=N[0],L)for(var W=1;W<=31;W+=1)L(W).replace(/\[|\]/g,"")===U&&(this.day=W)}],w:[u,k("week")],ww:[s,k("week")],M:[u,k("month")],MM:[s,k("month")],MMM:[m,function(U){var L=S("months"),N=(S("monthsShort")||L.map(function(W){return W.slice(0,3)})).indexOf(U)+1;if(N<1)throw new Error;this.month=N%12||N}],MMMM:[m,function(U){var L=S("months").indexOf(U)+1;if(L<1)throw new Error;this.month=L%12||L}],Y:[/[+-]?\d+/,k("year")],YY:[s,function(U){this.year=C(U)}],YYYY:[/\d{4}/,k("year")],Z:I,ZZ:I};function A(U){var L,N;L=U,N=F&&F.formats;for(var W=(U=L.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(w,b,T){var v=T&&T.toUpperCase();return b||N[T]||n[T]||N[v].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(l,d,x){return d||x.slice(1)})})).match(r),Z=W.length,X=0;X<Z;X+=1){var p=W[X],g=j[p],y=g&&g[0],h=g&&g[1];W[X]=h?{regex:y,parser:h}:p.replace(/^\[|\]$/g,"")}return function(w){for(var b={},T=0,v=0;T<Z;T+=1){var l=W[T];if(typeof l=="string")v+=l.length;else{var d=l.regex,x=l.parser,_=w.slice(v),Y=d.exec(_)[0];x.call(b,Y),w=w.replace(Y,"")}}return function(o){var q=o.afternoon;if(q!==void 0){var a=o.hours;q?a<12&&(o.hours+=12):a===12&&(o.hours=0),delete o.afternoon}}(b),b}}return function(U,L,N){N.p.customParseFormat=!0,U&&U.parseTwoDigitYear&&(C=U.parseTwoDigitYear);var W=L.prototype,Z=W.parse;W.parse=function(X){var p=X.date,g=X.utc,y=X.args;this.$u=g;var h=y[1];if(typeof h=="string"){var w=y[2]===!0,b=y[3]===!0,T=w||b,v=y[2];b&&(v=y[2]),F=this.$locale(),!w&&v&&(F=N.Ls[v]),this.$d=function(_,Y,o,q){try{if(["x","X"].indexOf(Y)>-1)return new Date((Y==="X"?1e3:1)*_);var a=A(Y)(_),E=a.year,R=a.month,z=a.day,P=a.hours,K=a.minutes,$=a.seconds,at=a.milliseconds,D=a.zone,H=a.week,V=new Date,f=z||(E||R?1:V.getDate()),J=E||V.getFullYear(),O=0;E&&!R||(O=R>0?R-1:V.getMonth());var Q,G=P||0,it=K||0,st=$||0,pt=at||0;return D?new Date(Date.UTC(J,O,f,G,it,st,pt+60*D.offset*1e3)):o?new Date(Date.UTC(J,O,f,G,it,st,pt)):(Q=new Date(J,O,f,G,it,st,pt),H&&(Q=q(Q).week(H).toDate()),Q)}catch{return new Date("")}}(p,h,g,N),this.init(),v&&v!==!0&&(this.$L=this.locale(v).$L),T&&p!=this.format(h)&&(this.$d=new Date("")),F={}}else if(h instanceof Array)for(var l=h.length,d=1;d<=l;d+=1){y[1]=h[d-1];var x=N.apply(this,y);if(x.isValid()){this.$d=x.$d,this.$L=x.$L,this.init();break}d===l&&(this.$d=new Date(""))}else Z.call(this,X)}}})})(hn);var si=hn.exports;const oi=Tt.getDefaultExportFromCjs(si);var mn={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(Tt.commonjsGlobal,function(){return function(n,r){var i=r.prototype,s=i.format;i.format=function(u){var m=this,F=this.$locale();if(!this.isValid())return s.bind(this)(u);var C=this.$utils(),k=(u||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(I){switch(I){case"Q":return Math.ceil((m.$M+1)/3);case"Do":return F.ordinal(m.$D);case"gggg":return m.weekYear();case"GGGG":return m.isoWeekYear();case"wo":return F.ordinal(m.week(),"W");case"w":case"ww":return C.s(m.week(),I==="w"?1:2,"0");case"W":case"WW":return C.s(m.isoWeek(),I==="W"?1:2,"0");case"k":case"kk":return C.s(String(m.$H===0?24:m.$H),I==="k"?1:2,"0");case"X":return Math.floor(m.$d.getTime()/1e3);case"x":return m.$d.getTime();case"z":return"["+m.offsetName()+"]";case"zzz":return"["+m.offsetName("long")+"]";default:return I}});return s.bind(this)(k)}}})})(mn);var ci=mn.exports;const ui=Tt.getDefaultExportFromCjs(ci);var gn={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(Tt.commonjsGlobal,function(){var n,r,i=1e3,s=6e4,u=36e5,m=864e5,F=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,C=31536e6,k=2628e6,I=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,S={years:C,months:k,days:m,hours:u,minutes:s,seconds:i,milliseconds:1,weeks:6048e5},M=function(p){return p instanceof Z},j=function(p,g,y){return new Z(p,y,g.$l)},A=function(p){return r.p(p)+"s"},U=function(p){return p<0},L=function(p){return U(p)?Math.ceil(p):Math.floor(p)},N=function(p){return Math.abs(p)},W=function(p,g){return p?U(p)?{negative:!0,format:""+N(p)+g}:{negative:!1,format:""+p+g}:{negative:!1,format:""}},Z=function(){function p(y,h,w){var b=this;if(this.$d={},this.$l=w,y===void 0&&(this.$ms=0,this.parseFromMilliseconds()),h)return j(y*S[A(h)],this);if(typeof y=="number")return this.$ms=y,this.parseFromMilliseconds(),this;if(typeof y=="object")return Object.keys(y).forEach(function(l){b.$d[A(l)]=y[l]}),this.calMilliseconds(),this;if(typeof y=="string"){var T=y.match(I);if(T){var v=T.slice(2).map(function(l){return l!=null?Number(l):0});return this.$d.years=v[0],this.$d.months=v[1],this.$d.weeks=v[2],this.$d.days=v[3],this.$d.hours=v[4],this.$d.minutes=v[5],this.$d.seconds=v[6],this.calMilliseconds(),this}}return this}var g=p.prototype;return g.calMilliseconds=function(){var y=this;this.$ms=Object.keys(this.$d).reduce(function(h,w){return h+(y.$d[w]||0)*S[w]},0)},g.parseFromMilliseconds=function(){var y=this.$ms;this.$d.years=L(y/C),y%=C,this.$d.months=L(y/k),y%=k,this.$d.days=L(y/m),y%=m,this.$d.hours=L(y/u),y%=u,this.$d.minutes=L(y/s),y%=s,this.$d.seconds=L(y/i),y%=i,this.$d.milliseconds=y},g.toISOString=function(){var y=W(this.$d.years,"Y"),h=W(this.$d.months,"M"),w=+this.$d.days||0;this.$d.weeks&&(w+=7*this.$d.weeks);var b=W(w,"D"),T=W(this.$d.hours,"H"),v=W(this.$d.minutes,"M"),l=this.$d.seconds||0;this.$d.milliseconds&&(l+=this.$d.milliseconds/1e3,l=Math.round(1e3*l)/1e3);var d=W(l,"S"),x=y.negative||h.negative||b.negative||T.negative||v.negative||d.negative,_=T.format||v.format||d.format?"T":"",Y=(x?"-":"")+"P"+y.format+h.format+b.format+_+T.format+v.format+d.format;return Y==="P"||Y==="-P"?"P0D":Y},g.toJSON=function(){return this.toISOString()},g.format=function(y){var h=y||"YYYY-MM-DDTHH:mm:ss",w={Y:this.$d.years,YY:r.s(this.$d.years,2,"0"),YYYY:r.s(this.$d.years,4,"0"),M:this.$d.months,MM:r.s(this.$d.months,2,"0"),D:this.$d.days,DD:r.s(this.$d.days,2,"0"),H:this.$d.hours,HH:r.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:r.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:r.s(this.$d.seconds,2,"0"),SSS:r.s(this.$d.milliseconds,3,"0")};return h.replace(F,function(b,T){return T||String(w[b])})},g.as=function(y){return this.$ms/S[A(y)]},g.get=function(y){var h=this.$ms,w=A(y);return w==="milliseconds"?h%=1e3:h=w==="weeks"?L(h/S[w]):this.$d[w],h||0},g.add=function(y,h,w){var b;return b=h?y*S[A(h)]:M(y)?y.$ms:j(y,this).$ms,j(this.$ms+b*(w?-1:1),this)},g.subtract=function(y,h){return this.add(y,h,!0)},g.locale=function(y){var h=this.clone();return h.$l=y,h},g.clone=function(){return j(this.$ms,this)},g.humanize=function(y){return n().add(this.$ms,"ms").locale(this.$l).fromNow(!y)},g.valueOf=function(){return this.asMilliseconds()},g.milliseconds=function(){return this.get("milliseconds")},g.asMilliseconds=function(){return this.as("milliseconds")},g.seconds=function(){return this.get("seconds")},g.asSeconds=function(){return this.as("seconds")},g.minutes=function(){return this.get("minutes")},g.asMinutes=function(){return this.as("minutes")},g.hours=function(){return this.get("hours")},g.asHours=function(){return this.as("hours")},g.days=function(){return this.get("days")},g.asDays=function(){return this.as("days")},g.weeks=function(){return this.get("weeks")},g.asWeeks=function(){return this.as("weeks")},g.months=function(){return this.get("months")},g.asMonths=function(){return this.as("months")},g.years=function(){return this.get("years")},g.asYears=function(){return this.as("years")},p}(),X=function(p,g,y){return p.add(g.years()*y,"y").add(g.months()*y,"M").add(g.days()*y,"d").add(g.hours()*y,"h").add(g.minutes()*y,"m").add(g.seconds()*y,"s").add(g.milliseconds()*y,"ms")};return function(p,g,y){n=y,r=y().$utils(),y.duration=function(b,T){var v=y.locale();return j(b,{$l:v},T)},y.isDuration=M;var h=g.prototype.add,w=g.prototype.subtract;g.prototype.add=function(b,T){return M(b)?X(this,b,1):h.bind(this)(b,T)},g.prototype.subtract=function(b,T){return M(b)?X(this,b,-1):w.bind(this)(b,T)}}})})(gn);var li=gn.exports;const fi=Tt.getDefaultExportFromCjs(li);var ge=function(){var t=c.__name(function(v,l,d,x){for(d=d||{},x=v.length;x--;d[v[x]]=l);return d},"o"),e=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],n=[1,26],r=[1,27],i=[1,28],s=[1,29],u=[1,30],m=[1,31],F=[1,32],C=[1,33],k=[1,34],I=[1,9],S=[1,10],M=[1,11],j=[1,12],A=[1,13],U=[1,14],L=[1,15],N=[1,16],W=[1,19],Z=[1,20],X=[1,21],p=[1,22],g=[1,23],y=[1,25],h=[1,35],w={trace:c.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",20:"weekend_friday",21:"weekend_saturday",22:"dateFormat",23:"inclusiveEndDates",24:"topAxis",25:"axisFormat",26:"tickInterval",27:"excludes",28:"includes",29:"todayMarker",30:"title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"section",38:"taskTxt",39:"taskData",40:"click",41:"callbackname",42:"callbackargs",43:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:c.__name(function(l,d,x,_,Y,o,q){var a=o.length-1;switch(Y){case 1:return o[a-1];case 2:this.$=[];break;case 3:o[a-1].push(o[a]),this.$=o[a-1];break;case 4:case 5:this.$=o[a];break;case 6:case 7:this.$=[];break;case 8:_.setWeekday("monday");break;case 9:_.setWeekday("tuesday");break;case 10:_.setWeekday("wednesday");break;case 11:_.setWeekday("thursday");break;case 12:_.setWeekday("friday");break;case 13:_.setWeekday("saturday");break;case 14:_.setWeekday("sunday");break;case 15:_.setWeekend("friday");break;case 16:_.setWeekend("saturday");break;case 17:_.setDateFormat(o[a].substr(11)),this.$=o[a].substr(11);break;case 18:_.enableInclusiveEndDates(),this.$=o[a].substr(18);break;case 19:_.TopAxis(),this.$=o[a].substr(8);break;case 20:_.setAxisFormat(o[a].substr(11)),this.$=o[a].substr(11);break;case 21:_.setTickInterval(o[a].substr(13)),this.$=o[a].substr(13);break;case 22:_.setExcludes(o[a].substr(9)),this.$=o[a].substr(9);break;case 23:_.setIncludes(o[a].substr(9)),this.$=o[a].substr(9);break;case 24:_.setTodayMarker(o[a].substr(12)),this.$=o[a].substr(12);break;case 27:_.setDiagramTitle(o[a].substr(6)),this.$=o[a].substr(6);break;case 28:this.$=o[a].trim(),_.setAccTitle(this.$);break;case 29:case 30:this.$=o[a].trim(),_.setAccDescription(this.$);break;case 31:_.addSection(o[a].substr(8)),this.$=o[a].substr(8);break;case 33:_.addTask(o[a-1],o[a]),this.$="task";break;case 34:this.$=o[a-1],_.setClickEvent(o[a-1],o[a],null);break;case 35:this.$=o[a-2],_.setClickEvent(o[a-2],o[a-1],o[a]);break;case 36:this.$=o[a-2],_.setClickEvent(o[a-2],o[a-1],null),_.setLink(o[a-2],o[a]);break;case 37:this.$=o[a-3],_.setClickEvent(o[a-3],o[a-2],o[a-1]),_.setLink(o[a-3],o[a]);break;case 38:this.$=o[a-2],_.setClickEvent(o[a-2],o[a],null),_.setLink(o[a-2],o[a-1]);break;case 39:this.$=o[a-3],_.setClickEvent(o[a-3],o[a-1],o[a]),_.setLink(o[a-3],o[a-2]);break;case 40:this.$=o[a-1],_.setLink(o[a-1],o[a]);break;case 41:case 47:this.$=o[a-1]+" "+o[a];break;case 42:case 43:case 45:this.$=o[a-2]+" "+o[a-1]+" "+o[a];break;case 44:case 46:this.$=o[a-3]+" "+o[a-2]+" "+o[a-1]+" "+o[a];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:17,12:n,13:r,14:i,15:s,16:u,17:m,18:F,19:18,20:C,21:k,22:I,23:S,24:M,25:j,26:A,27:U,28:L,29:N,30:W,31:Z,33:X,35:p,36:g,37:24,38:y,40:h},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:36,11:17,12:n,13:r,14:i,15:s,16:u,17:m,18:F,19:18,20:C,21:k,22:I,23:S,24:M,25:j,26:A,27:U,28:L,29:N,30:W,31:Z,33:X,35:p,36:g,37:24,38:y,40:h},t(e,[2,5]),t(e,[2,6]),t(e,[2,17]),t(e,[2,18]),t(e,[2,19]),t(e,[2,20]),t(e,[2,21]),t(e,[2,22]),t(e,[2,23]),t(e,[2,24]),t(e,[2,25]),t(e,[2,26]),t(e,[2,27]),{32:[1,37]},{34:[1,38]},t(e,[2,30]),t(e,[2,31]),t(e,[2,32]),{39:[1,39]},t(e,[2,8]),t(e,[2,9]),t(e,[2,10]),t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),t(e,[2,15]),t(e,[2,16]),{41:[1,40],43:[1,41]},t(e,[2,4]),t(e,[2,28]),t(e,[2,29]),t(e,[2,33]),t(e,[2,34],{42:[1,42],43:[1,43]}),t(e,[2,40],{41:[1,44]}),t(e,[2,35],{43:[1,45]}),t(e,[2,36]),t(e,[2,38],{42:[1,46]}),t(e,[2,37]),t(e,[2,39])],defaultActions:{},parseError:c.__name(function(l,d){if(d.recoverable)this.trace(l);else{var x=new Error(l);throw x.hash=d,x}},"parseError"),parse:c.__name(function(l){var d=this,x=[0],_=[],Y=[null],o=[],q=this.table,a="",E=0,R=0,z=2,P=1,K=o.slice.call(arguments,1),$=Object.create(this.lexer),at={yy:{}};for(var D in this.yy)Object.prototype.hasOwnProperty.call(this.yy,D)&&(at.yy[D]=this.yy[D]);$.setInput(l,at.yy),at.yy.lexer=$,at.yy.parser=this,typeof $.yylloc>"u"&&($.yylloc={});var H=$.yylloc;o.push(H);var V=$.options&&$.options.ranges;typeof at.yy.parseError=="function"?this.parseError=at.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function f(ot){x.length=x.length-2*ot,Y.length=Y.length-ot,o.length=o.length-ot}c.__name(f,"popStack");function J(){var ot;return ot=_.pop()||$.lex()||P,typeof ot!="number"&&(ot instanceof Array&&(_=ot,ot=_.pop()),ot=d.symbols_[ot]||ot),ot}c.__name(J,"lex");for(var O,Q,G,it,st={},pt,ut,Ue,Zt;;){if(Q=x[x.length-1],this.defaultActions[Q]?G=this.defaultActions[Q]:((O===null||typeof O>"u")&&(O=J()),G=q[Q]&&q[Q][O]),typeof G>"u"||!G.length||!G[0]){var ee="";Zt=[];for(pt in q[Q])this.terminals_[pt]&&pt>z&&Zt.push("'"+this.terminals_[pt]+"'");$.showPosition?ee="Parse error on line "+(E+1)+`:
`+$.showPosition()+`
Expecting `+Zt.join(", ")+", got '"+(this.terminals_[O]||O)+"'":ee="Parse error on line "+(E+1)+": Unexpected "+(O==P?"end of input":"'"+(this.terminals_[O]||O)+"'"),this.parseError(ee,{text:$.match,token:this.terminals_[O]||O,line:$.yylineno,loc:H,expected:Zt})}if(G[0]instanceof Array&&G.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Q+", token: "+O);switch(G[0]){case 1:x.push(O),Y.push($.yytext),o.push($.yylloc),x.push(G[1]),O=null,R=$.yyleng,a=$.yytext,E=$.yylineno,H=$.yylloc;break;case 2:if(ut=this.productions_[G[1]][1],st.$=Y[Y.length-ut],st._$={first_line:o[o.length-(ut||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(ut||1)].first_column,last_column:o[o.length-1].last_column},V&&(st._$.range=[o[o.length-(ut||1)].range[0],o[o.length-1].range[1]]),it=this.performAction.apply(st,[a,R,E,at.yy,G[1],Y,o].concat(K)),typeof it<"u")return it;ut&&(x=x.slice(0,-1*ut*2),Y=Y.slice(0,-1*ut),o=o.slice(0,-1*ut)),x.push(this.productions_[G[1]][0]),Y.push(st.$),o.push(st._$),Ue=q[x[x.length-2]][x[x.length-1]],x.push(Ue);break;case 3:return!0}}return!0},"parse")},b=function(){var v={EOF:1,parseError:c.__name(function(d,x){if(this.yy.parser)this.yy.parser.parseError(d,x);else throw new Error(d)},"parseError"),setInput:c.__name(function(l,d){return this.yy=d||this.yy||{},this._input=l,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.__name(function(){var l=this._input[0];this.yytext+=l,this.yyleng++,this.offset++,this.match+=l,this.matched+=l;var d=l.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),l},"input"),unput:c.__name(function(l){var d=l.length,x=l.split(/(?:\r\n?|\n)/g);this._input=l+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d),this.offset-=d;var _=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),x.length-1&&(this.yylineno-=x.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:x?(x.length===_.length?this.yylloc.first_column:0)+_[_.length-x.length].length-x[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[Y[0],Y[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},"unput"),more:c.__name(function(){return this._more=!0,this},"more"),reject:c.__name(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.__name(function(l){this.unput(this.match.slice(l))},"less"),pastInput:c.__name(function(){var l=this.matched.substr(0,this.matched.length-this.match.length);return(l.length>20?"...":"")+l.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:c.__name(function(){var l=this.match;return l.length<20&&(l+=this._input.substr(0,20-l.length)),(l.substr(0,20)+(l.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:c.__name(function(){var l=this.pastInput(),d=new Array(l.length+1).join("-");return l+this.upcomingInput()+`
`+d+"^"},"showPosition"),test_match:c.__name(function(l,d){var x,_,Y;if(this.options.backtrack_lexer&&(Y={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(Y.yylloc.range=this.yylloc.range.slice(0))),_=l[0].match(/(?:\r\n?|\n).*/g),_&&(this.yylineno+=_.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:_?_[_.length-1].length-_[_.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+l[0].length},this.yytext+=l[0],this.match+=l[0],this.matches=l,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(l[0].length),this.matched+=l[0],x=this.performAction.call(this,this.yy,this,d,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),x)return x;if(this._backtrack){for(var o in Y)this[o]=Y[o];return!1}return!1},"test_match"),next:c.__name(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var l,d,x,_;this._more||(this.yytext="",this.match="");for(var Y=this._currentRules(),o=0;o<Y.length;o++)if(x=this._input.match(this.rules[Y[o]]),x&&(!d||x[0].length>d[0].length)){if(d=x,_=o,this.options.backtrack_lexer){if(l=this.test_match(x,Y[o]),l!==!1)return l;if(this._backtrack){d=!1;continue}else return!1}else if(!this.options.flex)break}return d?(l=this.test_match(d,Y[_]),l!==!1?l:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:c.__name(function(){var d=this.next();return d||this.lex()},"lex"),begin:c.__name(function(d){this.conditionStack.push(d)},"begin"),popState:c.__name(function(){var d=this.conditionStack.length-1;return d>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:c.__name(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:c.__name(function(d){return d=this.conditionStack.length-1-Math.abs(d||0),d>=0?this.conditionStack[d]:"INITIAL"},"topState"),pushState:c.__name(function(d){this.begin(d)},"pushState"),stateStackSize:c.__name(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:c.__name(function(d,x,_,Y){switch(_){case 0:return this.begin("open_directive"),"open_directive";case 1:return this.begin("acc_title"),31;case 2:return this.popState(),"acc_title_value";case 3:return this.begin("acc_descr"),33;case 4:return this.popState(),"acc_descr_value";case 5:this.begin("acc_descr_multiline");break;case 6:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:break;case 9:break;case 10:break;case 11:return 10;case 12:break;case 13:break;case 14:this.begin("href");break;case 15:this.popState();break;case 16:return 43;case 17:this.begin("callbackname");break;case 18:this.popState();break;case 19:this.popState(),this.begin("callbackargs");break;case 20:return 41;case 21:this.popState();break;case 22:return 42;case 23:this.begin("click");break;case 24:this.popState();break;case 25:return 40;case 26:return 4;case 27:return 22;case 28:return 23;case 29:return 24;case 30:return 25;case 31:return 26;case 32:return 28;case 33:return 27;case 34:return 29;case 35:return 12;case 36:return 13;case 37:return 14;case 38:return 15;case 39:return 16;case 40:return 17;case 41:return 18;case 42:return 20;case 43:return 21;case 44:return"date";case 45:return 30;case 46:return"accDescription";case 47:return 36;case 48:return 38;case 49:return 39;case 50:return":";case 51:return 6;case 52:return"INVALID"}},"anonymous"),rules:[/^(?:%%\{)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:%%(?!\{)*[^\n]*)/i,/^(?:[^\}]%%*[^\n]*)/i,/^(?:%%*[^\n]*[\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:%[^\n]*)/i,/^(?:href[\s]+["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:call[\s]+)/i,/^(?:\([\s]*\))/i,/^(?:\()/i,/^(?:[^(]*)/i,/^(?:\))/i,/^(?:[^)]*)/i,/^(?:click[\s]+)/i,/^(?:[\s\n])/i,/^(?:[^\s\n]*)/i,/^(?:gantt\b)/i,/^(?:dateFormat\s[^#\n;]+)/i,/^(?:inclusiveEndDates\b)/i,/^(?:topAxis\b)/i,/^(?:axisFormat\s[^#\n;]+)/i,/^(?:tickInterval\s[^#\n;]+)/i,/^(?:includes\s[^#\n;]+)/i,/^(?:excludes\s[^#\n;]+)/i,/^(?:todayMarker\s[^\n;]+)/i,/^(?:weekday\s+monday\b)/i,/^(?:weekday\s+tuesday\b)/i,/^(?:weekday\s+wednesday\b)/i,/^(?:weekday\s+thursday\b)/i,/^(?:weekday\s+friday\b)/i,/^(?:weekday\s+saturday\b)/i,/^(?:weekday\s+sunday\b)/i,/^(?:weekend\s+friday\b)/i,/^(?:weekend\s+saturday\b)/i,/^(?:\d\d\d\d-\d\d-\d\d\b)/i,/^(?:title\s[^\n]+)/i,/^(?:accDescription\s[^#\n;]+)/i,/^(?:section\s[^\n]+)/i,/^(?:[^:\n]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[6,7],inclusive:!1},acc_descr:{rules:[4],inclusive:!1},acc_title:{rules:[2],inclusive:!1},callbackargs:{rules:[21,22],inclusive:!1},callbackname:{rules:[18,19,20],inclusive:!1},href:{rules:[15,16],inclusive:!1},click:{rules:[24,25],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,17,23,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52],inclusive:!0}}};return v}();w.lexer=b;function T(){this.yy={}}return c.__name(T,"Parser"),T.prototype=w,w.Parser=T,new T}();ge.parser=ge;var di=ge;rt.extend(ai);rt.extend(oi);rt.extend(ui);var Re={friday:5,saturday:6},lt="",xe="",_e=void 0,be="",Vt=[],zt=[],we=new Map,De=[],Kt=[],Lt="",Ce="",yn=["active","done","crit","milestone","vert"],Me=[],Rt=!1,Se=!1,Ye="sunday",te="saturday",ye=0,hi=c.__name(function(){De=[],Kt=[],Lt="",Me=[],qt=0,pe=void 0,Gt=void 0,tt=[],lt="",xe="",Ce="",_e=void 0,be="",Vt=[],zt=[],Rt=!1,Se=!1,ye=0,we=new Map,c.clear(),Ye="sunday",te="saturday"},"clear"),mi=c.__name(function(t){xe=t},"setAxisFormat"),gi=c.__name(function(){return xe},"getAxisFormat"),yi=c.__name(function(t){_e=t},"setTickInterval"),ki=c.__name(function(){return _e},"getTickInterval"),pi=c.__name(function(t){be=t},"setTodayMarker"),vi=c.__name(function(){return be},"getTodayMarker"),Ti=c.__name(function(t){lt=t},"setDateFormat"),xi=c.__name(function(){Rt=!0},"enableInclusiveEndDates"),_i=c.__name(function(){return Rt},"endDatesAreInclusive"),bi=c.__name(function(){Se=!0},"enableTopAxis"),wi=c.__name(function(){return Se},"topAxisEnabled"),Di=c.__name(function(t){Ce=t},"setDisplayMode"),Ci=c.__name(function(){return Ce},"getDisplayMode"),Mi=c.__name(function(){return lt},"getDateFormat"),Si=c.__name(function(t){Vt=t.toLowerCase().split(/[\s,]+/)},"setIncludes"),Yi=c.__name(function(){return Vt},"getIncludes"),Fi=c.__name(function(t){zt=t.toLowerCase().split(/[\s,]+/)},"setExcludes"),Ui=c.__name(function(){return zt},"getExcludes"),Ei=c.__name(function(){return we},"getLinks"),Li=c.__name(function(t){Lt=t,De.push(t)},"addSection"),Ii=c.__name(function(){return De},"getSections"),Ai=c.__name(function(){let t=Ze();const e=10;let n=0;for(;!t&&n<e;)t=Ze(),n++;return Kt=tt,Kt},"getTasks"),kn=c.__name(function(t,e,n,r){const i=t.format(e.trim()),s=t.format("YYYY-MM-DD");return r.includes(i)||r.includes(s)?!1:n.includes("weekends")&&(t.isoWeekday()===Re[te]||t.isoWeekday()===Re[te]+1)||n.includes(t.format("dddd").toLowerCase())?!0:n.includes(i)||n.includes(s)},"isInvalidDate"),Wi=c.__name(function(t){Ye=t},"setWeekday"),Oi=c.__name(function(){return Ye},"getWeekday"),$i=c.__name(function(t){te=t},"setWeekend"),pn=c.__name(function(t,e,n,r){if(!n.length||t.manualEndTime)return;let i;t.startTime instanceof Date?i=rt(t.startTime):i=rt(t.startTime,e,!0),i=i.add(1,"d");let s;t.endTime instanceof Date?s=rt(t.endTime):s=rt(t.endTime,e,!0);const[u,m]=Hi(i,s,e,n,r);t.endTime=u.toDate(),t.renderEndTime=m},"checkTaskDates"),Hi=c.__name(function(t,e,n,r,i){let s=!1,u=null;for(;t<=e;)s||(u=e.toDate()),s=kn(t,n,r,i),s&&(e=e.add(1,"d")),t=t.add(1,"d");return[e,u]},"fixTaskDates"),ke=c.__name(function(t,e,n){if(n=n.trim(),c.__name(m=>{const F=m.trim();return F==="x"||F==="X"},"isTimestampFormat")(e)&&/^\d+$/.test(n))return new Date(Number(n));const s=/^after\s+(?<ids>[\d\w- ]+)/.exec(n);if(s!==null){let m=null;for(const C of s.groups.ids.split(" ")){let k=Ct(C);k!==void 0&&(!m||k.endTime>m.endTime)&&(m=k)}if(m)return m.endTime;const F=new Date;return F.setHours(0,0,0,0),F}let u=rt(n,e.trim(),!0);if(u.isValid())return u.toDate();{c.log.debug("Invalid date:"+n),c.log.debug("With date format:"+e.trim());const m=new Date(n);if(m===void 0||isNaN(m.getTime())||m.getFullYear()<-1e4||m.getFullYear()>1e4)throw new Error("Invalid date:"+n);return m}},"getStartDate"),vn=c.__name(function(t){const e=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(t.trim());return e!==null?[Number.parseFloat(e[1]),e[2]]:[NaN,"ms"]},"parseDuration"),Tn=c.__name(function(t,e,n,r=!1){n=n.trim();const s=/^until\s+(?<ids>[\d\w- ]+)/.exec(n);if(s!==null){let k=null;for(const S of s.groups.ids.split(" ")){let M=Ct(S);M!==void 0&&(!k||M.startTime<k.startTime)&&(k=M)}if(k)return k.startTime;const I=new Date;return I.setHours(0,0,0,0),I}let u=rt(n,e.trim(),!0);if(u.isValid())return r&&(u=u.add(1,"d")),u.toDate();let m=rt(t);const[F,C]=vn(n);if(!Number.isNaN(F)){const k=m.add(F,C);k.isValid()&&(m=k)}return m.toDate()},"getEndDate"),qt=0,Ft=c.__name(function(t){return t===void 0?(qt=qt+1,"task"+qt):t},"parseId"),Ni=c.__name(function(t,e){let n;e.substr(0,1)===":"?n=e.substr(1,e.length):n=e;const r=n.split(","),i={};Fe(r,i,yn);for(let u=0;u<r.length;u++)r[u]=r[u].trim();let s="";switch(r.length){case 1:i.id=Ft(),i.startTime=t.endTime,s=r[0];break;case 2:i.id=Ft(),i.startTime=ke(void 0,lt,r[0]),s=r[1];break;case 3:i.id=Ft(r[0]),i.startTime=ke(void 0,lt,r[1]),s=r[2];break}return s&&(i.endTime=Tn(i.startTime,lt,s,Rt),i.manualEndTime=rt(s,"YYYY-MM-DD",!0).isValid(),pn(i,lt,zt,Vt)),i},"compileData"),Pi=c.__name(function(t,e){let n;e.substr(0,1)===":"?n=e.substr(1,e.length):n=e;const r=n.split(","),i={};Fe(r,i,yn);for(let s=0;s<r.length;s++)r[s]=r[s].trim();switch(r.length){case 1:i.id=Ft(),i.startTime={type:"prevTaskEnd",id:t},i.endTime={data:r[0]};break;case 2:i.id=Ft(),i.startTime={type:"getStartDate",startData:r[0]},i.endTime={data:r[1]};break;case 3:i.id=Ft(r[0]),i.startTime={type:"getStartDate",startData:r[1]},i.endTime={data:r[2]};break}return i},"parseData"),pe,Gt,tt=[],xn={},Vi=c.__name(function(t,e){const n={section:Lt,type:Lt,processed:!1,manualEndTime:!1,renderEndTime:null,raw:{data:e},task:t,classes:[]},r=Pi(Gt,e);n.raw.startTime=r.startTime,n.raw.endTime=r.endTime,n.id=r.id,n.prevTaskId=Gt,n.active=r.active,n.done=r.done,n.crit=r.crit,n.milestone=r.milestone,n.vert=r.vert,n.order=ye,ye++;const i=tt.push(n);Gt=n.id,xn[n.id]=i-1},"addTask"),Ct=c.__name(function(t){const e=xn[t];return tt[e]},"findTaskById"),zi=c.__name(function(t,e){const n={section:Lt,type:Lt,description:t,task:t,classes:[]},r=Ni(pe,e);n.startTime=r.startTime,n.endTime=r.endTime,n.id=r.id,n.active=r.active,n.done=r.done,n.crit=r.crit,n.milestone=r.milestone,n.vert=r.vert,pe=n,Kt.push(n)},"addTaskOrg"),Ze=c.__name(function(){const t=c.__name(function(n){const r=tt[n];let i="";switch(tt[n].raw.startTime.type){case"prevTaskEnd":{const s=Ct(r.prevTaskId);r.startTime=s.endTime;break}case"getStartDate":i=ke(void 0,lt,tt[n].raw.startTime.startData),i&&(tt[n].startTime=i);break}return tt[n].startTime&&(tt[n].endTime=Tn(tt[n].startTime,lt,tt[n].raw.endTime.data,Rt),tt[n].endTime&&(tt[n].processed=!0,tt[n].manualEndTime=rt(tt[n].raw.endTime.data,"YYYY-MM-DD",!0).isValid(),pn(tt[n],lt,zt,Vt))),tt[n].processed},"compileTask");let e=!0;for(const[n,r]of tt.entries())t(n),e=e&&r.processed;return e},"compileTasks"),Ri=c.__name(function(t,e){let n=e;c.getConfig2().securityLevel!=="loose"&&(n=c.sanitizeUrl_1(e)),t.split(",").forEach(function(r){Ct(r)!==void 0&&(bn(r,()=>{window.open(n,"_self")}),we.set(r,n))}),_n(t,"clickable")},"setLink"),_n=c.__name(function(t,e){t.split(",").forEach(function(n){let r=Ct(n);r!==void 0&&r.classes.push(e)})},"setClass"),Zi=c.__name(function(t,e,n){if(c.getConfig2().securityLevel!=="loose"||e===void 0)return;let r=[];if(typeof n=="string"){r=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let s=0;s<r.length;s++){let u=r[s].trim();u.startsWith('"')&&u.endsWith('"')&&(u=u.substr(1,u.length-2)),r[s]=u}}r.length===0&&r.push(t),Ct(t)!==void 0&&bn(t,()=>{c.utils_default.runFunc(e,...r)})},"setClickFun"),bn=c.__name(function(t,e){Me.push(function(){const n=document.querySelector(`[id="${t}"]`);n!==null&&n.addEventListener("click",function(){e()})},function(){const n=document.querySelector(`[id="${t}-text"]`);n!==null&&n.addEventListener("click",function(){e()})})},"pushFun"),ji=c.__name(function(t,e,n){t.split(",").forEach(function(r){Zi(r,e,n)}),_n(t,"clickable")},"setClickEvent"),Bi=c.__name(function(t){Me.forEach(function(e){e(t)})},"bindFunctions"),qi={getConfig:c.__name(()=>c.getConfig2().gantt,"getConfig"),clear:hi,setDateFormat:Ti,getDateFormat:Mi,enableInclusiveEndDates:xi,endDatesAreInclusive:_i,enableTopAxis:bi,topAxisEnabled:wi,setAxisFormat:mi,getAxisFormat:gi,setTickInterval:yi,getTickInterval:ki,setTodayMarker:pi,getTodayMarker:vi,setAccTitle:c.setAccTitle,getAccTitle:c.getAccTitle,setDiagramTitle:c.setDiagramTitle,getDiagramTitle:c.getDiagramTitle,setDisplayMode:Di,getDisplayMode:Ci,setAccDescription:c.setAccDescription,getAccDescription:c.getAccDescription,addSection:Li,getSections:Ii,getTasks:Ai,addTask:Vi,findTaskById:Ct,addTaskOrg:zi,setIncludes:Si,getIncludes:Yi,setExcludes:Fi,getExcludes:Ui,setClickEvent:ji,setLink:Ri,getLinks:Ei,bindFunctions:Bi,parseDuration:vn,isInvalidDate:kn,setWeekday:Wi,getWeekday:Oi,setWeekend:$i};function Fe(t,e,n){let r=!0;for(;r;)r=!1,n.forEach(function(i){const s="^\\s*"+i+"\\s*$",u=new RegExp(s);t[0].match(u)&&(e[i]=!0,t.shift(1),r=!0)})}c.__name(Fe,"getTaskTags");rt.extend(fi);var Gi=c.__name(function(){c.log.debug("Something is calling, setConf, remove the call")},"setConf"),je={monday:Ht,tuesday:en,wednesday:nn,thursday:_t,friday:rn,saturday:an,sunday:Pt},Xi=c.__name((t,e)=>{let n=[...t].map(()=>-1/0),r=[...t].sort((s,u)=>s.startTime-u.startTime||s.order-u.order),i=0;for(const s of r)for(let u=0;u<n.length;u++)if(s.startTime>=n[u]){n[u]=s.endTime,s.order=u+e,u>i&&(i=u);break}return i},"getMaxIntersections"),dt,de=1e4,Qi=c.__name(function(t,e,n,r){const i=c.getConfig2().gantt,s=c.getConfig2().securityLevel;let u;s==="sandbox"&&(u=c.select("#i"+e));const m=s==="sandbox"?c.select(u.nodes()[0].contentDocument.body):c.select("body"),F=s==="sandbox"?u.nodes()[0].contentDocument:document,C=F.getElementById(e);dt=C.parentElement.offsetWidth,dt===void 0&&(dt=1200),i.useWidth!==void 0&&(dt=i.useWidth);const k=r.db.getTasks();let I=[];for(const h of k)I.push(h.type);I=y(I);const S={};let M=2*i.topPadding;if(r.db.getDisplayMode()==="compact"||i.displayMode==="compact"){const h={};for(const b of k)h[b.section]===void 0?h[b.section]=[b]:h[b.section].push(b);let w=0;for(const b of Object.keys(h)){const T=Xi(h[b],w)+1;w+=T,M+=T*(i.barHeight+i.barGap),S[b]=T}}else{M+=k.length*(i.barHeight+i.barGap);for(const h of I)S[h]=k.filter(w=>w.type===h).length}C.setAttribute("viewBox","0 0 "+dt+" "+M);const j=m.select(`[id="${e}"]`),A=ri().domain([Cn(k,function(h){return h.startTime}),Dn(k,function(h){return h.endTime})]).rangeRound([0,dt-i.leftPadding-i.rightPadding]);function U(h,w){const b=h.startTime,T=w.startTime;let v=0;return b>T?v=1:b<T&&(v=-1),v}c.__name(U,"taskCompare"),k.sort(U),L(k,dt,M),c.configureSvgSize(j,M,dt,i.useMaxWidth),j.append("text").text(r.db.getDiagramTitle()).attr("x",dt/2).attr("y",i.titleTopMargin).attr("class","titleText");function L(h,w,b){const T=i.barHeight,v=T+i.barGap,l=i.topPadding,d=i.leftPadding,x=St.linear().domain([0,I.length]).range(["#00B9FA","#F95002"]).interpolate(Pn);W(v,l,d,w,b,h,r.db.getExcludes(),r.db.getIncludes()),X(d,l,w,b),N(h,v,l,d,T,x,w),p(v,l),g(d,l,w,b)}c.__name(L,"makeGantt");function N(h,w,b,T,v,l,d){h.sort((a,E)=>a.vert===E.vert?0:a.vert?1:-1);const _=[...new Set(h.map(a=>a.order))].map(a=>h.find(E=>E.order===a));j.append("g").selectAll("rect").data(_).enter().append("rect").attr("x",0).attr("y",function(a,E){return E=a.order,E*w+b-2}).attr("width",function(){return d-i.rightPadding/2}).attr("height",w).attr("class",function(a){for(const[E,R]of I.entries())if(a.type===R)return"section section"+E%i.numberSectionStyles;return"section section0"}).enter();const Y=j.append("g").selectAll("rect").data(h).enter(),o=r.db.getLinks();if(Y.append("rect").attr("id",function(a){return a.id}).attr("rx",3).attr("ry",3).attr("x",function(a){return a.milestone?A(a.startTime)+T+.5*(A(a.endTime)-A(a.startTime))-.5*v:A(a.startTime)+T}).attr("y",function(a,E){return E=a.order,a.vert?i.gridLineStartPadding:E*w+b}).attr("width",function(a){return a.milestone?v:a.vert?.08*v:A(a.renderEndTime||a.endTime)-A(a.startTime)}).attr("height",function(a){return a.vert?k.length*(i.barHeight+i.barGap)+i.barHeight*2:v}).attr("transform-origin",function(a,E){return E=a.order,(A(a.startTime)+T+.5*(A(a.endTime)-A(a.startTime))).toString()+"px "+(E*w+b+.5*v).toString()+"px"}).attr("class",function(a){const E="task";let R="";a.classes.length>0&&(R=a.classes.join(" "));let z=0;for(const[K,$]of I.entries())a.type===$&&(z=K%i.numberSectionStyles);let P="";return a.active?a.crit?P+=" activeCrit":P=" active":a.done?a.crit?P=" doneCrit":P=" done":a.crit&&(P+=" crit"),P.length===0&&(P=" task"),a.milestone&&(P=" milestone "+P),a.vert&&(P=" vert "+P),P+=z,P+=" "+R,E+P}),Y.append("text").attr("id",function(a){return a.id+"-text"}).text(function(a){return a.task}).attr("font-size",i.fontSize).attr("x",function(a){let E=A(a.startTime),R=A(a.renderEndTime||a.endTime);if(a.milestone&&(E+=.5*(A(a.endTime)-A(a.startTime))-.5*v,R=E+v),a.vert)return A(a.startTime)+T;const z=this.getBBox().width;return z>R-E?R+z+1.5*i.leftPadding>d?E+T-5:R+T+5:(R-E)/2+E+T}).attr("y",function(a,E){return a.vert?i.gridLineStartPadding+k.length*(i.barHeight+i.barGap)+60:(E=a.order,E*w+i.barHeight/2+(i.fontSize/2-2)+b)}).attr("text-height",v).attr("class",function(a){const E=A(a.startTime);let R=A(a.endTime);a.milestone&&(R=E+v);const z=this.getBBox().width;let P="";a.classes.length>0&&(P=a.classes.join(" "));let K=0;for(const[at,D]of I.entries())a.type===D&&(K=at%i.numberSectionStyles);let $="";return a.active&&(a.crit?$="activeCritText"+K:$="activeText"+K),a.done?a.crit?$=$+" doneCritText"+K:$=$+" doneText"+K:a.crit&&($=$+" critText"+K),a.milestone&&($+=" milestoneText"),a.vert&&($+=" vertText"),z>R-E?R+z+1.5*i.leftPadding>d?P+" taskTextOutsideLeft taskTextOutside"+K+" "+$:P+" taskTextOutsideRight taskTextOutside"+K+" "+$+" width-"+z:P+" taskText taskText"+K+" "+$+" width-"+z}),c.getConfig2().securityLevel==="sandbox"){let a;a=c.select("#i"+e);const E=a.nodes()[0].contentDocument;Y.filter(function(R){return o.has(R.id)}).each(function(R){var z=E.querySelector("#"+R.id),P=E.querySelector("#"+R.id+"-text");const K=z.parentNode;var $=E.createElement("a");$.setAttribute("xlink:href",o.get(R.id)),$.setAttribute("target","_top"),K.appendChild($),$.appendChild(z),$.appendChild(P)})}}c.__name(N,"drawRects");function W(h,w,b,T,v,l,d,x){if(d.length===0&&x.length===0)return;let _,Y;for(const{startTime:z,endTime:P}of l)(_===void 0||z<_)&&(_=z),(Y===void 0||P>Y)&&(Y=P);if(!_||!Y)return;if(rt(Y).diff(rt(_),"year")>5){c.log.warn("The difference between the min and max time is more than 5 years. This will cause performance issues. Skipping drawing exclude days.");return}const o=r.db.getDateFormat(),q=[];let a=null,E=rt(_);for(;E.valueOf()<=Y;)r.db.isInvalidDate(E,o,d,x)?a?a.end=E:a={start:E,end:E}:a&&(q.push(a),a=null),E=E.add(1,"d");j.append("g").selectAll("rect").data(q).enter().append("rect").attr("id",z=>"exclude-"+z.start.format("YYYY-MM-DD")).attr("x",z=>A(z.start.startOf("day"))+b).attr("y",i.gridLineStartPadding).attr("width",z=>A(z.end.endOf("day"))-A(z.start.startOf("day"))).attr("height",v-w-i.gridLineStartPadding).attr("transform-origin",function(z,P){return(A(z.start)+b+.5*(A(z.end)-A(z.start))).toString()+"px "+(P*h+.5*v).toString()+"px"}).attr("class","exclude-range")}c.__name(W,"drawExcludeDays");function Z(h,w,b,T){if(b<=0||h>w)return 1/0;const v=w-h,l=rt.duration({[T??"day"]:b}).asMilliseconds();return l<=0?1/0:Math.ceil(v/l)}c.__name(Z,"getEstimatedTickCount");function X(h,w,b,T){const v=r.db.getDateFormat(),l=r.db.getAxisFormat();let d;l?d=l:v==="D"?d="%d":d=i.axisFormat??"%Y-%m-%d";let x=In(A).tickSize(-T+w+i.gridLineStartPadding).tickFormat(Jt(d));const Y=/^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(r.db.getTickInterval()||i.tickInterval);if(Y!==null){const o=parseInt(Y[1],10);if(isNaN(o)||o<=0)c.log.warn(`Invalid tick interval value: "${Y[1]}". Skipping custom tick interval.`);else{const q=Y[2],a=r.db.getWeekday()||i.weekday,E=A.domain(),R=E[0],z=E[1],P=Z(R,z,o,q);if(P>de)c.log.warn(`The tick interval "${o}${q}" would generate ${P} ticks, which exceeds the maximum allowed (${de}). This may indicate an invalid date or time range. Skipping custom tick interval.`);else switch(q){case"millisecond":x.ticks(Ut.every(o));break;case"second":x.ticks(vt.every(o));break;case"minute":x.ticks(Ot.every(o));break;case"hour":x.ticks($t.every(o));break;case"day":x.ticks(xt.every(o));break;case"week":x.ticks(je[a].every(o));break;case"month":x.ticks(Nt.every(o));break}}}if(j.append("g").attr("class","grid").attr("transform","translate("+h+", "+(T-50)+")").call(x).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10).attr("dy","1em"),r.db.topAxisEnabled()||i.topAxis){let o=Ln(A).tickSize(-T+w+i.gridLineStartPadding).tickFormat(Jt(d));if(Y!==null){const q=parseInt(Y[1],10);if(isNaN(q)||q<=0)c.log.warn(`Invalid tick interval value: "${Y[1]}". Skipping custom tick interval.`);else{const a=Y[2],E=r.db.getWeekday()||i.weekday,R=A.domain(),z=R[0],P=R[1];if(Z(z,P,q,a)<=de)switch(a){case"millisecond":o.ticks(Ut.every(q));break;case"second":o.ticks(vt.every(q));break;case"minute":o.ticks(Ot.every(q));break;case"hour":o.ticks($t.every(q));break;case"day":o.ticks(xt.every(q));break;case"week":o.ticks(je[E].every(q));break;case"month":o.ticks(Nt.every(q));break}}}j.append("g").attr("class","grid").attr("transform","translate("+h+", "+w+")").call(o).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10)}}c.__name(X,"makeGrid");function p(h,w){let b=0;const T=Object.keys(S).map(v=>[v,S[v]]);j.append("g").selectAll("text").data(T).enter().append(function(v){const l=v[0].split(c.common_default.lineBreakRegex),d=-(l.length-1)/2,x=F.createElementNS("http://www.w3.org/2000/svg","text");x.setAttribute("dy",d+"em");for(const[_,Y]of l.entries()){const o=F.createElementNS("http://www.w3.org/2000/svg","tspan");o.setAttribute("alignment-baseline","central"),o.setAttribute("x","10"),_>0&&o.setAttribute("dy","1em"),o.textContent=Y,x.appendChild(o)}return x}).attr("x",10).attr("y",function(v,l){if(l>0)for(let d=0;d<l;d++)return b+=T[l-1][1],v[1]*h/2+b*h+w;else return v[1]*h/2+w}).attr("font-size",i.sectionFontSize).attr("class",function(v){for(const[l,d]of I.entries())if(v[0]===d)return"sectionTitle sectionTitle"+l%i.numberSectionStyles;return"sectionTitle"})}c.__name(p,"vertLabels");function g(h,w,b,T){const v=r.db.getTodayMarker();if(v==="off")return;const l=j.append("g").attr("class","today"),d=new Date,x=l.append("line");x.attr("x1",A(d)+h).attr("x2",A(d)+h).attr("y1",i.titleTopMargin).attr("y2",T-i.titleTopMargin).attr("class","today"),v!==""&&x.attr("style",v.replace(/,/g,";"))}c.__name(g,"drawToday");function y(h){const w={},b=[];for(let T=0,v=h.length;T<v;++T)Object.prototype.hasOwnProperty.call(w,h[T])||(w[h[T]]=!0,b.push(h[T]));return b}c.__name(y,"checkUnique")},"draw"),Ji={setConf:Gi,draw:Qi},Ki=c.__name(t=>`
  .mermaid-main-font {
        font-family: ${t.fontFamily};
  }

  .exclude-range {
    fill: ${t.excludeBkgColor};
  }

  .section {
    stroke: none;
    opacity: 0.2;
  }

  .section0 {
    fill: ${t.sectionBkgColor};
  }

  .section2 {
    fill: ${t.sectionBkgColor2};
  }

  .section1,
  .section3 {
    fill: ${t.altSectionBkgColor};
    opacity: 0.2;
  }

  .sectionTitle0 {
    fill: ${t.titleColor};
  }

  .sectionTitle1 {
    fill: ${t.titleColor};
  }

  .sectionTitle2 {
    fill: ${t.titleColor};
  }

  .sectionTitle3 {
    fill: ${t.titleColor};
  }

  .sectionTitle {
    text-anchor: start;
    font-family: ${t.fontFamily};
  }


  /* Grid and axis */

  .grid .tick {
    stroke: ${t.gridColor};
    opacity: 0.8;
    shape-rendering: crispEdges;
  }

  .grid .tick text {
    font-family: ${t.fontFamily};
    fill: ${t.textColor};
  }

  .grid path {
    stroke-width: 0;
  }


  /* Today line */

  .today {
    fill: none;
    stroke: ${t.todayLineColor};
    stroke-width: 2px;
  }


  /* Task styling */

  /* Default task */

  .task {
    stroke-width: 2;
  }

  .taskText {
    text-anchor: middle;
    font-family: ${t.fontFamily};
  }

  .taskTextOutsideRight {
    fill: ${t.taskTextDarkColor};
    text-anchor: start;
    font-family: ${t.fontFamily};
  }

  .taskTextOutsideLeft {
    fill: ${t.taskTextDarkColor};
    text-anchor: end;
  }


  /* Special case clickable */

  .task.clickable {
    cursor: pointer;
  }

  .taskText.clickable {
    cursor: pointer;
    fill: ${t.taskTextClickableColor} !important;
    font-weight: bold;
  }

  .taskTextOutsideLeft.clickable {
    cursor: pointer;
    fill: ${t.taskTextClickableColor} !important;
    font-weight: bold;
  }

  .taskTextOutsideRight.clickable {
    cursor: pointer;
    fill: ${t.taskTextClickableColor} !important;
    font-weight: bold;
  }


  /* Specific task settings for the sections*/

  .taskText0,
  .taskText1,
  .taskText2,
  .taskText3 {
    fill: ${t.taskTextColor};
  }

  .task0,
  .task1,
  .task2,
  .task3 {
    fill: ${t.taskBkgColor};
    stroke: ${t.taskBorderColor};
  }

  .taskTextOutside0,
  .taskTextOutside2
  {
    fill: ${t.taskTextOutsideColor};
  }

  .taskTextOutside1,
  .taskTextOutside3 {
    fill: ${t.taskTextOutsideColor};
  }


  /* Active task */

  .active0,
  .active1,
  .active2,
  .active3 {
    fill: ${t.activeTaskBkgColor};
    stroke: ${t.activeTaskBorderColor};
  }

  .activeText0,
  .activeText1,
  .activeText2,
  .activeText3 {
    fill: ${t.taskTextDarkColor} !important;
  }


  /* Completed task */

  .done0,
  .done1,
  .done2,
  .done3 {
    stroke: ${t.doneTaskBorderColor};
    fill: ${t.doneTaskBkgColor};
    stroke-width: 2;
  }

  .doneText0,
  .doneText1,
  .doneText2,
  .doneText3 {
    fill: ${t.taskTextDarkColor} !important;
  }

  /* Done task text displayed outside the bar sits against the diagram background,
     not against the done-task bar, so it must use the outside/contrast color. */
  .doneText0.taskTextOutsideLeft,
  .doneText0.taskTextOutsideRight,
  .doneText1.taskTextOutsideLeft,
  .doneText1.taskTextOutsideRight,
  .doneText2.taskTextOutsideLeft,
  .doneText2.taskTextOutsideRight,
  .doneText3.taskTextOutsideLeft,
  .doneText3.taskTextOutsideRight {
    fill: ${t.taskTextOutsideColor} !important;
  }


  /* Tasks on the critical line */

  .crit0,
  .crit1,
  .crit2,
  .crit3 {
    stroke: ${t.critBorderColor};
    fill: ${t.critBkgColor};
    stroke-width: 2;
  }

  .activeCrit0,
  .activeCrit1,
  .activeCrit2,
  .activeCrit3 {
    stroke: ${t.critBorderColor};
    fill: ${t.activeTaskBkgColor};
    stroke-width: 2;
  }

  .doneCrit0,
  .doneCrit1,
  .doneCrit2,
  .doneCrit3 {
    stroke: ${t.critBorderColor};
    fill: ${t.doneTaskBkgColor};
    stroke-width: 2;
    cursor: pointer;
    shape-rendering: crispEdges;
  }

  .milestone {
    transform: rotate(45deg) scale(0.8,0.8);
  }

  .milestoneText {
    font-style: italic;
  }
  .doneCritText0,
  .doneCritText1,
  .doneCritText2,
  .doneCritText3 {
    fill: ${t.taskTextDarkColor} !important;
  }

  /* Done-crit task text outside the bar — same reasoning as doneText above. */
  .doneCritText0.taskTextOutsideLeft,
  .doneCritText0.taskTextOutsideRight,
  .doneCritText1.taskTextOutsideLeft,
  .doneCritText1.taskTextOutsideRight,
  .doneCritText2.taskTextOutsideLeft,
  .doneCritText2.taskTextOutsideRight,
  .doneCritText3.taskTextOutsideLeft,
  .doneCritText3.taskTextOutsideRight {
    fill: ${t.taskTextOutsideColor} !important;
  }

  .vert {
    stroke: ${t.vertLineColor};
  }

  .vertText {
    font-size: 15px;
    text-anchor: middle;
    fill: ${t.vertLineColor} !important;
  }

  .activeCritText0,
  .activeCritText1,
  .activeCritText2,
  .activeCritText3 {
    fill: ${t.taskTextDarkColor} !important;
  }

  .titleText {
    text-anchor: middle;
    font-size: 18px;
    fill: ${t.titleColor||t.textColor};
    font-family: ${t.fontFamily};
  }
`,"getStyles"),ta=Ki,ea={parser:di,db:qi,renderer:Ji,styles:ta};exports.diagram=ea;