@marimo-team/islands 0.12.1-dev2 → 0.12.1-dev21
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.
- package/dist/{ConnectedDataExplorerComponent-BUkHSSQ3.js → ConnectedDataExplorerComponent-DNQoDjFe.js} +8 -8
- package/dist/{VegaLite-D2gsHKuf.js → VegaLite-C61XFnJy.js} +2456 -2455
- package/dist/{_baseUniq-CGdEI3Nv.js → _baseUniq-BVJ8xAuG.js} +1 -1
- package/dist/{any-language-editor-CKyudq2-.js → any-language-editor-OJReD1ph.js} +176 -177
- package/dist/architectureDiagram-IEHRJDOE-C5szj5L-.js +4634 -0
- package/dist/assets/{save-worker-J2nVA3vw.js → save-worker-CYdkP5Ic.js} +5 -5
- package/dist/assets/{worker-6ypxTHEH.js → worker-CH7zxkMA.js} +5 -5
- package/dist/assets/{worker-0hM8VAjI.js → worker-DEw2ZetQ.js} +5 -5
- package/dist/{blockDiagram-ZHA2E4KO-BlCDChLH.js → blockDiagram-JOT3LUYC-6huJKNk4.js} +4 -4
- package/dist/{c4Diagram-6F5ED5ID-niLscHfK.js → c4Diagram-VJAJSXHY-DLdlB4_f.js} +2 -2
- package/dist/{channel-Bt8mGm9q.js → channel-C4MpN-FJ.js} +1 -1
- package/dist/{chunk-TMUBEWPD-CQLP9BEl.js → chunk-4BMEZGHF-CczBKfna.js} +1 -1
- package/dist/chunk-A2AXSNBT-BsMPztSQ.js +1372 -0
- package/dist/chunk-AEK57VVT-B6c3n8K2.js +1415 -0
- package/dist/{chunk-ASOPGD6M-DCxLLtgf.js → chunk-D6G4REZN-X8xBS5rG.js} +1 -1
- package/dist/{chunk-5HRBRIJM-DjjlC6eW.js → chunk-RZ5BOZE2-CUqnF2K6.js} +1 -1
- package/dist/{chunk-KFBOBJHC-DPkQurpv.js → chunk-XZIHB7SX-CSouwcyb.js} +1 -1
- package/dist/classDiagram-GIVACNV2-CG_R_HQh.js +16 -0
- package/dist/classDiagram-v2-COTLJTTW-CG_R_HQh.js +16 -0
- package/dist/{clike-BLr83cjT.js → clike-BUuHEmgZ.js} +19 -17
- package/dist/{clone-COI_V4qE.js → clone-DK3J-MiR.js} +1 -1
- package/dist/{dagre-4EVJKHTY-DPsWdzds.js → dagre-OKDRZEBW-D8zhCeNW.js} +46 -46
- package/dist/{data-editor-D2rMsHxb.js → data-editor-BHWBseKi.js} +27 -22
- package/dist/diagram-SSKATNLV-pHZ4gvQ1.js +221 -0
- package/dist/{diagram-QW4FP2JN-D4dzrYii.js → diagram-VNBRO52H-D5_43LWo.js} +28 -28
- package/dist/{dockerfile-CFG_IPGn.js → dockerfile-DIy8NleC.js} +1 -1
- package/dist/erDiagram-Q7BY3M3F-CqUXZyK-.js +841 -0
- package/dist/{factor-DJHfQ4a1.js → factor-DDOC7X6P.js} +1 -1
- package/dist/flowDiagram-4HSFHLVR-DwhP_PW-.js +1622 -0
- package/dist/ganttDiagram-APWFNJXF-Coo7g8mK.js +1681 -0
- package/dist/{gitGraphDiagram-NRZ2UAAF-CO9Yfk-1.js → gitGraphDiagram-7IBYFJ6S-CJM5LDZc.js} +55 -55
- package/dist/{graph-j21MX5m5.js → graph-DXseY-wc.js} +3 -3
- package/dist/{groovy-CdgvOO23.js → groovy-DZeT_VM-.js} +1 -1
- package/dist/{index-DwhNQhNY.js → index-B-lvhTmE.js} +1 -1
- package/dist/{index-CZoype9l.js → index-B4nMPVvH.js} +1 -1
- package/dist/{index-C-FP0asF.js → index-BJcH72DF.js} +1 -1
- package/dist/{index-DATq7mzH.js → index-BUjAylGO.js} +1 -1
- package/dist/{index-CNYIP8n0.js → index-BeNQgFqm.js} +1 -1
- package/dist/{index-CqtUFj8g.js → index-BfQvDHaW.js} +1 -1
- package/dist/{index-D83p58Zi.js → index-BnGDaicg.js} +1 -1
- package/dist/{index-CxqVUOhW.js → index-C2ispfH7.js} +1 -1
- package/dist/{index-Cr0IVnKP.js → index-C31uOHRg.js} +3 -3
- package/dist/{index-4YXC3aOd.js → index-CwJWNsd3.js} +1 -1
- package/dist/{index-Wlh2yRsy.js → index-DC3Cnx5t.js} +1 -1
- package/dist/{index-_v--1fvH.js → index-DCcdmTNw.js} +1 -1
- package/dist/{index-Ec1JnxMr.js → index-DMfwuBgb.js} +1 -1
- package/dist/{index-VZAogpU3.js → index-DWPlo8vh.js} +1 -1
- package/dist/{index-B8argTgS.js → index-DYFTJIXf.js} +1 -1
- package/dist/{infoDiagram-A4XQUW5V-D6HtVB0K.js → infoDiagram-PH2N3AL5-CAFARnGi.js} +5 -5
- package/dist/{journeyDiagram-G5WM74LC-DMj7UaUs.js → journeyDiagram-U35MCT3I-CxCG-gu9.js} +34 -35
- package/dist/{kanban-definition-QRCXZQQD-C9sAvwvv.js → kanban-definition-NDS4AKOZ-DXWk4fBs.js} +26 -25
- package/dist/{layout-DnpJ8ssh.js → layout-DCbiAC-B.js} +4 -4
- package/dist/{linear-C7S_zUSg.js → linear-C-BjrWtA.js} +1 -1
- package/dist/{main-jjvPwD9F.js → main-VRYALaFR.js} +31084 -30575
- package/dist/main.js +1 -1
- package/dist/mermaid-3srgUkji.js +11991 -0
- package/dist/{min-DNi_26db.js → min-C6jNU-8q.js} +2 -2
- package/dist/{mindmap-definition-GWI6TPTV-Bbg64FAI.js → mindmap-definition-ALO5MXBD-ItSGCYxS.js} +3 -2
- package/dist/{nsis-BtA0qkjU.js → nsis-fePjrhq7.js} +1 -1
- package/dist/{pascal-ixanSKUz.js → pascal-De0D6mP7.js} +1 -1
- package/dist/{pieDiagram-YF2LJOPJ-Cr3o9epk.js → pieDiagram-IB7DONF6-DvX9YZO3.js} +38 -38
- package/dist/{quadrantDiagram-OS5C2QUG-CTdokV-X.js → quadrantDiagram-7GDLP6J5-BbXv1kiZ.js} +2 -2
- package/dist/{gitGraph-YCYPL57B-C6vjpJLv.js → radar-MK3ICKWK-Chc5umY2.js} +3259 -2897
- package/dist/{react-plotly-D7fFNQUF.js → react-plotly--Re2eJt2.js} +1 -1
- package/dist/requirementDiagram-KVF5MWMF-0r_3Jc_R.js +851 -0
- package/dist/{sankeyDiagram-Y46BX6SQ-CtGs7dt9.js → sankeyDiagram-QLVOVGJD-eycVAOR9.js} +152 -149
- package/dist/sequenceDiagram-X6HHIX6F-DQpYFs9_.js +2281 -0
- package/dist/{simple-mode-HGTvdazT.js → simple-mode-B0dvCdAA.js} +15 -14
- package/dist/slides-component-BM71y3QA.js +3782 -0
- package/dist/{stateDiagram-MAYHULR4-HCOwrhPJ.js → stateDiagram-DGXRK772--5awulBB.js} +41 -39
- package/dist/stateDiagram-v2-YXO3MK2T-CrxS4RqA.js +16 -0
- package/dist/style.css +1 -1
- package/dist/{time-Cf454IRV.js → time-aNhcx3m7.js} +2 -2
- package/dist/{timeline-definition-U7ZMHBDA-AcXJneLr.js → timeline-definition-BDJGKUSR-D5qQYaXU.js} +25 -25
- package/dist/{vega-component-DN01b8IT.js → vega-component-IC6ZSnx9.js} +2 -2
- package/dist/{xquery-xQxle02u.js → xquery-BUQdORAS.js} +72 -76
- package/dist/{xychartDiagram-6QU3TZC5-B3SwzwIL.js → xychartDiagram-VJFVF3MP-Ceb_sCs0.js} +11 -11
- package/package.json +25 -23
- package/dist/architectureDiagram-UYN6MBPD-C8FCwy4e.js +0 -4595
- package/dist/chunk-7U56Z5CX-D1T9hvBU.js +0 -1215
- package/dist/chunk-T2TOU4HS-DcM_xxju.js +0 -1303
- package/dist/classDiagram-LNE6IOMH-XbDq3sOW.js +0 -14
- package/dist/classDiagram-v2-MQ7JQ4JX-XbDq3sOW.js +0 -14
- package/dist/erDiagram-6RL3IURR-13ULGiOU.js +0 -938
- package/dist/flowDiagram-7ASYPVHJ-CMtLojGE.js +0 -1484
- package/dist/ganttDiagram-NTVNEXSI-Crv4rrPG.js +0 -1679
- package/dist/mermaid-BwpuxK20.js +0 -12937
- package/dist/requirementDiagram-MIRIMTAZ-Bz15K_7J.js +0 -769
- package/dist/sequenceDiagram-G6AWOVSC-D0hnYjDZ.js +0 -2274
- package/dist/slides-component-DM7nuuqG.js +0 -3776
- package/dist/stateDiagram-v2-4JROLMXI-Cj6uqksM.js +0 -14
- package/dist/stex-92raWT1r.js +0 -129
|
@@ -1,1679 +0,0 @@
|
|
|
1
|
-
import { _ as c, g as ye, s as ge, o as pe, p as ve, a as xe, b as Te, c as ot, d as yt, e as be, an as j, l as _t, k as we, j as _e, x as De, u as Se } from "./mermaid-BwpuxK20.js";
|
|
2
|
-
import { S as Wt, aw as jt, au as Ut, at as Ce, aH as Ee, aI as Me, aJ as Ae, aK as Ie, aL as Fe, aM as Le, as as Zt, ar as Kt, aq as Qt, aa as Jt, aj as $t } from "./main-jjvPwD9F.js";
|
|
3
|
-
import { t as Ye, m as We, a as Ve, i as Pe } from "./time-Cf454IRV.js";
|
|
4
|
-
import { l as Oe } from "./linear-C7S_zUSg.js";
|
|
5
|
-
function ze(t) {
|
|
6
|
-
return t;
|
|
7
|
-
}
|
|
8
|
-
var pt = 1, Mt = 2, At = 3, gt = 4, te = 1e-6;
|
|
9
|
-
function Re(t) {
|
|
10
|
-
return "translate(" + t + ",0)";
|
|
11
|
-
}
|
|
12
|
-
function Ne(t) {
|
|
13
|
-
return "translate(0," + t + ")";
|
|
14
|
-
}
|
|
15
|
-
function Be(t) {
|
|
16
|
-
return (e) => +t(e);
|
|
17
|
-
}
|
|
18
|
-
function qe(t, e) {
|
|
19
|
-
return e = Math.max(0, t.bandwidth() - e * 2) / 2, t.round() && (e = Math.round(e)), (r) => +t(r) + e;
|
|
20
|
-
}
|
|
21
|
-
function He() {
|
|
22
|
-
return !this.__axis;
|
|
23
|
-
}
|
|
24
|
-
function oe(t, e) {
|
|
25
|
-
var r = [], a = null, s = null, h = 6, f = 6, b = 3, A = typeof window < "u" && window.devicePixelRatio > 1 ? 0 : 0.5, p = t === pt || t === gt ? -1 : 1, C = t === gt || t === Mt ? "x" : "y", M = t === pt || t === At ? Re : Ne;
|
|
26
|
-
function S(T) {
|
|
27
|
-
var q = a ?? (e.ticks ? e.ticks.apply(e, r) : e.domain()), m = s ?? (e.tickFormat ? e.tickFormat.apply(e, r) : ze), E = Math.max(h, 0) + b, L = e.range(), I = +L[0] + A, z = +L[L.length - 1] + A, R = (e.bandwidth ? qe : Be)(e.copy(), A), X = T.selection ? T.selection() : T, N = X.selectAll(".domain").data([null]), V = X.selectAll(".tick").data(q, e).order(), g = V.exit(), w = V.enter().append("g").attr("class", "tick"), x = V.select("line"), v = V.select("text");
|
|
28
|
-
N = N.merge(N.enter().insert("path", ".tick").attr("class", "domain").attr("stroke", "currentColor")), V = V.merge(w), x = x.merge(w.append("line").attr("stroke", "currentColor").attr(C + "2", p * h)), v = v.merge(w.append("text").attr("fill", "currentColor").attr(C, p * E).attr("dy", t === pt ? "0em" : t === At ? "0.71em" : "0.32em")), T !== X && (N = N.transition(T), V = V.transition(T), x = x.transition(T), v = v.transition(T), g = g.transition(T).attr("opacity", te).attr("transform", function(k) {
|
|
29
|
-
return isFinite(k = R(k)) ? M(k + A) : this.getAttribute("transform");
|
|
30
|
-
}), w.attr("opacity", te).attr("transform", function(k) {
|
|
31
|
-
var D = this.parentNode.__axis;
|
|
32
|
-
return M((D && isFinite(D = D(k)) ? D : R(k)) + A);
|
|
33
|
-
})), g.remove(), N.attr("d", t === gt || t === Mt ? f ? "M" + p * f + "," + I + "H" + A + "V" + z + "H" + p * f : "M" + A + "," + I + "V" + z : f ? "M" + I + "," + p * f + "V" + A + "H" + z + "V" + p * f : "M" + I + "," + A + "H" + z), V.attr("opacity", 1).attr("transform", function(k) {
|
|
34
|
-
return M(R(k) + A);
|
|
35
|
-
}), x.attr(C + "2", p * h), v.attr(C, p * E).text(m), X.filter(He).attr("fill", "none").attr("font-size", 10).attr("font-family", "sans-serif").attr("text-anchor", t === Mt ? "start" : t === gt ? "end" : "middle"), X.each(function() {
|
|
36
|
-
this.__axis = R;
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
return S.scale = function(T) {
|
|
40
|
-
return arguments.length ? (e = T, S) : e;
|
|
41
|
-
}, S.ticks = function() {
|
|
42
|
-
return r = Array.from(arguments), S;
|
|
43
|
-
}, S.tickArguments = function(T) {
|
|
44
|
-
return arguments.length ? (r = T == null ? [] : Array.from(T), S) : r.slice();
|
|
45
|
-
}, S.tickValues = function(T) {
|
|
46
|
-
return arguments.length ? (a = T == null ? null : Array.from(T), S) : a && a.slice();
|
|
47
|
-
}, S.tickFormat = function(T) {
|
|
48
|
-
return arguments.length ? (s = T, S) : s;
|
|
49
|
-
}, S.tickSize = function(T) {
|
|
50
|
-
return arguments.length ? (h = f = +T, S) : h;
|
|
51
|
-
}, S.tickSizeInner = function(T) {
|
|
52
|
-
return arguments.length ? (h = +T, S) : h;
|
|
53
|
-
}, S.tickSizeOuter = function(T) {
|
|
54
|
-
return arguments.length ? (f = +T, S) : f;
|
|
55
|
-
}, S.tickPadding = function(T) {
|
|
56
|
-
return arguments.length ? (b = +T, S) : b;
|
|
57
|
-
}, S.offset = function(T) {
|
|
58
|
-
return arguments.length ? (A = +T, S) : A;
|
|
59
|
-
}, S;
|
|
60
|
-
}
|
|
61
|
-
function Ge(t) {
|
|
62
|
-
return oe(pt, t);
|
|
63
|
-
}
|
|
64
|
-
function Xe(t) {
|
|
65
|
-
return oe(At, t);
|
|
66
|
-
}
|
|
67
|
-
var vt = { exports: {} }, je = vt.exports, ee;
|
|
68
|
-
function Ue() {
|
|
69
|
-
return ee || (ee = 1, function(t, e) {
|
|
70
|
-
(function(r, a) {
|
|
71
|
-
t.exports = a();
|
|
72
|
-
})(je, function() {
|
|
73
|
-
var r = "day";
|
|
74
|
-
return function(a, s, h) {
|
|
75
|
-
var f = function(p) {
|
|
76
|
-
return p.add(4 - p.isoWeekday(), r);
|
|
77
|
-
}, b = s.prototype;
|
|
78
|
-
b.isoWeekYear = function() {
|
|
79
|
-
return f(this).year();
|
|
80
|
-
}, b.isoWeek = function(p) {
|
|
81
|
-
if (!this.$utils().u(p)) return this.add(7 * (p - this.isoWeek()), r);
|
|
82
|
-
var C, M, S, T, q = f(this), m = (C = this.isoWeekYear(), M = this.$u, S = (M ? h.utc : h)().year(C).startOf("year"), T = 4 - S.isoWeekday(), S.isoWeekday() > 4 && (T += 7), S.add(T, r));
|
|
83
|
-
return q.diff(m, "week") + 1;
|
|
84
|
-
}, b.isoWeekday = function(p) {
|
|
85
|
-
return this.$utils().u(p) ? this.day() || 7 : this.day(this.day() % 7 ? p : p - 7);
|
|
86
|
-
};
|
|
87
|
-
var A = b.startOf;
|
|
88
|
-
b.startOf = function(p, C) {
|
|
89
|
-
var M = this.$utils(), S = !!M.u(C) || C;
|
|
90
|
-
return M.p(p) === "isoweek" ? S ? this.date(this.date() - (this.isoWeekday() - 1)).startOf("day") : this.date(this.date() - 1 - (this.isoWeekday() - 1) + 7).endOf("day") : A.bind(this)(p, C);
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
});
|
|
94
|
-
}(vt)), vt.exports;
|
|
95
|
-
}
|
|
96
|
-
var Ze = Ue();
|
|
97
|
-
const Ke = /* @__PURE__ */ Wt(Ze);
|
|
98
|
-
var xt = { exports: {} }, Qe = xt.exports, re;
|
|
99
|
-
function Je() {
|
|
100
|
-
return re || (re = 1, function(t, e) {
|
|
101
|
-
(function(r, a) {
|
|
102
|
-
t.exports = a();
|
|
103
|
-
})(Qe, function() {
|
|
104
|
-
var r = { 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" }, a = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, s = /\d\d/, h = /\d\d?/, f = /\d*[^-_:/,()\s\d]+/, b = {}, A = function(m) {
|
|
105
|
-
return (m = +m) + (m > 68 ? 1900 : 2e3);
|
|
106
|
-
}, p = function(m) {
|
|
107
|
-
return function(E) {
|
|
108
|
-
this[m] = +E;
|
|
109
|
-
};
|
|
110
|
-
}, C = [/[+-]\d\d:?(\d\d)?|Z/, function(m) {
|
|
111
|
-
(this.zone || (this.zone = {})).offset = function(E) {
|
|
112
|
-
if (!E || E === "Z") return 0;
|
|
113
|
-
var L = E.match(/([+-]|\d\d)/g), I = 60 * L[1] + (+L[2] || 0);
|
|
114
|
-
return I === 0 ? 0 : L[0] === "+" ? -I : I;
|
|
115
|
-
}(m);
|
|
116
|
-
}], M = function(m) {
|
|
117
|
-
var E = b[m];
|
|
118
|
-
return E && (E.indexOf ? E : E.s.concat(E.f));
|
|
119
|
-
}, S = function(m, E) {
|
|
120
|
-
var L, I = b.meridiem;
|
|
121
|
-
if (I) {
|
|
122
|
-
for (var z = 1; z <= 24; z += 1) if (m.indexOf(I(z, 0, E)) > -1) {
|
|
123
|
-
L = z > 12;
|
|
124
|
-
break;
|
|
125
|
-
}
|
|
126
|
-
} else L = m === (E ? "pm" : "PM");
|
|
127
|
-
return L;
|
|
128
|
-
}, T = { A: [f, function(m) {
|
|
129
|
-
this.afternoon = S(m, !1);
|
|
130
|
-
}], a: [f, function(m) {
|
|
131
|
-
this.afternoon = S(m, !0);
|
|
132
|
-
}], S: [/\d/, function(m) {
|
|
133
|
-
this.milliseconds = 100 * +m;
|
|
134
|
-
}], SS: [s, function(m) {
|
|
135
|
-
this.milliseconds = 10 * +m;
|
|
136
|
-
}], SSS: [/\d{3}/, function(m) {
|
|
137
|
-
this.milliseconds = +m;
|
|
138
|
-
}], s: [h, p("seconds")], ss: [h, p("seconds")], m: [h, p("minutes")], mm: [h, p("minutes")], H: [h, p("hours")], h: [h, p("hours")], HH: [h, p("hours")], hh: [h, p("hours")], D: [h, p("day")], DD: [s, p("day")], Do: [f, function(m) {
|
|
139
|
-
var E = b.ordinal, L = m.match(/\d+/);
|
|
140
|
-
if (this.day = L[0], E) for (var I = 1; I <= 31; I += 1) E(I).replace(/\[|\]/g, "") === m && (this.day = I);
|
|
141
|
-
}], M: [h, p("month")], MM: [s, p("month")], MMM: [f, function(m) {
|
|
142
|
-
var E = M("months"), L = (M("monthsShort") || E.map(function(I) {
|
|
143
|
-
return I.slice(0, 3);
|
|
144
|
-
})).indexOf(m) + 1;
|
|
145
|
-
if (L < 1) throw new Error();
|
|
146
|
-
this.month = L % 12 || L;
|
|
147
|
-
}], MMMM: [f, function(m) {
|
|
148
|
-
var E = M("months").indexOf(m) + 1;
|
|
149
|
-
if (E < 1) throw new Error();
|
|
150
|
-
this.month = E % 12 || E;
|
|
151
|
-
}], Y: [/[+-]?\d+/, p("year")], YY: [s, function(m) {
|
|
152
|
-
this.year = A(m);
|
|
153
|
-
}], YYYY: [/\d{4}/, p("year")], Z: C, ZZ: C };
|
|
154
|
-
function q(m) {
|
|
155
|
-
var E, L;
|
|
156
|
-
E = m, L = b && b.formats;
|
|
157
|
-
for (var I = (m = E.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(w, x, v) {
|
|
158
|
-
var k = v && v.toUpperCase();
|
|
159
|
-
return x || L[v] || r[v] || L[k].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(D, o, u) {
|
|
160
|
-
return o || u.slice(1);
|
|
161
|
-
});
|
|
162
|
-
})).match(a), z = I.length, R = 0; R < z; R += 1) {
|
|
163
|
-
var X = I[R], N = T[X], V = N && N[0], g = N && N[1];
|
|
164
|
-
I[R] = g ? { regex: V, parser: g } : X.replace(/^\[|\]$/g, "");
|
|
165
|
-
}
|
|
166
|
-
return function(w) {
|
|
167
|
-
for (var x = {}, v = 0, k = 0; v < z; v += 1) {
|
|
168
|
-
var D = I[v];
|
|
169
|
-
if (typeof D == "string") k += D.length;
|
|
170
|
-
else {
|
|
171
|
-
var o = D.regex, u = D.parser, y = w.slice(k), d = o.exec(y)[0];
|
|
172
|
-
u.call(x, d), w = w.replace(d, "");
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
return function(_) {
|
|
176
|
-
var n = _.afternoon;
|
|
177
|
-
if (n !== void 0) {
|
|
178
|
-
var l = _.hours;
|
|
179
|
-
n ? l < 12 && (_.hours += 12) : l === 12 && (_.hours = 0), delete _.afternoon;
|
|
180
|
-
}
|
|
181
|
-
}(x), x;
|
|
182
|
-
};
|
|
183
|
-
}
|
|
184
|
-
return function(m, E, L) {
|
|
185
|
-
L.p.customParseFormat = !0, m && m.parseTwoDigitYear && (A = m.parseTwoDigitYear);
|
|
186
|
-
var I = E.prototype, z = I.parse;
|
|
187
|
-
I.parse = function(R) {
|
|
188
|
-
var X = R.date, N = R.utc, V = R.args;
|
|
189
|
-
this.$u = N;
|
|
190
|
-
var g = V[1];
|
|
191
|
-
if (typeof g == "string") {
|
|
192
|
-
var w = V[2] === !0, x = V[3] === !0, v = w || x, k = V[2];
|
|
193
|
-
x && (k = V[2]), b = this.$locale(), !w && k && (b = L.Ls[k]), this.$d = function(y, d, _) {
|
|
194
|
-
try {
|
|
195
|
-
if (["x", "X"].indexOf(d) > -1) return new Date((d === "X" ? 1e3 : 1) * y);
|
|
196
|
-
var n = q(d)(y), l = n.year, i = n.month, W = n.day, F = n.hours, Y = n.minutes, H = n.seconds, P = n.milliseconds, O = n.zone, U = /* @__PURE__ */ new Date(), et = W || (l || i ? 1 : U.getDate()), rt = l || U.getFullYear(), it = 0;
|
|
197
|
-
l && !i || (it = i > 0 ? i - 1 : U.getMonth());
|
|
198
|
-
var ut = F || 0, at = Y || 0, G = H || 0, Q = P || 0;
|
|
199
|
-
return O ? new Date(Date.UTC(rt, it, et, ut, at, G, Q + 60 * O.offset * 1e3)) : _ ? new Date(Date.UTC(rt, it, et, ut, at, G, Q)) : new Date(rt, it, et, ut, at, G, Q);
|
|
200
|
-
} catch {
|
|
201
|
-
return /* @__PURE__ */ new Date("");
|
|
202
|
-
}
|
|
203
|
-
}(X, g, N), this.init(), k && k !== !0 && (this.$L = this.locale(k).$L), v && X != this.format(g) && (this.$d = /* @__PURE__ */ new Date("")), b = {};
|
|
204
|
-
} else if (g instanceof Array) for (var D = g.length, o = 1; o <= D; o += 1) {
|
|
205
|
-
V[1] = g[o - 1];
|
|
206
|
-
var u = L.apply(this, V);
|
|
207
|
-
if (u.isValid()) {
|
|
208
|
-
this.$d = u.$d, this.$L = u.$L, this.init();
|
|
209
|
-
break;
|
|
210
|
-
}
|
|
211
|
-
o === D && (this.$d = /* @__PURE__ */ new Date(""));
|
|
212
|
-
}
|
|
213
|
-
else z.call(this, R);
|
|
214
|
-
};
|
|
215
|
-
};
|
|
216
|
-
});
|
|
217
|
-
}(xt)), xt.exports;
|
|
218
|
-
}
|
|
219
|
-
var $e = Je();
|
|
220
|
-
const tr = /* @__PURE__ */ Wt($e);
|
|
221
|
-
var Tt = { exports: {} }, er = Tt.exports, ne;
|
|
222
|
-
function rr() {
|
|
223
|
-
return ne || (ne = 1, function(t, e) {
|
|
224
|
-
(function(r, a) {
|
|
225
|
-
t.exports = a();
|
|
226
|
-
})(er, function() {
|
|
227
|
-
return function(r, a) {
|
|
228
|
-
var s = a.prototype, h = s.format;
|
|
229
|
-
s.format = function(f) {
|
|
230
|
-
var b = this, A = this.$locale();
|
|
231
|
-
if (!this.isValid()) return h.bind(this)(f);
|
|
232
|
-
var p = this.$utils(), C = (f || "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(M) {
|
|
233
|
-
switch (M) {
|
|
234
|
-
case "Q":
|
|
235
|
-
return Math.ceil((b.$M + 1) / 3);
|
|
236
|
-
case "Do":
|
|
237
|
-
return A.ordinal(b.$D);
|
|
238
|
-
case "gggg":
|
|
239
|
-
return b.weekYear();
|
|
240
|
-
case "GGGG":
|
|
241
|
-
return b.isoWeekYear();
|
|
242
|
-
case "wo":
|
|
243
|
-
return A.ordinal(b.week(), "W");
|
|
244
|
-
case "w":
|
|
245
|
-
case "ww":
|
|
246
|
-
return p.s(b.week(), M === "w" ? 1 : 2, "0");
|
|
247
|
-
case "W":
|
|
248
|
-
case "WW":
|
|
249
|
-
return p.s(b.isoWeek(), M === "W" ? 1 : 2, "0");
|
|
250
|
-
case "k":
|
|
251
|
-
case "kk":
|
|
252
|
-
return p.s(String(b.$H === 0 ? 24 : b.$H), M === "k" ? 1 : 2, "0");
|
|
253
|
-
case "X":
|
|
254
|
-
return Math.floor(b.$d.getTime() / 1e3);
|
|
255
|
-
case "x":
|
|
256
|
-
return b.$d.getTime();
|
|
257
|
-
case "z":
|
|
258
|
-
return "[" + b.offsetName() + "]";
|
|
259
|
-
case "zzz":
|
|
260
|
-
return "[" + b.offsetName("long") + "]";
|
|
261
|
-
default:
|
|
262
|
-
return M;
|
|
263
|
-
}
|
|
264
|
-
});
|
|
265
|
-
return h.bind(this)(C);
|
|
266
|
-
};
|
|
267
|
-
};
|
|
268
|
-
});
|
|
269
|
-
}(Tt)), Tt.exports;
|
|
270
|
-
}
|
|
271
|
-
var nr = rr();
|
|
272
|
-
const ir = /* @__PURE__ */ Wt(nr);
|
|
273
|
-
var It = function() {
|
|
274
|
-
var t = /* @__PURE__ */ c(function(D, o, u, y) {
|
|
275
|
-
for (u = u || {}, y = D.length; y--; u[D[y]] = o) ;
|
|
276
|
-
return u;
|
|
277
|
-
}, "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], r = [1, 26], a = [1, 27], s = [1, 28], h = [1, 29], f = [1, 30], b = [1, 31], A = [1, 32], p = [1, 33], C = [1, 34], M = [1, 9], S = [1, 10], T = [1, 11], q = [1, 12], m = [1, 13], E = [1, 14], L = [1, 15], I = [1, 16], z = [1, 19], R = [1, 20], X = [1, 21], N = [1, 22], V = [1, 23], g = [1, 25], w = [1, 35], x = {
|
|
278
|
-
trace: /* @__PURE__ */ c(function() {
|
|
279
|
-
}, "trace"),
|
|
280
|
-
yy: {},
|
|
281
|
-
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 },
|
|
282
|
-
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" },
|
|
283
|
-
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]],
|
|
284
|
-
performAction: /* @__PURE__ */ c(function(o, u, y, d, _, n, l) {
|
|
285
|
-
var i = n.length - 1;
|
|
286
|
-
switch (_) {
|
|
287
|
-
case 1:
|
|
288
|
-
return n[i - 1];
|
|
289
|
-
case 2:
|
|
290
|
-
this.$ = [];
|
|
291
|
-
break;
|
|
292
|
-
case 3:
|
|
293
|
-
n[i - 1].push(n[i]), this.$ = n[i - 1];
|
|
294
|
-
break;
|
|
295
|
-
case 4:
|
|
296
|
-
case 5:
|
|
297
|
-
this.$ = n[i];
|
|
298
|
-
break;
|
|
299
|
-
case 6:
|
|
300
|
-
case 7:
|
|
301
|
-
this.$ = [];
|
|
302
|
-
break;
|
|
303
|
-
case 8:
|
|
304
|
-
d.setWeekday("monday");
|
|
305
|
-
break;
|
|
306
|
-
case 9:
|
|
307
|
-
d.setWeekday("tuesday");
|
|
308
|
-
break;
|
|
309
|
-
case 10:
|
|
310
|
-
d.setWeekday("wednesday");
|
|
311
|
-
break;
|
|
312
|
-
case 11:
|
|
313
|
-
d.setWeekday("thursday");
|
|
314
|
-
break;
|
|
315
|
-
case 12:
|
|
316
|
-
d.setWeekday("friday");
|
|
317
|
-
break;
|
|
318
|
-
case 13:
|
|
319
|
-
d.setWeekday("saturday");
|
|
320
|
-
break;
|
|
321
|
-
case 14:
|
|
322
|
-
d.setWeekday("sunday");
|
|
323
|
-
break;
|
|
324
|
-
case 15:
|
|
325
|
-
d.setWeekend("friday");
|
|
326
|
-
break;
|
|
327
|
-
case 16:
|
|
328
|
-
d.setWeekend("saturday");
|
|
329
|
-
break;
|
|
330
|
-
case 17:
|
|
331
|
-
d.setDateFormat(n[i].substr(11)), this.$ = n[i].substr(11);
|
|
332
|
-
break;
|
|
333
|
-
case 18:
|
|
334
|
-
d.enableInclusiveEndDates(), this.$ = n[i].substr(18);
|
|
335
|
-
break;
|
|
336
|
-
case 19:
|
|
337
|
-
d.TopAxis(), this.$ = n[i].substr(8);
|
|
338
|
-
break;
|
|
339
|
-
case 20:
|
|
340
|
-
d.setAxisFormat(n[i].substr(11)), this.$ = n[i].substr(11);
|
|
341
|
-
break;
|
|
342
|
-
case 21:
|
|
343
|
-
d.setTickInterval(n[i].substr(13)), this.$ = n[i].substr(13);
|
|
344
|
-
break;
|
|
345
|
-
case 22:
|
|
346
|
-
d.setExcludes(n[i].substr(9)), this.$ = n[i].substr(9);
|
|
347
|
-
break;
|
|
348
|
-
case 23:
|
|
349
|
-
d.setIncludes(n[i].substr(9)), this.$ = n[i].substr(9);
|
|
350
|
-
break;
|
|
351
|
-
case 24:
|
|
352
|
-
d.setTodayMarker(n[i].substr(12)), this.$ = n[i].substr(12);
|
|
353
|
-
break;
|
|
354
|
-
case 27:
|
|
355
|
-
d.setDiagramTitle(n[i].substr(6)), this.$ = n[i].substr(6);
|
|
356
|
-
break;
|
|
357
|
-
case 28:
|
|
358
|
-
this.$ = n[i].trim(), d.setAccTitle(this.$);
|
|
359
|
-
break;
|
|
360
|
-
case 29:
|
|
361
|
-
case 30:
|
|
362
|
-
this.$ = n[i].trim(), d.setAccDescription(this.$);
|
|
363
|
-
break;
|
|
364
|
-
case 31:
|
|
365
|
-
d.addSection(n[i].substr(8)), this.$ = n[i].substr(8);
|
|
366
|
-
break;
|
|
367
|
-
case 33:
|
|
368
|
-
d.addTask(n[i - 1], n[i]), this.$ = "task";
|
|
369
|
-
break;
|
|
370
|
-
case 34:
|
|
371
|
-
this.$ = n[i - 1], d.setClickEvent(n[i - 1], n[i], null);
|
|
372
|
-
break;
|
|
373
|
-
case 35:
|
|
374
|
-
this.$ = n[i - 2], d.setClickEvent(n[i - 2], n[i - 1], n[i]);
|
|
375
|
-
break;
|
|
376
|
-
case 36:
|
|
377
|
-
this.$ = n[i - 2], d.setClickEvent(n[i - 2], n[i - 1], null), d.setLink(n[i - 2], n[i]);
|
|
378
|
-
break;
|
|
379
|
-
case 37:
|
|
380
|
-
this.$ = n[i - 3], d.setClickEvent(n[i - 3], n[i - 2], n[i - 1]), d.setLink(n[i - 3], n[i]);
|
|
381
|
-
break;
|
|
382
|
-
case 38:
|
|
383
|
-
this.$ = n[i - 2], d.setClickEvent(n[i - 2], n[i], null), d.setLink(n[i - 2], n[i - 1]);
|
|
384
|
-
break;
|
|
385
|
-
case 39:
|
|
386
|
-
this.$ = n[i - 3], d.setClickEvent(n[i - 3], n[i - 1], n[i]), d.setLink(n[i - 3], n[i - 2]);
|
|
387
|
-
break;
|
|
388
|
-
case 40:
|
|
389
|
-
this.$ = n[i - 1], d.setLink(n[i - 1], n[i]);
|
|
390
|
-
break;
|
|
391
|
-
case 41:
|
|
392
|
-
case 47:
|
|
393
|
-
this.$ = n[i - 1] + " " + n[i];
|
|
394
|
-
break;
|
|
395
|
-
case 42:
|
|
396
|
-
case 43:
|
|
397
|
-
case 45:
|
|
398
|
-
this.$ = n[i - 2] + " " + n[i - 1] + " " + n[i];
|
|
399
|
-
break;
|
|
400
|
-
case 44:
|
|
401
|
-
case 46:
|
|
402
|
-
this.$ = n[i - 3] + " " + n[i - 2] + " " + n[i - 1] + " " + n[i];
|
|
403
|
-
break;
|
|
404
|
-
}
|
|
405
|
-
}, "anonymous"),
|
|
406
|
-
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: r, 13: a, 14: s, 15: h, 16: f, 17: b, 18: A, 19: 18, 20: p, 21: C, 22: M, 23: S, 24: T, 25: q, 26: m, 27: E, 28: L, 29: I, 30: z, 31: R, 33: X, 35: N, 36: V, 37: 24, 38: g, 40: w }, t(e, [2, 7], { 1: [2, 1] }), t(e, [2, 3]), { 9: 36, 11: 17, 12: r, 13: a, 14: s, 15: h, 16: f, 17: b, 18: A, 19: 18, 20: p, 21: C, 22: M, 23: S, 24: T, 25: q, 26: m, 27: E, 28: L, 29: I, 30: z, 31: R, 33: X, 35: N, 36: V, 37: 24, 38: g, 40: w }, 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])],
|
|
407
|
-
defaultActions: {},
|
|
408
|
-
parseError: /* @__PURE__ */ c(function(o, u) {
|
|
409
|
-
if (u.recoverable)
|
|
410
|
-
this.trace(o);
|
|
411
|
-
else {
|
|
412
|
-
var y = new Error(o);
|
|
413
|
-
throw y.hash = u, y;
|
|
414
|
-
}
|
|
415
|
-
}, "parseError"),
|
|
416
|
-
parse: /* @__PURE__ */ c(function(o) {
|
|
417
|
-
var u = this, y = [0], d = [], _ = [null], n = [], l = this.table, i = "", W = 0, F = 0, Y = 2, H = 1, P = n.slice.call(arguments, 1), O = Object.create(this.lexer), U = { yy: {} };
|
|
418
|
-
for (var et in this.yy)
|
|
419
|
-
Object.prototype.hasOwnProperty.call(this.yy, et) && (U.yy[et] = this.yy[et]);
|
|
420
|
-
O.setInput(o, U.yy), U.yy.lexer = O, U.yy.parser = this, typeof O.yylloc > "u" && (O.yylloc = {});
|
|
421
|
-
var rt = O.yylloc;
|
|
422
|
-
n.push(rt);
|
|
423
|
-
var it = O.options && O.options.ranges;
|
|
424
|
-
typeof U.yy.parseError == "function" ? this.parseError = U.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
425
|
-
function ut(K) {
|
|
426
|
-
y.length = y.length - 2 * K, _.length = _.length - K, n.length = n.length - K;
|
|
427
|
-
}
|
|
428
|
-
c(ut, "popStack");
|
|
429
|
-
function at() {
|
|
430
|
-
var K;
|
|
431
|
-
return K = d.pop() || O.lex() || H, typeof K != "number" && (K instanceof Array && (d = K, K = d.pop()), K = u.symbols_[K] || K), K;
|
|
432
|
-
}
|
|
433
|
-
c(at, "lex");
|
|
434
|
-
for (var G, Q, Z, Ct, st = {}, mt, $, Xt, kt; ; ) {
|
|
435
|
-
if (Q = y[y.length - 1], this.defaultActions[Q] ? Z = this.defaultActions[Q] : ((G === null || typeof G > "u") && (G = at()), Z = l[Q] && l[Q][G]), typeof Z > "u" || !Z.length || !Z[0]) {
|
|
436
|
-
var Et = "";
|
|
437
|
-
kt = [];
|
|
438
|
-
for (mt in l[Q])
|
|
439
|
-
this.terminals_[mt] && mt > Y && kt.push("'" + this.terminals_[mt] + "'");
|
|
440
|
-
O.showPosition ? Et = "Parse error on line " + (W + 1) + `:
|
|
441
|
-
` + O.showPosition() + `
|
|
442
|
-
Expecting ` + kt.join(", ") + ", got '" + (this.terminals_[G] || G) + "'" : Et = "Parse error on line " + (W + 1) + ": Unexpected " + (G == H ? "end of input" : "'" + (this.terminals_[G] || G) + "'"), this.parseError(Et, {
|
|
443
|
-
text: O.match,
|
|
444
|
-
token: this.terminals_[G] || G,
|
|
445
|
-
line: O.yylineno,
|
|
446
|
-
loc: rt,
|
|
447
|
-
expected: kt
|
|
448
|
-
});
|
|
449
|
-
}
|
|
450
|
-
if (Z[0] instanceof Array && Z.length > 1)
|
|
451
|
-
throw new Error("Parse Error: multiple actions possible at state: " + Q + ", token: " + G);
|
|
452
|
-
switch (Z[0]) {
|
|
453
|
-
case 1:
|
|
454
|
-
y.push(G), _.push(O.yytext), n.push(O.yylloc), y.push(Z[1]), G = null, F = O.yyleng, i = O.yytext, W = O.yylineno, rt = O.yylloc;
|
|
455
|
-
break;
|
|
456
|
-
case 2:
|
|
457
|
-
if ($ = this.productions_[Z[1]][1], st.$ = _[_.length - $], st._$ = {
|
|
458
|
-
first_line: n[n.length - ($ || 1)].first_line,
|
|
459
|
-
last_line: n[n.length - 1].last_line,
|
|
460
|
-
first_column: n[n.length - ($ || 1)].first_column,
|
|
461
|
-
last_column: n[n.length - 1].last_column
|
|
462
|
-
}, it && (st._$.range = [
|
|
463
|
-
n[n.length - ($ || 1)].range[0],
|
|
464
|
-
n[n.length - 1].range[1]
|
|
465
|
-
]), Ct = this.performAction.apply(st, [
|
|
466
|
-
i,
|
|
467
|
-
F,
|
|
468
|
-
W,
|
|
469
|
-
U.yy,
|
|
470
|
-
Z[1],
|
|
471
|
-
_,
|
|
472
|
-
n
|
|
473
|
-
].concat(P)), typeof Ct < "u")
|
|
474
|
-
return Ct;
|
|
475
|
-
$ && (y = y.slice(0, -1 * $ * 2), _ = _.slice(0, -1 * $), n = n.slice(0, -1 * $)), y.push(this.productions_[Z[1]][0]), _.push(st.$), n.push(st._$), Xt = l[y[y.length - 2]][y[y.length - 1]], y.push(Xt);
|
|
476
|
-
break;
|
|
477
|
-
case 3:
|
|
478
|
-
return !0;
|
|
479
|
-
}
|
|
480
|
-
}
|
|
481
|
-
return !0;
|
|
482
|
-
}, "parse")
|
|
483
|
-
}, v = /* @__PURE__ */ function() {
|
|
484
|
-
var D = {
|
|
485
|
-
EOF: 1,
|
|
486
|
-
parseError: /* @__PURE__ */ c(function(u, y) {
|
|
487
|
-
if (this.yy.parser)
|
|
488
|
-
this.yy.parser.parseError(u, y);
|
|
489
|
-
else
|
|
490
|
-
throw new Error(u);
|
|
491
|
-
}, "parseError"),
|
|
492
|
-
// resets the lexer, sets new input
|
|
493
|
-
setInput: /* @__PURE__ */ c(function(o, u) {
|
|
494
|
-
return this.yy = u || this.yy || {}, this._input = o, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
|
|
495
|
-
first_line: 1,
|
|
496
|
-
first_column: 0,
|
|
497
|
-
last_line: 1,
|
|
498
|
-
last_column: 0
|
|
499
|
-
}, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
|
|
500
|
-
}, "setInput"),
|
|
501
|
-
// consumes and returns one char from the input
|
|
502
|
-
input: /* @__PURE__ */ c(function() {
|
|
503
|
-
var o = this._input[0];
|
|
504
|
-
this.yytext += o, this.yyleng++, this.offset++, this.match += o, this.matched += o;
|
|
505
|
-
var u = o.match(/(?:\r\n?|\n).*/g);
|
|
506
|
-
return u ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), o;
|
|
507
|
-
}, "input"),
|
|
508
|
-
// unshifts one char (or a string) into the input
|
|
509
|
-
unput: /* @__PURE__ */ c(function(o) {
|
|
510
|
-
var u = o.length, y = o.split(/(?:\r\n?|\n)/g);
|
|
511
|
-
this._input = o + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - u), this.offset -= u;
|
|
512
|
-
var d = this.match.split(/(?:\r\n?|\n)/g);
|
|
513
|
-
this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), y.length - 1 && (this.yylineno -= y.length - 1);
|
|
514
|
-
var _ = this.yylloc.range;
|
|
515
|
-
return this.yylloc = {
|
|
516
|
-
first_line: this.yylloc.first_line,
|
|
517
|
-
last_line: this.yylineno + 1,
|
|
518
|
-
first_column: this.yylloc.first_column,
|
|
519
|
-
last_column: y ? (y.length === d.length ? this.yylloc.first_column : 0) + d[d.length - y.length].length - y[0].length : this.yylloc.first_column - u
|
|
520
|
-
}, this.options.ranges && (this.yylloc.range = [_[0], _[0] + this.yyleng - u]), this.yyleng = this.yytext.length, this;
|
|
521
|
-
}, "unput"),
|
|
522
|
-
// When called from action, caches matched text and appends it on next action
|
|
523
|
-
more: /* @__PURE__ */ c(function() {
|
|
524
|
-
return this._more = !0, this;
|
|
525
|
-
}, "more"),
|
|
526
|
-
// 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.
|
|
527
|
-
reject: /* @__PURE__ */ c(function() {
|
|
528
|
-
if (this.options.backtrack_lexer)
|
|
529
|
-
this._backtrack = !0;
|
|
530
|
-
else
|
|
531
|
-
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).
|
|
532
|
-
` + this.showPosition(), {
|
|
533
|
-
text: "",
|
|
534
|
-
token: null,
|
|
535
|
-
line: this.yylineno
|
|
536
|
-
});
|
|
537
|
-
return this;
|
|
538
|
-
}, "reject"),
|
|
539
|
-
// retain first n characters of the match
|
|
540
|
-
less: /* @__PURE__ */ c(function(o) {
|
|
541
|
-
this.unput(this.match.slice(o));
|
|
542
|
-
}, "less"),
|
|
543
|
-
// displays already matched input, i.e. for error messages
|
|
544
|
-
pastInput: /* @__PURE__ */ c(function() {
|
|
545
|
-
var o = this.matched.substr(0, this.matched.length - this.match.length);
|
|
546
|
-
return (o.length > 20 ? "..." : "") + o.substr(-20).replace(/\n/g, "");
|
|
547
|
-
}, "pastInput"),
|
|
548
|
-
// displays upcoming input, i.e. for error messages
|
|
549
|
-
upcomingInput: /* @__PURE__ */ c(function() {
|
|
550
|
-
var o = this.match;
|
|
551
|
-
return o.length < 20 && (o += this._input.substr(0, 20 - o.length)), (o.substr(0, 20) + (o.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
552
|
-
}, "upcomingInput"),
|
|
553
|
-
// displays the character position where the lexing error occurred, i.e. for error messages
|
|
554
|
-
showPosition: /* @__PURE__ */ c(function() {
|
|
555
|
-
var o = this.pastInput(), u = new Array(o.length + 1).join("-");
|
|
556
|
-
return o + this.upcomingInput() + `
|
|
557
|
-
` + u + "^";
|
|
558
|
-
}, "showPosition"),
|
|
559
|
-
// test the lexed token: return FALSE when not a match, otherwise return token
|
|
560
|
-
test_match: /* @__PURE__ */ c(function(o, u) {
|
|
561
|
-
var y, d, _;
|
|
562
|
-
if (this.options.backtrack_lexer && (_ = {
|
|
563
|
-
yylineno: this.yylineno,
|
|
564
|
-
yylloc: {
|
|
565
|
-
first_line: this.yylloc.first_line,
|
|
566
|
-
last_line: this.last_line,
|
|
567
|
-
first_column: this.yylloc.first_column,
|
|
568
|
-
last_column: this.yylloc.last_column
|
|
569
|
-
},
|
|
570
|
-
yytext: this.yytext,
|
|
571
|
-
match: this.match,
|
|
572
|
-
matches: this.matches,
|
|
573
|
-
matched: this.matched,
|
|
574
|
-
yyleng: this.yyleng,
|
|
575
|
-
offset: this.offset,
|
|
576
|
-
_more: this._more,
|
|
577
|
-
_input: this._input,
|
|
578
|
-
yy: this.yy,
|
|
579
|
-
conditionStack: this.conditionStack.slice(0),
|
|
580
|
-
done: this.done
|
|
581
|
-
}, this.options.ranges && (_.yylloc.range = this.yylloc.range.slice(0))), d = o[0].match(/(?:\r\n?|\n).*/g), d && (this.yylineno += d.length), this.yylloc = {
|
|
582
|
-
first_line: this.yylloc.last_line,
|
|
583
|
-
last_line: this.yylineno + 1,
|
|
584
|
-
first_column: this.yylloc.last_column,
|
|
585
|
-
last_column: d ? d[d.length - 1].length - d[d.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + o[0].length
|
|
586
|
-
}, this.yytext += o[0], this.match += o[0], this.matches = o, 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(o[0].length), this.matched += o[0], y = this.performAction.call(this, this.yy, this, u, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), y)
|
|
587
|
-
return y;
|
|
588
|
-
if (this._backtrack) {
|
|
589
|
-
for (var n in _)
|
|
590
|
-
this[n] = _[n];
|
|
591
|
-
return !1;
|
|
592
|
-
}
|
|
593
|
-
return !1;
|
|
594
|
-
}, "test_match"),
|
|
595
|
-
// return next match in input
|
|
596
|
-
next: /* @__PURE__ */ c(function() {
|
|
597
|
-
if (this.done)
|
|
598
|
-
return this.EOF;
|
|
599
|
-
this._input || (this.done = !0);
|
|
600
|
-
var o, u, y, d;
|
|
601
|
-
this._more || (this.yytext = "", this.match = "");
|
|
602
|
-
for (var _ = this._currentRules(), n = 0; n < _.length; n++)
|
|
603
|
-
if (y = this._input.match(this.rules[_[n]]), y && (!u || y[0].length > u[0].length)) {
|
|
604
|
-
if (u = y, d = n, this.options.backtrack_lexer) {
|
|
605
|
-
if (o = this.test_match(y, _[n]), o !== !1)
|
|
606
|
-
return o;
|
|
607
|
-
if (this._backtrack) {
|
|
608
|
-
u = !1;
|
|
609
|
-
continue;
|
|
610
|
-
} else
|
|
611
|
-
return !1;
|
|
612
|
-
} else if (!this.options.flex)
|
|
613
|
-
break;
|
|
614
|
-
}
|
|
615
|
-
return u ? (o = this.test_match(u, _[d]), o !== !1 ? o : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
|
|
616
|
-
` + this.showPosition(), {
|
|
617
|
-
text: "",
|
|
618
|
-
token: null,
|
|
619
|
-
line: this.yylineno
|
|
620
|
-
});
|
|
621
|
-
}, "next"),
|
|
622
|
-
// return next match that has a token
|
|
623
|
-
lex: /* @__PURE__ */ c(function() {
|
|
624
|
-
var u = this.next();
|
|
625
|
-
return u || this.lex();
|
|
626
|
-
}, "lex"),
|
|
627
|
-
// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
|
|
628
|
-
begin: /* @__PURE__ */ c(function(u) {
|
|
629
|
-
this.conditionStack.push(u);
|
|
630
|
-
}, "begin"),
|
|
631
|
-
// pop the previously active lexer condition state off the condition stack
|
|
632
|
-
popState: /* @__PURE__ */ c(function() {
|
|
633
|
-
var u = this.conditionStack.length - 1;
|
|
634
|
-
return u > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
635
|
-
}, "popState"),
|
|
636
|
-
// produce the lexer rule set which is active for the currently active lexer condition state
|
|
637
|
-
_currentRules: /* @__PURE__ */ c(function() {
|
|
638
|
-
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
|
|
639
|
-
}, "_currentRules"),
|
|
640
|
-
// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
|
|
641
|
-
topState: /* @__PURE__ */ c(function(u) {
|
|
642
|
-
return u = this.conditionStack.length - 1 - Math.abs(u || 0), u >= 0 ? this.conditionStack[u] : "INITIAL";
|
|
643
|
-
}, "topState"),
|
|
644
|
-
// alias for begin(condition)
|
|
645
|
-
pushState: /* @__PURE__ */ c(function(u) {
|
|
646
|
-
this.begin(u);
|
|
647
|
-
}, "pushState"),
|
|
648
|
-
// return the number of states currently on the stack
|
|
649
|
-
stateStackSize: /* @__PURE__ */ c(function() {
|
|
650
|
-
return this.conditionStack.length;
|
|
651
|
-
}, "stateStackSize"),
|
|
652
|
-
options: { "case-insensitive": !0 },
|
|
653
|
-
performAction: /* @__PURE__ */ c(function(u, y, d, _) {
|
|
654
|
-
switch (d) {
|
|
655
|
-
case 0:
|
|
656
|
-
return this.begin("open_directive"), "open_directive";
|
|
657
|
-
case 1:
|
|
658
|
-
return this.begin("acc_title"), 31;
|
|
659
|
-
case 2:
|
|
660
|
-
return this.popState(), "acc_title_value";
|
|
661
|
-
case 3:
|
|
662
|
-
return this.begin("acc_descr"), 33;
|
|
663
|
-
case 4:
|
|
664
|
-
return this.popState(), "acc_descr_value";
|
|
665
|
-
case 5:
|
|
666
|
-
this.begin("acc_descr_multiline");
|
|
667
|
-
break;
|
|
668
|
-
case 6:
|
|
669
|
-
this.popState();
|
|
670
|
-
break;
|
|
671
|
-
case 7:
|
|
672
|
-
return "acc_descr_multiline_value";
|
|
673
|
-
case 8:
|
|
674
|
-
break;
|
|
675
|
-
case 9:
|
|
676
|
-
break;
|
|
677
|
-
case 10:
|
|
678
|
-
break;
|
|
679
|
-
case 11:
|
|
680
|
-
return 10;
|
|
681
|
-
case 12:
|
|
682
|
-
break;
|
|
683
|
-
case 13:
|
|
684
|
-
break;
|
|
685
|
-
case 14:
|
|
686
|
-
this.begin("href");
|
|
687
|
-
break;
|
|
688
|
-
case 15:
|
|
689
|
-
this.popState();
|
|
690
|
-
break;
|
|
691
|
-
case 16:
|
|
692
|
-
return 43;
|
|
693
|
-
case 17:
|
|
694
|
-
this.begin("callbackname");
|
|
695
|
-
break;
|
|
696
|
-
case 18:
|
|
697
|
-
this.popState();
|
|
698
|
-
break;
|
|
699
|
-
case 19:
|
|
700
|
-
this.popState(), this.begin("callbackargs");
|
|
701
|
-
break;
|
|
702
|
-
case 20:
|
|
703
|
-
return 41;
|
|
704
|
-
case 21:
|
|
705
|
-
this.popState();
|
|
706
|
-
break;
|
|
707
|
-
case 22:
|
|
708
|
-
return 42;
|
|
709
|
-
case 23:
|
|
710
|
-
this.begin("click");
|
|
711
|
-
break;
|
|
712
|
-
case 24:
|
|
713
|
-
this.popState();
|
|
714
|
-
break;
|
|
715
|
-
case 25:
|
|
716
|
-
return 40;
|
|
717
|
-
case 26:
|
|
718
|
-
return 4;
|
|
719
|
-
case 27:
|
|
720
|
-
return 22;
|
|
721
|
-
case 28:
|
|
722
|
-
return 23;
|
|
723
|
-
case 29:
|
|
724
|
-
return 24;
|
|
725
|
-
case 30:
|
|
726
|
-
return 25;
|
|
727
|
-
case 31:
|
|
728
|
-
return 26;
|
|
729
|
-
case 32:
|
|
730
|
-
return 28;
|
|
731
|
-
case 33:
|
|
732
|
-
return 27;
|
|
733
|
-
case 34:
|
|
734
|
-
return 29;
|
|
735
|
-
case 35:
|
|
736
|
-
return 12;
|
|
737
|
-
case 36:
|
|
738
|
-
return 13;
|
|
739
|
-
case 37:
|
|
740
|
-
return 14;
|
|
741
|
-
case 38:
|
|
742
|
-
return 15;
|
|
743
|
-
case 39:
|
|
744
|
-
return 16;
|
|
745
|
-
case 40:
|
|
746
|
-
return 17;
|
|
747
|
-
case 41:
|
|
748
|
-
return 18;
|
|
749
|
-
case 42:
|
|
750
|
-
return 20;
|
|
751
|
-
case 43:
|
|
752
|
-
return 21;
|
|
753
|
-
case 44:
|
|
754
|
-
return "date";
|
|
755
|
-
case 45:
|
|
756
|
-
return 30;
|
|
757
|
-
case 46:
|
|
758
|
-
return "accDescription";
|
|
759
|
-
case 47:
|
|
760
|
-
return 36;
|
|
761
|
-
case 48:
|
|
762
|
-
return 38;
|
|
763
|
-
case 49:
|
|
764
|
-
return 39;
|
|
765
|
-
case 50:
|
|
766
|
-
return ":";
|
|
767
|
-
case 51:
|
|
768
|
-
return 6;
|
|
769
|
-
case 52:
|
|
770
|
-
return "INVALID";
|
|
771
|
-
}
|
|
772
|
-
}, "anonymous"),
|
|
773
|
-
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],
|
|
774
|
-
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 } }
|
|
775
|
-
};
|
|
776
|
-
return D;
|
|
777
|
-
}();
|
|
778
|
-
x.lexer = v;
|
|
779
|
-
function k() {
|
|
780
|
-
this.yy = {};
|
|
781
|
-
}
|
|
782
|
-
return c(k, "Parser"), k.prototype = x, x.Parser = k, new k();
|
|
783
|
-
}();
|
|
784
|
-
It.parser = It;
|
|
785
|
-
var ar = It;
|
|
786
|
-
j.extend(Ke);
|
|
787
|
-
j.extend(tr);
|
|
788
|
-
j.extend(ir);
|
|
789
|
-
var ie = { friday: 5, saturday: 6 }, J = "", Vt = "", Pt = void 0, Ot = "", dt = [], ft = [], zt = /* @__PURE__ */ new Map(), Rt = [], Dt = [], lt = "", Nt = "", ce = ["active", "done", "crit", "milestone"], Bt = [], ht = !1, qt = !1, Ht = "sunday", St = "saturday", Ft = 0, sr = /* @__PURE__ */ c(function() {
|
|
790
|
-
Rt = [], Dt = [], lt = "", Bt = [], bt = 0, Yt = void 0, wt = void 0, B = [], J = "", Vt = "", Nt = "", Pt = void 0, Ot = "", dt = [], ft = [], ht = !1, qt = !1, Ft = 0, zt = /* @__PURE__ */ new Map(), De(), Ht = "sunday", St = "saturday";
|
|
791
|
-
}, "clear"), or = /* @__PURE__ */ c(function(t) {
|
|
792
|
-
Vt = t;
|
|
793
|
-
}, "setAxisFormat"), cr = /* @__PURE__ */ c(function() {
|
|
794
|
-
return Vt;
|
|
795
|
-
}, "getAxisFormat"), lr = /* @__PURE__ */ c(function(t) {
|
|
796
|
-
Pt = t;
|
|
797
|
-
}, "setTickInterval"), ur = /* @__PURE__ */ c(function() {
|
|
798
|
-
return Pt;
|
|
799
|
-
}, "getTickInterval"), dr = /* @__PURE__ */ c(function(t) {
|
|
800
|
-
Ot = t;
|
|
801
|
-
}, "setTodayMarker"), fr = /* @__PURE__ */ c(function() {
|
|
802
|
-
return Ot;
|
|
803
|
-
}, "getTodayMarker"), hr = /* @__PURE__ */ c(function(t) {
|
|
804
|
-
J = t;
|
|
805
|
-
}, "setDateFormat"), mr = /* @__PURE__ */ c(function() {
|
|
806
|
-
ht = !0;
|
|
807
|
-
}, "enableInclusiveEndDates"), kr = /* @__PURE__ */ c(function() {
|
|
808
|
-
return ht;
|
|
809
|
-
}, "endDatesAreInclusive"), yr = /* @__PURE__ */ c(function() {
|
|
810
|
-
qt = !0;
|
|
811
|
-
}, "enableTopAxis"), gr = /* @__PURE__ */ c(function() {
|
|
812
|
-
return qt;
|
|
813
|
-
}, "topAxisEnabled"), pr = /* @__PURE__ */ c(function(t) {
|
|
814
|
-
Nt = t;
|
|
815
|
-
}, "setDisplayMode"), vr = /* @__PURE__ */ c(function() {
|
|
816
|
-
return Nt;
|
|
817
|
-
}, "getDisplayMode"), xr = /* @__PURE__ */ c(function() {
|
|
818
|
-
return J;
|
|
819
|
-
}, "getDateFormat"), Tr = /* @__PURE__ */ c(function(t) {
|
|
820
|
-
dt = t.toLowerCase().split(/[\s,]+/);
|
|
821
|
-
}, "setIncludes"), br = /* @__PURE__ */ c(function() {
|
|
822
|
-
return dt;
|
|
823
|
-
}, "getIncludes"), wr = /* @__PURE__ */ c(function(t) {
|
|
824
|
-
ft = t.toLowerCase().split(/[\s,]+/);
|
|
825
|
-
}, "setExcludes"), _r = /* @__PURE__ */ c(function() {
|
|
826
|
-
return ft;
|
|
827
|
-
}, "getExcludes"), Dr = /* @__PURE__ */ c(function() {
|
|
828
|
-
return zt;
|
|
829
|
-
}, "getLinks"), Sr = /* @__PURE__ */ c(function(t) {
|
|
830
|
-
lt = t, Rt.push(t);
|
|
831
|
-
}, "addSection"), Cr = /* @__PURE__ */ c(function() {
|
|
832
|
-
return Rt;
|
|
833
|
-
}, "getSections"), Er = /* @__PURE__ */ c(function() {
|
|
834
|
-
let t = ae();
|
|
835
|
-
const e = 10;
|
|
836
|
-
let r = 0;
|
|
837
|
-
for (; !t && r < e; )
|
|
838
|
-
t = ae(), r++;
|
|
839
|
-
return Dt = B, Dt;
|
|
840
|
-
}, "getTasks"), le = /* @__PURE__ */ c(function(t, e, r, a) {
|
|
841
|
-
return a.includes(t.format(e.trim())) ? !1 : r.includes("weekends") && (t.isoWeekday() === ie[St] || t.isoWeekday() === ie[St] + 1) || r.includes(t.format("dddd").toLowerCase()) ? !0 : r.includes(t.format(e.trim()));
|
|
842
|
-
}, "isInvalidDate"), Mr = /* @__PURE__ */ c(function(t) {
|
|
843
|
-
Ht = t;
|
|
844
|
-
}, "setWeekday"), Ar = /* @__PURE__ */ c(function() {
|
|
845
|
-
return Ht;
|
|
846
|
-
}, "getWeekday"), Ir = /* @__PURE__ */ c(function(t) {
|
|
847
|
-
St = t;
|
|
848
|
-
}, "setWeekend"), ue = /* @__PURE__ */ c(function(t, e, r, a) {
|
|
849
|
-
if (!r.length || t.manualEndTime)
|
|
850
|
-
return;
|
|
851
|
-
let s;
|
|
852
|
-
t.startTime instanceof Date ? s = j(t.startTime) : s = j(t.startTime, e, !0), s = s.add(1, "d");
|
|
853
|
-
let h;
|
|
854
|
-
t.endTime instanceof Date ? h = j(t.endTime) : h = j(t.endTime, e, !0);
|
|
855
|
-
const [f, b] = Fr(
|
|
856
|
-
s,
|
|
857
|
-
h,
|
|
858
|
-
e,
|
|
859
|
-
r,
|
|
860
|
-
a
|
|
861
|
-
);
|
|
862
|
-
t.endTime = f.toDate(), t.renderEndTime = b;
|
|
863
|
-
}, "checkTaskDates"), Fr = /* @__PURE__ */ c(function(t, e, r, a, s) {
|
|
864
|
-
let h = !1, f = null;
|
|
865
|
-
for (; t <= e; )
|
|
866
|
-
h || (f = e.toDate()), h = le(t, r, a, s), h && (e = e.add(1, "d")), t = t.add(1, "d");
|
|
867
|
-
return [e, f];
|
|
868
|
-
}, "fixTaskDates"), Lt = /* @__PURE__ */ c(function(t, e, r) {
|
|
869
|
-
r = r.trim();
|
|
870
|
-
const s = /^after\s+(?<ids>[\d\w- ]+)/.exec(r);
|
|
871
|
-
if (s !== null) {
|
|
872
|
-
let f = null;
|
|
873
|
-
for (const A of s.groups.ids.split(" ")) {
|
|
874
|
-
let p = nt(A);
|
|
875
|
-
p !== void 0 && (!f || p.endTime > f.endTime) && (f = p);
|
|
876
|
-
}
|
|
877
|
-
if (f)
|
|
878
|
-
return f.endTime;
|
|
879
|
-
const b = /* @__PURE__ */ new Date();
|
|
880
|
-
return b.setHours(0, 0, 0, 0), b;
|
|
881
|
-
}
|
|
882
|
-
let h = j(r, e.trim(), !0);
|
|
883
|
-
if (h.isValid())
|
|
884
|
-
return h.toDate();
|
|
885
|
-
{
|
|
886
|
-
_t.debug("Invalid date:" + r), _t.debug("With date format:" + e.trim());
|
|
887
|
-
const f = new Date(r);
|
|
888
|
-
if (f === void 0 || isNaN(f.getTime()) || // WebKit browsers can mis-parse invalid dates to be ridiculously
|
|
889
|
-
// huge numbers, e.g. new Date('202304') gets parsed as January 1, 202304.
|
|
890
|
-
// This can cause virtually infinite loops while rendering, so for the
|
|
891
|
-
// purposes of Gantt charts we'll just treat any date beyond 10,000 AD/BC as
|
|
892
|
-
// invalid.
|
|
893
|
-
f.getFullYear() < -1e4 || f.getFullYear() > 1e4)
|
|
894
|
-
throw new Error("Invalid date:" + r);
|
|
895
|
-
return f;
|
|
896
|
-
}
|
|
897
|
-
}, "getStartDate"), de = /* @__PURE__ */ c(function(t) {
|
|
898
|
-
const e = /^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(t.trim());
|
|
899
|
-
return e !== null ? [Number.parseFloat(e[1]), e[2]] : [NaN, "ms"];
|
|
900
|
-
}, "parseDuration"), fe = /* @__PURE__ */ c(function(t, e, r, a = !1) {
|
|
901
|
-
r = r.trim();
|
|
902
|
-
const h = /^until\s+(?<ids>[\d\w- ]+)/.exec(r);
|
|
903
|
-
if (h !== null) {
|
|
904
|
-
let C = null;
|
|
905
|
-
for (const S of h.groups.ids.split(" ")) {
|
|
906
|
-
let T = nt(S);
|
|
907
|
-
T !== void 0 && (!C || T.startTime < C.startTime) && (C = T);
|
|
908
|
-
}
|
|
909
|
-
if (C)
|
|
910
|
-
return C.startTime;
|
|
911
|
-
const M = /* @__PURE__ */ new Date();
|
|
912
|
-
return M.setHours(0, 0, 0, 0), M;
|
|
913
|
-
}
|
|
914
|
-
let f = j(r, e.trim(), !0);
|
|
915
|
-
if (f.isValid())
|
|
916
|
-
return a && (f = f.add(1, "d")), f.toDate();
|
|
917
|
-
let b = j(t);
|
|
918
|
-
const [A, p] = de(r);
|
|
919
|
-
if (!Number.isNaN(A)) {
|
|
920
|
-
const C = b.add(A, p);
|
|
921
|
-
C.isValid() && (b = C);
|
|
922
|
-
}
|
|
923
|
-
return b.toDate();
|
|
924
|
-
}, "getEndDate"), bt = 0, ct = /* @__PURE__ */ c(function(t) {
|
|
925
|
-
return t === void 0 ? (bt = bt + 1, "task" + bt) : t;
|
|
926
|
-
}, "parseId"), Lr = /* @__PURE__ */ c(function(t, e) {
|
|
927
|
-
let r;
|
|
928
|
-
e.substr(0, 1) === ":" ? r = e.substr(1, e.length) : r = e;
|
|
929
|
-
const a = r.split(","), s = {};
|
|
930
|
-
Gt(a, s, ce);
|
|
931
|
-
for (let f = 0; f < a.length; f++)
|
|
932
|
-
a[f] = a[f].trim();
|
|
933
|
-
let h = "";
|
|
934
|
-
switch (a.length) {
|
|
935
|
-
case 1:
|
|
936
|
-
s.id = ct(), s.startTime = t.endTime, h = a[0];
|
|
937
|
-
break;
|
|
938
|
-
case 2:
|
|
939
|
-
s.id = ct(), s.startTime = Lt(void 0, J, a[0]), h = a[1];
|
|
940
|
-
break;
|
|
941
|
-
case 3:
|
|
942
|
-
s.id = ct(a[0]), s.startTime = Lt(void 0, J, a[1]), h = a[2];
|
|
943
|
-
break;
|
|
944
|
-
}
|
|
945
|
-
return h && (s.endTime = fe(s.startTime, J, h, ht), s.manualEndTime = j(h, "YYYY-MM-DD", !0).isValid(), ue(s, J, ft, dt)), s;
|
|
946
|
-
}, "compileData"), Yr = /* @__PURE__ */ c(function(t, e) {
|
|
947
|
-
let r;
|
|
948
|
-
e.substr(0, 1) === ":" ? r = e.substr(1, e.length) : r = e;
|
|
949
|
-
const a = r.split(","), s = {};
|
|
950
|
-
Gt(a, s, ce);
|
|
951
|
-
for (let h = 0; h < a.length; h++)
|
|
952
|
-
a[h] = a[h].trim();
|
|
953
|
-
switch (a.length) {
|
|
954
|
-
case 1:
|
|
955
|
-
s.id = ct(), s.startTime = {
|
|
956
|
-
type: "prevTaskEnd",
|
|
957
|
-
id: t
|
|
958
|
-
}, s.endTime = {
|
|
959
|
-
data: a[0]
|
|
960
|
-
};
|
|
961
|
-
break;
|
|
962
|
-
case 2:
|
|
963
|
-
s.id = ct(), s.startTime = {
|
|
964
|
-
type: "getStartDate",
|
|
965
|
-
startData: a[0]
|
|
966
|
-
}, s.endTime = {
|
|
967
|
-
data: a[1]
|
|
968
|
-
};
|
|
969
|
-
break;
|
|
970
|
-
case 3:
|
|
971
|
-
s.id = ct(a[0]), s.startTime = {
|
|
972
|
-
type: "getStartDate",
|
|
973
|
-
startData: a[1]
|
|
974
|
-
}, s.endTime = {
|
|
975
|
-
data: a[2]
|
|
976
|
-
};
|
|
977
|
-
break;
|
|
978
|
-
}
|
|
979
|
-
return s;
|
|
980
|
-
}, "parseData"), Yt, wt, B = [], he = {}, Wr = /* @__PURE__ */ c(function(t, e) {
|
|
981
|
-
const r = {
|
|
982
|
-
section: lt,
|
|
983
|
-
type: lt,
|
|
984
|
-
processed: !1,
|
|
985
|
-
manualEndTime: !1,
|
|
986
|
-
renderEndTime: null,
|
|
987
|
-
raw: { data: e },
|
|
988
|
-
task: t,
|
|
989
|
-
classes: []
|
|
990
|
-
}, a = Yr(wt, e);
|
|
991
|
-
r.raw.startTime = a.startTime, r.raw.endTime = a.endTime, r.id = a.id, r.prevTaskId = wt, r.active = a.active, r.done = a.done, r.crit = a.crit, r.milestone = a.milestone, r.order = Ft, Ft++;
|
|
992
|
-
const s = B.push(r);
|
|
993
|
-
wt = r.id, he[r.id] = s - 1;
|
|
994
|
-
}, "addTask"), nt = /* @__PURE__ */ c(function(t) {
|
|
995
|
-
const e = he[t];
|
|
996
|
-
return B[e];
|
|
997
|
-
}, "findTaskById"), Vr = /* @__PURE__ */ c(function(t, e) {
|
|
998
|
-
const r = {
|
|
999
|
-
section: lt,
|
|
1000
|
-
type: lt,
|
|
1001
|
-
description: t,
|
|
1002
|
-
task: t,
|
|
1003
|
-
classes: []
|
|
1004
|
-
}, a = Lr(Yt, e);
|
|
1005
|
-
r.startTime = a.startTime, r.endTime = a.endTime, r.id = a.id, r.active = a.active, r.done = a.done, r.crit = a.crit, r.milestone = a.milestone, Yt = r, Dt.push(r);
|
|
1006
|
-
}, "addTaskOrg"), ae = /* @__PURE__ */ c(function() {
|
|
1007
|
-
const t = /* @__PURE__ */ c(function(r) {
|
|
1008
|
-
const a = B[r];
|
|
1009
|
-
let s = "";
|
|
1010
|
-
switch (B[r].raw.startTime.type) {
|
|
1011
|
-
case "prevTaskEnd": {
|
|
1012
|
-
const h = nt(a.prevTaskId);
|
|
1013
|
-
a.startTime = h.endTime;
|
|
1014
|
-
break;
|
|
1015
|
-
}
|
|
1016
|
-
case "getStartDate":
|
|
1017
|
-
s = Lt(void 0, J, B[r].raw.startTime.startData), s && (B[r].startTime = s);
|
|
1018
|
-
break;
|
|
1019
|
-
}
|
|
1020
|
-
return B[r].startTime && (B[r].endTime = fe(
|
|
1021
|
-
B[r].startTime,
|
|
1022
|
-
J,
|
|
1023
|
-
B[r].raw.endTime.data,
|
|
1024
|
-
ht
|
|
1025
|
-
), B[r].endTime && (B[r].processed = !0, B[r].manualEndTime = j(
|
|
1026
|
-
B[r].raw.endTime.data,
|
|
1027
|
-
"YYYY-MM-DD",
|
|
1028
|
-
!0
|
|
1029
|
-
).isValid(), ue(B[r], J, ft, dt))), B[r].processed;
|
|
1030
|
-
}, "compileTask");
|
|
1031
|
-
let e = !0;
|
|
1032
|
-
for (const [r, a] of B.entries())
|
|
1033
|
-
t(r), e = e && a.processed;
|
|
1034
|
-
return e;
|
|
1035
|
-
}, "compileTasks"), Pr = /* @__PURE__ */ c(function(t, e) {
|
|
1036
|
-
let r = e;
|
|
1037
|
-
ot().securityLevel !== "loose" && (r = _e.sanitizeUrl(e)), t.split(",").forEach(function(a) {
|
|
1038
|
-
nt(a) !== void 0 && (ke(a, () => {
|
|
1039
|
-
window.open(r, "_self");
|
|
1040
|
-
}), zt.set(a, r));
|
|
1041
|
-
}), me(t, "clickable");
|
|
1042
|
-
}, "setLink"), me = /* @__PURE__ */ c(function(t, e) {
|
|
1043
|
-
t.split(",").forEach(function(r) {
|
|
1044
|
-
let a = nt(r);
|
|
1045
|
-
a !== void 0 && a.classes.push(e);
|
|
1046
|
-
});
|
|
1047
|
-
}, "setClass"), Or = /* @__PURE__ */ c(function(t, e, r) {
|
|
1048
|
-
if (ot().securityLevel !== "loose" || e === void 0)
|
|
1049
|
-
return;
|
|
1050
|
-
let a = [];
|
|
1051
|
-
if (typeof r == "string") {
|
|
1052
|
-
a = r.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);
|
|
1053
|
-
for (let h = 0; h < a.length; h++) {
|
|
1054
|
-
let f = a[h].trim();
|
|
1055
|
-
f.startsWith('"') && f.endsWith('"') && (f = f.substr(1, f.length - 2)), a[h] = f;
|
|
1056
|
-
}
|
|
1057
|
-
}
|
|
1058
|
-
a.length === 0 && a.push(t), nt(t) !== void 0 && ke(t, () => {
|
|
1059
|
-
Se.runFunc(e, ...a);
|
|
1060
|
-
});
|
|
1061
|
-
}, "setClickFun"), ke = /* @__PURE__ */ c(function(t, e) {
|
|
1062
|
-
Bt.push(
|
|
1063
|
-
function() {
|
|
1064
|
-
const r = document.querySelector(`[id="${t}"]`);
|
|
1065
|
-
r !== null && r.addEventListener("click", function() {
|
|
1066
|
-
e();
|
|
1067
|
-
});
|
|
1068
|
-
},
|
|
1069
|
-
function() {
|
|
1070
|
-
const r = document.querySelector(`[id="${t}-text"]`);
|
|
1071
|
-
r !== null && r.addEventListener("click", function() {
|
|
1072
|
-
e();
|
|
1073
|
-
});
|
|
1074
|
-
}
|
|
1075
|
-
);
|
|
1076
|
-
}, "pushFun"), zr = /* @__PURE__ */ c(function(t, e, r) {
|
|
1077
|
-
t.split(",").forEach(function(a) {
|
|
1078
|
-
Or(a, e, r);
|
|
1079
|
-
}), me(t, "clickable");
|
|
1080
|
-
}, "setClickEvent"), Rr = /* @__PURE__ */ c(function(t) {
|
|
1081
|
-
Bt.forEach(function(e) {
|
|
1082
|
-
e(t);
|
|
1083
|
-
});
|
|
1084
|
-
}, "bindFunctions"), Nr = {
|
|
1085
|
-
getConfig: /* @__PURE__ */ c(() => ot().gantt, "getConfig"),
|
|
1086
|
-
clear: sr,
|
|
1087
|
-
setDateFormat: hr,
|
|
1088
|
-
getDateFormat: xr,
|
|
1089
|
-
enableInclusiveEndDates: mr,
|
|
1090
|
-
endDatesAreInclusive: kr,
|
|
1091
|
-
enableTopAxis: yr,
|
|
1092
|
-
topAxisEnabled: gr,
|
|
1093
|
-
setAxisFormat: or,
|
|
1094
|
-
getAxisFormat: cr,
|
|
1095
|
-
setTickInterval: lr,
|
|
1096
|
-
getTickInterval: ur,
|
|
1097
|
-
setTodayMarker: dr,
|
|
1098
|
-
getTodayMarker: fr,
|
|
1099
|
-
setAccTitle: Te,
|
|
1100
|
-
getAccTitle: xe,
|
|
1101
|
-
setDiagramTitle: ve,
|
|
1102
|
-
getDiagramTitle: pe,
|
|
1103
|
-
setDisplayMode: pr,
|
|
1104
|
-
getDisplayMode: vr,
|
|
1105
|
-
setAccDescription: ge,
|
|
1106
|
-
getAccDescription: ye,
|
|
1107
|
-
addSection: Sr,
|
|
1108
|
-
getSections: Cr,
|
|
1109
|
-
getTasks: Er,
|
|
1110
|
-
addTask: Wr,
|
|
1111
|
-
findTaskById: nt,
|
|
1112
|
-
addTaskOrg: Vr,
|
|
1113
|
-
setIncludes: Tr,
|
|
1114
|
-
getIncludes: br,
|
|
1115
|
-
setExcludes: wr,
|
|
1116
|
-
getExcludes: _r,
|
|
1117
|
-
setClickEvent: zr,
|
|
1118
|
-
setLink: Pr,
|
|
1119
|
-
getLinks: Dr,
|
|
1120
|
-
bindFunctions: Rr,
|
|
1121
|
-
parseDuration: de,
|
|
1122
|
-
isInvalidDate: le,
|
|
1123
|
-
setWeekday: Mr,
|
|
1124
|
-
getWeekday: Ar,
|
|
1125
|
-
setWeekend: Ir
|
|
1126
|
-
};
|
|
1127
|
-
function Gt(t, e, r) {
|
|
1128
|
-
let a = !0;
|
|
1129
|
-
for (; a; )
|
|
1130
|
-
a = !1, r.forEach(function(s) {
|
|
1131
|
-
const h = "^\\s*" + s + "\\s*$", f = new RegExp(h);
|
|
1132
|
-
t[0].match(f) && (e[s] = !0, t.shift(1), a = !0);
|
|
1133
|
-
});
|
|
1134
|
-
}
|
|
1135
|
-
c(Gt, "getTaskTags");
|
|
1136
|
-
var Br = /* @__PURE__ */ c(function() {
|
|
1137
|
-
_t.debug("Something is calling, setConf, remove the call");
|
|
1138
|
-
}, "setConf"), se = {
|
|
1139
|
-
monday: Le,
|
|
1140
|
-
tuesday: Fe,
|
|
1141
|
-
wednesday: Ie,
|
|
1142
|
-
thursday: Ae,
|
|
1143
|
-
friday: Me,
|
|
1144
|
-
saturday: Ee,
|
|
1145
|
-
sunday: Ce
|
|
1146
|
-
}, qr = /* @__PURE__ */ c((t, e) => {
|
|
1147
|
-
let r = [...t].map(() => -1 / 0), a = [...t].sort((h, f) => h.startTime - f.startTime || h.order - f.order), s = 0;
|
|
1148
|
-
for (const h of a)
|
|
1149
|
-
for (let f = 0; f < r.length; f++)
|
|
1150
|
-
if (h.startTime >= r[f]) {
|
|
1151
|
-
r[f] = h.endTime, h.order = f + e, f > s && (s = f);
|
|
1152
|
-
break;
|
|
1153
|
-
}
|
|
1154
|
-
return s;
|
|
1155
|
-
}, "getMaxIntersections"), tt, Hr = /* @__PURE__ */ c(function(t, e, r, a) {
|
|
1156
|
-
const s = ot().gantt, h = ot().securityLevel;
|
|
1157
|
-
let f;
|
|
1158
|
-
h === "sandbox" && (f = yt("#i" + e));
|
|
1159
|
-
const b = h === "sandbox" ? yt(f.nodes()[0].contentDocument.body) : yt("body"), A = h === "sandbox" ? f.nodes()[0].contentDocument : document, p = A.getElementById(e);
|
|
1160
|
-
tt = p.parentElement.offsetWidth, tt === void 0 && (tt = 1200), s.useWidth !== void 0 && (tt = s.useWidth);
|
|
1161
|
-
const C = a.db.getTasks();
|
|
1162
|
-
let M = [];
|
|
1163
|
-
for (const g of C)
|
|
1164
|
-
M.push(g.type);
|
|
1165
|
-
M = V(M);
|
|
1166
|
-
const S = {};
|
|
1167
|
-
let T = 2 * s.topPadding;
|
|
1168
|
-
if (a.db.getDisplayMode() === "compact" || s.displayMode === "compact") {
|
|
1169
|
-
const g = {};
|
|
1170
|
-
for (const x of C)
|
|
1171
|
-
g[x.section] === void 0 ? g[x.section] = [x] : g[x.section].push(x);
|
|
1172
|
-
let w = 0;
|
|
1173
|
-
for (const x of Object.keys(g)) {
|
|
1174
|
-
const v = qr(g[x], w) + 1;
|
|
1175
|
-
w += v, T += v * (s.barHeight + s.barGap), S[x] = v;
|
|
1176
|
-
}
|
|
1177
|
-
} else {
|
|
1178
|
-
T += C.length * (s.barHeight + s.barGap);
|
|
1179
|
-
for (const g of M)
|
|
1180
|
-
S[g] = C.filter((w) => w.type === g).length;
|
|
1181
|
-
}
|
|
1182
|
-
p.setAttribute("viewBox", "0 0 " + tt + " " + T);
|
|
1183
|
-
const q = b.select(`[id="${e}"]`), m = Ye().domain([
|
|
1184
|
-
We(C, function(g) {
|
|
1185
|
-
return g.startTime;
|
|
1186
|
-
}),
|
|
1187
|
-
Ve(C, function(g) {
|
|
1188
|
-
return g.endTime;
|
|
1189
|
-
})
|
|
1190
|
-
]).rangeRound([0, tt - s.leftPadding - s.rightPadding]);
|
|
1191
|
-
function E(g, w) {
|
|
1192
|
-
const x = g.startTime, v = w.startTime;
|
|
1193
|
-
let k = 0;
|
|
1194
|
-
return x > v ? k = 1 : x < v && (k = -1), k;
|
|
1195
|
-
}
|
|
1196
|
-
c(E, "taskCompare"), C.sort(E), L(C, tt, T), be(q, T, tt, s.useMaxWidth), q.append("text").text(a.db.getDiagramTitle()).attr("x", tt / 2).attr("y", s.titleTopMargin).attr("class", "titleText");
|
|
1197
|
-
function L(g, w, x) {
|
|
1198
|
-
const v = s.barHeight, k = v + s.barGap, D = s.topPadding, o = s.leftPadding, u = Oe().domain([0, M.length]).range(["#00B9FA", "#F95002"]).interpolate(Pe);
|
|
1199
|
-
z(
|
|
1200
|
-
k,
|
|
1201
|
-
D,
|
|
1202
|
-
o,
|
|
1203
|
-
w,
|
|
1204
|
-
x,
|
|
1205
|
-
g,
|
|
1206
|
-
a.db.getExcludes(),
|
|
1207
|
-
a.db.getIncludes()
|
|
1208
|
-
), R(o, D, w, x), I(g, k, D, o, v, u, w), X(k, D), N(o, D, w, x);
|
|
1209
|
-
}
|
|
1210
|
-
c(L, "makeGantt");
|
|
1211
|
-
function I(g, w, x, v, k, D, o) {
|
|
1212
|
-
const y = [...new Set(g.map((l) => l.order))].map((l) => g.find((i) => i.order === l));
|
|
1213
|
-
q.append("g").selectAll("rect").data(y).enter().append("rect").attr("x", 0).attr("y", function(l, i) {
|
|
1214
|
-
return i = l.order, i * w + x - 2;
|
|
1215
|
-
}).attr("width", function() {
|
|
1216
|
-
return o - s.rightPadding / 2;
|
|
1217
|
-
}).attr("height", w).attr("class", function(l) {
|
|
1218
|
-
for (const [i, W] of M.entries())
|
|
1219
|
-
if (l.type === W)
|
|
1220
|
-
return "section section" + i % s.numberSectionStyles;
|
|
1221
|
-
return "section section0";
|
|
1222
|
-
});
|
|
1223
|
-
const d = q.append("g").selectAll("rect").data(g).enter(), _ = a.db.getLinks();
|
|
1224
|
-
if (d.append("rect").attr("id", function(l) {
|
|
1225
|
-
return l.id;
|
|
1226
|
-
}).attr("rx", 3).attr("ry", 3).attr("x", function(l) {
|
|
1227
|
-
return l.milestone ? m(l.startTime) + v + 0.5 * (m(l.endTime) - m(l.startTime)) - 0.5 * k : m(l.startTime) + v;
|
|
1228
|
-
}).attr("y", function(l, i) {
|
|
1229
|
-
return i = l.order, i * w + x;
|
|
1230
|
-
}).attr("width", function(l) {
|
|
1231
|
-
return l.milestone ? k : m(l.renderEndTime || l.endTime) - m(l.startTime);
|
|
1232
|
-
}).attr("height", k).attr("transform-origin", function(l, i) {
|
|
1233
|
-
return i = l.order, (m(l.startTime) + v + 0.5 * (m(l.endTime) - m(l.startTime))).toString() + "px " + (i * w + x + 0.5 * k).toString() + "px";
|
|
1234
|
-
}).attr("class", function(l) {
|
|
1235
|
-
const i = "task";
|
|
1236
|
-
let W = "";
|
|
1237
|
-
l.classes.length > 0 && (W = l.classes.join(" "));
|
|
1238
|
-
let F = 0;
|
|
1239
|
-
for (const [H, P] of M.entries())
|
|
1240
|
-
l.type === P && (F = H % s.numberSectionStyles);
|
|
1241
|
-
let Y = "";
|
|
1242
|
-
return l.active ? l.crit ? Y += " activeCrit" : Y = " active" : l.done ? l.crit ? Y = " doneCrit" : Y = " done" : l.crit && (Y += " crit"), Y.length === 0 && (Y = " task"), l.milestone && (Y = " milestone " + Y), Y += F, Y += " " + W, i + Y;
|
|
1243
|
-
}), d.append("text").attr("id", function(l) {
|
|
1244
|
-
return l.id + "-text";
|
|
1245
|
-
}).text(function(l) {
|
|
1246
|
-
return l.task;
|
|
1247
|
-
}).attr("font-size", s.fontSize).attr("x", function(l) {
|
|
1248
|
-
let i = m(l.startTime), W = m(l.renderEndTime || l.endTime);
|
|
1249
|
-
l.milestone && (i += 0.5 * (m(l.endTime) - m(l.startTime)) - 0.5 * k), l.milestone && (W = i + k);
|
|
1250
|
-
const F = this.getBBox().width;
|
|
1251
|
-
return F > W - i ? W + F + 1.5 * s.leftPadding > o ? i + v - 5 : W + v + 5 : (W - i) / 2 + i + v;
|
|
1252
|
-
}).attr("y", function(l, i) {
|
|
1253
|
-
return i = l.order, i * w + s.barHeight / 2 + (s.fontSize / 2 - 2) + x;
|
|
1254
|
-
}).attr("text-height", k).attr("class", function(l) {
|
|
1255
|
-
const i = m(l.startTime);
|
|
1256
|
-
let W = m(l.endTime);
|
|
1257
|
-
l.milestone && (W = i + k);
|
|
1258
|
-
const F = this.getBBox().width;
|
|
1259
|
-
let Y = "";
|
|
1260
|
-
l.classes.length > 0 && (Y = l.classes.join(" "));
|
|
1261
|
-
let H = 0;
|
|
1262
|
-
for (const [O, U] of M.entries())
|
|
1263
|
-
l.type === U && (H = O % s.numberSectionStyles);
|
|
1264
|
-
let P = "";
|
|
1265
|
-
return l.active && (l.crit ? P = "activeCritText" + H : P = "activeText" + H), l.done ? l.crit ? P = P + " doneCritText" + H : P = P + " doneText" + H : l.crit && (P = P + " critText" + H), l.milestone && (P += " milestoneText"), F > W - i ? W + F + 1.5 * s.leftPadding > o ? Y + " taskTextOutsideLeft taskTextOutside" + H + " " + P : Y + " taskTextOutsideRight taskTextOutside" + H + " " + P + " width-" + F : Y + " taskText taskText" + H + " " + P + " width-" + F;
|
|
1266
|
-
}), ot().securityLevel === "sandbox") {
|
|
1267
|
-
let l;
|
|
1268
|
-
l = yt("#i" + e);
|
|
1269
|
-
const i = l.nodes()[0].contentDocument;
|
|
1270
|
-
d.filter(function(W) {
|
|
1271
|
-
return _.has(W.id);
|
|
1272
|
-
}).each(function(W) {
|
|
1273
|
-
var F = i.querySelector("#" + W.id), Y = i.querySelector("#" + W.id + "-text");
|
|
1274
|
-
const H = F.parentNode;
|
|
1275
|
-
var P = i.createElement("a");
|
|
1276
|
-
P.setAttribute("xlink:href", _.get(W.id)), P.setAttribute("target", "_top"), H.appendChild(P), P.appendChild(F), P.appendChild(Y);
|
|
1277
|
-
});
|
|
1278
|
-
}
|
|
1279
|
-
}
|
|
1280
|
-
c(I, "drawRects");
|
|
1281
|
-
function z(g, w, x, v, k, D, o, u) {
|
|
1282
|
-
if (o.length === 0 && u.length === 0)
|
|
1283
|
-
return;
|
|
1284
|
-
let y, d;
|
|
1285
|
-
for (const { startTime: F, endTime: Y } of D)
|
|
1286
|
-
(y === void 0 || F < y) && (y = F), (d === void 0 || Y > d) && (d = Y);
|
|
1287
|
-
if (!y || !d)
|
|
1288
|
-
return;
|
|
1289
|
-
if (j(d).diff(j(y), "year") > 5) {
|
|
1290
|
-
_t.warn(
|
|
1291
|
-
"The difference between the min and max time is more than 5 years. This will cause performance issues. Skipping drawing exclude days."
|
|
1292
|
-
);
|
|
1293
|
-
return;
|
|
1294
|
-
}
|
|
1295
|
-
const _ = a.db.getDateFormat(), n = [];
|
|
1296
|
-
let l = null, i = j(y);
|
|
1297
|
-
for (; i.valueOf() <= d; )
|
|
1298
|
-
a.db.isInvalidDate(i, _, o, u) ? l ? l.end = i : l = {
|
|
1299
|
-
start: i,
|
|
1300
|
-
end: i
|
|
1301
|
-
} : l && (n.push(l), l = null), i = i.add(1, "d");
|
|
1302
|
-
q.append("g").selectAll("rect").data(n).enter().append("rect").attr("id", function(F) {
|
|
1303
|
-
return "exclude-" + F.start.format("YYYY-MM-DD");
|
|
1304
|
-
}).attr("x", function(F) {
|
|
1305
|
-
return m(F.start) + x;
|
|
1306
|
-
}).attr("y", s.gridLineStartPadding).attr("width", function(F) {
|
|
1307
|
-
const Y = F.end.add(1, "day");
|
|
1308
|
-
return m(Y) - m(F.start);
|
|
1309
|
-
}).attr("height", k - w - s.gridLineStartPadding).attr("transform-origin", function(F, Y) {
|
|
1310
|
-
return (m(F.start) + x + 0.5 * (m(F.end) - m(F.start))).toString() + "px " + (Y * g + 0.5 * k).toString() + "px";
|
|
1311
|
-
}).attr("class", "exclude-range");
|
|
1312
|
-
}
|
|
1313
|
-
c(z, "drawExcludeDays");
|
|
1314
|
-
function R(g, w, x, v) {
|
|
1315
|
-
let k = Xe(m).tickSize(-v + w + s.gridLineStartPadding).tickFormat(jt(a.db.getAxisFormat() || s.axisFormat || "%Y-%m-%d"));
|
|
1316
|
-
const o = /^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(
|
|
1317
|
-
a.db.getTickInterval() || s.tickInterval
|
|
1318
|
-
);
|
|
1319
|
-
if (o !== null) {
|
|
1320
|
-
const u = o[1], y = o[2], d = a.db.getWeekday() || s.weekday;
|
|
1321
|
-
switch (y) {
|
|
1322
|
-
case "millisecond":
|
|
1323
|
-
k.ticks($t.every(u));
|
|
1324
|
-
break;
|
|
1325
|
-
case "second":
|
|
1326
|
-
k.ticks(Jt.every(u));
|
|
1327
|
-
break;
|
|
1328
|
-
case "minute":
|
|
1329
|
-
k.ticks(Qt.every(u));
|
|
1330
|
-
break;
|
|
1331
|
-
case "hour":
|
|
1332
|
-
k.ticks(Kt.every(u));
|
|
1333
|
-
break;
|
|
1334
|
-
case "day":
|
|
1335
|
-
k.ticks(Zt.every(u));
|
|
1336
|
-
break;
|
|
1337
|
-
case "week":
|
|
1338
|
-
k.ticks(se[d].every(u));
|
|
1339
|
-
break;
|
|
1340
|
-
case "month":
|
|
1341
|
-
k.ticks(Ut.every(u));
|
|
1342
|
-
break;
|
|
1343
|
-
}
|
|
1344
|
-
}
|
|
1345
|
-
if (q.append("g").attr("class", "grid").attr("transform", "translate(" + g + ", " + (v - 50) + ")").call(k).selectAll("text").style("text-anchor", "middle").attr("fill", "#000").attr("stroke", "none").attr("font-size", 10).attr("dy", "1em"), a.db.topAxisEnabled() || s.topAxis) {
|
|
1346
|
-
let u = Ge(m).tickSize(-v + w + s.gridLineStartPadding).tickFormat(jt(a.db.getAxisFormat() || s.axisFormat || "%Y-%m-%d"));
|
|
1347
|
-
if (o !== null) {
|
|
1348
|
-
const y = o[1], d = o[2], _ = a.db.getWeekday() || s.weekday;
|
|
1349
|
-
switch (d) {
|
|
1350
|
-
case "millisecond":
|
|
1351
|
-
u.ticks($t.every(y));
|
|
1352
|
-
break;
|
|
1353
|
-
case "second":
|
|
1354
|
-
u.ticks(Jt.every(y));
|
|
1355
|
-
break;
|
|
1356
|
-
case "minute":
|
|
1357
|
-
u.ticks(Qt.every(y));
|
|
1358
|
-
break;
|
|
1359
|
-
case "hour":
|
|
1360
|
-
u.ticks(Kt.every(y));
|
|
1361
|
-
break;
|
|
1362
|
-
case "day":
|
|
1363
|
-
u.ticks(Zt.every(y));
|
|
1364
|
-
break;
|
|
1365
|
-
case "week":
|
|
1366
|
-
u.ticks(se[_].every(y));
|
|
1367
|
-
break;
|
|
1368
|
-
case "month":
|
|
1369
|
-
u.ticks(Ut.every(y));
|
|
1370
|
-
break;
|
|
1371
|
-
}
|
|
1372
|
-
}
|
|
1373
|
-
q.append("g").attr("class", "grid").attr("transform", "translate(" + g + ", " + w + ")").call(u).selectAll("text").style("text-anchor", "middle").attr("fill", "#000").attr("stroke", "none").attr("font-size", 10);
|
|
1374
|
-
}
|
|
1375
|
-
}
|
|
1376
|
-
c(R, "makeGrid");
|
|
1377
|
-
function X(g, w) {
|
|
1378
|
-
let x = 0;
|
|
1379
|
-
const v = Object.keys(S).map((k) => [k, S[k]]);
|
|
1380
|
-
q.append("g").selectAll("text").data(v).enter().append(function(k) {
|
|
1381
|
-
const D = k[0].split(we.lineBreakRegex), o = -(D.length - 1) / 2, u = A.createElementNS("http://www.w3.org/2000/svg", "text");
|
|
1382
|
-
u.setAttribute("dy", o + "em");
|
|
1383
|
-
for (const [y, d] of D.entries()) {
|
|
1384
|
-
const _ = A.createElementNS("http://www.w3.org/2000/svg", "tspan");
|
|
1385
|
-
_.setAttribute("alignment-baseline", "central"), _.setAttribute("x", "10"), y > 0 && _.setAttribute("dy", "1em"), _.textContent = d, u.appendChild(_);
|
|
1386
|
-
}
|
|
1387
|
-
return u;
|
|
1388
|
-
}).attr("x", 10).attr("y", function(k, D) {
|
|
1389
|
-
if (D > 0)
|
|
1390
|
-
for (let o = 0; o < D; o++)
|
|
1391
|
-
return x += v[D - 1][1], k[1] * g / 2 + x * g + w;
|
|
1392
|
-
else
|
|
1393
|
-
return k[1] * g / 2 + w;
|
|
1394
|
-
}).attr("font-size", s.sectionFontSize).attr("class", function(k) {
|
|
1395
|
-
for (const [D, o] of M.entries())
|
|
1396
|
-
if (k[0] === o)
|
|
1397
|
-
return "sectionTitle sectionTitle" + D % s.numberSectionStyles;
|
|
1398
|
-
return "sectionTitle";
|
|
1399
|
-
});
|
|
1400
|
-
}
|
|
1401
|
-
c(X, "vertLabels");
|
|
1402
|
-
function N(g, w, x, v) {
|
|
1403
|
-
const k = a.db.getTodayMarker();
|
|
1404
|
-
if (k === "off")
|
|
1405
|
-
return;
|
|
1406
|
-
const D = q.append("g").attr("class", "today"), o = /* @__PURE__ */ new Date(), u = D.append("line");
|
|
1407
|
-
u.attr("x1", m(o) + g).attr("x2", m(o) + g).attr("y1", s.titleTopMargin).attr("y2", v - s.titleTopMargin).attr("class", "today"), k !== "" && u.attr("style", k.replace(/,/g, ";"));
|
|
1408
|
-
}
|
|
1409
|
-
c(N, "drawToday");
|
|
1410
|
-
function V(g) {
|
|
1411
|
-
const w = {}, x = [];
|
|
1412
|
-
for (let v = 0, k = g.length; v < k; ++v)
|
|
1413
|
-
Object.prototype.hasOwnProperty.call(w, g[v]) || (w[g[v]] = !0, x.push(g[v]));
|
|
1414
|
-
return x;
|
|
1415
|
-
}
|
|
1416
|
-
c(V, "checkUnique");
|
|
1417
|
-
}, "draw"), Gr = {
|
|
1418
|
-
setConf: Br,
|
|
1419
|
-
draw: Hr
|
|
1420
|
-
}, Xr = /* @__PURE__ */ c((t) => `
|
|
1421
|
-
.mermaid-main-font {
|
|
1422
|
-
font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif);
|
|
1423
|
-
}
|
|
1424
|
-
|
|
1425
|
-
.exclude-range {
|
|
1426
|
-
fill: ${t.excludeBkgColor};
|
|
1427
|
-
}
|
|
1428
|
-
|
|
1429
|
-
.section {
|
|
1430
|
-
stroke: none;
|
|
1431
|
-
opacity: 0.2;
|
|
1432
|
-
}
|
|
1433
|
-
|
|
1434
|
-
.section0 {
|
|
1435
|
-
fill: ${t.sectionBkgColor};
|
|
1436
|
-
}
|
|
1437
|
-
|
|
1438
|
-
.section2 {
|
|
1439
|
-
fill: ${t.sectionBkgColor2};
|
|
1440
|
-
}
|
|
1441
|
-
|
|
1442
|
-
.section1,
|
|
1443
|
-
.section3 {
|
|
1444
|
-
fill: ${t.altSectionBkgColor};
|
|
1445
|
-
opacity: 0.2;
|
|
1446
|
-
}
|
|
1447
|
-
|
|
1448
|
-
.sectionTitle0 {
|
|
1449
|
-
fill: ${t.titleColor};
|
|
1450
|
-
}
|
|
1451
|
-
|
|
1452
|
-
.sectionTitle1 {
|
|
1453
|
-
fill: ${t.titleColor};
|
|
1454
|
-
}
|
|
1455
|
-
|
|
1456
|
-
.sectionTitle2 {
|
|
1457
|
-
fill: ${t.titleColor};
|
|
1458
|
-
}
|
|
1459
|
-
|
|
1460
|
-
.sectionTitle3 {
|
|
1461
|
-
fill: ${t.titleColor};
|
|
1462
|
-
}
|
|
1463
|
-
|
|
1464
|
-
.sectionTitle {
|
|
1465
|
-
text-anchor: start;
|
|
1466
|
-
font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif);
|
|
1467
|
-
}
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
/* Grid and axis */
|
|
1471
|
-
|
|
1472
|
-
.grid .tick {
|
|
1473
|
-
stroke: ${t.gridColor};
|
|
1474
|
-
opacity: 0.8;
|
|
1475
|
-
shape-rendering: crispEdges;
|
|
1476
|
-
}
|
|
1477
|
-
|
|
1478
|
-
.grid .tick text {
|
|
1479
|
-
font-family: ${t.fontFamily};
|
|
1480
|
-
fill: ${t.textColor};
|
|
1481
|
-
}
|
|
1482
|
-
|
|
1483
|
-
.grid path {
|
|
1484
|
-
stroke-width: 0;
|
|
1485
|
-
}
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
/* Today line */
|
|
1489
|
-
|
|
1490
|
-
.today {
|
|
1491
|
-
fill: none;
|
|
1492
|
-
stroke: ${t.todayLineColor};
|
|
1493
|
-
stroke-width: 2px;
|
|
1494
|
-
}
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
/* Task styling */
|
|
1498
|
-
|
|
1499
|
-
/* Default task */
|
|
1500
|
-
|
|
1501
|
-
.task {
|
|
1502
|
-
stroke-width: 2;
|
|
1503
|
-
}
|
|
1504
|
-
|
|
1505
|
-
.taskText {
|
|
1506
|
-
text-anchor: middle;
|
|
1507
|
-
font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif);
|
|
1508
|
-
}
|
|
1509
|
-
|
|
1510
|
-
.taskTextOutsideRight {
|
|
1511
|
-
fill: ${t.taskTextDarkColor};
|
|
1512
|
-
text-anchor: start;
|
|
1513
|
-
font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif);
|
|
1514
|
-
}
|
|
1515
|
-
|
|
1516
|
-
.taskTextOutsideLeft {
|
|
1517
|
-
fill: ${t.taskTextDarkColor};
|
|
1518
|
-
text-anchor: end;
|
|
1519
|
-
}
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
/* Special case clickable */
|
|
1523
|
-
|
|
1524
|
-
.task.clickable {
|
|
1525
|
-
cursor: pointer;
|
|
1526
|
-
}
|
|
1527
|
-
|
|
1528
|
-
.taskText.clickable {
|
|
1529
|
-
cursor: pointer;
|
|
1530
|
-
fill: ${t.taskTextClickableColor} !important;
|
|
1531
|
-
font-weight: bold;
|
|
1532
|
-
}
|
|
1533
|
-
|
|
1534
|
-
.taskTextOutsideLeft.clickable {
|
|
1535
|
-
cursor: pointer;
|
|
1536
|
-
fill: ${t.taskTextClickableColor} !important;
|
|
1537
|
-
font-weight: bold;
|
|
1538
|
-
}
|
|
1539
|
-
|
|
1540
|
-
.taskTextOutsideRight.clickable {
|
|
1541
|
-
cursor: pointer;
|
|
1542
|
-
fill: ${t.taskTextClickableColor} !important;
|
|
1543
|
-
font-weight: bold;
|
|
1544
|
-
}
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
/* Specific task settings for the sections*/
|
|
1548
|
-
|
|
1549
|
-
.taskText0,
|
|
1550
|
-
.taskText1,
|
|
1551
|
-
.taskText2,
|
|
1552
|
-
.taskText3 {
|
|
1553
|
-
fill: ${t.taskTextColor};
|
|
1554
|
-
}
|
|
1555
|
-
|
|
1556
|
-
.task0,
|
|
1557
|
-
.task1,
|
|
1558
|
-
.task2,
|
|
1559
|
-
.task3 {
|
|
1560
|
-
fill: ${t.taskBkgColor};
|
|
1561
|
-
stroke: ${t.taskBorderColor};
|
|
1562
|
-
}
|
|
1563
|
-
|
|
1564
|
-
.taskTextOutside0,
|
|
1565
|
-
.taskTextOutside2
|
|
1566
|
-
{
|
|
1567
|
-
fill: ${t.taskTextOutsideColor};
|
|
1568
|
-
}
|
|
1569
|
-
|
|
1570
|
-
.taskTextOutside1,
|
|
1571
|
-
.taskTextOutside3 {
|
|
1572
|
-
fill: ${t.taskTextOutsideColor};
|
|
1573
|
-
}
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
/* Active task */
|
|
1577
|
-
|
|
1578
|
-
.active0,
|
|
1579
|
-
.active1,
|
|
1580
|
-
.active2,
|
|
1581
|
-
.active3 {
|
|
1582
|
-
fill: ${t.activeTaskBkgColor};
|
|
1583
|
-
stroke: ${t.activeTaskBorderColor};
|
|
1584
|
-
}
|
|
1585
|
-
|
|
1586
|
-
.activeText0,
|
|
1587
|
-
.activeText1,
|
|
1588
|
-
.activeText2,
|
|
1589
|
-
.activeText3 {
|
|
1590
|
-
fill: ${t.taskTextDarkColor} !important;
|
|
1591
|
-
}
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
/* Completed task */
|
|
1595
|
-
|
|
1596
|
-
.done0,
|
|
1597
|
-
.done1,
|
|
1598
|
-
.done2,
|
|
1599
|
-
.done3 {
|
|
1600
|
-
stroke: ${t.doneTaskBorderColor};
|
|
1601
|
-
fill: ${t.doneTaskBkgColor};
|
|
1602
|
-
stroke-width: 2;
|
|
1603
|
-
}
|
|
1604
|
-
|
|
1605
|
-
.doneText0,
|
|
1606
|
-
.doneText1,
|
|
1607
|
-
.doneText2,
|
|
1608
|
-
.doneText3 {
|
|
1609
|
-
fill: ${t.taskTextDarkColor} !important;
|
|
1610
|
-
}
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
/* Tasks on the critical line */
|
|
1614
|
-
|
|
1615
|
-
.crit0,
|
|
1616
|
-
.crit1,
|
|
1617
|
-
.crit2,
|
|
1618
|
-
.crit3 {
|
|
1619
|
-
stroke: ${t.critBorderColor};
|
|
1620
|
-
fill: ${t.critBkgColor};
|
|
1621
|
-
stroke-width: 2;
|
|
1622
|
-
}
|
|
1623
|
-
|
|
1624
|
-
.activeCrit0,
|
|
1625
|
-
.activeCrit1,
|
|
1626
|
-
.activeCrit2,
|
|
1627
|
-
.activeCrit3 {
|
|
1628
|
-
stroke: ${t.critBorderColor};
|
|
1629
|
-
fill: ${t.activeTaskBkgColor};
|
|
1630
|
-
stroke-width: 2;
|
|
1631
|
-
}
|
|
1632
|
-
|
|
1633
|
-
.doneCrit0,
|
|
1634
|
-
.doneCrit1,
|
|
1635
|
-
.doneCrit2,
|
|
1636
|
-
.doneCrit3 {
|
|
1637
|
-
stroke: ${t.critBorderColor};
|
|
1638
|
-
fill: ${t.doneTaskBkgColor};
|
|
1639
|
-
stroke-width: 2;
|
|
1640
|
-
cursor: pointer;
|
|
1641
|
-
shape-rendering: crispEdges;
|
|
1642
|
-
}
|
|
1643
|
-
|
|
1644
|
-
.milestone {
|
|
1645
|
-
transform: rotate(45deg) scale(0.8,0.8);
|
|
1646
|
-
}
|
|
1647
|
-
|
|
1648
|
-
.milestoneText {
|
|
1649
|
-
font-style: italic;
|
|
1650
|
-
}
|
|
1651
|
-
.doneCritText0,
|
|
1652
|
-
.doneCritText1,
|
|
1653
|
-
.doneCritText2,
|
|
1654
|
-
.doneCritText3 {
|
|
1655
|
-
fill: ${t.taskTextDarkColor} !important;
|
|
1656
|
-
}
|
|
1657
|
-
|
|
1658
|
-
.activeCritText0,
|
|
1659
|
-
.activeCritText1,
|
|
1660
|
-
.activeCritText2,
|
|
1661
|
-
.activeCritText3 {
|
|
1662
|
-
fill: ${t.taskTextDarkColor} !important;
|
|
1663
|
-
}
|
|
1664
|
-
|
|
1665
|
-
.titleText {
|
|
1666
|
-
text-anchor: middle;
|
|
1667
|
-
font-size: 18px;
|
|
1668
|
-
fill: ${t.titleColor || t.textColor};
|
|
1669
|
-
font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif);
|
|
1670
|
-
}
|
|
1671
|
-
`, "getStyles"), jr = Xr, Jr = {
|
|
1672
|
-
parser: ar,
|
|
1673
|
-
db: Nr,
|
|
1674
|
-
renderer: Gr,
|
|
1675
|
-
styles: jr
|
|
1676
|
-
};
|
|
1677
|
-
export {
|
|
1678
|
-
Jr as diagram
|
|
1679
|
-
};
|