import{a$ as sn,b0 as Ln,b1 as an,b2 as on,b3 as cn,b4 as re,b5 as In,_ as f,g as Hn,s as On,t as Wn,q as Pn,a as Nn,b as zn,c as Ct,d as jt,e as Bn,b6 as rt,l as vt,k as Zn,j as jn,z as Xn,u as Rn}from"./mermaid.core-BxtrgwOm.chunk.mjs";import{g as ee}from"./emoji-picker-B23JpFV7.chunk.mjs";import{b as qn,t as Oe,c as Vn,a as Jn,l as Kn}from"./linear-B8oUtb08.chunk.mjs";import{i as Qn}from"./init-CLzSasj9.chunk.mjs";import"./index-CYtgifWR.chunk.mjs";import"./NcLoadingIcon-zQCGdPwE.chunk.mjs";import"./vue.runtime.esm-fahCO3eG.chunk.mjs";import"./index-DxwFe63_.chunk.mjs";import"./defaultLocale-0_YM-Ssk.chunk.mjs";function Gn(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n=r)&&(n=r);else{let r=-1;for(let i of t)(i=e(i,++r,t))!=null&&(n=i)&&(n=i)}return n}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){return t}var Rt=1,ie=2,me=3,Xt=4,We=1e-6;function nr(t){return"translate("+t+",0)"}function rr(t){return"translate(0,"+t+")"}function ir(t){return e=>+t(e)}function sr(t,e){return e=Math.max(0,t.bandwidth()-e*2)/2,t.round()&&(e=Math.round(e)),n=>+t(n)+e}function ar(){return!this.__axis}function un(t,e){var n=[],r=null,i=null,s=6,c=6,x=3,F=typeof window<"u"&&window.devicePixelRatio>1?0:.5,w=t===Rt||t===Xt?-1:1,b=t===Xt||t===ie?"x":"y",I=t===Rt||t===me?nr:rr;function C(_){var Z=r??(e.ticks?e.ticks.apply(e,n):e.domain()),U=i??(e.tickFormat?e.tickFormat.apply(e,n):er),Y=Math.max(s,0)+x,E=e.range(),W=+E[0]+F,L=+E[E.length-1]+F,B=(e.bandwidth?sr:ir)(e.copy(),F),V=_.selection?_.selection():_,v=V.selectAll(".domain").data([null]),y=V.selectAll(".tick").data(Z,e).order(),k=y.exit(),g=y.enter().append("g").attr("class","tick"),M=y.select("line"),D=y.select("text");v=v.merge(v.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),y=y.merge(g),M=M.merge(g.append("line").attr("stroke","currentColor").attr(b+"2",w*s)),D=D.merge(g.append("text").attr("fill","currentColor").attr(b,w*Y).attr("dy",t===Rt?"0em":t===me?"0.71em":"0.32em")),_!==V&&(v=v.transition(_),y=y.transition(_),M=M.transition(_),D=D.transition(_),k=k.transition(_).attr("opacity",We).attr("transform",function(T){return isFinite(T=B(T))?I(T+F):this.getAttribute("transform")}),g.attr("opacity",We).attr("transform",function(T){var p=this.parentNode.__axis;return I((p&&isFinite(p=p(T))?p:B(T))+F)})),k.remove(),v.attr("d",t===Xt||t===ie?c?"M"+w*c+","+W+"H"+F+"V"+L+"H"+w*c:"M"+F+","+W+"V"+L:c?"M"+W+","+w*c+"V"+F+"H"+L+"V"+w*c:"M"+W+","+F+"H"+L),y.attr("opacity",1).attr("transform",function(T){return I(B(T)+F)}),M.attr(b+"2",w*s),D.attr(b,w*Y).text(U),V.filter(ar).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===ie?"start":t===Xt?"end":"middle"),V.each(function(){this.__axis=B})}return C.scale=function(_){return arguments.length?(e=_,C):e},C.ticks=function(){return n=Array.from(arguments),C},C.tickArguments=function(_){return arguments.length?(n=_==null?[]:Array.from(_),C):n.slice()},C.tickValues=function(_){return arguments.length?(r=_==null?null:Array.from(_),C):r&&r.slice()},C.tickFormat=function(_){return arguments.length?(i=_,C):i},C.tickSize=function(_){return arguments.length?(s=c=+_,C):s},C.tickSizeInner=function(_){return arguments.length?(s=+_,C):s},C.tickSizeOuter=function(_){return arguments.length?(c=+_,C):c},C.tickPadding=function(_){return arguments.length?(x=+_,C):x},C.offset=function(_){return arguments.length?(F=+_,C):F},C}function or(t){return un(Rt,t)}function cr(t){return un(me,t)}const ur=Math.PI/180,lr=180/Math.PI,Jt=18,ln=.96422,dn=1,hn=.82521,fn=4/29,_t=6/29,gn=3*_t*_t,dr=_t*_t*_t;function mn(t){if(t instanceof lt)return new lt(t.l,t.a,t.b,t.opacity);if(t instanceof ht)return yn(t);t instanceof sn||(t=Ln(t));var e=ce(t.r),n=ce(t.g),r=ce(t.b),i=se((.2225045*e+.7168786*n+.0606169*r)/dn),s,c;return e===n&&n===r?s=c=i:(s=se((.4360747*e+.3850649*n+.1430804*r)/ln),c=se((.0139322*e+.0971045*n+.7141733*r)/hn)),new lt(116*i-16,500*(s-i),200*(i-c),t.opacity)}function hr(t,e,n,r){return arguments.length===1?mn(t):new lt(t,e,n,r??1)}function lt(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}an(lt,hr,on(cn,{brighter(t){return new lt(this.l+Jt*(t??1),this.a,this.b,this.opacity)},darker(t){return new lt(this.l-Jt*(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=ln*ae(e),t=dn*ae(t),n=hn*ae(n),new sn(oe(3.1338561*e-1.6168667*t-.4906146*n),oe(-.9787684*e+1.9161415*t+.033454*n),oe(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}}));function se(t){return t>dr?Math.pow(t,1/3):t/gn+fn}function ae(t){return t>_t?t*t*t:gn*(t-fn)}function oe(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function ce(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function fr(t){if(t instanceof ht)return new ht(t.h,t.c,t.l,t.opacity);if(t instanceof lt||(t=mn(t)),t.a===0&&t.b===0)return new ht(NaN,0(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 c=i(s),x=i.ceil(s);return s-c(e(s=new Date(+s),c==null?1:Math.floor(c)),s),i.range=(s,c,x)=>{const F=[];if(s=i.ceil(s),x=x==null?1:Math.floor(x),!(s0))return F;let w;do F.push(w=new Date(+s)),e(s,x),t(s);while(wtt(c=>{if(c>=c)for(;t(c),!s(c);)c.setTime(c-1)},(c,x)=>{if(c>=c)if(x<0)for(;++x<=0;)for(;e(c,-1),!s(c););else for(;--x>=0;)for(;e(c,1),!s(c););}),n&&(i.count=(s,c)=>(ue.setTime(+s),le.setTime(+c),t(ue),t(le),Math.floor(n(ue,le))),i.every=s=>(s=Math.floor(s),!isFinite(s)||!(s>0)?null:s>1?i.filter(r?c=>r(c)%s===0:c=>i.count(0,c)%s===0):i)),i}const St=tt(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);St.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):St),St.range;const ft=1e3,ot=ft*60,gt=ot*60,mt=gt*24,Me=mt*7,Pe=mt*30,de=mt*365,kt=tt(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+e*ft)},(t,e)=>(e-t)/ft,t=>t.getUTCSeconds());kt.range;const It=tt(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*ft)},(t,e)=>{t.setTime(+t+e*ot)},(t,e)=>(e-t)/ot,t=>t.getMinutes());It.range;const kr=tt(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+e*ot)},(t,e)=>(e-t)/ot,t=>t.getUTCMinutes());kr.range;const Ht=tt(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*ft-t.getMinutes()*ot)},(t,e)=>{t.setTime(+t+e*gt)},(t,e)=>(e-t)/gt,t=>t.getHours());Ht.range;const pr=tt(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+e*gt)},(t,e)=>(e-t)/gt,t=>t.getUTCHours());pr.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())*ot)/mt,t=>t.getDate()-1);Tt.range;const $e=tt(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/mt,t=>t.getUTCDate()-1);$e.range;const vr=tt(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/mt,t=>Math.floor(t/mt));vr.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())*ot)/Me)}const Pt=wt(0),Ot=wt(1),kn=wt(2),pn=wt(3),bt=wt(4),vn=wt(5),Tn=wt(6);Pt.range,Ot.range,kn.range,pn.range,bt.range,vn.range,Tn.range;function Dt(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)/Me)}const bn=Dt(0),Kt=Dt(1),Tr=Dt(2),br=Dt(3),Ft=Dt(4),xr=Dt(5),wr=Dt(6);bn.range,Kt.range,Tr.range,br.range,Ft.range,xr.range,wr.range;const Wt=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());Wt.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 yt=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());yt.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)}),yt.range;const xt=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());xt.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)}),xt.range;function Mr(t,e,n,r,i,s){const c=[[kt,1,ft],[kt,5,5*ft],[kt,15,15*ft],[kt,30,30*ft],[s,1,ot],[s,5,5*ot],[s,15,15*ot],[s,30,30*ot],[i,1,gt],[i,3,3*gt],[i,6,6*gt],[i,12,12*gt],[r,1,mt],[r,2,2*mt],[n,1,Me],[e,1,Pe],[e,3,3*Pe],[t,1,de]];function x(w,b,I){const C=bY).right(c,C);if(_===c.length)return t.every(Oe(w/de,b/de,I));if(_===0)return St.every(Math.max(Oe(w,b,I),1));const[Z,U]=c[C/c[_-1][2]53)return null;"w"in d||(d.w=1),"Z"in d?(P=fe(Et(d.y,0,1)),R=P.getUTCDay(),P=R>4||R===0?Kt.ceil(P):Kt(P),P=$e.offset(P,(d.V-1)*7),d.y=P.getUTCFullYear(),d.m=P.getUTCMonth(),d.d=P.getUTCDate()+(d.w+6)%7):(P=he(Et(d.y,0,1)),R=P.getDay(),P=R>4||R===0?Ot.ceil(P):Ot(P),P=Tt.offset(P,(d.V-1)*7),d.y=P.getFullYear(),d.m=P.getMonth(),d.d=P.getDate()+(d.w+6)%7)}else("W"in d||"U"in d)&&("w"in d||(d.w="u"in d?d.u%7:"W"in d?1:0),R="Z"in d?fe(Et(d.y,0,1)).getUTCDay():he(Et(d.y,0,1)).getDay(),d.m=0,d.d="W"in d?(d.w+6)%7+d.W*7-(R+5)%7:d.w+d.U*7-(R+6)%7);return"Z"in d?(d.H+=d.Z/100|0,d.M+=d.Z%100,fe(d)):he(d)}}function k($,O,N,d){for(var j=0,P=O.length,R=N.length,Q,et;j=R)return-1;if(Q=O.charCodeAt(j++),Q===37){if(Q=O.charAt(j++),et=V[Q in Ne?O.charAt(j++):Q],!et||(d=et($,N,d))<0)return-1}else if(Q!=N.charCodeAt(d++))return-1}return d}function g($,O,N){var d=w.exec(O.slice(N));return d?($.p=b.get(d[0].toLowerCase()),N+d[0].length):-1}function M($,O,N){var d=_.exec(O.slice(N));return d?($.w=Z.get(d[0].toLowerCase()),N+d[0].length):-1}function D($,O,N){var d=I.exec(O.slice(N));return d?($.w=C.get(d[0].toLowerCase()),N+d[0].length):-1}function T($,O,N){var d=E.exec(O.slice(N));return d?($.m=W.get(d[0].toLowerCase()),N+d[0].length):-1}function p($,O,N){var d=U.exec(O.slice(N));return d?($.m=Y.get(d[0].toLowerCase()),N+d[0].length):-1}function l($,O,N){return k($,e,O,N)}function m($,O,N){return k($,n,O,N)}function h($,O,N){return k($,r,O,N)}function S($){return c[$.getDay()]}function a($){return s[$.getDay()]}function o($){return F[$.getMonth()]}function u($){return x[$.getMonth()]}function A($){return i[+($.getHours()>=12)]}function z($){return 1+~~($.getMonth()/3)}function H($){return c[$.getUTCDay()]}function q($){return s[$.getUTCDay()]}function J($){return F[$.getUTCMonth()]}function K($){return x[$.getUTCMonth()]}function it($){return i[+($.getUTCHours()>=12)]}function pt($){return 1+~~($.getUTCMonth()/3)}return{format:function($){var O=v($+="",L);return O.toString=function(){return $},O},parse:function($){var O=y($+="",!1);return O.toString=function(){return $},O},utcFormat:function($){var O=v($+="",B);return O.toString=function(){return $},O},utcParse:function($){var O=y($+="",!0);return O.toString=function(){return $},O}}}var Ne={"-":"",_:" ",0:"0"},nt=/^\s*\d+/,Sr=/^%/,Yr=/[\\^$*+?|[\]().{}]/g;function X(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",s=i.length;return r+(s[e.toLowerCase(),n]))}function Ar(t,e,n){var r=nt.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function Er(t,e,n){var r=nt.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function Ur(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function Lr(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function Ir(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function ze(t,e,n){var r=nt.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function Be(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 Hr(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 Or(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 Wr(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 Ze(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function Pr(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 je(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function Nr(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function zr(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function Br(t,e,n){var r=nt.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function Zr(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 jr(t,e,n){var r=Sr.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function Xr(t,e,n){var r=nt.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function Rr(t,e,n){var r=nt.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function Xe(t,e){return X(t.getDate(),e,2)}function qr(t,e){return X(t.getHours(),e,2)}function Vr(t,e){return X(t.getHours()%12||12,e,2)}function Jr(t,e){return X(1+Tt.count(yt(t),t),e,3)}function xn(t,e){return X(t.getMilliseconds(),e,3)}function Kr(t,e){return xn(t,e)+"000"}function Qr(t,e){return X(t.getMonth()+1,e,2)}function Gr(t,e){return X(t.getMinutes(),e,2)}function ti(t,e){return X(t.getSeconds(),e,2)}function ei(t){var e=t.getDay();return e===0?7:e}function ni(t,e){return X(Pt.count(yt(t)-1,t),e,2)}function wn(t){var e=t.getDay();return e>=4||e===0?bt(t):bt.ceil(t)}function ri(t,e){return t=wn(t),X(bt.count(yt(t),t)+(yt(t).getDay()===4),e,2)}function ii(t){return t.getDay()}function si(t,e){return X(Ot.count(yt(t)-1,t),e,2)}function ai(t,e){return X(t.getFullYear()%100,e,2)}function oi(t,e){return t=wn(t),X(t.getFullYear()%100,e,2)}function ci(t,e){return X(t.getFullYear()%1e4,e,4)}function ui(t,e){var n=t.getDay();return t=n>=4||n===0?bt(t):bt.ceil(t),X(t.getFullYear()%1e4,e,4)}function li(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+X(e/60|0,"0",2)+X(e%60,"0",2)}function Re(t,e){return X(t.getUTCDate(),e,2)}function di(t,e){return X(t.getUTCHours(),e,2)}function hi(t,e){return X(t.getUTCHours()%12||12,e,2)}function fi(t,e){return X(1+$e.count(xt(t),t),e,3)}function Dn(t,e){return X(t.getUTCMilliseconds(),e,3)}function gi(t,e){return Dn(t,e)+"000"}function mi(t,e){return X(t.getUTCMonth()+1,e,2)}function yi(t,e){return X(t.getUTCMinutes(),e,2)}function ki(t,e){return X(t.getUTCSeconds(),e,2)}function pi(t){var e=t.getUTCDay();return e===0?7:e}function vi(t,e){return X(bn.count(xt(t)-1,t),e,2)}function Mn(t){var e=t.getUTCDay();return e>=4||e===0?Ft(t):Ft.ceil(t)}function Ti(t,e){return t=Mn(t),X(Ft.count(xt(t),t)+(xt(t).getUTCDay()===4),e,2)}function bi(t){return t.getUTCDay()}function xi(t,e){return X(Kt.count(xt(t)-1,t),e,2)}function wi(t,e){return X(t.getUTCFullYear()%100,e,2)}function Di(t,e){return t=Mn(t),X(t.getUTCFullYear()%100,e,2)}function Mi(t,e){return X(t.getUTCFullYear()%1e4,e,4)}function $i(t,e){var n=t.getUTCDay();return t=n>=4||n===0?Ft(t):Ft.ceil(t),X(t.getUTCFullYear()%1e4,e,4)}function Ci(){return"+0000"}function qe(){return"%"}function Ve(t){return+t}function Je(t){return Math.floor(+t/1e3)}var $t,Qt;_i({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 _i(t){return $t=_r(t),Qt=$t.format,$t.parse,$t.utcFormat,$t.utcParse,$t}function Si(t){return new Date(t)}function Yi(t){return t instanceof Date?+t:+new Date(+t)}function $n(t,e,n,r,i,s,c,x,F,w){var b=Vn(),I=b.invert,C=b.domain,_=w(".%L"),Z=w(":%S"),U=w("%I:%M"),Y=w("%I %p"),E=w("%a %d"),W=w("%b %d"),L=w("%B"),B=w("%Y");function V(v){return(F(v)4&&(_+=7),C.add(_,n));return Z.diff(U,"week")+1},x.isoWeekday=function(w){return this.$utils().u(w)?this.day()||7:this.day(this.day()%7?w:w-7)};var F=x.startOf;x.startOf=function(w,b){var I=this.$utils(),C=!!I.u(b)||b;return I.p(w)==="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)(w,b)}}})})(ke)),ke.exports}var Ui=Ei();const Li=ee(Ui);var pe={exports:{}},Ii=pe.exports,Qe;function Hi(){return Qe||(Qe=1,(function(t,e){(function(n,r){t.exports=r()})(Ii,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/,c=/\d\d?/,x=/\d*[^-_:/,()\s\d]+/,F={},w=function(Y){return(Y=+Y)+(Y>68?1900:2e3)},b=function(Y){return function(E){this[Y]=+E}},I=[/[+-]\d\d:?(\d\d)?|Z/,function(Y){(this.zone||(this.zone={})).offset=(function(E){if(!E||E==="Z")return 0;var W=E.match(/([+-]|\d\d)/g),L=60*W[1]+(+W[2]||0);return L===0?0:W[0]==="+"?-L:L})(Y)}],C=function(Y){var E=F[Y];return E&&(E.indexOf?E:E.s.concat(E.f))},_=function(Y,E){var W,L=F.meridiem;if(L){for(var B=1;B<=24;B+=1)if(Y.indexOf(L(B,0,E))>-1){W=B>12;break}}else W=Y===(E?"pm":"PM");return W},Z={A:[x,function(Y){this.afternoon=_(Y,!1)}],a:[x,function(Y){this.afternoon=_(Y,!0)}],Q:[i,function(Y){this.month=3*(Y-1)+1}],S:[i,function(Y){this.milliseconds=100*+Y}],SS:[s,function(Y){this.milliseconds=10*+Y}],SSS:[/\d{3}/,function(Y){this.milliseconds=+Y}],s:[c,b("seconds")],ss:[c,b("seconds")],m:[c,b("minutes")],mm:[c,b("minutes")],H:[c,b("hours")],h:[c,b("hours")],HH:[c,b("hours")],hh:[c,b("hours")],D:[c,b("day")],DD:[s,b("day")],Do:[x,function(Y){var E=F.ordinal,W=Y.match(/\d+/);if(this.day=W[0],E)for(var L=1;L<=31;L+=1)E(L).replace(/\[|\]/g,"")===Y&&(this.day=L)}],w:[c,b("week")],ww:[s,b("week")],M:[c,b("month")],MM:[s,b("month")],MMM:[x,function(Y){var E=C("months"),W=(C("monthsShort")||E.map(function(L){return L.slice(0,3)})).indexOf(Y)+1;if(W<1)throw new Error;this.month=W%12||W}],MMMM:[x,function(Y){var E=C("months").indexOf(Y)+1;if(E<1)throw new Error;this.month=E%12||E}],Y:[/[+-]?\d+/,b("year")],YY:[s,function(Y){this.year=w(Y)}],YYYY:[/\d{4}/,b("year")],Z:I,ZZ:I};function U(Y){var E,W;E=Y,W=F&&F.formats;for(var L=(Y=E.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(M,D,T){var p=T&&T.toUpperCase();return D||W[T]||n[T]||W[p].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(l,m,h){return m||h.slice(1)})})).match(r),B=L.length,V=0;V-1)return new Date((a==="X"?1e3:1)*S);var A=U(a)(S),z=A.year,H=A.month,q=A.day,J=A.hours,K=A.minutes,it=A.seconds,pt=A.milliseconds,$=A.zone,O=A.week,N=new Date,d=q||(z||H?1:N.getDate()),j=z||N.getFullYear(),P=0;z&&!H||(P=H>0?H-1:N.getMonth());var R,Q=J||0,et=K||0,ct=it||0,st=pt||0;return $?new Date(Date.UTC(j,P,d,Q,et,ct,st+60*$.offset*1e3)):o?new Date(Date.UTC(j,P,d,Q,et,ct,st)):(R=new Date(j,P,d,Q,et,ct,st),O&&(R=u(R).week(O).toDate()),R)}catch{return new Date("")}})(v,g,y,W),this.init(),p&&p!==!0&&(this.$L=this.locale(p).$L),T&&v!=this.format(g)&&(this.$d=new Date("")),F={}}else if(g instanceof Array)for(var l=g.length,m=1;m<=l;m+=1){k[1]=g[m-1];var h=W.apply(this,k);if(h.isValid()){this.$d=h.$d,this.$L=h.$L,this.init();break}m===l&&(this.$d=new Date(""))}else B.call(this,V)}}})})(pe)),pe.exports}var Oi=Hi();const Wi=ee(Oi);var ve={exports:{}},Pi=ve.exports,Ge;function Ni(){return Ge||(Ge=1,(function(t,e){(function(n,r){t.exports=r()})(Pi,function(){return function(n,r){var i=r.prototype,s=i.format;i.format=function(c){var x=this,F=this.$locale();if(!this.isValid())return s.bind(this)(c);var w=this.$utils(),b=(c||"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((x.$M+1)/3);case"Do":return F.ordinal(x.$D);case"gggg":return x.weekYear();case"GGGG":return x.isoWeekYear();case"wo":return F.ordinal(x.week(),"W");case"w":case"ww":return w.s(x.week(),I==="w"?1:2,"0");case"W":case"WW":return w.s(x.isoWeek(),I==="W"?1:2,"0");case"k":case"kk":return w.s(String(x.$H===0?24:x.$H),I==="k"?1:2,"0");case"X":return Math.floor(x.$d.getTime()/1e3);case"x":return x.$d.getTime();case"z":return"["+x.offsetName()+"]";case"zzz":return"["+x.offsetName("long")+"]";default:return I}});return s.bind(this)(b)}}})})(ve)),ve.exports}var zi=Ni();const Bi=ee(zi);var Te={exports:{}},Zi=Te.exports,tn;function ji(){return tn||(tn=1,(function(t,e){(function(n,r){t.exports=r()})(Zi,function(){var n,r,i=1e3,s=6e4,c=36e5,x=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,w=31536e6,b=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)?)?$/,C={years:w,months:b,days:x,hours:c,minutes:s,seconds:i,milliseconds:1,weeks:6048e5},_=function(v){return v instanceof B},Z=function(v,y,k){return new B(v,k,y.$l)},U=function(v){return r.p(v)+"s"},Y=function(v){return v<0},E=function(v){return Y(v)?Math.ceil(v):Math.floor(v)},W=function(v){return Math.abs(v)},L=function(v,y){return v?Y(v)?{negative:!0,format:""+W(v)+y}:{negative:!1,format:""+v+y}:{negative:!1,format:""}},B=(function(){function v(k,g,M){var D=this;if(this.$d={},this.$l=M,k===void 0&&(this.$ms=0,this.parseFromMilliseconds()),g)return Z(k*C[U(g)],this);if(typeof k=="number")return this.$ms=k,this.parseFromMilliseconds(),this;if(typeof k=="object")return Object.keys(k).forEach(function(l){D.$d[U(l)]=k[l]}),this.calMilliseconds(),this;if(typeof k=="string"){var T=k.match(I);if(T){var p=T.slice(2).map(function(l){return l!=null?Number(l):0});return this.$d.years=p[0],this.$d.months=p[1],this.$d.weeks=p[2],this.$d.days=p[3],this.$d.hours=p[4],this.$d.minutes=p[5],this.$d.seconds=p[6],this.calMilliseconds(),this}}return this}var y=v.prototype;return y.calMilliseconds=function(){var k=this;this.$ms=Object.keys(this.$d).reduce(function(g,M){return g+(k.$d[M]||0)*C[M]},0)},y.parseFromMilliseconds=function(){var k=this.$ms;this.$d.years=E(k/w),k%=w,this.$d.months=E(k/b),k%=b,this.$d.days=E(k/x),k%=x,this.$d.hours=E(k/c),k%=c,this.$d.minutes=E(k/s),k%=s,this.$d.seconds=E(k/i),k%=i,this.$d.milliseconds=k},y.toISOString=function(){var k=L(this.$d.years,"Y"),g=L(this.$d.months,"M"),M=+this.$d.days||0;this.$d.weeks&&(M+=7*this.$d.weeks);var D=L(M,"D"),T=L(this.$d.hours,"H"),p=L(this.$d.minutes,"M"),l=this.$d.seconds||0;this.$d.milliseconds&&(l+=this.$d.milliseconds/1e3,l=Math.round(1e3*l)/1e3);var m=L(l,"S"),h=k.negative||g.negative||D.negative||T.negative||p.negative||m.negative,S=T.format||p.format||m.format?"T":"",a=(h?"-":"")+"P"+k.format+g.format+D.format+S+T.format+p.format+m.format;return a==="P"||a==="-P"?"P0D":a},y.toJSON=function(){return this.toISOString()},y.format=function(k){var g=k||"YYYY-MM-DDTHH:mm:ss",M={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 g.replace(F,function(D,T){return T||String(M[D])})},y.as=function(k){return this.$ms/C[U(k)]},y.get=function(k){var g=this.$ms,M=U(k);return M==="milliseconds"?g%=1e3:g=M==="weeks"?E(g/C[M]):this.$d[M],g||0},y.add=function(k,g,M){var D;return D=g?k*C[U(g)]:_(k)?k.$ms:Z(k,this).$ms,Z(this.$ms+D*(M?-1:1),this)},y.subtract=function(k,g){return this.add(k,g,!0)},y.locale=function(k){var g=this.clone();return g.$l=k,g},y.clone=function(){return Z(this.$ms,this)},y.humanize=function(k){return n().add(this.$ms,"ms").locale(this.$l).fromNow(!k)},y.valueOf=function(){return this.asMilliseconds()},y.milliseconds=function(){return this.get("milliseconds")},y.asMilliseconds=function(){return this.as("milliseconds")},y.seconds=function(){return this.get("seconds")},y.asSeconds=function(){return this.as("seconds")},y.minutes=function(){return this.get("minutes")},y.asMinutes=function(){return this.as("minutes")},y.hours=function(){return this.get("hours")},y.asHours=function(){return this.as("hours")},y.days=function(){return this.get("days")},y.asDays=function(){return this.as("days")},y.weeks=function(){return this.get("weeks")},y.asWeeks=function(){return this.as("weeks")},y.months=function(){return this.get("months")},y.asMonths=function(){return this.as("months")},y.years=function(){return this.get("years")},y.asYears=function(){return this.as("years")},v})(),V=function(v,y,k){return v.add(y.years()*k,"y").add(y.months()*k,"M").add(y.days()*k,"d").add(y.hours()*k,"h").add(y.minutes()*k,"m").add(y.seconds()*k,"s").add(y.milliseconds()*k,"ms")};return function(v,y,k){n=k,r=k().$utils(),k.duration=function(D,T){var p=k.locale();return Z(D,{$l:p},T)},k.isDuration=_;var g=y.prototype.add,M=y.prototype.subtract;y.prototype.add=function(D,T){return _(D)?V(this,D,1):g.bind(this)(D,T)},y.prototype.subtract=function(D,T){return _(D)?V(this,D,-1):M.bind(this)(D,T)}}})})(Te)),Te.exports}var Xi=ji();const Ri=ee(Xi);var be=(function(){var t=f(function(p,l,m,h){for(m=m||{},h=p.length;h--;m[p[h]]=l);return m},"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],c=[1,30],x=[1,31],F=[1,32],w=[1,33],b=[1,34],I=[1,9],C=[1,10],_=[1,11],Z=[1,12],U=[1,13],Y=[1,14],E=[1,15],W=[1,16],L=[1,19],B=[1,20],V=[1,21],v=[1,22],y=[1,23],k=[1,25],g=[1,35],M={trace:f(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:f(function(p,l,m,h,S,a,o){var u=a.length-1;switch(S){case 1:return a[u-1];case 2:this.$=[];break;case 3:a[u-1].push(a[u]),this.$=a[u-1];break;case 4:case 5:this.$=a[u];break;case 6:case 7:this.$=[];break;case 8:h.setWeekday("monday");break;case 9:h.setWeekday("tuesday");break;case 10:h.setWeekday("wednesday");break;case 11:h.setWeekday("thursday");break;case 12:h.setWeekday("friday");break;case 13:h.setWeekday("saturday");break;case 14:h.setWeekday("sunday");break;case 15:h.setWeekend("friday");break;case 16:h.setWeekend("saturday");break;case 17:h.setDateFormat(a[u].substr(11)),this.$=a[u].substr(11);break;case 18:h.enableInclusiveEndDates(),this.$=a[u].substr(18);break;case 19:h.TopAxis(),this.$=a[u].substr(8);break;case 20:h.setAxisFormat(a[u].substr(11)),this.$=a[u].substr(11);break;case 21:h.setTickInterval(a[u].substr(13)),this.$=a[u].substr(13);break;case 22:h.setExcludes(a[u].substr(9)),this.$=a[u].substr(9);break;case 23:h.setIncludes(a[u].substr(9)),this.$=a[u].substr(9);break;case 24:h.setTodayMarker(a[u].substr(12)),this.$=a[u].substr(12);break;case 27:h.setDiagramTitle(a[u].substr(6)),this.$=a[u].substr(6);break;case 28:this.$=a[u].trim(),h.setAccTitle(this.$);break;case 29:case 30:this.$=a[u].trim(),h.setAccDescription(this.$);break;case 31:h.addSection(a[u].substr(8)),this.$=a[u].substr(8);break;case 33:h.addTask(a[u-1],a[u]),this.$="task";break;case 34:this.$=a[u-1],h.setClickEvent(a[u-1],a[u],null);break;case 35:this.$=a[u-2],h.setClickEvent(a[u-2],a[u-1],a[u]);break;case 36:this.$=a[u-2],h.setClickEvent(a[u-2],a[u-1],null),h.setLink(a[u-2],a[u]);break;case 37:this.$=a[u-3],h.setClickEvent(a[u-3],a[u-2],a[u-1]),h.setLink(a[u-3],a[u]);break;case 38:this.$=a[u-2],h.setClickEvent(a[u-2],a[u],null),h.setLink(a[u-2],a[u-1]);break;case 39:this.$=a[u-3],h.setClickEvent(a[u-3],a[u-1],a[u]),h.setLink(a[u-3],a[u-2]);break;case 40:this.$=a[u-1],h.setLink(a[u-1],a[u]);break;case 41:case 47:this.$=a[u-1]+" "+a[u];break;case 42:case 43:case 45:this.$=a[u-2]+" "+a[u-1]+" "+a[u];break;case 44:case 46:this.$=a[u-3]+" "+a[u-2]+" "+a[u-1]+" "+a[u];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:c,17:x,18:F,19:18,20:w,21:b,22:I,23:C,24:_,25:Z,26:U,27:Y,28:E,29:W,30:L,31:B,33:V,35:v,36:y,37:24,38:k,40:g},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:36,11:17,12:n,13:r,14:i,15:s,16:c,17:x,18:F,19:18,20:w,21:b,22:I,23:C,24:_,25:Z,26:U,27:Y,28:E,29:W,30:L,31:B,33:V,35:v,36:y,37:24,38:k,40:g},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:f(function(p,l){if(l.recoverable)this.trace(p);else{var m=new Error(p);throw m.hash=l,m}},"parseError"),parse:f(function(p){var l=this,m=[0],h=[],S=[null],a=[],o=this.table,u="",A=0,z=0,H=2,q=1,J=a.slice.call(arguments,1),K=Object.create(this.lexer),it={yy:{}};for(var pt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,pt)&&(it.yy[pt]=this.yy[pt]);K.setInput(p,it.yy),it.yy.lexer=K,it.yy.parser=this,typeof K.yylloc>"u"&&(K.yylloc={});var $=K.yylloc;a.push($);var O=K.options&&K.options.ranges;typeof it.yy.parseError=="function"?this.parseError=it.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function N(at){m.length=m.length-2*at,S.length=S.length-at,a.length=a.length-at}f(N,"popStack");function d(){var at;return at=h.pop()||K.lex()||q,typeof at!="number"&&(at instanceof Array&&(h=at,at=h.pop()),at=l.symbols_[at]||at),at}f(d,"lex");for(var j,P,R,Q,et={},ct,st,He,Zt;;){if(P=m[m.length-1],this.defaultActions[P]?R=this.defaultActions[P]:((j===null||typeof j>"u")&&(j=d()),R=o[P]&&o[P][j]),typeof R>"u"||!R.length||!R[0]){var ne="";Zt=[];for(ct in o[P])this.terminals_[ct]&&ct>H&&Zt.push("'"+this.terminals_[ct]+"'");K.showPosition?ne="Parse error on line "+(A+1)+`: `+K.showPosition()+` Expecting `+Zt.join(", ")+", got '"+(this.terminals_[j]||j)+"'":ne="Parse error on line "+(A+1)+": Unexpected "+(j==q?"end of input":"'"+(this.terminals_[j]||j)+"'"),this.parseError(ne,{text:K.match,token:this.terminals_[j]||j,line:K.yylineno,loc:$,expected:Zt})}if(R[0]instanceof Array&&R.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+j);switch(R[0]){case 1:m.push(j),S.push(K.yytext),a.push(K.yylloc),m.push(R[1]),j=null,z=K.yyleng,u=K.yytext,A=K.yylineno,$=K.yylloc;break;case 2:if(st=this.productions_[R[1]][1],et.$=S[S.length-st],et._$={first_line:a[a.length-(st||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(st||1)].first_column,last_column:a[a.length-1].last_column},O&&(et._$.range=[a[a.length-(st||1)].range[0],a[a.length-1].range[1]]),Q=this.performAction.apply(et,[u,z,A,it.yy,R[1],S,a].concat(J)),typeof Q<"u")return Q;st&&(m=m.slice(0,-1*st*2),S=S.slice(0,-1*st),a=a.slice(0,-1*st)),m.push(this.productions_[R[1]][0]),S.push(et.$),a.push(et._$),He=o[m[m.length-2]][m[m.length-1]],m.push(He);break;case 3:return!0}}return!0},"parse")},D=(function(){var p={EOF:1,parseError:f(function(l,m){if(this.yy.parser)this.yy.parser.parseError(l,m);else throw new Error(l)},"parseError"),setInput:f(function(l,m){return this.yy=m||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:f(function(){var l=this._input[0];this.yytext+=l,this.yyleng++,this.offset++,this.match+=l,this.matched+=l;var m=l.match(/(?:\r\n?|\n).*/g);return m?(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:f(function(l){var m=l.length,h=l.split(/(?:\r\n?|\n)/g);this._input=l+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-m),this.offset-=m;var S=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),h.length-1&&(this.yylineno-=h.length-1);var a=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:h?(h.length===S.length?this.yylloc.first_column:0)+S[S.length-h.length].length-h[0].length:this.yylloc.first_column-m},this.options.ranges&&(this.yylloc.range=[a[0],a[0]+this.yyleng-m]),this.yyleng=this.yytext.length,this},"unput"),more:f(function(){return this._more=!0,this},"more"),reject:f(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:f(function(l){this.unput(this.match.slice(l))},"less"),pastInput:f(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:f(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:f(function(){var l=this.pastInput(),m=new Array(l.length+1).join("-");return l+this.upcomingInput()+` `+m+"^"},"showPosition"),test_match:f(function(l,m){var h,S,a;if(this.options.backtrack_lexer&&(a={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&&(a.yylloc.range=this.yylloc.range.slice(0))),S=l[0].match(/(?:\r\n?|\n).*/g),S&&(this.yylineno+=S.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:S?S[S.length-1].length-S[S.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],h=this.performAction.call(this,this.yy,this,m,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),h)return h;if(this._backtrack){for(var o in a)this[o]=a[o];return!1}return!1},"test_match"),next:f(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var l,m,h,S;this._more||(this.yytext="",this.match="");for(var a=this._currentRules(),o=0;om[0].length)){if(m=h,S=o,this.options.backtrack_lexer){if(l=this.test_match(h,a[o]),l!==!1)return l;if(this._backtrack){m=!1;continue}else return!1}else if(!this.options.flex)break}return m?(l=this.test_match(m,a[S]),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:f(function(){var l=this.next();return l||this.lex()},"lex"),begin:f(function(l){this.conditionStack.push(l)},"begin"),popState:f(function(){var l=this.conditionStack.length-1;return l>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:f(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:f(function(l){return l=this.conditionStack.length-1-Math.abs(l||0),l>=0?this.conditionStack[l]:"INITIAL"},"topState"),pushState:f(function(l){this.begin(l)},"pushState"),stateStackSize:f(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:f(function(l,m,h,S){switch(h){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 p})();M.lexer=D;function T(){this.yy={}}return f(T,"Parser"),T.prototype=M,M.Parser=T,new T})();be.parser=be;var qi=be;rt.extend(Li),rt.extend(Wi),rt.extend(Bi);var en={friday:5,saturday:6},ut="",Ce="",_e=void 0,Se="",Nt=[],zt=[],Ye=new Map,Fe=[],Gt=[],At="",Ae="",Cn=["active","done","crit","milestone","vert"],Ee=[],Bt=!1,Ue=!1,Le="sunday",te="saturday",xe=0,Vi=f(function(){Fe=[],Gt=[],At="",Ee=[],qt=0,De=void 0,Vt=void 0,G=[],ut="",Ce="",Ae="",_e=void 0,Se="",Nt=[],zt=[],Bt=!1,Ue=!1,xe=0,Ye=new Map,Xn(),Le="sunday",te="saturday"},"clear"),Ji=f(function(t){Ce=t},"setAxisFormat"),Ki=f(function(){return Ce},"getAxisFormat"),Qi=f(function(t){_e=t},"setTickInterval"),Gi=f(function(){return _e},"getTickInterval"),ts=f(function(t){Se=t},"setTodayMarker"),es=f(function(){return Se},"getTodayMarker"),ns=f(function(t){ut=t},"setDateFormat"),rs=f(function(){Bt=!0},"enableInclusiveEndDates"),is=f(function(){return Bt},"endDatesAreInclusive"),ss=f(function(){Ue=!0},"enableTopAxis"),as=f(function(){return Ue},"topAxisEnabled"),os=f(function(t){Ae=t},"setDisplayMode"),cs=f(function(){return Ae},"getDisplayMode"),us=f(function(){return ut},"getDateFormat"),ls=f(function(t){Nt=t.toLowerCase().split(/[\s,]+/)},"setIncludes"),ds=f(function(){return Nt},"getIncludes"),hs=f(function(t){zt=t.toLowerCase().split(/[\s,]+/)},"setExcludes"),fs=f(function(){return zt},"getExcludes"),gs=f(function(){return Ye},"getLinks"),ms=f(function(t){At=t,Fe.push(t)},"addSection"),ys=f(function(){return Fe},"getSections"),ks=f(function(){let t=nn();const e=10;let n=0;for(;!t&&n{const c=s.trim();return c==="x"||c==="X"},"isTimestampFormat")(e)&&/^\d+$/.test(n))return new Date(Number(n));const r=/^after\s+(?[\d\w- ]+)/.exec(n);if(r!==null){let s=null;for(const x of r.groups.ids.split(" ")){let F=Mt(x);F!==void 0&&(!s||F.endTime>s.endTime)&&(s=F)}if(s)return s.endTime;const c=new Date;return c.setHours(0,0,0,0),c}let i=rt(n,e.trim(),!0);if(i.isValid())return i.toDate();{vt.debug("Invalid date:"+n),vt.debug("With date format:"+e.trim());const s=new Date(n);if(s===void 0||isNaN(s.getTime())||s.getFullYear()<-1e4||s.getFullYear()>1e4)throw new Error("Invalid date:"+n);return s}},"getStartDate"),Yn=f(function(t){const e=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(t.trim());return e!==null?[Number.parseFloat(e[1]),e[2]]:[NaN,"ms"]},"parseDuration"),Fn=f(function(t,e,n,r=!1){n=n.trim();const i=/^until\s+(?[\d\w- ]+)/.exec(n);if(i!==null){let w=null;for(const I of i.groups.ids.split(" ")){let C=Mt(I);C!==void 0&&(!w||C.startTime{window.open(n,"_self")}),Ye.set(r,n))}),En(t,"clickable")},"setLink"),En=f(function(t,e){t.split(",").forEach(function(n){let r=Mt(n);r!==void 0&&r.classes.push(e)})},"setClass"),Cs=f(function(t,e,n){if(Ct().securityLevel!=="loose"||e===void 0)return;let r=[];if(typeof n=="string"){r=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let i=0;i{Rn.runFunc(e,...r)})},"setClickFun"),Un=f(function(t,e){Ee.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"),_s=f(function(t,e,n){t.split(",").forEach(function(r){Cs(r,e,n)}),En(t,"clickable")},"setClickEvent"),Ss=f(function(t){Ee.forEach(function(e){e(t)})},"bindFunctions"),Ys={getConfig:f(()=>Ct().gantt,"getConfig"),clear:Vi,setDateFormat:ns,getDateFormat:us,enableInclusiveEndDates:rs,endDatesAreInclusive:is,enableTopAxis:ss,topAxisEnabled:as,setAxisFormat:Ji,getAxisFormat:Ki,setTickInterval:Qi,getTickInterval:Gi,setTodayMarker:ts,getTodayMarker:es,setAccTitle:zn,getAccTitle:Nn,setDiagramTitle:Pn,getDiagramTitle:Wn,setDisplayMode:os,getDisplayMode:cs,setAccDescription:On,getAccDescription:Hn,addSection:ms,getSections:ys,getTasks:ks,addTask:Ds,findTaskById:Mt,addTaskOrg:Ms,setIncludes:ls,getIncludes:ds,setExcludes:hs,getExcludes:fs,setClickEvent:_s,setLink:$s,getLinks:gs,bindFunctions:Ss,parseDuration:Yn,isInvalidDate:_n,setWeekday:ps,getWeekday:vs,setWeekend:Ts};function Ie(t,e,n){let r=!0;for(;r;)r=!1,n.forEach(function(i){const s="^\\s*"+i+"\\s*$",c=new RegExp(s);t[0].match(c)&&(e[i]=!0,t.shift(1),r=!0)})}f(Ie,"getTaskTags"),rt.extend(Ri);var Fs=f(function(){vt.debug("Something is calling, setConf, remove the call")},"setConf"),rn={monday:Ot,tuesday:kn,wednesday:pn,thursday:bt,friday:vn,saturday:Tn,sunday:Pt},As=f((t,e)=>{let n=[...t].map(()=>-1/0),r=[...t].sort((s,c)=>s.startTime-c.startTime||s.order-c.order),i=0;for(const s of r)for(let c=0;c=n[c]){n[c]=s.endTime,s.order=c+e,c>i&&(i=c);break}return i},"getMaxIntersections"),dt,ge=1e4,Es=f(function(t,e,n,r){const i=Ct().gantt,s=Ct().securityLevel;let c;s==="sandbox"&&(c=jt("#i"+e));const x=s==="sandbox"?jt(c.nodes()[0].contentDocument.body):jt("body"),F=s==="sandbox"?c.nodes()[0].contentDocument:document,w=F.getElementById(e);dt=w.parentElement.offsetWidth,dt===void 0&&(dt=1200),i.useWidth!==void 0&&(dt=i.useWidth);const b=r.db.getTasks();let I=[];for(const g of b)I.push(g.type);I=k(I);const C={};let _=2*i.topPadding;if(r.db.getDisplayMode()==="compact"||i.displayMode==="compact"){const g={};for(const D of b)g[D.section]===void 0?g[D.section]=[D]:g[D.section].push(D);let M=0;for(const D of Object.keys(g)){const T=As(g[D],M)+1;M+=T,_+=T*(i.barHeight+i.barGap),C[D]=T}}else{_+=b.length*(i.barHeight+i.barGap);for(const g of I)C[g]=b.filter(M=>M.type===g).length}w.setAttribute("viewBox","0 0 "+dt+" "+_);const Z=x.select(`[id="${e}"]`),U=Fi().domain([tr(b,function(g){return g.startTime}),Gn(b,function(g){return g.endTime})]).rangeRound([0,dt-i.leftPadding-i.rightPadding]);function Y(g,M){const D=g.startTime,T=M.startTime;let p=0;return D>T?p=1:Do.vert===u.vert?0:o.vert?1:-1);const h=[...new Set(g.map(o=>o.order))].map(o=>g.find(u=>u.order===o));Z.append("g").selectAll("rect").data(h).enter().append("rect").attr("x",0).attr("y",function(o,u){return u=o.order,u*M+D-2}).attr("width",function(){return m-i.rightPadding/2}).attr("height",M).attr("class",function(o){for(const[u,A]of I.entries())if(o.type===A)return"section section"+u%i.numberSectionStyles;return"section section0"}).enter();const S=Z.append("g").selectAll("rect").data(g).enter(),a=r.db.getLinks();if(S.append("rect").attr("id",function(o){return o.id}).attr("rx",3).attr("ry",3).attr("x",function(o){return o.milestone?U(o.startTime)+T+.5*(U(o.endTime)-U(o.startTime))-.5*p:U(o.startTime)+T}).attr("y",function(o,u){return u=o.order,o.vert?i.gridLineStartPadding:u*M+D}).attr("width",function(o){return o.milestone?p:o.vert?.08*p:U(o.renderEndTime||o.endTime)-U(o.startTime)}).attr("height",function(o){return o.vert?b.length*(i.barHeight+i.barGap)+i.barHeight*2:p}).attr("transform-origin",function(o,u){return u=o.order,(U(o.startTime)+T+.5*(U(o.endTime)-U(o.startTime))).toString()+"px "+(u*M+D+.5*p).toString()+"px"}).attr("class",function(o){const u="task";let A="";o.classes.length>0&&(A=o.classes.join(" "));let z=0;for(const[q,J]of I.entries())o.type===J&&(z=q%i.numberSectionStyles);let H="";return o.active?o.crit?H+=" activeCrit":H=" active":o.done?o.crit?H=" doneCrit":H=" done":o.crit&&(H+=" crit"),H.length===0&&(H=" task"),o.milestone&&(H=" milestone "+H),o.vert&&(H=" vert "+H),H+=z,H+=" "+A,u+H}),S.append("text").attr("id",function(o){return o.id+"-text"}).text(function(o){return o.task}).attr("font-size",i.fontSize).attr("x",function(o){let u=U(o.startTime),A=U(o.renderEndTime||o.endTime);if(o.milestone&&(u+=.5*(U(o.endTime)-U(o.startTime))-.5*p,A=u+p),o.vert)return U(o.startTime)+T;const z=this.getBBox().width;return z>A-u?A+z+1.5*i.leftPadding>m?u+T-5:A+T+5:(A-u)/2+u+T}).attr("y",function(o,u){return o.vert?i.gridLineStartPadding+b.length*(i.barHeight+i.barGap)+60:(u=o.order,u*M+i.barHeight/2+(i.fontSize/2-2)+D)}).attr("text-height",p).attr("class",function(o){const u=U(o.startTime);let A=U(o.endTime);o.milestone&&(A=u+p);const z=this.getBBox().width;let H="";o.classes.length>0&&(H=o.classes.join(" "));let q=0;for(const[K,it]of I.entries())o.type===it&&(q=K%i.numberSectionStyles);let J="";return o.active&&(o.crit?J="activeCritText"+q:J="activeText"+q),o.done?o.crit?J=J+" doneCritText"+q:J=J+" doneText"+q:o.crit&&(J=J+" critText"+q),o.milestone&&(J+=" milestoneText"),o.vert&&(J+=" vertText"),z>A-u?A+z+1.5*i.leftPadding>m?H+" taskTextOutsideLeft taskTextOutside"+q+" "+J:H+" taskTextOutsideRight taskTextOutside"+q+" "+J+" width-"+z:H+" taskText taskText"+q+" "+J+" width-"+z}),Ct().securityLevel==="sandbox"){let o;o=jt("#i"+e);const u=o.nodes()[0].contentDocument;S.filter(function(A){return a.has(A.id)}).each(function(A){var z=u.querySelector("#"+A.id),H=u.querySelector("#"+A.id+"-text");const q=z.parentNode;var J=u.createElement("a");J.setAttribute("xlink:href",a.get(A.id)),J.setAttribute("target","_top"),q.appendChild(J),J.appendChild(z),J.appendChild(H)})}}f(W,"drawRects");function L(g,M,D,T,p,l,m,h){if(m.length===0&&h.length===0)return;let S,a;for(const{startTime:H,endTime:q}of l)(S===void 0||Ha)&&(a=q);if(!S||!a)return;if(rt(a).diff(rt(S),"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(),u=[];let A=null,z=rt(S);for(;z.valueOf()<=a;)r.db.isInvalidDate(z,o,m,h)?A?A.end=z:A={start:z,end:z}:A&&(u.push(A),A=null),z=z.add(1,"d");Z.append("g").selectAll("rect").data(u).enter().append("rect").attr("id",H=>"exclude-"+H.start.format("YYYY-MM-DD")).attr("x",H=>U(H.start.startOf("day"))+D).attr("y",i.gridLineStartPadding).attr("width",H=>U(H.end.endOf("day"))-U(H.start.startOf("day"))).attr("height",p-M-i.gridLineStartPadding).attr("transform-origin",function(H,q){return(U(H.start)+D+.5*(U(H.end)-U(H.start))).toString()+"px "+(q*g+.5*p).toString()+"px"}).attr("class","exclude-range")}f(L,"drawExcludeDays");function B(g,M,D,T){if(D<=0||g>M)return 1/0;const p=M-g,l=rt.duration({[T??"day"]:D}).asMilliseconds();return l<=0?1/0:Math.ceil(p/l)}f(B,"getEstimatedTickCount");function V(g,M,D,T){const p=r.db.getDateFormat(),l=r.db.getAxisFormat();let m;l?m=l:p==="D"?m="%d":m=i.axisFormat??"%Y-%m-%d";let h=cr(U).tickSize(-T+M+i.gridLineStartPadding).tickFormat(Qt(m));const S=/^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(r.db.getTickInterval()||i.tickInterval);if(S!==null){const a=parseInt(S[1],10);if(isNaN(a)||a<=0)vt.warn(`Invalid tick interval value: "${S[1]}". Skipping custom tick interval.`);else{const o=S[2],u=r.db.getWeekday()||i.weekday,A=U.domain(),z=A[0],H=A[1],q=B(z,H,a,o);if(q>ge)vt.warn(`The tick interval "${a}${o}" would generate ${q} ticks, which exceeds the maximum allowed (${ge}). This may indicate an invalid date or time range. Skipping custom tick interval.`);else switch(o){case"millisecond":h.ticks(St.every(a));break;case"second":h.ticks(kt.every(a));break;case"minute":h.ticks(It.every(a));break;case"hour":h.ticks(Ht.every(a));break;case"day":h.ticks(Tt.every(a));break;case"week":h.ticks(rn[u].every(a));break;case"month":h.ticks(Wt.every(a));break}}}if(Z.append("g").attr("class","grid").attr("transform","translate("+g+", "+(T-50)+")").call(h).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 a=or(U).tickSize(-T+M+i.gridLineStartPadding).tickFormat(Qt(m));if(S!==null){const o=parseInt(S[1],10);if(isNaN(o)||o<=0)vt.warn(`Invalid tick interval value: "${S[1]}". Skipping custom tick interval.`);else{const u=S[2],A=r.db.getWeekday()||i.weekday,z=U.domain(),H=z[0],q=z[1];if(B(H,q,o,u)<=ge)switch(u){case"millisecond":a.ticks(St.every(o));break;case"second":a.ticks(kt.every(o));break;case"minute":a.ticks(It.every(o));break;case"hour":a.ticks(Ht.every(o));break;case"day":a.ticks(Tt.every(o));break;case"week":a.ticks(rn[A].every(o));break;case"month":a.ticks(Wt.every(o));break}}}Z.append("g").attr("class","grid").attr("transform","translate("+g+", "+M+")").call(a).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10)}}f(V,"makeGrid");function v(g,M){let D=0;const T=Object.keys(C).map(p=>[p,C[p]]);Z.append("g").selectAll("text").data(T).enter().append(function(p){const l=p[0].split(Zn.lineBreakRegex),m=-(l.length-1)/2,h=F.createElementNS("http://www.w3.org/2000/svg","text");h.setAttribute("dy",m+"em");for(const[S,a]of l.entries()){const o=F.createElementNS("http://www.w3.org/2000/svg","tspan");o.setAttribute("alignment-baseline","central"),o.setAttribute("x","10"),S>0&&o.setAttribute("dy","1em"),o.textContent=a,h.appendChild(o)}return h}).attr("x",10).attr("y",function(p,l){if(l>0)for(let m=0;m` .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; } /* 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; } .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"),Is=Ls,Xs={parser:qi,db:Ys,renderer:Us,styles:Is};export{Xs as diagram}; //# sourceMappingURL=ganttDiagram-JELNMOA3-BFwlxZbV.chunk.mjs.map