@ashwin_droid/notion-stream 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (154) hide show
  1. package/dist/{_baseUniq-DSwfPiGC.js → _baseUniq-D32sgNIc.js} +1 -1
  2. package/dist/{_baseUniq-CT-tc-CG.mjs → _baseUniq-DCnQIx8G.mjs} +51 -51
  3. package/dist/{arc-BBnIBs2j.js → arc-B0uBm0sN.js} +1 -1
  4. package/dist/{arc-DmoYXidQ.mjs → arc-OrNNmmBm.mjs} +1 -1
  5. package/dist/{architecture-U656AL7Q-C0ZB2O9M.js → architecture-U656AL7Q-CLYqYgyv.js} +1 -1
  6. package/dist/{architecture-U656AL7Q-CMPtJMZ-.mjs → architecture-U656AL7Q-seCMyeyz.mjs} +1 -1
  7. package/dist/architectureDiagram-VXUJARFQ-BGsDPmi_.js +36 -0
  8. package/dist/{architectureDiagram-VXUJARFQ-BYzpbF40.mjs → architectureDiagram-VXUJARFQ-BmPLNLcs.mjs} +1846 -1850
  9. package/dist/{blockDiagram-VD42YOAC-DPVTCHn5.mjs → blockDiagram-VD42YOAC-CXKvT-9-.mjs} +913 -922
  10. package/dist/blockDiagram-VD42YOAC-NQhzFvsO.js +122 -0
  11. package/dist/c4Diagram-YG6GDRKO-CMXx6pyB.js +10 -0
  12. package/dist/{c4Diagram-YG6GDRKO-C2Y4q08p.mjs → c4Diagram-YG6GDRKO-DAGMHESb.mjs} +169 -170
  13. package/dist/{channel-DVpqhnow.mjs → channel-BXGyzQA6.mjs} +1 -1
  14. package/dist/channel-Dw8BXC8D.js +1 -0
  15. package/dist/chunk-4BX2VUAB-MnK73C0-.js +1 -0
  16. package/dist/chunk-4BX2VUAB-ZaWvd3Xe.mjs +8 -0
  17. package/dist/{chunk-55IACEB6-P_FVKIbW.js → chunk-55IACEB6-B1EpdpVW.js} +1 -1
  18. package/dist/{chunk-55IACEB6-Du1Simcj.mjs → chunk-55IACEB6-iKbZBHA5.mjs} +1 -1
  19. package/dist/chunk-B4BG7PRW-Bo_sfBKL.js +165 -0
  20. package/dist/{chunk-B4BG7PRW-BUKsa2yH.mjs → chunk-B4BG7PRW-DgqSow4f.mjs} +251 -252
  21. package/dist/{chunk-DI55MBZ5-C9h0qLVI.mjs → chunk-DI55MBZ5-BAHL-2VJ.mjs} +444 -456
  22. package/dist/chunk-DI55MBZ5-BuuMLI1S.js +220 -0
  23. package/dist/{chunk-FMBD7UC4-C08-zA06.mjs → chunk-FMBD7UC4-BE8MbNLe.mjs} +1 -1
  24. package/dist/{chunk-FMBD7UC4-48-zdz-1.js → chunk-FMBD7UC4-Cs1BNv23.js} +1 -1
  25. package/dist/chunk-QN33PNHL-MX1ZMWu-.js +1 -0
  26. package/dist/chunk-QN33PNHL-ZaWv5vaA.mjs +19 -0
  27. package/dist/{chunk-QZHKN3VN-DbO6TJSK.mjs → chunk-QZHKN3VN-D2X7PBDi.mjs} +1 -1
  28. package/dist/{chunk-QZHKN3VN-Dy2264ui.js → chunk-QZHKN3VN-Db6mVb9M.js} +1 -1
  29. package/dist/{chunk-TZMSLE5B-BPmI9i6R.mjs → chunk-TZMSLE5B-AMFXF6mq.mjs} +20 -20
  30. package/dist/{chunk-TZMSLE5B-COENnLAZ.js → chunk-TZMSLE5B-CzjtACDr.js} +1 -1
  31. package/dist/{classDiagram-v2-WZHVMYZB-mzvV1Ifg.mjs → classDiagram-2ON5EDUG-CPwvtUDj.mjs} +2 -2
  32. package/dist/{classDiagram-2ON5EDUG-CFFwYK87.js → classDiagram-2ON5EDUG-UNrH9bQo.js} +1 -1
  33. package/dist/{classDiagram-2ON5EDUG-mzvV1Ifg.mjs → classDiagram-v2-WZHVMYZB-CPwvtUDj.mjs} +2 -2
  34. package/dist/{classDiagram-v2-WZHVMYZB-CFFwYK87.js → classDiagram-v2-WZHVMYZB-UNrH9bQo.js} +1 -1
  35. package/dist/{clone-KtLCwiKH.mjs → clone-CV4F8CSW.mjs} +1 -1
  36. package/dist/clone-HVsPHeK3.js +1 -0
  37. package/dist/{code-block-37QAKDTI-sxlq94xm.js → code-block-37QAKDTI-38K5Mxo2.js} +1 -1
  38. package/dist/{code-block-37QAKDTI-CmykMxjQ.mjs → code-block-37QAKDTI-Q-OOsw6q.mjs} +1 -1
  39. package/dist/cose-bilkent-S5V4N54A-1B77PywG.js +1 -0
  40. package/dist/{cose-bilkent-S5V4N54A-BXcldnso.mjs → cose-bilkent-S5V4N54A-greBbyuM.mjs} +592 -589
  41. package/dist/cytoscape.esm-CNUX3VTg.js +321 -0
  42. package/dist/{cytoscape.esm-ZmItrg9y.mjs → cytoscape.esm-Cvf3sx9F.mjs} +56 -83
  43. package/dist/dagre-6UL2VRFP-DEQXyXKh.js +4 -0
  44. package/dist/dagre-6UL2VRFP-DN5Inkgr.mjs +443 -0
  45. package/dist/diagram-PSM6KHXK-C7tjFZpr.js +24 -0
  46. package/dist/{diagram-PSM6KHXK-DIV3jw9d.mjs → diagram-PSM6KHXK-D-GS1fTc.mjs} +45 -48
  47. package/dist/{diagram-QEK2KX5R-Q0M2_YtR.mjs → diagram-QEK2KX5R-DJXBxeH4.mjs} +10 -14
  48. package/dist/diagram-QEK2KX5R-Doa8ooC_.js +43 -0
  49. package/dist/diagram-S2PKOQOG-BN04h93a.js +24 -0
  50. package/dist/{diagram-S2PKOQOG-_WGA6s2-.mjs → diagram-S2PKOQOG-BuPevKqw.mjs} +22 -23
  51. package/dist/erDiagram-Q2GNP2WA-AS2vnQKc.js +60 -0
  52. package/dist/{erDiagram-Q2GNP2WA-CW0D_QGb.mjs → erDiagram-Q2GNP2WA-DxOmvmqL.mjs} +77 -78
  53. package/dist/flowDiagram-NV44I4VS-BChiRwcp.js +162 -0
  54. package/dist/{flowDiagram-NV44I4VS-DVQ8Ntc4.mjs → flowDiagram-NV44I4VS-Cs_jC87H.mjs} +442 -449
  55. package/dist/{ganttDiagram-JELNMOA3-Bk-dX6qT.mjs → ganttDiagram-JELNMOA3-02b_-xyZ.mjs} +1049 -1041
  56. package/dist/ganttDiagram-JELNMOA3-BGy1b6TD.js +267 -0
  57. package/dist/{gitGraph-F6HP7TQM-CsdwxYUE.mjs → gitGraph-F6HP7TQM-BWm0SBV4.mjs} +1 -1
  58. package/dist/{gitGraph-F6HP7TQM-DvIgo2TM.js → gitGraph-F6HP7TQM-DVfckSNX.js} +1 -1
  59. package/dist/gitGraphDiagram-NY62KEGX-CfzoE07P.mjs +699 -0
  60. package/dist/gitGraphDiagram-NY62KEGX-Cm9ywQoW.js +65 -0
  61. package/dist/{graph-C_T4ZBuC.mjs → graph-DEu7-ZhH.mjs} +8 -8
  62. package/dist/{graph-BNpx6ebg.js → graph-Dw_87ii6.js} +1 -1
  63. package/dist/index-BwYOYPeK.js +670 -0
  64. package/dist/{index-oe4HpmeG.mjs → index-DH3CVXwD.mjs} +22541 -22646
  65. package/dist/index.d.ts +1 -0
  66. package/dist/index.js +1 -1
  67. package/dist/index.mjs +3 -3
  68. package/dist/{info-NVLQJR56-BwFQRguW.js → info-NVLQJR56-BpKxONZx.js} +1 -1
  69. package/dist/info-NVLQJR56-MmJP3L6S.mjs +5 -0
  70. package/dist/{infoDiagram-WHAUD3N6-C-gzsm95.mjs → infoDiagram-WHAUD3N6-Bfsucvti.mjs} +2 -2
  71. package/dist/{infoDiagram-WHAUD3N6-CCb5k_S7.js → infoDiagram-WHAUD3N6-q-yX3_By.js} +1 -1
  72. package/dist/journeyDiagram-XKPGCS4Q-BqtyHvQF.js +139 -0
  73. package/dist/{journeyDiagram-XKPGCS4Q-DzkUL_YG.mjs → journeyDiagram-XKPGCS4Q-dFRLmnr-.mjs} +24 -26
  74. package/dist/kanban-definition-3W4ZIXB7-DeOl9Eme.mjs +719 -0
  75. package/dist/kanban-definition-3W4ZIXB7-DraMxv75.js +89 -0
  76. package/dist/{layout-CuWQnP5Y.js → layout-BKTUO8WZ.js} +1 -1
  77. package/dist/{layout-Cd98WJ7r.mjs → layout-CpL-hYTa.mjs} +22 -22
  78. package/dist/{linear-SU4e8MRt.mjs → linear-CLwIU3di.mjs} +20 -20
  79. package/dist/{linear-DFDw13y6.js → linear-DvM229Di.js} +1 -1
  80. package/dist/mermaid-4DMBBIKO-BpqXz0_U.mjs +4 -0
  81. package/dist/{mermaid-4DMBBIKO-BihEtyib.js → mermaid-4DMBBIKO-Cd15t2pT.js} +1 -1
  82. package/dist/mermaid-parser.core-BVlc9Lqd.js +128 -0
  83. package/dist/{mermaid-parser.core-C8Sxzqul.mjs → mermaid-parser.core-CLAapB2-.mjs} +3404 -3369
  84. package/dist/{min-C2k771MZ.mjs → min--ML-ONY_.mjs} +2 -2
  85. package/dist/{min-CppMRDFn.js → min-BQ4NUvNf.js} +1 -1
  86. package/dist/{mindmap-definition-VGOIOE7T-BUd354uH.mjs → mindmap-definition-VGOIOE7T-78K_EDCb.mjs} +170 -172
  87. package/dist/mindmap-definition-VGOIOE7T-ZHY70ZzV.js +68 -0
  88. package/dist/notion-stream.css +1 -0
  89. package/dist/{ordinal-C0oynhte.mjs → ordinal-B-KqvkJf.mjs} +1 -1
  90. package/dist/{packet-BFZMPI3H-Cz_A86d3.mjs → packet-BFZMPI3H-B34lFb6T.mjs} +1 -1
  91. package/dist/{packet-BFZMPI3H-CFx3kSkL.js → packet-BFZMPI3H-C9xcJQVN.js} +1 -1
  92. package/dist/{pie-7BOR55EZ-_1MqisBd.js → pie-7BOR55EZ-Bz_jfTd_.js} +1 -1
  93. package/dist/pie-7BOR55EZ-DW2Zgje5.mjs +5 -0
  94. package/dist/{pieDiagram-ADFJNKIX-Bg0_gu43.js → pieDiagram-ADFJNKIX-CKzchAXU.js} +2 -2
  95. package/dist/{pieDiagram-ADFJNKIX-lRs_rpwI.mjs → pieDiagram-ADFJNKIX-Ctp6QR7f.mjs} +21 -21
  96. package/dist/quadrantDiagram-AYHSOK5B-D2Rt32D2.js +7 -0
  97. package/dist/{quadrantDiagram-AYHSOK5B-D9kypJt6.mjs → quadrantDiagram-AYHSOK5B-D3U_Qicu.mjs} +230 -232
  98. package/dist/{radar-NHE76QYJ-B-PvZD0K.mjs → radar-NHE76QYJ-CO5ECFHq.mjs} +1 -1
  99. package/dist/{radar-NHE76QYJ-CdtC4C8F.js → radar-NHE76QYJ-DI4PJJjm.js} +1 -1
  100. package/dist/requirementDiagram-UZGBJVZJ-CSgb6U9N.js +64 -0
  101. package/dist/{requirementDiagram-UZGBJVZJ-B5ulaHjE.mjs → requirementDiagram-UZGBJVZJ-Da_yWSD1.mjs} +190 -192
  102. package/dist/sankeyDiagram-TZEHDZUN-C8jpBnM0.js +10 -0
  103. package/dist/{sankeyDiagram-TZEHDZUN-DprIPFbe.mjs → sankeyDiagram-TZEHDZUN-Dp3Eyl8Q.mjs} +189 -189
  104. package/dist/sequenceDiagram-WL72ISMW-BZJ7d_X4.js +145 -0
  105. package/dist/{sequenceDiagram-WL72ISMW-B4m4oag0.mjs → sequenceDiagram-WL72ISMW-yJKe02sV.mjs} +222 -229
  106. package/dist/{stateDiagram-FKZM4ZOC-BD4tnS-V.js → stateDiagram-FKZM4ZOC-Cfuygt_P.js} +1 -1
  107. package/dist/{stateDiagram-FKZM4ZOC-DjkdDbQ2.mjs → stateDiagram-FKZM4ZOC-z0IX85WL.mjs} +4 -4
  108. package/dist/{stateDiagram-v2-4FDKWEC3-AK86F3i6.mjs → stateDiagram-v2-4FDKWEC3-BDMFqSat.mjs} +2 -2
  109. package/dist/{stateDiagram-v2-4FDKWEC3-sybMoxOk.js → stateDiagram-v2-4FDKWEC3-BiriAQkj.js} +1 -1
  110. package/dist/{timeline-definition-IT6M3QCI-BFuQEeZP.mjs → timeline-definition-IT6M3QCI-BmEq-RM3.mjs} +217 -223
  111. package/dist/timeline-definition-IT6M3QCI-CBmpRgUM.js +61 -0
  112. package/dist/{treemap-KMMF4GRG-gtrnY16v.mjs → treemap-KMMF4GRG-IaHP18r_.mjs} +1 -1
  113. package/dist/{treemap-KMMF4GRG-DTnRa789.js → treemap-KMMF4GRG-qP0VzKwW.js} +1 -1
  114. package/dist/{xychartDiagram-PRI3JC2R-CjXiy6m0.mjs → xychartDiagram-PRI3JC2R-BSaI76KX.mjs} +7 -7
  115. package/dist/xychartDiagram-PRI3JC2R-CQgij0Fy.js +7 -0
  116. package/package.json +5 -5
  117. package/dist/architectureDiagram-VXUJARFQ-BPQoZmaM.js +0 -36
  118. package/dist/blockDiagram-VD42YOAC-Z3Fc3Bew.js +0 -122
  119. package/dist/c4Diagram-YG6GDRKO-LzDuCZ2V.js +0 -10
  120. package/dist/channel-6dUO0MQi.js +0 -1
  121. package/dist/chunk-4BX2VUAB-BwubFldI.js +0 -1
  122. package/dist/chunk-4BX2VUAB-DldMXCTt.mjs +0 -9
  123. package/dist/chunk-B4BG7PRW-CKX0VJ-S.js +0 -165
  124. package/dist/chunk-DI55MBZ5-CMq-O8k2.js +0 -220
  125. package/dist/chunk-QN33PNHL-B0sO38bZ.js +0 -1
  126. package/dist/chunk-QN33PNHL-B_PGnTkk.mjs +0 -20
  127. package/dist/clone-B0UaPT2Z.js +0 -1
  128. package/dist/cose-bilkent-S5V4N54A-BCaAPmuF.js +0 -1
  129. package/dist/cytoscape.esm-DkGgpG6d.js +0 -331
  130. package/dist/dagre-6UL2VRFP-By42zbLA.mjs +0 -446
  131. package/dist/dagre-6UL2VRFP-DCwfkcWi.js +0 -4
  132. package/dist/diagram-PSM6KHXK-hjXN9n1N.js +0 -24
  133. package/dist/diagram-QEK2KX5R-B04ODMim.js +0 -43
  134. package/dist/diagram-S2PKOQOG-BmCs4MZE.js +0 -24
  135. package/dist/erDiagram-Q2GNP2WA-4KtQUUuI.js +0 -60
  136. package/dist/flowDiagram-NV44I4VS-BwpfJE0U.js +0 -162
  137. package/dist/ganttDiagram-JELNMOA3-D7rI7u8B.js +0 -267
  138. package/dist/gitGraphDiagram-NY62KEGX-BDTsbSkO.mjs +0 -712
  139. package/dist/gitGraphDiagram-NY62KEGX-IQ8KriUw.js +0 -65
  140. package/dist/index-CkYZRBYn.js +0 -676
  141. package/dist/info-NVLQJR56-B5gDnSIT.mjs +0 -5
  142. package/dist/journeyDiagram-XKPGCS4Q-POnSekz9.js +0 -139
  143. package/dist/kanban-definition-3W4ZIXB7-BPr0_7wG.mjs +0 -720
  144. package/dist/kanban-definition-3W4ZIXB7-Bm064qrf.js +0 -89
  145. package/dist/mermaid-4DMBBIKO-DDxvQcE9.mjs +0 -4
  146. package/dist/mermaid-parser.core-BHAgLMGa.js +0 -128
  147. package/dist/mindmap-definition-VGOIOE7T-CV7bD4HY.js +0 -68
  148. package/dist/pie-7BOR55EZ-B0-atE_o.mjs +0 -5
  149. package/dist/quadrantDiagram-AYHSOK5B-B4gVakRV.js +0 -7
  150. package/dist/requirementDiagram-UZGBJVZJ-0zMPj-SD.js +0 -64
  151. package/dist/sankeyDiagram-TZEHDZUN-Cl8-L83T.js +0 -10
  152. package/dist/sequenceDiagram-WL72ISMW-DRQn7Fe4.js +0 -145
  153. package/dist/timeline-definition-IT6M3QCI-2X4dfyLj.js +0 -61
  154. package/dist/xychartDiagram-PRI3JC2R-BaFd1In8.js +0 -7
