@ksvedal/docs 0.1.0

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 (137) hide show
  1. package/README.md +74 -0
  2. package/dist/Starthjelp-CDnMsPRF.js +6 -0
  3. package/dist/Starthjelp-DTDqsiPb.js +6 -0
  4. package/dist/_baseUniq-FW_jgYGR.js +477 -0
  5. package/dist/access_policy-BV-cRgLX.js +17 -0
  6. package/dist/access_policy-pBOJMSEK.js +17 -0
  7. package/dist/access_token_lifetime-6ypKk6LU.js +31 -0
  8. package/dist/access_token_lifetime-CVau9UC3.js +31 -0
  9. package/dist/allowed_grant_types-BrnsQvWi.js +101 -0
  10. package/dist/allowed_grant_types-ovkxJeQq.js +101 -0
  11. package/dist/application_type-BAESO1T4.js +36 -0
  12. package/dist/application_type-BtouPPrt.js +39 -0
  13. package/dist/arc-zSbgd3Dl.js +83 -0
  14. package/dist/architecture-U656AL7Q-bG73RCfJ.js +5 -0
  15. package/dist/architectureDiagram-VXUJARFQ-DbJ1yKpS.js +4668 -0
  16. package/dist/authentication_method-B28p58-a.js +43 -0
  17. package/dist/authentication_method-D8EwmEki.js +43 -0
  18. package/dist/authorization_lifetime-CfhrWQ9Y.js +39 -0
  19. package/dist/authorization_lifetime-DrFRbscQ.js +39 -0
  20. package/dist/backchannel_logout_uri-BTceN7xq.js +33 -0
  21. package/dist/backchannel_logout_uri-CBdktUL7.js +33 -0
  22. package/dist/blockDiagram-VD42YOAC-CmPMJI6H.js +2265 -0
  23. package/dist/breadcrumbs.json +1202 -0
  24. package/dist/c4Diagram-YG6GDRKO-BtTnslb7.js +1581 -0
  25. package/dist/channel-B9C38GUl.js +5 -0
  26. package/dist/chunk-4BX2VUAB-BLcImAIn.js +9 -0
  27. package/dist/chunk-55IACEB6-Cd_NYMQ6.js +8 -0
  28. package/dist/chunk-B4BG7PRW-C5mt8tWU.js +1376 -0
  29. package/dist/chunk-DI55MBZ5-BliqH_si.js +1382 -0
  30. package/dist/chunk-FMBD7UC4-D8OxNP20.js +19 -0
  31. package/dist/chunk-QN33PNHL-DBPrGAkF.js +20 -0
  32. package/dist/chunk-QZHKN3VN-Ce2k3n1F.js +15 -0
  33. package/dist/chunk-TZMSLE5B-BB3w_n2J.js +64 -0
  34. package/dist/classDiagram-2ON5EDUG-BJg1PJs9.js +16 -0
  35. package/dist/classDiagram-v2-WZHVMYZB-BJg1PJs9.js +16 -0
  36. package/dist/client_types-BmacnRwO.js +17 -0
  37. package/dist/client_types-Cu_f02j7.js +17 -0
  38. package/dist/clone-DZF-mLM1.js +8 -0
  39. package/dist/components/Docs.d.ts +5 -0
  40. package/dist/components/DocsBreadcrumbs.d.ts +10 -0
  41. package/dist/components/DocsErrorBoundary.d.ts +21 -0
  42. package/dist/components/DocsPage.d.ts +10 -0
  43. package/dist/components/DocsSearch.d.ts +12 -0
  44. package/dist/components/DocsViewer.d.ts +11 -0
  45. package/dist/components/index.d.ts +6 -0
  46. package/dist/components/useDocsStyles.d.ts +1 -0
  47. package/dist/cose-bilkent-S5V4N54A-xEniAY-c.js +2608 -0
  48. package/dist/cytoscape.esm-CjI2IsL8.js +18735 -0
  49. package/dist/dagre-6UL2VRFP-DWEj74f8.js +446 -0
  50. package/dist/defaultLocale-BgPVtth8.js +171 -0
  51. package/dist/delegation_source-B8L65LAZ.js +17 -0
  52. package/dist/delegation_source-DBE0sh58.js +17 -0
  53. package/dist/diagram-PSM6KHXK-Z3KtWXiy.js +533 -0
  54. package/dist/diagram-QEK2KX5R-BVA9QmB8.js +221 -0
  55. package/dist/diagram-S2PKOQOG-BOmc_fL6.js +143 -0
  56. package/dist/docs/folder.d.ts +12 -0
  57. package/dist/docs/types.d.ts +12 -0
  58. package/dist/entraid-CPkATiHs.js +6 -0
  59. package/dist/entraid-CSwp8dMQ.js +6 -0
  60. package/dist/erDiagram-Q2GNP2WA-Blro_6F2.js +842 -0
  61. package/dist/faq-CqjYqwL1.js +8 -0
  62. package/dist/faq-TqD11_1a.js +8 -0
  63. package/dist/flowDiagram-NV44I4VS-BN9iLCEi.js +1627 -0
  64. package/dist/frontchannel_logout_uri-Bt6bvoBs.js +36 -0
  65. package/dist/frontchannel_logout_uri-DRGyFXRl.js +36 -0
  66. package/dist/ganttDiagram-JELNMOA3-CXLPJQlh.js +2670 -0
  67. package/dist/general--WqS-xp8.js +89 -0
  68. package/dist/general-B37q4SsA.js +63 -0
  69. package/dist/general-BCOYLf6V.js +152 -0
  70. package/dist/general-CQFRRoeE.js +63 -0
  71. package/dist/general-Dk7lWiBC.js +152 -0
  72. package/dist/general-QQfgnjEE.js +89 -0
  73. package/dist/gitGraph-F6HP7TQM-ChFlbGFG.js +5 -0
  74. package/dist/gitGraphDiagram-NY62KEGX-DXSPVlhd.js +712 -0
  75. package/dist/graph-dALvSPTP.js +381 -0
  76. package/dist/index-D_FT2Td-.js +25338 -0
  77. package/dist/index.d.ts +2 -0
  78. package/dist/index.js +9 -0
  79. package/dist/info-NVLQJR56-BSQ5ueiP.js +5 -0
  80. package/dist/infoDiagram-WHAUD3N6-D0hbJwWb.js +24 -0
  81. package/dist/init-DjUOC4st.js +16 -0
  82. package/dist/integration_guide-BXkM8zJ-.js +7 -0
  83. package/dist/integration_guide-CLABphnS.js +313 -0
  84. package/dist/integration_guide-Ci8Nz8oL.js +313 -0
  85. package/dist/integration_guide-Ct8RYoMV.js +6 -0
  86. package/dist/integration_guide-DWfjt6Qk.js +6 -0
  87. package/dist/integration_guide-DrKTpPnR.js +6 -0
  88. package/dist/journeyDiagram-XKPGCS4Q-DTU9EVLJ.js +834 -0
  89. package/dist/kanban-definition-3W4ZIXB7-CcKx9EnU.js +721 -0
  90. package/dist/katex-C6SjTJMZ.js +11690 -0
  91. package/dist/layout-DUskCdLZ.js +1441 -0
  92. package/dist/linear-RKbqvfvG.js +259 -0
  93. package/dist/mermaid-parser.core-C-16ojim.js +15189 -0
  94. package/dist/min-CsCJm_uR.js +38 -0
  95. package/dist/mindmap-definition-VGOIOE7T-LpgPu_oq.js +787 -0
  96. package/dist/on_behalf_of-EcHpNqmZ.js +36 -0
  97. package/dist/on_behalf_of-qrlvHfcG.js +36 -0
  98. package/dist/ordinal-DfAQgscy.js +61 -0
  99. package/dist/overview-Bw11cTNo.js +21 -0
  100. package/dist/overview-ZreyAEkN.js +21 -0
  101. package/dist/packet-BFZMPI3H-CwJrUCZn.js +5 -0
  102. package/dist/pie-7BOR55EZ-WUF72bRP.js +5 -0
  103. package/dist/pieDiagram-ADFJNKIX-BRjx2vS_.js +161 -0
  104. package/dist/pkce-BkSKWYmh.js +34 -0
  105. package/dist/pkce-C3U_jCxQ.js +33 -0
  106. package/dist/post_logout_redirect_uri-BSzuTRwg.js +33 -0
  107. package/dist/post_logout_redirect_uri-BnhzB1De.js +33 -0
  108. package/dist/pseudonymous_login-B3oa6s2f.js +17 -0
  109. package/dist/pseudonymous_login-x98obOlL.js +17 -0
  110. package/dist/quadrantDiagram-AYHSOK5B-BOwjGYKH.js +1024 -0
  111. package/dist/radar-NHE76QYJ-DRN4buPP.js +5 -0
  112. package/dist/redirect_uri-Cnlv_2rt.js +38 -0
  113. package/dist/redirect_uri-DgNidm8d.js +38 -0
  114. package/dist/refresh_token_lifetime-DCzCzIyu.js +34 -0
  115. package/dist/refresh_token_lifetime-QcGf0aOG.js +34 -0
  116. package/dist/refresh_token_usage-C2LdxQHa.js +33 -0
  117. package/dist/refresh_token_usage-DXI98e4O.js +33 -0
  118. package/dist/requirementDiagram-UZGBJVZJ-KRDecAgT.js +852 -0
  119. package/dist/sankeyDiagram-TZEHDZUN-MKxbwv35.js +810 -0
  120. package/dist/search-index.json +450 -0
  121. package/dist/sequenceDiagram-WL72ISMW-DEo0cUN3.js +2518 -0
  122. package/dist/sso-BuAlvelZ.js +79 -0
  123. package/dist/sso-DYMIpoUd.js +78 -0
  124. package/dist/stateDiagram-FKZM4ZOC-CaTGomRc.js +263 -0
  125. package/dist/stateDiagram-v2-4FDKWEC3-l4p7_3uG.js +16 -0
  126. package/dist/timeline-definition-IT6M3QCI-ChX0PfWC.js +799 -0
  127. package/dist/token_lifetimes-Cp22x6RM.js +17 -0
  128. package/dist/token_lifetimes-CwzcMEnb.js +17 -0
  129. package/dist/token_type-B8DCg80j.js +17 -0
  130. package/dist/token_type-C7Y04-Fc.js +17 -0
  131. package/dist/treemap-KMMF4GRG-DNEhU-LQ.js +5 -0
  132. package/dist/user_involvement-4nbn_fQ7.js +17 -0
  133. package/dist/user_involvement-COT572uK.js +17 -0
  134. package/dist/visibility-BSqCGXMv.js +17 -0
  135. package/dist/visibility-CidZ07d9.js +17 -0
  136. package/dist/xychartDiagram-PRI3JC2R-CBQAJ13t.js +1340 -0
  137. package/package.json +60 -0
