PageSourceSearch

https://app.yocoolab.com/assets/ganttDiagram-NO4QXBWP-BRQ64GZe.js

js yocoolab.com collected 2026-10-02 01:53:21 UTC 64,879 bytes, 292 lines download raw bytes

vendor: 6,436 bytes, line 1
1import{R as en,aY as Ln,S as nn,X as rn,a as sn,aK as ae,aj as An,a1 as Wn,b1 as On,a5 as $n,b4 as Nn,a2 as Hn,b2 as Vn,b as d,a4 as _t,a$ as Xt,E as Rn,aE as vt,z as Pn,T as zn,t as Bn,bm as qn}from"./index-eSybLZq8.js";import{l as an,i as rt,k as Xn,j as jn}from"./index-DLRxGtZ5.js";import{b as Zn,t as Oe,c as Gn,a as Qn,l as Jn}from"./linear-IbjWpMyB.js";import{i as Kn}from"./init-Gi6I4Gst.js";import"./defaultLocale-CrowFXzY.js";function tr(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 er(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 nr(t){return t}var Zt=1,oe=2,pe=3,jt=4,$e=1e-6;function rr(t){return"translate("+t+",0)"}function ir(t){return"translate(0,"+t+")"}function sr(t){return e=>+t(e)}function ar(t,e){return e=Math.max(0,t.bandwidth()-e*2)/2,t.round()&&(e=Math.round(e)),n=>+t(n)+e}function or(){return!this.__axis}function on(t,e){var n=[],r=null,i=null,s=6,o=6,x=3,F=typeof window<"u"&&window.devicePixelRatio>1?0:.5,S=t===Zt||t===jt?-1:1,_=t===jt||t===oe?"x":"y",H=t===Zt||t===pe?rr:ir;function C(D){var P=r??(e.ticks?e.ticks.apply(e,n):e.domain()),R=i??(e.tickFormat?e.tickFormat.apply(e,n):nr),U=Math.max(s,0)+x,Z=e.range(),it=+Z[0]+F,z=+Z[Z.length-1]+F,X=(e.bandwidth?ar:sr)(e.copy(),F),Q=D.selection?D.selection():D,y=Q.selectAll(".domain").data([null]),k=Q.selectAll(".tick").data(P,e).order(),p=k.exit(),$=k.enter().append("g").attr("class","tick"),v=k.select("line"),M=k.select("text");y=y.merge(y.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),k=k.merge($),v=v.merge($.append("line").attr("stroke","currentColor").attr(_+"2",S*s)),M=M.merge($.append("text").attr("fill","currentColor").attr(_,S*U).attr("dy",t===Zt?"0em":t===pe?"0.71em":"0.32em")),D!==Q&&(y=y.transition(D),k=k.transition(D),v=v.transition(D),M=M.transition(D),p=p.transition(D).attr("opacity",$e).attr("transform",function(b){return isFinite(b=X(b))?H(b+F):this.getAttribute("transform")}),$.attr("opacity",$e).attr("transform",function(b){var w=this.parentNode.__axis;return H((w&&isFinite(w=w(b))?w:X(b))+F)})),p.remove(),y.attr("d",t===jt||t===oe?o?"M"+S*o+","+it+"H"+F+"V"+z+"H"+S*o:"M"+F+","+it+"V"+z:o?"M"+it+","+S*o+"V"+F+"H"+z+"V"+S*o:"M"+it+","+F+"H"+z),k.attr("opacity",1).attr("transform",function(b){return H(X(b)+F)}),v.attr(_+"2",S*s),M.attr(_,S*U).text(R),Q.filter(or).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===oe?"start":t===jt?"end":"middle"),Q.each(function(){this.__axis=X})}return C.scale=function(D){return arguments.length?(e=D,C):e},C.ticks=function(){return n=Array.from(arguments),C},C.tickArguments=function(D){return arguments.length?(n=D==null?[]:Array.from(D),C):n.slice()},C.tickValues=function(D){return arguments.length?(r=D==null?null:Array.from(D),C):r&&r.slice()},C.tickFormat=function(D){return arguments.length?(i=D,C):i},C.tickSize=function(D){return arguments.length?(s=o=+D,C):s},C.tickSizeInner=function(D){return arguments.length?(s=+D,C):s},C.tickSizeOuter=function(D){return arguments.length?(o=+D,C):o},C.tickPadding=function(D){return arguments.length?(x=+D,C):x},C.offset=function(D){return arguments.length?(F=+D,C):F},C}function cr(t){return on(Zt,t)}function ur(t){return on(pe,t)}const lr=Math.PI/180,fr=180/Math.PI,te=18,cn=.96422,un=1,ln=.82521,fn=4/29,Ft=6/29,dn=3*Ft*Ft,dr=Ft*Ft*Ft;function hn(t){if(t instanceof ut)return new ut(t.l,t.a,t.b,t.opacity);if(t instanceof ht)return mn(t);t instanceof en||(t=Ln(t));var e=fe(t.r),n=fe(t.g),r=fe(t.b),i=ce((.2225045*e+.7168786*n+.0606169*r)/un),s,o;return e===n&&n===r?s=o=i:(s=ce((.4360747*e+.3850649*n+.1430804*r)/cn),o=ce((.0139322*e+.0971045*n+.7141733*r)/ln)),new ut(116*i-16,500*(s-i),200*(i-o),t.opacity)}function hr(t,e,n,r){return arguments.length===1?hn(t):new ut(t,e,n,r??1)}function ut(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}nn(ut,hr,rn(sn,{brighter(t){return new ut(this.l+te*(t??1),this.a,this.b,this.opacity)},darker(t){return new ut(this.l-te*(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=cn*ue(e),t=un*ue(t),n=ln*ue(n),new en(le(3.1338561*e-1.6168667*t-.4906146*n),le(-.9787684*e+1.9161415*t+.033454*n),le(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}}));function ce(t){return t>dr?Math.pow(t,1/3):t/dn+fn}function ue(t){return t>Ft?t*t*t:dn*(t-fn)}function le(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function fe(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function mr(t){if(t instanceof ht)return new ht(t.h,t.c,t.l,t.opacity);if(t instanceof ut||(t=hn(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)*fr;return new ht(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function ve(t,e,n,r){return arguments.length===1?mr(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 mn(t){if(isNaN(t.h))return new ut(t.l,0,0,t.opacity);var e=t.h*lr;return new ut(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}nn(ht,ve,rn(sn,{brighter(t){return new ht(this.h,this.c,this.l+te*(t??1),this.opacity)},darker(t){return new ht(this.h,this.c,this.l-te*(t??1),this.opacity)},rgb(){return mn(this).rgb()}}));function gr(t){return function(e,n){var r=t((e=ve(e)).h,(n=ve(n)).h),i=ae(e.c,n.c),s=ae(e.l,n.l),o=ae(e.opacity,n.opacity);return function(x){return e.h=r(x),e.c=i(x),e.l=s(x),e.opacity=o(x),e+""}}}const yr=gr(An);function kr(t,e){t=t.slice();var n=0,r=t.length-1,i=t[n],s=t[r],o;return s<i&&(o=n,n=r,r=o,o=i,i=s,s=o),t[n]=e.floor(i),t[r]=e.ceil(s),t}const de=new Date,he=new Date;function tt(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 o=i(s),x=i.ceil(s);return s-o<x-s?o:x},i.offset=(s,o)=>(e(s=new Date(+s),o==null?1:Math.floor(o)),s),i.range=(s,o,x)=>{const F=[];if(s=i.ceil(s),x=x==null?1:Math.floor(x),!(s<o)||!(x>0))return F;let S;do F.push(S=new Date(+s)),e(s,x),t(s);while(S<s&&s<o);return F},i.filter=s=>tt(o=>{if(o>=o)for(;t(o),!s(o);)o.setTime(o-1)},(o,x)=>
vendor: 4,753 bytes, line 1
1{if(o>=o)if(x<0)for(;++x<=0;)for(;e(o,-1),!s(o););else for(;--x>=0;)for(;e(o,1),!s(o););}),n&&(i.count=(s,o)=>(de.setTime(+s),he.setTime(+o),t(de),t(he),Math.floor(n(de,he))),i.every=s=>(s=Math.floor(s),!isFinite(s)||!(s>0)?null:s>1?i.filter(r?o=>r(o)%s===0:o=>i.count(0,o)%s===0):i)),i}const It=tt(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);It.every=t=>(t=Math.floor(t),!isFinite(t)||!(t>0)?null:t>1?tt(e=>{e.setTime(Math.floor(e/t)*t)},(e,n)=>{e.setTime(+e+n*t)},(e,n)=>(n-e)/t):It);It.range;const mt=1e3,at=mt*60,gt=at*60,yt=gt*24,Ce=yt*7,Ne=yt*30,me=yt*365,pt=tt(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+e*mt)},(t,e)=>(e-t)/mt,t=>t.getUTCSeconds());pt.range;const Nt=tt(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*mt)},(t,e)=>{t.setTime(+t+e*at)},(t,e)=>(e-t)/at,t=>t.getMinutes());Nt.range;const pr=tt(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+e*at)},(t,e)=>(e-t)/at,t=>t.getUTCMinutes());pr.range;const Ht=tt(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*mt-t.getMinutes()*at)},(t,e)=>{t.setTime(+t+e*gt)},(t,e)=>(e-t)/gt,t=>t.getHours());Ht.range;const vr=tt(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+e*gt)},(t,e)=>(e-t)/gt,t=>t.getUTCHours());vr.range;const Tt=tt(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*at)/yt,t=>t.getDate()-1);Tt.range;const De=tt(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/yt,t=>t.getUTCDate()-1);De.range;const Tr=tt(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/yt,t=>Math.floor(t/yt));Tr.range;function wt(t){return tt(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())*at)/Ce)}const Pt=wt(0),Vt=wt(1),gn=wt(2),yn=wt(3),xt=wt(4),kn=wt(5),pn=wt(6);Pt.range;Vt.range;gn.range;yn.range;xt.range;kn.range;pn.range;function Ct(t){return tt(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)/Ce)}const vn=Ct(0),ee=Ct(1),xr=Ct(2),br=Ct(3),Et=Ct(4),wr=Ct(5),Cr=Ct(6);vn.range;ee.range;xr.range;br.range;Et.range;wr.range;Cr.range;const Rt=tt(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());Rt.range;const Dr=tt(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());Dr.range;const kt=tt(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:tt(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=tt(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:tt(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 Mr(t,e,n,r,i,s){const o=[[pt,1,mt],[pt,5,5*mt],[pt,15,15*mt],[pt,30,30*mt],[s,1,at],[s,5,5*at],[s,15,15*at],[s,30,30*at],[i,1,gt],[i,3,3*gt],[i,6,6*gt],[i,12,12*gt],[r,1,yt],[r,2,2*yt],[n,1,Ce],[e,1,Ne],[e,3,3*Ne],[t,1,me]];function x(S,_,H){const C=_<S;C&&([S,_]=[_,S]);const D=H&&typeof H.range=="function"?H:F(S,_,H),P=D?D.range(S,+_+1):[];return C?P.reverse():P}function F(S,_,H){const C=Math.abs(_-S)/H,D=Zn(([,,U])=>U).right(o,C);if(D===o.length)return t.every(Oe(S/me,_/me,H));if(D===0)return It.every(Math.max(Oe(S,_,H),1));const[P,R]=o[C/o[D-1][2]<o[D][2]/C?D-1:D];return P.every(R)}return[x,F]}const[Sr,_r]=Mr(kt,Rt,Pt,Tt,Ht,Nt);function ge(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 ye(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 Wt(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}function Fr(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,s=t.days,o=t.shortDays,x=t.months,F=t.shortMonths,S=Ot(i),_=$t(i),H=Ot(s),C=$t(s),D=Ot(o),P=$t(o),R=Ot(x),U=$t(x),Z=Ot(F),it=$t(F),z={a:m,A:L,b:a,B:O,c:null,d:Be,e:Be,f:Jr,g:ci,G:li,H:Zr,I:Gr,j:Qr,L:Tn,m:Kr,M:ti,p:l,q:J,Q:je,s:Ze,S:ei,u:ni,U:ri,V:ii,w:si,W:ai,x:null,X:null,y:oi,Y:ui,Z:fi,"%":Xe}
vendor: 4,255 bytes, line 1
1,X={a:u,A:I,b:E,B,c:null,d:qe,e:qe,f:gi,g:Di,G:Si,H:di,I:hi,j:mi,L:bn,m:yi,M:ki,p:Y,q:j,Q:je,s:Ze,S:pi,u:vi,U:Ti,V:xi,w:bi,W:wi,x:null,X:null,y:Ci,Y:Mi,Z:_i,"%":Xe},Q={a:v,A:M,b,B:w,c,d:Pe,e:Pe,f:Br,g:Re,G:Ve,H:ze,I:ze,j:Vr,L:zr,m:Hr,M:Rr,p:$,q:Nr,Q:Xr,s:jr,S:Pr,u:Lr,U:Ar,V:Wr,w:Yr,W:Or,x:g,X:T,y:Re,Y:Ve,Z:$r,"%":qr};z.x=y(n,z),z.X=y(r,z),z.c=y(e,z),X.x=y(n,X),X.X=y(r,X),X.c=y(e,X);function y(h,A){return function(N){var f=[],nt=-1,W=0,G=h.length,q,ot,lt;for(N instanceof Date||(N=new Date(+N));++nt<G;)h.charCodeAt(nt)===37&&(f.push(h.slice(W,nt)),(ot=He[q=h.charAt(++nt)])!=null?q=h.charAt(++nt):ot=q==="e"?" ":"0",(lt=A[q])&&(q=lt(N,ot)),f.push(q),W=nt+1);return f.push(h.slice(W,nt)),f.join("")}}function k(h,A){return function(N){var f=Wt(1900,void 0,1),nt=p(f,h,N+="",0),W,G;if(nt!=N.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(A&&!("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?(W=ye(Wt(f.y,0,1)),G=W.getUTCDay(),W=G>4||G===0?ee.ceil(W):ee(W),W=De.offset(W,(f.V-1)*7),f.y=W.getUTCFullYear(),f.m=W.getUTCMonth(),f.d=W.getUTCDate()+(f.w+6)%7):(W=ge(Wt(f.y,0,1)),G=W.getDay(),W=G>4||G===0?Vt.ceil(W):Vt(W),W=Tt.offset(W,(f.V-1)*7),f.y=W.getFullYear(),f.m=W.getMonth(),f.d=W.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),G="Z"in f?ye(Wt(f.y,0,1)).getUTCDay():ge(Wt(f.y,0,1)).getDay(),f.m=0,f.d="W"in f?(f.w+6)%7+f.W*7-(G+5)%7:f.w+f.U*7-(G+6)%7);return"Z"in f?(f.H+=f.Z/100|0,f.M+=f.Z%100,ye(f)):ge(f)}}function p(h,A,N,f){for(var nt=0,W=A.length,G=N.length,q,ot;nt<W;){if(f>=G)return-1;if(q=A.charCodeAt(nt++),q===37){if(q=A.charAt(nt++),ot=Q[q in He?A.charAt(nt++):q],!ot||(f=ot(h,N,f))<0)return-1}else if(q!=N.charCodeAt(f++))return-1}return f}function $(h,A,N){var f=S.exec(A.slice(N));return f?(h.p=_.get(f[0].toLowerCase()),N+f[0].length):-1}function v(h,A,N){var f=D.exec(A.slice(N));return f?(h.w=P.get(f[0].toLowerCase()),N+f[0].length):-1}function M(h,A,N){var f=H.exec(A.slice(N));return f?(h.w=C.get(f[0].toLowerCase()),N+f[0].length):-1}function b(h,A,N){var f=Z.exec(A.slice(N));return f?(h.m=it.get(f[0].toLowerCase()),N+f[0].length):-1}function w(h,A,N){var f=R.exec(A.slice(N));return f?(h.m=U.get(f[0].toLowerCase()),N+f[0].length):-1}function c(h,A,N){return p(h,e,A,N)}function g(h,A,N){return p(h,n,A,N)}function T(h,A,N){return p(h,r,A,N)}function m(h){return o[h.getDay()]}function L(h){return s[h.getDay()]}function a(h){return F[h.getMonth()]}function O(h){return x[h.getMonth()]}function l(h){return i[+(h.getHours()>=12)]}function J(h){return 1+~~(h.getMonth()/3)}function u(h){return o[h.getUTCDay()]}function I(h){return s[h.getUTCDay()]}function E(h){return F[h.getUTCMonth()]}function B(h){return x[h.getUTCMonth()]}function Y(h){return i[+(h.getUTCHours()>=12)]}function j(h){return 1+~~(h.getUTCMonth()/3)}return{format:function(h){var A=y(h+="",z);return A.toString=function(){return h},A},parse:function(h){var A=k(h+="",!1);return A.toString=function(){return h},A},utcFormat:function(h){var A=y(h+="",X);return A.toString=function(){return h},A},utcParse:function(h){var A=k(h+="",!0);return A.toString=function(){return h},A}}}var He={"-":"",_:" ",0:"0"},et=/^\s*\d+/,Ur=/^%/,Ir=/[\\^$*+?|[\]().{}]/g;function V(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 Er(t){return t.replace(Ir,"\\$&")}function Ot(t){return new RegExp("^(?:"+t.map(Er).join("|")+")","i")}function $t(t){return new Map(t.map((e,n)=>[e.toLowerCase(),n]))}function Yr(t,e,n){var r=et.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function Lr(t,e,n){var r=et.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function Ar(t,e,n){var r=et.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function Wr(t,e,n){var r=et.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function Or(t,e,n){var r=et.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function Ve(t,e,n){var r=et.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function Re(t,e,n){var r=et.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}
vendor: 4,202 bytes, line 1
1function $r(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 Nr(t,e,n){var r=et.exec(e.slice(n,n+1));return r?(t.q=r[0]*3-3,n+r[0].length):-1}function Hr(t,e,n){var r=et.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function Pe(t,e,n){var r=et.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function Vr(t,e,n){var r=et.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function ze(t,e,n){var r=et.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function Rr(t,e,n){var r=et.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function Pr(t,e,n){var r=et.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function zr(t,e,n){var r=et.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function Br(t,e,n){var r=et.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function qr(t,e,n){var r=Ur.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function Xr(t,e,n){var r=et.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function jr(t,e,n){var r=et.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function Be(t,e){return V(t.getDate(),e,2)}function Zr(t,e){return V(t.getHours(),e,2)}function Gr(t,e){return V(t.getHours()%12||12,e,2)}function Qr(t,e){return V(1+Tt.count(kt(t),t),e,3)}function Tn(t,e){return V(t.getMilliseconds(),e,3)}function Jr(t,e){return Tn(t,e)+"000"}function Kr(t,e){return V(t.getMonth()+1,e,2)}function ti(t,e){return V(t.getMinutes(),e,2)}function ei(t,e){return V(t.getSeconds(),e,2)}function ni(t){var e=t.getDay();return e===0?7:e}function ri(t,e){return V(Pt.count(kt(t)-1,t),e,2)}function xn(t){var e=t.getDay();return e>=4||e===0?xt(t):xt.ceil(t)}function ii(t,e){return t=xn(t),V(xt.count(kt(t),t)+(kt(t).getDay()===4),e,2)}function si(t){return t.getDay()}function ai(t,e){return V(Vt.count(kt(t)-1,t),e,2)}function oi(t,e){return V(t.getFullYear()%100,e,2)}function ci(t,e){return t=xn(t),V(t.getFullYear()%100,e,2)}function ui(t,e){return V(t.getFullYear()%1e4,e,4)}function li(t,e){var n=t.getDay();return t=n>=4||n===0?xt(t):xt.ceil(t),V(t.getFullYear()%1e4,e,4)}function fi(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+V(e/60|0,"0",2)+V(e%60,"0",2)}function qe(t,e){return V(t.getUTCDate(),e,2)}function di(t,e){return V(t.getUTCHours(),e,2)}function hi(t,e){return V(t.getUTCHours()%12||12,e,2)}function mi(t,e){return V(1+De.count(bt(t),t),e,3)}function bn(t,e){return V(t.getUTCMilliseconds(),e,3)}function gi(t,e){return bn(t,e)+"000"}function yi(t,e){return V(t.getUTCMonth()+1,e,2)}function ki(t,e){return V(t.getUTCMinutes(),e,2)}function pi(t,e){return V(t.getUTCSeconds(),e,2)}function vi(t){var e=t.getUTCDay();return e===0?7:e}function Ti(t,e){return V(vn.count(bt(t)-1,t),e,2)}function wn(t){var e=t.getUTCDay();return e>=4||e===0?Et(t):Et.ceil(t)}function xi(t,e){return t=wn(t),V(Et.count(bt(t),t)+(bt(t).getUTCDay()===4),e,2)}function bi(t){return t.getUTCDay()}function wi(t,e){return V(ee.count(bt(t)-1,t),e,2)}function Ci(t,e){return V(t.getUTCFullYear()%100,e,2)}function Di(t,e){return t=wn(t),V(t.getUTCFullYear()%100,e,2)}function Mi(t,e){return V(t.getUTCFullYear()%1e4,e,4)}function Si(t,e){var n=t.getUTCDay();return t=n>=4||n===0?Et(t):Et.ceil(t),V(t.getUTCFullYear()%1e4,e,4)}function _i(){return"+0000"}function Xe(){return"%"}function je(t){return+t}function Ze(t){return Math.floor(+t/1e3)}var Mt,ne;Fi({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 Fi(t){return Mt=Fr(t),ne=Mt.format,Mt.parse,Mt.utcFormat,Mt.utcParse,Mt}function Ui(t){return new Date(t)}function Ii(t){return t instanceof Date?+t:+new Date(+t)}function Cn(t,e,n,r,i,s,o,x,F,S){var _=Gn(),H=_.invert,C=_.domain,D=S(".%L"),P=S(":%S"),R=S("%I:%M"),U=S("%I %p"),Z=S("%a %d"),it=S("%b %
1d"),z=S("%B"),X=S("%Y");function Q(y){return(F(y)<y?D:x(y)<y?P:o(y)<y?R:s(y)<y?U:r(y)<y?i(y)<y?Z:it:n(y)<y?z:X)(y)}return _.invert=function(y){return new Date(H(y))},_.domain=function(y){return arguments.length?C(Array.from(y,Ii)):C().map(Ui)},_.ticks=function(y){var k=C();return t(k[0],k[k.length-1],y??10)},_.tickFormat=function(y,k){return k==null?Q:S(k)},_.nice=function(y){var k=C();return(!y||typeof y.range!="function")&&(y=e(k[0],k[k.length-1],y??10)),y?C(kr(k,y)):_},_.copy=function(){return Qn(_,Cn(t,e,n,r,i,s,o,x,F,S))},_}function Ei(){return Kn.apply(Cn(Sr,_r,kt,Rt,Pt,Tt,Ht,Nt,pt,ne).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}var Gt={exports:{}},Yi=Gt.exports,Ge;function Li(){return Ge||(Ge=1,(function(t,e){(function(n,r){t.exports=r()})(Yi,(function(){var n="day";return function(r,i,s){var o=function(S){return S.add(4-S.isoWeekday(),n)},x=i.prototype;x.isoWeekYear=function(){return o(this).year()},x.isoWeek=function(S){if(!this.$utils().u(S))return this.add(7*(S-this.isoWeek()),n);var _,H,C,D,P=o(this),R=(_=this.isoWeekYear(),H=this.$u,C=(H?s.utc:s)().year(_).startOf("year"),D=4-C.isoWeekday(),C.isoWeekday()>4&&(D+=7),C.add(D,n));return P.diff(R,"week")+1},x.isoWeekday=function(S){return this.$utils().u(S)?this.day()||7:this.day(this.day()%7?S:S-7)};var F=x.startOf;x.startOf=function(S,_){var H=this.$utils(),C=!!H.u(_)||_;return H.p(S)==="isoweek"?C?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):F.bind(this)(S,_)}}}))})(Gt)),Gt.exports}var Ai=Li();const Wi=an(Ai);var Qt={exports:{}},Oi=Qt.exports,Qe;function $i(){return Qe||(Qe=1,(function(t,e){(function(n,r){t.exports=r()})(Oi,(function(){var n,r,i=1e3,s=6e4,o=36e5,x=864e5,F=31536e6,S=2628e6,_=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,H=/\[([^\]]+)]|YYYY|YY|Y|M{1,2}|D{1,2}|H{1,2}|m{1,2}|s{1,2}|SSS/g,C={years:F,months:S,days:x,hours:o,minutes:s,seconds:i,milliseconds:1,weeks:6048e5},D=function(y){return y instanceof X},P=function(y,k,p){return new X(y,p,k.$l)},R=function(y){return r.p(y)+"s"},U=function(y){return y<0},Z=function(y){return U(y)?Math.ceil(y):Math.floor(y)},it=function(y){return Math.abs(y)},z=function(y,k){return y?U(y)?{negative:!0,format:""+it(y)+k}:{negative:!1,format:""+y+k}:{negative:!1,format:""}},X=(function(){function y(p,$,v){var M=this;if(this.$d={},this.$l=v,p===void 0&&(this.$ms=0,this.parseFromMilliseconds()),$)return P(p*C[R($)],this);if(typeof p=="number")return this.$ms=p,this.parseFromMilliseconds(),this;if(typeof p=="object")return Object.keys(p).forEach((function(c){M.$d[R(c)]=p[c]})),this.calMilliseconds(),this;if(typeof p=="string"){var b=p.match(_);if(b){var w=b.slice(2).map((function(c){return c!=null?Number(c):0}));return this.$d.years=w[0],this.$d.months=w[1],this.$d.weeks=w[2],this.$d.days=w[3],this.$d.hours=w[4],this.$d.minutes=w[5],this.$d.seconds=w[6],this.calMilliseconds(),this}}return this}var k=y.prototype;return k.calMilliseconds=function(){var p=this;this.$ms=Object.keys(this.$d).reduce((function($,v){return $+(p.$d[v]||0)*C[v]}),0)},k.parseFromMilliseconds=function(){var p=this.$ms;this.$d.years=Z(p/F),p%=F,this.$d.months=Z(p/S),p%=S,this.$d.days=Z(p/x),p%=x,this.$d.hours=Z(p/o),p%=o,this.$d.minutes=Z(p/s),p%=s,this.$d.seconds=Z(p/i),p%=i,this.$d.milliseconds=p},k.toISOString=function(){var p=z(this.$d.years,"Y"),$=z(this.$d.months,"M"),v=+this.$d.days||0;this.$d.weeks&&(v+=7*this.$d.weeks);var M=z(v,"D"),b=z(this.$d.hours,"H"),w=z(this.$d.minutes,"M"),c=this.$d.seconds||0;this.$d.milliseconds&&(c+=this.$d.milliseconds/1e3,c=Math.round(1e3*c)/1e3);var g=z(c,"S"),T=p.negative||$.negative||M.negative||b.negative||w.negative||g.negative,m=b.format||w.format||g.format?"T":"",L=(T?"-":"")+"P"+p.format+$.format+M.format+m+b.format+w.format+g.format;return L==="P"||L==="-P"?"P0D":L},k.toJSON=function(){return this.toISOString()},k.format=function(p){var $=p||"YYYY-MM-DDTHH:mm:ss",v={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 $.replace(H,(function(M,b){return b||String(v[M])}))},k.as=function(p){return this.$ms/C[R(p)]},k.get=function(p){var $=this.$ms,v=R(p);return v==="milliseconds"?$%=1e3:$=v==="weeks"?Z($/C[v]):this.$d[v],$||0},k.add=function(p,$,v){var M;return M=$?p*C[R($)]:D(p)?p.$ms:P(p,this).$ms,P(this.$ms+M*(v?-1:1),this)},k.subtract=function(p,$){return this.add(p,$,!0)},k.locale=function(p){var $=this.clone();return $.$l=p,$},k.clone=function(){return P(this.$ms,this)},k.humanize=function(p){return n().add(this.$ms,"ms").locale(this.$l).fromNow(!p)},k.valueOf=function(){return this.asMilliseconds()},k.milliseconds=function(){return this.get("milliseconds")},k.asMilliseconds=function(){return this.as("milliseconds")},k.seconds=function(){return this.get("seconds")},k.asSeconds=function(){return this.as("seconds")},k.minutes=function(){return this.get("minutes")},k.asMinutes=function(){return this.as("minutes")},k.hours=function(){return this.get("hours")},k.asHours=function(){return this.as("hours")},k.days=function(){return this.get("days")},k.asDays=function(){return this.as("days")},k.weeks=function(){return this.get("weeks")},k.asWeeks=function(){return this.as("weeks")},k.months=function(){return this.get("months")},k.asMonths=function(){return this.as("months")},k.years=function(){return this.get("years")},k.asYears=function(){return this.as("years")},y})(),Q=function(y,k,p){return y.add(k.years()*p,"y").add(k.months()*p,"M").add(k.days()*p,"d").add(k.hours()*p,"h").add(k.minutes()*p,"m").add(k.seconds()*p,"s").add(k.milliseconds()*p,"ms")};return function(y,k,p){n=p,r=p().$utils(),p.duration=function(M,b){var w=p.locale();return P(M,{$l:w},b)},p.isDuration=D;var $=k.prototype.add,v=k.prototype.subtract;k.prototype.add=function(M,b){return D(M)?Q(this,M,1):$.bind(this)(M,b)},k.prototype.subtract=function(M,b){return D(M)?Q(this,M,-1):v.b
vendor: 12,697 bytes, lines 1-6
1ind(this)(M,b)}}}))})(Qt)),Qt.exports}var Ni=$i();const Hi=an(Ni);var Te=(function(){var t=d(function(w,c,g,T){for(g=g||{},T=w.length;T--;g[w[T]]=c);return g},"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],o=[1,30],x=[1,31],F=[1,32],S=[1,33],_=[1,34],H=[1,9],C=[1,10],D=[1,11],P=[1,12],R=[1,13],U=[1,14],Z=[1,15],it=[1,16],z=[1,19],X=[1,20],Q=[1,21],y=[1,22],k=[1,23],p=[1,25],$=[1,35],v={trace:d(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:d(function(c,g,T,m,L,a,O){var l=a.length-1;switch(L){case 1:return a[l-1];case 2:this.$=[];break;case 3:a[l-1].push(a[l]),this.$=a[l-1];break;case 4:case 5:this.$=a[l];break;case 6:case 7:this.$=[];break;case 8:m.setWeekday("monday");break;case 9:m.setWeekday("tuesday");break;case 10:m.setWeekday("wednesday");break;case 11:m.setWeekday("thursday");break;case 12:m.setWeekday("friday");break;case 13:m.setWeekday("saturday");break;case 14:m.setWeekday("sunday");break;case 15:m.setWeekend("friday");break;case 16:m.setWeekend("saturday");break;case 17:m.setDateFormat(a[l].substr(11)),this.$=a[l].substr(11);break;case 18:m.enableInclusiveEndDates(),this.$=a[l].substr(18);break;case 19:m.TopAxis(),this.$=a[l].substr(8);break;case 20:m.setAxisFormat(a[l].substr(11)),this.$=a[l].substr(11);break;case 21:m.setTickInterval(a[l].substr(13)),this.$=a[l].substr(13);break;case 22:m.setExcludes(a[l].substr(9)),this.$=a[l].substr(9);break;case 23:m.setIncludes(a[l].substr(9)),this.$=a[l].substr(9);break;case 24:m.setTodayMarker(a[l].substr(12)),this.$=a[l].substr(12);break;case 27:m.setDiagramTitle(a[l].substr(6)),this.$=a[l].substr(6);break;case 28:this.$=a[l].trim(),m.setAccTitle(this.$);break;case 29:case 30:this.$=a[l].trim(),m.setAccDescription(this.$);break;case 31:m.addSection(a[l].substr(8)),this.$=a[l].substr(8);break;case 33:m.addTask(a[l-1],a[l]),this.$="task";break;case 34:this.$=a[l-1],m.setClickEvent(a[l-1],a[l],null);break;case 35:this.$=a[l-2],m.setClickEvent(a[l-2],a[l-1],a[l]);break;case 36:this.$=a[l-2],m.setClickEvent(a[l-2],a[l-1],null),m.setLink(a[l-2],a[l]);break;case 37:this.$=a[l-3],m.setClickEvent(a[l-3],a[l-2],a[l-1]),m.setLink(a[l-3],a[l]);break;case 38:this.$=a[l-2],m.setClickEvent(a[l-2],a[l],null),m.setLink(a[l-2],a[l-1]);break;case 39:this.$=a[l-3],m.setClickEvent(a[l-3],a[l-1],a[l]),m.setLink(a[l-3],a[l-2]);break;case 40:this.$=a[l-1],m.setLink(a[l-1],a[l]);break;case 41:case 47:this.$=a[l-1]+" "+a[l];break;case 42:case 43:case 45:this.$=a[l-2]+" "+a[l-1]+" "+a[l];break;case 44:case 46:this.$=a[l-3]+" "+a[l-2]+" "+a[l-1]+" "+a[l];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:o,17:x,18:F,19:18,20:S,21:_,22:H,23:C,24:D,25:P,26:R,27:U,28:Z,29:it,30:z,31:X,33:Q,35:y,36:k,37:24,38:p,40:$},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:36,11:17,12:n,13:r,14:i,15:s,16:o,17:x,18:F,19:18,20:S,21:_,22:H,23:C,24:D,25:P,26:R,27:U,28:Z,29:it,30:z,31:X,33:Q,35:y,36:k,37:24,38:p,40:$},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:d(function(c,g){if(g.recoverable)this.trace(c);else{var T=new Error(c);throw T.hash=g,T}},"parseError"),parse:d(function(c){var g=this,T=[0],m=[],L=[null],a=[],O=this.table,l="",J=0,u=0,I=2,E=1,B=a.slice.call(arguments,1),Y=Object.create(this.lexer),j={yy:{}};for(var h in this.yy)Object.prototype.hasOwnProperty.call(this.yy,h)&&(j.yy[h]=this.yy[h]);Y.setInput(c,j.yy),j.yy.lexer=Y,j.yy.parser=this,typeof Y.yylloc>"u"&&(Y.yylloc={});var A=Y.yylloc;a.push(A);var N=Y.options&&Y.options.ranges;typeof j.yy.parseError=="function"?this.parseError=j.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function f(st){T.length=T.length-2*st,L.length=L.length-st,a.length=a.length-st}d(f,"popStack");function nt(){var st;return st=m.pop()||Y.lex()||E,typeof st!="number"&&(st instanceof Array&&(m=st,st=m.pop()),st=g.symbols_[st]||st),st}d(nt,"lex");for(var W,G,q,ot,lt={},Bt,ft,We,qt;;){if(G=T[T.length-1],this.defaultActions[G]?q=this.defaultActions[G]:((W===null||typeof W>"u")&&(W=nt()),q=O[G]&&O[G][W]),typeof q>"u"||!q.length||!q[0]){var se="";qt=[];for(Bt in O[G])this.terminals_[Bt]&&Bt>I&&qt.push("'"+this.terminals_[Bt]+"'");Y.showPosition?se="Parse error on line "+(J+1)+`:
2`+Y.showPosition()+`
3Expecting `+qt.join(", ")+", got '"+(this.terminals_[W]||W)+"'":se="Parse error on line "+(J+1)+": Unexpected "+(W==E?"end of input":"'"+(this.terminals_[W]||W)+"'"),this.parseError(se,{text:Y.match,token:this.terminals_[W]||W,line:Y.yylineno,loc:A,expected:qt})}if(q[0]instanceof Array&&q.length>1)throw new Error("Parse Error: multiple actions possible at state: "+G+", token: "+W);switch(q[0]){case 1:T.push(W),L.push(Y.yytext),a.push(Y.yylloc),T.push(q[1]),W=null,u=Y.yyleng,l=Y.yytext,J=Y.yylineno,A=Y.yylloc;break;case 2:if(ft=this.productions_[q[1]][1],lt.$=L[L.length-ft],lt._$={first_line:a[a.length-(ft||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(ft||1)].first_column,last_column:a[a.length-1].last_column},N&&(lt._$.range=[a[a.length-(ft||1)].range[0],a[a.length-1].range[1]]),ot=this.performAction.apply(lt,[l,u,J,j.yy,q[1],L,a].concat(B)),typeof ot<"u")return ot;ft&&(T=T.slice(0,-1*ft*2),L=L.slice(0,-1*ft),a=a.slice(0,-1*ft)),T.push(this.productions_[q[1]][0]),L.push(lt.$),a.push(lt._$),We=O[T[T.length-2]][T[T.length-1]],T.push(We);break;case 3:return!0}}return!0},"parse")},M=(function(){var w={EOF:1,parseError:d(function(g,T){if(this.yy.parser)this.yy.parser.parseError(g,T);else throw new Error(g)},"parseError"),setInput:d(function(c,g){return this.yy=g||this.yy||{},this._input=c,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:d(function(){var c=this._input[0];this.yytext+=c,this.yyleng++,this.offset++,this.match+=c,this.matched+=c;var g=c.match(/(?:\r\n?|\n).*/g);return g?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),c},"input"),unput:d(function(c){var g=c.length,T=c.split(/(?:\r\n?|\n)/g);this._input=c+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-g),this.offset-=g;var m=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),T.length-1&&(this.yylineno-=T.length-1);var L=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:T?(T.length===m.length?this.yylloc.first_column:0)+m[m.length-T.length].length-T[0].length:this.yylloc.first_column-g},this.options.ranges&&(this.yylloc.range=[L[0],L[0]+this.yyleng-g]),this.yyleng=this.yytext.length,this},"unput"),more:d(function(){return this._more=!0,this},"more"),reject:d(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).
4`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:d(function(c){this.unput(this.match.slice(c))},"less"),pastInput:d(function(){var c=this.matched.substr(0,this.matched.length-this.match.length);return(c.length>20?"...":"")+c.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:d(function(){var c=this.match;return c.length<20&&(c+=this._input.substr(0,20-c.length)),(c.substr(0,20)+(c.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:d(function(){var c=this.pastInput(),g=new Array(c.length+1).join("-");return c+this.upcomingInput()+`
5`+g+"^"},"showPosition"),test_match:d(function(c,g){var T,m,L;if(this.options.backtrack_lexer&&(L={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&&(L.yylloc.range=this.yylloc.range.slice(0))),m=c[0].match(/(?:\r\n?|\n).*/g),m&&(this.yylineno+=m.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:m?m[m.length-1].length-m[m.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+c[0].length},this.yytext+=c[0],this.match+=c[0],this.matches=c,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(c[0].length),this.matched+=c[0],T=this.performAction.call(this,this.yy,this,g,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),T)return T;if(this._backtrack){for(var a in L)this[a]=L[a];return!1}return!1},"test_match"),next:d(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var c,g,T,m;this._more||(this.yytext="",this.match="");for(var L=this._currentRules(),a=0;a<L.length;a++)if(T=this._input.match(this.rules[L[a]]),T&&(!g||T[0].length>g[0].length)){if(g=T,m=a,this.options.backtrack_lexer){if(c=this.test_match(T,L[a]),c!==!1)return c;if(this._backtrack){g=!1;continue}else return!1}else if(!this.options.flex)break}return g?(c=this.test_match(g,L[m]),c!==!1?c:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
6`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:d(function(){var g=this.next();return g||this.lex()},"lex"),begin:d(function(g){this.conditionStack.push(g)},"begin"),popState:d(function(){var g=this.conditionStack.length-1;return g>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:d(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:d(function(g){return g=this.conditionStack.length-1-Math.abs(g||0),g>=0?this.conditionStack[g]:"INITIAL"},"topState"),pushState:d(function(g){this.begin(g)},"pushState"),stateStackSize:d(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0}
vendor: 5,126 bytes, line 6
6,performAction:d(function(g,T,m,L){switch(m){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 w})();v.lexer=M;function b(){this.yy={}}return d(b,"Parser"),b.prototype=v,v.Parser=b,new b})();Te.parser=Te;var Vi=Te;rt.extend(Wi);rt.extend(Xn);rt.extend(jn);var Je={friday:5,saturday:6},ct="",Me="",Se=void 0,_e="",Yt=[],Lt=[],Fe=new Map,Ue=[],re=[],At="",Ie="",Dn=["active","done","crit","milestone","vert"],Ee=[],St="",zt=!1,Ye=!1,Le="sunday",ie="saturday",xe=0,Ri=d(function(){Ue=[],re=[],At="",Ee=[],Jt=0,we=void 0,Kt=void 0,K=[],ct="",Me="",Ie="",Se=void 0,_e="",Yt=[],Lt=[],zt=!1,Ye=!1,xe=0,Fe=new Map,St="",Bn(),Le="sunday",ie="saturday"},"clear"),Pi=d(function(t){St=t},"setDiagramId"),zi=d(function(t){Me=t},"setAxisFormat"),Bi=d(function(){return Me},"getAxisFormat"),qi=d(function(t){Se=t},"setTickInterval"),Xi=d(function(){return Se},"getTickInterval"),ji=d(function(t){_e=t},"setTodayMarker"),Zi=d(function(){return _e},"getTodayMarker"),Gi=d(function(t){ct=t},"setDateFormat"),Qi=d(function(){zt=!0},"enableInclusiveEndDates"),Ji=d(function(){return zt},"endDatesAreInclusive"),Ki=d(function(){Ye=!0},"enableTopAxis"),ts=d(function(){return Ye},"topAxisEnabled"),es=d(function(t){Ie=t},"setDisplayMode"),ns=d(function(){return Ie},"getDisplayMode"),rs=d(function(){return ct},"getDateFormat"),Mn=d((t,e)=>{const n=e.toLowerCase().split(/[\s,]+/).filter(r=>r!=="");return[...new Set([...t,...n])]},"mergeTokens"),is=d(function(t){Yt=Mn(Yt,t)},"setIncludes"),ss=d(function(){return Yt},"getIncludes"),as=d(function(t){Lt=Mn(Lt,t)},"setExcludes"),os=d(function(){return Lt},"getExcludes"),cs=d(function(){return Fe},"getLinks"),us=d(function(t){At=t,Ue.push(t)},"addSection"),ls=d(function(){return Ue},"getSections"),fs=d(function(){let t=Ke();const e=10;let n=0;for(;!t&&n<e;)t=Ke(),n++;return re=K,re},"getTasks"),Sn=d(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()===Je[ie]||t.isoWeekday()===Je[ie]+1)||n.includes(t.format("dddd").toLowerCase())?!0:n.includes(i)||n.includes(s)},"isInvalidDate"),ds=d(function(t){Le=t},"setWeekday"),hs=d(function(){return Le},"getWeekday"),ms=d(function(t){ie=t},"setWeekend"),_n=d(function(t,e,n,r){if(!n.length||t.manualEndTime)return;let i;
vendor: 21,109 bytes, lines 6-292
6t.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[o,x]=gs(i,s,e,n,r);t.endTime=o.toDate(),t.renderEndTime=x},"checkTaskDates"),gs=d(function(t,e,n,r,i){let s=!1,o=null;const x=e.add(1e4,"d");for(;t<=e;){if(s||(o=e.toDate()),s=Sn(t,n,r,i),s&&(e=e.add(1,"d"),e>x))throw new Error("Failed to find a valid date that was not excluded by `excludes` after 10,000 iterations.");t=t.add(1,"d")}return[e,o]},"fixTaskDates"),be=d(function(t,e,n){if(n=n.trim(),d(x=>{const F=x.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 x=null;for(const S of s.groups.ids.split(" ")){let _=Dt(S);_!==void 0&&(!x||_.endTime>x.endTime)&&(x=_)}if(x)return x.endTime;const F=new Date;return F.setHours(0,0,0,0),F}let o=rt(n,e.trim(),!0);if(o.isValid())return o.toDate();{vt.debug("Invalid date:"+n),vt.debug("With date format:"+e.trim());const x=new Date(n);if(x===void 0||isNaN(x.getTime())||x.getFullYear()<-1e4||x.getFullYear()>1e4)throw new Error("Invalid date:"+n);return x}},"getStartDate"),Fn=d(function(t){const e=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(t.trim());return e!==null?[Number.parseFloat(e[1]),e[2]]:[NaN,"ms"]},"parseDuration"),Un=d(function(t,e,n,r=!1){n=n.trim();const s=/^until\s+(?<ids>[\d\w- ]+)/.exec(n);if(s!==null){let _=null;for(const C of s.groups.ids.split(" ")){let D=Dt(C);D!==void 0&&(!_||D.startTime<_.startTime)&&(_=D)}if(_)return _.startTime;const H=new Date;return H.setHours(0,0,0,0),H}let o=rt(n,e.trim(),!0);if(o.isValid())return r&&(o=o.add(1,"d")),o.toDate();let x=rt(t);const[F,S]=Fn(n);if(!Number.isNaN(F)){const _=x.add(F,S);_.isValid()&&(x=_)}return x.toDate()},"getEndDate"),Jt=0,Ut=d(function(t){return t===void 0?(Jt=Jt+1,"task"+Jt):t},"parseId"),ys=d(function(t,e){let n;e.substr(0,1)===":"?n=e.substr(1,e.length):n=e;const r=n.split(","),i={};Ae(r,i,Dn);for(let o=0;o<r.length;o++)r[o]=r[o].trim();let s="";switch(r.length){case 1:i.id=Ut(),i.startTime=t.endTime,s=r[0];break;case 2:i.id=Ut(),i.startTime=be(void 0,ct,r[0]),s=r[1];break;case 3:i.id=Ut(r[0]),i.startTime=be(void 0,ct,r[1]),s=r[2];break}return s&&(i.endTime=Un(i.startTime,ct,s,zt),i.manualEndTime=rt(s,"YYYY-MM-DD",!0).isValid(),_n(i,ct,Lt,Yt)),i},"compileData"),ks=d(function(t,e){let n;e.substr(0,1)===":"?n=e.substr(1,e.length):n=e;const r=n.split(","),i={};Ae(r,i,Dn);for(let s=0;s<r.length;s++)r[s]=r[s].trim();switch(r.length){case 1:i.id=Ut(),i.startTime={type:"prevTaskEnd",id:t},i.endTime={data:r[0]};break;case 2:i.id=Ut(),i.startTime={type:"getStartDate",startData:r[0]},i.endTime={data:r[1]};break;case 3:i.id=Ut(r[0]),i.startTime={type:"getStartDate",startData:r[1]},i.endTime={data:r[2]};break}return i},"parseData"),we,Kt,K=[],In={},ps=d(function(t,e){const n={section:At,type:At,processed:!1,manualEndTime:!1,renderEndTime:null,raw:{data:e},task:t,classes:[]},r=ks(Kt,e);n.raw.startTime=r.startTime,n.raw.endTime=r.endTime,n.id=r.id,n.prevTaskId=Kt,n.active=r.active,n.done=r.done,n.crit=r.crit,n.milestone=r.milestone,n.vert=r.vert,n.vert?n.order=-1:(n.order=xe,xe++);const i=K.push(n);Kt=n.id,In[n.id]=i-1},"addTask"),Dt=d(function(t){const e=In[t];return K[e]},"findTaskById"),vs=d(function(t,e){const n={section:At,type:At,description:t,task:t,classes:[]},r=ys(we,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,we=n,re.push(n)},"addTaskOrg"),Ke=d(function(){const t=d(function(n){const r=K[n];let i="";switch(K[n].raw.startTime.type){case"prevTaskEnd":{const s=Dt(r.prevTaskId);r.startTime=s.endTime;break}case"getStartDate":i=be(void 0,ct,K[n].raw.startTime.startData),i&&(K[n].startTime=i);break}return K[n].startTime&&(K[n].endTime=Un(K[n].startTime,ct,K[n].raw.endTime.data,zt),K[n].endTime&&(K[n].processed=!0,K[n].manualEndTime=rt(K[n].raw.endTime.data,"YYYY-MM-DD",!0).isValid(),_n(K[n],ct,Lt,Yt))),K[n].processed},"compileTask");let e=!0;for(const[n,r]of K.entries())t(n),e=e&&r.processed;return e},"compileTasks"),Ts=d(function(t,e){let n=e;_t().securityLevel!=="loose"&&(n=zn.sanitizeUrl(e)),t.split(",").forEach(function(r){Dt(r)!==void 0&&(Yn(r,()=>{window.open(n,"_self")}),Fe.set(r,n))}),En(t,"clickable")},"setLink"),En=d(function(t,e){t.split(",").forEach(function(n){let r=Dt(n);r!==void 0&&r.classes.push(e)})},"setClass"),xs=d(function(t,e,n){if(_t().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 o=r[s].trim();o.startsWith('"')&&o.endsWith('"')&&(o=o.substr(1,o.length-2)),r[s]=o}}r.length===0&&r.push(t),Dt(t)!==void 0&&Yn(t,()=>{qn.runFunc(e,...r)})},"setClickFun"),Yn=d(function(t,e){Ee.push(function(){const n=St?`${St}-${t}`:t,r=document.querySelector(`[id="${n}"]`);r!==null&&r.addEventListener("click",function(){e()})},function(){const n=St?`${St}-${t}`:t,r=document.querySelector(`[id="${n}-text"]`);r!==null&&r.addEventListener("click",function(){e()})})},"pushFun"),bs=d(function(t,e,n){t.split(",").forEach(function(r){xs(r,e,n)}),En(t,"clickable")},"setClickEvent"),ws=d(function(t){Ee.forEach(function(e){e(t)})},"bindFunctions"),Cs={getConfig:d(()=>_t().gantt,"getConfig"),clear:Ri,setDateFormat:Gi,getDateFormat:rs,enableInclusiveEndDates:Qi,endDatesAreInclusive:Ji,enableTopAxis:Ki,topAxisEnabled:ts,setAxisFormat:zi,getAxisFormat:Bi,setTickInterval:qi,getTickInterval:Xi,setTodayMarker:ji,getTodayMarker:Zi,setAccTitle:Vn,getAccTitle:Hn,setDiagramTitle:Nn,getDiagramTitle:$n,setDiagramId:Pi,setDisplayMode:es,getDisplayMode:ns,setAccDescription:On,getAccDescription:Wn,addSection:us,getSections:ls,getTasks:fs,addTask:ps,findTaskById:Dt,addTaskOrg:vs,setIncludes:is,getIncludes:ss,setExcludes:as,getExcludes:os,setClickEvent:bs,setLink:Ts,getLinks:cs,bindFunctions:ws,parseDuration:Fn,isInvalidDate:Sn,setWeekday:ds,getWeekday:hs,setWeekend:ms};function Ae(t,e,n){let r=!0;for(;r;)r=!1,n.forEach(function(i){const s="^\\s*"+i+"\\s*$",o=new RegExp(s);t[0].match(o)&&(e[i]=!0,t.shift(1),r=!0)})}d(Ae,"getTaskTags");rt.extend(Hi);var Ds=d(function(){vt.debug("Something is calling, setConf, remove the call")},"setConf"),tn={monday:Vt,tuesday:gn,wednesday:yn,thursday:xt,friday:kn,saturday:pn,sunday:Pt},Ms=d((t,e)=>{let n=[...t].map(()=>-1/0),r=[...t].sort((s,o)=>s.startTime-o.startTime||s.order-o.order),i=0;for(const s of r)for(let o=0;o<n.length;o++)if(s.startTime>=n[o]){n[o]=s.endTime,s.order=o+e,o>i&&(i=o);break}return i},"getMaxIntersections"),dt,ke=1e4,Ss=d(function(t,e,n,r){const i=_t().gantt;r.db.setDiagramId(e);const s=_t().securityLevel;let o;s==="sandbox"&&(o=Xt("#i"+e));const x=s==="sandbox"?Xt(o.nodes()[0].contentDocument.body):Xt("body"),F=s==="sandbox"?o.nodes()[0].contentDocument:document,S=F.getElementById(e);dt=S.parentElement.offsetWidth,dt===void 0&&(dt=1200),i.useWidth!==void 0&&(dt=i.useWidth);const _=r.db.getTasks(),H=_.filter(v=>!v.vert);let C=[];for(const v of H)C.push(v.type);C=$(C);const D={};let P=2*i.topPadding;if(r.db.getDisplayMode()==="compact"||i.displayMode==="compact"){const v={};for(const b of H)v[b.section]===void 0?v[b.section]=[b]:v[b.section].push(b);let M=0;for(const b of Object.keys(v)){const w=Ms(v[b],M)+1;M+=w,P+=w*(i.barHeight+i.barGap),D[b]=w}}else{P+=H.length*(i.barHeight+i.barGap);for(const v of C)D[v]=H.filter(M=>M.type===v).length}S.setAttribute("viewBox","0 0 "+dt+" "+P);const R=x.select(`[id="${e}"]`),U=Ei().domain([er(_,function(v){return v.startTime}),tr(_,function(v){return v.endTime})]).rangeRound([0,dt-i.leftPadding-i.rightPadding]);function Z(v,M){const b=v.startTime,w=M.startTime;let c=0;return b>w?c=1:b<w&&(c=-1),c}d(Z,"taskCompare"),_.sort(Z),it(_,dt,P),Rn(R,P,dt,i.useMaxWidth),R.append("text").text(r.db.getDiagramTitle()).attr("x",dt/2).attr("y",i.titleTopMargin).attr("class","titleText");function it(v,M,b){const w=i.barHeight,c=w+i.barGap,g=i.topPadding,T=i.leftPadding,m=Jn().domain([0,C.length]).range(["#00B9FA","#F95002"]).interpolate(yr);X(c,g,T,M,b,v,r.db.getExcludes(),r.db.getIncludes()),y(T,g,M,b),z(v,c,g,T,w,m,M),k(c,g),p(T,g,M,b)}d(it,"makeGantt");function z(v,M,b,w,c,g,T){v.sort((u,I)=>u.vert===I.vert?0:u.vert?1:-1);const m=v.filter(u=>!u.vert),a=[...new Set(m.map(u=>u.order))].map(u=>m.find(I=>I.order===u));R.append("g").selectAll("rect").data(a).enter().append("rect").attr("x",0).attr("y",function(u,I){return I=u.order,I*M+b-2}).attr("width",function(){return T-i.rightPadding/2}).attr("height",M).attr("class",function(u){for(const[I,E]of C.entries())if(u.type===E)return"section section"+I%i.numberSectionStyles;return"section section0"}).enter();const O=R.append("g").selectAll("rect").data(v).enter(),l=r.db.getLinks();if(O.append("rect").attr("id",function(u){return e+"-"+u.id}).attr("rx",3).attr("ry",3).attr("x",function(u){return u.milestone?U(u.startTime)+w+.5*(U(u.endTime)-U(u.startTime))-.5*c:U(u.startTime)+w}).attr("y",function(u,I){return I=u.order,u.vert?i.gridLineStartPadding:I*M+b}).attr("width",function(u){return u.milestone?c:u.vert?.08*c:U(u.renderEndTime||u.endTime)-U(u.startTime)}).attr("height",function(u){return u.vert?m.length*(i.barHeight+i.barGap)+i.barHeight*2:c}).attr("transform-origin",function(u,I){return I=u.order,(U(u.startTime)+w+.5*(U(u.endTime)-U(u.startTime))).toString()+"px "+(I*M+b+.5*c).toString()+"px"}).attr("class",function(u){const I="task";let E="";u.classes.length>0&&(E=u.classes.join(" "));let B=0;for(const[j,h]of C.entries())u.type===h&&(B=j%i.numberSectionStyles);let Y="";return u.active?u.crit?Y+=" activeCrit":Y=" active":u.done?u.crit?Y=" doneCrit":Y=" done":u.crit&&(Y+=" crit"),Y.length===0&&(Y=" task"),u.milestone&&(Y=" milestone "+Y),u.vert&&(Y=" vert "+Y),Y+=B,Y+=" "+E,I+Y}),O.append("text").attr("id",function(u){return e+"-"+u.id+"-text"}).text(function(u){return u.task}).attr("font-size",i.fontSize).attr("x",function(u){let I=U(u.startTime),E=U(u.renderEndTime||u.endTime);if(u.milestone&&(I+=.5*(U(u.endTime)-U(u.startTime))-.5*c,E=I+c),u.vert)return U(u.startTime)+w;const B=this.getBBox().width;return B>E-I?E+B+1.5*i.leftPadding>T?I+w-5:E+w+5:(E-I)/2+I+w}).attr("y",function(u,I){return u.vert?i.gridLineStartPadding+m.length*(i.barHeight+i.barGap)+60:(I=u.order,I*M+i.barHeight/2+(i.fontSize/2-2)+b)}).attr("text-height",c).attr("class",function(u){const I=U(u.startTime);let E=U(u.endTime);u.milestone&&(E=I+c);const B=this.getBBox().width;let Y="";u.classes.length>0&&(Y=u.classes.join(" "));let j=0;for(const[A,N]of C.entries())u.type===N&&(j=A%i.numberSectionStyles);let h="";return u.active&&(u.crit?h="activeCritText"+j:h="activeText"+j),u.done?u.crit?h=h+" doneCritText"+j:h=h+" doneText"+j:u.crit&&(h=h+" critText"+j),u.milestone&&(h+=" milestoneText"),u.vert&&(h+=" vertText"),B>E-I?E+B+1.5*i.leftPadding>T?Y+" taskTextOutsideLeft taskTextOutside"+j+" "+h:Y+" taskTextOutsideRight taskTextOutside"+j+" "+h+" width-"+B:Y+" taskText taskText"+j+" "+h+" width-"+B}),_t().securityLevel==="sandbox"){let u;u=Xt("#i"+e);const I=u.nodes()[0].contentDocument;O.filter(function(E){return l.has(E.id)}).each(function(E){var B=I.querySelector("#"+CSS.escape(e+"-"+E.id)),Y=I.querySelector("#"+CSS.escape(e+"-"+E.id+"-text"));const j=B.parentNode;var h=I.createElement("a");h.setAttribute("xlink:href",l.get(E.id)),h.setAttribute("target","_top"),j.appendChild(h),h.appendChild(B),h.appendChild(Y)})}}d(z,"drawRects");function X(v,M,b,w,c,g,T,m){if(T.length===0&&m.length===0)return;let L,a;for(const{startTime:E,endTime:B}of g)(L===void 0||E<L)&&(L=E),(a===void 0||B>a)&&(a=B);if(!L||!a)return;if(rt(a).diff(rt(L),"year")>5){vt.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(),l=[];let J=null,u=rt(L);for(;u.valueOf()<=a;)r.db.isInvalidDate(u,O,T,m)?J?J.end=u:J={start:u,end:u}:J&&(l.push(J),J=null),u=u.add(1,"d");R.append("g").selectAll("rect").data(l).enter().append("rect").attr("id",E=>e+"-exclude-"+E.start.format("YYYY-MM-DD")).attr("x",E=>U(E.start.startOf("day"))+b).attr("y",i.gridLineStartPadding).attr("width",E=>U(E.end.endOf("day"))-U(E.start.startOf("day"))).attr("height",c-M-i.gridLineStartPadding).attr("transform-origin",function(E,B){return(U(E.start)+b+.5*(U(E.end)-U(E.start))).toString()+"px "+(B*v+.5*c).toString()+"px"}).attr("class","exclude-range")}d(X,"drawExcludeDays");function Q(v,M,b,w){if(b<=0||v>M)return 1/0;const c=M-v,g=rt.duration({[w??"day"]:b}).asMilliseconds();return g<=0?1/0:Math.ceil(c/g)}d(Q,"getEstimatedTickCount");function y(v,M,b,w){const c=r.db.getDateFormat(),g=r.db.getAxisFormat();let T;g?T=g:c==="D"?T="%d":T=i.axisFormat??"%Y-%m-%d";let m=ur(U).tickSize(-w+M+i.gridLineStartPadding).tickFormat(ne(T));const a=/^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(r.db.getTickInterval()||i.tickInterval);if(a!==null){const O=parseInt(a[1],10);if(isNaN(O)||O<=0)vt.warn(`Invalid tick interval value: "${a[1]}". Skipping custom tick interval.`);else{const l=a[2],J=r.db.getWeekday()||i.weekday,u=U.domain(),I=u[0],E=u[1],B=Q(I,E,O,l);if(B>ke)vt.warn(`The tick interval "${O}${l}" would generate ${B} ticks, which exceeds the maximum allowed (${ke}). This may indicate an invalid date or time range. Skipping custom tick interval.`);else switch(l){case"millisecond":m.ticks(It.every(O));break;case"second":m.ticks(pt.every(O));break;case"minute":m.ticks(Nt.every(O));break;case"hour":m.ticks(Ht.every(O));break;case"day":m.ticks(Tt.every(O));break;case"week":m.ticks(tn[J].every(O));break;case"month":m.ticks(Rt.every(O));break}}}if(R.append("g").attr("class","grid").attr("transform","translate("+v+", "+(w-50)+")").call(m).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=cr(U).tickSize(-w+M+i.gridLineStartPadding).tickFormat(ne(T));if(a!==null){const l=parseInt(a[1],10);if(isNaN(l)||l<=0)vt.warn(`Invalid tick interval value: "${a[1]}". Skipping custom tick interval.`);else{const J=a[2],u=r.db.getWeekday()||i.weekday,I=U.domain(),E=I[0],B=I[1];if(Q(E,B,l,J)<=ke)switch(J){case"millisecond":O.ticks(It.every(l));break;case"second":O.ticks(pt.every(l));break;case"minute":O.ticks(Nt.every(l));break;case"hour":O.ticks(Ht.every(l));break;case"day":O.ticks(Tt.every(l));break;case"week":O.ticks(tn[u].every(l));break;case"month":O.ticks(Rt.every(l));break}}}R.append("g").attr("class","grid").attr("transform","translate("+v+", "+M+")").call(O).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10)}}d(y,"makeGrid");function k(v,M){let b=0;const w=Object.keys(D).map(c=>[c,D[c]]);R.append("g").selectAll("text").data(w).enter().append(function(c){const g=c[0].split(Pn.lineBreakRegex),T=-(g.length-1)/2,m=F.createElementNS("http://www.w3.org/2000/svg","text");m.setAttribute("dy",T+"em");for(const[L,a]of g.entries()){const O=F.createElementNS("http://www.w3.org/2000/svg","tspan");O.setAttribute("alignment-baseline","central"),O.setAttribute("x","10"),L>0&&O.setAttribute("dy","1em"),O.textContent=a,m.appendChild(O)}return m}).attr("x",10).attr("y",function(c,g){if(g>0)for(let T=0;T<g;T++)return b+=w[g-1][1],c[1]*v/2+b*v+M;else return c[1]*v/2+M}).attr("font-size",i.sectionFontSize).attr("class",function(c){for(const[g,T]of C.entries())if(c[0]===T)return"sectionTitle sectionTitle"+g%i.numberSectionStyles;return"sectionTitle"})}d(k,"vertLabels");function p(v,M,b,w){const c=r.db.getTodayMarker();if(c==="off")return;const g=R.append("g").attr("class","today"),T=new Date,m=g.append("line");m.attr("x1",U(T)+v).attr("x2",U(T)+v).attr("y1",i.titleTopMargin).attr("y2",w-i.titleTopMargin).attr("class","today"),c!==""&&m.attr("style",c.replace(/,/g,";"))}d(p,"drawToday");function $(v){const M={},b=[];for(let w=0,c=v.length;w<c;++w)Object.prototype.hasOwnProperty.call(M,v[w])||(M[v[w]]=!0,b.push(v[w]));return b}d($,"checkUnique")},"draw"),_s={setConf:Ds,draw:Ss},Fs=d(t=>`
7  .mermaid-main-font {
8        font-family: ${t.fontFamily};
9  }
10
11  .exclude-range {
12    fill: ${t.excludeBkgColor};
13  }
14
15  .section {
16    stroke: none;
17    opacity: 0.2;
18  }
19
20  .section0 {
21    fill: ${t.sectionBkgColor};
22  }
23
24  .section2 {
25    fill: ${t.sectionBkgColor2};
26  }
27
28  .section1,
29  .section3 {
30    fill: ${t.altSectionBkgColor};
31    opacity: 0.2;
32  }
33
34  .sectionTitle0 {
35    fill: ${t.titleColor};
36  }
37
38  .sectionTitle1 {
39    fill: ${t.titleColor};
40  }
41
42  .sectionTitle2 {
43    fill: ${t.titleColor};
44  }
45
46  .sectionTitle3 {
47    fill: ${t.titleColor};
48  }
49
50  .sectionTitle {
51    text-anchor: start;
52    font-family: ${t.fontFamily};
53  }
54
55
56  /* Grid and axis */
57
58  .grid .tick {
59    stroke: ${t.gridColor};
60    opacity: 0.8;
61    shape-rendering: crispEdges;
62  }
63
64  .grid .tick text {
65    font-family: ${t.fontFamily};
66    fill: ${t.textColor};
67  }
68
69  .grid path {
70    stroke-width: 0;
71  }
72
73
74  /* Today line */
75
76  .today {
77    fill: none;
78    stroke: ${t.todayLineColor};
79    stroke-width: 2px;
80  }
81
82
83  /* Task styling */
84
85  /* Default task */
86
87  .task {
88    stroke-width: 2;
89  }
90
91  .taskText {
92    text-anchor: middle;
93    font-family: ${t.fontFamily};
94  }
95
96  .taskTextOutsideRight {
97    fill: ${t.taskTextDarkColor};
98    text-anchor: start;
99    font-family: ${t.fontFamily};
100  }
101
102  .taskTextOutsideLeft {
103    fill: ${t.taskTextDarkColor};
104    text-anchor: end;
105  }
106
107
108  /* Special case clickable */
109
110  .task.clickable {
111    cursor: pointer;
112  }
113
114  .taskText.clickable {
115    cursor: pointer;
116    fill: ${t.taskTextClickableColor} !important;
117    font-weight: bold;
118  }
119
120  .taskTextOutsideLeft.clickable {
121    cursor: pointer;
122    fill: ${t.taskTextClickableColor} !important;
123    font-weight: bold;
124  }
125
126  .taskTextOutsideRight.clickable {
127    cursor: pointer;
128    fill: ${t.taskTextClickableColor} !important;
129    font-weight: bold;
130  }
131
132
133  /* Specific task settings for the sections*/
134
135  .taskText0,
136  .taskText1,
137  .taskText2,
138  .taskText3 {
139    fill: ${t.taskTextColor};
140  }
141
142  .task0,
143  .task1,
144  .task2,
145  .task3 {
146    fill: ${t.taskBkgColor};
147    stroke: ${t.taskBorderColor};
148  }
149
150  .taskTextOutside0,
151  .taskTextOutside2
152  {
153    fill: ${t.taskTextOutsideColor};
154  }
155
156  .taskTextOutside1,
157  .taskTextOutside3 {
158    fill: ${t.taskTextOutsideColor};
159  }
160
161
162  /* Active task */
163
164  .active0,
165  .active1,
166  .active2,
167  .active3 {
168    fill: ${t.activeTaskBkgColor};
169    stroke: ${t.activeTaskBorderColor};
170  }
171
172  .activeText0,
173  .activeText1,
174  .activeText2,
175  .activeText3 {
176    fill: ${t.taskTextDarkColor} !important;
177  }
178
179
180  /* Completed task */
181
182  .done0,
183  .done1,
184  .done2,
185  .done3 {
186    stroke: ${t.doneTaskBorderColor};
187    fill: ${t.doneTaskBkgColor};
188    stroke-width: 2;
189  }
190
191  .doneText0,
192  .doneText1,
193  .doneText2,
194  .doneText3 {
195    fill: ${t.taskTextDarkColor} !important;
196  }
197
198  /* Done task text displayed outside the bar sits against the diagram background,
199     not against the done-task bar, so it must use the outside/contrast color. */
200  .doneText0.taskTextOutsideLeft,
201  .doneText0.taskTextOutsideRight,
202  .doneText1.taskTextOutsideLeft,
203  .doneText1.taskTextOutsideRight,
204  .doneText2.taskTextOutsideLeft,
205  .doneText2.taskTextOutsideRight,
206  .doneText3.taskTextOutsideLeft,
207  .doneText3.taskTextOutsideRight {
208    fill: ${t.taskTextOutsideColor} !important;
209  }
210
211
212  /* Tasks on the critical line */
213
214  .crit0,
215  .crit1,
216  .crit2,
217  .crit3 {
218    stroke: ${t.critBorderColor};
219    fill: ${t.critBkgColor};
220    stroke-width: 2;
221  }
222
223  .activeCrit0,
224  .activeCrit1,
225  .activeCrit2,
226  .activeCrit3 {
227    stroke: ${t.critBorderColor};
228    fill: ${t.activeTaskBkgColor};
229    stroke-width: 2;
230  }
231
232  .doneCrit0,
233  .doneCrit1,
234  .doneCrit2,
235  .doneCrit3 {
236    stroke: ${t.critBorderColor};
237    fill: ${t.doneTaskBkgColor};
238    stroke-width: 2;
239    cursor: pointer;
240    shape-rendering: crispEdges;
241  }
242
243  .milestone {
244    transform: rotate(45deg) scale(0.8,0.8);
245  }
246
247  .milestoneText {
248    font-style: italic;
249  }
250  .doneCritText0,
251  .doneCritText1,
252  .doneCritText2,
253  .doneCritText3 {
254    fill: ${t.taskTextDarkColor} !important;
255  }
256
257  /* Done-crit task text outside the bar — same reasoning as doneText above. */
258  .doneCritText0.taskTextOutsideLeft,
259  .doneCritText0.taskTextOutsideRight,
260  .doneCritText1.taskTextOutsideLeft,
261  .doneCritText1.taskTextOutsideRight,
262  .doneCritText2.taskTextOutsideLeft,
263  .doneCritText2.taskTextOutsideRight,
264  .doneCritText3.taskTextOutsideLeft,
265  .doneCritText3.taskTextOutsideRight {
266    fill: ${t.taskTextOutsideColor} !important;
267  }
268
269  .vert {
270    stroke: ${t.vertLineColor};
271  }
272
273  .vertText {
274    font-size: 15px;
275    text-anchor: middle;
276    fill: ${t.vertLineColor} !important;
277  }
278
279  .activeCritText0,
280  .activeCritText1,
281  .activeCritText2,
282  .activeCritText3 {
283    fill: ${t.taskTextDarkColor} !important;
284  }
285
286  .titleText {
287    text-anchor: middle;
288    font-size: 18px;
289    fill: ${t.titleColor||t.textColor};
290    font-family: ${t.fontFamily};
291  }
292`,"getStyles"),Us=Fs,Ws={parser:Vi,db:Cs,renderer:_s,styles:Us};
292export{Ws as diagram};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.