@@ -0,0 +1,267 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index-BwYOYPeK.js"),Mt=require("./linear-DvM229Di.js"),Mn=require("./init-CHZsXQcr.js");function Cn(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n<r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let i of t)(i=e(i,++r,t))!=null&&(n<i||n===void 0&&i>=i)&&(n=i)}return n}function Sn(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 Fn(t){return t}var jt=1,ie=2,ge=3,Rt=4,Ae=1e-6;function Yn(t){return"translate("+t+",0)"}function Un(t){return"translate(0,"+t+")"}function En(t){return e=>+t(e)}function In(t,e){return e=Math.max(0,t.bandwidth()-e*2)/2,t.round()&&(e=Math.round(e)),n=>+t(n)+e}function An(){return!this.__axis}function Ke(t,e){var n=[],r=null,i=null,o=6,u=6,m=3,Y=typeof window<"u"&&window.devicePixelRatio>1?0:.5,M=t===jt||t===Rt?-1:1,k=t===Rt||t===ie?"x":"y",A=t===jt||t===ge?Yn:Un;function S(C){var q=r??(e.ticks?e.ticks.apply(e,n):e.domain()),L=i??(e.tickFormat?e.tickFormat.apply(e,n):Fn),U=Math.max(o,0)+m,I=e.range(),N=+I[0]+Y,W=+I[I.length-1]+Y,j=(e.bandwidth?In:En)(e.copy(),Y),G=C.selection?C.selection():C,p=G.selectAll(".domain").data([null]),g=G.selectAll(".tick").data(q,e).order(),y=g.exit(),h=g.enter().append("g").attr("class","tick"),w=g.select("line"),b=g.select("text");p=p.merge(p.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),g=g.merge(h),w=w.merge(h.append("line").attr("stroke","currentColor").attr(k+"2",M*o)),b=b.merge(h.append("text").attr("fill","currentColor").attr(k,M*U).attr("dy",t===jt?"0em":t===ge?"0.71em":"0.32em")),C!==G&&(p=p.transition(C),g=g.transition(C),w=w.transition(C),b=b.transition(C),y=y.transition(C).attr("opacity",Ae).attr("transform",function(T){return isFinite(T=j(T))?A(T+Y):this.getAttribute("transform")}),h.attr("opacity",Ae).attr("transform",function(T){var v=this.parentNode.__axis;return A((v&&isFinite(v=v(T))?v:j(T))+Y)})),y.remove(),p.attr("d",t===Rt||t===ie?u?"M"+M*u+","+N+"H"+Y+"V"+W+"H"+M*u:"M"+Y+","+N+"V"+W:u?"M"+N+","+M*u+"V"+Y+"H"+W+"V"+M*u:"M"+N+","+Y+"H"+W),g.attr("opacity",1).attr("transform",function(T){return A(j(T)+Y)}),w.attr(k+"2",M*o),b.attr(k,M*U).text(L),G.filter(An).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===ie?"start":t===Rt?"end":"middle"),G.each(function(){this.__axis=j})}return S.scale=function(C){return arguments.length?(e=C,S):e},S.ticks=function(){return n=Array.from(arguments),S},S.tickArguments=function(C){return arguments.length?(n=C==null?[]:Array.from(C),S):n.slice()},S.tickValues=function(C){return arguments.length?(r=C==null?null:Array.from(C),S):r&&r.slice()},S.tickFormat=function(C){return arguments.length?(i=C,S):i},S.tickSize=function(C){return arguments.length?(o=u=+C,S):o},S.tickSizeInner=function(C){return arguments.length?(o=+C,S):o},S.tickSizeOuter=function(C){return arguments.length?(u=+C,S):u},S.tickPadding=function(C){return arguments.length?(m=+C,S):m},S.offset=function(C){return arguments.length?(Y=+C,S):Y},S}function Ln(t){return Ke(jt,t)}function Wn(t){return Ke(ge,t)}const $n=Math.PI/180,On=180/Math.PI,Jt=18,tn=.96422,en=1,nn=.82521,rn=4/29,Ct=6/29,an=3*Ct*Ct,Hn=Ct*Ct*Ct;function sn(t){if(t instanceof lt)return new lt(t.l,t.a,t.b,t.opacity);if(t instanceof dt)return on(t);t instanceof s.Rgb||(t=s.rgbConvert(t));var e=ce(t.r),n=ce(t.g),r=ce(t.b),i=ae((.2225045*e+.7168786*n+.0606169*r)/en),o,u;return e===n&&n===r?o=u=i:(o=ae((.4360747*e+.3850649*n+.1430804*r)/tn),u=ae((.0139322*e+.0971045*n+.7141733*r)/nn)),new lt(116*i-16,500*(o-i),200*(i-u),t.opacity)}function Nn(t,e,n,r){return arguments.length===1?sn(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}s.define(lt,Nn,s.extend(s.Color$1,{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=tn*se(e),t=en*se(t),n=nn*se(n),new s.Rgb(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 ae(t){return t>Hn?Math.pow(t,1/3):t/an+rn}function se(t){return t>Ct?t*t*t:an*(t-rn)}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 Pn(t){if(t instanceof dt)return new dt(t.h,t.c,t.l,t.opacity);if(t instanceof lt||(t=sn(t)),t.a===0&&t.b===0)return new dt(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*On;return new dt(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function ye(t,e,n,r){return arguments.length===1?Pn(t):new dt(t,e,n,r??1)}function dt(t,e,n,r){this.h=+t,this.c=+e,this.l=+n,this.opacity=+r}function on(t){if(isNaN(t.h))return new lt(t.l,0,0,t.opacity);var e=t.h*$n;return new lt(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}s.define(dt,ye,s.extend(s.Color$1,{brighter(t){return new dt(this.h,this.c,this.l+Jt*(t??1),this.opacity)},darker(t){return new dt(this.h,this.c,this.l-Jt*(t??1),this.opacity)},rgb(){return on(this).rgb()}}));function Vn(t){return function(e,n){var r=t((e=ye(e)).h,(n=ye(n)).h),i=s.nogamma(e.c,n.c),o=s.nogamma(e.l,n.l),u=s.nogamma(e.opacity,n.opacity);return function(m){return e.h=r(m),e.c=i(m),e.l=o(m),e.opacity=u(m),e+""}}}const zn=Vn(s.hue);function Rn(t,e){t=t.slice();var n=0,r=t.length-1,i=t[n],o=t[r],u;return o<i&&(u=n,n=r,r=u,u=i,i=o,o=u),t[n]=e.floor(i),t[r]=e.ceil(o),t}const ue=new Date,le=new Date;function et(t,e,n,r){function i(o){return t(o=arguments.length===0?new Date:new Date(+o)),o}return i.floor=o=>(t(o=new Date(+o)),o),i.ceil=o=>(t(o=new Date(o-1)),e(o,1),t(o),o),i.round=o=>{const u=i(o),m=i.ceil(o);return o-u<m-o?u:m},i.offset=(o,u)=>(e(o=new Date(+o),u==null?1:Math.floor(u)),o),i.range=(o,u,m)=>{const Y=[];if(o=i.ceil(o),m=m==null?1:Math.floor(m),!(o<u)||!(m>0))return Y;let M;do Y.push(M=new Date(+o)),e(o,m),t(o);while(M<o&&o<u);return Y},i.filter=o=>et(u=>{if(u>=u)for(;t(u),!o(u);)u.setTime(u-1)},(u,m)=>{if(u>=u)if(m<0)for(;++m<=0;)for(;e(u,-1),!o(u););else for(;--m>=0;)for(;e(u,1),!o(u););}),n&&(i.count=(o,u)=>(ue.setTime(+o),le.setTime(+u),t(ue),t(le),Math.floor(n(ue,le))),i.every=o=>(o=Math.floor(o),!isFinite(o)||!(o>0)?null:o>1?i.filter(r?u=>r(u)%o===0:u=>i.count(0,u)%o===0):i)),i}const Ft=et(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);Ft.every=t=>(t=Math.floor(t),!isFinite(t)||!(t>0)?null:t>1?et(e=>{e.setTime(Math.floor(e/t)*t)},(e,n)=>{e.setTime(+e+n*t)},(e,n)=>(n-e)/t):Ft);Ft.range;const ht=1e3,ot=ht*60,mt=ot*60,gt=mt*24,_e=gt*7,Le=gt*30,fe=gt*365,pt=et(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+e*ht)},(t,e)=>(e-t)/ht,t=>t.getUTCSeconds());pt.range;const Lt=et(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*ht)},(t,e)=>{t.setTime(+t+e*ot)},(t,e)=>(e-t)/ot,t=>t.getMinutes());Lt.range;const jn=et(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+e*ot)},(t,e)=>(e-t)/ot,t=>t.getUTCMinutes());jn.range;const Wt=et(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*ht-t.getMinutes()*ot)},(t,e)=>{t.setTime(+t+e*mt)},(t,e)=>(e-t)/mt,t=>t.getHours());Wt.range;const qn=et(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+e*mt)},(t,e)=>(e-t)/mt,t=>t.getUTCHours());qn.range;const vt=et(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*ot)/gt,t=>t.getDate()-1);vt.range;const xe=et(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/gt,t=>t.getUTCDate()-1);xe.range;const Zn=et(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/gt,t=>Math.floor(t/gt));Zn.range;function xt(t){return et(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(e,n)=>{e.setDate(e.getDate()+n*7)},(e,n)=>(n-e-(n.getTimezoneOffset()-e.getTimezoneOffset())*ot)/_e)}const Ht=xt(0),$t=xt(1),cn=xt(2),un=xt(3),Tt=xt(4),ln=xt(5),fn=xt(6);Ht.range;$t.range;cn.range;un.range;Tt.range;ln.range;fn.range;function bt(t){return et(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCDate(e.getUTCDate()+n*7)},(e,n)=>(n-e)/_e)}const dn=bt(0),Kt=bt(1),Bn=bt(2),Xn=bt(3),Yt=bt(4),Gn=bt(5),Qn=bt(6);dn.range;Kt.range;Bn.range;Xn.range;Yt.range;Gn.range;Qn.range;const Ot=et(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth());Ot.range;const Jn=et(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth());Jn.range;const yt=et(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());yt.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:et(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,n)=>{e.setFullYear(e.getFullYear()+n*t)});yt.range;const _t=et(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());_t.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:et(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCFullYear(e.getUTCFullYear()+n*t)});_t.range;function Kn(t,e,n,r,i,o){const u=[[pt,1,ht],[pt,5,5*ht],[pt,15,15*ht],[pt,30,30*ht],[o,1,ot],[o,5,5*ot],[o,15,15*ot],[o,30,30*ot],[i,1,mt],[i,3,3*mt],[i,6,6*mt],[i,12,12*mt],[r,1,gt],[r,2,2*gt],[n,1,_e],[e,1,Le],[e,3,3*Le],[t,1,fe]];function m(M,k,A){const S=k<M;S&&([M,k]=[k,M]);const C=A&&typeof A.range=="function"?A:Y(M,k,A),q=C?C.range(M,+k+1):[];return S?q.reverse():q}function Y(M,k,A){const S=Math.abs(k-M)/A,C=Mt.bisector(([,,U])=>U).right(u,S);if(C===u.length)return t.every(Mt.tickStep(M/fe,k/fe,A));if(C===0)return Ft.every(Math.max(Mt.tickStep(M,k,A),1));const[q,L]=u[S/u[C-1][2]<u[C][2]/S?C-1:C];return q.every(L)}return[m,Y]}const[tr,er]=Kn(yt,Ot,Ht,vt,Wt,Lt);function de(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 he(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 Et(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}function nr(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,o=t.days,u=t.shortDays,m=t.months,Y=t.shortMonths,M=It(i),k=At(i),A=It(o),S=At(o),C=It(u),q=At(u),L=It(m),U=At(m),I=It(Y),N=At(Y),W={a:x,A:F,b:c,B,c:null,d:Pe,e:Pe,f:Dr,g:Lr,G:$r,H:xr,I:br,j:wr,L:hn,m:Mr,M:Cr,p:a,q:E,Q:Re,s:je,S:Sr,u:Fr,U:Yr,V:Ur,w:Er,W:Ir,x:null,X:null,y:Ar,Y:Wr,Z:Or,"%":ze},j={a:R,A:z,b:P,B:K,c:null,d:Ve,e:Ve,f:Vr,g:Jr,G:ti,H:Hr,I:Nr,j:Pr,L:gn,m:zr,M:Rr,p:O,q:it,Q:Re,s:je,S:jr,u:qr,U:Zr,V:Br,w:Xr,W:Gr,x:null,X:null,y:Qr,Y:Kr,Z:ei,"%":ze},G={a:w,A:b,b:T,B:v,c:l,d:He,e:He,f:pr,g:Oe,G:$e,H:Ne,I:Ne,j:mr,L:kr,m:hr,M:gr,p:h,q:dr,Q:Tr,s:_r,S:yr,u:or,U:cr,V:ur,w:sr,W:lr,x:d,X:_,y:Oe,Y:$e,Z:fr,"%":vr};W.x=p(n,W),W.X=p(r,W),W.c=p(e,W),j.x=p(n,j),j.X=p(r,j),j.c=p(e,j);function p(D,H){return function(V){var f=[],J=-1,$=0,Q=D.length,X,rt,at;for(V instanceof Date||(V=new Date(+V));++J<Q;)D.charCodeAt(J)===37&&(f.push(D.slice($,J)),(rt=We[X=D.charAt(++J)])!=null?X=D.charAt(++J):rt=X==="e"?" ":"0",(at=H[X])&&(X=at(V,rt)),f.push(X),$=J+1);return f.push(D.slice($,J)),f.join("")}}function g(D,H){return function(V){var f=Et(1900,void 0,1),J=y(f,D,V+="",0),$,Q;if(J!=V.length)return null;if("Q"in f)return new Date(f.Q);if("s"in f)return new Date(f.s*1e3+("L"in f?f.L:0));if(H&&!("Z"in f)&&(f.Z=0),"p"in f&&(f.H=f.H%12+f.p*12),f.m===void 0&&(f.m="q"in f?f.q:0),"V"in f){if(f.V<1||f.V>53)return null;"w"in f||(f.w=1),"Z"in f?($=he(Et(f.y,0,1)),Q=$.getUTCDay(),$=Q>4||Q===0?Kt.ceil($):Kt($),$=xe.offset($,(f.V-1)*7),f.y=$.getUTCFullYear(),f.m=$.getUTCMonth(),f.d=$.getUTCDate()+(f.w+6)%7):($=de(Et(f.y,0,1)),Q=$.getDay(),$=Q>4||Q===0?$t.ceil($):$t($),$=vt.offset($,(f.V-1)*7),f.y=$.getFullYear(),f.m=$.getMonth(),f.d=$.getDate()+(f.w+6)%7)}else("W"in f||"U"in f)&&("w"in f||(f.w="u"in f?f.u%7:"W"in f?1:0),Q="Z"in f?he(Et(f.y,0,1)).getUTCDay():de(Et(f.y,0,1)).getDay(),f.m=0,f.d="W"in f?(f.w+6)%7+f.W*7-(Q+5)%7:f.w+f.U*7-(Q+6)%7);return"Z"in f?(f.H+=f.Z/100|0,f.M+=f.Z%100,he(f)):de(f)}}function y(D,H,V,f){for(var J=0,$=H.length,Q=V.length,X,rt;J<$;){if(f>=Q)return-1;if(X=H.charCodeAt(J++),X===37){if(X=H.charAt(J++),rt=G[X in We?H.charAt(J++):X],!rt||(f=rt(D,V,f))<0)return-1}else if(X!=V.charCodeAt(f++))return-1}return f}function h(D,H,V){var f=M.exec(H.slice(V));return f?(D.p=k.get(f[0].toLowerCase()),V+f[0].length):-1}function w(D,H,V){var f=C.exec(H.slice(V));return f?(D.w=q.get(f[0].toLowerCase()),V+f[0].length):-1}function b(D,H,V){var f=A.exec(H.slice(V));return f?(D.w=S.get(f[0].toLowerCase()),V+f[0].length):-1}function T(D,H,V){var f=I.exec(H.slice(V));return f?(D.m=N.get(f[0].toLowerCase()),V+f[0].length):-1}function v(D,H,V){var f=L.exec(H.slice(V));return f?(D.m=U.get(f[0].toLowerCase()),V+f[0].length):-1}function l(D,H,V){return y(D,e,H,V)}function d(D,H,V){return y(D,n,H,V)}function _(D,H,V){return y(D,r,H,V)}function x(D){return u[D.getDay()]}function F(D){return o[D.getDay()]}function c(D){return Y[D.getMonth()]}function B(D){return m[D.getMonth()]}function a(D){return i[+(D.getHours()>=12)]}function E(D){return 1+~~(D.getMonth()/3)}function R(D){return u[D.getUTCDay()]}function z(D){return o[D.getUTCDay()]}function P(D){return Y[D.getUTCMonth()]}function K(D){return m[D.getUTCMonth()]}function O(D){return i[+(D.getUTCHours()>=12)]}function it(D){return 1+~~(D.getUTCMonth()/3)}return{format:function(D){var H=p(D+="",W);return H.toString=function(){return D},H},parse:function(D){var H=g(D+="",!1);return H.toString=function(){return D},H},utcFormat:function(D){var H=p(D+="",j);return H.toString=function(){return D},H},utcParse:function(D){var H=g(D+="",!0);return H.toString=function(){return D},H}}}var We={"-":"",_:" ",0:"0"},nt=/^\s*\d+/,rr=/^%/,ir=/[\\^$*+?|[\]().{}]/g;function Z(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o<n?new Array(n-o+1).join(e)+i:i)}function ar(t){return t.replace(ir,"\\$&")}function It(t){return new RegExp("^(?:"+t.map(ar).join("|")+")","i")}function At(t){return new Map(t.map((e,n)=>[e.toLowerCase(),n]))}function sr(t,e,n){var r=nt.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function or(t,e,n){var r=nt.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function cr(t,e,n){var r=nt.exec(e.slice(n,n+2));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.V=+r[0],n+r[0].length):-1}function lr(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function $e(t,e,n){var r=nt.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function Oe(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 fr(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 dr(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 hr(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 He(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function mr(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 Ne(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function gr(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function yr(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function kr(t,e,n){var r=nt.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function pr(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 vr(t,e,n){var r=rr.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function Tr(t,e,n){var r=nt.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function _r(t,e,n){var r=nt.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function Pe(t,e){return Z(t.getDate(),e,2)}function xr(t,e){return Z(t.getHours(),e,2)}function br(t,e){return Z(t.getHours()%12||12,e,2)}function wr(t,e){return Z(1+vt.count(yt(t),t),e,3)}function hn(t,e){return Z(t.getMilliseconds(),e,3)}function Dr(t,e){return hn(t,e)+"000"}function Mr(t,e){return Z(t.getMonth()+1,e,2)}function Cr(t,e){return Z(t.getMinutes(),e,2)}function Sr(t,e){return Z(t.getSeconds(),e,2)}function Fr(t){var e=t.getDay();return e===0?7:e}function Yr(t,e){return Z(Ht.count(yt(t)-1,t),e,2)}function mn(t){var e=t.getDay();return e>=4||e===0?Tt(t):Tt.ceil(t)}function Ur(t,e){return t=mn(t),Z(Tt.count(yt(t),t)+(yt(t).getDay()===4),e,2)}function Er(t){return t.getDay()}function Ir(t,e){return Z($t.count(yt(t)-1,t),e,2)}function Ar(t,e){return Z(t.getFullYear()%100,e,2)}function Lr(t,e){return t=mn(t),Z(t.getFullYear()%100,e,2)}function Wr(t,e){return Z(t.getFullYear()%1e4,e,4)}function $r(t,e){var n=t.getDay();return t=n>=4||n===0?Tt(t):Tt.ceil(t),Z(t.getFullYear()%1e4,e,4)}function Or(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+Z(e/60|0,"0",2)+Z(e%60,"0",2)}function Ve(t,e){return Z(t.getUTCDate(),e,2)}function Hr(t,e){return Z(t.getUTCHours(),e,2)}function Nr(t,e){return Z(t.getUTCHours()%12||12,e,2)}function Pr(t,e){return Z(1+xe.count(_t(t),t),e,3)}function gn(t,e){return Z(t.getUTCMilliseconds(),e,3)}function Vr(t,e){return gn(t,e)+"000"}function zr(t,e){return Z(t.getUTCMonth()+1,e,2)}function Rr(t,e){return Z(t.getUTCMinutes(),e,2)}function jr(t,e){return Z(t.getUTCSeconds(),e,2)}function qr(t){var e=t.getUTCDay();return e===0?7:e}function Zr(t,e){return Z(dn.count(_t(t)-1,t),e,2)}function yn(t){var e=t.getUTCDay();return e>=4||e===0?Yt(t):Yt.ceil(t)}function Br(t,e){return t=yn(t),Z(Yt.count(_t(t),t)+(_t(t).getUTCDay()===4),e,2)}function Xr(t){return t.getUTCDay()}function Gr(t,e){return Z(Kt.count(_t(t)-1,t),e,2)}function Qr(t,e){return Z(t.getUTCFullYear()%100,e,2)}function Jr(t,e){return t=yn(t),Z(t.getUTCFullYear()%100,e,2)}function Kr(t,e){return Z(t.getUTCFullYear()%1e4,e,4)}function ti(t,e){var n=t.getUTCDay();return t=n>=4||n===0?Yt(t):Yt.ceil(t),Z(t.getUTCFullYear()%1e4,e,4)}function ei(){return"+0000"}function ze(){return"%"}function Re(t){return+t}function je(t){return Math.floor(+t/1e3)}var Dt,te;ni({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 ni(t){return Dt=nr(t),te=Dt.format,Dt.parse,Dt.utcFormat,Dt.utcParse,Dt}function ri(t){return new Date(t)}function ii(t){return t instanceof Date?+t:+new Date(+t)}function kn(t,e,n,r,i,o,u,m,Y,M){var k=Mt.continuous(),A=k.invert,S=k.domain,C=M(".%L"),q=M(":%S"),L=M("%I:%M"),U=M("%I %p"),I=M("%a %d"),N=M("%b %d"),W=M("%B"),j=M("%Y");function G(p){return(Y(p)<p?C:m(p)<p?q:u(p)<p?L:o(p)<p?U:r(p)<p?i(p)<p?I:N:n(p)<p?W:j)(p)}return k.invert=function(p){return new Date(A(p))},k.domain=function(p){return arguments.length?S(Array.from(p,ii)):S().map(ri)},k.ticks=function(p){var g=S();return t(g[0],g[g.length-1],p??10)},k.tickFormat=function(p,g){return g==null?G:M(g)},k.nice=function(p){var g=S();return(!p||typeof p.range!="function")&&(p=e(g[0],g[g.length-1],p??10)),p?S(Rn(g,p)):k},k.copy=function(){return Mt.copy(k,kn(t,e,n,r,i,o,u,m,Y,M))},k}function ai(){return Mn.initRange.apply(kn(tr,er,yt,Ot,Ht,vt,Wt,Lt,pt,te).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}var qt={exports:{}},si=qt.exports,qe;function oi(){return qe||(qe=1,(function(t,e){(function(n,r){t.exports=r()})(si,(function(){var n="day";return function(r,i,o){var u=function(M){return M.add(4-M.isoWeekday(),n)},m=i.prototype;m.isoWeekYear=function(){return u(this).year()},m.isoWeek=function(M){if(!this.$utils().u(M))return this.add(7*(M-this.isoWeek()),n);var k,A,S,C,q=u(this),L=(k=this.isoWeekYear(),A=this.$u,S=(A?o.utc:o)().year(k).startOf("year"),C=4-S.isoWeekday(),S.isoWeekday()>4&&(C+=7),S.add(C,n));return q.diff(L,"week")+1},m.isoWeekday=function(M){return this.$utils().u(M)?this.day()||7:this.day(this.day()%7?M:M-7)};var Y=m.startOf;m.startOf=function(M,k){var A=this.$utils(),S=!!A.u(k)||k;return A.p(M)==="isoweek"?S?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):Y.bind(this)(M,k)}}}))})(qt)),qt.exports}var ci=oi();const ui=s.getDefaultExportFromCjs(ci);var Zt={exports:{}},li=Zt.exports,Ze;function fi(){return Ze||(Ze=1,(function(t,e){(function(n,r){t.exports=r()})(li,(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/,o=/\d\d/,u=/\d\d?/,m=/\d*[^-_:/,()\s\d]+/,Y={},M=function(U){return(U=+U)+(U>68?1900:2e3)},k=function(U){return function(I){this[U]=+I}},A=[/[+-]\d\d:?(\d\d)?|Z/,function(U){(this.zone||(this.zone={})).offset=(function(I){if(!I||I==="Z")return 0;var N=I.match(/([+-]|\d\d)/g),W=60*N[1]+(+N[2]||0);return W===0?0:N[0]==="+"?-W:W})(U)}],S=function(U){var I=Y[U];return I&&(I.indexOf?I:I.s.concat(I.f))},C=function(U,I){var N,W=Y.meridiem;if(W){for(var j=1;j<=24;j+=1)if(U.indexOf(W(j,0,I))>-1){N=j>12;break}}else N=U===(I?"pm":"PM");return N},q={A:[m,function(U){this.afternoon=C(U,!1)}],a:[m,function(U){this.afternoon=C(U,!0)}],Q:[i,function(U){this.month=3*(U-1)+1}],S:[i,function(U){this.milliseconds=100*+U}],SS:[o,function(U){this.milliseconds=10*+U}],SSS:[/\d{3}/,function(U){this.milliseconds=+U}],s:[u,k("seconds")],ss:[u,k("seconds")],m:[u,k("minutes")],mm:[u,k("minutes")],H:[u,k("hours")],h:[u,k("hours")],HH:[u,k("hours")],hh:[u,k("hours")],D:[u,k("day")],DD:[o,k("day")],Do:[m,function(U){var I=Y.ordinal,N=U.match(/\d+/);if(this.day=N[0],I)for(var W=1;W<=31;W+=1)I(W).replace(/\[|\]/g,"")===U&&(this.day=W)}],w:[u,k("week")],ww:[o,k("week")],M:[u,k("month")],MM:[o,k("month")],MMM:[m,function(U){var I=S("months"),N=(S("monthsShort")||I.map((function(W){return W.slice(0,3)}))).indexOf(U)+1;if(N<1)throw new Error;this.month=N%12||N}],MMMM:[m,function(U){var I=S("months").indexOf(U)+1;if(I<1)throw new Error;this.month=I%12||I}],Y:[/[+-]?\d+/,k("year")],YY:[o,function(U){this.year=M(U)}],YYYY:[/\d{4}/,k("year")],Z:A,ZZ:A};function L(U){var I,N;I=U,N=Y&&Y.formats;for(var W=(U=I.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(w,b,T){var v=T&&T.toUpperCase();return b||N[T]||n[T]||N[v].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(l,d,_){return d||_.slice(1)}))}))).match(r),j=W.length,G=0;G<j;G+=1){var p=W[G],g=q[p],y=g&&g[0],h=g&&g[1];W[G]=h?{regex:y,parser:h}:p.replace(/^\[|\]$/g,"")}return function(w){for(var b={},T=0,v=0;T<j;T+=1){var l=W[T];if(typeof l=="string")v+=l.length;else{var d=l.regex,_=l.parser,x=w.slice(v),F=d.exec(x)[0];_.call(b,F),w=w.replace(F,"")}}return(function(c){var B=c.afternoon;if(B!==void 0){var a=c.hours;B?a<12&&(c.hours+=12):a===12&&(c.hours=0),delete c.afternoon}})(b),b}}return function(U,I,N){N.p.customParseFormat=!0,U&&U.parseTwoDigitYear&&(M=U.parseTwoDigitYear);var W=I.prototype,j=W.parse;W.parse=function(G){var p=G.date,g=G.utc,y=G.args;this.$u=g;var h=y[1];if(typeof h=="string"){var w=y[2]===!0,b=y[3]===!0,T=w||b,v=y[2];b&&(v=y[2]),Y=this.$locale(),!w&&v&&(Y=N.Ls[v]),this.$d=(function(x,F,c,B){try{if(["x","X"].indexOf(F)>-1)return new Date((F==="X"?1e3:1)*x);var a=L(F)(x),E=a.year,R=a.month,z=a.day,P=a.hours,K=a.minutes,O=a.seconds,it=a.milliseconds,D=a.zone,H=a.week,V=new Date,f=z||(E||R?1:V.getDate()),J=E||V.getFullYear(),$=0;E&&!R||($=R>0?R-1:V.getMonth());var Q,X=P||0,rt=K||0,at=O||0,kt=it||0;return D?new Date(Date.UTC(J,$,f,X,rt,at,kt+60*D.offset*1e3)):c?new Date(Date.UTC(J,$,f,X,rt,at,kt)):(Q=new Date(J,$,f,X,rt,at,kt),H&&(Q=B(Q).week(H).toDate()),Q)}catch{return new Date("")}})(p,h,g,N),this.init(),v&&v!==!0&&(this.$L=this.locale(v).$L),T&&p!=this.format(h)&&(this.$d=new Date("")),Y={}}else if(h instanceof Array)for(var l=h.length,d=1;d<=l;d+=1){y[1]=h[d-1];var _=N.apply(this,y);if(_.isValid()){this.$d=_.$d,this.$L=_.$L,this.init();break}d===l&&(this.$d=new Date(""))}else j.call(this,G)}}}))})(Zt)),Zt.exports}var di=fi();const hi=s.getDefaultExportFromCjs(di);var Bt={exports:{}},mi=Bt.exports,Be;function gi(){return Be||(Be=1,(function(t,e){(function(n,r){t.exports=r()})(mi,(function(){return function(n,r){var i=r.prototype,o=i.format;i.format=function(u){var m=this,Y=this.$locale();if(!this.isValid())return o.bind(this)(u);var M=this.$utils(),k=(u||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(A){switch(A){case"Q":return Math.ceil((m.$M+1)/3);case"Do":return Y.ordinal(m.$D);case"gggg":return m.weekYear();case"GGGG":return m.isoWeekYear();case"wo":return Y.ordinal(m.week(),"W");case"w":case"ww":return M.s(m.week(),A==="w"?1:2,"0");case"W":case"WW":return M.s(m.isoWeek(),A==="W"?1:2,"0");case"k":case"kk":return M.s(String(m.$H===0?24:m.$H),A==="k"?1:2,"0");case"X":return Math.floor(m.$d.getTime()/1e3);case"x":return m.$d.getTime();case"z":return"["+m.offsetName()+"]";case"zzz":return"["+m.offsetName("long")+"]";default:return A}}));return o.bind(this)(k)}}}))})(Bt)),Bt.exports}var yi=gi();const ki=s.getDefaultExportFromCjs(yi);var Xt={exports:{}},pi=Xt.exports,Xe;function vi(){return Xe||(Xe=1,(function(t,e){(function(n,r){t.exports=r()})(pi,(function(){var n,r,i=1e3,o=6e4,u=36e5,m=864e5,Y=/\[([^\]]+)]|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,M=31536e6,k=2628e6,A=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,S={years:M,months:k,days:m,hours:u,minutes:o,seconds:i,milliseconds:1,weeks:6048e5},C=function(p){return p instanceof j},q=function(p,g,y){return new j(p,y,g.$l)},L=function(p){return r.p(p)+"s"},U=function(p){return p<0},I=function(p){return U(p)?Math.ceil(p):Math.floor(p)},N=function(p){return Math.abs(p)},W=function(p,g){return p?U(p)?{negative:!0,format:""+N(p)+g}:{negative:!1,format:""+p+g}:{negative:!1,format:""}},j=(function(){function p(y,h,w){var b=this;if(this.$d={},this.$l=w,y===void 0&&(this.$ms=0,this.parseFromMilliseconds()),h)return q(y*S[L(h)],this);if(typeof y=="number")return this.$ms=y,this.parseFromMilliseconds(),this;if(typeof y=="object")return Object.keys(y).forEach((function(l){b.$d[L(l)]=y[l]})),this.calMilliseconds(),this;if(typeof y=="string"){var T=y.match(A);if(T){var v=T.slice(2).map((function(l){return l!=null?Number(l):0}));return this.$d.years=v[0],this.$d.months=v[1],this.$d.weeks=v[2],this.$d.days=v[3],this.$d.hours=v[4],this.$d.minutes=v[5],this.$d.seconds=v[6],this.calMilliseconds(),this}}return this}var g=p.prototype;return g.calMilliseconds=function(){var y=this;this.$ms=Object.keys(this.$d).reduce((function(h,w){return h+(y.$d[w]||0)*S[w]}),0)},g.parseFromMilliseconds=function(){var y=this.$ms;this.$d.years=I(y/M),y%=M,this.$d.months=I(y/k),y%=k,this.$d.days=I(y/m),y%=m,this.$d.hours=I(y/u),y%=u,this.$d.minutes=I(y/o),y%=o,this.$d.seconds=I(y/i),y%=i,this.$d.milliseconds=y},g.toISOString=function(){var y=W(this.$d.years,"Y"),h=W(this.$d.months,"M"),w=+this.$d.days||0;this.$d.weeks&&(w+=7*this.$d.weeks);var b=W(w,"D"),T=W(this.$d.hours,"H"),v=W(this.$d.minutes,"M"),l=this.$d.seconds||0;this.$d.milliseconds&&(l+=this.$d.milliseconds/1e3,l=Math.round(1e3*l)/1e3);var d=W(l,"S"),_=y.negative||h.negative||b.negative||T.negative||v.negative||d.negative,x=T.format||v.format||d.format?"T":"",F=(_?"-":"")+"P"+y.format+h.format+b.format+x+T.format+v.format+d.format;return F==="P"||F==="-P"?"P0D":F},g.toJSON=function(){return this.toISOString()},g.format=function(y){var h=y||"YYYY-MM-DDTHH:mm:ss",w={Y:this.$d.years,YY:r.s(this.$d.years,2,"0"),YYYY:r.s(this.$d.years,4,"0"),M:this.$d.months,MM:r.s(this.$d.months,2,"0"),D:this.$d.days,DD:r.s(this.$d.days,2,"0"),H:this.$d.hours,HH:r.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:r.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:r.s(this.$d.seconds,2,"0"),SSS:r.s(this.$d.milliseconds,3,"0")};return h.replace(Y,(function(b,T){return T||String(w[b])}))},g.as=function(y){return this.$ms/S[L(y)]},g.get=function(y){var h=this.$ms,w=L(y);return w==="milliseconds"?h%=1e3:h=w==="weeks"?I(h/S[w]):this.$d[w],h||0},g.add=function(y,h,w){var b;return b=h?y*S[L(h)]:C(y)?y.$ms:q(y,this).$ms,q(this.$ms+b*(w?-1:1),this)},g.subtract=function(y,h){return this.add(y,h,!0)},g.locale=function(y){var h=this.clone();return h.$l=y,h},g.clone=function(){return q(this.$ms,this)},g.humanize=function(y){return n().add(this.$ms,"ms").locale(this.$l).fromNow(!y)},g.valueOf=function(){return this.asMilliseconds()},g.milliseconds=function(){return this.get("milliseconds")},g.asMilliseconds=function(){return this.as("milliseconds")},g.seconds=function(){return this.get("seconds")},g.asSeconds=function(){return this.as("seconds")},g.minutes=function(){return this.get("minutes")},g.asMinutes=function(){return this.as("minutes")},g.hours=function(){return this.get("hours")},g.asHours=function(){return this.as("hours")},g.days=function(){return this.get("days")},g.asDays=function(){return this.as("days")},g.weeks=function(){return this.get("weeks")},g.asWeeks=function(){return this.as("weeks")},g.months=function(){return this.get("months")},g.asMonths=function(){return this.as("months")},g.years=function(){return this.get("years")},g.asYears=function(){return this.as("years")},p})(),G=function(p,g,y){return p.add(g.years()*y,"y").add(g.months()*y,"M").add(g.days()*y,"d").add(g.hours()*y,"h").add(g.minutes()*y,"m").add(g.seconds()*y,"s").add(g.milliseconds()*y,"ms")};return function(p,g,y){n=y,r=y().$utils(),y.duration=function(b,T){var v=y.locale();return q(b,{$l:v},T)},y.isDuration=C;var h=g.prototype.add,w=g.prototype.subtract;g.prototype.add=function(b,T){return C(b)?G(this,b,1):h.bind(this)(b,T)},g.prototype.subtract=function(b,T){return C(b)?G(this,b,-1):w.bind(this)(b,T)}}}))})(Xt)),Xt.exports}var Ti=vi();const _i=s.getDefaultExportFromCjs(Ti);var ke=(function(){var t=s.__name(function(v,l,d,_){for(d=d||{},_=v.length;_--;d[v[_]]=l);return d},"o"),e=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],n=[1,26],r=[1,27],i=[1,28],o=[1,29],u=[1,30],m=[1,31],Y=[1,32],M=[1,33],k=[1,34],A=[1,9],S=[1,10],C=[1,11],q=[1,12],L=[1,13],U=[1,14],I=[1,15],N=[1,16],W=[1,19],j=[1,20],G=[1,21],p=[1,22],g=[1,23],y=[1,25],h=[1,35],w={trace:s.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",20:"weekend_friday",21:"weekend_saturday",22:"dateFormat",23:"inclusiveEndDates",24:"topAxis",25:"axisFormat",26:"tickInterval",27:"excludes",28:"includes",29:"todayMarker",30:"title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"section",38:"taskTxt",39:"taskData",40:"click",41:"callbackname",42:"callbackargs",43:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:s.__name(function(l,d,_,x,F,c,B){var a=c.length-1;switch(F){case 1:return c[a-1];case 2:this.$=[];break;case 3:c[a-1].push(c[a]),this.$=c[a-1];break;case 4:case 5:this.$=c[a];break;case 6:case 7:this.$=[];break;case 8:x.setWeekday("monday");break;case 9:x.setWeekday("tuesday");break;case 10:x.setWeekday("wednesday");break;case 11:x.setWeekday("thursday");break;case 12:x.setWeekday("friday");break;case 13:x.setWeekday("saturday");break;case 14:x.setWeekday("sunday");break;case 15:x.setWeekend("friday");break;case 16:x.setWeekend("saturday");break;case 17:x.setDateFormat(c[a].substr(11)),this.$=c[a].substr(11);break;case 18:x.enableInclusiveEndDates(),this.$=c[a].substr(18);break;case 19:x.TopAxis(),this.$=c[a].substr(8);break;case 20:x.setAxisFormat(c[a].substr(11)),this.$=c[a].substr(11);break;case 21:x.setTickInterval(c[a].substr(13)),this.$=c[a].substr(13);break;case 22:x.setExcludes(c[a].substr(9)),this.$=c[a].substr(9);break;case 23:x.setIncludes(c[a].substr(9)),this.$=c[a].substr(9);break;case 24:x.setTodayMarker(c[a].substr(12)),this.$=c[a].substr(12);break;case 27:x.setDiagramTitle(c[a].substr(6)),this.$=c[a].substr(6);break;case 28:this.$=c[a].trim(),x.setAccTitle(this.$);break;case 29:case 30:this.$=c[a].trim(),x.setAccDescription(this.$);break;case 31:x.addSection(c[a].substr(8)),this.$=c[a].substr(8);break;case 33:x.addTask(c[a-1],c[a]),this.$="task";break;case 34:this.$=c[a-1],x.setClickEvent(c[a-1],c[a],null);break;case 35:this.$=c[a-2],x.setClickEvent(c[a-2],c[a-1],c[a]);break;case 36:this.$=c[a-2],x.setClickEvent(c[a-2],c[a-1],null),x.setLink(c[a-2],c[a]);break;case 37:this.$=c[a-3],x.setClickEvent(c[a-3],c[a-2],c[a-1]),x.setLink(c[a-3],c[a]);break;case 38:this.$=c[a-2],x.setClickEvent(c[a-2],c[a],null),x.setLink(c[a-2],c[a-1]);break;case 39:this.$=c[a-3],x.setClickEvent(c[a-3],c[a-1],c[a]),x.setLink(c[a-3],c[a-2]);break;case 40:this.$=c[a-1],x.setLink(c[a-1],c[a]);break;case 41:case 47:this.$=c[a-1]+" "+c[a];break;case 42:case 43:case 45:this.$=c[a-2]+" "+c[a-1]+" "+c[a];break;case 44:case 46:this.$=c[a-3]+" "+c[a-2]+" "+c[a-1]+" "+c[a];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:n,13:r,14:i,15:o,16:u,17:m,18:Y,19:18,20:M,21:k,22:A,23:S,24:C,25:q,26:L,27:U,28:I,29:N,30:W,31:j,33:G,35:p,36:g,37:24,38:y,40:h},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:36,11:17,12:n,13:r,14:i,15:o,16:u,17:m,18:Y,19:18,20:M,21:k,22:A,23:S,24:C,25:q,26:L,27:U,28:I,29:N,30:W,31:j,33:G,35:p,36:g,37:24,38:y,40:h},t(e,[2,5]),t(e,[2,6]),t(e,[2,17]),t(e,[2,18]),t(e,[2,19]),t(e,[2,20]),t(e,[2,21]),t(e,[2,22]),t(e,[2,23]),t(e,[2,24]),t(e,[2,25]),t(e,[2,26]),t(e,[2,27]),{32:[1,37]},{34:[1,38]},t(e,[2,30]),t(e,[2,31]),t(e,[2,32]),{39:[1,39]},t(e,[2,8]),t(e,[2,9]),t(e,[2,10]),t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),t(e,[2,15]),t(e,[2,16]),{41:[1,40],43:[1,41]},t(e,[2,4]),t(e,[2,28]),t(e,[2,29]),t(e,[2,33]),t(e,[2,34],{42:[1,42],43:[1,43]}),t(e,[2,40],{41:[1,44]}),t(e,[2,35],{43:[1,45]}),t(e,[2,36]),t(e,[2,38],{42:[1,46]}),t(e,[2,37]),t(e,[2,39])],defaultActions:{},parseError:s.__name(function(l,d){if(d.recoverable)this.trace(l);else{var _=new Error(l);throw _.hash=d,_}},"parseError"),parse:s.__name(function(l){var d=this,_=[0],x=[],F=[null],c=[],B=this.table,a="",E=0,R=0,z=2,P=1,K=c.slice.call(arguments,1),O=Object.create(this.lexer),it={yy:{}};for(var D in this.yy)Object.prototype.hasOwnProperty.call(this.yy,D)&&(it.yy[D]=this.yy[D]);O.setInput(l,it.yy),it.yy.lexer=O,it.yy.parser=this,typeof O.yylloc>"u"&&(O.yylloc={});var H=O.yylloc;c.push(H);var V=O.options&&O.options.ranges;typeof it.yy.parseError=="function"?this.parseError=it.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function f(st){_.length=_.length-2*st,F.length=F.length-st,c.length=c.length-st}s.__name(f,"popStack");function J(){var st;return st=x.pop()||O.lex()||P,typeof st!="number"&&(st instanceof Array&&(x=st,st=x.pop()),st=d.symbols_[st]||st),st}s.__name(J,"lex");for(var $,Q,X,rt,at={},kt,ct,Ie,zt;;){if(Q=_[_.length-1],this.defaultActions[Q]?X=this.defaultActions[Q]:(($===null||typeof $>"u")&&($=J()),X=B[Q]&&B[Q][$]),typeof X>"u"||!X.length||!X[0]){var re="";zt=[];for(kt in B[Q])this.terminals_[kt]&&kt>z&&zt.push("'"+this.terminals_[kt]+"'");O.showPosition?re="Parse error on line "+(E+1)+`:
2
+ `+O.showPosition()+`
3
+ Expecting `+zt.join(", ")+", got '"+(this.terminals_[$]||$)+"'":re="Parse error on line "+(E+1)+": Unexpected "+($==P?"end of input":"'"+(this.terminals_[$]||$)+"'"),this.parseError(re,{text:O.match,token:this.terminals_[$]||$,line:O.yylineno,loc:H,expected:zt})}if(X[0]instanceof Array&&X.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Q+", token: "+$);switch(X[0]){case 1:_.push($),F.push(O.yytext),c.push(O.yylloc),_.push(X[1]),$=null,R=O.yyleng,a=O.yytext,E=O.yylineno,H=O.yylloc;break;case 2:if(ct=this.productions_[X[1]][1],at.$=F[F.length-ct],at._$={first_line:c[c.length-(ct||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(ct||1)].first_column,last_column:c[c.length-1].last_column},V&&(at._$.range=[c[c.length-(ct||1)].range[0],c[c.length-1].range[1]]),rt=this.performAction.apply(at,[a,R,E,it.yy,X[1],F,c].concat(K)),typeof rt<"u")return rt;ct&&(_=_.slice(0,-1*ct*2),F=F.slice(0,-1*ct),c=c.slice(0,-1*ct)),_.push(this.productions_[X[1]][0]),F.push(at.$),c.push(at._$),Ie=B[_[_.length-2]][_[_.length-1]],_.push(Ie);break;case 3:return!0}}return!0},"parse")},b=(function(){var v={EOF:1,parseError:s.__name(function(d,_){if(this.yy.parser)this.yy.parser.parseError(d,_);else throw new Error(d)},"parseError"),setInput:s.__name(function(l,d){return this.yy=d||this.yy||{},this._input=l,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:s.__name(function(){var l=this._input[0];this.yytext+=l,this.yyleng++,this.offset++,this.match+=l,this.matched+=l;var d=l.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),l},"input"),unput:s.__name(function(l){var d=l.length,_=l.split(/(?:\r\n?|\n)/g);this._input=l+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d),this.offset-=d;var x=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),_.length-1&&(this.yylineno-=_.length-1);var F=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:_?(_.length===x.length?this.yylloc.first_column:0)+x[x.length-_.length].length-_[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[F[0],F[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},"unput"),more:s.__name(function(){return this._more=!0,this},"more"),reject:s.__name(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:s.__name(function(l){this.unput(this.match.slice(l))},"less"),pastInput:s.__name(function(){var l=this.matched.substr(0,this.matched.length-this.match.length);return(l.length>20?"...":"")+l.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:s.__name(function(){var l=this.match;return l.length<20&&(l+=this._input.substr(0,20-l.length)),(l.substr(0,20)+(l.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:s.__name(function(){var l=this.pastInput(),d=new Array(l.length+1).join("-");return l+this.upcomingInput()+`
5
+ `+d+"^"},"showPosition"),test_match:s.__name(function(l,d){var _,x,F;if(this.options.backtrack_lexer&&(F={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&&(F.yylloc.range=this.yylloc.range.slice(0))),x=l[0].match(/(?:\r\n?|\n).*/g),x&&(this.yylineno+=x.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:x?x[x.length-1].length-x[x.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],_=this.performAction.call(this,this.yy,this,d,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),_)return _;if(this._backtrack){for(var c in F)this[c]=F[c];return!1}return!1},"test_match"),next:s.__name(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var l,d,_,x;this._more||(this.yytext="",this.match="");for(var F=this._currentRules(),c=0;c<F.length;c++)if(_=this._input.match(this.rules[F[c]]),_&&(!d||_[0].length>d[0].length)){if(d=_,x=c,this.options.backtrack_lexer){if(l=this.test_match(_,F[c]),l!==!1)return l;if(this._backtrack){d=!1;continue}else return!1}else if(!this.options.flex)break}return d?(l=this.test_match(d,F[x]),l!==!1?l:!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:s.__name(function(){var d=this.next();return d||this.lex()},"lex"),begin:s.__name(function(d){this.conditionStack.push(d)},"begin"),popState:s.__name(function(){var d=this.conditionStack.length-1;return d>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:s.__name(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:s.__name(function(d){return d=this.conditionStack.length-1-Math.abs(d||0),d>=0?this.conditionStack[d]:"INITIAL"},"topState"),pushState:s.__name(function(d){this.begin(d)},"pushState"),stateStackSize:s.__name(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:s.__name(function(d,_,x,F){switch(x){case 0:return this.begin("open_directive"),"open_directive";case 1:return this.begin("acc_title"),31;case 2:return this.popState(),"acc_title_value";case 3:return this.begin("acc_descr"),33;case 4:return this.popState(),"acc_descr_value";case 5:this.begin("acc_descr_multiline");break;case 6:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:break;case 9:break;case 10:break;case 11:return 10;case 12:break;case 13:break;case 14:this.begin("href");break;case 15:this.popState();break;case 16:return 43;case 17:this.begin("callbackname");break;case 18:this.popState();break;case 19:this.popState(),this.begin("callbackargs");break;case 20:return 41;case 21:this.popState();break;case 22:return 42;case 23:this.begin("click");break;case 24:this.popState();break;case 25:return 40;case 26:return 4;case 27:return 22;case 28:return 23;case 29:return 24;case 30:return 25;case 31:return 26;case 32:return 28;case 33:return 27;case 34:return 29;case 35:return 12;case 36:return 13;case 37:return 14;case 38:return 15;case 39:return 16;case 40:return 17;case 41:return 18;case 42:return 20;case 43:return 21;case 44:return"date";case 45:return 30;case 46:return"accDescription";case 47:return 36;case 48:return 38;case 49:return 39;case 50:return":";case 51:return 6;case 52:return"INVALID"}},"anonymous"),rules:[/^(?:%%\{)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:%%(?!\{)*[^\n]*)/i,/^(?:[^\}]%%*[^\n]*)/i,/^(?:%%*[^\n]*[\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:%[^\n]*)/i,/^(?:href[\s]+["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:call[\s]+)/i,/^(?:\([\s]*\))/i,/^(?:\()/i,/^(?:[^(]*)/i,/^(?:\))/i,/^(?:[^)]*)/i,/^(?:click[\s]+)/i,/^(?:[\s\n])/i,/^(?:[^\s\n]*)/i,/^(?:gantt\b)/i,/^(?:dateFormat\s[^#\n;]+)/i,/^(?:inclusiveEndDates\b)/i,/^(?:topAxis\b)/i,/^(?:axisFormat\s[^#\n;]+)/i,/^(?:tickInterval\s[^#\n;]+)/i,/^(?:includes\s[^#\n;]+)/i,/^(?:excludes\s[^#\n;]+)/i,/^(?:todayMarker\s[^\n;]+)/i,/^(?:weekday\s+monday\b)/i,/^(?:weekday\s+tuesday\b)/i,/^(?:weekday\s+wednesday\b)/i,/^(?:weekday\s+thursday\b)/i,/^(?:weekday\s+friday\b)/i,/^(?:weekday\s+saturday\b)/i,/^(?:weekday\s+sunday\b)/i,/^(?:weekend\s+friday\b)/i,/^(?:weekend\s+saturday\b)/i,/^(?:\d\d\d\d-\d\d-\d\d\b)/i,/^(?:title\s[^\n]+)/i,/^(?:accDescription\s[^#\n;]+)/i,/^(?:section\s[^\n]+)/i,/^(?:[^:\n]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[6,7],inclusive:!1},acc_descr:{rules:[4],inclusive:!1},acc_title:{rules:[2],inclusive:!1},callbackargs:{rules:[21,22],inclusive:!1},callbackname:{rules:[18,19,20],inclusive:!1},href:{rules:[15,16],inclusive:!1},click:{rules:[24,25],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,17,23,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52],inclusive:!0}}};return v})();w.lexer=b;function T(){this.yy={}}return s.__name(T,"Parser"),T.prototype=w,w.Parser=T,new T})();ke.parser=ke;var xi=ke;s.dayjs2.extend(ui);s.dayjs2.extend(hi);s.dayjs2.extend(ki);var Ge={friday:5,saturday:6},ut="",be="",we=void 0,De="",Nt=[],Pt=[],Me=new Map,Ce=[],ee=[],Ut="",Se="",pn=["active","done","crit","milestone","vert"],Fe=[],Vt=!1,Ye=!1,Ue="sunday",ne="saturday",pe=0,bi=s.__name(function(){Ce=[],ee=[],Ut="",Fe=[],Gt=0,Te=void 0,Qt=void 0,tt=[],ut="",be="",Se="",we=void 0,De="",Nt=[],Pt=[],Vt=!1,Ye=!1,pe=0,Me=new Map,s.clear(),Ue="sunday",ne="saturday"},"clear"),wi=s.__name(function(t){be=t},"setAxisFormat"),Di=s.__name(function(){return be},"getAxisFormat"),Mi=s.__name(function(t){we=t},"setTickInterval"),Ci=s.__name(function(){return we},"getTickInterval"),Si=s.__name(function(t){De=t},"setTodayMarker"),Fi=s.__name(function(){return De},"getTodayMarker"),Yi=s.__name(function(t){ut=t},"setDateFormat"),Ui=s.__name(function(){Vt=!0},"enableInclusiveEndDates"),Ei=s.__name(function(){return Vt},"endDatesAreInclusive"),Ii=s.__name(function(){Ye=!0},"enableTopAxis"),Ai=s.__name(function(){return Ye},"topAxisEnabled"),Li=s.__name(function(t){Se=t},"setDisplayMode"),Wi=s.__name(function(){return Se},"getDisplayMode"),$i=s.__name(function(){return ut},"getDateFormat"),Oi=s.__name(function(t){Nt=t.toLowerCase().split(/[\s,]+/)},"setIncludes"),Hi=s.__name(function(){return Nt},"getIncludes"),Ni=s.__name(function(t){Pt=t.toLowerCase().split(/[\s,]+/)},"setExcludes"),Pi=s.__name(function(){return Pt},"getExcludes"),Vi=s.__name(function(){return Me},"getLinks"),zi=s.__name(function(t){Ut=t,Ce.push(t)},"addSection"),Ri=s.__name(function(){return Ce},"getSections"),ji=s.__name(function(){let t=Qe();const e=10;let n=0;for(;!t&&n<e;)t=Qe(),n++;return ee=tt,ee},"getTasks"),vn=s.__name(function(t,e,n,r){const i=t.format(e.trim()),o=t.format("YYYY-MM-DD");return r.includes(i)||r.includes(o)?!1:n.includes("weekends")&&(t.isoWeekday()===Ge[ne]||t.isoWeekday()===Ge[ne]+1)||n.includes(t.format("dddd").toLowerCase())?!0:n.includes(i)||n.includes(o)},"isInvalidDate"),qi=s.__name(function(t){Ue=t},"setWeekday"),Zi=s.__name(function(){return Ue},"getWeekday"),Bi=s.__name(function(t){ne=t},"setWeekend"),Tn=s.__name(function(t,e,n,r){if(!n.length||t.manualEndTime)return;let i;t.startTime instanceof Date?i=s.dayjs2(t.startTime):i=s.dayjs2(t.startTime,e,!0),i=i.add(1,"d");let o;t.endTime instanceof Date?o=s.dayjs2(t.endTime):o=s.dayjs2(t.endTime,e,!0);const[u,m]=Xi(i,o,e,n,r);t.endTime=u.toDate(),t.renderEndTime=m},"checkTaskDates"),Xi=s.__name(function(t,e,n,r,i){let o=!1,u=null;for(;t<=e;)o||(u=e.toDate()),o=vn(t,n,r,i),o&&(e=e.add(1,"d")),t=t.add(1,"d");return[e,u]},"fixTaskDates"),ve=s.__name(function(t,e,n){if(n=n.trim(),s.__name(m=>{const Y=m.trim();return Y==="x"||Y==="X"},"isTimestampFormat")(e)&&/^\d+$/.test(n))return new Date(Number(n));const o=/^after\s+(?<ids>[\d\w- ]+)/.exec(n);if(o!==null){let m=null;for(const M of o.groups.ids.split(" ")){let k=wt(M);k!==void 0&&(!m||k.endTime>m.endTime)&&(m=k)}if(m)return m.endTime;const Y=new Date;return Y.setHours(0,0,0,0),Y}let u=s.dayjs2(n,e.trim(),!0);if(u.isValid())return u.toDate();{s.log.debug("Invalid date:"+n),s.log.debug("With date format:"+e.trim());const m=new Date(n);if(m===void 0||isNaN(m.getTime())||m.getFullYear()<-1e4||m.getFullYear()>1e4)throw new Error("Invalid date:"+n);return m}},"getStartDate"),_n=s.__name(function(t){const e=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(t.trim());return e!==null?[Number.parseFloat(e[1]),e[2]]:[NaN,"ms"]},"parseDuration"),xn=s.__name(function(t,e,n,r=!1){n=n.trim();const o=/^until\s+(?<ids>[\d\w- ]+)/.exec(n);if(o!==null){let k=null;for(const S of o.groups.ids.split(" ")){let C=wt(S);C!==void 0&&(!k||C.startTime<k.startTime)&&(k=C)}if(k)return k.startTime;const A=new Date;return A.setHours(0,0,0,0),A}let u=s.dayjs2(n,e.trim(),!0);if(u.isValid())return r&&(u=u.add(1,"d")),u.toDate();let m=s.dayjs2(t);const[Y,M]=_n(n);if(!Number.isNaN(Y)){const k=m.add(Y,M);k.isValid()&&(m=k)}return m.toDate()},"getEndDate"),Gt=0,St=s.__name(function(t){return t===void 0?(Gt=Gt+1,"task"+Gt):t},"parseId"),Gi=s.__name(function(t,e){let n;e.substr(0,1)===":"?n=e.substr(1,e.length):n=e;const r=n.split(","),i={};Ee(r,i,pn);for(let u=0;u<r.length;u++)r[u]=r[u].trim();let o="";switch(r.length){case 1:i.id=St(),i.startTime=t.endTime,o=r[0];break;case 2:i.id=St(),i.startTime=ve(void 0,ut,r[0]),o=r[1];break;case 3:i.id=St(r[0]),i.startTime=ve(void 0,ut,r[1]),o=r[2];break}return o&&(i.endTime=xn(i.startTime,ut,o,Vt),i.manualEndTime=s.dayjs2(o,"YYYY-MM-DD",!0).isValid(),Tn(i,ut,Pt,Nt)),i},"compileData"),Qi=s.__name(function(t,e){let n;e.substr(0,1)===":"?n=e.substr(1,e.length):n=e;const r=n.split(","),i={};Ee(r,i,pn);for(let o=0;o<r.length;o++)r[o]=r[o].trim();switch(r.length){case 1:i.id=St(),i.startTime={type:"prevTaskEnd",id:t},i.endTime={data:r[0]};break;case 2:i.id=St(),i.startTime={type:"getStartDate",startData:r[0]},i.endTime={data:r[1]};break;case 3:i.id=St(r[0]),i.startTime={type:"getStartDate",startData:r[1]},i.endTime={data:r[2]};break}return i},"parseData"),Te,Qt,tt=[],bn={},Ji=s.__name(function(t,e){const n={section:Ut,type:Ut,processed:!1,manualEndTime:!1,renderEndTime:null,raw:{data:e},task:t,classes:[]},r=Qi(Qt,e);n.raw.startTime=r.startTime,n.raw.endTime=r.endTime,n.id=r.id,n.prevTaskId=Qt,n.active=r.active,n.done=r.done,n.crit=r.crit,n.milestone=r.milestone,n.vert=r.vert,n.order=pe,pe++;const i=tt.push(n);Qt=n.id,bn[n.id]=i-1},"addTask"),wt=s.__name(function(t){const e=bn[t];return tt[e]},"findTaskById"),Ki=s.__name(function(t,e){const n={section:Ut,type:Ut,description:t,task:t,classes:[]},r=Gi(Te,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,Te=n,ee.push(n)},"addTaskOrg"),Qe=s.__name(function(){const t=s.__name(function(n){const r=tt[n];let i="";switch(tt[n].raw.startTime.type){case"prevTaskEnd":{const o=wt(r.prevTaskId);r.startTime=o.endTime;break}case"getStartDate":i=ve(void 0,ut,tt[n].raw.startTime.startData),i&&(tt[n].startTime=i);break}return tt[n].startTime&&(tt[n].endTime=xn(tt[n].startTime,ut,tt[n].raw.endTime.data,Vt),tt[n].endTime&&(tt[n].processed=!0,tt[n].manualEndTime=s.dayjs2(tt[n].raw.endTime.data,"YYYY-MM-DD",!0).isValid(),Tn(tt[n],ut,Pt,Nt))),tt[n].processed},"compileTask");let e=!0;for(const[n,r]of tt.entries())t(n),e=e&&r.processed;return e},"compileTasks"),ta=s.__name(function(t,e){let n=e;s.getConfig2().securityLevel!=="loose"&&(n=s.distExports.sanitizeUrl(e)),t.split(",").forEach(function(r){wt(r)!==void 0&&(Dn(r,()=>{window.open(n,"_self")}),Me.set(r,n))}),wn(t,"clickable")},"setLink"),wn=s.__name(function(t,e){t.split(",").forEach(function(n){let r=wt(n);r!==void 0&&r.classes.push(e)})},"setClass"),ea=s.__name(function(t,e,n){if(s.getConfig2().securityLevel!=="loose"||e===void 0)return;let r=[];if(typeof n=="string"){r=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let o=0;o<r.length;o++){let u=r[o].trim();u.startsWith('"')&&u.endsWith('"')&&(u=u.substr(1,u.length-2)),r[o]=u}}r.length===0&&r.push(t),wt(t)!==void 0&&Dn(t,()=>{s.utils_default.runFunc(e,...r)})},"setClickFun"),Dn=s.__name(function(t,e){Fe.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"),na=s.__name(function(t,e,n){t.split(",").forEach(function(r){ea(r,e,n)}),wn(t,"clickable")},"setClickEvent"),ra=s.__name(function(t){Fe.forEach(function(e){e(t)})},"bindFunctions"),ia={getConfig:s.__name(()=>s.getConfig2().gantt,"getConfig"),clear:bi,setDateFormat:Yi,getDateFormat:$i,enableInclusiveEndDates:Ui,endDatesAreInclusive:Ei,enableTopAxis:Ii,topAxisEnabled:Ai,setAxisFormat:wi,getAxisFormat:Di,setTickInterval:Mi,getTickInterval:Ci,setTodayMarker:Si,getTodayMarker:Fi,setAccTitle:s.setAccTitle,getAccTitle:s.getAccTitle,setDiagramTitle:s.setDiagramTitle,getDiagramTitle:s.getDiagramTitle,setDisplayMode:Li,getDisplayMode:Wi,setAccDescription:s.setAccDescription,getAccDescription:s.getAccDescription,addSection:zi,getSections:Ri,getTasks:ji,addTask:Ji,findTaskById:wt,addTaskOrg:Ki,setIncludes:Oi,getIncludes:Hi,setExcludes:Ni,getExcludes:Pi,setClickEvent:na,setLink:ta,getLinks:Vi,bindFunctions:ra,parseDuration:_n,isInvalidDate:vn,setWeekday:qi,getWeekday:Zi,setWeekend:Bi};function Ee(t,e,n){let r=!0;for(;r;)r=!1,n.forEach(function(i){const o="^\\s*"+i+"\\s*$",u=new RegExp(o);t[0].match(u)&&(e[i]=!0,t.shift(1),r=!0)})}s.__name(Ee,"getTaskTags");s.dayjs2.extend(_i);var aa=s.__name(function(){s.log.debug("Something is calling, setConf, remove the call")},"setConf"),Je={monday:$t,tuesday:cn,wednesday:un,thursday:Tt,friday:ln,saturday:fn,sunday:Ht},sa=s.__name((t,e)=>{let n=[...t].map(()=>-1/0),r=[...t].sort((o,u)=>o.startTime-u.startTime||o.order-u.order),i=0;for(const o of r)for(let u=0;u<n.length;u++)if(o.startTime>=n[u]){n[u]=o.endTime,o.order=u+e,u>i&&(i=u);break}return i},"getMaxIntersections"),ft,me=1e4,oa=s.__name(function(t,e,n,r){const i=s.getConfig2().gantt,o=s.getConfig2().securityLevel;let u;o==="sandbox"&&(u=s.select("#i"+e));const m=o==="sandbox"?s.select(u.nodes()[0].contentDocument.body):s.select("body"),Y=o==="sandbox"?u.nodes()[0].contentDocument:document,M=Y.getElementById(e);ft=M.parentElement.offsetWidth,ft===void 0&&(ft=1200),i.useWidth!==void 0&&(ft=i.useWidth);const k=r.db.getTasks();let A=[];for(const h of k)A.push(h.type);A=y(A);const S={};let C=2*i.topPadding;if(r.db.getDisplayMode()==="compact"||i.displayMode==="compact"){const h={};for(const b of k)h[b.section]===void 0?h[b.section]=[b]:h[b.section].push(b);let w=0;for(const b of Object.keys(h)){const T=sa(h[b],w)+1;w+=T,C+=T*(i.barHeight+i.barGap),S[b]=T}}else{C+=k.length*(i.barHeight+i.barGap);for(const h of A)S[h]=k.filter(w=>w.type===h).length}M.setAttribute("viewBox","0 0 "+ft+" "+C);const q=m.select(`[id="${e}"]`),L=ai().domain([Sn(k,function(h){return h.startTime}),Cn(k,function(h){return h.endTime})]).rangeRound([0,ft-i.leftPadding-i.rightPadding]);function U(h,w){const b=h.startTime,T=w.startTime;let v=0;return b>T?v=1:b<T&&(v=-1),v}s.__name(U,"taskCompare"),k.sort(U),I(k,ft,C),s.configureSvgSize(q,C,ft,i.useMaxWidth),q.append("text").text(r.db.getDiagramTitle()).attr("x",ft/2).attr("y",i.titleTopMargin).attr("class","titleText");function I(h,w,b){const T=i.barHeight,v=T+i.barGap,l=i.topPadding,d=i.leftPadding,_=Mt.linear().domain([0,A.length]).range(["#00B9FA","#F95002"]).interpolate(zn);W(v,l,d,w,b,h,r.db.getExcludes(),r.db.getIncludes()),G(d,l,w,b),N(h,v,l,d,T,_,w),p(v,l),g(d,l,w,b)}s.__name(I,"makeGantt");function N(h,w,b,T,v,l,d){h.sort((a,E)=>a.vert===E.vert?0:a.vert?1:-1);const x=[...new Set(h.map(a=>a.order))].map(a=>h.find(E=>E.order===a));q.append("g").selectAll("rect").data(x).enter().append("rect").attr("x",0).attr("y",function(a,E){return E=a.order,E*w+b-2}).attr("width",function(){return d-i.rightPadding/2}).attr("height",w).attr("class",function(a){for(const[E,R]of A.entries())if(a.type===R)return"section section"+E%i.numberSectionStyles;return"section section0"}).enter();const F=q.append("g").selectAll("rect").data(h).enter(),c=r.db.getLinks();if(F.append("rect").attr("id",function(a){return a.id}).attr("rx",3).attr("ry",3).attr("x",function(a){return a.milestone?L(a.startTime)+T+.5*(L(a.endTime)-L(a.startTime))-.5*v:L(a.startTime)+T}).attr("y",function(a,E){return E=a.order,a.vert?i.gridLineStartPadding:E*w+b}).attr("width",function(a){return a.milestone?v:a.vert?.08*v:L(a.renderEndTime||a.endTime)-L(a.startTime)}).attr("height",function(a){return a.vert?k.length*(i.barHeight+i.barGap)+i.barHeight*2:v}).attr("transform-origin",function(a,E){return E=a.order,(L(a.startTime)+T+.5*(L(a.endTime)-L(a.startTime))).toString()+"px "+(E*w+b+.5*v).toString()+"px"}).attr("class",function(a){const E="task";let R="";a.classes.length>0&&(R=a.classes.join(" "));let z=0;for(const[K,O]of A.entries())a.type===O&&(z=K%i.numberSectionStyles);let P="";return a.active?a.crit?P+=" activeCrit":P=" active":a.done?a.crit?P=" doneCrit":P=" done":a.crit&&(P+=" crit"),P.length===0&&(P=" task"),a.milestone&&(P=" milestone "+P),a.vert&&(P=" vert "+P),P+=z,P+=" "+R,E+P}),F.append("text").attr("id",function(a){return a.id+"-text"}).text(function(a){return a.task}).attr("font-size",i.fontSize).attr("x",function(a){let E=L(a.startTime),R=L(a.renderEndTime||a.endTime);if(a.milestone&&(E+=.5*(L(a.endTime)-L(a.startTime))-.5*v,R=E+v),a.vert)return L(a.startTime)+T;const z=this.getBBox().width;return z>R-E?R+z+1.5*i.leftPadding>d?E+T-5:R+T+5:(R-E)/2+E+T}).attr("y",function(a,E){return a.vert?i.gridLineStartPadding+k.length*(i.barHeight+i.barGap)+60:(E=a.order,E*w+i.barHeight/2+(i.fontSize/2-2)+b)}).attr("text-height",v).attr("class",function(a){const E=L(a.startTime);let R=L(a.endTime);a.milestone&&(R=E+v);const z=this.getBBox().width;let P="";a.classes.length>0&&(P=a.classes.join(" "));let K=0;for(const[it,D]of A.entries())a.type===D&&(K=it%i.numberSectionStyles);let O="";return a.active&&(a.crit?O="activeCritText"+K:O="activeText"+K),a.done?a.crit?O=O+" doneCritText"+K:O=O+" doneText"+K:a.crit&&(O=O+" critText"+K),a.milestone&&(O+=" milestoneText"),a.vert&&(O+=" vertText"),z>R-E?R+z+1.5*i.leftPadding>d?P+" taskTextOutsideLeft taskTextOutside"+K+" "+O:P+" taskTextOutsideRight taskTextOutside"+K+" "+O+" width-"+z:P+" taskText taskText"+K+" "+O+" width-"+z}),s.getConfig2().securityLevel==="sandbox"){let a;a=s.select("#i"+e);const E=a.nodes()[0].contentDocument;F.filter(function(R){return c.has(R.id)}).each(function(R){var z=E.querySelector("#"+R.id),P=E.querySelector("#"+R.id+"-text");const K=z.parentNode;var O=E.createElement("a");O.setAttribute("xlink:href",c.get(R.id)),O.setAttribute("target","_top"),K.appendChild(O),O.appendChild(z),O.appendChild(P)})}}s.__name(N,"drawRects");function W(h,w,b,T,v,l,d,_){if(d.length===0&&_.length===0)return;let x,F;for(const{startTime:z,endTime:P}of l)(x===void 0||z<x)&&(x=z),(F===void 0||P>F)&&(F=P);if(!x||!F)return;if(s.dayjs2(F).diff(s.dayjs2(x),"year")>5){s.log.warn("The difference between the min and max time is more than 5 years. This will cause performance issues. Skipping drawing exclude days.");return}const c=r.db.getDateFormat(),B=[];let a=null,E=s.dayjs2(x);for(;E.valueOf()<=F;)r.db.isInvalidDate(E,c,d,_)?a?a.end=E:a={start:E,end:E}:a&&(B.push(a),a=null),E=E.add(1,"d");q.append("g").selectAll("rect").data(B).enter().append("rect").attr("id",z=>"exclude-"+z.start.format("YYYY-MM-DD")).attr("x",z=>L(z.start.startOf("day"))+b).attr("y",i.gridLineStartPadding).attr("width",z=>L(z.end.endOf("day"))-L(z.start.startOf("day"))).attr("height",v-w-i.gridLineStartPadding).attr("transform-origin",function(z,P){return(L(z.start)+b+.5*(L(z.end)-L(z.start))).toString()+"px "+(P*h+.5*v).toString()+"px"}).attr("class","exclude-range")}s.__name(W,"drawExcludeDays");function j(h,w,b,T){if(b<=0||h>w)return 1/0;const v=w-h,l=s.dayjs2.duration({[T??"day"]:b}).asMilliseconds();return l<=0?1/0:Math.ceil(v/l)}s.__name(j,"getEstimatedTickCount");function G(h,w,b,T){const v=r.db.getDateFormat(),l=r.db.getAxisFormat();let d;l?d=l:v==="D"?d="%d":d=i.axisFormat??"%Y-%m-%d";let _=Wn(L).tickSize(-T+w+i.gridLineStartPadding).tickFormat(te(d));const F=/^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(r.db.getTickInterval()||i.tickInterval);if(F!==null){const c=parseInt(F[1],10);if(isNaN(c)||c<=0)s.log.warn(`Invalid tick interval value: "${F[1]}". Skipping custom tick interval.`);else{const B=F[2],a=r.db.getWeekday()||i.weekday,E=L.domain(),R=E[0],z=E[1],P=j(R,z,c,B);if(P>me)s.log.warn(`The tick interval "${c}${B}" would generate ${P} ticks, which exceeds the maximum allowed (${me}). This may indicate an invalid date or time range. Skipping custom tick interval.`);else switch(B){case"millisecond":_.ticks(Ft.every(c));break;case"second":_.ticks(pt.every(c));break;case"minute":_.ticks(Lt.every(c));break;case"hour":_.ticks(Wt.every(c));break;case"day":_.ticks(vt.every(c));break;case"week":_.ticks(Je[a].every(c));break;case"month":_.ticks(Ot.every(c));break}}}if(q.append("g").attr("class","grid").attr("transform","translate("+h+", "+(T-50)+")").call(_).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 c=Ln(L).tickSize(-T+w+i.gridLineStartPadding).tickFormat(te(d));if(F!==null){const B=parseInt(F[1],10);if(isNaN(B)||B<=0)s.log.warn(`Invalid tick interval value: "${F[1]}". Skipping custom tick interval.`);else{const a=F[2],E=r.db.getWeekday()||i.weekday,R=L.domain(),z=R[0],P=R[1];if(j(z,P,B,a)<=me)switch(a){case"millisecond":c.ticks(Ft.every(B));break;case"second":c.ticks(pt.every(B));break;case"minute":c.ticks(Lt.every(B));break;case"hour":c.ticks(Wt.every(B));break;case"day":c.ticks(vt.every(B));break;case"week":c.ticks(Je[E].every(B));break;case"month":c.ticks(Ot.every(B));break}}}q.append("g").attr("class","grid").attr("transform","translate("+h+", "+w+")").call(c).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10)}}s.__name(G,"makeGrid");function p(h,w){let b=0;const T=Object.keys(S).map(v=>[v,S[v]]);q.append("g").selectAll("text").data(T).enter().append(function(v){const l=v[0].split(s.common_default.lineBreakRegex),d=-(l.length-1)/2,_=Y.createElementNS("http://www.w3.org/2000/svg","text");_.setAttribute("dy",d+"em");for(const[x,F]of l.entries()){const c=Y.createElementNS("http://www.w3.org/2000/svg","tspan");c.setAttribute("alignment-baseline","central"),c.setAttribute("x","10"),x>0&&c.setAttribute("dy","1em"),c.textContent=F,_.appendChild(c)}return _}).attr("x",10).attr("y",function(v,l){if(l>0)for(let d=0;d<l;d++)return b+=T[l-1][1],v[1]*h/2+b*h+w;else return v[1]*h/2+w}).attr("font-size",i.sectionFontSize).attr("class",function(v){for(const[l,d]of A.entries())if(v[0]===d)return"sectionTitle sectionTitle"+l%i.numberSectionStyles;return"sectionTitle"})}s.__name(p,"vertLabels");function g(h,w,b,T){const v=r.db.getTodayMarker();if(v==="off")return;const l=q.append("g").attr("class","today"),d=new Date,_=l.append("line");_.attr("x1",L(d)+h).attr("x2",L(d)+h).attr("y1",i.titleTopMargin).attr("y2",T-i.titleTopMargin).attr("class","today"),v!==""&&_.attr("style",v.replace(/,/g,";"))}s.__name(g,"drawToday");function y(h){const w={},b=[];for(let T=0,v=h.length;T<v;++T)Object.prototype.hasOwnProperty.call(w,h[T])||(w[h[T]]=!0,b.push(h[T]));return b}s.__name(y,"checkUnique")},"draw"),ca={setConf:aa,draw:oa},ua=s.__name(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
+
199
+ /* Tasks on the critical line */
200
+
201
+ .crit0,
202
+ .crit1,
203
+ .crit2,
204
+ .crit3 {
205
+ stroke: ${t.critBorderColor};
206
+ fill: ${t.critBkgColor};
207
+ stroke-width: 2;
208
+ }
209
+
210
+ .activeCrit0,
211
+ .activeCrit1,
212
+ .activeCrit2,
213
+ .activeCrit3 {
214
+ stroke: ${t.critBorderColor};
215
+ fill: ${t.activeTaskBkgColor};
216
+ stroke-width: 2;
217
+ }
218
+
219
+ .doneCrit0,
220
+ .doneCrit1,
221
+ .doneCrit2,
222
+ .doneCrit3 {
223
+ stroke: ${t.critBorderColor};
224
+ fill: ${t.doneTaskBkgColor};
225
+ stroke-width: 2;
226
+ cursor: pointer;
227
+ shape-rendering: crispEdges;
228
+ }
229
+
230
+ .milestone {
231
+ transform: rotate(45deg) scale(0.8,0.8);
232
+ }
233
+
234
+ .milestoneText {
235
+ font-style: italic;
236
+ }
237
+ .doneCritText0,
238
+ .doneCritText1,
239
+ .doneCritText2,
240
+ .doneCritText3 {
241
+ fill: ${t.taskTextDarkColor} !important;
242
+ }
243
+
244
+ .vert {
245
+ stroke: ${t.vertLineColor};
246
+ }
247
+
248
+ .vertText {
249
+ font-size: 15px;
250
+ text-anchor: middle;
251
+ fill: ${t.vertLineColor} !important;
252
+ }
253
+
254
+ .activeCritText0,
255
+ .activeCritText1,
256
+ .activeCritText2,
257
+ .activeCritText3 {
258
+ fill: ${t.taskTextDarkColor} !important;
259
+ }
260
+
261
+ .titleText {
262
+ text-anchor: middle;
263
+ font-size: 18px;
264
+ fill: ${t.titleColor||t.textColor};
265
+ font-family: ${t.fontFamily};
266
+ }
267
+ `,"getStyles"),la=ua,fa={parser:xi,db:ia,renderer:ca,styles:la};exports.diagram=fa;
@@ -1,4 +1,4 @@
1
- import { G as a, f as G } from "./mermaid-parser.core-C8Sxzqul.mjs";
1
+ import { G as a, f as G } from "./mermaid-parser.core-CLAapB2-.mjs";
2
2
  export {
3
3
  a as GitGraphModule,
4
4
  G as createGitGraphServices
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./mermaid-parser.core-BHAgLMGa.js");exports.GitGraphModule=e.GitGraphModule;exports.createGitGraphServices=e.createGitGraphServices;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./mermaid-parser.core-BVlc9Lqd.js");exports.GitGraphModule=e.GitGraphModule;exports.createGitGraphServices=e.createGitGraphServices;