@@ -0,0 +1,2670 @@
1
+ import { bb as an, bc as Wn, bd as on, be as cn, bf as un, bg as ce, bh as $n, aG as ae, _ as d, g as On, s as Hn, t as Nn, q as Pn, a as Vn, b as zn, c as _t, d as Zt, e as Rn, bi as rt, l as Tt, k as qn, j as Zn, z as Bn, u as Xn } from "./index-D_FT2Td-.js";
2
+ import { b as Gn, t as He, c as jn, a as Qn, l as Jn } from "./linear-RKbqvfvG.js";
3
+ import { i as Kn } from "./init-DjUOC4st.js";
4
+ function tr(t, e) {
5
+ let n;
6
+ if (e === void 0)
7
+ for (const r of t)
8
+ r != null && (n < r || n === void 0 && r >= r) && (n = r);
9
+ else {
10
+ let r = -1;
11
+ for (let i of t)
12
+ (i = e(i, ++r, t)) != null && (n < i || n === void 0 && i >= i) && (n = i);
13
+ }
14
+ return n;
15
+ }
16
+ function er(t, e) {
17
+ let n;
18
+ if (e === void 0)
19
+ for (const r of t)
20
+ r != null && (n > r || n === void 0 && r >= r) && (n = r);
21
+ else {
22
+ let r = -1;
23
+ for (let i of t)
24
+ (i = e(i, ++r, t)) != null && (n > i || n === void 0 && i >= i) && (n = i);
25
+ }
26
+ return n;
27
+ }
28
+ function nr(t) {
29
+ return t;
30
+ }
31
+ var Xt = 1, ue = 2, Te = 3, Bt = 4, Ne = 1e-6;
32
+ function rr(t) {
33
+ return "translate(" + t + ",0)";
34
+ }
35
+ function ir(t) {
36
+ return "translate(0," + t + ")";
37
+ }
38
+ function sr(t) {
39
+ return (e) => +t(e);
40
+ }
41
+ function ar(t, e) {
42
+ return e = Math.max(0, t.bandwidth() - e * 2) / 2, t.round() && (e = Math.round(e)), (n) => +t(n) + e;
43
+ }
44
+ function or() {
45
+ return !this.__axis;
46
+ }
47
+ function ln(t, e) {
48
+ var n = [], r = null, i = null, a = 6, c = 6, m = 3, Y = typeof window < "u" && window.devicePixelRatio > 1 ? 0 : 0.5, C = t === Xt || t === Bt ? -1 : 1, k = t === Bt || t === ue ? "x" : "y", L = t === Xt || t === Te ? rr : ir;
49
+ function _(S) {
50
+ var Z = r ?? (e.ticks ? e.ticks.apply(e, n) : e.domain()), A = i ?? (e.tickFormat ? e.tickFormat.apply(e, n) : nr), U = Math.max(a, 0) + m, I = e.range(), N = +I[0] + Y, W = +I[I.length - 1] + Y, q = (e.bandwidth ? ar : sr)(e.copy(), Y), j = S.selection ? S.selection() : S, p = j.selectAll(".domain").data([null]), g = j.selectAll(".tick").data(Z, e).order(), y = g.exit(), h = g.enter().append("g").attr("class", "tick"), D = g.select("line"), w = g.select("text");
51
+ p = p.merge(p.enter().insert("path", ".tick").attr("class", "domain").attr("stroke", "currentColor")), g = g.merge(h), D = D.merge(h.append("line").attr("stroke", "currentColor").attr(k + "2", C * a)), w = w.merge(h.append("text").attr("fill", "currentColor").attr(k, C * U).attr("dy", t === Xt ? "0em" : t === Te ? "0.71em" : "0.32em")), S !== j && (p = p.transition(S), g = g.transition(S), D = D.transition(S), w = w.transition(S), y = y.transition(S).attr("opacity", Ne).attr("transform", function(T) {
52
+ return isFinite(T = q(T)) ? L(T + Y) : this.getAttribute("transform");
53
+ }), h.attr("opacity", Ne).attr("transform", function(T) {
54
+ var v = this.parentNode.__axis;
55
+ return L((v && isFinite(v = v(T)) ? v : q(T)) + Y);
56
+ })), y.remove(), p.attr("d", t === Bt || t === ue ? c ? "M" + C * c + "," + N + "H" + Y + "V" + W + "H" + C * c : "M" + Y + "," + N + "V" + W : c ? "M" + N + "," + C * c + "V" + Y + "H" + W + "V" + C * c : "M" + N + "," + Y + "H" + W), g.attr("opacity", 1).attr("transform", function(T) {
57
+ return L(q(T) + Y);
58
+ }), D.attr(k + "2", C * a), w.attr(k, C * U).text(A), j.filter(or).attr("fill", "none").attr("font-size", 10).attr("font-family", "sans-serif").attr("text-anchor", t === ue ? "start" : t === Bt ? "end" : "middle"), j.each(function() {
59
+ this.__axis = q;
60
+ });
61
+ }
62
+ return _.scale = function(S) {
63
+ return arguments.length ? (e = S, _) : e;
64
+ }, _.ticks = function() {
65
+ return n = Array.from(arguments), _;
66
+ }, _.tickArguments = function(S) {
67
+ return arguments.length ? (n = S == null ? [] : Array.from(S), _) : n.slice();
68
+ }, _.tickValues = function(S) {
69
+ return arguments.length ? (r = S == null ? null : Array.from(S), _) : r && r.slice();
70
+ }, _.tickFormat = function(S) {
71
+ return arguments.length ? (i = S, _) : i;
72
+ }, _.tickSize = function(S) {
73
+ return arguments.length ? (a = c = +S, _) : a;
74
+ }, _.tickSizeInner = function(S) {
75
+ return arguments.length ? (a = +S, _) : a;
76
+ }, _.tickSizeOuter = function(S) {
77
+ return arguments.length ? (c = +S, _) : c;
78
+ }, _.tickPadding = function(S) {
79
+ return arguments.length ? (m = +S, _) : m;
80
+ }, _.offset = function(S) {
81
+ return arguments.length ? (Y = +S, _) : Y;
82
+ }, _;
83
+ }
84
+ function cr(t) {
85
+ return ln(Xt, t);
86
+ }
87
+ function ur(t) {
88
+ return ln(Te, t);
89
+ }
90
+ const lr = Math.PI / 180, fr = 180 / Math.PI, ee = 18, fn = 0.96422, dn = 1, hn = 0.82521, mn = 4 / 29, Ft = 6 / 29, gn = 3 * Ft * Ft, dr = Ft * Ft * Ft;
91
+ function yn(t) {
92
+ if (t instanceof ft) return new ft(t.l, t.a, t.b, t.opacity);
93
+ if (t instanceof ht) return kn(t);
94
+ t instanceof an || (t = Wn(t));
95
+ var e = he(t.r), n = he(t.g), r = he(t.b), i = le((0.2225045 * e + 0.7168786 * n + 0.0606169 * r) / dn), a, c;
96
+ return e === n && n === r ? a = c = i : (a = le((0.4360747 * e + 0.3850649 * n + 0.1430804 * r) / fn), c = le((0.0139322 * e + 0.0971045 * n + 0.7141733 * r) / hn)), new ft(116 * i - 16, 500 * (a - i), 200 * (i - c), t.opacity);
97
+ }
98
+ function hr(t, e, n, r) {
99
+ return arguments.length === 1 ? yn(t) : new ft(t, e, n, r ?? 1);
100
+ }
101
+ function ft(t, e, n, r) {
102
+ this.l = +t, this.a = +e, this.b = +n, this.opacity = +r;
103
+ }
104
+ on(ft, hr, cn(un, {
105
+ brighter(t) {
106
+ return new ft(this.l + ee * (t ?? 1), this.a, this.b, this.opacity);
107
+ },
108
+ darker(t) {
109
+ return new ft(this.l - ee * (t ?? 1), this.a, this.b, this.opacity);
110
+ },
111
+ rgb() {
112
+ var t = (this.l + 16) / 116, e = isNaN(this.a) ? t : t + this.a / 500, n = isNaN(this.b) ? t : t - this.b / 200;
113
+ return e = fn * fe(e), t = dn * fe(t), n = hn * fe(n), new an(
114
+ de(3.1338561 * e - 1.6168667 * t - 0.4906146 * n),
115
+ de(-0.9787684 * e + 1.9161415 * t + 0.033454 * n),
116
+ de(0.0719453 * e - 0.2289914 * t + 1.4052427 * n),
117
+ this.opacity
118
+ );
119
+ }
120
+ }));
121
+ function le(t) {
122
+ return t > dr ? Math.pow(t, 1 / 3) : t / gn + mn;
123
+ }
124
+ function fe(t) {
125
+ return t > Ft ? t * t * t : gn * (t - mn);
126
+ }
127
+ function de(t) {
128
+ return 255 * (t <= 31308e-7 ? 12.92 * t : 1.055 * Math.pow(t, 1 / 2.4) - 0.055);
129
+ }
130
+ function he(t) {
131
+ return (t /= 255) <= 0.04045 ? t / 12.92 : Math.pow((t + 0.055) / 1.055, 2.4);
132
+ }
133
+ function mr(t) {
134
+ if (t instanceof ht) return new ht(t.h, t.c, t.l, t.opacity);
135
+ if (t instanceof ft || (t = yn(t)), t.a === 0 && t.b === 0) return new ht(NaN, 0 < t.l && t.l < 100 ? 0 : NaN, t.l, t.opacity);
136
+ var e = Math.atan2(t.b, t.a) * fr;
137
+ return new ht(e < 0 ? e + 360 : e, Math.sqrt(t.a * t.a + t.b * t.b), t.l, t.opacity);
138
+ }
139
+ function be(t, e, n, r) {
140
+ return arguments.length === 1 ? mr(t) : new ht(t, e, n, r ?? 1);
141
+ }
142
+ function ht(t, e, n, r) {
143
+ this.h = +t, this.c = +e, this.l = +n, this.opacity = +r;
144
+ }
145
+ function kn(t) {
146
+ if (isNaN(t.h)) return new ft(t.l, 0, 0, t.opacity);
147
+ var e = t.h * lr;
148
+ return new ft(t.l, Math.cos(e) * t.c, Math.sin(e) * t.c, t.opacity);
149
+ }
150
+ on(ht, be, cn(un, {
151
+ brighter(t) {
152
+ return new ht(this.h, this.c, this.l + ee * (t ?? 1), this.opacity);
153
+ },
154
+ darker(t) {
155
+ return new ht(this.h, this.c, this.l - ee * (t ?? 1), this.opacity);
156
+ },
157
+ rgb() {
158
+ return kn(this).rgb();
159
+ }
160
+ }));
161
+ function gr(t) {
162
+ return function(e, n) {
163
+ var r = t((e = be(e)).h, (n = be(n)).h), i = ce(e.c, n.c), a = ce(e.l, n.l), c = ce(e.opacity, n.opacity);
164
+ return function(m) {
165
+ return e.h = r(m), e.c = i(m), e.l = a(m), e.opacity = c(m), e + "";
166
+ };
167
+ };
168
+ }
169
+ const yr = gr($n);
170
+ function kr(t, e) {
171
+ t = t.slice();
172
+ var n = 0, r = t.length - 1, i = t[n], a = t[r], c;
173
+ return a < i && (c = n, n = r, r = c, c = i, i = a, a = c), t[n] = e.floor(i), t[r] = e.ceil(a), t;
174
+ }
175
+ const me = /* @__PURE__ */ new Date(), ge = /* @__PURE__ */ new Date();
176
+ function et(t, e, n, r) {
177
+ function i(a) {
178
+ return t(a = arguments.length === 0 ? /* @__PURE__ */ new Date() : /* @__PURE__ */ new Date(+a)), a;
179
+ }
180
+ return i.floor = (a) => (t(a = /* @__PURE__ */ new Date(+a)), a), i.ceil = (a) => (t(a = new Date(a - 1)), e(a, 1), t(a), a), i.round = (a) => {
181
+ const c = i(a), m = i.ceil(a);
182
+ return a - c < m - a ? c : m;
183
+ }, i.offset = (a, c) => (e(a = /* @__PURE__ */ new Date(+a), c == null ? 1 : Math.floor(c)), a), i.range = (a, c, m) => {
184
+ const Y = [];
185
+ if (a = i.ceil(a), m = m == null ? 1 : Math.floor(m), !(a < c) || !(m > 0)) return Y;
186
+ let C;
187
+ do
188
+ Y.push(C = /* @__PURE__ */ new Date(+a)), e(a, m), t(a);
189
+ while (C < a && a < c);
190
+ return Y;
191
+ }, i.filter = (a) => et((c) => {
192
+ if (c >= c) for (; t(c), !a(c); ) c.setTime(c - 1);
193
+ }, (c, m) => {
194
+ if (c >= c)
195
+ if (m < 0) for (; ++m <= 0; )
196
+ for (; e(c, -1), !a(c); )
197
+ ;
198
+ else for (; --m >= 0; )
199
+ for (; e(c, 1), !a(c); )
200
+ ;
201
+ }), n && (i.count = (a, c) => (me.setTime(+a), ge.setTime(+c), t(me), t(ge), Math.floor(n(me, ge))), i.every = (a) => (a = Math.floor(a), !isFinite(a) || !(a > 0) ? null : a > 1 ? i.filter(r ? (c) => r(c) % a === 0 : (c) => i.count(0, c) % a === 0) : i)), i;
202
+ }
203
+ const Ut = et(() => {
204
+ }, (t, e) => {
205
+ t.setTime(+t + e);
206
+ }, (t, e) => e - t);
207
+ Ut.every = (t) => (t = Math.floor(t), !isFinite(t) || !(t > 0) ? null : t > 1 ? et((e) => {
208
+ e.setTime(Math.floor(e / t) * t);
209
+ }, (e, n) => {
210
+ e.setTime(+e + n * t);
211
+ }, (e, n) => (n - e) / t) : Ut);
212
+ Ut.range;
213
+ const mt = 1e3, ct = mt * 60, gt = ct * 60, yt = gt * 24, Ce = yt * 7, Pe = yt * 30, ye = yt * 365, vt = et((t) => {
214
+ t.setTime(t - t.getMilliseconds());
215
+ }, (t, e) => {
216
+ t.setTime(+t + e * mt);
217
+ }, (t, e) => (e - t) / mt, (t) => t.getUTCSeconds());
218
+ vt.range;
219
+ const $t = et((t) => {
220
+ t.setTime(t - t.getMilliseconds() - t.getSeconds() * mt);
221
+ }, (t, e) => {
222
+ t.setTime(+t + e * ct);
223
+ }, (t, e) => (e - t) / ct, (t) => t.getMinutes());
224
+ $t.range;
225
+ const pr = et((t) => {
226
+ t.setUTCSeconds(0, 0);
227
+ }, (t, e) => {
228
+ t.setTime(+t + e * ct);
229
+ }, (t, e) => (e - t) / ct, (t) => t.getUTCMinutes());
230
+ pr.range;
231
+ const Ot = et((t) => {
232
+ t.setTime(t - t.getMilliseconds() - t.getSeconds() * mt - t.getMinutes() * ct);
233
+ }, (t, e) => {
234
+ t.setTime(+t + e * gt);
235
+ }, (t, e) => (e - t) / gt, (t) => t.getHours());
236
+ Ot.range;
237
+ const vr = et((t) => {
238
+ t.setUTCMinutes(0, 0, 0);
239
+ }, (t, e) => {
240
+ t.setTime(+t + e * gt);
241
+ }, (t, e) => (e - t) / gt, (t) => t.getUTCHours());
242
+ vr.range;
243
+ const bt = et(
244
+ (t) => t.setHours(0, 0, 0, 0),
245
+ (t, e) => t.setDate(t.getDate() + e),
246
+ (t, e) => (e - t - (e.getTimezoneOffset() - t.getTimezoneOffset()) * ct) / yt,
247
+ (t) => t.getDate() - 1
248
+ );
249
+ bt.range;
250
+ const Se = et((t) => {
251
+ t.setUTCHours(0, 0, 0, 0);
252
+ }, (t, e) => {
253
+ t.setUTCDate(t.getUTCDate() + e);
254
+ }, (t, e) => (e - t) / yt, (t) => t.getUTCDate() - 1);
255
+ Se.range;
256
+ const Tr = et((t) => {
257
+ t.setUTCHours(0, 0, 0, 0);
258
+ }, (t, e) => {
259
+ t.setUTCDate(t.getUTCDate() + e);
260
+ }, (t, e) => (e - t) / yt, (t) => Math.floor(t / yt));
261
+ Tr.range;
262
+ function Dt(t) {
263
+ return et((e) => {
264
+ e.setDate(e.getDate() - (e.getDay() + 7 - t) % 7), e.setHours(0, 0, 0, 0);
265
+ }, (e, n) => {
266
+ e.setDate(e.getDate() + n * 7);
267
+ }, (e, n) => (n - e - (n.getTimezoneOffset() - e.getTimezoneOffset()) * ct) / Ce);
268
+ }
269
+ const Pt = Dt(0), Ht = Dt(1), pn = Dt(2), vn = Dt(3), xt = Dt(4), Tn = Dt(5), bn = Dt(6);
270
+ Pt.range;
271
+ Ht.range;
272
+ pn.range;
273
+ vn.range;
274
+ xt.range;
275
+ Tn.range;
276
+ bn.range;
277
+ function Mt(t) {
278
+ return et((e) => {
279
+ e.setUTCDate(e.getUTCDate() - (e.getUTCDay() + 7 - t) % 7), e.setUTCHours(0, 0, 0, 0);
280
+ }, (e, n) => {
281
+ e.setUTCDate(e.getUTCDate() + n * 7);
282
+ }, (e, n) => (n - e) / Ce);
283
+ }
284
+ const xn = Mt(0), ne = Mt(1), br = Mt(2), xr = Mt(3), Et = Mt(4), wr = Mt(5), Dr = Mt(6);
285
+ xn.range;
286
+ ne.range;
287
+ br.range;
288
+ xr.range;
289
+ Et.range;
290
+ wr.range;
291
+ Dr.range;
292
+ const Nt = et((t) => {
293
+ t.setDate(1), t.setHours(0, 0, 0, 0);
294
+ }, (t, e) => {
295
+ t.setMonth(t.getMonth() + e);
296
+ }, (t, e) => e.getMonth() - t.getMonth() + (e.getFullYear() - t.getFullYear()) * 12, (t) => t.getMonth());
297
+ Nt.range;
298
+ const Mr = et((t) => {
299
+ t.setUTCDate(1), t.setUTCHours(0, 0, 0, 0);
300
+ }, (t, e) => {
301
+ t.setUTCMonth(t.getUTCMonth() + e);
302
+ }, (t, e) => e.getUTCMonth() - t.getUTCMonth() + (e.getUTCFullYear() - t.getUTCFullYear()) * 12, (t) => t.getUTCMonth());
303
+ Mr.range;
304
+ const kt = et((t) => {
305
+ t.setMonth(0, 1), t.setHours(0, 0, 0, 0);
306
+ }, (t, e) => {
307
+ t.setFullYear(t.getFullYear() + e);
308
+ }, (t, e) => e.getFullYear() - t.getFullYear(), (t) => t.getFullYear());
309
+ kt.every = (t) => !isFinite(t = Math.floor(t)) || !(t > 0) ? null : et((e) => {
310
+ e.setFullYear(Math.floor(e.getFullYear() / t) * t), e.setMonth(0, 1), e.setHours(0, 0, 0, 0);
311
+ }, (e, n) => {
312
+ e.setFullYear(e.getFullYear() + n * t);
313
+ });
314
+ kt.range;
315
+ const wt = et((t) => {
316
+ t.setUTCMonth(0, 1), t.setUTCHours(0, 0, 0, 0);
317
+ }, (t, e) => {
318
+ t.setUTCFullYear(t.getUTCFullYear() + e);
319
+ }, (t, e) => e.getUTCFullYear() - t.getUTCFullYear(), (t) => t.getUTCFullYear());
320
+ wt.every = (t) => !isFinite(t = Math.floor(t)) || !(t > 0) ? null : et((e) => {
321
+ e.setUTCFullYear(Math.floor(e.getUTCFullYear() / t) * t), e.setUTCMonth(0, 1), e.setUTCHours(0, 0, 0, 0);
322
+ }, (e, n) => {
323
+ e.setUTCFullYear(e.getUTCFullYear() + n * t);
324
+ });
325
+ wt.range;
326
+ function Cr(t, e, n, r, i, a) {
327
+ const c = [
328
+ [vt, 1, mt],
329
+ [vt, 5, 5 * mt],
330
+ [vt, 15, 15 * mt],
331
+ [vt, 30, 30 * mt],
332
+ [a, 1, ct],
333
+ [a, 5, 5 * ct],
334
+ [a, 15, 15 * ct],
335
+ [a, 30, 30 * ct],
336
+ [i, 1, gt],
337
+ [i, 3, 3 * gt],
338
+ [i, 6, 6 * gt],
339
+ [i, 12, 12 * gt],
340
+ [r, 1, yt],
341
+ [r, 2, 2 * yt],
342
+ [n, 1, Ce],
343
+ [e, 1, Pe],
344
+ [e, 3, 3 * Pe],
345
+ [t, 1, ye]
346
+ ];
347
+ function m(C, k, L) {
348
+ const _ = k < C;
349
+ _ && ([C, k] = [k, C]);
350
+ const S = L && typeof L.range == "function" ? L : Y(C, k, L), Z = S ? S.range(C, +k + 1) : [];
351
+ return _ ? Z.reverse() : Z;
352
+ }
353
+ function Y(C, k, L) {
354
+ const _ = Math.abs(k - C) / L, S = Gn(([, , U]) => U).right(c, _);
355
+ if (S === c.length) return t.every(He(C / ye, k / ye, L));
356
+ if (S === 0) return Ut.every(Math.max(He(C, k, L), 1));
357
+ const [Z, A] = c[_ / c[S - 1][2] < c[S][2] / _ ? S - 1 : S];
358
+ return Z.every(A);
359
+ }
360
+ return [m, Y];
361
+ }
362
+ const [Sr, _r] = Cr(kt, Nt, Pt, bt, Ot, $t);
363
+ function ke(t) {
364
+ if (0 <= t.y && t.y < 100) {
365
+ var e = new Date(-1, t.m, t.d, t.H, t.M, t.S, t.L);
366
+ return e.setFullYear(t.y), e;
367
+ }
368
+ return new Date(t.y, t.m, t.d, t.H, t.M, t.S, t.L);
369
+ }
370
+ function pe(t) {
371
+ if (0 <= t.y && t.y < 100) {
372
+ var e = new Date(Date.UTC(-1, t.m, t.d, t.H, t.M, t.S, t.L));
373
+ return e.setUTCFullYear(t.y), e;
374
+ }
375
+ return new Date(Date.UTC(t.y, t.m, t.d, t.H, t.M, t.S, t.L));
376
+ }
377
+ function Lt(t, e, n) {
378
+ return { y: t, m: e, d: n, H: 0, M: 0, S: 0, L: 0 };
379
+ }
380
+ function Fr(t) {
381
+ var e = t.dateTime, n = t.date, r = t.time, i = t.periods, a = t.days, c = t.shortDays, m = t.months, Y = t.shortMonths, C = At(i), k = Wt(i), L = At(a), _ = Wt(a), S = At(c), Z = Wt(c), A = At(m), U = Wt(m), I = At(Y), N = Wt(Y), W = {
382
+ a: x,
383
+ A: F,
384
+ b: o,
385
+ B: X,
386
+ c: null,
387
+ d: Be,
388
+ e: Be,
389
+ f: Jr,
390
+ g: ci,
391
+ G: li,
392
+ H: Gr,
393
+ I: jr,
394
+ j: Qr,
395
+ L: wn,
396
+ m: Kr,
397
+ M: ti,
398
+ p: s,
399
+ q: E,
400
+ Q: je,
401
+ s: Qe,
402
+ S: ei,
403
+ u: ni,
404
+ U: ri,
405
+ V: ii,
406
+ w: si,
407
+ W: ai,
408
+ x: null,
409
+ X: null,
410
+ y: oi,
411
+ Y: ui,
412
+ Z: fi,
413
+ "%": Ge
414
+ }, q = {
415
+ a: R,
416
+ A: z,
417
+ b: P,
418
+ B: K,
419
+ c: null,
420
+ d: Xe,
421
+ e: Xe,
422
+ f: gi,
423
+ g: Mi,
424
+ G: Si,
425
+ H: di,
426
+ I: hi,
427
+ j: mi,
428
+ L: Mn,
429
+ m: yi,
430
+ M: ki,
431
+ p: O,
432
+ q: st,
433
+ Q: je,
434
+ s: Qe,
435
+ S: pi,
436
+ u: vi,
437
+ U: Ti,
438
+ V: bi,
439
+ w: xi,
440
+ W: wi,
441
+ x: null,
442
+ X: null,
443
+ y: Di,
444
+ Y: Ci,
445
+ Z: _i,
446
+ "%": Ge
447
+ }, j = {
448
+ a: D,
449
+ A: w,
450
+ b: T,
451
+ B: v,
452
+ c: u,
453
+ d: qe,
454
+ e: qe,
455
+ f: qr,
456
+ g: Re,
457
+ G: ze,
458
+ H: Ze,
459
+ I: Ze,
460
+ j: Pr,
461
+ L: Rr,
462
+ m: Nr,
463
+ M: Vr,
464
+ p: h,
465
+ q: Hr,
466
+ Q: Br,
467
+ s: Xr,
468
+ S: zr,
469
+ u: Lr,
470
+ U: Ar,
471
+ V: Wr,
472
+ w: Ir,
473
+ W: $r,
474
+ x: f,
475
+ X: b,
476
+ y: Re,
477
+ Y: ze,
478
+ Z: Or,
479
+ "%": Zr
480
+ };
481
+ W.x = p(n, W), W.X = p(r, W), W.c = p(e, W), q.x = p(n, q), q.X = p(r, q), q.c = p(e, q);
482
+ function p(M, H) {
483
+ return function(V) {
484
+ var l = [], J = -1, $ = 0, Q = M.length, G, it, at;
485
+ for (V instanceof Date || (V = /* @__PURE__ */ new Date(+V)); ++J < Q; )
486
+ M.charCodeAt(J) === 37 && (l.push(M.slice($, J)), (it = Ve[G = M.charAt(++J)]) != null ? G = M.charAt(++J) : it = G === "e" ? " " : "0", (at = H[G]) && (G = at(V, it)), l.push(G), $ = J + 1);
487
+ return l.push(M.slice($, J)), l.join("");
488
+ };
489
+ }
490
+ function g(M, H) {
491
+ return function(V) {
492
+ var l = Lt(1900, void 0, 1), J = y(l, M, V += "", 0), $, Q;
493
+ if (J != V.length) return null;
494
+ if ("Q" in l) return new Date(l.Q);
495
+ if ("s" in l) return new Date(l.s * 1e3 + ("L" in l ? l.L : 0));
496
+ if (H && !("Z" in l) && (l.Z = 0), "p" in l && (l.H = l.H % 12 + l.p * 12), l.m === void 0 && (l.m = "q" in l ? l.q : 0), "V" in l) {
497
+ if (l.V < 1 || l.V > 53) return null;
498
+ "w" in l || (l.w = 1), "Z" in l ? ($ = pe(Lt(l.y, 0, 1)), Q = $.getUTCDay(), $ = Q > 4 || Q === 0 ? ne.ceil($) : ne($), $ = Se.offset($, (l.V - 1) * 7), l.y = $.getUTCFullYear(), l.m = $.getUTCMonth(), l.d = $.getUTCDate() + (l.w + 6) % 7) : ($ = ke(Lt(l.y, 0, 1)), Q = $.getDay(), $ = Q > 4 || Q === 0 ? Ht.ceil($) : Ht($), $ = bt.offset($, (l.V - 1) * 7), l.y = $.getFullYear(), l.m = $.getMonth(), l.d = $.getDate() + (l.w + 6) % 7);
499
+ } else ("W" in l || "U" in l) && ("w" in l || (l.w = "u" in l ? l.u % 7 : "W" in l ? 1 : 0), Q = "Z" in l ? pe(Lt(l.y, 0, 1)).getUTCDay() : ke(Lt(l.y, 0, 1)).getDay(), l.m = 0, l.d = "W" in l ? (l.w + 6) % 7 + l.W * 7 - (Q + 5) % 7 : l.w + l.U * 7 - (Q + 6) % 7);
500
+ return "Z" in l ? (l.H += l.Z / 100 | 0, l.M += l.Z % 100, pe(l)) : ke(l);
501
+ };
502
+ }
503
+ function y(M, H, V, l) {
504
+ for (var J = 0, $ = H.length, Q = V.length, G, it; J < $; ) {
505
+ if (l >= Q) return -1;
506
+ if (G = H.charCodeAt(J++), G === 37) {
507
+ if (G = H.charAt(J++), it = j[G in Ve ? H.charAt(J++) : G], !it || (l = it(M, V, l)) < 0) return -1;
508
+ } else if (G != V.charCodeAt(l++))
509
+ return -1;
510
+ }
511
+ return l;
512
+ }
513
+ function h(M, H, V) {
514
+ var l = C.exec(H.slice(V));
515
+ return l ? (M.p = k.get(l[0].toLowerCase()), V + l[0].length) : -1;
516
+ }
517
+ function D(M, H, V) {
518
+ var l = S.exec(H.slice(V));
519
+ return l ? (M.w = Z.get(l[0].toLowerCase()), V + l[0].length) : -1;
520
+ }
521
+ function w(M, H, V) {
522
+ var l = L.exec(H.slice(V));
523
+ return l ? (M.w = _.get(l[0].toLowerCase()), V + l[0].length) : -1;
524
+ }
525
+ function T(M, H, V) {
526
+ var l = I.exec(H.slice(V));
527
+ return l ? (M.m = N.get(l[0].toLowerCase()), V + l[0].length) : -1;
528
+ }
529
+ function v(M, H, V) {
530
+ var l = A.exec(H.slice(V));
531
+ return l ? (M.m = U.get(l[0].toLowerCase()), V + l[0].length) : -1;
532
+ }
533
+ function u(M, H, V) {
534
+ return y(M, e, H, V);
535
+ }
536
+ function f(M, H, V) {
537
+ return y(M, n, H, V);
538
+ }
539
+ function b(M, H, V) {
540
+ return y(M, r, H, V);
541
+ }
542
+ function x(M) {
543
+ return c[M.getDay()];
544
+ }
545
+ function F(M) {
546
+ return a[M.getDay()];
547
+ }
548
+ function o(M) {
549
+ return Y[M.getMonth()];
550
+ }
551
+ function X(M) {
552
+ return m[M.getMonth()];
553
+ }
554
+ function s(M) {
555
+ return i[+(M.getHours() >= 12)];
556
+ }
557
+ function E(M) {
558
+ return 1 + ~~(M.getMonth() / 3);
559
+ }
560
+ function R(M) {
561
+ return c[M.getUTCDay()];
562
+ }
563
+ function z(M) {
564
+ return a[M.getUTCDay()];
565
+ }
566
+ function P(M) {
567
+ return Y[M.getUTCMonth()];
568
+ }
569
+ function K(M) {
570
+ return m[M.getUTCMonth()];
571
+ }
572
+ function O(M) {
573
+ return i[+(M.getUTCHours() >= 12)];
574
+ }
575
+ function st(M) {
576
+ return 1 + ~~(M.getUTCMonth() / 3);
577
+ }
578
+ return {
579
+ format: function(M) {
580
+ var H = p(M += "", W);
581
+ return H.toString = function() {
582
+ return M;
583
+ }, H;
584
+ },
585
+ parse: function(M) {
586
+ var H = g(M += "", !1);
587
+ return H.toString = function() {
588
+ return M;
589
+ }, H;
590
+ },
591
+ utcFormat: function(M) {
592
+ var H = p(M += "", q);
593
+ return H.toString = function() {
594
+ return M;
595
+ }, H;
596
+ },
597
+ utcParse: function(M) {
598
+ var H = g(M += "", !0);
599
+ return H.toString = function() {
600
+ return M;
601
+ }, H;
602
+ }
603
+ };
604
+ }
605
+ var Ve = { "-": "", _: " ", 0: "0" }, nt = /^\s*\d+/, Yr = /^%/, Ur = /[\\^$*+?|[\]().{}]/g;
606
+ function B(t, e, n) {
607
+ var r = t < 0 ? "-" : "", i = (r ? -t : t) + "", a = i.length;
608
+ return r + (a < n ? new Array(n - a + 1).join(e) + i : i);
609
+ }
610
+ function Er(t) {
611
+ return t.replace(Ur, "\\$&");
612
+ }
613
+ function At(t) {
614
+ return new RegExp("^(?:" + t.map(Er).join("|") + ")", "i");
615
+ }
616
+ function Wt(t) {
617
+ return new Map(t.map((e, n) => [e.toLowerCase(), n]));
618
+ }
619
+ function Ir(t, e, n) {
620
+ var r = nt.exec(e.slice(n, n + 1));
621
+ return r ? (t.w = +r[0], n + r[0].length) : -1;
622
+ }
623
+ function Lr(t, e, n) {
624
+ var r = nt.exec(e.slice(n, n + 1));
625
+ return r ? (t.u = +r[0], n + r[0].length) : -1;
626
+ }
627
+ function Ar(t, e, n) {
628
+ var r = nt.exec(e.slice(n, n + 2));
629
+ return r ? (t.U = +r[0], n + r[0].length) : -1;
630
+ }
631
+ function Wr(t, e, n) {
632
+ var r = nt.exec(e.slice(n, n + 2));
633
+ return r ? (t.V = +r[0], n + r[0].length) : -1;
634
+ }
635
+ function $r(t, e, n) {
636
+ var r = nt.exec(e.slice(n, n + 2));
637
+ return r ? (t.W = +r[0], n + r[0].length) : -1;
638
+ }
639
+ function ze(t, e, n) {
640
+ var r = nt.exec(e.slice(n, n + 4));
641
+ return r ? (t.y = +r[0], n + r[0].length) : -1;
642
+ }
643
+ function Re(t, e, n) {
644
+ var r = nt.exec(e.slice(n, n + 2));
645
+ return r ? (t.y = +r[0] + (+r[0] > 68 ? 1900 : 2e3), n + r[0].length) : -1;
646
+ }
647
+ function Or(t, e, n) {
648
+ var r = /^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n, n + 6));
649
+ return r ? (t.Z = r[1] ? 0 : -(r[2] + (r[3] || "00")), n + r[0].length) : -1;
650
+ }
651
+ function Hr(t, e, n) {
652
+ var r = nt.exec(e.slice(n, n + 1));
653
+ return r ? (t.q = r[0] * 3 - 3, n + r[0].length) : -1;
654
+ }
655
+ function Nr(t, e, n) {
656
+ var r = nt.exec(e.slice(n, n + 2));
657
+ return r ? (t.m = r[0] - 1, n + r[0].length) : -1;
658
+ }
659
+ function qe(t, e, n) {
660
+ var r = nt.exec(e.slice(n, n + 2));
661
+ return r ? (t.d = +r[0], n + r[0].length) : -1;
662
+ }
663
+ function Pr(t, e, n) {
664
+ var r = nt.exec(e.slice(n, n + 3));
665
+ return r ? (t.m = 0, t.d = +r[0], n + r[0].length) : -1;
666
+ }
667
+ function Ze(t, e, n) {
668
+ var r = nt.exec(e.slice(n, n + 2));
669
+ return r ? (t.H = +r[0], n + r[0].length) : -1;
670
+ }
671
+ function Vr(t, e, n) {
672
+ var r = nt.exec(e.slice(n, n + 2));
673
+ return r ? (t.M = +r[0], n + r[0].length) : -1;
674
+ }
675
+ function zr(t, e, n) {
676
+ var r = nt.exec(e.slice(n, n + 2));
677
+ return r ? (t.S = +r[0], n + r[0].length) : -1;
678
+ }
679
+ function Rr(t, e, n) {
680
+ var r = nt.exec(e.slice(n, n + 3));
681
+ return r ? (t.L = +r[0], n + r[0].length) : -1;
682
+ }
683
+ function qr(t, e, n) {
684
+ var r = nt.exec(e.slice(n, n + 6));
685
+ return r ? (t.L = Math.floor(r[0] / 1e3), n + r[0].length) : -1;
686
+ }
687
+ function Zr(t, e, n) {
688
+ var r = Yr.exec(e.slice(n, n + 1));
689
+ return r ? n + r[0].length : -1;
690
+ }
691
+ function Br(t, e, n) {
692
+ var r = nt.exec(e.slice(n));
693
+ return r ? (t.Q = +r[0], n + r[0].length) : -1;
694
+ }
695
+ function Xr(t, e, n) {
696
+ var r = nt.exec(e.slice(n));
697
+ return r ? (t.s = +r[0], n + r[0].length) : -1;
698
+ }
699
+ function Be(t, e) {
700
+ return B(t.getDate(), e, 2);
701
+ }
702
+ function Gr(t, e) {
703
+ return B(t.getHours(), e, 2);
704
+ }
705
+ function jr(t, e) {
706
+ return B(t.getHours() % 12 || 12, e, 2);
707
+ }
708
+ function Qr(t, e) {
709
+ return B(1 + bt.count(kt(t), t), e, 3);
710
+ }
711
+ function wn(t, e) {
712
+ return B(t.getMilliseconds(), e, 3);
713
+ }
714
+ function Jr(t, e) {
715
+ return wn(t, e) + "000";
716
+ }
717
+ function Kr(t, e) {
718
+ return B(t.getMonth() + 1, e, 2);
719
+ }
720
+ function ti(t, e) {
721
+ return B(t.getMinutes(), e, 2);
722
+ }
723
+ function ei(t, e) {
724
+ return B(t.getSeconds(), e, 2);
725
+ }
726
+ function ni(t) {
727
+ var e = t.getDay();
728
+ return e === 0 ? 7 : e;
729
+ }
730
+ function ri(t, e) {
731
+ return B(Pt.count(kt(t) - 1, t), e, 2);
732
+ }
733
+ function Dn(t) {
734
+ var e = t.getDay();
735
+ return e >= 4 || e === 0 ? xt(t) : xt.ceil(t);
736
+ }
737
+ function ii(t, e) {
738
+ return t = Dn(t), B(xt.count(kt(t), t) + (kt(t).getDay() === 4), e, 2);
739
+ }
740
+ function si(t) {
741
+ return t.getDay();
742
+ }
743
+ function ai(t, e) {
744
+ return B(Ht.count(kt(t) - 1, t), e, 2);
745
+ }
746
+ function oi(t, e) {
747
+ return B(t.getFullYear() % 100, e, 2);
748
+ }
749
+ function ci(t, e) {
750
+ return t = Dn(t), B(t.getFullYear() % 100, e, 2);
751
+ }
752
+ function ui(t, e) {
753
+ return B(t.getFullYear() % 1e4, e, 4);
754
+ }
755
+ function li(t, e) {
756
+ var n = t.getDay();
757
+ return t = n >= 4 || n === 0 ? xt(t) : xt.ceil(t), B(t.getFullYear() % 1e4, e, 4);
758
+ }
759
+ function fi(t) {
760
+ var e = t.getTimezoneOffset();
761
+ return (e > 0 ? "-" : (e *= -1, "+")) + B(e / 60 | 0, "0", 2) + B(e % 60, "0", 2);
762
+ }
763
+ function Xe(t, e) {
764
+ return B(t.getUTCDate(), e, 2);
765
+ }
766
+ function di(t, e) {
767
+ return B(t.getUTCHours(), e, 2);
768
+ }
769
+ function hi(t, e) {
770
+ return B(t.getUTCHours() % 12 || 12, e, 2);
771
+ }
772
+ function mi(t, e) {
773
+ return B(1 + Se.count(wt(t), t), e, 3);
774
+ }
775
+ function Mn(t, e) {
776
+ return B(t.getUTCMilliseconds(), e, 3);
777
+ }
778
+ function gi(t, e) {
779
+ return Mn(t, e) + "000";
780
+ }
781
+ function yi(t, e) {
782
+ return B(t.getUTCMonth() + 1, e, 2);
783
+ }
784
+ function ki(t, e) {
785
+ return B(t.getUTCMinutes(), e, 2);
786
+ }
787
+ function pi(t, e) {
788
+ return B(t.getUTCSeconds(), e, 2);
789
+ }
790
+ function vi(t) {
791
+ var e = t.getUTCDay();
792
+ return e === 0 ? 7 : e;
793
+ }
794
+ function Ti(t, e) {
795
+ return B(xn.count(wt(t) - 1, t), e, 2);
796
+ }
797
+ function Cn(t) {
798
+ var e = t.getUTCDay();
799
+ return e >= 4 || e === 0 ? Et(t) : Et.ceil(t);
800
+ }
801
+ function bi(t, e) {
802
+ return t = Cn(t), B(Et.count(wt(t), t) + (wt(t).getUTCDay() === 4), e, 2);
803
+ }
804
+ function xi(t) {
805
+ return t.getUTCDay();
806
+ }
807
+ function wi(t, e) {
808
+ return B(ne.count(wt(t) - 1, t), e, 2);
809
+ }
810
+ function Di(t, e) {
811
+ return B(t.getUTCFullYear() % 100, e, 2);
812
+ }
813
+ function Mi(t, e) {
814
+ return t = Cn(t), B(t.getUTCFullYear() % 100, e, 2);
815
+ }
816
+ function Ci(t, e) {
817
+ return B(t.getUTCFullYear() % 1e4, e, 4);
818
+ }
819
+ function Si(t, e) {
820
+ var n = t.getUTCDay();
821
+ return t = n >= 4 || n === 0 ? Et(t) : Et.ceil(t), B(t.getUTCFullYear() % 1e4, e, 4);
822
+ }
823
+ function _i() {
824
+ return "+0000";
825
+ }
826
+ function Ge() {
827
+ return "%";
828
+ }
829
+ function je(t) {
830
+ return +t;
831
+ }
832
+ function Qe(t) {
833
+ return Math.floor(+t / 1e3);
834
+ }
835
+ var St, re;
836
+ Fi({
837
+ dateTime: "%x, %X",
838
+ date: "%-m/%-d/%Y",
839
+ time: "%-I:%M:%S %p",
840
+ periods: ["AM", "PM"],
841
+ days: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
842
+ shortDays: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
843
+ months: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
844
+ shortMonths: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]
845
+ });
846
+ function Fi(t) {
847
+ return St = Fr(t), re = St.format, St.parse, St.utcFormat, St.utcParse, St;
848
+ }
849
+ function Yi(t) {
850
+ return new Date(t);
851
+ }
852
+ function Ui(t) {
853
+ return t instanceof Date ? +t : +/* @__PURE__ */ new Date(+t);
854
+ }
855
+ function Sn(t, e, n, r, i, a, c, m, Y, C) {
856
+ var k = jn(), L = k.invert, _ = k.domain, S = C(".%L"), Z = C(":%S"), A = C("%I:%M"), U = C("%I %p"), I = C("%a %d"), N = C("%b %d"), W = C("%B"), q = C("%Y");
857
+ function j(p) {
858
+ return (Y(p) < p ? S : m(p) < p ? Z : c(p) < p ? A : a(p) < p ? U : r(p) < p ? i(p) < p ? I : N : n(p) < p ? W : q)(p);
859
+ }
860
+ return k.invert = function(p) {
861
+ return new Date(L(p));
862
+ }, k.domain = function(p) {
863
+ return arguments.length ? _(Array.from(p, Ui)) : _().map(Yi);
864
+ }, k.ticks = function(p) {
865
+ var g = _();
866
+ return t(g[0], g[g.length - 1], p ?? 10);
867
+ }, k.tickFormat = function(p, g) {
868
+ return g == null ? j : C(g);
869
+ }, k.nice = function(p) {
870
+ var g = _();
871
+ return (!p || typeof p.range != "function") && (p = e(g[0], g[g.length - 1], p ?? 10)), p ? _(kr(g, p)) : k;
872
+ }, k.copy = function() {
873
+ return Qn(k, Sn(t, e, n, r, i, a, c, m, Y, C));
874
+ }, k;
875
+ }
876
+ function Ei() {
877
+ return Kn.apply(Sn(Sr, _r, kt, Nt, Pt, bt, Ot, $t, vt, re).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
878
+ }
879
+ var Gt = { exports: {} }, Ii = Gt.exports, Je;
880
+ function Li() {
881
+ return Je || (Je = 1, (function(t, e) {
882
+ (function(n, r) {
883
+ t.exports = r();
884
+ })(Ii, (function() {
885
+ var n = "day";
886
+ return function(r, i, a) {
887
+ var c = function(C) {
888
+ return C.add(4 - C.isoWeekday(), n);
889
+ }, m = i.prototype;
890
+ m.isoWeekYear = function() {
891
+ return c(this).year();
892
+ }, m.isoWeek = function(C) {
893
+ if (!this.$utils().u(C)) return this.add(7 * (C - this.isoWeek()), n);
894
+ var k, L, _, S, Z = c(this), A = (k = this.isoWeekYear(), L = this.$u, _ = (L ? a.utc : a)().year(k).startOf("year"), S = 4 - _.isoWeekday(), _.isoWeekday() > 4 && (S += 7), _.add(S, n));
895
+ return Z.diff(A, "week") + 1;
896
+ }, m.isoWeekday = function(C) {
897
+ return this.$utils().u(C) ? this.day() || 7 : this.day(this.day() % 7 ? C : C - 7);
898
+ };
899
+ var Y = m.startOf;
900
+ m.startOf = function(C, k) {
901
+ var L = this.$utils(), _ = !!L.u(k) || k;
902
+ return L.p(C) === "isoweek" ? _ ? this.date(this.date() - (this.isoWeekday() - 1)).startOf("day") : this.date(this.date() - 1 - (this.isoWeekday() - 1) + 7).endOf("day") : Y.bind(this)(C, k);
903
+ };
904
+ };
905
+ }));
906
+ })(Gt)), Gt.exports;
907
+ }
908
+ var Ai = Li();
909
+ const Wi = /* @__PURE__ */ ae(Ai);
910
+ var jt = { exports: {} }, $i = jt.exports, Ke;
911
+ function Oi() {
912
+ return Ke || (Ke = 1, (function(t, e) {
913
+ (function(n, r) {
914
+ t.exports = r();
915
+ })($i, (function() {
916
+ 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/, a = /\d\d/, c = /\d\d?/, m = /\d*[^-_:/,()\s\d]+/, Y = {}, C = function(U) {
917
+ return (U = +U) + (U > 68 ? 1900 : 2e3);
918
+ }, k = function(U) {
919
+ return function(I) {
920
+ this[U] = +I;
921
+ };
922
+ }, L = [/[+-]\d\d:?(\d\d)?|Z/, function(U) {
923
+ (this.zone || (this.zone = {})).offset = (function(I) {
924
+ if (!I || I === "Z") return 0;
925
+ var N = I.match(/([+-]|\d\d)/g), W = 60 * N[1] + (+N[2] || 0);
926
+ return W === 0 ? 0 : N[0] === "+" ? -W : W;
927
+ })(U);
928
+ }], _ = function(U) {
929
+ var I = Y[U];
930
+ return I && (I.indexOf ? I : I.s.concat(I.f));
931
+ }, S = function(U, I) {
932
+ var N, W = Y.meridiem;
933
+ if (W) {
934
+ for (var q = 1; q <= 24; q += 1) if (U.indexOf(W(q, 0, I)) > -1) {
935
+ N = q > 12;
936
+ break;
937
+ }
938
+ } else N = U === (I ? "pm" : "PM");
939
+ return N;
940
+ }, Z = { A: [m, function(U) {
941
+ this.afternoon = S(U, !1);
942
+ }], a: [m, function(U) {
943
+ this.afternoon = S(U, !0);
944
+ }], Q: [i, function(U) {
945
+ this.month = 3 * (U - 1) + 1;
946
+ }], S: [i, function(U) {
947
+ this.milliseconds = 100 * +U;
948
+ }], SS: [a, function(U) {
949
+ this.milliseconds = 10 * +U;
950
+ }], SSS: [/\d{3}/, function(U) {
951
+ this.milliseconds = +U;
952
+ }], s: [c, k("seconds")], ss: [c, k("seconds")], m: [c, k("minutes")], mm: [c, k("minutes")], H: [c, k("hours")], h: [c, k("hours")], HH: [c, k("hours")], hh: [c, k("hours")], D: [c, k("day")], DD: [a, k("day")], Do: [m, function(U) {
953
+ var I = Y.ordinal, N = U.match(/\d+/);
954
+ if (this.day = N[0], I) for (var W = 1; W <= 31; W += 1) I(W).replace(/\[|\]/g, "") === U && (this.day = W);
955
+ }], w: [c, k("week")], ww: [a, k("week")], M: [c, k("month")], MM: [a, k("month")], MMM: [m, function(U) {
956
+ var I = _("months"), N = (_("monthsShort") || I.map((function(W) {
957
+ return W.slice(0, 3);
958
+ }))).indexOf(U) + 1;
959
+ if (N < 1) throw new Error();
960
+ this.month = N % 12 || N;
961
+ }], MMMM: [m, function(U) {
962
+ var I = _("months").indexOf(U) + 1;
963
+ if (I < 1) throw new Error();
964
+ this.month = I % 12 || I;
965
+ }], Y: [/[+-]?\d+/, k("year")], YY: [a, function(U) {
966
+ this.year = C(U);
967
+ }], YYYY: [/\d{4}/, k("year")], Z: L, ZZ: L };
968
+ function A(U) {
969
+ var I, N;
970
+ I = U, N = Y && Y.formats;
971
+ for (var W = (U = I.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, (function(D, w, T) {
972
+ var v = T && T.toUpperCase();
973
+ return w || N[T] || n[T] || N[v].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(u, f, b) {
974
+ return f || b.slice(1);
975
+ }));
976
+ }))).match(r), q = W.length, j = 0; j < q; j += 1) {
977
+ var p = W[j], g = Z[p], y = g && g[0], h = g && g[1];
978
+ W[j] = h ? { regex: y, parser: h } : p.replace(/^\[|\]$/g, "");
979
+ }
980
+ return function(D) {
981
+ for (var w = {}, T = 0, v = 0; T < q; T += 1) {
982
+ var u = W[T];
983
+ if (typeof u == "string") v += u.length;
984
+ else {
985
+ var f = u.regex, b = u.parser, x = D.slice(v), F = f.exec(x)[0];
986
+ b.call(w, F), D = D.replace(F, "");
987
+ }
988
+ }
989
+ return (function(o) {
990
+ var X = o.afternoon;
991
+ if (X !== void 0) {
992
+ var s = o.hours;
993
+ X ? s < 12 && (o.hours += 12) : s === 12 && (o.hours = 0), delete o.afternoon;
994
+ }
995
+ })(w), w;
996
+ };
997
+ }
998
+ return function(U, I, N) {
999
+ N.p.customParseFormat = !0, U && U.parseTwoDigitYear && (C = U.parseTwoDigitYear);
1000
+ var W = I.prototype, q = W.parse;
1001
+ W.parse = function(j) {
1002
+ var p = j.date, g = j.utc, y = j.args;
1003
+ this.$u = g;
1004
+ var h = y[1];
1005
+ if (typeof h == "string") {
1006
+ var D = y[2] === !0, w = y[3] === !0, T = D || w, v = y[2];
1007
+ w && (v = y[2]), Y = this.$locale(), !D && v && (Y = N.Ls[v]), this.$d = (function(x, F, o, X) {
1008
+ try {
1009
+ if (["x", "X"].indexOf(F) > -1) return new Date((F === "X" ? 1e3 : 1) * x);
1010
+ var s = A(F)(x), E = s.year, R = s.month, z = s.day, P = s.hours, K = s.minutes, O = s.seconds, st = s.milliseconds, M = s.zone, H = s.week, V = /* @__PURE__ */ new Date(), l = z || (E || R ? 1 : V.getDate()), J = E || V.getFullYear(), $ = 0;
1011
+ E && !R || ($ = R > 0 ? R - 1 : V.getMonth());
1012
+ var Q, G = P || 0, it = K || 0, at = O || 0, pt = st || 0;
1013
+ return M ? new Date(Date.UTC(J, $, l, G, it, at, pt + 60 * M.offset * 1e3)) : o ? new Date(Date.UTC(J, $, l, G, it, at, pt)) : (Q = new Date(J, $, l, G, it, at, pt), H && (Q = X(Q).week(H).toDate()), Q);
1014
+ } catch {
1015
+ return /* @__PURE__ */ new Date("");
1016
+ }
1017
+ })(p, h, g, N), this.init(), v && v !== !0 && (this.$L = this.locale(v).$L), T && p != this.format(h) && (this.$d = /* @__PURE__ */ new Date("")), Y = {};
1018
+ } else if (h instanceof Array) for (var u = h.length, f = 1; f <= u; f += 1) {
1019
+ y[1] = h[f - 1];
1020
+ var b = N.apply(this, y);
1021
+ if (b.isValid()) {
1022
+ this.$d = b.$d, this.$L = b.$L, this.init();
1023
+ break;
1024
+ }
1025
+ f === u && (this.$d = /* @__PURE__ */ new Date(""));
1026
+ }
1027
+ else q.call(this, j);
1028
+ };
1029
+ };
1030
+ }));
1031
+ })(jt)), jt.exports;
1032
+ }
1033
+ var Hi = Oi();
1034
+ const Ni = /* @__PURE__ */ ae(Hi);
1035
+ var Qt = { exports: {} }, Pi = Qt.exports, tn;
1036
+ function Vi() {
1037
+ return tn || (tn = 1, (function(t, e) {
1038
+ (function(n, r) {
1039
+ t.exports = r();
1040
+ })(Pi, (function() {
1041
+ return function(n, r) {
1042
+ var i = r.prototype, a = i.format;
1043
+ i.format = function(c) {
1044
+ var m = this, Y = this.$locale();
1045
+ if (!this.isValid()) return a.bind(this)(c);
1046
+ var C = this.$utils(), k = (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(L) {
1047
+ switch (L) {
1048
+ case "Q":
1049
+ return Math.ceil((m.$M + 1) / 3);
1050
+ case "Do":
1051
+ return Y.ordinal(m.$D);
1052
+ case "gggg":
1053
+ return m.weekYear();
1054
+ case "GGGG":
1055
+ return m.isoWeekYear();
1056
+ case "wo":
1057
+ return Y.ordinal(m.week(), "W");
1058
+ case "w":
1059
+ case "ww":
1060
+ return C.s(m.week(), L === "w" ? 1 : 2, "0");
1061
+ case "W":
1062
+ case "WW":
1063
+ return C.s(m.isoWeek(), L === "W" ? 1 : 2, "0");
1064
+ case "k":
1065
+ case "kk":
1066
+ return C.s(String(m.$H === 0 ? 24 : m.$H), L === "k" ? 1 : 2, "0");
1067
+ case "X":
1068
+ return Math.floor(m.$d.getTime() / 1e3);
1069
+ case "x":
1070
+ return m.$d.getTime();
1071
+ case "z":
1072
+ return "[" + m.offsetName() + "]";
1073
+ case "zzz":
1074
+ return "[" + m.offsetName("long") + "]";
1075
+ default:
1076
+ return L;
1077
+ }
1078
+ }));
1079
+ return a.bind(this)(k);
1080
+ };
1081
+ };
1082
+ }));
1083
+ })(Qt)), Qt.exports;
1084
+ }
1085
+ var zi = Vi();
1086
+ const Ri = /* @__PURE__ */ ae(zi);
1087
+ var Jt = { exports: {} }, qi = Jt.exports, en;
1088
+ function Zi() {
1089
+ return en || (en = 1, (function(t, e) {
1090
+ (function(n, r) {
1091
+ t.exports = r();
1092
+ })(qi, (function() {
1093
+ var n, r, i = 1e3, a = 6e4, c = 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, C = 31536e6, k = 2628e6, L = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/, _ = { years: C, months: k, days: m, hours: c, minutes: a, seconds: i, milliseconds: 1, weeks: 6048e5 }, S = function(p) {
1094
+ return p instanceof q;
1095
+ }, Z = function(p, g, y) {
1096
+ return new q(p, y, g.$l);
1097
+ }, A = function(p) {
1098
+ return r.p(p) + "s";
1099
+ }, U = function(p) {
1100
+ return p < 0;
1101
+ }, I = function(p) {
1102
+ return U(p) ? Math.ceil(p) : Math.floor(p);
1103
+ }, N = function(p) {
1104
+ return Math.abs(p);
1105
+ }, W = function(p, g) {
1106
+ return p ? U(p) ? { negative: !0, format: "" + N(p) + g } : { negative: !1, format: "" + p + g } : { negative: !1, format: "" };
1107
+ }, q = (function() {
1108
+ function p(y, h, D) {
1109
+ var w = this;
1110
+ if (this.$d = {}, this.$l = D, y === void 0 && (this.$ms = 0, this.parseFromMilliseconds()), h) return Z(y * _[A(h)], this);
1111
+ if (typeof y == "number") return this.$ms = y, this.parseFromMilliseconds(), this;
1112
+ if (typeof y == "object") return Object.keys(y).forEach((function(u) {
1113
+ w.$d[A(u)] = y[u];
1114
+ })), this.calMilliseconds(), this;
1115
+ if (typeof y == "string") {
1116
+ var T = y.match(L);
1117
+ if (T) {
1118
+ var v = T.slice(2).map((function(u) {
1119
+ return u != null ? Number(u) : 0;
1120
+ }));
1121
+ 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;
1122
+ }
1123
+ }
1124
+ return this;
1125
+ }
1126
+ var g = p.prototype;
1127
+ return g.calMilliseconds = function() {
1128
+ var y = this;
1129
+ this.$ms = Object.keys(this.$d).reduce((function(h, D) {
1130
+ return h + (y.$d[D] || 0) * _[D];
1131
+ }), 0);
1132
+ }, g.parseFromMilliseconds = function() {
1133
+ var y = this.$ms;
1134
+ this.$d.years = I(y / C), y %= C, this.$d.months = I(y / k), y %= k, this.$d.days = I(y / m), y %= m, this.$d.hours = I(y / c), y %= c, this.$d.minutes = I(y / a), y %= a, this.$d.seconds = I(y / i), y %= i, this.$d.milliseconds = y;
1135
+ }, g.toISOString = function() {
1136
+ var y = W(this.$d.years, "Y"), h = W(this.$d.months, "M"), D = +this.$d.days || 0;
1137
+ this.$d.weeks && (D += 7 * this.$d.weeks);
1138
+ var w = W(D, "D"), T = W(this.$d.hours, "H"), v = W(this.$d.minutes, "M"), u = this.$d.seconds || 0;
1139
+ this.$d.milliseconds && (u += this.$d.milliseconds / 1e3, u = Math.round(1e3 * u) / 1e3);
1140
+ var f = W(u, "S"), b = y.negative || h.negative || w.negative || T.negative || v.negative || f.negative, x = T.format || v.format || f.format ? "T" : "", F = (b ? "-" : "") + "P" + y.format + h.format + w.format + x + T.format + v.format + f.format;
1141
+ return F === "P" || F === "-P" ? "P0D" : F;
1142
+ }, g.toJSON = function() {
1143
+ return this.toISOString();
1144
+ }, g.format = function(y) {
1145
+ var h = y || "YYYY-MM-DDTHH:mm:ss", D = { 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") };
1146
+ return h.replace(Y, (function(w, T) {
1147
+ return T || String(D[w]);
1148
+ }));
1149
+ }, g.as = function(y) {
1150
+ return this.$ms / _[A(y)];
1151
+ }, g.get = function(y) {
1152
+ var h = this.$ms, D = A(y);
1153
+ return D === "milliseconds" ? h %= 1e3 : h = D === "weeks" ? I(h / _[D]) : this.$d[D], h || 0;
1154
+ }, g.add = function(y, h, D) {
1155
+ var w;
1156
+ return w = h ? y * _[A(h)] : S(y) ? y.$ms : Z(y, this).$ms, Z(this.$ms + w * (D ? -1 : 1), this);
1157
+ }, g.subtract = function(y, h) {
1158
+ return this.add(y, h, !0);
1159
+ }, g.locale = function(y) {
1160
+ var h = this.clone();
1161
+ return h.$l = y, h;
1162
+ }, g.clone = function() {
1163
+ return Z(this.$ms, this);
1164
+ }, g.humanize = function(y) {
1165
+ return n().add(this.$ms, "ms").locale(this.$l).fromNow(!y);
1166
+ }, g.valueOf = function() {
1167
+ return this.asMilliseconds();
1168
+ }, g.milliseconds = function() {
1169
+ return this.get("milliseconds");
1170
+ }, g.asMilliseconds = function() {
1171
+ return this.as("milliseconds");
1172
+ }, g.seconds = function() {
1173
+ return this.get("seconds");
1174
+ }, g.asSeconds = function() {
1175
+ return this.as("seconds");
1176
+ }, g.minutes = function() {
1177
+ return this.get("minutes");
1178
+ }, g.asMinutes = function() {
1179
+ return this.as("minutes");
1180
+ }, g.hours = function() {
1181
+ return this.get("hours");
1182
+ }, g.asHours = function() {
1183
+ return this.as("hours");
1184
+ }, g.days = function() {
1185
+ return this.get("days");
1186
+ }, g.asDays = function() {
1187
+ return this.as("days");
1188
+ }, g.weeks = function() {
1189
+ return this.get("weeks");
1190
+ }, g.asWeeks = function() {
1191
+ return this.as("weeks");
1192
+ }, g.months = function() {
1193
+ return this.get("months");
1194
+ }, g.asMonths = function() {
1195
+ return this.as("months");
1196
+ }, g.years = function() {
1197
+ return this.get("years");
1198
+ }, g.asYears = function() {
1199
+ return this.as("years");
1200
+ }, p;
1201
+ })(), j = function(p, g, y) {
1202
+ 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");
1203
+ };
1204
+ return function(p, g, y) {
1205
+ n = y, r = y().$utils(), y.duration = function(w, T) {
1206
+ var v = y.locale();
1207
+ return Z(w, { $l: v }, T);
1208
+ }, y.isDuration = S;
1209
+ var h = g.prototype.add, D = g.prototype.subtract;
1210
+ g.prototype.add = function(w, T) {
1211
+ return S(w) ? j(this, w, 1) : h.bind(this)(w, T);
1212
+ }, g.prototype.subtract = function(w, T) {
1213
+ return S(w) ? j(this, w, -1) : D.bind(this)(w, T);
1214
+ };
1215
+ };
1216
+ }));
1217
+ })(Jt)), Jt.exports;
1218
+ }
1219
+ var Bi = Zi();
1220
+ const Xi = /* @__PURE__ */ ae(Bi);
1221
+ var xe = (function() {
1222
+ var t = /* @__PURE__ */ d(function(v, u, f, b) {
1223
+ for (f = f || {}, b = v.length; b--; f[v[b]] = u) ;
1224
+ return f;
1225
+ }, "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], a = [1, 29], c = [1, 30], m = [1, 31], Y = [1, 32], C = [1, 33], k = [1, 34], L = [1, 9], _ = [1, 10], S = [1, 11], Z = [1, 12], A = [1, 13], U = [1, 14], I = [1, 15], N = [1, 16], W = [1, 19], q = [1, 20], j = [1, 21], p = [1, 22], g = [1, 23], y = [1, 25], h = [1, 35], D = {
1226
+ trace: /* @__PURE__ */ d(function() {
1227
+ }, "trace"),
1228
+ yy: {},
1229
+ 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 },
1230
+ 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" },
1231
+ 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]],
1232
+ performAction: /* @__PURE__ */ d(function(u, f, b, x, F, o, X) {
1233
+ var s = o.length - 1;
1234
+ switch (F) {
1235
+ case 1:
1236
+ return o[s - 1];
1237
+ case 2:
1238
+ this.$ = [];
1239
+ break;
1240
+ case 3:
1241
+ o[s - 1].push(o[s]), this.$ = o[s - 1];
1242
+ break;
1243
+ case 4:
1244
+ case 5:
1245
+ this.$ = o[s];
1246
+ break;
1247
+ case 6:
1248
+ case 7:
1249
+ this.$ = [];
1250
+ break;
1251
+ case 8:
1252
+ x.setWeekday("monday");
1253
+ break;
1254
+ case 9:
1255
+ x.setWeekday("tuesday");
1256
+ break;
1257
+ case 10:
1258
+ x.setWeekday("wednesday");
1259
+ break;
1260
+ case 11:
1261
+ x.setWeekday("thursday");
1262
+ break;
1263
+ case 12:
1264
+ x.setWeekday("friday");
1265
+ break;
1266
+ case 13:
1267
+ x.setWeekday("saturday");
1268
+ break;
1269
+ case 14:
1270
+ x.setWeekday("sunday");
1271
+ break;
1272
+ case 15:
1273
+ x.setWeekend("friday");
1274
+ break;
1275
+ case 16:
1276
+ x.setWeekend("saturday");
1277
+ break;
1278
+ case 17:
1279
+ x.setDateFormat(o[s].substr(11)), this.$ = o[s].substr(11);
1280
+ break;
1281
+ case 18:
1282
+ x.enableInclusiveEndDates(), this.$ = o[s].substr(18);
1283
+ break;
1284
+ case 19:
1285
+ x.TopAxis(), this.$ = o[s].substr(8);
1286
+ break;
1287
+ case 20:
1288
+ x.setAxisFormat(o[s].substr(11)), this.$ = o[s].substr(11);
1289
+ break;
1290
+ case 21:
1291
+ x.setTickInterval(o[s].substr(13)), this.$ = o[s].substr(13);
1292
+ break;
1293
+ case 22:
1294
+ x.setExcludes(o[s].substr(9)), this.$ = o[s].substr(9);
1295
+ break;
1296
+ case 23:
1297
+ x.setIncludes(o[s].substr(9)), this.$ = o[s].substr(9);
1298
+ break;
1299
+ case 24:
1300
+ x.setTodayMarker(o[s].substr(12)), this.$ = o[s].substr(12);
1301
+ break;
1302
+ case 27:
1303
+ x.setDiagramTitle(o[s].substr(6)), this.$ = o[s].substr(6);
1304
+ break;
1305
+ case 28:
1306
+ this.$ = o[s].trim(), x.setAccTitle(this.$);
1307
+ break;
1308
+ case 29:
1309
+ case 30:
1310
+ this.$ = o[s].trim(), x.setAccDescription(this.$);
1311
+ break;
1312
+ case 31:
1313
+ x.addSection(o[s].substr(8)), this.$ = o[s].substr(8);
1314
+ break;
1315
+ case 33:
1316
+ x.addTask(o[s - 1], o[s]), this.$ = "task";
1317
+ break;
1318
+ case 34:
1319
+ this.$ = o[s - 1], x.setClickEvent(o[s - 1], o[s], null);
1320
+ break;
1321
+ case 35:
1322
+ this.$ = o[s - 2], x.setClickEvent(o[s - 2], o[s - 1], o[s]);
1323
+ break;
1324
+ case 36:
1325
+ this.$ = o[s - 2], x.setClickEvent(o[s - 2], o[s - 1], null), x.setLink(o[s - 2], o[s]);
1326
+ break;
1327
+ case 37:
1328
+ this.$ = o[s - 3], x.setClickEvent(o[s - 3], o[s - 2], o[s - 1]), x.setLink(o[s - 3], o[s]);
1329
+ break;
1330
+ case 38:
1331
+ this.$ = o[s - 2], x.setClickEvent(o[s - 2], o[s], null), x.setLink(o[s - 2], o[s - 1]);
1332
+ break;
1333
+ case 39:
1334
+ this.$ = o[s - 3], x.setClickEvent(o[s - 3], o[s - 1], o[s]), x.setLink(o[s - 3], o[s - 2]);
1335
+ break;
1336
+ case 40:
1337
+ this.$ = o[s - 1], x.setLink(o[s - 1], o[s]);
1338
+ break;
1339
+ case 41:
1340
+ case 47:
1341
+ this.$ = o[s - 1] + " " + o[s];
1342
+ break;
1343
+ case 42:
1344
+ case 43:
1345
+ case 45:
1346
+ this.$ = o[s - 2] + " " + o[s - 1] + " " + o[s];
1347
+ break;
1348
+ case 44:
1349
+ case 46:
1350
+ this.$ = o[s - 3] + " " + o[s - 2] + " " + o[s - 1] + " " + o[s];
1351
+ break;
1352
+ }
1353
+ }, "anonymous"),
1354
+ 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: a, 16: c, 17: m, 18: Y, 19: 18, 20: C, 21: k, 22: L, 23: _, 24: S, 25: Z, 26: A, 27: U, 28: I, 29: N, 30: W, 31: q, 33: j, 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: a, 16: c, 17: m, 18: Y, 19: 18, 20: C, 21: k, 22: L, 23: _, 24: S, 25: Z, 26: A, 27: U, 28: I, 29: N, 30: W, 31: q, 33: j, 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])],
1355
+ defaultActions: {},
1356
+ parseError: /* @__PURE__ */ d(function(u, f) {
1357
+ if (f.recoverable)
1358
+ this.trace(u);
1359
+ else {
1360
+ var b = new Error(u);
1361
+ throw b.hash = f, b;
1362
+ }
1363
+ }, "parseError"),
1364
+ parse: /* @__PURE__ */ d(function(u) {
1365
+ var f = this, b = [0], x = [], F = [null], o = [], X = this.table, s = "", E = 0, R = 0, z = 2, P = 1, K = o.slice.call(arguments, 1), O = Object.create(this.lexer), st = { yy: {} };
1366
+ for (var M in this.yy)
1367
+ Object.prototype.hasOwnProperty.call(this.yy, M) && (st.yy[M] = this.yy[M]);
1368
+ O.setInput(u, st.yy), st.yy.lexer = O, st.yy.parser = this, typeof O.yylloc > "u" && (O.yylloc = {});
1369
+ var H = O.yylloc;
1370
+ o.push(H);
1371
+ var V = O.options && O.options.ranges;
1372
+ typeof st.yy.parseError == "function" ? this.parseError = st.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
1373
+ function l(ot) {
1374
+ b.length = b.length - 2 * ot, F.length = F.length - ot, o.length = o.length - ot;
1375
+ }
1376
+ d(l, "popStack");
1377
+ function J() {
1378
+ var ot;
1379
+ return ot = x.pop() || O.lex() || P, typeof ot != "number" && (ot instanceof Array && (x = ot, ot = x.pop()), ot = f.symbols_[ot] || ot), ot;
1380
+ }
1381
+ d(J, "lex");
1382
+ for (var $, Q, G, it, at = {}, pt, ut, Oe, qt; ; ) {
1383
+ if (Q = b[b.length - 1], this.defaultActions[Q] ? G = this.defaultActions[Q] : (($ === null || typeof $ > "u") && ($ = J()), G = X[Q] && X[Q][$]), typeof G > "u" || !G.length || !G[0]) {
1384
+ var oe = "";
1385
+ qt = [];
1386
+ for (pt in X[Q])
1387
+ this.terminals_[pt] && pt > z && qt.push("'" + this.terminals_[pt] + "'");
1388
+ O.showPosition ? oe = "Parse error on line " + (E + 1) + `:
1389
+ ` + O.showPosition() + `
1390
+ Expecting ` + qt.join(", ") + ", got '" + (this.terminals_[$] || $) + "'" : oe = "Parse error on line " + (E + 1) + ": Unexpected " + ($ == P ? "end of input" : "'" + (this.terminals_[$] || $) + "'"), this.parseError(oe, {
1391
+ text: O.match,
1392
+ token: this.terminals_[$] || $,
1393
+ line: O.yylineno,
1394
+ loc: H,
1395
+ expected: qt
1396
+ });
1397
+ }
1398
+ if (G[0] instanceof Array && G.length > 1)
1399
+ throw new Error("Parse Error: multiple actions possible at state: " + Q + ", token: " + $);
1400
+ switch (G[0]) {
1401
+ case 1:
1402
+ b.push($), F.push(O.yytext), o.push(O.yylloc), b.push(G[1]), $ = null, R = O.yyleng, s = O.yytext, E = O.yylineno, H = O.yylloc;
1403
+ break;
1404
+ case 2:
1405
+ if (ut = this.productions_[G[1]][1], at.$ = F[F.length - ut], at._$ = {
1406
+ first_line: o[o.length - (ut || 1)].first_line,
1407
+ last_line: o[o.length - 1].last_line,
1408
+ first_column: o[o.length - (ut || 1)].first_column,
1409
+ last_column: o[o.length - 1].last_column
1410
+ }, V && (at._$.range = [
1411
+ o[o.length - (ut || 1)].range[0],
1412
+ o[o.length - 1].range[1]
1413
+ ]), it = this.performAction.apply(at, [
1414
+ s,
1415
+ R,
1416
+ E,
1417
+ st.yy,
1418
+ G[1],
1419
+ F,
1420
+ o
1421
+ ].concat(K)), typeof it < "u")
1422
+ return it;
1423
+ ut && (b = b.slice(0, -1 * ut * 2), F = F.slice(0, -1 * ut), o = o.slice(0, -1 * ut)), b.push(this.productions_[G[1]][0]), F.push(at.$), o.push(at._$), Oe = X[b[b.length - 2]][b[b.length - 1]], b.push(Oe);
1424
+ break;
1425
+ case 3:
1426
+ return !0;
1427
+ }
1428
+ }
1429
+ return !0;
1430
+ }, "parse")
1431
+ }, w = /* @__PURE__ */ (function() {
1432
+ var v = {
1433
+ EOF: 1,
1434
+ parseError: /* @__PURE__ */ d(function(f, b) {
1435
+ if (this.yy.parser)
1436
+ this.yy.parser.parseError(f, b);
1437
+ else
1438
+ throw new Error(f);
1439
+ }, "parseError"),
1440
+ // resets the lexer, sets new input
1441
+ setInput: /* @__PURE__ */ d(function(u, f) {
1442
+ return this.yy = f || this.yy || {}, this._input = u, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
1443
+ first_line: 1,
1444
+ first_column: 0,
1445
+ last_line: 1,
1446
+ last_column: 0
1447
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
1448
+ }, "setInput"),
1449
+ // consumes and returns one char from the input
1450
+ input: /* @__PURE__ */ d(function() {
1451
+ var u = this._input[0];
1452
+ this.yytext += u, this.yyleng++, this.offset++, this.match += u, this.matched += u;
1453
+ var f = u.match(/(?:\r\n?|\n).*/g);
1454
+ return f ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), u;
1455
+ }, "input"),
1456
+ // unshifts one char (or a string) into the input
1457
+ unput: /* @__PURE__ */ d(function(u) {
1458
+ var f = u.length, b = u.split(/(?:\r\n?|\n)/g);
1459
+ this._input = u + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - f), this.offset -= f;
1460
+ var x = this.match.split(/(?:\r\n?|\n)/g);
1461
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), b.length - 1 && (this.yylineno -= b.length - 1);
1462
+ var F = this.yylloc.range;
1463
+ return this.yylloc = {
1464
+ first_line: this.yylloc.first_line,
1465
+ last_line: this.yylineno + 1,
1466
+ first_column: this.yylloc.first_column,
1467
+ last_column: b ? (b.length === x.length ? this.yylloc.first_column : 0) + x[x.length - b.length].length - b[0].length : this.yylloc.first_column - f
1468
+ }, this.options.ranges && (this.yylloc.range = [F[0], F[0] + this.yyleng - f]), this.yyleng = this.yytext.length, this;
1469
+ }, "unput"),
1470
+ // When called from action, caches matched text and appends it on next action
1471
+ more: /* @__PURE__ */ d(function() {
1472
+ return this._more = !0, this;
1473
+ }, "more"),
1474
+ // When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
1475
+ reject: /* @__PURE__ */ d(function() {
1476
+ if (this.options.backtrack_lexer)
1477
+ this._backtrack = !0;
1478
+ else
1479
+ 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).
1480
+ ` + this.showPosition(), {
1481
+ text: "",
1482
+ token: null,
1483
+ line: this.yylineno
1484
+ });
1485
+ return this;
1486
+ }, "reject"),
1487
+ // retain first n characters of the match
1488
+ less: /* @__PURE__ */ d(function(u) {
1489
+ this.unput(this.match.slice(u));
1490
+ }, "less"),
1491
+ // displays already matched input, i.e. for error messages
1492
+ pastInput: /* @__PURE__ */ d(function() {
1493
+ var u = this.matched.substr(0, this.matched.length - this.match.length);
1494
+ return (u.length > 20 ? "..." : "") + u.substr(-20).replace(/\n/g, "");
1495
+ }, "pastInput"),
1496
+ // displays upcoming input, i.e. for error messages
1497
+ upcomingInput: /* @__PURE__ */ d(function() {
1498
+ var u = this.match;
1499
+ return u.length < 20 && (u += this._input.substr(0, 20 - u.length)), (u.substr(0, 20) + (u.length > 20 ? "..." : "")).replace(/\n/g, "");
1500
+ }, "upcomingInput"),
1501
+ // displays the character position where the lexing error occurred, i.e. for error messages
1502
+ showPosition: /* @__PURE__ */ d(function() {
1503
+ var u = this.pastInput(), f = new Array(u.length + 1).join("-");
1504
+ return u + this.upcomingInput() + `
1505
+ ` + f + "^";
1506
+ }, "showPosition"),
1507
+ // test the lexed token: return FALSE when not a match, otherwise return token
1508
+ test_match: /* @__PURE__ */ d(function(u, f) {
1509
+ var b, x, F;
1510
+ if (this.options.backtrack_lexer && (F = {
1511
+ yylineno: this.yylineno,
1512
+ yylloc: {
1513
+ first_line: this.yylloc.first_line,
1514
+ last_line: this.last_line,
1515
+ first_column: this.yylloc.first_column,
1516
+ last_column: this.yylloc.last_column
1517
+ },
1518
+ yytext: this.yytext,
1519
+ match: this.match,
1520
+ matches: this.matches,
1521
+ matched: this.matched,
1522
+ yyleng: this.yyleng,
1523
+ offset: this.offset,
1524
+ _more: this._more,
1525
+ _input: this._input,
1526
+ yy: this.yy,
1527
+ conditionStack: this.conditionStack.slice(0),
1528
+ done: this.done
1529
+ }, this.options.ranges && (F.yylloc.range = this.yylloc.range.slice(0))), x = u[0].match(/(?:\r\n?|\n).*/g), x && (this.yylineno += x.length), this.yylloc = {
1530
+ first_line: this.yylloc.last_line,
1531
+ last_line: this.yylineno + 1,
1532
+ first_column: this.yylloc.last_column,
1533
+ last_column: x ? x[x.length - 1].length - x[x.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + u[0].length
1534
+ }, this.yytext += u[0], this.match += u[0], this.matches = u, 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(u[0].length), this.matched += u[0], b = this.performAction.call(this, this.yy, this, f, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), b)
1535
+ return b;
1536
+ if (this._backtrack) {
1537
+ for (var o in F)
1538
+ this[o] = F[o];
1539
+ return !1;
1540
+ }
1541
+ return !1;
1542
+ }, "test_match"),
1543
+ // return next match in input
1544
+ next: /* @__PURE__ */ d(function() {
1545
+ if (this.done)
1546
+ return this.EOF;
1547
+ this._input || (this.done = !0);
1548
+ var u, f, b, x;
1549
+ this._more || (this.yytext = "", this.match = "");
1550
+ for (var F = this._currentRules(), o = 0; o < F.length; o++)
1551
+ if (b = this._input.match(this.rules[F[o]]), b && (!f || b[0].length > f[0].length)) {
1552
+ if (f = b, x = o, this.options.backtrack_lexer) {
1553
+ if (u = this.test_match(b, F[o]), u !== !1)
1554
+ return u;
1555
+ if (this._backtrack) {
1556
+ f = !1;
1557
+ continue;
1558
+ } else
1559
+ return !1;
1560
+ } else if (!this.options.flex)
1561
+ break;
1562
+ }
1563
+ return f ? (u = this.test_match(f, F[x]), u !== !1 ? u : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
1564
+ ` + this.showPosition(), {
1565
+ text: "",
1566
+ token: null,
1567
+ line: this.yylineno
1568
+ });
1569
+ }, "next"),
1570
+ // return next match that has a token
1571
+ lex: /* @__PURE__ */ d(function() {
1572
+ var f = this.next();
1573
+ return f || this.lex();
1574
+ }, "lex"),
1575
+ // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
1576
+ begin: /* @__PURE__ */ d(function(f) {
1577
+ this.conditionStack.push(f);
1578
+ }, "begin"),
1579
+ // pop the previously active lexer condition state off the condition stack
1580
+ popState: /* @__PURE__ */ d(function() {
1581
+ var f = this.conditionStack.length - 1;
1582
+ return f > 0 ? this.conditionStack.pop() : this.conditionStack[0];
1583
+ }, "popState"),
1584
+ // produce the lexer rule set which is active for the currently active lexer condition state
1585
+ _currentRules: /* @__PURE__ */ d(function() {
1586
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
1587
+ }, "_currentRules"),
1588
+ // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
1589
+ topState: /* @__PURE__ */ d(function(f) {
1590
+ return f = this.conditionStack.length - 1 - Math.abs(f || 0), f >= 0 ? this.conditionStack[f] : "INITIAL";
1591
+ }, "topState"),
1592
+ // alias for begin(condition)
1593
+ pushState: /* @__PURE__ */ d(function(f) {
1594
+ this.begin(f);
1595
+ }, "pushState"),
1596
+ // return the number of states currently on the stack
1597
+ stateStackSize: /* @__PURE__ */ d(function() {
1598
+ return this.conditionStack.length;
1599
+ }, "stateStackSize"),
1600
+ options: { "case-insensitive": !0 },
1601
+ performAction: /* @__PURE__ */ d(function(f, b, x, F) {
1602
+ switch (x) {
1603
+ case 0:
1604
+ return this.begin("open_directive"), "open_directive";
1605
+ case 1:
1606
+ return this.begin("acc_title"), 31;
1607
+ case 2:
1608
+ return this.popState(), "acc_title_value";
1609
+ case 3:
1610
+ return this.begin("acc_descr"), 33;
1611
+ case 4:
1612
+ return this.popState(), "acc_descr_value";
1613
+ case 5:
1614
+ this.begin("acc_descr_multiline");
1615
+ break;
1616
+ case 6:
1617
+ this.popState();
1618
+ break;
1619
+ case 7:
1620
+ return "acc_descr_multiline_value";
1621
+ case 8:
1622
+ break;
1623
+ case 9:
1624
+ break;
1625
+ case 10:
1626
+ break;
1627
+ case 11:
1628
+ return 10;
1629
+ case 12:
1630
+ break;
1631
+ case 13:
1632
+ break;
1633
+ case 14:
1634
+ this.begin("href");
1635
+ break;
1636
+ case 15:
1637
+ this.popState();
1638
+ break;
1639
+ case 16:
1640
+ return 43;
1641
+ case 17:
1642
+ this.begin("callbackname");
1643
+ break;
1644
+ case 18:
1645
+ this.popState();
1646
+ break;
1647
+ case 19:
1648
+ this.popState(), this.begin("callbackargs");
1649
+ break;
1650
+ case 20:
1651
+ return 41;
1652
+ case 21:
1653
+ this.popState();
1654
+ break;
1655
+ case 22:
1656
+ return 42;
1657
+ case 23:
1658
+ this.begin("click");
1659
+ break;
1660
+ case 24:
1661
+ this.popState();
1662
+ break;
1663
+ case 25:
1664
+ return 40;
1665
+ case 26:
1666
+ return 4;
1667
+ case 27:
1668
+ return 22;
1669
+ case 28:
1670
+ return 23;
1671
+ case 29:
1672
+ return 24;
1673
+ case 30:
1674
+ return 25;
1675
+ case 31:
1676
+ return 26;
1677
+ case 32:
1678
+ return 28;
1679
+ case 33:
1680
+ return 27;
1681
+ case 34:
1682
+ return 29;
1683
+ case 35:
1684
+ return 12;
1685
+ case 36:
1686
+ return 13;
1687
+ case 37:
1688
+ return 14;
1689
+ case 38:
1690
+ return 15;
1691
+ case 39:
1692
+ return 16;
1693
+ case 40:
1694
+ return 17;
1695
+ case 41:
1696
+ return 18;
1697
+ case 42:
1698
+ return 20;
1699
+ case 43:
1700
+ return 21;
1701
+ case 44:
1702
+ return "date";
1703
+ case 45:
1704
+ return 30;
1705
+ case 46:
1706
+ return "accDescription";
1707
+ case 47:
1708
+ return 36;
1709
+ case 48:
1710
+ return 38;
1711
+ case 49:
1712
+ return 39;
1713
+ case 50:
1714
+ return ":";
1715
+ case 51:
1716
+ return 6;
1717
+ case 52:
1718
+ return "INVALID";
1719
+ }
1720
+ }, "anonymous"),
1721
+ 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],
1722
+ 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 } }
1723
+ };
1724
+ return v;
1725
+ })();
1726
+ D.lexer = w;
1727
+ function T() {
1728
+ this.yy = {};
1729
+ }
1730
+ return d(T, "Parser"), T.prototype = D, D.Parser = T, new T();
1731
+ })();
1732
+ xe.parser = xe;
1733
+ var Gi = xe;
1734
+ rt.extend(Wi);
1735
+ rt.extend(Ni);
1736
+ rt.extend(Ri);
1737
+ var nn = { friday: 5, saturday: 6 }, lt = "", _e = "", Fe = void 0, Ye = "", Vt = [], zt = [], Ue = /* @__PURE__ */ new Map(), Ee = [], ie = [], It = "", Ie = "", _n = ["active", "done", "crit", "milestone", "vert"], Le = [], Rt = !1, Ae = !1, We = "sunday", se = "saturday", we = 0, ji = /* @__PURE__ */ d(function() {
1738
+ Ee = [], ie = [], It = "", Le = [], Kt = 0, Me = void 0, te = void 0, tt = [], lt = "", _e = "", Ie = "", Fe = void 0, Ye = "", Vt = [], zt = [], Rt = !1, Ae = !1, we = 0, Ue = /* @__PURE__ */ new Map(), Bn(), We = "sunday", se = "saturday";
1739
+ }, "clear"), Qi = /* @__PURE__ */ d(function(t) {
1740
+ _e = t;
1741
+ }, "setAxisFormat"), Ji = /* @__PURE__ */ d(function() {
1742
+ return _e;
1743
+ }, "getAxisFormat"), Ki = /* @__PURE__ */ d(function(t) {
1744
+ Fe = t;
1745
+ }, "setTickInterval"), ts = /* @__PURE__ */ d(function() {
1746
+ return Fe;
1747
+ }, "getTickInterval"), es = /* @__PURE__ */ d(function(t) {
1748
+ Ye = t;
1749
+ }, "setTodayMarker"), ns = /* @__PURE__ */ d(function() {
1750
+ return Ye;
1751
+ }, "getTodayMarker"), rs = /* @__PURE__ */ d(function(t) {
1752
+ lt = t;
1753
+ }, "setDateFormat"), is = /* @__PURE__ */ d(function() {
1754
+ Rt = !0;
1755
+ }, "enableInclusiveEndDates"), ss = /* @__PURE__ */ d(function() {
1756
+ return Rt;
1757
+ }, "endDatesAreInclusive"), as = /* @__PURE__ */ d(function() {
1758
+ Ae = !0;
1759
+ }, "enableTopAxis"), os = /* @__PURE__ */ d(function() {
1760
+ return Ae;
1761
+ }, "topAxisEnabled"), cs = /* @__PURE__ */ d(function(t) {
1762
+ Ie = t;
1763
+ }, "setDisplayMode"), us = /* @__PURE__ */ d(function() {
1764
+ return Ie;
1765
+ }, "getDisplayMode"), ls = /* @__PURE__ */ d(function() {
1766
+ return lt;
1767
+ }, "getDateFormat"), fs = /* @__PURE__ */ d(function(t) {
1768
+ Vt = t.toLowerCase().split(/[\s,]+/);
1769
+ }, "setIncludes"), ds = /* @__PURE__ */ d(function() {
1770
+ return Vt;
1771
+ }, "getIncludes"), hs = /* @__PURE__ */ d(function(t) {
1772
+ zt = t.toLowerCase().split(/[\s,]+/);
1773
+ }, "setExcludes"), ms = /* @__PURE__ */ d(function() {
1774
+ return zt;
1775
+ }, "getExcludes"), gs = /* @__PURE__ */ d(function() {
1776
+ return Ue;
1777
+ }, "getLinks"), ys = /* @__PURE__ */ d(function(t) {
1778
+ It = t, Ee.push(t);
1779
+ }, "addSection"), ks = /* @__PURE__ */ d(function() {
1780
+ return Ee;
1781
+ }, "getSections"), ps = /* @__PURE__ */ d(function() {
1782
+ let t = rn();
1783
+ const e = 10;
1784
+ let n = 0;
1785
+ for (; !t && n < e; )
1786
+ t = rn(), n++;
1787
+ return ie = tt, ie;
1788
+ }, "getTasks"), Fn = /* @__PURE__ */ d(function(t, e, n, r) {
1789
+ const i = t.format(e.trim()), a = t.format("YYYY-MM-DD");
1790
+ return r.includes(i) || r.includes(a) ? !1 : n.includes("weekends") && (t.isoWeekday() === nn[se] || t.isoWeekday() === nn[se] + 1) || n.includes(t.format("dddd").toLowerCase()) ? !0 : n.includes(i) || n.includes(a);
1791
+ }, "isInvalidDate"), vs = /* @__PURE__ */ d(function(t) {
1792
+ We = t;
1793
+ }, "setWeekday"), Ts = /* @__PURE__ */ d(function() {
1794
+ return We;
1795
+ }, "getWeekday"), bs = /* @__PURE__ */ d(function(t) {
1796
+ se = t;
1797
+ }, "setWeekend"), Yn = /* @__PURE__ */ d(function(t, e, n, r) {
1798
+ if (!n.length || t.manualEndTime)
1799
+ return;
1800
+ let i;
1801
+ t.startTime instanceof Date ? i = rt(t.startTime) : i = rt(t.startTime, e, !0), i = i.add(1, "d");
1802
+ let a;
1803
+ t.endTime instanceof Date ? a = rt(t.endTime) : a = rt(t.endTime, e, !0);
1804
+ const [c, m] = xs(
1805
+ i,
1806
+ a,
1807
+ e,
1808
+ n,
1809
+ r
1810
+ );
1811
+ t.endTime = c.toDate(), t.renderEndTime = m;
1812
+ }, "checkTaskDates"), xs = /* @__PURE__ */ d(function(t, e, n, r, i) {
1813
+ let a = !1, c = null;
1814
+ for (; t <= e; )
1815
+ a || (c = e.toDate()), a = Fn(t, n, r, i), a && (e = e.add(1, "d")), t = t.add(1, "d");
1816
+ return [e, c];
1817
+ }, "fixTaskDates"), De = /* @__PURE__ */ d(function(t, e, n) {
1818
+ if (n = n.trim(), (/* @__PURE__ */ d((m) => {
1819
+ const Y = m.trim();
1820
+ return Y === "x" || Y === "X";
1821
+ }, "isTimestampFormat"))(e) && /^\d+$/.test(n))
1822
+ return new Date(Number(n));
1823
+ const a = /^after\s+(?<ids>[\d\w- ]+)/.exec(n);
1824
+ if (a !== null) {
1825
+ let m = null;
1826
+ for (const C of a.groups.ids.split(" ")) {
1827
+ let k = Ct(C);
1828
+ k !== void 0 && (!m || k.endTime > m.endTime) && (m = k);
1829
+ }
1830
+ if (m)
1831
+ return m.endTime;
1832
+ const Y = /* @__PURE__ */ new Date();
1833
+ return Y.setHours(0, 0, 0, 0), Y;
1834
+ }
1835
+ let c = rt(n, e.trim(), !0);
1836
+ if (c.isValid())
1837
+ return c.toDate();
1838
+ {
1839
+ Tt.debug("Invalid date:" + n), Tt.debug("With date format:" + e.trim());
1840
+ const m = new Date(n);
1841
+ if (m === void 0 || isNaN(m.getTime()) || // WebKit browsers can mis-parse invalid dates to be ridiculously
1842
+ // huge numbers, e.g. new Date('202304') gets parsed as January 1, 202304.
1843
+ // This can cause virtually infinite loops while rendering, so for the
1844
+ // purposes of Gantt charts we'll just treat any date beyond 10,000 AD/BC as
1845
+ // invalid.
1846
+ m.getFullYear() < -1e4 || m.getFullYear() > 1e4)
1847
+ throw new Error("Invalid date:" + n);
1848
+ return m;
1849
+ }
1850
+ }, "getStartDate"), Un = /* @__PURE__ */ d(function(t) {
1851
+ const e = /^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(t.trim());
1852
+ return e !== null ? [Number.parseFloat(e[1]), e[2]] : [NaN, "ms"];
1853
+ }, "parseDuration"), En = /* @__PURE__ */ d(function(t, e, n, r = !1) {
1854
+ n = n.trim();
1855
+ const a = /^until\s+(?<ids>[\d\w- ]+)/.exec(n);
1856
+ if (a !== null) {
1857
+ let k = null;
1858
+ for (const _ of a.groups.ids.split(" ")) {
1859
+ let S = Ct(_);
1860
+ S !== void 0 && (!k || S.startTime < k.startTime) && (k = S);
1861
+ }
1862
+ if (k)
1863
+ return k.startTime;
1864
+ const L = /* @__PURE__ */ new Date();
1865
+ return L.setHours(0, 0, 0, 0), L;
1866
+ }
1867
+ let c = rt(n, e.trim(), !0);
1868
+ if (c.isValid())
1869
+ return r && (c = c.add(1, "d")), c.toDate();
1870
+ let m = rt(t);
1871
+ const [Y, C] = Un(n);
1872
+ if (!Number.isNaN(Y)) {
1873
+ const k = m.add(Y, C);
1874
+ k.isValid() && (m = k);
1875
+ }
1876
+ return m.toDate();
1877
+ }, "getEndDate"), Kt = 0, Yt = /* @__PURE__ */ d(function(t) {
1878
+ return t === void 0 ? (Kt = Kt + 1, "task" + Kt) : t;
1879
+ }, "parseId"), ws = /* @__PURE__ */ d(function(t, e) {
1880
+ let n;
1881
+ e.substr(0, 1) === ":" ? n = e.substr(1, e.length) : n = e;
1882
+ const r = n.split(","), i = {};
1883
+ $e(r, i, _n);
1884
+ for (let c = 0; c < r.length; c++)
1885
+ r[c] = r[c].trim();
1886
+ let a = "";
1887
+ switch (r.length) {
1888
+ case 1:
1889
+ i.id = Yt(), i.startTime = t.endTime, a = r[0];
1890
+ break;
1891
+ case 2:
1892
+ i.id = Yt(), i.startTime = De(void 0, lt, r[0]), a = r[1];
1893
+ break;
1894
+ case 3:
1895
+ i.id = Yt(r[0]), i.startTime = De(void 0, lt, r[1]), a = r[2];
1896
+ break;
1897
+ }
1898
+ return a && (i.endTime = En(i.startTime, lt, a, Rt), i.manualEndTime = rt(a, "YYYY-MM-DD", !0).isValid(), Yn(i, lt, zt, Vt)), i;
1899
+ }, "compileData"), Ds = /* @__PURE__ */ d(function(t, e) {
1900
+ let n;
1901
+ e.substr(0, 1) === ":" ? n = e.substr(1, e.length) : n = e;
1902
+ const r = n.split(","), i = {};
1903
+ $e(r, i, _n);
1904
+ for (let a = 0; a < r.length; a++)
1905
+ r[a] = r[a].trim();
1906
+ switch (r.length) {
1907
+ case 1:
1908
+ i.id = Yt(), i.startTime = {
1909
+ type: "prevTaskEnd",
1910
+ id: t
1911
+ }, i.endTime = {
1912
+ data: r[0]
1913
+ };
1914
+ break;
1915
+ case 2:
1916
+ i.id = Yt(), i.startTime = {
1917
+ type: "getStartDate",
1918
+ startData: r[0]
1919
+ }, i.endTime = {
1920
+ data: r[1]
1921
+ };
1922
+ break;
1923
+ case 3:
1924
+ i.id = Yt(r[0]), i.startTime = {
1925
+ type: "getStartDate",
1926
+ startData: r[1]
1927
+ }, i.endTime = {
1928
+ data: r[2]
1929
+ };
1930
+ break;
1931
+ }
1932
+ return i;
1933
+ }, "parseData"), Me, te, tt = [], In = {}, Ms = /* @__PURE__ */ d(function(t, e) {
1934
+ const n = {
1935
+ section: It,
1936
+ type: It,
1937
+ processed: !1,
1938
+ manualEndTime: !1,
1939
+ renderEndTime: null,
1940
+ raw: { data: e },
1941
+ task: t,
1942
+ classes: []
1943
+ }, r = Ds(te, e);
1944
+ n.raw.startTime = r.startTime, n.raw.endTime = r.endTime, n.id = r.id, n.prevTaskId = te, n.active = r.active, n.done = r.done, n.crit = r.crit, n.milestone = r.milestone, n.vert = r.vert, n.order = we, we++;
1945
+ const i = tt.push(n);
1946
+ te = n.id, In[n.id] = i - 1;
1947
+ }, "addTask"), Ct = /* @__PURE__ */ d(function(t) {
1948
+ const e = In[t];
1949
+ return tt[e];
1950
+ }, "findTaskById"), Cs = /* @__PURE__ */ d(function(t, e) {
1951
+ const n = {
1952
+ section: It,
1953
+ type: It,
1954
+ description: t,
1955
+ task: t,
1956
+ classes: []
1957
+ }, r = ws(Me, e);
1958
+ 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, Me = n, ie.push(n);
1959
+ }, "addTaskOrg"), rn = /* @__PURE__ */ d(function() {
1960
+ const t = /* @__PURE__ */ d(function(n) {
1961
+ const r = tt[n];
1962
+ let i = "";
1963
+ switch (tt[n].raw.startTime.type) {
1964
+ case "prevTaskEnd": {
1965
+ const a = Ct(r.prevTaskId);
1966
+ r.startTime = a.endTime;
1967
+ break;
1968
+ }
1969
+ case "getStartDate":
1970
+ i = De(void 0, lt, tt[n].raw.startTime.startData), i && (tt[n].startTime = i);
1971
+ break;
1972
+ }
1973
+ return tt[n].startTime && (tt[n].endTime = En(
1974
+ tt[n].startTime,
1975
+ lt,
1976
+ tt[n].raw.endTime.data,
1977
+ Rt
1978
+ ), tt[n].endTime && (tt[n].processed = !0, tt[n].manualEndTime = rt(
1979
+ tt[n].raw.endTime.data,
1980
+ "YYYY-MM-DD",
1981
+ !0
1982
+ ).isValid(), Yn(tt[n], lt, zt, Vt))), tt[n].processed;
1983
+ }, "compileTask");
1984
+ let e = !0;
1985
+ for (const [n, r] of tt.entries())
1986
+ t(n), e = e && r.processed;
1987
+ return e;
1988
+ }, "compileTasks"), Ss = /* @__PURE__ */ d(function(t, e) {
1989
+ let n = e;
1990
+ _t().securityLevel !== "loose" && (n = Zn.sanitizeUrl(e)), t.split(",").forEach(function(r) {
1991
+ Ct(r) !== void 0 && (An(r, () => {
1992
+ window.open(n, "_self");
1993
+ }), Ue.set(r, n));
1994
+ }), Ln(t, "clickable");
1995
+ }, "setLink"), Ln = /* @__PURE__ */ d(function(t, e) {
1996
+ t.split(",").forEach(function(n) {
1997
+ let r = Ct(n);
1998
+ r !== void 0 && r.classes.push(e);
1999
+ });
2000
+ }, "setClass"), _s = /* @__PURE__ */ d(function(t, e, n) {
2001
+ if (_t().securityLevel !== "loose" || e === void 0)
2002
+ return;
2003
+ let r = [];
2004
+ if (typeof n == "string") {
2005
+ r = n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);
2006
+ for (let a = 0; a < r.length; a++) {
2007
+ let c = r[a].trim();
2008
+ c.startsWith('"') && c.endsWith('"') && (c = c.substr(1, c.length - 2)), r[a] = c;
2009
+ }
2010
+ }
2011
+ r.length === 0 && r.push(t), Ct(t) !== void 0 && An(t, () => {
2012
+ Xn.runFunc(e, ...r);
2013
+ });
2014
+ }, "setClickFun"), An = /* @__PURE__ */ d(function(t, e) {
2015
+ Le.push(
2016
+ function() {
2017
+ const n = document.querySelector(`[id="${t}"]`);
2018
+ n !== null && n.addEventListener("click", function() {
2019
+ e();
2020
+ });
2021
+ },
2022
+ function() {
2023
+ const n = document.querySelector(`[id="${t}-text"]`);
2024
+ n !== null && n.addEventListener("click", function() {
2025
+ e();
2026
+ });
2027
+ }
2028
+ );
2029
+ }, "pushFun"), Fs = /* @__PURE__ */ d(function(t, e, n) {
2030
+ t.split(",").forEach(function(r) {
2031
+ _s(r, e, n);
2032
+ }), Ln(t, "clickable");
2033
+ }, "setClickEvent"), Ys = /* @__PURE__ */ d(function(t) {
2034
+ Le.forEach(function(e) {
2035
+ e(t);
2036
+ });
2037
+ }, "bindFunctions"), Us = {
2038
+ getConfig: /* @__PURE__ */ d(() => _t().gantt, "getConfig"),
2039
+ clear: ji,
2040
+ setDateFormat: rs,
2041
+ getDateFormat: ls,
2042
+ enableInclusiveEndDates: is,
2043
+ endDatesAreInclusive: ss,
2044
+ enableTopAxis: as,
2045
+ topAxisEnabled: os,
2046
+ setAxisFormat: Qi,
2047
+ getAxisFormat: Ji,
2048
+ setTickInterval: Ki,
2049
+ getTickInterval: ts,
2050
+ setTodayMarker: es,
2051
+ getTodayMarker: ns,
2052
+ setAccTitle: zn,
2053
+ getAccTitle: Vn,
2054
+ setDiagramTitle: Pn,
2055
+ getDiagramTitle: Nn,
2056
+ setDisplayMode: cs,
2057
+ getDisplayMode: us,
2058
+ setAccDescription: Hn,
2059
+ getAccDescription: On,
2060
+ addSection: ys,
2061
+ getSections: ks,
2062
+ getTasks: ps,
2063
+ addTask: Ms,
2064
+ findTaskById: Ct,
2065
+ addTaskOrg: Cs,
2066
+ setIncludes: fs,
2067
+ getIncludes: ds,
2068
+ setExcludes: hs,
2069
+ getExcludes: ms,
2070
+ setClickEvent: Fs,
2071
+ setLink: Ss,
2072
+ getLinks: gs,
2073
+ bindFunctions: Ys,
2074
+ parseDuration: Un,
2075
+ isInvalidDate: Fn,
2076
+ setWeekday: vs,
2077
+ getWeekday: Ts,
2078
+ setWeekend: bs
2079
+ };
2080
+ function $e(t, e, n) {
2081
+ let r = !0;
2082
+ for (; r; )
2083
+ r = !1, n.forEach(function(i) {
2084
+ const a = "^\\s*" + i + "\\s*$", c = new RegExp(a);
2085
+ t[0].match(c) && (e[i] = !0, t.shift(1), r = !0);
2086
+ });
2087
+ }
2088
+ d($e, "getTaskTags");
2089
+ rt.extend(Xi);
2090
+ var Es = /* @__PURE__ */ d(function() {
2091
+ Tt.debug("Something is calling, setConf, remove the call");
2092
+ }, "setConf"), sn = {
2093
+ monday: Ht,
2094
+ tuesday: pn,
2095
+ wednesday: vn,
2096
+ thursday: xt,
2097
+ friday: Tn,
2098
+ saturday: bn,
2099
+ sunday: Pt
2100
+ }, Is = /* @__PURE__ */ d((t, e) => {
2101
+ let n = [...t].map(() => -1 / 0), r = [...t].sort((a, c) => a.startTime - c.startTime || a.order - c.order), i = 0;
2102
+ for (const a of r)
2103
+ for (let c = 0; c < n.length; c++)
2104
+ if (a.startTime >= n[c]) {
2105
+ n[c] = a.endTime, a.order = c + e, c > i && (i = c);
2106
+ break;
2107
+ }
2108
+ return i;
2109
+ }, "getMaxIntersections"), dt, ve = 1e4, Ls = /* @__PURE__ */ d(function(t, e, n, r) {
2110
+ const i = _t().gantt, a = _t().securityLevel;
2111
+ let c;
2112
+ a === "sandbox" && (c = Zt("#i" + e));
2113
+ const m = a === "sandbox" ? Zt(c.nodes()[0].contentDocument.body) : Zt("body"), Y = a === "sandbox" ? c.nodes()[0].contentDocument : document, C = Y.getElementById(e);
2114
+ dt = C.parentElement.offsetWidth, dt === void 0 && (dt = 1200), i.useWidth !== void 0 && (dt = i.useWidth);
2115
+ const k = r.db.getTasks();
2116
+ let L = [];
2117
+ for (const h of k)
2118
+ L.push(h.type);
2119
+ L = y(L);
2120
+ const _ = {};
2121
+ let S = 2 * i.topPadding;
2122
+ if (r.db.getDisplayMode() === "compact" || i.displayMode === "compact") {
2123
+ const h = {};
2124
+ for (const w of k)
2125
+ h[w.section] === void 0 ? h[w.section] = [w] : h[w.section].push(w);
2126
+ let D = 0;
2127
+ for (const w of Object.keys(h)) {
2128
+ const T = Is(h[w], D) + 1;
2129
+ D += T, S += T * (i.barHeight + i.barGap), _[w] = T;
2130
+ }
2131
+ } else {
2132
+ S += k.length * (i.barHeight + i.barGap);
2133
+ for (const h of L)
2134
+ _[h] = k.filter((D) => D.type === h).length;
2135
+ }
2136
+ C.setAttribute("viewBox", "0 0 " + dt + " " + S);
2137
+ const Z = m.select(`[id="${e}"]`), A = Ei().domain([
2138
+ er(k, function(h) {
2139
+ return h.startTime;
2140
+ }),
2141
+ tr(k, function(h) {
2142
+ return h.endTime;
2143
+ })
2144
+ ]).rangeRound([0, dt - i.leftPadding - i.rightPadding]);
2145
+ function U(h, D) {
2146
+ const w = h.startTime, T = D.startTime;
2147
+ let v = 0;
2148
+ return w > T ? v = 1 : w < T && (v = -1), v;
2149
+ }
2150
+ d(U, "taskCompare"), k.sort(U), I(k, dt, S), Rn(Z, S, dt, i.useMaxWidth), Z.append("text").text(r.db.getDiagramTitle()).attr("x", dt / 2).attr("y", i.titleTopMargin).attr("class", "titleText");
2151
+ function I(h, D, w) {
2152
+ const T = i.barHeight, v = T + i.barGap, u = i.topPadding, f = i.leftPadding, b = Jn().domain([0, L.length]).range(["#00B9FA", "#F95002"]).interpolate(yr);
2153
+ W(
2154
+ v,
2155
+ u,
2156
+ f,
2157
+ D,
2158
+ w,
2159
+ h,
2160
+ r.db.getExcludes(),
2161
+ r.db.getIncludes()
2162
+ ), j(f, u, D, w), N(h, v, u, f, T, b, D), p(v, u), g(f, u, D, w);
2163
+ }
2164
+ d(I, "makeGantt");
2165
+ function N(h, D, w, T, v, u, f) {
2166
+ h.sort((s, E) => s.vert === E.vert ? 0 : s.vert ? 1 : -1);
2167
+ const x = [...new Set(h.map((s) => s.order))].map((s) => h.find((E) => E.order === s));
2168
+ Z.append("g").selectAll("rect").data(x).enter().append("rect").attr("x", 0).attr("y", function(s, E) {
2169
+ return E = s.order, E * D + w - 2;
2170
+ }).attr("width", function() {
2171
+ return f - i.rightPadding / 2;
2172
+ }).attr("height", D).attr("class", function(s) {
2173
+ for (const [E, R] of L.entries())
2174
+ if (s.type === R)
2175
+ return "section section" + E % i.numberSectionStyles;
2176
+ return "section section0";
2177
+ }).enter();
2178
+ const F = Z.append("g").selectAll("rect").data(h).enter(), o = r.db.getLinks();
2179
+ if (F.append("rect").attr("id", function(s) {
2180
+ return s.id;
2181
+ }).attr("rx", 3).attr("ry", 3).attr("x", function(s) {
2182
+ return s.milestone ? A(s.startTime) + T + 0.5 * (A(s.endTime) - A(s.startTime)) - 0.5 * v : A(s.startTime) + T;
2183
+ }).attr("y", function(s, E) {
2184
+ return E = s.order, s.vert ? i.gridLineStartPadding : E * D + w;
2185
+ }).attr("width", function(s) {
2186
+ return s.milestone ? v : s.vert ? 0.08 * v : A(s.renderEndTime || s.endTime) - A(s.startTime);
2187
+ }).attr("height", function(s) {
2188
+ return s.vert ? k.length * (i.barHeight + i.barGap) + i.barHeight * 2 : v;
2189
+ }).attr("transform-origin", function(s, E) {
2190
+ return E = s.order, (A(s.startTime) + T + 0.5 * (A(s.endTime) - A(s.startTime))).toString() + "px " + (E * D + w + 0.5 * v).toString() + "px";
2191
+ }).attr("class", function(s) {
2192
+ const E = "task";
2193
+ let R = "";
2194
+ s.classes.length > 0 && (R = s.classes.join(" "));
2195
+ let z = 0;
2196
+ for (const [K, O] of L.entries())
2197
+ s.type === O && (z = K % i.numberSectionStyles);
2198
+ let P = "";
2199
+ return s.active ? s.crit ? P += " activeCrit" : P = " active" : s.done ? s.crit ? P = " doneCrit" : P = " done" : s.crit && (P += " crit"), P.length === 0 && (P = " task"), s.milestone && (P = " milestone " + P), s.vert && (P = " vert " + P), P += z, P += " " + R, E + P;
2200
+ }), F.append("text").attr("id", function(s) {
2201
+ return s.id + "-text";
2202
+ }).text(function(s) {
2203
+ return s.task;
2204
+ }).attr("font-size", i.fontSize).attr("x", function(s) {
2205
+ let E = A(s.startTime), R = A(s.renderEndTime || s.endTime);
2206
+ if (s.milestone && (E += 0.5 * (A(s.endTime) - A(s.startTime)) - 0.5 * v, R = E + v), s.vert)
2207
+ return A(s.startTime) + T;
2208
+ const z = this.getBBox().width;
2209
+ return z > R - E ? R + z + 1.5 * i.leftPadding > f ? E + T - 5 : R + T + 5 : (R - E) / 2 + E + T;
2210
+ }).attr("y", function(s, E) {
2211
+ return s.vert ? i.gridLineStartPadding + k.length * (i.barHeight + i.barGap) + 60 : (E = s.order, E * D + i.barHeight / 2 + (i.fontSize / 2 - 2) + w);
2212
+ }).attr("text-height", v).attr("class", function(s) {
2213
+ const E = A(s.startTime);
2214
+ let R = A(s.endTime);
2215
+ s.milestone && (R = E + v);
2216
+ const z = this.getBBox().width;
2217
+ let P = "";
2218
+ s.classes.length > 0 && (P = s.classes.join(" "));
2219
+ let K = 0;
2220
+ for (const [st, M] of L.entries())
2221
+ s.type === M && (K = st % i.numberSectionStyles);
2222
+ let O = "";
2223
+ return s.active && (s.crit ? O = "activeCritText" + K : O = "activeText" + K), s.done ? s.crit ? O = O + " doneCritText" + K : O = O + " doneText" + K : s.crit && (O = O + " critText" + K), s.milestone && (O += " milestoneText"), s.vert && (O += " vertText"), z > R - E ? R + z + 1.5 * i.leftPadding > f ? P + " taskTextOutsideLeft taskTextOutside" + K + " " + O : P + " taskTextOutsideRight taskTextOutside" + K + " " + O + " width-" + z : P + " taskText taskText" + K + " " + O + " width-" + z;
2224
+ }), _t().securityLevel === "sandbox") {
2225
+ let s;
2226
+ s = Zt("#i" + e);
2227
+ const E = s.nodes()[0].contentDocument;
2228
+ F.filter(function(R) {
2229
+ return o.has(R.id);
2230
+ }).each(function(R) {
2231
+ var z = E.querySelector("#" + R.id), P = E.querySelector("#" + R.id + "-text");
2232
+ const K = z.parentNode;
2233
+ var O = E.createElement("a");
2234
+ O.setAttribute("xlink:href", o.get(R.id)), O.setAttribute("target", "_top"), K.appendChild(O), O.appendChild(z), O.appendChild(P);
2235
+ });
2236
+ }
2237
+ }
2238
+ d(N, "drawRects");
2239
+ function W(h, D, w, T, v, u, f, b) {
2240
+ if (f.length === 0 && b.length === 0)
2241
+ return;
2242
+ let x, F;
2243
+ for (const { startTime: z, endTime: P } of u)
2244
+ (x === void 0 || z < x) && (x = z), (F === void 0 || P > F) && (F = P);
2245
+ if (!x || !F)
2246
+ return;
2247
+ if (rt(F).diff(rt(x), "year") > 5) {
2248
+ Tt.warn(
2249
+ "The difference between the min and max time is more than 5 years. This will cause performance issues. Skipping drawing exclude days."
2250
+ );
2251
+ return;
2252
+ }
2253
+ const o = r.db.getDateFormat(), X = [];
2254
+ let s = null, E = rt(x);
2255
+ for (; E.valueOf() <= F; )
2256
+ r.db.isInvalidDate(E, o, f, b) ? s ? s.end = E : s = {
2257
+ start: E,
2258
+ end: E
2259
+ } : s && (X.push(s), s = null), E = E.add(1, "d");
2260
+ Z.append("g").selectAll("rect").data(X).enter().append("rect").attr("id", (z) => "exclude-" + z.start.format("YYYY-MM-DD")).attr("x", (z) => A(z.start.startOf("day")) + w).attr("y", i.gridLineStartPadding).attr("width", (z) => A(z.end.endOf("day")) - A(z.start.startOf("day"))).attr("height", v - D - i.gridLineStartPadding).attr("transform-origin", function(z, P) {
2261
+ return (A(z.start) + w + 0.5 * (A(z.end) - A(z.start))).toString() + "px " + (P * h + 0.5 * v).toString() + "px";
2262
+ }).attr("class", "exclude-range");
2263
+ }
2264
+ d(W, "drawExcludeDays");
2265
+ function q(h, D, w, T) {
2266
+ if (w <= 0 || h > D)
2267
+ return 1 / 0;
2268
+ const v = D - h, u = rt.duration({ [T ?? "day"]: w }).asMilliseconds();
2269
+ return u <= 0 ? 1 / 0 : Math.ceil(v / u);
2270
+ }
2271
+ d(q, "getEstimatedTickCount");
2272
+ function j(h, D, w, T) {
2273
+ const v = r.db.getDateFormat(), u = r.db.getAxisFormat();
2274
+ let f;
2275
+ u ? f = u : v === "D" ? f = "%d" : f = i.axisFormat ?? "%Y-%m-%d";
2276
+ let b = ur(A).tickSize(-T + D + i.gridLineStartPadding).tickFormat(re(f));
2277
+ const F = /^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(
2278
+ r.db.getTickInterval() || i.tickInterval
2279
+ );
2280
+ if (F !== null) {
2281
+ const o = parseInt(F[1], 10);
2282
+ if (isNaN(o) || o <= 0)
2283
+ Tt.warn(
2284
+ `Invalid tick interval value: "${F[1]}". Skipping custom tick interval.`
2285
+ );
2286
+ else {
2287
+ const X = F[2], s = r.db.getWeekday() || i.weekday, E = A.domain(), R = E[0], z = E[1], P = q(R, z, o, X);
2288
+ if (P > ve)
2289
+ Tt.warn(
2290
+ `The tick interval "${o}${X}" would generate ${P} ticks, which exceeds the maximum allowed (${ve}). This may indicate an invalid date or time range. Skipping custom tick interval.`
2291
+ );
2292
+ else
2293
+ switch (X) {
2294
+ case "millisecond":
2295
+ b.ticks(Ut.every(o));
2296
+ break;
2297
+ case "second":
2298
+ b.ticks(vt.every(o));
2299
+ break;
2300
+ case "minute":
2301
+ b.ticks($t.every(o));
2302
+ break;
2303
+ case "hour":
2304
+ b.ticks(Ot.every(o));
2305
+ break;
2306
+ case "day":
2307
+ b.ticks(bt.every(o));
2308
+ break;
2309
+ case "week":
2310
+ b.ticks(sn[s].every(o));
2311
+ break;
2312
+ case "month":
2313
+ b.ticks(Nt.every(o));
2314
+ break;
2315
+ }
2316
+ }
2317
+ }
2318
+ if (Z.append("g").attr("class", "grid").attr("transform", "translate(" + h + ", " + (T - 50) + ")").call(b).selectAll("text").style("text-anchor", "middle").attr("fill", "#000").attr("stroke", "none").attr("font-size", 10).attr("dy", "1em"), r.db.topAxisEnabled() || i.topAxis) {
2319
+ let o = cr(A).tickSize(-T + D + i.gridLineStartPadding).tickFormat(re(f));
2320
+ if (F !== null) {
2321
+ const X = parseInt(F[1], 10);
2322
+ if (isNaN(X) || X <= 0)
2323
+ Tt.warn(
2324
+ `Invalid tick interval value: "${F[1]}". Skipping custom tick interval.`
2325
+ );
2326
+ else {
2327
+ const s = F[2], E = r.db.getWeekday() || i.weekday, R = A.domain(), z = R[0], P = R[1];
2328
+ if (q(z, P, X, s) <= ve)
2329
+ switch (s) {
2330
+ case "millisecond":
2331
+ o.ticks(Ut.every(X));
2332
+ break;
2333
+ case "second":
2334
+ o.ticks(vt.every(X));
2335
+ break;
2336
+ case "minute":
2337
+ o.ticks($t.every(X));
2338
+ break;
2339
+ case "hour":
2340
+ o.ticks(Ot.every(X));
2341
+ break;
2342
+ case "day":
2343
+ o.ticks(bt.every(X));
2344
+ break;
2345
+ case "week":
2346
+ o.ticks(sn[E].every(X));
2347
+ break;
2348
+ case "month":
2349
+ o.ticks(Nt.every(X));
2350
+ break;
2351
+ }
2352
+ }
2353
+ }
2354
+ Z.append("g").attr("class", "grid").attr("transform", "translate(" + h + ", " + D + ")").call(o).selectAll("text").style("text-anchor", "middle").attr("fill", "#000").attr("stroke", "none").attr("font-size", 10);
2355
+ }
2356
+ }
2357
+ d(j, "makeGrid");
2358
+ function p(h, D) {
2359
+ let w = 0;
2360
+ const T = Object.keys(_).map((v) => [v, _[v]]);
2361
+ Z.append("g").selectAll("text").data(T).enter().append(function(v) {
2362
+ const u = v[0].split(qn.lineBreakRegex), f = -(u.length - 1) / 2, b = Y.createElementNS("http://www.w3.org/2000/svg", "text");
2363
+ b.setAttribute("dy", f + "em");
2364
+ for (const [x, F] of u.entries()) {
2365
+ const o = Y.createElementNS("http://www.w3.org/2000/svg", "tspan");
2366
+ o.setAttribute("alignment-baseline", "central"), o.setAttribute("x", "10"), x > 0 && o.setAttribute("dy", "1em"), o.textContent = F, b.appendChild(o);
2367
+ }
2368
+ return b;
2369
+ }).attr("x", 10).attr("y", function(v, u) {
2370
+ if (u > 0)
2371
+ for (let f = 0; f < u; f++)
2372
+ return w += T[u - 1][1], v[1] * h / 2 + w * h + D;
2373
+ else
2374
+ return v[1] * h / 2 + D;
2375
+ }).attr("font-size", i.sectionFontSize).attr("class", function(v) {
2376
+ for (const [u, f] of L.entries())
2377
+ if (v[0] === f)
2378
+ return "sectionTitle sectionTitle" + u % i.numberSectionStyles;
2379
+ return "sectionTitle";
2380
+ });
2381
+ }
2382
+ d(p, "vertLabels");
2383
+ function g(h, D, w, T) {
2384
+ const v = r.db.getTodayMarker();
2385
+ if (v === "off")
2386
+ return;
2387
+ const u = Z.append("g").attr("class", "today"), f = /* @__PURE__ */ new Date(), b = u.append("line");
2388
+ b.attr("x1", A(f) + h).attr("x2", A(f) + h).attr("y1", i.titleTopMargin).attr("y2", T - i.titleTopMargin).attr("class", "today"), v !== "" && b.attr("style", v.replace(/,/g, ";"));
2389
+ }
2390
+ d(g, "drawToday");
2391
+ function y(h) {
2392
+ const D = {}, w = [];
2393
+ for (let T = 0, v = h.length; T < v; ++T)
2394
+ Object.prototype.hasOwnProperty.call(D, h[T]) || (D[h[T]] = !0, w.push(h[T]));
2395
+ return w;
2396
+ }
2397
+ d(y, "checkUnique");
2398
+ }, "draw"), As = {
2399
+ setConf: Es,
2400
+ draw: Ls
2401
+ }, Ws = /* @__PURE__ */ d((t) => `
2402
+ .mermaid-main-font {
2403
+ font-family: ${t.fontFamily};
2404
+ }
2405
+
2406
+ .exclude-range {
2407
+ fill: ${t.excludeBkgColor};
2408
+ }
2409
+
2410
+ .section {
2411
+ stroke: none;
2412
+ opacity: 0.2;
2413
+ }
2414
+
2415
+ .section0 {
2416
+ fill: ${t.sectionBkgColor};
2417
+ }
2418
+
2419
+ .section2 {
2420
+ fill: ${t.sectionBkgColor2};
2421
+ }
2422
+
2423
+ .section1,
2424
+ .section3 {
2425
+ fill: ${t.altSectionBkgColor};
2426
+ opacity: 0.2;
2427
+ }
2428
+
2429
+ .sectionTitle0 {
2430
+ fill: ${t.titleColor};
2431
+ }
2432
+
2433
+ .sectionTitle1 {
2434
+ fill: ${t.titleColor};
2435
+ }
2436
+
2437
+ .sectionTitle2 {
2438
+ fill: ${t.titleColor};
2439
+ }
2440
+
2441
+ .sectionTitle3 {
2442
+ fill: ${t.titleColor};
2443
+ }
2444
+
2445
+ .sectionTitle {
2446
+ text-anchor: start;
2447
+ font-family: ${t.fontFamily};
2448
+ }
2449
+
2450
+
2451
+ /* Grid and axis */
2452
+
2453
+ .grid .tick {
2454
+ stroke: ${t.gridColor};
2455
+ opacity: 0.8;
2456
+ shape-rendering: crispEdges;
2457
+ }
2458
+
2459
+ .grid .tick text {
2460
+ font-family: ${t.fontFamily};
2461
+ fill: ${t.textColor};
2462
+ }
2463
+
2464
+ .grid path {
2465
+ stroke-width: 0;
2466
+ }
2467
+
2468
+
2469
+ /* Today line */
2470
+
2471
+ .today {
2472
+ fill: none;
2473
+ stroke: ${t.todayLineColor};
2474
+ stroke-width: 2px;
2475
+ }
2476
+
2477
+
2478
+ /* Task styling */
2479
+
2480
+ /* Default task */
2481
+
2482
+ .task {
2483
+ stroke-width: 2;
2484
+ }
2485
+
2486
+ .taskText {
2487
+ text-anchor: middle;
2488
+ font-family: ${t.fontFamily};
2489
+ }
2490
+
2491
+ .taskTextOutsideRight {
2492
+ fill: ${t.taskTextDarkColor};
2493
+ text-anchor: start;
2494
+ font-family: ${t.fontFamily};
2495
+ }
2496
+
2497
+ .taskTextOutsideLeft {
2498
+ fill: ${t.taskTextDarkColor};
2499
+ text-anchor: end;
2500
+ }
2501
+
2502
+
2503
+ /* Special case clickable */
2504
+
2505
+ .task.clickable {
2506
+ cursor: pointer;
2507
+ }
2508
+
2509
+ .taskText.clickable {
2510
+ cursor: pointer;
2511
+ fill: ${t.taskTextClickableColor} !important;
2512
+ font-weight: bold;
2513
+ }
2514
+
2515
+ .taskTextOutsideLeft.clickable {
2516
+ cursor: pointer;
2517
+ fill: ${t.taskTextClickableColor} !important;
2518
+ font-weight: bold;
2519
+ }
2520
+
2521
+ .taskTextOutsideRight.clickable {
2522
+ cursor: pointer;
2523
+ fill: ${t.taskTextClickableColor} !important;
2524
+ font-weight: bold;
2525
+ }
2526
+
2527
+
2528
+ /* Specific task settings for the sections*/
2529
+
2530
+ .taskText0,
2531
+ .taskText1,
2532
+ .taskText2,
2533
+ .taskText3 {
2534
+ fill: ${t.taskTextColor};
2535
+ }
2536
+
2537
+ .task0,
2538
+ .task1,
2539
+ .task2,
2540
+ .task3 {
2541
+ fill: ${t.taskBkgColor};
2542
+ stroke: ${t.taskBorderColor};
2543
+ }
2544
+
2545
+ .taskTextOutside0,
2546
+ .taskTextOutside2
2547
+ {
2548
+ fill: ${t.taskTextOutsideColor};
2549
+ }
2550
+
2551
+ .taskTextOutside1,
2552
+ .taskTextOutside3 {
2553
+ fill: ${t.taskTextOutsideColor};
2554
+ }
2555
+
2556
+
2557
+ /* Active task */
2558
+
2559
+ .active0,
2560
+ .active1,
2561
+ .active2,
2562
+ .active3 {
2563
+ fill: ${t.activeTaskBkgColor};
2564
+ stroke: ${t.activeTaskBorderColor};
2565
+ }
2566
+
2567
+ .activeText0,
2568
+ .activeText1,
2569
+ .activeText2,
2570
+ .activeText3 {
2571
+ fill: ${t.taskTextDarkColor} !important;
2572
+ }
2573
+
2574
+
2575
+ /* Completed task */
2576
+
2577
+ .done0,
2578
+ .done1,
2579
+ .done2,
2580
+ .done3 {
2581
+ stroke: ${t.doneTaskBorderColor};
2582
+ fill: ${t.doneTaskBkgColor};
2583
+ stroke-width: 2;
2584
+ }
2585
+
2586
+ .doneText0,
2587
+ .doneText1,
2588
+ .doneText2,
2589
+ .doneText3 {
2590
+ fill: ${t.taskTextDarkColor} !important;
2591
+ }
2592
+
2593
+
2594
+ /* Tasks on the critical line */
2595
+
2596
+ .crit0,
2597
+ .crit1,
2598
+ .crit2,
2599
+ .crit3 {
2600
+ stroke: ${t.critBorderColor};
2601
+ fill: ${t.critBkgColor};
2602
+ stroke-width: 2;
2603
+ }
2604
+
2605
+ .activeCrit0,
2606
+ .activeCrit1,
2607
+ .activeCrit2,
2608
+ .activeCrit3 {
2609
+ stroke: ${t.critBorderColor};
2610
+ fill: ${t.activeTaskBkgColor};
2611
+ stroke-width: 2;
2612
+ }
2613
+
2614
+ .doneCrit0,
2615
+ .doneCrit1,
2616
+ .doneCrit2,
2617
+ .doneCrit3 {
2618
+ stroke: ${t.critBorderColor};
2619
+ fill: ${t.doneTaskBkgColor};
2620
+ stroke-width: 2;
2621
+ cursor: pointer;
2622
+ shape-rendering: crispEdges;
2623
+ }
2624
+
2625
+ .milestone {
2626
+ transform: rotate(45deg) scale(0.8,0.8);
2627
+ }
2628
+
2629
+ .milestoneText {
2630
+ font-style: italic;
2631
+ }
2632
+ .doneCritText0,
2633
+ .doneCritText1,
2634
+ .doneCritText2,
2635
+ .doneCritText3 {
2636
+ fill: ${t.taskTextDarkColor} !important;
2637
+ }
2638
+
2639
+ .vert {
2640
+ stroke: ${t.vertLineColor};
2641
+ }
2642
+
2643
+ .vertText {
2644
+ font-size: 15px;
2645
+ text-anchor: middle;
2646
+ fill: ${t.vertLineColor} !important;
2647
+ }
2648
+
2649
+ .activeCritText0,
2650
+ .activeCritText1,
2651
+ .activeCritText2,
2652
+ .activeCritText3 {
2653
+ fill: ${t.taskTextDarkColor} !important;
2654
+ }
2655
+
2656
+ .titleText {
2657
+ text-anchor: middle;
2658
+ font-size: 18px;
2659
+ fill: ${t.titleColor || t.textColor};
2660
+ font-family: ${t.fontFamily};
2661
+ }
2662
+ `, "getStyles"), $s = Ws, Ps = {
2663
+ parser: Gi,
2664
+ db: Us,
2665
+ renderer: As,
2666
+ styles: $s
2667
+ };
2668
+ export {
2669
+ Ps as diagram
2670
+ };