@access-ci/ui 0.5.0 → 0.6.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.
- package/dist/access-ci-ui.bundle.js +3 -3
- package/dist/access-ci-ui.js +1 -1
- package/dist/access-ci-ui.umd.cjs +9 -9
- package/dist/{icon-6r8UmHaL.js → icon-DzCw9ZDX.js} +1 -1
- package/dist/{index-mrRDD7GP.js → index-DTe8MxCu.js} +2 -2
- package/dist/{resource-group-detail-CYjTFoRw.js → resource-group-detail-CA-q3hzl.js} +268 -262
- package/dist/{resource-home-DnwExdge.js → resource-home-DTKYSM1N.js} +2 -2
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var Sc = Object.defineProperty;
|
|
2
2
|
var kc = (i, t, e) => t in i ? Sc(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
|
|
3
3
|
var I = (i, t, e) => kc(i, typeof t != "symbol" ? t + "" : t, e);
|
|
4
|
-
import { _ as _i, u as v, a as ht, s as Ko, b as wi, A as ne, c as St, e as Mc, h as He, d as is, f as er, y as qo, g as Oc, T as
|
|
5
|
-
import { I as
|
|
4
|
+
import { _ as _i, u as v, a as ht, s as Ko, b as wi, A as ne, c as St, e as Mc, h as He, d as is, f as er, y as qo, g as Oc, T as Ac, B as Tc } from "./index-DTe8MxCu.js";
|
|
5
|
+
import { I as U } from "./icon-DzCw9ZDX.js";
|
|
6
6
|
const ir = () => {
|
|
7
7
|
const i = new Event("accessci-update-sections");
|
|
8
8
|
document.dispatchEvent(i);
|
|
@@ -18,7 +18,7 @@ function zt({
|
|
|
18
18
|
return _i(() => (ir(), ir), []), /* @__PURE__ */ v("section", { id: r, "data-section-title": s, "data-section-icon": e, children: [
|
|
19
19
|
/* @__PURE__ */ v("div", { class: "flex-header", children: [
|
|
20
20
|
/* @__PURE__ */ v("h2", { children: [
|
|
21
|
-
e ? /* @__PURE__ */ v(
|
|
21
|
+
e ? /* @__PURE__ */ v(U, { name: e }) : null,
|
|
22
22
|
s
|
|
23
23
|
] }),
|
|
24
24
|
t ? /* @__PURE__ */ v("div", { class: "header-components", children: t }) : null
|
|
@@ -36,15 +36,15 @@ function Dc({ infoGroupId: i }) {
|
|
|
36
36
|
/* @__PURE__ */ v("p", { children: "Join the community by participating in an affinity group! Members get update about announcements, events, and outages." }),
|
|
37
37
|
/* @__PURE__ */ v("div", { class: "button-group", children: [
|
|
38
38
|
/* @__PURE__ */ v("a", { href: t[0].url, class: "btn secondary", children: [
|
|
39
|
-
/* @__PURE__ */ v(
|
|
39
|
+
/* @__PURE__ */ v(U, { name: "person-plus-fill" }),
|
|
40
40
|
" Join Affinity Group"
|
|
41
41
|
] }),
|
|
42
42
|
e ? /* @__PURE__ */ v("a", { href: e, class: "btn", children: [
|
|
43
|
-
/* @__PURE__ */ v(
|
|
43
|
+
/* @__PURE__ */ v(U, { name: "slack" }),
|
|
44
44
|
" Connect on Slack"
|
|
45
45
|
] }) : null,
|
|
46
46
|
/* @__PURE__ */ v("a", { href: "#questions-and-answers", class: "btn", children: [
|
|
47
|
-
/* @__PURE__ */ v(
|
|
47
|
+
/* @__PURE__ */ v(U, { name: "chat-fill" }),
|
|
48
48
|
" Ask and Answer Questions"
|
|
49
49
|
] })
|
|
50
50
|
] })
|
|
@@ -61,7 +61,7 @@ function Ec({ infoGroupId: i }) {
|
|
|
61
61
|
/* @__PURE__ */ v("h1", { children: t.name }),
|
|
62
62
|
a.map((h) => /* @__PURE__ */ v("p", { children: /* @__PURE__ */ v("a", { href: h.organization_url || "#", children: [
|
|
63
63
|
h.organization_favicon_url ? /* @__PURE__ */ v(
|
|
64
|
-
|
|
64
|
+
U,
|
|
65
65
|
{
|
|
66
66
|
alt: h.organization_name,
|
|
67
67
|
src: h.organization_favicon_url
|
|
@@ -72,12 +72,12 @@ function Ec({ infoGroupId: i }) {
|
|
|
72
72
|
r ? /* @__PURE__ */ v("p", { children: r }) : null,
|
|
73
73
|
/* @__PURE__ */ v("div", { style: { marginTop: "1rem" }, children: [
|
|
74
74
|
c ? /* @__PURE__ */ v("a", { href: c, class: "btn secondary lg", children: [
|
|
75
|
-
/* @__PURE__ */ v(
|
|
75
|
+
/* @__PURE__ */ v(U, { name: "check2-circle" }),
|
|
76
76
|
" Get Started with ",
|
|
77
77
|
s
|
|
78
78
|
] }) : null,
|
|
79
79
|
l ? /* @__PURE__ */ v("a", { href: l, class: "btn lg", children: [
|
|
80
|
-
/* @__PURE__ */ v(
|
|
80
|
+
/* @__PURE__ */ v(U, { name: "book" }),
|
|
81
81
|
" User Guide"
|
|
82
82
|
] }) : null
|
|
83
83
|
] })
|
|
@@ -90,7 +90,7 @@ function Pc({ column: i, row: t, style: e = {} }) {
|
|
|
90
90
|
const Cc = {
|
|
91
91
|
text: Pc
|
|
92
92
|
};
|
|
93
|
-
function
|
|
93
|
+
function Tn({
|
|
94
94
|
columns: i,
|
|
95
95
|
rows: t,
|
|
96
96
|
classes: e,
|
|
@@ -157,14 +157,14 @@ function Rc({ infoGroupId: i }) {
|
|
|
157
157
|
/* @__PURE__ */ v("a", { href: e, class: "btn", children: "View All Topics" })
|
|
158
158
|
],
|
|
159
159
|
children: /* @__PURE__ */ v(
|
|
160
|
-
|
|
160
|
+
Tn,
|
|
161
161
|
{
|
|
162
162
|
columns: [
|
|
163
163
|
{
|
|
164
164
|
key: "title",
|
|
165
165
|
name: "Topic",
|
|
166
166
|
format: (a, c) => /* @__PURE__ */ v(St, { children: [
|
|
167
|
-
c.pinned ? /* @__PURE__ */ v(
|
|
167
|
+
c.pinned ? /* @__PURE__ */ v(U, { name: "pin-fill" }) : null,
|
|
168
168
|
/* @__PURE__ */ v(
|
|
169
169
|
"a",
|
|
170
170
|
{
|
|
@@ -446,11 +446,11 @@ function rr(i) {
|
|
|
446
446
|
var w = ki(e), M = "clientHeight", O = "clientWidth";
|
|
447
447
|
if (w === vt(e) && (w = oe(e), Xt(w).position !== "static" && a === "absolute" && (M = "scrollHeight", O = "scrollWidth")), w = w, s === ut || (s === ft || s === Ot) && r === ui) {
|
|
448
448
|
g = Mt;
|
|
449
|
-
var
|
|
449
|
+
var A = u && w === k && k.visualViewport ? k.visualViewport.height : (
|
|
450
450
|
// $FlowFixMe[prop-missing]
|
|
451
451
|
w[M]
|
|
452
452
|
);
|
|
453
|
-
m -=
|
|
453
|
+
m -= A - n.height, m *= c ? 1 : -1;
|
|
454
454
|
}
|
|
455
455
|
if (s === ft || (s === ut || s === Mt) && r === ui) {
|
|
456
456
|
S = Ot;
|
|
@@ -463,14 +463,14 @@ function rr(i) {
|
|
|
463
463
|
}
|
|
464
464
|
var E = Object.assign({
|
|
465
465
|
position: a
|
|
466
|
-
}, l && el),
|
|
466
|
+
}, l && el), T = h === !0 ? il({
|
|
467
467
|
x: d,
|
|
468
468
|
y: m
|
|
469
469
|
}, vt(e)) : {
|
|
470
470
|
x: d,
|
|
471
471
|
y: m
|
|
472
472
|
};
|
|
473
|
-
if (d =
|
|
473
|
+
if (d = T.x, m = T.y, c) {
|
|
474
474
|
var F;
|
|
475
475
|
return Object.assign({}, E, (F = {}, F[g] = x ? "0" : "", F[S] = y ? "0" : "", F.transform = (k.devicePixelRatio || 1) <= 1 ? "translate(" + d + "px, " + m + "px)" : "translate3d(" + d + "px, " + m + "px, 0)", F));
|
|
476
476
|
}
|
|
@@ -679,17 +679,17 @@ function fi(i, t) {
|
|
|
679
679
|
element: S,
|
|
680
680
|
strategy: "absolute",
|
|
681
681
|
placement: s
|
|
682
|
-
}), O = ss(Object.assign({}, S, M)),
|
|
683
|
-
top: k.top -
|
|
684
|
-
bottom:
|
|
685
|
-
left: k.left -
|
|
686
|
-
right:
|
|
682
|
+
}), O = ss(Object.assign({}, S, M)), A = f === qe ? O : w, P = {
|
|
683
|
+
top: k.top - A.top + y.top,
|
|
684
|
+
bottom: A.bottom - k.bottom + y.bottom,
|
|
685
|
+
left: k.left - A.left + y.left,
|
|
686
|
+
right: A.right - k.right + y.right
|
|
687
687
|
}, E = i.modifiersData.offset;
|
|
688
688
|
if (f === qe && E) {
|
|
689
|
-
var
|
|
689
|
+
var T = E[s];
|
|
690
690
|
Object.keys(P).forEach(function(F) {
|
|
691
691
|
var B = [Ot, Mt].indexOf(F) >= 0 ? 1 : -1, L = [ut, Mt].indexOf(F) >= 0 ? "y" : "x";
|
|
692
|
-
P[F] +=
|
|
692
|
+
P[F] += T[L] * B;
|
|
693
693
|
});
|
|
694
694
|
}
|
|
695
695
|
return P;
|
|
@@ -732,8 +732,8 @@ function ml(i) {
|
|
|
732
732
|
flipVariations: p,
|
|
733
733
|
allowedAutoPlacements: m
|
|
734
734
|
}) : it);
|
|
735
|
-
}, []), k = t.rects.reference, w = t.rects.popper, M = /* @__PURE__ */ new Map(), O = !0,
|
|
736
|
-
var E = g[P],
|
|
735
|
+
}, []), k = t.rects.reference, w = t.rects.popper, M = /* @__PURE__ */ new Map(), O = !0, A = g[0], P = 0; P < g.length; P++) {
|
|
736
|
+
var E = g[P], T = Bt(E), F = Fe(E) === Re, B = [ut, Mt].indexOf(T) >= 0, L = B ? "width" : "height", z = fi(t, {
|
|
737
737
|
placement: E,
|
|
738
738
|
boundary: h,
|
|
739
739
|
rootBoundary: u,
|
|
@@ -742,10 +742,10 @@ function ml(i) {
|
|
|
742
742
|
}), W = B ? F ? Ot : ft : F ? Mt : ut;
|
|
743
743
|
k[L] > w[L] && (W = on(W));
|
|
744
744
|
var q = on(W), ot = [];
|
|
745
|
-
if (r && ot.push(z[
|
|
745
|
+
if (r && ot.push(z[T] <= 0), a && ot.push(z[W] <= 0, z[q] <= 0), ot.every(function(et) {
|
|
746
746
|
return et;
|
|
747
747
|
})) {
|
|
748
|
-
|
|
748
|
+
A = E, O = !1;
|
|
749
749
|
break;
|
|
750
750
|
}
|
|
751
751
|
M.set(E, ot);
|
|
@@ -760,12 +760,12 @@ function ml(i) {
|
|
|
760
760
|
});
|
|
761
761
|
});
|
|
762
762
|
if (nt)
|
|
763
|
-
return
|
|
763
|
+
return A = nt, "break";
|
|
764
764
|
}, tt = J; tt > 0; tt--) {
|
|
765
765
|
var dt = yt(tt);
|
|
766
766
|
if (dt === "break") break;
|
|
767
767
|
}
|
|
768
|
-
t.placement !==
|
|
768
|
+
t.placement !== A && (t.modifiersData[n]._skip = !0, t.placement = A, t.reset = !0);
|
|
769
769
|
}
|
|
770
770
|
}
|
|
771
771
|
const bl = {
|
|
@@ -867,15 +867,15 @@ function Ol(i) {
|
|
|
867
867
|
rootBoundary: l,
|
|
868
868
|
padding: u,
|
|
869
869
|
altBoundary: h
|
|
870
|
-
}), y = Bt(t.placement), x = Fe(t.placement), S = !x, g = Cs(y), k = Ml(g), w = t.modifiersData.popperOffsets, M = t.rects.reference, O = t.rects.popper,
|
|
870
|
+
}), y = Bt(t.placement), x = Fe(t.placement), S = !x, g = Cs(y), k = Ml(g), w = t.modifiersData.popperOffsets, M = t.rects.reference, O = t.rects.popper, A = typeof m == "function" ? m(Object.assign({}, t.rects, {
|
|
871
871
|
placement: t.placement
|
|
872
|
-
})) : m, P = typeof
|
|
873
|
-
mainAxis:
|
|
874
|
-
altAxis:
|
|
872
|
+
})) : m, P = typeof A == "number" ? {
|
|
873
|
+
mainAxis: A,
|
|
874
|
+
altAxis: A
|
|
875
875
|
} : Object.assign({
|
|
876
876
|
mainAxis: 0,
|
|
877
877
|
altAxis: 0
|
|
878
|
-
},
|
|
878
|
+
}, A), E = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, T = {
|
|
879
879
|
x: 0,
|
|
880
880
|
y: 0
|
|
881
881
|
};
|
|
@@ -884,31 +884,31 @@ function Ol(i) {
|
|
|
884
884
|
var F, B = g === "y" ? ut : ft, L = g === "y" ? Mt : Ot, z = g === "y" ? "height" : "width", W = w[g], q = W + b[B], ot = W - b[L], J = d ? -O[z] / 2 : 0, yt = x === Re ? M[z] : O[z], tt = x === Re ? -O[z] : -M[z], dt = t.elements.arrow, et = d && dt ? Ps(dt) : {
|
|
885
885
|
width: 0,
|
|
886
886
|
height: 0
|
|
887
|
-
}, it = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : ea(), nt = it[B], we = it[L], Nt = ri(0, M[z], et[z]), Se = S ? M[z] / 2 - J - Nt - nt - P.mainAxis : yt - Nt - nt - P.mainAxis, qt = S ? -M[z] / 2 + J + Nt + we + P.mainAxis : tt + Nt + we + P.mainAxis, ke = t.elements.arrow && ki(t.elements.arrow),
|
|
888
|
-
w[g] = Ue,
|
|
887
|
+
}, it = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : ea(), nt = it[B], we = it[L], Nt = ri(0, M[z], et[z]), Se = S ? M[z] / 2 - J - Nt - nt - P.mainAxis : yt - Nt - nt - P.mainAxis, qt = S ? -M[z] / 2 + J + Nt + we + P.mainAxis : tt + Nt + we + P.mainAxis, ke = t.elements.arrow && ki(t.elements.arrow), Ti = ke ? g === "y" ? ke.clientTop || 0 : ke.clientLeft || 0 : 0, $e = (F = E == null ? void 0 : E[g]) != null ? F : 0, Di = W + Se - $e - Ti, Ei = W + qt - $e, Ue = ri(d ? gn(q, Di) : q, W, d ? be(ot, Ei) : ot);
|
|
888
|
+
w[g] = Ue, T[g] = Ue - W;
|
|
889
889
|
}
|
|
890
890
|
if (a) {
|
|
891
891
|
var Ye, Pi = g === "x" ? ut : ft, Ci = g === "x" ? Mt : Ot, jt = w[k], Qt = k === "y" ? "height" : "width", Xe = jt + b[Pi], ce = jt - b[Ci], Ke = [ut, ft].indexOf(y) !== -1, Ri = (Ye = E == null ? void 0 : E[k]) != null ? Ye : 0, Li = Ke ? Xe : jt - M[Qt] - O[Qt] - Ri + P.altAxis, Ii = Ke ? jt + M[Qt] + O[Qt] - Ri - P.altAxis : ce, Fi = d && Ke ? Qc(Li, jt, Ii) : ri(d ? Li : Xe, jt, d ? Ii : ce);
|
|
892
|
-
w[k] = Fi,
|
|
892
|
+
w[k] = Fi, T[k] = Fi - jt;
|
|
893
893
|
}
|
|
894
|
-
t.modifiersData[n] =
|
|
894
|
+
t.modifiersData[n] = T;
|
|
895
895
|
}
|
|
896
896
|
}
|
|
897
|
-
const
|
|
897
|
+
const Al = {
|
|
898
898
|
name: "preventOverflow",
|
|
899
899
|
enabled: !0,
|
|
900
900
|
phase: "main",
|
|
901
901
|
fn: Ol,
|
|
902
902
|
requiresIfExists: ["offset"]
|
|
903
903
|
};
|
|
904
|
-
function
|
|
904
|
+
function Tl(i) {
|
|
905
905
|
return {
|
|
906
906
|
scrollLeft: i.scrollLeft,
|
|
907
907
|
scrollTop: i.scrollTop
|
|
908
908
|
};
|
|
909
909
|
}
|
|
910
910
|
function Dl(i) {
|
|
911
|
-
return i === vt(i) || !kt(i) ? Rs(i) :
|
|
911
|
+
return i === vt(i) || !kt(i) ? Rs(i) : Tl(i);
|
|
912
912
|
}
|
|
913
913
|
function El(i) {
|
|
914
914
|
var t = i.getBoundingClientRect(), e = Le(t.width) / i.offsetWidth || 1, n = Le(t.height) / i.offsetHeight || 1;
|
|
@@ -1041,11 +1041,11 @@ function Fl(i) {
|
|
|
1041
1041
|
h.reset = !1, g = -1;
|
|
1042
1042
|
continue;
|
|
1043
1043
|
}
|
|
1044
|
-
var k = h.orderedModifiers[g], w = k.fn, M = k.options, O = M === void 0 ? {} : M,
|
|
1044
|
+
var k = h.orderedModifiers[g], w = k.fn, M = k.options, O = M === void 0 ? {} : M, A = k.name;
|
|
1045
1045
|
typeof w == "function" && (h = w({
|
|
1046
1046
|
state: h,
|
|
1047
1047
|
options: O,
|
|
1048
|
-
name:
|
|
1048
|
+
name: A,
|
|
1049
1049
|
instance: d
|
|
1050
1050
|
}) || h);
|
|
1051
1051
|
}
|
|
@@ -1091,7 +1091,7 @@ function Fl(i) {
|
|
|
1091
1091
|
return d;
|
|
1092
1092
|
};
|
|
1093
1093
|
}
|
|
1094
|
-
var zl = [ol, kl, sl, Go, wl, bl,
|
|
1094
|
+
var zl = [ol, kl, sl, Go, wl, bl, Al, tl, yl], Bl = /* @__PURE__ */ Fl({
|
|
1095
1095
|
defaultModifiers: zl
|
|
1096
1096
|
}), Hl = "tippy-box", oa = "tippy-content", Nl = "tippy-backdrop", aa = "tippy-arrow", ca = "tippy-svg-arrow", pe = {
|
|
1097
1097
|
passive: !0,
|
|
@@ -1240,7 +1240,7 @@ var eh = typeof window < "u" && typeof document < "u", ih = eh ? (
|
|
|
1240
1240
|
// @ts-ignore
|
|
1241
1241
|
!!window.msCrypto
|
|
1242
1242
|
) : !1;
|
|
1243
|
-
function
|
|
1243
|
+
function Ae(i) {
|
|
1244
1244
|
var t = i === "destroy" ? "n already-" : " ";
|
|
1245
1245
|
return [i + "() was called on a" + t + "destroyed instance. This is a no-op but", "indicates a potential memory leak."].join(" ");
|
|
1246
1246
|
}
|
|
@@ -1494,7 +1494,7 @@ function fh(i, t) {
|
|
|
1494
1494
|
w.setAttribute("data-tippy-root", ""), w.id = "tippy-" + g.id, g.popper = w, i._tippy = g, w._tippy = g;
|
|
1495
1495
|
var O = x.map(function(_) {
|
|
1496
1496
|
return _.fn(g);
|
|
1497
|
-
}),
|
|
1497
|
+
}), A = i.hasAttribute("aria-expanded");
|
|
1498
1498
|
return ke(), J(), W(), q("onCreate", [g]), e.showOnCreate && Xe(), w.addEventListener("mouseenter", function() {
|
|
1499
1499
|
g.props.interactive && g.state.isVisible && g.clearDelayTimeouts();
|
|
1500
1500
|
}), w.addEventListener("mouseleave", function() {
|
|
@@ -1507,7 +1507,7 @@ function fh(i, t) {
|
|
|
1507
1507
|
function E() {
|
|
1508
1508
|
return P()[0] === "hold";
|
|
1509
1509
|
}
|
|
1510
|
-
function
|
|
1510
|
+
function T() {
|
|
1511
1511
|
var _;
|
|
1512
1512
|
return !!((_ = g.props.render) != null && _.$$tippy);
|
|
1513
1513
|
}
|
|
@@ -1551,7 +1551,7 @@ function fh(i, t) {
|
|
|
1551
1551
|
}
|
|
1552
1552
|
}
|
|
1553
1553
|
function J() {
|
|
1554
|
-
if (!(
|
|
1554
|
+
if (!(A || !g.props.aria.expanded)) {
|
|
1555
1555
|
var _ = De(g.props.triggerTarget || i);
|
|
1556
1556
|
_.forEach(function(D) {
|
|
1557
1557
|
g.props.interactive ? D.setAttribute("aria-expanded", g.state.isVisible && D === F() ? "true" : "false") : D.removeAttribute("aria-expanded");
|
|
@@ -1643,7 +1643,7 @@ function fh(i, t) {
|
|
|
1643
1643
|
}
|
|
1644
1644
|
});
|
|
1645
1645
|
}
|
|
1646
|
-
function
|
|
1646
|
+
function Ti() {
|
|
1647
1647
|
d.forEach(function(_) {
|
|
1648
1648
|
var D = _.node, C = _.eventType, V = _.handler, H = _.options;
|
|
1649
1649
|
D.removeEventListener(C, V, H);
|
|
@@ -1690,7 +1690,7 @@ function fh(i, t) {
|
|
|
1690
1690
|
}
|
|
1691
1691
|
function Pi() {
|
|
1692
1692
|
Ci();
|
|
1693
|
-
var _ = g.props, D = _.popperOptions, C = _.placement, V = _.offset, H = _.getReferenceClientRect, at = _.moveTransition, xt =
|
|
1693
|
+
var _ = g.props, D = _.popperOptions, C = _.placement, V = _.offset, H = _.getReferenceClientRect, at = _.moveTransition, xt = T() ? as(w).arrow : null, Me = H ? {
|
|
1694
1694
|
getBoundingClientRect: H,
|
|
1695
1695
|
contextElement: H.contextElement || F()
|
|
1696
1696
|
} : i, tr = {
|
|
@@ -1700,7 +1700,7 @@ function fh(i, t) {
|
|
|
1700
1700
|
requires: ["computeStyles"],
|
|
1701
1701
|
fn: function(zi) {
|
|
1702
1702
|
var Oe = zi.state;
|
|
1703
|
-
if (
|
|
1703
|
+
if (T()) {
|
|
1704
1704
|
var wc = L(), Fn = wc.box;
|
|
1705
1705
|
["placement", "reference-hidden", "escaped"].forEach(function(Bi) {
|
|
1706
1706
|
Bi === "placement" ? Fn.setAttribute("data-placement", Oe.placement) : Oe.attributes.popper["data-popper-" + Bi] ? Fn.setAttribute("data-" + Bi, "") : Fn.removeAttribute("data-" + Bi);
|
|
@@ -1733,7 +1733,7 @@ function fh(i, t) {
|
|
|
1733
1733
|
adaptive: !at
|
|
1734
1734
|
}
|
|
1735
1735
|
}, tr];
|
|
1736
|
-
|
|
1736
|
+
T() && xt && le.push({
|
|
1737
1737
|
name: "arrow",
|
|
1738
1738
|
options: {
|
|
1739
1739
|
element: xt,
|
|
@@ -1792,8 +1792,8 @@ function fh(i, t) {
|
|
|
1792
1792
|
clearTimeout(n), clearTimeout(s), cancelAnimationFrame(r);
|
|
1793
1793
|
}
|
|
1794
1794
|
function Ii(_) {
|
|
1795
|
-
if (process.env.NODE_ENV !== "production" && Ut(g.state.isDestroyed,
|
|
1796
|
-
q("onBeforeUpdate", [g, _]),
|
|
1795
|
+
if (process.env.NODE_ENV !== "production" && Ut(g.state.isDestroyed, Ae("setProps")), !g.state.isDestroyed) {
|
|
1796
|
+
q("onBeforeUpdate", [g, _]), Ti();
|
|
1797
1797
|
var D = g.props, C = yr(i, Object.assign({}, D, pr(_), {
|
|
1798
1798
|
ignoreAttributes: !0
|
|
1799
1799
|
}));
|
|
@@ -1810,21 +1810,21 @@ function fh(i, t) {
|
|
|
1810
1810
|
});
|
|
1811
1811
|
}
|
|
1812
1812
|
function bc() {
|
|
1813
|
-
process.env.NODE_ENV !== "production" && Ut(g.state.isDestroyed,
|
|
1813
|
+
process.env.NODE_ENV !== "production" && Ut(g.state.isDestroyed, Ae("show"));
|
|
1814
1814
|
var _ = g.state.isVisible, D = g.state.isDestroyed, C = !g.state.isEnabled, V = Lt.isTouch && !g.props.touch, H = zn(g.props.duration, 0, gt.duration);
|
|
1815
1815
|
if (!(_ || D || C || V) && !F().hasAttribute("disabled") && (q("onShow", [g], !1), g.props.onShow(g) !== !1)) {
|
|
1816
|
-
if (g.state.isVisible = !0,
|
|
1816
|
+
if (g.state.isVisible = !0, T() && (w.style.visibility = "visible"), W(), it(), g.state.isMounted || (w.style.transition = "none"), T()) {
|
|
1817
1817
|
var at = L(), xt = at.box, Me = at.content;
|
|
1818
1818
|
Bn([xt, Me], 0);
|
|
1819
1819
|
}
|
|
1820
1820
|
f = function() {
|
|
1821
1821
|
var le;
|
|
1822
1822
|
if (!(!g.state.isVisible || l)) {
|
|
1823
|
-
if (l = !0, w.offsetHeight, w.style.transition = g.props.moveTransition,
|
|
1823
|
+
if (l = !0, w.offsetHeight, w.style.transition = g.props.moveTransition, T() && g.props.animation) {
|
|
1824
1824
|
var In = L(), zi = In.box, Oe = In.content;
|
|
1825
1825
|
Bn([zi, Oe], H), gr([zi, Oe], "visible");
|
|
1826
1826
|
}
|
|
1827
|
-
ot(), J(), dr(Nn, g), (le = g.popperInstance) == null || le.forceUpdate(), q("onMount", [g]), g.props.animation &&
|
|
1827
|
+
ot(), J(), dr(Nn, g), (le = g.popperInstance) == null || le.forceUpdate(), q("onMount", [g]), g.props.animation && T() && Nt(H, function() {
|
|
1828
1828
|
g.state.isShown = !0, q("onShown", [g]);
|
|
1829
1829
|
});
|
|
1830
1830
|
}
|
|
@@ -1832,28 +1832,28 @@ function fh(i, t) {
|
|
|
1832
1832
|
}
|
|
1833
1833
|
}
|
|
1834
1834
|
function vc() {
|
|
1835
|
-
process.env.NODE_ENV !== "production" && Ut(g.state.isDestroyed,
|
|
1835
|
+
process.env.NODE_ENV !== "production" && Ut(g.state.isDestroyed, Ae("hide"));
|
|
1836
1836
|
var _ = !g.state.isVisible, D = g.state.isDestroyed, C = !g.state.isEnabled, V = zn(g.props.duration, 1, gt.duration);
|
|
1837
1837
|
if (!(_ || D || C) && (q("onHide", [g], !1), g.props.onHide(g) !== !1)) {
|
|
1838
|
-
if (g.state.isVisible = !1, g.state.isShown = !1, l = !1, o = !1,
|
|
1838
|
+
if (g.state.isVisible = !1, g.state.isShown = !1, l = !1, o = !1, T() && (w.style.visibility = "hidden"), yt(), nt(), W(!0), T()) {
|
|
1839
1839
|
var H = L(), at = H.box, xt = H.content;
|
|
1840
1840
|
g.props.animation && (Bn([at, xt], V), gr([at, xt], "hidden"));
|
|
1841
1841
|
}
|
|
1842
|
-
ot(), J(), g.props.animation ?
|
|
1842
|
+
ot(), J(), g.props.animation ? T() && we(V, g.unmount) : g.unmount();
|
|
1843
1843
|
}
|
|
1844
1844
|
}
|
|
1845
1845
|
function yc(_) {
|
|
1846
|
-
process.env.NODE_ENV !== "production" && Ut(g.state.isDestroyed,
|
|
1846
|
+
process.env.NODE_ENV !== "production" && Ut(g.state.isDestroyed, Ae("hideWithInteractivity")), B().addEventListener("mousemove", p), dr(Ni, p), p(_);
|
|
1847
1847
|
}
|
|
1848
1848
|
function xc() {
|
|
1849
|
-
process.env.NODE_ENV !== "production" && Ut(g.state.isDestroyed,
|
|
1849
|
+
process.env.NODE_ENV !== "production" && Ut(g.state.isDestroyed, Ae("unmount")), g.state.isVisible && g.hide(), g.state.isMounted && (Ci(), Qt().forEach(function(_) {
|
|
1850
1850
|
_._tippy.unmount();
|
|
1851
1851
|
}), w.parentNode && w.parentNode.removeChild(w), Nn = Nn.filter(function(_) {
|
|
1852
1852
|
return _ !== g;
|
|
1853
1853
|
}), g.state.isMounted = !1, q("onHidden", [g]));
|
|
1854
1854
|
}
|
|
1855
1855
|
function _c() {
|
|
1856
|
-
process.env.NODE_ENV !== "production" && Ut(g.state.isDestroyed,
|
|
1856
|
+
process.env.NODE_ENV !== "production" && Ut(g.state.isDestroyed, Ae("destroy")), !g.state.isDestroyed && (g.clearDelayTimeouts(), g.unmount(), Ti(), delete i._tippy, g.state.isDestroyed = !0, q("onDestroy", [g]));
|
|
1857
1857
|
}
|
|
1858
1858
|
}
|
|
1859
1859
|
function Mi(i, t) {
|
|
@@ -1913,7 +1913,7 @@ function dh({
|
|
|
1913
1913
|
theme: "access",
|
|
1914
1914
|
appendTo: n.current.parentElement
|
|
1915
1915
|
});
|
|
1916
|
-
}, [n.current]), /* @__PURE__ */ v("button", { class: "info-tip", style: { color: i }, ref: n, children: /* @__PURE__ */ v(
|
|
1916
|
+
}, [n.current]), /* @__PURE__ */ v("button", { class: "info-tip", style: { color: i }, ref: n, children: /* @__PURE__ */ v(U, { name: t }) });
|
|
1917
1917
|
}
|
|
1918
1918
|
function ph({ infoGroupId: i }) {
|
|
1919
1919
|
const t = ht(
|
|
@@ -1927,7 +1927,7 @@ function ph({ infoGroupId: i }) {
|
|
|
1927
1927
|
}
|
|
1928
1928
|
function gh({ children: i, icon: t = "megaphone-fill" }) {
|
|
1929
1929
|
return /* @__PURE__ */ v("div", { class: "alert", children: [
|
|
1930
|
-
t ? /* @__PURE__ */ v(
|
|
1930
|
+
t ? /* @__PURE__ */ v(U, { name: t }) : null,
|
|
1931
1931
|
/* @__PURE__ */ v("div", { class: "alert-body", children: i })
|
|
1932
1932
|
] });
|
|
1933
1933
|
}
|
|
@@ -1936,7 +1936,7 @@ function mh({ children: i }) {
|
|
|
1936
1936
|
return /* @__PURE__ */ v("div", { class: `expand-text ${t ? "expanded" : "contracted"}`, children: [
|
|
1937
1937
|
i,
|
|
1938
1938
|
/* @__PURE__ */ v("button", { class: "expand-button", onClick: () => e(!t), children: [
|
|
1939
|
-
/* @__PURE__ */ v(
|
|
1939
|
+
/* @__PURE__ */ v(U, { name: `caret-${t ? "up" : "left"}-fill` }),
|
|
1940
1940
|
t ? "Less" : "More"
|
|
1941
1941
|
] })
|
|
1942
1942
|
] });
|
|
@@ -1959,7 +1959,7 @@ function bh({
|
|
|
1959
1959
|
), [y, x] = [d, p].map(
|
|
1960
1960
|
(w) => w.toLocaleString("en-US", { timeStyle: "short" })
|
|
1961
1961
|
), S = d.toLocaleTimeString("en-US", { timeZoneName: "short" }).split(" ")[2], g = [`${m},`, y];
|
|
1962
|
-
(x != y || b != m) && (g.push("-"), b != m && g.push(`${b},`), g.push(x)), g.push(`(${S})`), l.push(/* @__PURE__ */ v(
|
|
1962
|
+
(x != y || b != m) && (g.push("-"), b != m && g.push(`${b},`), g.push(x)), g.push(`(${S})`), l.push(/* @__PURE__ */ v(U, { name: "calendar" }), g.join(" ")), r && l.push(/* @__PURE__ */ v(U, { name: "people-fill" }), r), n && l.push(/* @__PURE__ */ v(U, { name: "geo-alt-fill" }), n);
|
|
1963
1963
|
const k = d.toLocaleString("en-US", { dateStyle: "medium" }).split(",")[0].split(" ").map((w) => /* @__PURE__ */ v("span", { children: w }));
|
|
1964
1964
|
h = a ? /* @__PURE__ */ v("a", { href: a, class: "event-icon", children: k }) : /* @__PURE__ */ v("div", { class: "event-icon", children: k });
|
|
1965
1965
|
}
|
|
@@ -2007,7 +2007,7 @@ function yh({ children: i, headingLevel: t = 2, title: e }) {
|
|
|
2007
2007
|
return /* @__PURE__ */ v("div", { class: "accordion", children: [
|
|
2008
2008
|
/* @__PURE__ */ v(r, { class: "accordion-heading", children: /* @__PURE__ */ v("button", { "aria-expanded": n, onClick: () => s(!n), children: [
|
|
2009
2009
|
e,
|
|
2010
|
-
/* @__PURE__ */ v(
|
|
2010
|
+
/* @__PURE__ */ v(U, { name: n ? "caret-up-fill" : "caret-down-fill" })
|
|
2011
2011
|
] }) }),
|
|
2012
2012
|
/* @__PURE__ */ v(
|
|
2013
2013
|
"div",
|
|
@@ -2105,7 +2105,7 @@ function _h({ infoGroupId: i }) {
|
|
|
2105
2105
|
c && /* @__PURE__ */ v(St, { children: [
|
|
2106
2106
|
/* @__PURE__ */ v("h3", { children: "Specifications" }),
|
|
2107
2107
|
/* @__PURE__ */ v(
|
|
2108
|
-
|
|
2108
|
+
Tn,
|
|
2109
2109
|
{
|
|
2110
2110
|
columns: [a, ...r],
|
|
2111
2111
|
rows: o,
|
|
@@ -2209,14 +2209,14 @@ function Oh(i) {
|
|
|
2209
2209
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
2210
2210
|
return i;
|
|
2211
2211
|
}
|
|
2212
|
-
function
|
|
2212
|
+
function Ah(i, t) {
|
|
2213
2213
|
if (t && (typeof t == "object" || typeof t == "function"))
|
|
2214
2214
|
return t;
|
|
2215
2215
|
if (t !== void 0)
|
|
2216
2216
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
2217
2217
|
return Oh(i);
|
|
2218
2218
|
}
|
|
2219
|
-
function
|
|
2219
|
+
function Th(i) {
|
|
2220
2220
|
var t = Mh();
|
|
2221
2221
|
return function() {
|
|
2222
2222
|
var n = ze(i), s;
|
|
@@ -2225,7 +2225,7 @@ function Ah(i) {
|
|
|
2225
2225
|
s = Reflect.construct(n, arguments, r);
|
|
2226
2226
|
} else
|
|
2227
2227
|
s = n.apply(this, arguments);
|
|
2228
|
-
return
|
|
2228
|
+
return Ah(this, s);
|
|
2229
2229
|
};
|
|
2230
2230
|
}
|
|
2231
2231
|
function Dh(i, t) {
|
|
@@ -3710,9 +3710,9 @@ try {
|
|
|
3710
3710
|
window.addEventListener("testPassive", null, Or), window.removeEventListener("testPassive", null, Or);
|
|
3711
3711
|
} catch {
|
|
3712
3712
|
}
|
|
3713
|
-
var
|
|
3713
|
+
var Ar = xa, iu = '[data-glide-el="controls[nav]"]', zs = '[data-glide-el^="controls"]', nu = "".concat(zs, ' [data-glide-dir*="<"]'), su = "".concat(zs, ' [data-glide-dir*=">"]');
|
|
3714
3714
|
function ru(i, t, e) {
|
|
3715
|
-
var n = new ya(), s =
|
|
3715
|
+
var n = new ya(), s = Ar ? {
|
|
3716
3716
|
passive: !0
|
|
3717
3717
|
} : !1, r = {
|
|
3718
3718
|
/**
|
|
@@ -3851,7 +3851,7 @@ function ru(i, t, e) {
|
|
|
3851
3851
|
* @return {void}
|
|
3852
3852
|
*/
|
|
3853
3853
|
click: function(a) {
|
|
3854
|
-
!
|
|
3854
|
+
!Ar && a.type === "touchstart" && a.preventDefault();
|
|
3855
3855
|
var c = a.currentTarget.getAttribute("data-glide-dir");
|
|
3856
3856
|
t.Run.make(t.Direction.resolve(c));
|
|
3857
3857
|
}
|
|
@@ -3888,7 +3888,7 @@ var ou = {
|
|
|
3888
3888
|
Run: Ih
|
|
3889
3889
|
}, au = /* @__PURE__ */ function(i) {
|
|
3890
3890
|
kh(e, i);
|
|
3891
|
-
var t =
|
|
3891
|
+
var t = Th(e);
|
|
3892
3892
|
function e() {
|
|
3893
3893
|
return En(this, e), t.apply(this, arguments);
|
|
3894
3894
|
}
|
|
@@ -3959,7 +3959,7 @@ const hu = "https://allocations.access-ci.org/current-projects.json";
|
|
|
3959
3959
|
function Wi({ icon: i, text: t, title: e }) {
|
|
3960
3960
|
if (t)
|
|
3961
3961
|
return /* @__PURE__ */ v("abbr", { class: "project-meta", title: e, children: [
|
|
3962
|
-
/* @__PURE__ */ v(
|
|
3962
|
+
/* @__PURE__ */ v(U, { name: i }),
|
|
3963
3963
|
t
|
|
3964
3964
|
] });
|
|
3965
3965
|
}
|
|
@@ -4019,7 +4019,7 @@ function uu({ infoGroupId: i }) {
|
|
|
4019
4019
|
/* @__PURE__ */ v(lu, { children: [
|
|
4020
4020
|
/* @__PURE__ */ v("p", { children: s.abstract }),
|
|
4021
4021
|
/* @__PURE__ */ v(
|
|
4022
|
-
|
|
4022
|
+
Tn,
|
|
4023
4023
|
{
|
|
4024
4024
|
columns: n,
|
|
4025
4025
|
rows: s.resources,
|
|
@@ -4048,7 +4048,7 @@ function ee(i) {
|
|
|
4048
4048
|
function Yt(i) {
|
|
4049
4049
|
return Gt(Oi(i / 2.55) / 100, 0, 1);
|
|
4050
4050
|
}
|
|
4051
|
-
function
|
|
4051
|
+
function Tr(i) {
|
|
4052
4052
|
return Gt(Oi(i * 100), 0, 100);
|
|
4053
4053
|
}
|
|
4054
4054
|
const _t = { 0: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8, 9: 9, A: 10, B: 11, C: 12, D: 13, E: 14, F: 15, a: 10, b: 11, c: 12, d: 13, e: 14, f: 15 }, fs = [..."0123456789ABCDEF"], fu = (i) => fs[i & 15], du = (i) => fs[(i & 240) >> 4] + fs[i & 15], Vi = (i) => (i & 240) >> 4 === (i & 15), pu = (i) => Vi(i.r) && Vi(i.g) && Vi(i.b) && Vi(i.a);
|
|
@@ -4131,7 +4131,7 @@ function Mu(i, t) {
|
|
|
4131
4131
|
function Ou(i) {
|
|
4132
4132
|
if (!i)
|
|
4133
4133
|
return;
|
|
4134
|
-
const t = Bs(i), e = t[0], n =
|
|
4134
|
+
const t = Bs(i), e = t[0], n = Tr(t[1]), s = Tr(t[2]);
|
|
4135
4135
|
return i.a < 255 ? `hsla(${e}, ${n}%, ${s}%, ${Yt(i.a)})` : `hsl(${e}, ${n}%, ${s}%)`;
|
|
4136
4136
|
}
|
|
4137
4137
|
const Dr = {
|
|
@@ -4312,7 +4312,7 @@ const Dr = {
|
|
|
4312
4312
|
Lw: "ffff00",
|
|
4313
4313
|
LwgYF: "9acd32"
|
|
4314
4314
|
};
|
|
4315
|
-
function
|
|
4315
|
+
function Au() {
|
|
4316
4316
|
const i = {}, t = Object.keys(Er), e = Object.keys(Dr);
|
|
4317
4317
|
let n, s, r, o, a;
|
|
4318
4318
|
for (n = 0; n < t.length; n++) {
|
|
@@ -4323,8 +4323,8 @@ function Tu() {
|
|
|
4323
4323
|
return i;
|
|
4324
4324
|
}
|
|
4325
4325
|
let $i;
|
|
4326
|
-
function
|
|
4327
|
-
$i || ($i =
|
|
4326
|
+
function Tu(i) {
|
|
4327
|
+
$i || ($i = Au(), $i.transparent = [0, 0, 0, 0]);
|
|
4328
4328
|
const t = $i[i.toLowerCase()];
|
|
4329
4329
|
return t && {
|
|
4330
4330
|
r: t[0],
|
|
@@ -4353,13 +4353,13 @@ function Eu(i) {
|
|
|
4353
4353
|
function Pu(i) {
|
|
4354
4354
|
return i && (i.a < 255 ? `rgba(${i.r}, ${i.g}, ${i.b}, ${Yt(i.a)})` : `rgb(${i.r}, ${i.g}, ${i.b})`);
|
|
4355
4355
|
}
|
|
4356
|
-
const jn = (i) => i <= 31308e-7 ? i * 12.92 : Math.pow(i, 1 / 2.4) * 1.055 - 0.055,
|
|
4356
|
+
const jn = (i) => i <= 31308e-7 ? i * 12.92 : Math.pow(i, 1 / 2.4) * 1.055 - 0.055, Te = (i) => i <= 0.04045 ? i / 12.92 : Math.pow((i + 0.055) / 1.055, 2.4);
|
|
4357
4357
|
function Cu(i, t, e) {
|
|
4358
|
-
const n =
|
|
4358
|
+
const n = Te(Yt(i.r)), s = Te(Yt(i.g)), r = Te(Yt(i.b));
|
|
4359
4359
|
return {
|
|
4360
|
-
r: ee(jn(n + e * (
|
|
4361
|
-
g: ee(jn(s + e * (
|
|
4362
|
-
b: ee(jn(r + e * (
|
|
4360
|
+
r: ee(jn(n + e * (Te(Yt(t.r)) - n))),
|
|
4361
|
+
g: ee(jn(s + e * (Te(Yt(t.g)) - s))),
|
|
4362
|
+
b: ee(jn(r + e * (Te(Yt(t.b)) - r))),
|
|
4363
4363
|
a: i.a + e * (t.a - i.a)
|
|
4364
4364
|
};
|
|
4365
4365
|
}
|
|
@@ -4385,7 +4385,7 @@ class mi {
|
|
|
4385
4385
|
return t;
|
|
4386
4386
|
const e = typeof t;
|
|
4387
4387
|
let n;
|
|
4388
|
-
e === "object" ? n = Pr(t) : e === "string" && (n = gu(t) ||
|
|
4388
|
+
e === "object" ? n = Pr(t) : e === "string" && (n = gu(t) || Tu(t) || Ru(t)), this._rgb = n, this._valid = !!n;
|
|
4389
4389
|
}
|
|
4390
4390
|
get valid() {
|
|
4391
4391
|
return this._valid;
|
|
@@ -4468,7 +4468,7 @@ const Lu = /* @__PURE__ */ (() => {
|
|
|
4468
4468
|
let i = 0;
|
|
4469
4469
|
return () => i++;
|
|
4470
4470
|
})();
|
|
4471
|
-
function
|
|
4471
|
+
function X(i) {
|
|
4472
4472
|
return i === null || typeof i > "u";
|
|
4473
4473
|
}
|
|
4474
4474
|
function Z(i) {
|
|
@@ -4480,17 +4480,17 @@ function Z(i) {
|
|
|
4480
4480
|
function N(i) {
|
|
4481
4481
|
return i !== null && Object.prototype.toString.call(i) === "[object Object]";
|
|
4482
4482
|
}
|
|
4483
|
-
function
|
|
4483
|
+
function At(i) {
|
|
4484
4484
|
return (typeof i == "number" || i instanceof Number) && isFinite(+i);
|
|
4485
4485
|
}
|
|
4486
4486
|
function Pt(i, t) {
|
|
4487
|
-
return
|
|
4487
|
+
return At(i) ? i : t;
|
|
4488
4488
|
}
|
|
4489
4489
|
function j(i, t) {
|
|
4490
4490
|
return typeof i > "u" ? t : i;
|
|
4491
4491
|
}
|
|
4492
4492
|
const Iu = (i, t) => typeof i == "string" && i.endsWith("%") ? parseFloat(i) / 100 : +i / t, Ma = (i, t) => typeof i == "string" && i.endsWith("%") ? parseFloat(i) / 100 * t : +i;
|
|
4493
|
-
function
|
|
4493
|
+
function Y(i, t, e) {
|
|
4494
4494
|
if (i && typeof i.call == "function")
|
|
4495
4495
|
return i.apply(e, t);
|
|
4496
4496
|
}
|
|
@@ -4644,7 +4644,7 @@ function Uu(i) {
|
|
|
4644
4644
|
return i * (180 / G);
|
|
4645
4645
|
}
|
|
4646
4646
|
function Fr(i) {
|
|
4647
|
-
if (!
|
|
4647
|
+
if (!At(i))
|
|
4648
4648
|
return;
|
|
4649
4649
|
let t = 1, e = 0;
|
|
4650
4650
|
for (; Math.round(i * t) / t !== i; )
|
|
@@ -4700,7 +4700,7 @@ function Qu(i, t, e) {
|
|
|
4700
4700
|
s--;
|
|
4701
4701
|
return n > 0 || s < i.length ? i.slice(n, s) : i;
|
|
4702
4702
|
}
|
|
4703
|
-
const
|
|
4703
|
+
const Aa = [
|
|
4704
4704
|
"push",
|
|
4705
4705
|
"pop",
|
|
4706
4706
|
"shift",
|
|
@@ -4720,7 +4720,7 @@ function Zu(i, t) {
|
|
|
4720
4720
|
t
|
|
4721
4721
|
]
|
|
4722
4722
|
}
|
|
4723
|
-
}),
|
|
4723
|
+
}), Aa.forEach((e) => {
|
|
4724
4724
|
const n = "_onData" + js(e), s = i[e];
|
|
4725
4725
|
Object.defineProperty(i, e, {
|
|
4726
4726
|
configurable: !0,
|
|
@@ -4739,11 +4739,11 @@ function zr(i, t) {
|
|
|
4739
4739
|
if (!e)
|
|
4740
4740
|
return;
|
|
4741
4741
|
const n = e.listeners, s = n.indexOf(t);
|
|
4742
|
-
s !== -1 && n.splice(s, 1), !(n.length > 0) && (
|
|
4742
|
+
s !== -1 && n.splice(s, 1), !(n.length > 0) && (Aa.forEach((r) => {
|
|
4743
4743
|
delete i[r];
|
|
4744
4744
|
}), delete i._chartjs);
|
|
4745
4745
|
}
|
|
4746
|
-
function
|
|
4746
|
+
function Ta(i) {
|
|
4747
4747
|
const t = new Set(i);
|
|
4748
4748
|
return t.size === i.length ? i : Array.from(t);
|
|
4749
4749
|
}
|
|
@@ -5106,7 +5106,7 @@ var K = /* @__PURE__ */ new cf({
|
|
|
5106
5106
|
af
|
|
5107
5107
|
]);
|
|
5108
5108
|
function lf(i) {
|
|
5109
|
-
return !i ||
|
|
5109
|
+
return !i || X(i.size) || X(i.family) ? null : (i.style ? i.style + " " : "") + (i.weight ? i.weight + " " : "") + i.size + "px " + i.family;
|
|
5110
5110
|
}
|
|
5111
5111
|
function Wr(i, t, e, n, s) {
|
|
5112
5112
|
let r = t[s];
|
|
@@ -5181,7 +5181,7 @@ function Us(i) {
|
|
|
5181
5181
|
i.restore();
|
|
5182
5182
|
}
|
|
5183
5183
|
function hf(i, t) {
|
|
5184
|
-
t.translation && i.translate(t.translation[0], t.translation[1]),
|
|
5184
|
+
t.translation && i.translate(t.translation[0], t.translation[1]), X(t.rotation) || i.rotate(t.rotation), t.color && (i.fillStyle = t.color), t.textAlign && (i.textAlign = t.textAlign), t.textBaseline && (i.textBaseline = t.textBaseline);
|
|
5185
5185
|
}
|
|
5186
5186
|
function uf(i, t, e, n, s) {
|
|
5187
5187
|
if (s.strikethrough || s.underline) {
|
|
@@ -5199,7 +5199,7 @@ function yi(i, t, e, n, s, r = {}) {
|
|
|
5199
5199
|
], a = r.strokeWidth > 0 && r.strokeColor !== "";
|
|
5200
5200
|
let c, l;
|
|
5201
5201
|
for (i.save(), i.font = s.string, hf(i, r), c = 0; c < o.length; ++c)
|
|
5202
|
-
l = o[c], r.backdrop && ff(i, r.backdrop), a && (r.strokeColor && (i.strokeStyle = r.strokeColor),
|
|
5202
|
+
l = o[c], r.backdrop && ff(i, r.backdrop), a && (r.strokeColor && (i.strokeStyle = r.strokeColor), X(r.strokeWidth) || (i.lineWidth = r.strokeWidth), i.strokeText(l, e, n, r.maxWidth)), i.fillText(l, e, n, r.maxWidth), uf(i, e, n, l, r), n += Number(s.lineHeight);
|
|
5203
5203
|
i.restore();
|
|
5204
5204
|
}
|
|
5205
5205
|
function Sn(i, t) {
|
|
@@ -5243,7 +5243,7 @@ function Pe(i) {
|
|
|
5243
5243
|
"bottomRight"
|
|
5244
5244
|
]);
|
|
5245
5245
|
}
|
|
5246
|
-
function
|
|
5246
|
+
function Tt(i) {
|
|
5247
5247
|
const t = za(i);
|
|
5248
5248
|
return t.width = t.left + t.right, t.height = t.top + t.bottom, t;
|
|
5249
5249
|
}
|
|
@@ -5515,7 +5515,7 @@ function Of(i) {
|
|
|
5515
5515
|
t.add(n);
|
|
5516
5516
|
return Array.from(t);
|
|
5517
5517
|
}
|
|
5518
|
-
function
|
|
5518
|
+
function Af(i, t, e, n) {
|
|
5519
5519
|
const { iScale: s } = i, { key: r = "r" } = this._parsing, o = new Array(n);
|
|
5520
5520
|
let a, c, l, h;
|
|
5521
5521
|
for (a = 0, c = n; a < c; ++a)
|
|
@@ -5536,7 +5536,7 @@ function kn(i, t, e) {
|
|
|
5536
5536
|
return typeof i == "string" ? (n = parseInt(i, 10), i.indexOf("%") !== -1 && (n = n / 100 * t.parentNode[e])) : n = i, n;
|
|
5537
5537
|
}
|
|
5538
5538
|
const Rn = (i) => i.ownerDocument.defaultView.getComputedStyle(i, null);
|
|
5539
|
-
function
|
|
5539
|
+
function Tf(i, t) {
|
|
5540
5540
|
return Rn(i).getPropertyValue(t);
|
|
5541
5541
|
}
|
|
5542
5542
|
const Df = [
|
|
@@ -5631,7 +5631,7 @@ const Lf = function() {
|
|
|
5631
5631
|
return i;
|
|
5632
5632
|
}();
|
|
5633
5633
|
function Kr(i, t) {
|
|
5634
|
-
const e =
|
|
5634
|
+
const e = Tf(i, t), n = e && e.match(/^(\d+)(\.\d+)?px$/);
|
|
5635
5635
|
return n ? +n[1] : void 0;
|
|
5636
5636
|
}
|
|
5637
5637
|
const If = function(i, t) {
|
|
@@ -5982,7 +5982,7 @@ function Zr(i, t, e, n = {}) {
|
|
|
5982
5982
|
continue;
|
|
5983
5983
|
break;
|
|
5984
5984
|
}
|
|
5985
|
-
l = i.values[c],
|
|
5985
|
+
l = i.values[c], At(l) && (r || t === 0 || ie(t) === ie(l)) && (t += l);
|
|
5986
5986
|
}
|
|
5987
5987
|
return !h && !n.all ? 0 : t;
|
|
5988
5988
|
}
|
|
@@ -6212,7 +6212,7 @@ class ye {
|
|
|
6212
6212
|
function p() {
|
|
6213
6213
|
d = s[f];
|
|
6214
6214
|
const m = d[a.axis];
|
|
6215
|
-
return !
|
|
6215
|
+
return !At(d[t.axis]) || h > m || u < m;
|
|
6216
6216
|
}
|
|
6217
6217
|
for (f = 0; f < o && !(!p() && (this.updateRangeFromParsed(l, t, d, c), r)); ++f)
|
|
6218
6218
|
;
|
|
@@ -6229,7 +6229,7 @@ class ye {
|
|
|
6229
6229
|
const e = this._cachedMeta._parsed, n = [];
|
|
6230
6230
|
let s, r, o;
|
|
6231
6231
|
for (s = 0, r = e.length; s < r; ++s)
|
|
6232
|
-
o = e[s][t.axis],
|
|
6232
|
+
o = e[s][t.axis], At(o) && n.push(o);
|
|
6233
6233
|
return n;
|
|
6234
6234
|
}
|
|
6235
6235
|
getMaxOverflow() {
|
|
@@ -6437,7 +6437,7 @@ function Zf(i, t) {
|
|
|
6437
6437
|
let n = [];
|
|
6438
6438
|
for (let s = 0, r = e.length; s < r; s++)
|
|
6439
6439
|
n = n.concat(e[s].controller.getAllParsedValues(i));
|
|
6440
|
-
i._cache.$bar =
|
|
6440
|
+
i._cache.$bar = Ta(n.sort((s, r) => s - r));
|
|
6441
6441
|
}
|
|
6442
6442
|
return i._cache.$bar;
|
|
6443
6443
|
}
|
|
@@ -6456,7 +6456,7 @@ function Gf(i) {
|
|
|
6456
6456
|
function Jf(i, t, e, n) {
|
|
6457
6457
|
const s = e.barThickness;
|
|
6458
6458
|
let r, o;
|
|
6459
|
-
return
|
|
6459
|
+
return X(s) ? (r = t.min * e.categoryPercentage, o = e.barPercentage) : (r = s * n, o = 1), {
|
|
6460
6460
|
chunk: r / n,
|
|
6461
6461
|
ratio: o,
|
|
6462
6462
|
start: t.pixels[i] - r / 2
|
|
@@ -6584,7 +6584,7 @@ class hn extends ye {
|
|
|
6584
6584
|
updateElements(t, e, n, s) {
|
|
6585
6585
|
const r = s === "reset", { index: o, _cachedMeta: { vScale: a } } = this, c = a.getBasePixel(), l = a.isHorizontal(), h = this._getRuler(), { sharedOptions: u, includeOptions: f } = this._getSharedOptions(e, s);
|
|
6586
6586
|
for (let d = e; d < e + n; d++) {
|
|
6587
|
-
const p = this.getParsed(d), m = r ||
|
|
6587
|
+
const p = this.getParsed(d), m = r || X(p[a.axis]) ? {
|
|
6588
6588
|
base: c,
|
|
6589
6589
|
head: c
|
|
6590
6590
|
} : this._calculateBarValuePixels(d), b = this._calculateBarIndexPixels(d, h), y = (p._stacks || {})[a.axis], x = {
|
|
@@ -6604,7 +6604,7 @@ class hn extends ye {
|
|
|
6604
6604
|
_getStacks(t, e) {
|
|
6605
6605
|
const { iScale: n } = this._cachedMeta, s = n.getMatchingVisibleMetas(this._type).filter((h) => h.controller.options.grouped), r = n.options.stacked, o = [], a = this._cachedMeta.controller.getParsed(e), c = a && a[n.axis], l = (h) => {
|
|
6606
6606
|
const u = h._parsed.find((d) => d[n.axis] === c), f = u && u[h.vScale.axis];
|
|
6607
|
-
if (
|
|
6607
|
+
if (X(f) || isNaN(f))
|
|
6608
6608
|
return !0;
|
|
6609
6609
|
};
|
|
6610
6610
|
for (const h of s)
|
|
@@ -6640,7 +6640,7 @@ class hn extends ye {
|
|
|
6640
6640
|
const { _cachedMeta: { vScale: e, _stacked: n, index: s }, options: { base: r, minBarLength: o } } = this, a = r || 0, c = this.getParsed(t), l = c._custom, h = Xn(l);
|
|
6641
6641
|
let u = c[e.axis], f = 0, d = n ? this.applyStack(e, c, n) : u, p, m;
|
|
6642
6642
|
d !== u && (f = d - u, d = u), h && (u = l.barStart, d = l.barEnd - l.barStart, u !== 0 && ie(u) !== ie(l.barEnd) && (f = 0), f += u);
|
|
6643
|
-
const b = !
|
|
6643
|
+
const b = !X(r) && !h ? r : f;
|
|
6644
6644
|
let y = e.getPixelForValue(b);
|
|
6645
6645
|
if (this.chart.getDataVisibility(t) ? p = e.getPixelForValue(f + d) : p = y, m = p - y, Math.abs(m) < o) {
|
|
6646
6646
|
m = id(m, e, a) * o, u === a && (y -= m / 2);
|
|
@@ -6926,7 +6926,7 @@ class un extends ye {
|
|
|
6926
6926
|
};
|
|
6927
6927
|
}
|
|
6928
6928
|
parseObjectData(t, e, n, s) {
|
|
6929
|
-
return
|
|
6929
|
+
return Af.bind(this)(t, e, n, s);
|
|
6930
6930
|
}
|
|
6931
6931
|
update(t) {
|
|
6932
6932
|
const e = this._cachedMeta.data;
|
|
@@ -7119,7 +7119,7 @@ function ld(i, t, e, n) {
|
|
|
7119
7119
|
hi: r.length - 1
|
|
7120
7120
|
};
|
|
7121
7121
|
}
|
|
7122
|
-
function
|
|
7122
|
+
function Ai(i, t, e, n, s) {
|
|
7123
7123
|
const r = i.getSortedVisibleDatasetMetas(), o = e[t];
|
|
7124
7124
|
for (let a = 0, c = r.length; a < c; ++a) {
|
|
7125
7125
|
const { index: l, data: h } = r[a], { lo: u, hi: f } = ld(r[a], t, o, s);
|
|
@@ -7138,7 +7138,7 @@ function hd(i) {
|
|
|
7138
7138
|
}
|
|
7139
7139
|
function Kn(i, t, e, n, s) {
|
|
7140
7140
|
const r = [];
|
|
7141
|
-
return !s && !i.isPointInArea(t) ||
|
|
7141
|
+
return !s && !i.isPointInArea(t) || Ai(i, e, t, function(a, c, l) {
|
|
7142
7142
|
!s && !Ia(a, i.chartArea, 0) || a.inRange(t.x, t.y, n) && r.push({
|
|
7143
7143
|
element: a,
|
|
7144
7144
|
datasetIndex: c,
|
|
@@ -7162,7 +7162,7 @@ function ud(i, t, e, n) {
|
|
|
7162
7162
|
index: c
|
|
7163
7163
|
});
|
|
7164
7164
|
}
|
|
7165
|
-
return
|
|
7165
|
+
return Ai(i, e, t, r), s;
|
|
7166
7166
|
}
|
|
7167
7167
|
function fd(i, t, e, n, s, r) {
|
|
7168
7168
|
let o = [];
|
|
@@ -7188,7 +7188,7 @@ function fd(i, t, e, n, s, r) {
|
|
|
7188
7188
|
index: f
|
|
7189
7189
|
});
|
|
7190
7190
|
}
|
|
7191
|
-
return
|
|
7191
|
+
return Ai(i, e, t, l), o;
|
|
7192
7192
|
}
|
|
7193
7193
|
function qn(i, t, e, n, s, r) {
|
|
7194
7194
|
return !r && !i.isPointInArea(t) ? [] : e === "r" && !n ? ud(i, t, e, s) : fd(i, t, e, n, s, r);
|
|
@@ -7196,7 +7196,7 @@ function qn(i, t, e, n, s, r) {
|
|
|
7196
7196
|
function so(i, t, e, n, s) {
|
|
7197
7197
|
const r = [], o = e === "x" ? "inXRange" : "inYRange";
|
|
7198
7198
|
let a = !1;
|
|
7199
|
-
return
|
|
7199
|
+
return Ai(i, e, t, (c, l, h) => {
|
|
7200
7200
|
c[o] && c[o](t[e], s) && (r.push({
|
|
7201
7201
|
element: c,
|
|
7202
7202
|
datasetIndex: l,
|
|
@@ -7205,7 +7205,7 @@ function so(i, t, e, n, s) {
|
|
|
7205
7205
|
}), n && !a ? [] : r;
|
|
7206
7206
|
}
|
|
7207
7207
|
var dd = {
|
|
7208
|
-
evaluateInteractionItems:
|
|
7208
|
+
evaluateInteractionItems: Ai,
|
|
7209
7209
|
modes: {
|
|
7210
7210
|
index(i, t, e, n) {
|
|
7211
7211
|
const s = ge(t, i), r = e.axis || "x", o = e.includeInvisible || !1, a = e.intersect ? Kn(i, s, r, n, o) : qn(i, s, r, !1, n, o), c = [];
|
|
@@ -7431,7 +7431,7 @@ var wt = {
|
|
|
7431
7431
|
update(i, t, e, n) {
|
|
7432
7432
|
if (!i)
|
|
7433
7433
|
return;
|
|
7434
|
-
const s =
|
|
7434
|
+
const s = Tt(i.options.layout.padding), r = Math.max(t - s.width, 0), o = Math.max(e - s.height, 0), a = bd(i.boxes), c = a.vertical, l = a.horizontal;
|
|
7435
7435
|
$(i.boxes, (m) => {
|
|
7436
7436
|
typeof m.beforeLayout == "function" && m.beforeLayout();
|
|
7437
7437
|
});
|
|
@@ -7444,7 +7444,7 @@ var wt = {
|
|
|
7444
7444
|
vBoxMaxWidth: r / 2 / h,
|
|
7445
7445
|
hBoxMaxHeight: o / 2
|
|
7446
7446
|
}), f = Object.assign({}, s);
|
|
7447
|
-
Ka(f,
|
|
7447
|
+
Ka(f, Tt(n));
|
|
7448
7448
|
const d = Object.assign({
|
|
7449
7449
|
maxPadding: f,
|
|
7450
7450
|
w: r,
|
|
@@ -7563,7 +7563,7 @@ function Mn(i, t) {
|
|
|
7563
7563
|
if (e === t || e.contains(t))
|
|
7564
7564
|
return !0;
|
|
7565
7565
|
}
|
|
7566
|
-
function
|
|
7566
|
+
function Ad(i, t, e) {
|
|
7567
7567
|
const n = i.canvas, s = new MutationObserver((r) => {
|
|
7568
7568
|
let o = !1;
|
|
7569
7569
|
for (const a of r)
|
|
@@ -7575,7 +7575,7 @@ function Td(i, t, e) {
|
|
|
7575
7575
|
subtree: !0
|
|
7576
7576
|
}), s;
|
|
7577
7577
|
}
|
|
7578
|
-
function
|
|
7578
|
+
function Td(i, t, e) {
|
|
7579
7579
|
const n = i.canvas, s = new MutationObserver((r) => {
|
|
7580
7580
|
let o = !1;
|
|
7581
7581
|
for (const a of r)
|
|
@@ -7638,7 +7638,7 @@ class Rd extends qa {
|
|
|
7638
7638
|
"width"
|
|
7639
7639
|
].forEach((r) => {
|
|
7640
7640
|
const o = n[r];
|
|
7641
|
-
|
|
7641
|
+
X(o) ? e.removeAttribute(r) : e.setAttribute(r, o);
|
|
7642
7642
|
});
|
|
7643
7643
|
const s = n.style || {};
|
|
7644
7644
|
return Object.keys(s).forEach((r) => {
|
|
@@ -7648,8 +7648,8 @@ class Rd extends qa {
|
|
|
7648
7648
|
addEventListener(t, e, n) {
|
|
7649
7649
|
this.removeEventListener(t, e);
|
|
7650
7650
|
const s = t.$proxies || (t.$proxies = {}), o = {
|
|
7651
|
-
attach:
|
|
7652
|
-
detach:
|
|
7651
|
+
attach: Ad,
|
|
7652
|
+
detach: Td,
|
|
7653
7653
|
resize: Pd
|
|
7654
7654
|
}[e] || Cd;
|
|
7655
7655
|
s[e] = o(t, e, n);
|
|
@@ -7718,9 +7718,9 @@ function Id(i, t) {
|
|
|
7718
7718
|
if (o > 0) {
|
|
7719
7719
|
let u, f;
|
|
7720
7720
|
const d = o > 1 ? Math.round((c - a) / (o - 1)) : null;
|
|
7721
|
-
for (Qi(t, l, h,
|
|
7721
|
+
for (Qi(t, l, h, X(d) ? 0 : a - d, a), u = 0, f = o - 1; u < f; u++)
|
|
7722
7722
|
Qi(t, l, h, r[u], r[u + 1]);
|
|
7723
|
-
return Qi(t, l, h, c,
|
|
7723
|
+
return Qi(t, l, h, c, X(d) ? t.length : c + d), l;
|
|
7724
7724
|
}
|
|
7725
7725
|
return Qi(t, l, h), l;
|
|
7726
7726
|
}
|
|
@@ -7801,7 +7801,7 @@ function Je(i) {
|
|
|
7801
7801
|
function po(i, t) {
|
|
7802
7802
|
if (!i.display)
|
|
7803
7803
|
return 0;
|
|
7804
|
-
const e = rt(i.font, t), n =
|
|
7804
|
+
const e = rt(i.font, t), n = Tt(i.padding);
|
|
7805
7805
|
return (Z(i.text) ? i.text.length : 1) * e.lineHeight + n.height;
|
|
7806
7806
|
}
|
|
7807
7807
|
function $d(i, t) {
|
|
@@ -7865,8 +7865,8 @@ class We extends je {
|
|
|
7865
7865
|
return t = Pt(t, Number.POSITIVE_INFINITY), e = Pt(e, Number.NEGATIVE_INFINITY), n = Pt(n, Number.POSITIVE_INFINITY), s = Pt(s, Number.NEGATIVE_INFINITY), {
|
|
7866
7866
|
min: Pt(t, n),
|
|
7867
7867
|
max: Pt(e, s),
|
|
7868
|
-
minDefined:
|
|
7869
|
-
maxDefined:
|
|
7868
|
+
minDefined: At(t),
|
|
7869
|
+
maxDefined: At(e)
|
|
7870
7870
|
};
|
|
7871
7871
|
}
|
|
7872
7872
|
getMinMax(t) {
|
|
@@ -7906,7 +7906,7 @@ class We extends je {
|
|
|
7906
7906
|
this._cache = {}, this._dataLimitsCached = !1;
|
|
7907
7907
|
}
|
|
7908
7908
|
beforeUpdate() {
|
|
7909
|
-
|
|
7909
|
+
Y(this.options.beforeUpdate, [
|
|
7910
7910
|
this
|
|
7911
7911
|
]);
|
|
7912
7912
|
}
|
|
@@ -7926,12 +7926,12 @@ class We extends je {
|
|
|
7926
7926
|
this.isHorizontal() ? (e = this.left, n = this.right) : (e = this.top, n = this.bottom, t = !t), this._startPixel = e, this._endPixel = n, this._reversePixels = t, this._length = n - e, this._alignToPixels = this.options.alignToPixels;
|
|
7927
7927
|
}
|
|
7928
7928
|
afterUpdate() {
|
|
7929
|
-
|
|
7929
|
+
Y(this.options.afterUpdate, [
|
|
7930
7930
|
this
|
|
7931
7931
|
]);
|
|
7932
7932
|
}
|
|
7933
7933
|
beforeSetDimensions() {
|
|
7934
|
-
|
|
7934
|
+
Y(this.options.beforeSetDimensions, [
|
|
7935
7935
|
this
|
|
7936
7936
|
]);
|
|
7937
7937
|
}
|
|
@@ -7939,12 +7939,12 @@ class We extends je {
|
|
|
7939
7939
|
this.isHorizontal() ? (this.width = this.maxWidth, this.left = 0, this.right = this.width) : (this.height = this.maxHeight, this.top = 0, this.bottom = this.height), this.paddingLeft = 0, this.paddingTop = 0, this.paddingRight = 0, this.paddingBottom = 0;
|
|
7940
7940
|
}
|
|
7941
7941
|
afterSetDimensions() {
|
|
7942
|
-
|
|
7942
|
+
Y(this.options.afterSetDimensions, [
|
|
7943
7943
|
this
|
|
7944
7944
|
]);
|
|
7945
7945
|
}
|
|
7946
7946
|
_callHooks(t) {
|
|
7947
|
-
this.chart.notifyPlugins(t, this.getContext()),
|
|
7947
|
+
this.chart.notifyPlugins(t, this.getContext()), Y(this.options[t], [
|
|
7948
7948
|
this
|
|
7949
7949
|
]);
|
|
7950
7950
|
}
|
|
@@ -7966,7 +7966,7 @@ class We extends je {
|
|
|
7966
7966
|
this._callHooks("afterBuildTicks");
|
|
7967
7967
|
}
|
|
7968
7968
|
beforeTickToLabelConversion() {
|
|
7969
|
-
|
|
7969
|
+
Y(this.options.beforeTickToLabelConversion, [
|
|
7970
7970
|
this
|
|
7971
7971
|
]);
|
|
7972
7972
|
}
|
|
@@ -7974,19 +7974,19 @@ class We extends je {
|
|
|
7974
7974
|
const e = this.options.ticks;
|
|
7975
7975
|
let n, s, r;
|
|
7976
7976
|
for (n = 0, s = t.length; n < s; n++)
|
|
7977
|
-
r = t[n], r.label =
|
|
7977
|
+
r = t[n], r.label = Y(e.callback, [
|
|
7978
7978
|
r.value,
|
|
7979
7979
|
n,
|
|
7980
7980
|
t
|
|
7981
7981
|
], this);
|
|
7982
7982
|
}
|
|
7983
7983
|
afterTickToLabelConversion() {
|
|
7984
|
-
|
|
7984
|
+
Y(this.options.afterTickToLabelConversion, [
|
|
7985
7985
|
this
|
|
7986
7986
|
]);
|
|
7987
7987
|
}
|
|
7988
7988
|
beforeCalculateLabelRotation() {
|
|
7989
|
-
|
|
7989
|
+
Y(this.options.beforeCalculateLabelRotation, [
|
|
7990
7990
|
this
|
|
7991
7991
|
]);
|
|
7992
7992
|
}
|
|
@@ -8001,14 +8001,14 @@ class We extends je {
|
|
|
8001
8001
|
a = t.offset ? this.maxWidth / n : d / (n - 1), u + 6 > a && (a = d / (n - (t.offset ? 0.5 : 1)), c = this.maxHeight - Je(t.grid) - e.padding - po(t.title, this.chart.options.font), l = Math.sqrt(u * u + f * f), o = Uu(Math.min(Math.asin(Et((h.highest.height + 6) / a, -1, 1)), Math.asin(Et(c / l, -1, 1)) - Math.asin(Et(f / l, -1, 1)))), o = Math.max(s, Math.min(r, o))), this.labelRotation = o;
|
|
8002
8002
|
}
|
|
8003
8003
|
afterCalculateLabelRotation() {
|
|
8004
|
-
|
|
8004
|
+
Y(this.options.afterCalculateLabelRotation, [
|
|
8005
8005
|
this
|
|
8006
8006
|
]);
|
|
8007
8007
|
}
|
|
8008
8008
|
afterAutoSkip() {
|
|
8009
8009
|
}
|
|
8010
8010
|
beforeFit() {
|
|
8011
|
-
|
|
8011
|
+
Y(this.options.beforeFit, [
|
|
8012
8012
|
this
|
|
8013
8013
|
]);
|
|
8014
8014
|
}
|
|
@@ -8048,7 +8048,7 @@ class We extends je {
|
|
|
8048
8048
|
this._margins && (this._margins.left = Math.max(this.paddingLeft, this._margins.left), this._margins.top = Math.max(this.paddingTop, this._margins.top), this._margins.right = Math.max(this.paddingRight, this._margins.right), this._margins.bottom = Math.max(this.paddingBottom, this._margins.bottom));
|
|
8049
8049
|
}
|
|
8050
8050
|
afterFit() {
|
|
8051
|
-
|
|
8051
|
+
Y(this.options.afterFit, [
|
|
8052
8052
|
this
|
|
8053
8053
|
]);
|
|
8054
8054
|
}
|
|
@@ -8063,7 +8063,7 @@ class We extends je {
|
|
|
8063
8063
|
this.beforeTickToLabelConversion(), this.generateTickLabels(t);
|
|
8064
8064
|
let e, n;
|
|
8065
8065
|
for (e = 0, n = t.length; e < n; e++)
|
|
8066
|
-
|
|
8066
|
+
X(t[e].label) && (t.splice(e, 1), n--, e--);
|
|
8067
8067
|
this.afterTickToLabelConversion();
|
|
8068
8068
|
}
|
|
8069
8069
|
_getLabelSizes() {
|
|
@@ -8082,17 +8082,17 @@ class We extends je {
|
|
|
8082
8082
|
if (p = t[u].label, m = this._resolveTickFontOptions(u), s.font = b = m.string, y = r[b] = r[b] || {
|
|
8083
8083
|
data: {},
|
|
8084
8084
|
gc: []
|
|
8085
|
-
}, x = m.lineHeight, S = g = 0, !
|
|
8085
|
+
}, x = m.lineHeight, S = g = 0, !X(p) && !Z(p))
|
|
8086
8086
|
S = Wr(s, y.data, y.gc, S, p), g = x;
|
|
8087
8087
|
else if (Z(p))
|
|
8088
8088
|
for (f = 0, d = p.length; f < d; ++f)
|
|
8089
|
-
k = p[f], !
|
|
8089
|
+
k = p[f], !X(k) && !Z(k) && (S = Wr(s, y.data, y.gc, S, k), g += x);
|
|
8090
8090
|
o.push(S), a.push(g), l = Math.max(S, l), h = Math.max(g, h);
|
|
8091
8091
|
}
|
|
8092
8092
|
Vd(r, e);
|
|
8093
|
-
const w = o.indexOf(l), M = a.indexOf(h), O = (
|
|
8094
|
-
width: o[
|
|
8095
|
-
height: a[
|
|
8093
|
+
const w = o.indexOf(l), M = a.indexOf(h), O = (A) => ({
|
|
8094
|
+
width: o[A] || 0,
|
|
8095
|
+
height: a[A] || 0
|
|
8096
8096
|
});
|
|
8097
8097
|
return {
|
|
8098
8098
|
first: O(0),
|
|
@@ -8151,15 +8151,15 @@ class We extends je {
|
|
|
8151
8151
|
const e = this.axis, n = this.chart, s = this.options, { grid: r, position: o, border: a } = s, c = r.offset, l = this.isHorizontal(), u = this.ticks.length + (c ? 1 : 0), f = Je(r), d = [], p = a.setContext(this.getContext()), m = p.display ? p.width : 0, b = m / 2, y = function(z) {
|
|
8152
8152
|
return fe(n, z, m);
|
|
8153
8153
|
};
|
|
8154
|
-
let x, S, g, k, w, M, O,
|
|
8154
|
+
let x, S, g, k, w, M, O, A, P, E, T, F;
|
|
8155
8155
|
if (o === "top")
|
|
8156
|
-
x = y(this.bottom), M = this.bottom - f,
|
|
8156
|
+
x = y(this.bottom), M = this.bottom - f, A = x - b, E = y(t.top) + b, F = t.bottom;
|
|
8157
8157
|
else if (o === "bottom")
|
|
8158
|
-
x = y(this.top), E = t.top, F = y(t.bottom) - b, M = x + b,
|
|
8158
|
+
x = y(this.top), E = t.top, F = y(t.bottom) - b, M = x + b, A = this.top + f;
|
|
8159
8159
|
else if (o === "left")
|
|
8160
|
-
x = y(this.right), w = this.right - f, O = x - b, P = y(t.left) + b,
|
|
8160
|
+
x = y(this.right), w = this.right - f, O = x - b, P = y(t.left) + b, T = t.right;
|
|
8161
8161
|
else if (o === "right")
|
|
8162
|
-
x = y(this.left), P = t.left,
|
|
8162
|
+
x = y(this.left), P = t.left, T = y(t.right) - b, w = x + b, O = this.left + f;
|
|
8163
8163
|
else if (e === "x") {
|
|
8164
8164
|
if (o === "center")
|
|
8165
8165
|
x = y((t.top + t.bottom) / 2 + 0.5);
|
|
@@ -8167,7 +8167,7 @@ class We extends je {
|
|
|
8167
8167
|
const z = Object.keys(o)[0], W = o[z];
|
|
8168
8168
|
x = y(this.chart.scales[z].getPixelForValue(W));
|
|
8169
8169
|
}
|
|
8170
|
-
E = t.top, F = t.bottom, M = x + b,
|
|
8170
|
+
E = t.top, F = t.bottom, M = x + b, A = M + f;
|
|
8171
8171
|
} else if (e === "y") {
|
|
8172
8172
|
if (o === "center")
|
|
8173
8173
|
x = y((t.left + t.right) / 2);
|
|
@@ -8175,19 +8175,19 @@ class We extends je {
|
|
|
8175
8175
|
const z = Object.keys(o)[0], W = o[z];
|
|
8176
8176
|
x = y(this.chart.scales[z].getPixelForValue(W));
|
|
8177
8177
|
}
|
|
8178
|
-
w = x - b, O = w - f, P = t.left,
|
|
8178
|
+
w = x - b, O = w - f, P = t.left, T = t.right;
|
|
8179
8179
|
}
|
|
8180
8180
|
const B = j(s.ticks.maxTicksLimit, u), L = Math.max(1, Math.ceil(u / B));
|
|
8181
8181
|
for (S = 0; S < u; S += L) {
|
|
8182
8182
|
const z = this.getContext(S), W = r.setContext(z), q = a.setContext(z), ot = W.lineWidth, J = W.color, yt = q.dash || [], tt = q.dashOffset, dt = W.tickWidth, et = W.tickColor, it = W.tickBorderDash || [], nt = W.tickBorderDashOffset;
|
|
8183
|
-
g = Wd(this, S, c), g !== void 0 && (k = fe(n, g, ot), l ? w = O = P =
|
|
8183
|
+
g = Wd(this, S, c), g !== void 0 && (k = fe(n, g, ot), l ? w = O = P = T = k : M = A = E = F = k, d.push({
|
|
8184
8184
|
tx1: w,
|
|
8185
8185
|
ty1: M,
|
|
8186
8186
|
tx2: O,
|
|
8187
|
-
ty2:
|
|
8187
|
+
ty2: A,
|
|
8188
8188
|
x1: P,
|
|
8189
8189
|
y1: E,
|
|
8190
|
-
x2:
|
|
8190
|
+
x2: T,
|
|
8191
8191
|
y2: F,
|
|
8192
8192
|
width: ot,
|
|
8193
8193
|
color: J,
|
|
@@ -8203,7 +8203,7 @@ class We extends je {
|
|
|
8203
8203
|
}
|
|
8204
8204
|
_computeLabelItems(t) {
|
|
8205
8205
|
const e = this.axis, n = this.options, { position: s, ticks: r } = n, o = this.isHorizontal(), a = this.ticks, { align: c, crossAlign: l, padding: h, mirror: u } = r, f = Je(n.grid), d = f + h, p = u ? -h : d, m = -It(this.labelRotation), b = [];
|
|
8206
|
-
let y, x, S, g, k, w, M, O,
|
|
8206
|
+
let y, x, S, g, k, w, M, O, A, P, E, T, F = "middle";
|
|
8207
8207
|
if (s === "top")
|
|
8208
8208
|
w = this.bottom - p, M = this._getXAxisLabelAlignment();
|
|
8209
8209
|
else if (s === "bottom")
|
|
@@ -8236,14 +8236,14 @@ class We extends je {
|
|
|
8236
8236
|
for (y = 0, x = a.length; y < x; ++y) {
|
|
8237
8237
|
S = a[y], g = S.label;
|
|
8238
8238
|
const L = r.setContext(this.getContext(y));
|
|
8239
|
-
O = this.getPixelForTick(y) + r.labelOffset,
|
|
8239
|
+
O = this.getPixelForTick(y) + r.labelOffset, A = this._resolveTickFontOptions(y), P = A.lineHeight, E = Z(g) ? g.length : 1;
|
|
8240
8240
|
const z = E / 2, W = L.color, q = L.textStrokeColor, ot = L.textStrokeWidth;
|
|
8241
8241
|
let J = M;
|
|
8242
|
-
o ? (k = O, M === "inner" && (y === x - 1 ? J = this.options.reverse ? "left" : "right" : y === 0 ? J = this.options.reverse ? "right" : "left" : J = "center"), s === "top" ? l === "near" || m !== 0 ?
|
|
8242
|
+
o ? (k = O, M === "inner" && (y === x - 1 ? J = this.options.reverse ? "left" : "right" : y === 0 ? J = this.options.reverse ? "right" : "left" : J = "center"), s === "top" ? l === "near" || m !== 0 ? T = -E * P + P / 2 : l === "center" ? T = -B.highest.height / 2 - z * P + P : T = -B.highest.height + P / 2 : l === "near" || m !== 0 ? T = P / 2 : l === "center" ? T = B.highest.height / 2 - z * P : T = B.highest.height - E * P, u && (T *= -1), m !== 0 && !L.showLabelBackdrop && (k += P / 2 * Math.sin(m))) : (w = O, T = (1 - E) * P / 2);
|
|
8243
8243
|
let yt;
|
|
8244
8244
|
if (L.showLabelBackdrop) {
|
|
8245
|
-
const tt =
|
|
8246
|
-
let it =
|
|
8245
|
+
const tt = Tt(L.backdropPadding), dt = B.heights[y], et = B.widths[y];
|
|
8246
|
+
let it = T - tt.top, nt = 0 - tt.left;
|
|
8247
8247
|
switch (F) {
|
|
8248
8248
|
case "middle":
|
|
8249
8249
|
it -= dt / 2;
|
|
@@ -8273,8 +8273,8 @@ class We extends je {
|
|
|
8273
8273
|
}
|
|
8274
8274
|
b.push({
|
|
8275
8275
|
label: g,
|
|
8276
|
-
font:
|
|
8277
|
-
textOffset:
|
|
8276
|
+
font: A,
|
|
8277
|
+
textOffset: T,
|
|
8278
8278
|
options: {
|
|
8279
8279
|
rotation: m,
|
|
8280
8280
|
color: W,
|
|
@@ -8390,7 +8390,7 @@ class We extends je {
|
|
|
8390
8390
|
const { ctx: t, options: { position: e, title: n, reverse: s } } = this;
|
|
8391
8391
|
if (!n.display)
|
|
8392
8392
|
return;
|
|
8393
|
-
const r = rt(n.font), o =
|
|
8393
|
+
const r = rt(n.font), o = Tt(n.padding), a = n.align;
|
|
8394
8394
|
let c = r.lineHeight / 2;
|
|
8395
8395
|
e === "bottom" || e === "center" || N(e) ? (c += o.bottom, Z(n.text) && (c += r.lineHeight * (n.text.length - 1))) : c += o.top;
|
|
8396
8396
|
const { titleX: l, titleY: h, maxWidth: u, rotation: f } = Xd(this, c, e, a);
|
|
@@ -8563,7 +8563,7 @@ class Zd {
|
|
|
8563
8563
|
}
|
|
8564
8564
|
_exec(t, e, n) {
|
|
8565
8565
|
const s = js(t);
|
|
8566
|
-
|
|
8566
|
+
Y(n["before" + s], [], n), e[t](n), Y(n["after" + s], [], n);
|
|
8567
8567
|
}
|
|
8568
8568
|
_getRegistryForType(t) {
|
|
8569
8569
|
for (let e = 0; e < this._typedRegistries.length; e++) {
|
|
@@ -8598,13 +8598,13 @@ class Gd {
|
|
|
8598
8598
|
s,
|
|
8599
8599
|
r.options
|
|
8600
8600
|
];
|
|
8601
|
-
if (
|
|
8601
|
+
if (Y(a, c, o) === !1 && s.cancelable)
|
|
8602
8602
|
return !1;
|
|
8603
8603
|
}
|
|
8604
8604
|
return !0;
|
|
8605
8605
|
}
|
|
8606
8606
|
invalidate() {
|
|
8607
|
-
|
|
8607
|
+
X(this._cache) || (this._oldCache = this._cache, this._cache = void 0);
|
|
8608
8608
|
}
|
|
8609
8609
|
_descriptors(t) {
|
|
8610
8610
|
if (this._cache)
|
|
@@ -8929,13 +8929,13 @@ function xo(i, t) {
|
|
|
8929
8929
|
}
|
|
8930
8930
|
function _o(i) {
|
|
8931
8931
|
const t = i.chart, e = t.options.animation;
|
|
8932
|
-
t.notifyPlugins("afterRender"),
|
|
8932
|
+
t.notifyPlugins("afterRender"), Y(e && e.onComplete, [
|
|
8933
8933
|
i
|
|
8934
8934
|
], t);
|
|
8935
8935
|
}
|
|
8936
8936
|
function pp(i) {
|
|
8937
8937
|
const t = i.chart, e = t.options.animation;
|
|
8938
|
-
|
|
8938
|
+
Y(e && e.onProgress, [
|
|
8939
8939
|
i
|
|
8940
8940
|
], t);
|
|
8941
8941
|
}
|
|
@@ -8994,7 +8994,7 @@ let Gs = (Zt = class {
|
|
|
8994
8994
|
}
|
|
8995
8995
|
get aspectRatio() {
|
|
8996
8996
|
const { options: { aspectRatio: t, maintainAspectRatio: e }, width: n, height: s, _aspectRatio: r } = this;
|
|
8997
|
-
return
|
|
8997
|
+
return X(t) ? e && r ? r : s ? n / s : null : t;
|
|
8998
8998
|
}
|
|
8999
8999
|
get data() {
|
|
9000
9000
|
return this.config.data;
|
|
@@ -9030,7 +9030,7 @@ let Gs = (Zt = class {
|
|
|
9030
9030
|
const n = this.options, s = this.canvas, r = n.maintainAspectRatio && this.aspectRatio, o = this.platform.getMaximumSize(s, t, e, r), a = n.devicePixelRatio || this.platform.getDevicePixelRatio(), c = this.width ? "resize" : "attach";
|
|
9031
9031
|
this.width = o.width, this.height = o.height, this._aspectRatio = this.aspectRatio, Xr(this, a, !0) && (this.notifyPlugins("resize", {
|
|
9032
9032
|
size: o
|
|
9033
|
-
}),
|
|
9033
|
+
}), Y(n.onResize, [
|
|
9034
9034
|
this,
|
|
9035
9035
|
o
|
|
9036
9036
|
], this), this.attached && this._doResize(c) && this.render());
|
|
@@ -9431,11 +9431,11 @@ let Gs = (Zt = class {
|
|
|
9431
9431
|
}
|
|
9432
9432
|
_handleEvent(t, e, n) {
|
|
9433
9433
|
const { _active: s = [], options: r } = this, o = e, a = this._getActiveElements(t, s, n, o), c = Nu(t), l = mp(t, this._lastEvent, n, c);
|
|
9434
|
-
n && (this._lastEvent = null,
|
|
9434
|
+
n && (this._lastEvent = null, Y(r.onHover, [
|
|
9435
9435
|
t,
|
|
9436
9436
|
a,
|
|
9437
9437
|
this
|
|
9438
|
-
], this), c &&
|
|
9438
|
+
], this), c && Y(r.onClick, [
|
|
9439
9439
|
t,
|
|
9440
9440
|
a,
|
|
9441
9441
|
this
|
|
@@ -9620,10 +9620,10 @@ function Mo(i) {
|
|
|
9620
9620
|
return !0;
|
|
9621
9621
|
return !1;
|
|
9622
9622
|
}
|
|
9623
|
-
function
|
|
9623
|
+
function Ap(i) {
|
|
9624
9624
|
return i && (i.borderColor || i.backgroundColor);
|
|
9625
9625
|
}
|
|
9626
|
-
function
|
|
9626
|
+
function Tp() {
|
|
9627
9627
|
return K.borderColor !== "rgba(0,0,0,0.1)" || K.backgroundColor !== "rgba(0,0,0,0.1)";
|
|
9628
9628
|
}
|
|
9629
9629
|
var Dp = {
|
|
@@ -9635,7 +9635,7 @@ var Dp = {
|
|
|
9635
9635
|
beforeLayout(i, t, e) {
|
|
9636
9636
|
if (!e.enabled)
|
|
9637
9637
|
return;
|
|
9638
|
-
const { data: { datasets: n }, options: s } = i.config, { elements: r } = s, o = Mo(n) ||
|
|
9638
|
+
const { data: { datasets: n }, options: s } = i.config, { elements: r } = s, o = Mo(n) || Ap(s) || r && Mo(r) || Tp();
|
|
9639
9639
|
if (!e.forceOverride && o)
|
|
9640
9640
|
return;
|
|
9641
9641
|
const a = Op(i);
|
|
@@ -9650,7 +9650,7 @@ const Oo = (i, t) => {
|
|
|
9650
9650
|
itemHeight: Math.max(t, e)
|
|
9651
9651
|
};
|
|
9652
9652
|
}, Ep = (i, t) => i !== null && t !== null && i.datasetIndex === t.datasetIndex && i.index === t.index;
|
|
9653
|
-
class
|
|
9653
|
+
class Ao extends je {
|
|
9654
9654
|
constructor(t) {
|
|
9655
9655
|
super(), this._added = !1, this.legendHitBoxes = [], this._hoveredItem = null, this.doughnutMode = !1, this.chart = t.chart, this.options = t.options, this.ctx = t.ctx, this.legendItems = void 0, this.columnSizes = void 0, this.lineWidths = void 0, this.maxHeight = void 0, this.maxWidth = void 0, this.top = void 0, this.bottom = void 0, this.left = void 0, this.right = void 0, this.height = void 0, this.width = void 0, this._margins = void 0, this.position = void 0, this.weight = void 0, this.fullSize = void 0;
|
|
9656
9656
|
}
|
|
@@ -9662,7 +9662,7 @@ class To extends je {
|
|
|
9662
9662
|
}
|
|
9663
9663
|
buildLabels() {
|
|
9664
9664
|
const t = this.options.labels || {};
|
|
9665
|
-
let e =
|
|
9665
|
+
let e = Y(t.generateLabels, [
|
|
9666
9666
|
this.chart
|
|
9667
9667
|
], this) || [];
|
|
9668
9668
|
t.filter && (e = e.filter((n) => t.filter(n, this.chart.data))), t.sort && (e = e.sort((n, s) => t.sort(n, s, this.chart.data))), this.options.reverse && e.reverse(), this.legendItems = e;
|
|
@@ -9746,24 +9746,24 @@ class To extends je {
|
|
|
9746
9746
|
if (isNaN(p) || p <= 0 || isNaN(m) || m < 0)
|
|
9747
9747
|
return;
|
|
9748
9748
|
s.save();
|
|
9749
|
-
const
|
|
9750
|
-
if (s.fillStyle = j(O.fillStyle, a), s.lineCap = j(O.lineCap, "butt"), s.lineDashOffset = j(O.lineDashOffset, 0), s.lineJoin = j(O.lineJoin, "miter"), s.lineWidth =
|
|
9749
|
+
const A = j(O.lineWidth, 1);
|
|
9750
|
+
if (s.fillStyle = j(O.fillStyle, a), s.lineCap = j(O.lineCap, "butt"), s.lineDashOffset = j(O.lineDashOffset, 0), s.lineJoin = j(O.lineJoin, "miter"), s.lineWidth = A, s.strokeStyle = j(O.strokeStyle, a), s.setLineDash(j(O.lineDash, [])), o.usePointStyle) {
|
|
9751
9751
|
const P = {
|
|
9752
9752
|
radius: m * Math.SQRT2 / 2,
|
|
9753
9753
|
pointStyle: O.pointStyle,
|
|
9754
9754
|
rotation: O.rotation,
|
|
9755
|
-
borderWidth:
|
|
9756
|
-
}, E = c.xPlus(w, p / 2),
|
|
9757
|
-
La(s, P, E,
|
|
9755
|
+
borderWidth: A
|
|
9756
|
+
}, E = c.xPlus(w, p / 2), T = M + f;
|
|
9757
|
+
La(s, P, E, T, o.pointStyleWidth && p);
|
|
9758
9758
|
} else {
|
|
9759
|
-
const P = M + Math.max((u - m) / 2, 0), E = c.leftForLtr(w, p),
|
|
9760
|
-
s.beginPath(), Object.values(
|
|
9759
|
+
const P = M + Math.max((u - m) / 2, 0), E = c.leftForLtr(w, p), T = Pe(O.borderRadius);
|
|
9760
|
+
s.beginPath(), Object.values(T).some((F) => F !== 0) ? Sn(s, {
|
|
9761
9761
|
x: E,
|
|
9762
9762
|
y: P,
|
|
9763
9763
|
w: p,
|
|
9764
9764
|
h: m,
|
|
9765
|
-
radius:
|
|
9766
|
-
}) : s.rect(E, P, p, m), s.fill(),
|
|
9765
|
+
radius: T
|
|
9766
|
+
}) : s.rect(E, P, p, m), s.fill(), A !== 0 && s.stroke();
|
|
9767
9767
|
}
|
|
9768
9768
|
s.restore();
|
|
9769
9769
|
}, x = function(w, M, O) {
|
|
@@ -9784,11 +9784,11 @@ class To extends je {
|
|
|
9784
9784
|
const k = b + h;
|
|
9785
9785
|
this.legendItems.forEach((w, M) => {
|
|
9786
9786
|
s.strokeStyle = w.fontColor, s.fillStyle = w.fontColor;
|
|
9787
|
-
const O = s.measureText(w.text).width,
|
|
9788
|
-
let E = d.x,
|
|
9789
|
-
c.setWidth(this.width), S ? M > 0 && E + P + h > this.right && (
|
|
9787
|
+
const O = s.measureText(w.text).width, A = c.textAlign(w.textAlign || (w.textAlign = o.textAlign)), P = p + f + O;
|
|
9788
|
+
let E = d.x, T = d.y;
|
|
9789
|
+
c.setWidth(this.width), S ? M > 0 && E + P + h > this.right && (T = d.y += k, d.line++, E = d.x = st(r, this.left + h, this.right - n[d.line])) : M > 0 && T + k > this.bottom && (E = d.x = E + e[d.line].width + h, d.line++, T = d.y = st(r, this.top + g + h, this.bottom - e[d.line].height));
|
|
9790
9790
|
const F = c.x(E);
|
|
9791
|
-
if (y(F,
|
|
9791
|
+
if (y(F, T, w), E = Ju(A, E + p + f, S ? E + P : this.right, t.rtl), x(c.x(E), T, w), S)
|
|
9792
9792
|
d.x += P + h;
|
|
9793
9793
|
else if (typeof w.text != "string") {
|
|
9794
9794
|
const B = l.lineHeight;
|
|
@@ -9798,7 +9798,7 @@ class To extends je {
|
|
|
9798
9798
|
}), Va(this.ctx, t.textDirection);
|
|
9799
9799
|
}
|
|
9800
9800
|
drawTitle() {
|
|
9801
|
-
const t = this.options, e = t.title, n = rt(e.font), s =
|
|
9801
|
+
const t = this.options, e = t.title, n = rt(e.font), s = Tt(e.padding);
|
|
9802
9802
|
if (!e.display)
|
|
9803
9803
|
return;
|
|
9804
9804
|
const r = Ce(t.rtl, this.left, this.width), o = this.ctx, a = e.position, c = n.size / 2, l = s.top + c;
|
|
@@ -9813,7 +9813,7 @@ class To extends je {
|
|
|
9813
9813
|
o.textAlign = r.textAlign(Vs(a)), o.textBaseline = "middle", o.strokeStyle = e.color, o.fillStyle = e.color, o.font = n.string, yi(o, e.text, d, h, n);
|
|
9814
9814
|
}
|
|
9815
9815
|
_computeTitleHeight() {
|
|
9816
|
-
const t = this.options.title, e = rt(t.font), n =
|
|
9816
|
+
const t = this.options.title, e = rt(t.font), n = Tt(t.padding);
|
|
9817
9817
|
return t.display ? e.lineHeight + n.height : 0;
|
|
9818
9818
|
}
|
|
9819
9819
|
_getLegendItemAt(t, e) {
|
|
@@ -9832,16 +9832,16 @@ class To extends je {
|
|
|
9832
9832
|
const n = this._getLegendItemAt(t.x, t.y);
|
|
9833
9833
|
if (t.type === "mousemove" || t.type === "mouseout") {
|
|
9834
9834
|
const s = this._hoveredItem, r = Ep(s, n);
|
|
9835
|
-
s && !r &&
|
|
9835
|
+
s && !r && Y(e.onLeave, [
|
|
9836
9836
|
t,
|
|
9837
9837
|
s,
|
|
9838
9838
|
this
|
|
9839
|
-
], this), this._hoveredItem = n, n && !r &&
|
|
9839
|
+
], this), this._hoveredItem = n, n && !r && Y(e.onHover, [
|
|
9840
9840
|
t,
|
|
9841
9841
|
n,
|
|
9842
9842
|
this
|
|
9843
9843
|
], this);
|
|
9844
|
-
} else n &&
|
|
9844
|
+
} else n && Y(e.onClick, [
|
|
9845
9845
|
t,
|
|
9846
9846
|
n,
|
|
9847
9847
|
this
|
|
@@ -9872,9 +9872,9 @@ function Lp(i, t) {
|
|
|
9872
9872
|
}
|
|
9873
9873
|
var Ip = {
|
|
9874
9874
|
id: "legend",
|
|
9875
|
-
_element:
|
|
9875
|
+
_element: Ao,
|
|
9876
9876
|
start(i, t, e) {
|
|
9877
|
-
const n = i.legend = new
|
|
9877
|
+
const n = i.legend = new Ao({
|
|
9878
9878
|
ctx: i.ctx,
|
|
9879
9879
|
options: e,
|
|
9880
9880
|
chart: i
|
|
@@ -9915,7 +9915,7 @@ var Ip = {
|
|
|
9915
9915
|
generateLabels(i) {
|
|
9916
9916
|
const t = i.data.datasets, { labels: { usePointStyle: e, pointStyle: n, textAlign: s, color: r, useBorderRadius: o, borderRadius: a } } = i.legend.options;
|
|
9917
9917
|
return i._getSortedDatasetMetas().map((c) => {
|
|
9918
|
-
const l = c.controller.getStyle(e ? 0 : void 0), h =
|
|
9918
|
+
const l = c.controller.getStyle(e ? 0 : void 0), h = Tt(l.borderWidth);
|
|
9919
9919
|
return {
|
|
9920
9920
|
text: t[c.index].label,
|
|
9921
9921
|
fillStyle: l.backgroundColor,
|
|
@@ -9966,7 +9966,7 @@ class oc extends je {
|
|
|
9966
9966
|
}
|
|
9967
9967
|
this.width = this.right = t, this.height = this.bottom = e;
|
|
9968
9968
|
const s = Z(n.text) ? n.text.length : 1;
|
|
9969
|
-
this._padding =
|
|
9969
|
+
this._padding = Tt(n.padding);
|
|
9970
9970
|
const r = s * rt(n.font).lineHeight + this._padding.height;
|
|
9971
9971
|
this.isHorizontal() ? this.height = r : this.width = r;
|
|
9972
9972
|
}
|
|
@@ -10106,8 +10106,8 @@ function Bp(i, t) {
|
|
|
10106
10106
|
element: e
|
|
10107
10107
|
};
|
|
10108
10108
|
}
|
|
10109
|
-
function
|
|
10110
|
-
const e = i.chart.ctx, { body: n, footer: s, title: r } = i, { boxWidth: o, boxHeight: a } = t, c = rt(t.bodyFont), l = rt(t.titleFont), h = rt(t.footerFont), u = r.length, f = s.length, d = n.length, p =
|
|
10109
|
+
function To(i, t) {
|
|
10110
|
+
const e = i.chart.ctx, { body: n, footer: s, title: r } = i, { boxWidth: o, boxHeight: a } = t, c = rt(t.bodyFont), l = rt(t.titleFont), h = rt(t.footerFont), u = r.length, f = s.length, d = n.length, p = Tt(t.padding);
|
|
10111
10111
|
let m = p.height, b = 0, y = n.reduce((g, k) => g + k.before.length + k.lines.length + k.after.length, 0);
|
|
10112
10112
|
if (y += i.beforeBody.length + i.afterBody.length, u && (m += u * l.lineHeight + (u - 1) * t.titleSpacing + t.titleMarginBottom), y) {
|
|
10113
10113
|
const g = t.displayColors ? Math.max(a, c.lineHeight) : c.lineHeight;
|
|
@@ -10164,7 +10164,7 @@ function Eo(i, t, e, n) {
|
|
|
10164
10164
|
};
|
|
10165
10165
|
}
|
|
10166
10166
|
function tn(i, t, e) {
|
|
10167
|
-
const n =
|
|
10167
|
+
const n = Tt(e.padding);
|
|
10168
10168
|
return t === "center" ? i.x + i.width / 2 : t === "right" ? i.x + i.width - n.right : i.x + n.left;
|
|
10169
10169
|
}
|
|
10170
10170
|
function Po(i) {
|
|
@@ -10204,7 +10204,7 @@ const ac = {
|
|
|
10204
10204
|
let t = i.dataset.label || "";
|
|
10205
10205
|
t && (t += ": ");
|
|
10206
10206
|
const e = i.formattedValue;
|
|
10207
|
-
return
|
|
10207
|
+
return X(e) || (t += e), t;
|
|
10208
10208
|
},
|
|
10209
10209
|
labelColor(i) {
|
|
10210
10210
|
const e = i.chart.getDatasetMeta(i.datasetIndex).controller.getStyle(i.dataIndex);
|
|
@@ -10301,7 +10301,7 @@ class xs extends je {
|
|
|
10301
10301
|
else {
|
|
10302
10302
|
const a = si[n.position].call(this, s, this._eventPosition);
|
|
10303
10303
|
o = this._createItems(n), this.title = this.getTitle(o, n), this.beforeBody = this.getBeforeBody(o, n), this.body = this.getBody(o, n), this.afterBody = this.getAfterBody(o, n), this.footer = this.getFooter(o, n);
|
|
10304
|
-
const c = this._size =
|
|
10304
|
+
const c = this._size = To(this, n), l = Object.assign({}, a, c), h = Do(this.chart, n, l), u = Eo(n, l, h, this.chart);
|
|
10305
10305
|
this.xAlign = h.xAlign, this.yAlign = h.yAlign, r = {
|
|
10306
10306
|
opacity: 1,
|
|
10307
10307
|
x: u.x,
|
|
@@ -10405,7 +10405,7 @@ class xs extends je {
|
|
|
10405
10405
|
const o = si[t.position].call(this, this._active, this._eventPosition);
|
|
10406
10406
|
if (!o)
|
|
10407
10407
|
return;
|
|
10408
|
-
const a = this._size =
|
|
10408
|
+
const a = this._size = To(this, t), c = Object.assign({}, o, this._size), l = Do(e, t, c), h = Eo(t, c, l, e);
|
|
10409
10409
|
(s._to !== h.x || r._to !== h.y) && (this.xAlign = l.xAlign, this.yAlign = l.yAlign, this.width = a.width, this.height = a.height, this.caretX = o.x, this.caretY = o.y, this._resolveAnimations().update(this, h));
|
|
10410
10410
|
}
|
|
10411
10411
|
}
|
|
@@ -10426,7 +10426,7 @@ class xs extends je {
|
|
|
10426
10426
|
y: this.y
|
|
10427
10427
|
};
|
|
10428
10428
|
n = Math.abs(n) < 1e-3 ? 0 : n;
|
|
10429
|
-
const o =
|
|
10429
|
+
const o = Tt(e.padding), a = this.title.length || this.beforeBody.length || this.body.length || this.afterBody.length || this.footer.length;
|
|
10430
10430
|
e.enabled && a && (t.save(), t.globalAlpha = n, this.drawBackground(r, t, s, e), Wa(t, e.textDirection), r.y += o.top, this.drawTitle(r, t, e), this.drawBody(r, t, e), this.drawFooter(r, t, e), Va(t, e.textDirection), t.restore());
|
|
10431
10431
|
}
|
|
10432
10432
|
getActiveElements() {
|
|
@@ -10617,7 +10617,7 @@ class _s extends We {
|
|
|
10617
10617
|
super.init(t);
|
|
10618
10618
|
}
|
|
10619
10619
|
parse(t, e) {
|
|
10620
|
-
if (
|
|
10620
|
+
if (X(t))
|
|
10621
10621
|
return null;
|
|
10622
10622
|
const n = this.getLabels();
|
|
10623
10623
|
return e = isFinite(e) && n[e] === t ? e : Xp(n, t, j(e, t), this._addedLabels), Kp(e, n.length - 1);
|
|
@@ -10663,8 +10663,8 @@ I(_s, "id", "category"), I(_s, "defaults", {
|
|
|
10663
10663
|
}
|
|
10664
10664
|
});
|
|
10665
10665
|
function qp(i, t) {
|
|
10666
|
-
const e = [], { bounds: s, step: r, min: o, max: a, precision: c, count: l, maxTicks: h, maxDigits: u, includeBounds: f } = i, d = r || 1, p = h - 1, { min: m, max: b } = t, y = !
|
|
10667
|
-
let k = Ir((b - m) / p / d) * d, w, M, O,
|
|
10666
|
+
const e = [], { bounds: s, step: r, min: o, max: a, precision: c, count: l, maxTicks: h, maxDigits: u, includeBounds: f } = i, d = r || 1, p = h - 1, { min: m, max: b } = t, y = !X(o), x = !X(a), S = !X(l), g = (b - m) / (u + 1);
|
|
10667
|
+
let k = Ir((b - m) / p / d) * d, w, M, O, A;
|
|
10668
10668
|
if (k < 1e-14 && !y && !x)
|
|
10669
10669
|
return [
|
|
10670
10670
|
{
|
|
@@ -10674,18 +10674,18 @@ function qp(i, t) {
|
|
|
10674
10674
|
value: b
|
|
10675
10675
|
}
|
|
10676
10676
|
];
|
|
10677
|
-
|
|
10677
|
+
A = Math.ceil(b / k) - Math.floor(m / k), A > p && (k = Ir(A * k / p / d) * d), X(c) || (w = Math.pow(10, c), k = Math.ceil(k * w) / w), s === "ticks" ? (M = Math.floor(m / k) * k, O = Math.ceil(b / k) * k) : (M = m, O = b), y && x && r && Vu((a - o) / r, k / 1e3) ? (A = Math.round(Math.min((a - o) / k, h)), k = (a - o) / A, M = o, O = a) : S ? (M = y ? o : M, O = x ? a : O, A = l - 1, k = (O - M) / A) : (A = (O - M) / k, ln(A, Math.round(A), k / 1e3) ? A = Math.round(A) : A = Math.ceil(A));
|
|
10678
10678
|
const P = Math.max(Fr(k), Fr(M));
|
|
10679
|
-
w = Math.pow(10,
|
|
10679
|
+
w = Math.pow(10, X(c) ? P : c), M = Math.round(M * w) / w, O = Math.round(O * w) / w;
|
|
10680
10680
|
let E = 0;
|
|
10681
10681
|
for (y && (f && M !== o ? (e.push({
|
|
10682
10682
|
value: o
|
|
10683
|
-
}), M < o && E++, ln(Math.round((M + E * k) * w) / w, o, Lo(o, g, i)) && E++) : M < o && E++); E <
|
|
10684
|
-
const
|
|
10685
|
-
if (x &&
|
|
10683
|
+
}), M < o && E++, ln(Math.round((M + E * k) * w) / w, o, Lo(o, g, i)) && E++) : M < o && E++); E < A; ++E) {
|
|
10684
|
+
const T = Math.round((M + E * k) * w) / w;
|
|
10685
|
+
if (x && T > a)
|
|
10686
10686
|
break;
|
|
10687
10687
|
e.push({
|
|
10688
|
-
value:
|
|
10688
|
+
value: T
|
|
10689
10689
|
});
|
|
10690
10690
|
}
|
|
10691
10691
|
return x && f && O !== a ? e.length && ln(e[e.length - 1].value, a, Lo(a, g, i)) ? e[e.length - 1].value = a : e.push({
|
|
@@ -10703,7 +10703,7 @@ class Qp extends We {
|
|
|
10703
10703
|
super(t), this.start = void 0, this.end = void 0, this._startValue = void 0, this._endValue = void 0, this._valueRange = 0;
|
|
10704
10704
|
}
|
|
10705
10705
|
parse(t, e) {
|
|
10706
|
-
return
|
|
10706
|
+
return X(t) || (typeof t == "number" || t instanceof Number) && !isFinite(+t) ? null : +t;
|
|
10707
10707
|
}
|
|
10708
10708
|
handleTickRangeOptions() {
|
|
10709
10709
|
const { beginAtZero: t } = this.options, { minDefined: e, maxDefined: n } = this.getUserBounds();
|
|
@@ -10762,7 +10762,7 @@ class Qp extends We {
|
|
|
10762
10762
|
class ws extends Qp {
|
|
10763
10763
|
determineDataLimits() {
|
|
10764
10764
|
const { min: t, max: e } = this.getMinMax(!0);
|
|
10765
|
-
this.min =
|
|
10765
|
+
this.min = At(t) ? t : 0, this.max = At(e) ? e : 1, this.handleTickRangeOptions();
|
|
10766
10766
|
}
|
|
10767
10767
|
computeTickLimit() {
|
|
10768
10768
|
const t = this.isHorizontal(), e = t ? this.width : this.height, n = It(this.options.ticks.minRotation), s = (t ? Math.sin(n) : Math.cos(n)) || 1e-3, r = this._resolveTickFontOptions(0);
|
|
@@ -10830,11 +10830,11 @@ function Io(i, t) {
|
|
|
10830
10830
|
return i - t;
|
|
10831
10831
|
}
|
|
10832
10832
|
function Fo(i, t) {
|
|
10833
|
-
if (
|
|
10833
|
+
if (X(t))
|
|
10834
10834
|
return null;
|
|
10835
10835
|
const e = i._adapter, { parser: n, round: s, isoWeekday: r } = i._parseOpts;
|
|
10836
10836
|
let o = t;
|
|
10837
|
-
return typeof n == "function" && (o = n(o)),
|
|
10837
|
+
return typeof n == "function" && (o = n(o)), At(o) || (o = typeof n == "string" ? e.parse(o, n) : e.parse(o)), o === null ? null : (s && (o = s === "week" && (wn(r) || r === !0) ? e.startOf(o, "isoWeek", r) : e.startOf(o, s)), +o);
|
|
10838
10838
|
}
|
|
10839
10839
|
function zo(i, t, e, n) {
|
|
10840
10840
|
const s = lt.length;
|
|
@@ -10915,7 +10915,7 @@ class On extends We {
|
|
|
10915
10915
|
function c(l) {
|
|
10916
10916
|
!o && !isNaN(l.min) && (s = Math.min(s, l.min)), !a && !isNaN(l.max) && (r = Math.max(r, l.max));
|
|
10917
10917
|
}
|
|
10918
|
-
(!o || !a) && (c(this._getLabelBounds()), (t.bounds !== "ticks" || t.ticks.source !== "labels") && c(this.getMinMax(!1))), s =
|
|
10918
|
+
(!o || !a) && (c(this._getLabelBounds()), (t.bounds !== "ticks" || t.ticks.source !== "labels") && c(this.getMinMax(!1))), s = At(s) && !isNaN(s) ? s : +e.startOf(Date.now(), n), r = At(r) && !isNaN(r) ? r : +e.endOf(Date.now(), n) + 1, this.min = Math.min(s, r - 1), this.max = Math.max(s + 1, r);
|
|
10919
10919
|
}
|
|
10920
10920
|
_getLabelBounds() {
|
|
10921
10921
|
const t = this.getLabelTimestamps();
|
|
@@ -10965,7 +10965,7 @@ class On extends We {
|
|
|
10965
10965
|
_tickFormatFunction(t, e, n, s) {
|
|
10966
10966
|
const r = this.options, o = r.ticks.callback;
|
|
10967
10967
|
if (o)
|
|
10968
|
-
return
|
|
10968
|
+
return Y(o, [
|
|
10969
10969
|
t,
|
|
10970
10970
|
e,
|
|
10971
10971
|
n
|
|
@@ -11024,7 +11024,7 @@ class On extends We {
|
|
|
11024
11024
|
return this._cache.labels = this._normalized ? t : this.normalize(t);
|
|
11025
11025
|
}
|
|
11026
11026
|
normalize(t) {
|
|
11027
|
-
return
|
|
11027
|
+
return Ta(t.sort(Io));
|
|
11028
11028
|
}
|
|
11029
11029
|
}
|
|
11030
11030
|
I(On, "id", "time"), I(On, "defaults", {
|
|
@@ -11184,7 +11184,7 @@ function eg({ infoGroupId: i }) {
|
|
|
11184
11184
|
" Users ran",
|
|
11185
11185
|
" ",
|
|
11186
11186
|
/* @__PURE__ */ v("strong", { children: [
|
|
11187
|
-
/* @__PURE__ */ v(
|
|
11187
|
+
/* @__PURE__ */ v(U, { name: "file-earmark-code" }),
|
|
11188
11188
|
parseInt(h).toLocaleString("en-us"),
|
|
11189
11189
|
" jobs"
|
|
11190
11190
|
] }),
|
|
@@ -11192,7 +11192,7 @@ function eg({ infoGroupId: i }) {
|
|
|
11192
11192
|
"during the last 30 days. Waiting in the queue caused an average",
|
|
11193
11193
|
" ",
|
|
11194
11194
|
/* @__PURE__ */ v("strong", { children: [
|
|
11195
|
-
/* @__PURE__ */ v(
|
|
11195
|
+
/* @__PURE__ */ v(U, { name: "calculator" }),
|
|
11196
11196
|
((u - 1) * 100).toLocaleString(
|
|
11197
11197
|
"en-us",
|
|
11198
11198
|
{
|
|
@@ -11205,7 +11205,7 @@ function eg({ infoGroupId: i }) {
|
|
|
11205
11205
|
"in the total completion time. The average job waited for",
|
|
11206
11206
|
" ",
|
|
11207
11207
|
/* @__PURE__ */ v("strong", { children: [
|
|
11208
|
-
/* @__PURE__ */ v(
|
|
11208
|
+
/* @__PURE__ */ v(U, { name: "hourglass-split" }),
|
|
11209
11209
|
" ",
|
|
11210
11210
|
Wo(f)
|
|
11211
11211
|
] }),
|
|
@@ -11213,7 +11213,7 @@ function eg({ infoGroupId: i }) {
|
|
|
11213
11213
|
"and ran for",
|
|
11214
11214
|
" ",
|
|
11215
11215
|
/* @__PURE__ */ v("strong", { children: [
|
|
11216
|
-
/* @__PURE__ */ v(
|
|
11216
|
+
/* @__PURE__ */ v(U, { name: "stopwatch" }),
|
|
11217
11217
|
Wo(d)
|
|
11218
11218
|
] }),
|
|
11219
11219
|
".",
|
|
@@ -11291,7 +11291,13 @@ function eg({ infoGroupId: i }) {
|
|
|
11291
11291
|
title: "Wait Time",
|
|
11292
11292
|
icon: "hourglass-split",
|
|
11293
11293
|
headerComponents: a,
|
|
11294
|
-
children:
|
|
11294
|
+
children: [
|
|
11295
|
+
c,
|
|
11296
|
+
/* @__PURE__ */ v("p", { class: "metrics-disclaimer", children: [
|
|
11297
|
+
/* @__PURE__ */ v(U, { name: "info-circle" }),
|
|
11298
|
+
"These metrics describe activity from ACCESS projects. Many resources have additional projects that are not part of ACCESS."
|
|
11299
|
+
] })
|
|
11300
|
+
]
|
|
11295
11301
|
}
|
|
11296
11302
|
);
|
|
11297
11303
|
}
|
|
@@ -11626,21 +11632,21 @@ function wg(i, t, e, {
|
|
|
11626
11632
|
let x = [], S = 1, g = h + u;
|
|
11627
11633
|
const k = 1 << h - 1;
|
|
11628
11634
|
for (let M = 0; M < h; M += 1) {
|
|
11629
|
-
let O = 0,
|
|
11630
|
-
for (; O <
|
|
11635
|
+
let O = 0, A = g;
|
|
11636
|
+
for (; O < A; )
|
|
11631
11637
|
sn(t, {
|
|
11632
11638
|
errors: M,
|
|
11633
|
-
currentLocation: f +
|
|
11639
|
+
currentLocation: f + A,
|
|
11634
11640
|
expectedLocation: f,
|
|
11635
11641
|
distance: s,
|
|
11636
11642
|
ignoreLocation: l
|
|
11637
|
-
}) <= d ? O =
|
|
11638
|
-
g =
|
|
11639
|
-
let P = Math.max(1, f -
|
|
11640
|
-
|
|
11643
|
+
}) <= d ? O = A : g = A, A = Math.floor((g - O) / 2 + O);
|
|
11644
|
+
g = A;
|
|
11645
|
+
let P = Math.max(1, f - A + 1), E = o ? u : Math.min(f + A, u) + h, T = Array(E + 2);
|
|
11646
|
+
T[E + 1] = (1 << M) - 1;
|
|
11641
11647
|
for (let B = E; B >= P; B -= 1) {
|
|
11642
11648
|
let L = B - 1, z = e[i.charAt(L)];
|
|
11643
|
-
if (m && (b[L] = +!!z),
|
|
11649
|
+
if (m && (b[L] = +!!z), T[B] = (T[B + 1] << 1 | 1) & z, M && (T[B] |= (x[B + 1] | x[B]) << 1 | 1 | x[B + 1]), T[B] & k && (S = sn(t, {
|
|
11644
11650
|
errors: M,
|
|
11645
11651
|
currentLocation: L,
|
|
11646
11652
|
expectedLocation: f,
|
|
@@ -11660,7 +11666,7 @@ function wg(i, t, e, {
|
|
|
11660
11666
|
ignoreLocation: l
|
|
11661
11667
|
}) > d)
|
|
11662
11668
|
break;
|
|
11663
|
-
x =
|
|
11669
|
+
x = T;
|
|
11664
11670
|
}
|
|
11665
11671
|
const w = {
|
|
11666
11672
|
isMatch: p >= 0,
|
|
@@ -11842,7 +11848,7 @@ class Og extends ae {
|
|
|
11842
11848
|
};
|
|
11843
11849
|
}
|
|
11844
11850
|
}
|
|
11845
|
-
class
|
|
11851
|
+
class Ag extends ae {
|
|
11846
11852
|
constructor(t) {
|
|
11847
11853
|
super(t);
|
|
11848
11854
|
}
|
|
@@ -11864,7 +11870,7 @@ class Tg extends ae {
|
|
|
11864
11870
|
};
|
|
11865
11871
|
}
|
|
11866
11872
|
}
|
|
11867
|
-
class
|
|
11873
|
+
class Tg extends ae {
|
|
11868
11874
|
constructor(t) {
|
|
11869
11875
|
super(t);
|
|
11870
11876
|
}
|
|
@@ -11973,9 +11979,9 @@ const ks = [
|
|
|
11973
11979
|
kg,
|
|
11974
11980
|
gc,
|
|
11975
11981
|
Og,
|
|
11976
|
-
Tg,
|
|
11977
|
-
Dg,
|
|
11978
11982
|
Ag,
|
|
11983
|
+
Dg,
|
|
11984
|
+
Tg,
|
|
11979
11985
|
Mg,
|
|
11980
11986
|
pc
|
|
11981
11987
|
], Yo = ks.length, Eg = / +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/, Pg = "|";
|
|
@@ -12080,14 +12086,14 @@ function Os(i, t) {
|
|
|
12080
12086
|
}
|
|
12081
12087
|
return new dc(i, t);
|
|
12082
12088
|
}
|
|
12083
|
-
const
|
|
12089
|
+
const An = {
|
|
12084
12090
|
AND: "$and",
|
|
12085
12091
|
OR: "$or"
|
|
12086
|
-
},
|
|
12092
|
+
}, As = {
|
|
12087
12093
|
PATH: "$path",
|
|
12088
12094
|
PATTERN: "$val"
|
|
12089
|
-
},
|
|
12090
|
-
[
|
|
12095
|
+
}, Ts = (i) => !!(i[An.AND] || i[An.OR]), Fg = (i) => !!i[As.PATH], zg = (i) => !Kt(i) && lc(i) && !Ts(i), Xo = (i) => ({
|
|
12096
|
+
[An.AND]: Object.keys(i).map((t) => ({
|
|
12091
12097
|
[t]: i[t]
|
|
12092
12098
|
}))
|
|
12093
12099
|
});
|
|
@@ -12095,10 +12101,10 @@ function mc(i, t, { auto: e = !0 } = {}) {
|
|
|
12095
12101
|
const n = (s) => {
|
|
12096
12102
|
let r = Object.keys(s);
|
|
12097
12103
|
const o = Fg(s);
|
|
12098
|
-
if (!o && r.length > 1 && !
|
|
12104
|
+
if (!o && r.length > 1 && !Ts(s))
|
|
12099
12105
|
return n(Xo(s));
|
|
12100
12106
|
if (zg(s)) {
|
|
12101
|
-
const c = o ? s[
|
|
12107
|
+
const c = o ? s[As.PATH] : r[0], l = o ? s[As.PATTERN] : s[c];
|
|
12102
12108
|
if (!Ft(l))
|
|
12103
12109
|
throw new Error(cg(c));
|
|
12104
12110
|
const h = {
|
|
@@ -12118,7 +12124,7 @@ function mc(i, t, { auto: e = !0 } = {}) {
|
|
|
12118
12124
|
});
|
|
12119
12125
|
}), a;
|
|
12120
12126
|
};
|
|
12121
|
-
return
|
|
12127
|
+
return Ts(i) || (i = Xo(i)), n(i);
|
|
12122
12128
|
}
|
|
12123
12129
|
function Bg(i, { ignoreFieldNorm: t = R.ignoreFieldNorm }) {
|
|
12124
12130
|
i.forEach((e) => {
|
|
@@ -12240,7 +12246,7 @@ class Ve {
|
|
|
12240
12246
|
const d = a.children[u], p = n(d, c, l);
|
|
12241
12247
|
if (p.length)
|
|
12242
12248
|
h.push(...p);
|
|
12243
|
-
else if (a.operator ===
|
|
12249
|
+
else if (a.operator === An.AND)
|
|
12244
12250
|
return [];
|
|
12245
12251
|
}
|
|
12246
12252
|
return h;
|
|
@@ -12342,7 +12348,7 @@ function Vg({
|
|
|
12342
12348
|
class: "btn btn-clear",
|
|
12343
12349
|
title: "Clear search",
|
|
12344
12350
|
onClick: c,
|
|
12345
|
-
children: /* @__PURE__ */ v(
|
|
12351
|
+
children: /* @__PURE__ */ v(U, { name: "x-lg" })
|
|
12346
12352
|
}
|
|
12347
12353
|
) : null
|
|
12348
12354
|
] }) });
|
|
@@ -12357,7 +12363,7 @@ const $g = [
|
|
|
12357
12363
|
function Ug({ infoGroupId: i }) {
|
|
12358
12364
|
const t = ht(
|
|
12359
12365
|
`https://ara-db.ccs.uky.edu/api=API_0/z0CiQbts8t4pnv6fJQD4g9nskbCOl6UD-67akYK68wk/rp=${i}?include=${$g.join(",")}`
|
|
12360
|
-
), [e, n] = He(""), s =
|
|
12366
|
+
), [e, n] = He(""), s = Ac(
|
|
12361
12367
|
() => t && t.length ? new Ve(t, {
|
|
12362
12368
|
keys: [
|
|
12363
12369
|
{ name: "software_name", weight: 0.6 },
|
|
@@ -12380,7 +12386,7 @@ function Ug({ infoGroupId: i }) {
|
|
|
12380
12386
|
{
|
|
12381
12387
|
href: d.software_documentation,
|
|
12382
12388
|
title: `Documentation for ${f}`,
|
|
12383
|
-
children: /* @__PURE__ */ v(
|
|
12389
|
+
children: /* @__PURE__ */ v(U, { name: "book" })
|
|
12384
12390
|
}
|
|
12385
12391
|
)
|
|
12386
12392
|
), d.software_use_link && d.software_use_link != d.software_documentation && p.push(
|
|
@@ -12391,7 +12397,7 @@ function Ug({ infoGroupId: i }) {
|
|
|
12391
12397
|
href: d.software_use_link.split(`
|
|
12392
12398
|
`)[0].trim(),
|
|
12393
12399
|
title: `Usage example for ${f}`,
|
|
12394
|
-
children: /* @__PURE__ */ v(
|
|
12400
|
+
children: /* @__PURE__ */ v(U, { name: "terminal" })
|
|
12395
12401
|
}
|
|
12396
12402
|
)
|
|
12397
12403
|
), /* @__PURE__ */ v("span", { style: { lineHeight: 1.3 }, children: p });
|
|
@@ -12417,7 +12423,7 @@ function Ug({ infoGroupId: i }) {
|
|
|
12417
12423
|
{
|
|
12418
12424
|
href: m[1],
|
|
12419
12425
|
title: `Description source for ${d.software_name}`,
|
|
12420
|
-
children: /* @__PURE__ */ v(
|
|
12426
|
+
children: /* @__PURE__ */ v(U, { name: "info-circle" })
|
|
12421
12427
|
}
|
|
12422
12428
|
) : null
|
|
12423
12429
|
] });
|
|
@@ -12438,7 +12444,7 @@ function Ug({ infoGroupId: i }) {
|
|
|
12438
12444
|
}
|
|
12439
12445
|
)
|
|
12440
12446
|
],
|
|
12441
|
-
children: /* @__PURE__ */ v(
|
|
12447
|
+
children: /* @__PURE__ */ v(Tn, { columns: l, rows: h, scrollResetOnUpdate: !0 })
|
|
12442
12448
|
}
|
|
12443
12449
|
);
|
|
12444
12450
|
}
|
|
@@ -12471,7 +12477,7 @@ function Yg({ prompt: i = "Jump To:" }) {
|
|
|
12471
12477
|
},
|
|
12472
12478
|
children: [
|
|
12473
12479
|
o ? /* @__PURE__ */ v(St, { children: [
|
|
12474
|
-
/* @__PURE__ */ v(
|
|
12480
|
+
/* @__PURE__ */ v(U, { name: o }),
|
|
12475
12481
|
" "
|
|
12476
12482
|
] }) : null,
|
|
12477
12483
|
c
|
|
@@ -12488,7 +12494,7 @@ function Jg({
|
|
|
12488
12494
|
const n = wi(t), s = [{ name: "Resources", href: i }];
|
|
12489
12495
|
return n && s.push({ name: n.name }), /* @__PURE__ */ v(St, { children: [
|
|
12490
12496
|
e && /* @__PURE__ */ v(
|
|
12491
|
-
|
|
12497
|
+
Tc,
|
|
12492
12498
|
{
|
|
12493
12499
|
expandWidth: !0,
|
|
12494
12500
|
items: s,
|