@access-ci/ui 0.1.2 → 0.2.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/README.md +39 -7
- package/dist/access-ci-ui.js +717 -483
- package/dist/access-ci-ui.umd.cjs +7 -2
- package/dist/images/access-logo.svg +1 -0
- package/dist/images/nsf-logo.png +0 -0
- package/package.json +1 -1
package/dist/access-ci-ui.js
CHANGED
|
@@ -1,558 +1,734 @@
|
|
|
1
|
-
var
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
const V = `:host,:root{--contrast: #232323;--contrast-2: #3f3f3f;--contrast-3: #707070;--orange-400: #f07537;--teal-100: #cee8e9;--teal-400: #48c0b9;--teal-600: #107180;--teal-700: #1a5b6e;--yellow-400: #ffc42d;--color: white;--padding: 30px;--offset: 0px;--outline: white;color:var(--contrast)}:host,:host button,:root,:root button{font-family:Archivo,sans-serif}.container{margin:0 auto;padding:0 var(--padding);width:var(--width)}@media (min-width: 600px){:host,:root{--padding: calc((100% - var(--width)) / 2);--offset: 7px;--width: 540px}}@media (min-width: 768px){:host,:root{--width: 712px}}@media (min-width: 900px){:host,:root{--padding: 10px;--offset: 0px;--width: 840px}}@media (min-width: 1024px){:host,:root{--width: 940px}}@media (min-width: 1280px){:host,:root{--width: 1180px}}
|
|
2
|
+
`, Te = `:host{background-color:#fbfbfb;color:var(--contrast)}a{color:var(--teal-600);font-weight:800;text-decoration:none}a:active,a:focus,a:hover{text-decoration:underline}.about{padding-top:25px}.awards{font-size:15px;line-height:21px;margin:0 0 20px}.disclaimer{font-size:12px;line-height:18px;margin:0 0 15px}.contact{font-size:14px;font-stretch:70%;text-transform:uppercase}.social{align-items:center;display:flex;flex-direction:row;justify-content:center;list-style-type:none;margin:0;padding:50px 0}.social li{margin:0 25px 0 0;padding:0}.social li:last-child{margin:-10px}.social a{background-size:contain;background-repeat:no-repeat;display:block;height:36px;text-indent:-999999px;width:36px}.x{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' viewBox='0 0 16 16'><path d='M12.6.75h2.454l-5.36 6.142L16 15.25h-4.937l-3.867-5.07-4.425 5.07H.316l5.733-6.57L0 .75h5.063l3.495 4.633L12.601.75Zm-.86 13.028h1.36L4.323 2.145H2.865z'/></svg>")}.youtube{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' viewBox='0 0 16 16'><path d='M8.051 1.999h.089c.822.003 4.987.033 6.11.335a2.01 2.01 0 0 1 1.415 1.42c.101.38.172.883.22 1.402l.01.104.022.26.008.104c.065.914.073 1.77.074 1.957v.075c-.001.194-.01 1.108-.082 2.06l-.008.105-.009.104c-.05.572-.124 1.14-.235 1.558a2.01 2.01 0 0 1-1.415 1.42c-1.16.312-5.569.334-6.18.335h-.142c-.309 0-1.587-.006-2.927-.052l-.17-.006-.087-.004-.171-.007-.171-.007c-1.11-.049-2.167-.128-2.654-.26a2.01 2.01 0 0 1-1.415-1.419c-.111-.417-.185-.986-.235-1.558L.09 9.82l-.008-.104A31 31 0 0 1 0 7.68v-.123c.002-.215.01-.958.064-1.778l.007-.103.003-.052.008-.104.022-.26.01-.104c.048-.519.119-1.023.22-1.402a2.01 2.01 0 0 1 1.415-1.42c.487-.13 1.544-.21 2.654-.26l.17-.007.172-.006.086-.003.171-.007A100 100 0 0 1 7.858 2zM6.4 5.209v4.818l4.157-2.408z'/></svg>")}.facebook{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='19.519' height='37.377' fill='currentColor' viewBox='0 0 19.519 37.377'><path d='M92.667,37.378V20.35h5.814l.831-6.645H92.667V9.552c0-1.869.623-3.322,3.322-3.322h3.53V.208C98.689.208,96.612,0,94.328,0c-4.984,0-8.514,3.115-8.514,8.721v4.984H80V20.35h5.814V37.378Z' transform='translate(-80)' fill-rule='evenodd'/></svg>")}a.linkedin{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-linkedin' viewBox='0 0 16 16'><path d='M0 1.146C0 .513.526 0 1.175 0h13.65C15.474 0 16 .513 16 1.146v13.708c0 .633-.526 1.146-1.175 1.146H1.175C.526 16 0 15.487 0 14.854zm4.943 12.248V6.169H2.542v7.225zm-1.2-8.212c.837 0 1.358-.554 1.358-1.248-.015-.709-.52-1.248-1.342-1.248S2.4 3.226 2.4 3.934c0 .694.521 1.248 1.327 1.248zm4.908 8.212V9.359c0-.216.016-.432.08-.586.173-.431.568-.878 1.232-.878.869 0 1.216.662 1.216 1.634v3.865h2.401V9.25c0-2.22-1.184-3.252-2.764-3.252-1.274 0-1.845.7-2.165 1.193v.025h-.016l.016-.025V6.169h-2.4c.03.678 0 7.225 0 7.225z'/></svg>");height:30px;width:30px}.lower{border-top:1px solid var(--contrast-3);padding:10px 0 60px}.links{display:flex;flex-direction:row;flex-wrap:wrap;list-style-type:none;margin:20px 0 0;padding:0}.links li{padding:0 20px 10px 0}.links li:last-child{padding-right:0}.links a{font-size:12px;font-weight:600}.scroll-to-top{background-color:#00000080;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' stroke='white' stroke-width='1' viewBox='0 0 16 16'><path fill-rule='evenodd' d='M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708z'/></svg>");background-position:center;background-repeat:no-repeat;background-size:13px;border:0 none transparent;bottom:30px;cursor:pointer;display:block;height:40px;opacity:0;position:fixed;right:30px;text-indent:-999999px;transition:opacity .25s ease-out;width:40px}.scroll-to-top.visible{opacity:1}@media (min-width: 900px){.upper{display:flex;flex-direction:row;justify-content:space-between}.upper>*{width:calc((var(--width) - 20px) / 2)}.about{padding:42px 0 76px}.awards{font-size:18px;line-height:24px}.lower{align-items:start;display:flex;flex-direction:row;justify-content:space-between}.links{margin-top:0}}
|
|
3
|
+
`;
|
|
4
|
+
var j, p, fe, $, ne, ge, Z, L = {}, me = [], Pe = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, K = Array.isArray;
|
|
5
|
+
function H(e, t) {
|
|
6
|
+
for (var o in t)
|
|
7
|
+
e[o] = t[o];
|
|
8
|
+
return e;
|
|
6
9
|
}
|
|
7
|
-
function
|
|
8
|
-
var
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
function
|
|
12
|
-
var
|
|
13
|
-
for (
|
|
14
|
-
|
|
15
|
-
if (arguments.length > 2 && (
|
|
16
|
-
for (
|
|
17
|
-
|
|
18
|
-
return
|
|
19
|
-
}
|
|
20
|
-
function
|
|
21
|
-
var
|
|
22
|
-
return
|
|
23
|
-
}
|
|
24
|
-
function z(
|
|
25
|
-
return
|
|
26
|
-
}
|
|
27
|
-
function
|
|
28
|
-
this.props =
|
|
29
|
-
}
|
|
30
|
-
function
|
|
31
|
-
if (
|
|
32
|
-
return
|
|
33
|
-
for (var
|
|
34
|
-
if ((
|
|
35
|
-
return
|
|
36
|
-
return typeof
|
|
37
|
-
}
|
|
38
|
-
function
|
|
39
|
-
var
|
|
40
|
-
if ((
|
|
41
|
-
for (
|
|
42
|
-
if ((
|
|
43
|
-
|
|
10
|
+
function ve(e) {
|
|
11
|
+
var t = e.parentNode;
|
|
12
|
+
t && t.removeChild(e);
|
|
13
|
+
}
|
|
14
|
+
function Ne(e, t, o) {
|
|
15
|
+
var r, l, i, s = {};
|
|
16
|
+
for (i in t)
|
|
17
|
+
i == "key" ? r = t[i] : i == "ref" ? l = t[i] : s[i] = t[i];
|
|
18
|
+
if (arguments.length > 2 && (s.children = arguments.length > 3 ? j.call(arguments, 2) : o), typeof e == "function" && e.defaultProps != null)
|
|
19
|
+
for (i in e.defaultProps)
|
|
20
|
+
s[i] === void 0 && (s[i] = e.defaultProps[i]);
|
|
21
|
+
return F(e, s, r, l, null);
|
|
22
|
+
}
|
|
23
|
+
function F(e, t, o, r, l) {
|
|
24
|
+
var i = { type: e, props: t, key: o, ref: r, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, __h: null, constructor: void 0, __v: l ?? ++fe };
|
|
25
|
+
return l == null && p.vnode != null && p.vnode(i), i;
|
|
26
|
+
}
|
|
27
|
+
function z(e) {
|
|
28
|
+
return e.children;
|
|
29
|
+
}
|
|
30
|
+
function O(e, t) {
|
|
31
|
+
this.props = e, this.context = t;
|
|
32
|
+
}
|
|
33
|
+
function D(e, t) {
|
|
34
|
+
if (t == null)
|
|
35
|
+
return e.__ ? D(e.__, e.__.__k.indexOf(e) + 1) : null;
|
|
36
|
+
for (var o; t < e.__k.length; t++)
|
|
37
|
+
if ((o = e.__k[t]) != null && o.__e != null)
|
|
38
|
+
return o.__e;
|
|
39
|
+
return typeof e.type == "function" ? D(e) : null;
|
|
40
|
+
}
|
|
41
|
+
function xe(e) {
|
|
42
|
+
var t, o;
|
|
43
|
+
if ((e = e.__) != null && e.__c != null) {
|
|
44
|
+
for (e.__e = e.__c.base = null, t = 0; t < e.__k.length; t++)
|
|
45
|
+
if ((o = e.__k[t]) != null && o.__e != null) {
|
|
46
|
+
e.__e = e.__c.base = o.__e;
|
|
44
47
|
break;
|
|
45
48
|
}
|
|
46
|
-
return
|
|
49
|
+
return xe(e);
|
|
47
50
|
}
|
|
48
51
|
}
|
|
49
|
-
function
|
|
50
|
-
(!
|
|
51
|
-
}
|
|
52
|
-
function
|
|
53
|
-
var t,
|
|
54
|
-
for (
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
}
|
|
58
|
-
function
|
|
59
|
-
var
|
|
60
|
-
for (
|
|
61
|
-
(
|
|
62
|
-
for (
|
|
63
|
-
S[
|
|
64
|
-
}
|
|
65
|
-
function
|
|
66
|
-
for (var
|
|
67
|
-
(
|
|
68
|
-
return
|
|
52
|
+
function ie(e) {
|
|
53
|
+
(!e.__d && (e.__d = !0) && $.push(e) && !W.__r++ || ne !== p.debounceRendering) && ((ne = p.debounceRendering) || ge)(W);
|
|
54
|
+
}
|
|
55
|
+
function W() {
|
|
56
|
+
var e, t, o, r, l, i, s, c, d;
|
|
57
|
+
for ($.sort(Z); e = $.shift(); )
|
|
58
|
+
e.__d && (t = $.length, r = void 0, l = void 0, i = void 0, c = (s = (o = e).__v).__e, (d = o.__P) && (r = [], l = [], (i = H({}, s)).__v = s.__v + 1, ee(d, s, i, o.__n, d.ownerSVGElement !== void 0, s.__h != null ? [c] : null, r, c ?? D(s), s.__h, l), ke(r, s, l), s.__e != c && xe(s)), $.length > t && $.sort(Z));
|
|
59
|
+
W.__r = 0;
|
|
60
|
+
}
|
|
61
|
+
function we(e, t, o, r, l, i, s, c, d, m, h) {
|
|
62
|
+
var n, f, g, _, u, M, v, x, y, C, k = 0, S = r && r.__k || me, E = S.length, A = E, b = t.length;
|
|
63
|
+
for (o.__k = [], n = 0; n < b; n++)
|
|
64
|
+
(_ = o.__k[n] = (_ = t[n]) == null || typeof _ == "boolean" || typeof _ == "function" ? null : typeof _ == "string" || typeof _ == "number" || typeof _ == "bigint" ? F(null, _, null, null, _) : K(_) ? F(z, { children: _ }, null, null, null) : _.__b > 0 ? F(_.type, _.props, _.key, _.ref ? _.ref : null, _.__v) : _) != null && (_.__ = o, _.__b = o.__b + 1, (x = Ve(_, S, v = n + k, A)) === -1 ? g = L : (g = S[x] || L, S[x] = void 0, A--), ee(e, _, g, l, i, s, c, d, m, h), u = _.__e, (f = _.ref) && g.ref != f && (g.ref && te(g.ref, null, _), h.push(f, _.__c || u, _)), u != null && (M == null && (M = u), C = !(y = g === L || g.__v === null) && x === v, y ? x == -1 && k-- : x !== v && (x === v + 1 ? (k++, C = !0) : x > v ? A > b - v ? (k += x - v, C = !0) : k-- : k = x < v && x == v - 1 ? x - v : 0), v = n + k, C = C || x == n && !y, typeof _.type != "function" || x === v && g.__k !== _.__k ? typeof _.type == "function" || C ? _.__d !== void 0 ? (d = _.__d, _.__d = void 0) : d = u.nextSibling : d = ye(e, u, d) : d = be(_, d, e), typeof o.type == "function" && (o.__d = d)));
|
|
65
|
+
for (o.__e = M, n = E; n--; )
|
|
66
|
+
S[n] != null && (typeof o.type == "function" && S[n].__e != null && S[n].__e == o.__d && (o.__d = S[n].__e.nextSibling), Se(S[n], S[n]));
|
|
67
|
+
}
|
|
68
|
+
function be(e, t, o) {
|
|
69
|
+
for (var r, l = e.__k, i = 0; l && i < l.length; i++)
|
|
70
|
+
(r = l[i]) && (r.__ = e, t = typeof r.type == "function" ? be(r, t, o) : ye(o, r.__e, t));
|
|
71
|
+
return t;
|
|
69
72
|
}
|
|
70
|
-
function
|
|
71
|
-
return
|
|
72
|
-
}
|
|
73
|
-
function
|
|
74
|
-
var
|
|
75
|
-
if (
|
|
76
|
-
return
|
|
77
|
-
if (
|
|
78
|
-
for (;
|
|
79
|
-
if (
|
|
80
|
-
if ((
|
|
81
|
-
return
|
|
82
|
-
|
|
73
|
+
function ye(e, t, o) {
|
|
74
|
+
return o == null || o.parentNode !== e ? e.insertBefore(t, null) : t == o && t.parentNode != null || e.insertBefore(t, o), t.nextSibling;
|
|
75
|
+
}
|
|
76
|
+
function Ve(e, t, o, r) {
|
|
77
|
+
var l = e.key, i = e.type, s = o - 1, c = o + 1, d = t[o];
|
|
78
|
+
if (d === null || d && l == d.key && i === d.type)
|
|
79
|
+
return o;
|
|
80
|
+
if (r > (d != null ? 1 : 0))
|
|
81
|
+
for (; s >= 0 || c < t.length; ) {
|
|
82
|
+
if (s >= 0) {
|
|
83
|
+
if ((d = t[s]) && l == d.key && i === d.type)
|
|
84
|
+
return s;
|
|
85
|
+
s--;
|
|
83
86
|
}
|
|
84
|
-
if (
|
|
85
|
-
if ((
|
|
86
|
-
return
|
|
87
|
-
|
|
87
|
+
if (c < t.length) {
|
|
88
|
+
if ((d = t[c]) && l == d.key && i === d.type)
|
|
89
|
+
return c;
|
|
90
|
+
c++;
|
|
88
91
|
}
|
|
89
92
|
}
|
|
90
93
|
return -1;
|
|
91
94
|
}
|
|
92
|
-
function
|
|
93
|
-
var
|
|
94
|
-
for (
|
|
95
|
-
|
|
96
|
-
for (
|
|
97
|
-
|
|
95
|
+
function Ie(e, t, o, r, l) {
|
|
96
|
+
var i;
|
|
97
|
+
for (i in o)
|
|
98
|
+
i === "children" || i === "key" || i in t || R(e, i, null, o[i], r);
|
|
99
|
+
for (i in t)
|
|
100
|
+
l && typeof t[i] != "function" || i === "children" || i === "key" || i === "value" || i === "checked" || o[i] === t[i] || R(e, i, t[i], o[i], r);
|
|
98
101
|
}
|
|
99
|
-
function
|
|
100
|
-
|
|
102
|
+
function re(e, t, o) {
|
|
103
|
+
t[0] === "-" ? e.setProperty(t, o ?? "") : e[t] = o == null ? "" : typeof o != "number" || Pe.test(t) ? o : o + "px";
|
|
101
104
|
}
|
|
102
|
-
function
|
|
103
|
-
var
|
|
105
|
+
function R(e, t, o, r, l) {
|
|
106
|
+
var i;
|
|
104
107
|
e:
|
|
105
|
-
if (
|
|
106
|
-
if (typeof
|
|
107
|
-
|
|
108
|
+
if (t === "style")
|
|
109
|
+
if (typeof o == "string")
|
|
110
|
+
e.style.cssText = o;
|
|
108
111
|
else {
|
|
109
|
-
if (typeof
|
|
110
|
-
for (
|
|
111
|
-
|
|
112
|
-
if (
|
|
113
|
-
for (
|
|
114
|
-
|
|
112
|
+
if (typeof r == "string" && (e.style.cssText = r = ""), r)
|
|
113
|
+
for (t in r)
|
|
114
|
+
o && t in o || re(e.style, t, "");
|
|
115
|
+
if (o)
|
|
116
|
+
for (t in o)
|
|
117
|
+
r && o[t] === r[t] || re(e.style, t, o[t]);
|
|
115
118
|
}
|
|
116
|
-
else if (
|
|
117
|
-
|
|
118
|
-
else if (
|
|
119
|
-
if (
|
|
120
|
-
|
|
121
|
-
else if (
|
|
119
|
+
else if (t[0] === "o" && t[1] === "n")
|
|
120
|
+
i = t !== (t = t.replace(/Capture$/, "")), t = t.toLowerCase() in e ? t.toLowerCase().slice(2) : t.slice(2), e.l || (e.l = {}), e.l[t + i] = o, o ? r || e.addEventListener(t, i ? le : ae, i) : e.removeEventListener(t, i ? le : ae, i);
|
|
121
|
+
else if (t !== "dangerouslySetInnerHTML") {
|
|
122
|
+
if (l)
|
|
123
|
+
t = t.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
|
|
124
|
+
else if (t !== "width" && t !== "height" && t !== "href" && t !== "list" && t !== "form" && t !== "tabIndex" && t !== "download" && t !== "rowSpan" && t !== "colSpan" && t in e)
|
|
122
125
|
try {
|
|
123
|
-
t
|
|
126
|
+
e[t] = o ?? "";
|
|
124
127
|
break e;
|
|
125
128
|
} catch {
|
|
126
129
|
}
|
|
127
|
-
typeof
|
|
130
|
+
typeof o == "function" || (o == null || o === !1 && t[4] !== "-" ? e.removeAttribute(t) : e.setAttribute(t, o));
|
|
128
131
|
}
|
|
129
132
|
}
|
|
130
|
-
function
|
|
131
|
-
return this.l[
|
|
133
|
+
function ae(e) {
|
|
134
|
+
return this.l[e.type + !1](p.event ? p.event(e) : e);
|
|
132
135
|
}
|
|
133
|
-
function
|
|
134
|
-
return this.l[
|
|
136
|
+
function le(e) {
|
|
137
|
+
return this.l[e.type + !0](p.event ? p.event(e) : e);
|
|
135
138
|
}
|
|
136
|
-
function
|
|
137
|
-
var
|
|
138
|
-
if (
|
|
139
|
+
function ee(e, t, o, r, l, i, s, c, d, m) {
|
|
140
|
+
var h, n, f, g, _, u, M, v, x, y, C, k, S, E, A, b = t.type;
|
|
141
|
+
if (t.constructor !== void 0)
|
|
139
142
|
return null;
|
|
140
|
-
|
|
143
|
+
o.__h != null && (d = o.__h, c = t.__e = o.__e, t.__h = null, i = [c]), (h = p.__b) && h(t);
|
|
141
144
|
try {
|
|
142
145
|
e:
|
|
143
|
-
if (typeof
|
|
144
|
-
if (
|
|
145
|
-
|
|
146
|
+
if (typeof b == "function") {
|
|
147
|
+
if (v = t.props, x = (h = b.contextType) && r[h.__c], y = h ? x ? x.props.value : h.__ : r, o.__c ? M = (n = t.__c = o.__c).__ = n.__E : ("prototype" in b && b.prototype.render ? t.__c = n = new b(v, y) : (t.__c = n = new O(v, y), n.constructor = b, n.render = Oe), x && x.sub(n), n.props = v, n.state || (n.state = {}), n.context = y, n.__n = r, f = n.__d = !0, n.__h = [], n._sb = []), n.__s == null && (n.__s = n.state), b.getDerivedStateFromProps != null && (n.__s == n.state && (n.__s = H({}, n.__s)), H(n.__s, b.getDerivedStateFromProps(v, n.__s))), g = n.props, _ = n.state, n.__v = t, f)
|
|
148
|
+
b.getDerivedStateFromProps == null && n.componentWillMount != null && n.componentWillMount(), n.componentDidMount != null && n.__h.push(n.componentDidMount);
|
|
146
149
|
else {
|
|
147
|
-
if (
|
|
148
|
-
for (
|
|
149
|
-
|
|
150
|
-
}),
|
|
151
|
-
|
|
152
|
-
|
|
150
|
+
if (b.getDerivedStateFromProps == null && v !== g && n.componentWillReceiveProps != null && n.componentWillReceiveProps(v, y), !n.__e && (n.shouldComponentUpdate != null && n.shouldComponentUpdate(v, n.__s, y) === !1 || t.__v === o.__v)) {
|
|
151
|
+
for (t.__v !== o.__v && (n.props = v, n.state = n.__s, n.__d = !1), t.__e = o.__e, t.__k = o.__k, t.__k.forEach(function(I) {
|
|
152
|
+
I && (I.__ = t);
|
|
153
|
+
}), C = 0; C < n._sb.length; C++)
|
|
154
|
+
n.__h.push(n._sb[C]);
|
|
155
|
+
n._sb = [], n.__h.length && s.push(n);
|
|
153
156
|
break e;
|
|
154
157
|
}
|
|
155
|
-
|
|
156
|
-
|
|
158
|
+
n.componentWillUpdate != null && n.componentWillUpdate(v, n.__s, y), n.componentDidUpdate != null && n.__h.push(function() {
|
|
159
|
+
n.componentDidUpdate(g, _, u);
|
|
157
160
|
});
|
|
158
161
|
}
|
|
159
|
-
if (
|
|
160
|
-
for (
|
|
161
|
-
|
|
162
|
-
|
|
162
|
+
if (n.context = y, n.props = v, n.__P = e, n.__e = !1, k = p.__r, S = 0, "prototype" in b && b.prototype.render) {
|
|
163
|
+
for (n.state = n.__s, n.__d = !1, k && k(t), h = n.render(n.props, n.state, n.context), E = 0; E < n._sb.length; E++)
|
|
164
|
+
n.__h.push(n._sb[E]);
|
|
165
|
+
n._sb = [];
|
|
163
166
|
} else
|
|
164
167
|
do
|
|
165
|
-
|
|
166
|
-
while (
|
|
167
|
-
|
|
168
|
+
n.__d = !1, k && k(t), h = n.render(n.props, n.state, n.context), n.state = n.__s;
|
|
169
|
+
while (n.__d && ++S < 25);
|
|
170
|
+
n.state = n.__s, n.getChildContext != null && (r = H(H({}, r), n.getChildContext())), f || n.getSnapshotBeforeUpdate == null || (u = n.getSnapshotBeforeUpdate(g, _)), we(e, K(A = h != null && h.type === z && h.key == null ? h.props.children : h) ? A : [A], t, o, r, l, i, s, c, d, m), n.base = t.__e, t.__h = null, n.__h.length && s.push(n), M && (n.__E = n.__ = null);
|
|
168
171
|
} else
|
|
169
|
-
|
|
170
|
-
(
|
|
171
|
-
} catch (
|
|
172
|
-
|
|
172
|
+
i == null && t.__v === o.__v ? (t.__k = o.__k, t.__e = o.__e) : t.__e = Fe(o.__e, t, o, r, l, i, s, d, m);
|
|
173
|
+
(h = p.diffed) && h(t);
|
|
174
|
+
} catch (I) {
|
|
175
|
+
t.__v = null, (d || i != null) && (t.__e = c, t.__h = !!d, i[i.indexOf(c)] = null), p.__e(I, t, o);
|
|
173
176
|
}
|
|
174
177
|
}
|
|
175
|
-
function
|
|
176
|
-
for (var
|
|
177
|
-
|
|
178
|
-
|
|
178
|
+
function ke(e, t, o) {
|
|
179
|
+
for (var r = 0; r < o.length; r++)
|
|
180
|
+
te(o[r], o[++r], o[++r]);
|
|
181
|
+
p.__c && p.__c(t, e), e.some(function(l) {
|
|
179
182
|
try {
|
|
180
|
-
|
|
181
|
-
|
|
183
|
+
e = l.__h, l.__h = [], e.some(function(i) {
|
|
184
|
+
i.call(l);
|
|
182
185
|
});
|
|
183
|
-
} catch (
|
|
184
|
-
|
|
186
|
+
} catch (i) {
|
|
187
|
+
p.__e(i, l.__v);
|
|
185
188
|
}
|
|
186
189
|
});
|
|
187
190
|
}
|
|
188
|
-
function
|
|
189
|
-
var
|
|
190
|
-
if (
|
|
191
|
-
for (;
|
|
192
|
-
if ((
|
|
193
|
-
|
|
191
|
+
function Fe(e, t, o, r, l, i, s, c, d) {
|
|
192
|
+
var m, h, n, f = o.props, g = t.props, _ = t.type, u = 0;
|
|
193
|
+
if (_ === "svg" && (l = !0), i != null) {
|
|
194
|
+
for (; u < i.length; u++)
|
|
195
|
+
if ((m = i[u]) && "setAttribute" in m == !!_ && (_ ? m.localName === _ : m.nodeType === 3)) {
|
|
196
|
+
e = m, i[u] = null;
|
|
194
197
|
break;
|
|
195
198
|
}
|
|
196
199
|
}
|
|
197
|
-
if (
|
|
198
|
-
if (
|
|
199
|
-
return document.createTextNode(
|
|
200
|
-
|
|
200
|
+
if (e == null) {
|
|
201
|
+
if (_ === null)
|
|
202
|
+
return document.createTextNode(g);
|
|
203
|
+
e = l ? document.createElementNS("http://www.w3.org/2000/svg", _) : document.createElement(_, g.is && g), i = null, c = !1;
|
|
201
204
|
}
|
|
202
|
-
if (
|
|
203
|
-
|
|
205
|
+
if (_ === null)
|
|
206
|
+
f === g || c && e.data === g || (e.data = g);
|
|
204
207
|
else {
|
|
205
|
-
if (
|
|
206
|
-
if (
|
|
207
|
-
for (
|
|
208
|
-
|
|
209
|
-
(
|
|
208
|
+
if (i = i && j.call(e.childNodes), h = (f = o.props || L).dangerouslySetInnerHTML, n = g.dangerouslySetInnerHTML, !c) {
|
|
209
|
+
if (i != null)
|
|
210
|
+
for (f = {}, u = 0; u < e.attributes.length; u++)
|
|
211
|
+
f[e.attributes[u].name] = e.attributes[u].value;
|
|
212
|
+
(n || h) && (n && (h && n.__html == h.__html || n.__html === e.innerHTML) || (e.innerHTML = n && n.__html || ""));
|
|
210
213
|
}
|
|
211
|
-
if (
|
|
212
|
-
|
|
213
|
-
else if (
|
|
214
|
-
for (
|
|
215
|
-
|
|
216
|
-
|
|
214
|
+
if (Ie(e, g, f, l, c), n)
|
|
215
|
+
t.__k = [];
|
|
216
|
+
else if (we(e, K(u = t.props.children) ? u : [u], t, o, r, l && _ !== "foreignObject", i, s, i ? i[0] : o.__k && D(o, 0), c, d), i != null)
|
|
217
|
+
for (u = i.length; u--; )
|
|
218
|
+
i[u] != null && ve(i[u]);
|
|
219
|
+
c || ("value" in g && (u = g.value) !== void 0 && (u !== e.value || _ === "progress" && !u || _ === "option" && u !== f.value) && R(e, "value", u, f.value, !1), "checked" in g && (u = g.checked) !== void 0 && u !== e.checked && R(e, "checked", u, f.checked, !1));
|
|
217
220
|
}
|
|
218
|
-
return
|
|
221
|
+
return e;
|
|
219
222
|
}
|
|
220
|
-
function
|
|
223
|
+
function te(e, t, o) {
|
|
221
224
|
try {
|
|
222
|
-
typeof
|
|
223
|
-
} catch (
|
|
224
|
-
|
|
225
|
+
typeof e == "function" ? e(t) : e.current = t;
|
|
226
|
+
} catch (r) {
|
|
227
|
+
p.__e(r, o);
|
|
225
228
|
}
|
|
226
229
|
}
|
|
227
|
-
function
|
|
228
|
-
var
|
|
229
|
-
if (
|
|
230
|
-
if (
|
|
230
|
+
function Se(e, t, o) {
|
|
231
|
+
var r, l;
|
|
232
|
+
if (p.unmount && p.unmount(e), (r = e.ref) && (r.current && r.current !== e.__e || te(r, null, t)), (r = e.__c) != null) {
|
|
233
|
+
if (r.componentWillUnmount)
|
|
231
234
|
try {
|
|
232
|
-
|
|
233
|
-
} catch (
|
|
234
|
-
|
|
235
|
+
r.componentWillUnmount();
|
|
236
|
+
} catch (i) {
|
|
237
|
+
p.__e(i, t);
|
|
235
238
|
}
|
|
236
|
-
|
|
239
|
+
r.base = r.__P = null, e.__c = void 0;
|
|
237
240
|
}
|
|
238
|
-
if (
|
|
239
|
-
for (
|
|
240
|
-
|
|
241
|
-
|
|
241
|
+
if (r = e.__k)
|
|
242
|
+
for (l = 0; l < r.length; l++)
|
|
243
|
+
r[l] && Se(r[l], t, o || typeof e.type != "function");
|
|
244
|
+
o || e.__e == null || ve(e.__e), e.__ = e.__e = e.__d = void 0;
|
|
242
245
|
}
|
|
243
|
-
function
|
|
244
|
-
return this.constructor(
|
|
246
|
+
function Oe(e, t, o) {
|
|
247
|
+
return this.constructor(e, o);
|
|
245
248
|
}
|
|
246
|
-
function
|
|
247
|
-
var
|
|
248
|
-
|
|
249
|
+
function Ue(e, t, o) {
|
|
250
|
+
var r, l, i, s;
|
|
251
|
+
p.__ && p.__(e, t), l = (r = typeof o == "function") ? null : o && o.__k || t.__k, i = [], s = [], ee(t, e = (!r && o || t).__k = Ne(z, null, [e]), l || L, L, t.ownerSVGElement !== void 0, !r && o ? [o] : l ? null : t.firstChild ? j.call(t.childNodes) : null, i, !r && o ? o : l ? l.__e : t.firstChild, r, s), ke(i, e, s);
|
|
249
252
|
}
|
|
250
|
-
|
|
251
|
-
for (var
|
|
252
|
-
if ((
|
|
253
|
+
j = me.slice, p = { __e: function(e, t, o, r) {
|
|
254
|
+
for (var l, i, s; t = t.__; )
|
|
255
|
+
if ((l = t.__c) && !l.__)
|
|
253
256
|
try {
|
|
254
|
-
if ((
|
|
255
|
-
return
|
|
256
|
-
} catch (
|
|
257
|
-
|
|
257
|
+
if ((i = l.constructor) && i.getDerivedStateFromError != null && (l.setState(i.getDerivedStateFromError(e)), s = l.__d), l.componentDidCatch != null && (l.componentDidCatch(e, r || {}), s = l.__d), s)
|
|
258
|
+
return l.__E = l;
|
|
259
|
+
} catch (c) {
|
|
260
|
+
e = c;
|
|
258
261
|
}
|
|
259
|
-
throw
|
|
260
|
-
} },
|
|
261
|
-
var
|
|
262
|
-
|
|
263
|
-
},
|
|
264
|
-
this.__v && (this.__e = !0,
|
|
265
|
-
},
|
|
266
|
-
return
|
|
267
|
-
},
|
|
268
|
-
var
|
|
269
|
-
function
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
}
|
|
274
|
-
function
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
|
|
262
|
+
throw e;
|
|
263
|
+
} }, fe = 0, O.prototype.setState = function(e, t) {
|
|
264
|
+
var o;
|
|
265
|
+
o = this.__s != null && this.__s !== this.state ? this.__s : this.__s = H({}, this.state), typeof e == "function" && (e = e(H({}, o), this.props)), e && H(o, e), e != null && this.__v && (t && this._sb.push(t), ie(this));
|
|
266
|
+
}, O.prototype.forceUpdate = function(e) {
|
|
267
|
+
this.__v && (this.__e = !0, e && this.__h.push(e), ie(this));
|
|
268
|
+
}, O.prototype.render = z, $ = [], ge = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, Z = function(e, t) {
|
|
269
|
+
return e.__v.__b - t.__v.__b;
|
|
270
|
+
}, W.__r = 0;
|
|
271
|
+
var Be = 0;
|
|
272
|
+
function a(e, t, o, r, l, i) {
|
|
273
|
+
var s, c, d = {};
|
|
274
|
+
for (c in t)
|
|
275
|
+
c == "ref" ? s = t[c] : d[c] = t[c];
|
|
276
|
+
var m = { type: e, props: d, key: o, ref: s, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, __h: null, constructor: void 0, __v: --Be, __source: l, __self: i };
|
|
277
|
+
if (typeof e == "function" && (s = e.defaultProps))
|
|
278
|
+
for (c in s)
|
|
279
|
+
d[c] === void 0 && (d[c] = s[c]);
|
|
280
|
+
return p.vnode && p.vnode(m), m;
|
|
281
|
+
}
|
|
282
|
+
const De = "https://www.nsf.gov/awardsearch/showAward", P = ({
|
|
283
|
+
number: e
|
|
284
|
+
}) => a("a", {
|
|
285
|
+
href: `${De}?AWD_ID=${e}&HistoricalAwards=false`,
|
|
286
|
+
children: ["#", e]
|
|
287
|
+
}), We = `.logo{align-items:start;display:flex;flex-direction:row}.nsf-logo{height:49px}.access-logo{height:23px;margin-top:12px}.access,.nsf{display:block;text-decoration:none}.divider{border-right:1px solid #bbbbbb;height:40px;margin:4px 15px 0 12px;width:0}.name{color:var(--teal-700);display:block;font-size:17.5px;font-stretch:80%;font-weight:200;line-height:1;margin:3px 0 0;text-align:right}.name:before{content:"";display:inline-block;height:0;margin:0 5px 0 0;width:0}.name-allocations:before{border-bottom:12px solid var(--orange-400);border-left:12px solid transparent}.name-coordination-office:before{background-color:var(--teal-400);border-radius:6px;height:12px;margin:0 6px 0 0;width:12px}.name-metrics:before{background-image:url("data:image/svg+xml;utf8,<svg viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg' width='12'><circle cx='12' cy='0' r='12' fill='%23008496' /></svg>");background-size:cover;height:12px;margin:0 2px 0 0;width:12px}.name-operations:before{border-top:12px solid var(--yellow-400);border-right:12px solid transparent}.name-support:before{background-color:var(--teal-700);height:12px;margin:0 6px 0 0;width:12px}@media (min-width: 900px){.nsf-logo{height:82px}.divider{height:68px;margin:6px 23px 0 20px}.access-logo{height:39px;margin-top:21px}.name{font-size:30px}.name-allocations:before{border-bottom:20px solid var(--orange-400);border-left:20px solid transparent}.name-metrics:before{height:20px;margin:0 4px 0 0;width:20px}.name-operations:before{border-top:20px solid var(--yellow-400);border-right:20px solid transparent}.name-coordination-office:before{border-radius:9.5px;height:19px;width:19px}.name-support:before{height:19px;margin:0 7px 0 0;width:19px}}@media (min-width: 600px){.logo-footer .nsf-logo{height:36px}.logo-footer .divider{height:30px;margin:3px 11px 0 9px}.logo-footer .access-logo{margin-top:10px;height:17px}}
|
|
288
|
+
`, Ce = ({
|
|
289
|
+
nsfUrl: e = "https://www.nsf.gov",
|
|
290
|
+
placement: t = "header",
|
|
291
|
+
siteName: o = "",
|
|
292
|
+
siteUrl: r = "/"
|
|
293
|
+
}) => a(z, {
|
|
294
|
+
children: [a("div", {
|
|
295
|
+
class: `logo logo-${t}`,
|
|
296
|
+
children: [a("a", {
|
|
297
|
+
class: "nsf",
|
|
298
|
+
href: e,
|
|
299
|
+
children: a("img", {
|
|
300
|
+
class: "nsf-logo",
|
|
301
|
+
src: "/images/nsf-logo.png",
|
|
302
|
+
alt: "National Science Foundation"
|
|
303
|
+
})
|
|
304
|
+
}), a("div", {
|
|
305
|
+
class: "divider"
|
|
306
|
+
}), a("a", {
|
|
307
|
+
class: "access",
|
|
308
|
+
href: r,
|
|
309
|
+
children: [a("img", {
|
|
310
|
+
class: "access-logo",
|
|
311
|
+
src: "/images/access-logo.svg",
|
|
312
|
+
alt: "ACCESS"
|
|
313
|
+
}), o && t == "header" ? a("span", {
|
|
314
|
+
class: `name name-${o.toLocaleLowerCase().replace(" ", "-")}`,
|
|
315
|
+
children: o
|
|
316
|
+
}) : null]
|
|
317
|
+
})]
|
|
318
|
+
}), a("style", {
|
|
319
|
+
children: We
|
|
320
|
+
})]
|
|
321
|
+
});
|
|
322
|
+
var N, w, Y, ce, Q = 0, ze = [], U = [], se = p.__b, de = p.__r, _e = p.diffed, pe = p.__c, he = p.unmount;
|
|
323
|
+
function oe(e, t) {
|
|
324
|
+
p.__h && p.__h(w, e, Q || t), Q = 0;
|
|
325
|
+
var o = w.__H || (w.__H = { __: [], __h: [] });
|
|
326
|
+
return e >= o.__.length && o.__.push({ __V: U }), o.__[e];
|
|
327
|
+
}
|
|
328
|
+
function q(e) {
|
|
329
|
+
return Q = 1, Re(Me, e);
|
|
330
|
+
}
|
|
331
|
+
function Re(e, t, o) {
|
|
332
|
+
var r = oe(N++, 2);
|
|
333
|
+
if (r.t = e, !r.__c && (r.__ = [o ? o(t) : Me(void 0, t), function(c) {
|
|
334
|
+
var d = r.__N ? r.__N[0] : r.__[0], m = r.t(d, c);
|
|
335
|
+
d !== m && (r.__N = [m, r.__[1]], r.__c.setState({}));
|
|
336
|
+
}], r.__c = w, !w.u)) {
|
|
337
|
+
var l = function(c, d, m) {
|
|
338
|
+
if (!r.__c.__H)
|
|
285
339
|
return !0;
|
|
286
|
-
var
|
|
287
|
-
return
|
|
340
|
+
var h = r.__c.__H.__.filter(function(f) {
|
|
341
|
+
return f.__c;
|
|
288
342
|
});
|
|
289
|
-
if (
|
|
290
|
-
return !
|
|
343
|
+
if (h.every(function(f) {
|
|
344
|
+
return !f.__N;
|
|
291
345
|
}))
|
|
292
|
-
return !
|
|
293
|
-
var
|
|
294
|
-
return
|
|
295
|
-
if (
|
|
296
|
-
var
|
|
297
|
-
|
|
346
|
+
return !i || i.call(this, c, d, m);
|
|
347
|
+
var n = !1;
|
|
348
|
+
return h.forEach(function(f) {
|
|
349
|
+
if (f.__N) {
|
|
350
|
+
var g = f.__[0];
|
|
351
|
+
f.__ = f.__N, f.__N = void 0, g !== f.__[0] && (n = !0);
|
|
298
352
|
}
|
|
299
|
-
}), !(!
|
|
353
|
+
}), !(!n && r.__c.props === c) && (!i || i.call(this, c, d, m));
|
|
300
354
|
};
|
|
301
|
-
|
|
302
|
-
var
|
|
303
|
-
|
|
355
|
+
w.u = !0;
|
|
356
|
+
var i = w.shouldComponentUpdate, s = w.componentWillUpdate;
|
|
357
|
+
w.componentWillUpdate = function(c, d, m) {
|
|
304
358
|
if (this.__e) {
|
|
305
|
-
var
|
|
306
|
-
|
|
359
|
+
var h = i;
|
|
360
|
+
i = void 0, l(c, d, m), i = h;
|
|
307
361
|
}
|
|
308
|
-
|
|
309
|
-
},
|
|
362
|
+
s && s.call(this, c, d, m);
|
|
363
|
+
}, w.shouldComponentUpdate = l;
|
|
310
364
|
}
|
|
311
|
-
return
|
|
312
|
-
}
|
|
313
|
-
function
|
|
314
|
-
var
|
|
315
|
-
!
|
|
316
|
-
}
|
|
317
|
-
function
|
|
318
|
-
var
|
|
319
|
-
if (!
|
|
320
|
-
for (var
|
|
321
|
-
|
|
322
|
-
var
|
|
323
|
-
|
|
365
|
+
return r.__N || r.__;
|
|
366
|
+
}
|
|
367
|
+
function G(e, t) {
|
|
368
|
+
var o = oe(N++, 3);
|
|
369
|
+
!p.__s && Ye(o.__H, t) && (o.__ = e, o.i = t, w.__H.__h.push(o));
|
|
370
|
+
}
|
|
371
|
+
function je() {
|
|
372
|
+
var e = oe(N++, 11);
|
|
373
|
+
if (!e.__) {
|
|
374
|
+
for (var t = w.__v; t !== null && !t.__m && t.__ !== null; )
|
|
375
|
+
t = t.__;
|
|
376
|
+
var o = t.__m || (t.__m = [0, 0]);
|
|
377
|
+
e.__ = "P" + o[0] + "-" + o[1]++;
|
|
324
378
|
}
|
|
325
|
-
return
|
|
379
|
+
return e.__;
|
|
326
380
|
}
|
|
327
|
-
function
|
|
328
|
-
for (var
|
|
329
|
-
if (
|
|
381
|
+
function qe() {
|
|
382
|
+
for (var e; e = ze.shift(); )
|
|
383
|
+
if (e.__P && e.__H)
|
|
330
384
|
try {
|
|
331
|
-
|
|
332
|
-
} catch (
|
|
333
|
-
|
|
385
|
+
e.__H.__h.forEach(B), e.__H.__h.forEach(X), e.__H.__h = [];
|
|
386
|
+
} catch (t) {
|
|
387
|
+
e.__H.__h = [], p.__e(t, e.__v);
|
|
334
388
|
}
|
|
335
389
|
}
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
},
|
|
339
|
-
|
|
340
|
-
var
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
})) : (
|
|
344
|
-
},
|
|
345
|
-
|
|
346
|
-
var
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
})),
|
|
350
|
-
},
|
|
351
|
-
|
|
390
|
+
p.__b = function(e) {
|
|
391
|
+
w = null, se && se(e);
|
|
392
|
+
}, p.__r = function(e) {
|
|
393
|
+
de && de(e), N = 0;
|
|
394
|
+
var t = (w = e.__c).__H;
|
|
395
|
+
t && (Y === w ? (t.__h = [], w.__h = [], t.__.forEach(function(o) {
|
|
396
|
+
o.__N && (o.__ = o.__N), o.__V = U, o.__N = o.i = void 0;
|
|
397
|
+
})) : (t.__h.forEach(B), t.__h.forEach(X), t.__h = [], N = 0)), Y = w;
|
|
398
|
+
}, p.diffed = function(e) {
|
|
399
|
+
_e && _e(e);
|
|
400
|
+
var t = e.__c;
|
|
401
|
+
t && t.__H && (t.__H.__h.length && (ze.push(t) !== 1 && ce === p.requestAnimationFrame || ((ce = p.requestAnimationFrame) || Ge)(qe)), t.__H.__.forEach(function(o) {
|
|
402
|
+
o.i && (o.__H = o.i), o.__V !== U && (o.__ = o.__V), o.i = void 0, o.__V = U;
|
|
403
|
+
})), Y = w = null;
|
|
404
|
+
}, p.__c = function(e, t) {
|
|
405
|
+
t.some(function(o) {
|
|
352
406
|
try {
|
|
353
|
-
|
|
354
|
-
return !
|
|
407
|
+
o.__h.forEach(B), o.__h = o.__h.filter(function(r) {
|
|
408
|
+
return !r.__ || X(r);
|
|
355
409
|
});
|
|
356
|
-
} catch (
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
}),
|
|
410
|
+
} catch (r) {
|
|
411
|
+
t.some(function(l) {
|
|
412
|
+
l.__h && (l.__h = []);
|
|
413
|
+
}), t = [], p.__e(r, o.__v);
|
|
360
414
|
}
|
|
361
|
-
}),
|
|
362
|
-
},
|
|
363
|
-
|
|
364
|
-
var
|
|
365
|
-
|
|
415
|
+
}), pe && pe(e, t);
|
|
416
|
+
}, p.unmount = function(e) {
|
|
417
|
+
he && he(e);
|
|
418
|
+
var t, o = e.__c;
|
|
419
|
+
o && o.__H && (o.__H.__.forEach(function(r) {
|
|
366
420
|
try {
|
|
367
|
-
|
|
368
|
-
} catch (
|
|
369
|
-
|
|
421
|
+
B(r);
|
|
422
|
+
} catch (l) {
|
|
423
|
+
t = l;
|
|
370
424
|
}
|
|
371
|
-
}),
|
|
425
|
+
}), o.__H = void 0, t && p.__e(t, o.__v));
|
|
372
426
|
};
|
|
373
|
-
var
|
|
374
|
-
function
|
|
375
|
-
var
|
|
376
|
-
clearTimeout(
|
|
377
|
-
},
|
|
378
|
-
|
|
379
|
-
}
|
|
380
|
-
function
|
|
381
|
-
var
|
|
382
|
-
typeof
|
|
383
|
-
}
|
|
384
|
-
function
|
|
385
|
-
var
|
|
386
|
-
|
|
387
|
-
}
|
|
388
|
-
function
|
|
389
|
-
return !
|
|
390
|
-
return
|
|
427
|
+
var ue = typeof requestAnimationFrame == "function";
|
|
428
|
+
function Ge(e) {
|
|
429
|
+
var t, o = function() {
|
|
430
|
+
clearTimeout(r), ue && cancelAnimationFrame(t), setTimeout(e);
|
|
431
|
+
}, r = setTimeout(o, 100);
|
|
432
|
+
ue && (t = requestAnimationFrame(o));
|
|
433
|
+
}
|
|
434
|
+
function B(e) {
|
|
435
|
+
var t = w, o = e.__c;
|
|
436
|
+
typeof o == "function" && (e.__c = void 0, o()), w = t;
|
|
437
|
+
}
|
|
438
|
+
function X(e) {
|
|
439
|
+
var t = w;
|
|
440
|
+
e.__c = e.__(), w = t;
|
|
441
|
+
}
|
|
442
|
+
function Ye(e, t) {
|
|
443
|
+
return !e || e.length !== t.length || t.some(function(o, r) {
|
|
444
|
+
return o !== e[r];
|
|
391
445
|
});
|
|
392
446
|
}
|
|
393
|
-
function
|
|
394
|
-
return typeof
|
|
447
|
+
function Me(e, t) {
|
|
448
|
+
return typeof t == "function" ? t(e) : t;
|
|
395
449
|
}
|
|
396
|
-
const
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
}
|
|
409
|
-
const
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
450
|
+
const J = (e = 900) => document.body.clientWidth >= e ? "desktop" : "mobile", He = (e = 900) => {
|
|
451
|
+
const [t, o] = q(J(e));
|
|
452
|
+
return G(() => {
|
|
453
|
+
window.addEventListener("resize", () => o(J(e)));
|
|
454
|
+
}, []), t;
|
|
455
|
+
}, T = (e, t) => {
|
|
456
|
+
const o = t.attachShadow({
|
|
457
|
+
mode: "open"
|
|
458
|
+
});
|
|
459
|
+
Ue(e, o);
|
|
460
|
+
}, Ee = () => window.pageYOffset !== void 0 ? window.pageYOffset : (document.documentElement || document.body.parentNode || document.body).scrollTop, Ze = ({
|
|
461
|
+
showAfterScroll: e = 300
|
|
462
|
+
}) => {
|
|
463
|
+
const [t, o] = q(!1);
|
|
464
|
+
return G(() => {
|
|
465
|
+
window.addEventListener("scroll", () => o(Ee() >= e));
|
|
466
|
+
}, []), a("button", {
|
|
467
|
+
class: `scroll-to-top ${t ? "visible" : ""}`,
|
|
468
|
+
title: "Return to Top",
|
|
469
|
+
onClick: () => window.scrollTo({
|
|
470
|
+
top: 0,
|
|
471
|
+
behavior: "smooth"
|
|
472
|
+
}),
|
|
473
|
+
children: "Return to Top"
|
|
474
|
+
});
|
|
475
|
+
}, Qe = (e = {}) => a(z, {
|
|
476
|
+
children: [a("div", {
|
|
477
|
+
class: "container",
|
|
478
|
+
children: [a("div", {
|
|
479
|
+
class: "upper",
|
|
480
|
+
children: [a("div", {
|
|
481
|
+
class: "about",
|
|
482
|
+
children: [a("p", {
|
|
483
|
+
class: "awards",
|
|
484
|
+
children: ["ACCESS is an advanced computing and data resource program supported by the U.S. National Science Foundation (NSF) under the Office of Advanced Cyberinfrastructure awards", " ", a(P, {
|
|
485
|
+
number: 2138259
|
|
486
|
+
}), ", ", a(P, {
|
|
487
|
+
number: 2138286
|
|
488
|
+
}), ",", " ", a(P, {
|
|
489
|
+
number: 2138307
|
|
490
|
+
}), ", ", a(P, {
|
|
491
|
+
number: 2137603
|
|
492
|
+
}), " and", " ", a(P, {
|
|
493
|
+
number: 2138296
|
|
494
|
+
}), "."]
|
|
495
|
+
}), a("p", {
|
|
496
|
+
class: "disclaimer",
|
|
497
|
+
children: "Any opinions, findings, conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of the National Science Foundation."
|
|
498
|
+
}), a("a", {
|
|
499
|
+
class: "contact",
|
|
500
|
+
href: "https://access-ci.org/contact/",
|
|
501
|
+
children: "Contact ACCESS"
|
|
502
|
+
})]
|
|
503
|
+
}), a("ul", {
|
|
504
|
+
class: "social",
|
|
505
|
+
children: [a("li", {
|
|
506
|
+
children: a("a", {
|
|
507
|
+
class: "x",
|
|
508
|
+
href: "https://twitter.com/ACCESSforCI",
|
|
509
|
+
children: "X"
|
|
510
|
+
})
|
|
511
|
+
}), a("li", {
|
|
512
|
+
children: a("a", {
|
|
513
|
+
class: "youtube",
|
|
514
|
+
href: "https://www.youtube.com/c/ACCESSforCI",
|
|
515
|
+
children: "YouTube"
|
|
516
|
+
})
|
|
517
|
+
}), a("li", {
|
|
518
|
+
children: a("a", {
|
|
519
|
+
class: "facebook",
|
|
520
|
+
href: "https://www.facebook.com/ACCESSforCI",
|
|
521
|
+
children: "Facebook"
|
|
522
|
+
})
|
|
523
|
+
}), a("li", {
|
|
524
|
+
children: a("a", {
|
|
525
|
+
class: "linkedin",
|
|
526
|
+
href: "https://www.linkedin.com/company/accessforci/",
|
|
527
|
+
children: "LinkedIn"
|
|
528
|
+
})
|
|
529
|
+
})]
|
|
530
|
+
})]
|
|
531
|
+
}), a("div", {
|
|
532
|
+
class: "lower",
|
|
533
|
+
children: [a(Ce, {
|
|
534
|
+
...e,
|
|
535
|
+
placement: "footer"
|
|
536
|
+
}), a("ul", {
|
|
537
|
+
class: "links",
|
|
538
|
+
children: [a("li", {
|
|
539
|
+
children: a("a", {
|
|
540
|
+
href: "https://access-ci.org/acceptable-use/",
|
|
541
|
+
children: "Acceptable Use"
|
|
542
|
+
})
|
|
543
|
+
}), a("li", {
|
|
544
|
+
children: a("a", {
|
|
545
|
+
href: "https://access-ci.org/code-of-conduct/",
|
|
546
|
+
children: "Code of Conduct"
|
|
547
|
+
})
|
|
548
|
+
}), a("li", {
|
|
549
|
+
children: a("a", {
|
|
550
|
+
href: "https://access-ci.org/privacy-policy/",
|
|
551
|
+
children: "Privacy Policy"
|
|
552
|
+
})
|
|
553
|
+
}), a("li", {
|
|
554
|
+
children: a("a", {
|
|
555
|
+
href: "https://access-ci.org/glossary/",
|
|
556
|
+
children: "Glossary"
|
|
557
|
+
})
|
|
558
|
+
}), a("li", {
|
|
559
|
+
children: a("a", {
|
|
560
|
+
href: "https://access-ci.org/site-map/",
|
|
561
|
+
children: "Site Map"
|
|
562
|
+
})
|
|
563
|
+
})]
|
|
564
|
+
})]
|
|
565
|
+
})]
|
|
566
|
+
}), a(Ze, {
|
|
567
|
+
...e
|
|
568
|
+
}), a("style", {
|
|
569
|
+
children: V
|
|
570
|
+
}), a("style", {
|
|
571
|
+
children: Te
|
|
572
|
+
})]
|
|
573
|
+
}), Xe = `:host{height:84px;padding:20px 0 0}@media (min-width: 900px){:host{height:146px;padding:50px 0 0}}
|
|
574
|
+
`, Je = (e = {}) => a(z, {
|
|
575
|
+
children: [a("div", {
|
|
576
|
+
class: "container",
|
|
577
|
+
children: a(Ce, {
|
|
578
|
+
...e
|
|
579
|
+
})
|
|
580
|
+
}), a("style", {
|
|
581
|
+
children: V
|
|
582
|
+
}), a("style", {
|
|
583
|
+
children: Xe
|
|
584
|
+
})]
|
|
585
|
+
}), Ae = `.universal{--background: var(--teal-700);--border: rgba(19, 133, 151, .35)}.site{--background: var(--teal-600);--border: #157688}.site ul ul{--border: rgba(19, 133, 151, .35)}.menu ul,.menu li{list-style-type:none;margin:0;padding:0}.menu a{text-decoration:none}.item{background:transparent;border:0 none transparent;border-radius:0;box-sizing:border-box;cursor:pointer;display:block;text-align:left;width:100%}.item{font-size:14px;font-weight:600;line-height:21px;padding:13.5px var(--padding) 13.5px}.menu>ul>li>.item{font-weight:800}.item,.menu>.expanded{border-bottom:1px solid var(--border)}.expanded,.icon-search .item,.menu li:last-child>.item,.menu>.collapsed{border-bottom:0 none transparent}.menu>button{text-transform:uppercase}.menu button{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'><path fill='white' d='M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z'/></svg>");background-position:calc(100% - var(--padding) - var(--offset)) center;background-repeat:no-repeat;background-size:14px 24px}.menu button.expanded{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'><path fill='white' d='m 182.62211,201.27501 c -12.5,-12.5 -32.8,-12.5 -45.3,0 L 9.322106,329.275 c -9.19999996,9.2 -11.9,22.9 -6.9,34.9 5,12 16.6,19.8 29.6,19.8 l 256.000004,-0.1 c 12.9,0 24.6,-7.8 29.6,-19.8 5,-12 2.2,-25.7 -6.9,-34.9 l -128,-127.99999 z'/></svg>")}.menu button,.menu ul li{background-color:var(--background)}.menu button,.menu ul li a{color:var(--color)}.menu ul li li{background-color:#fff}.menu ul li li a{color:#138597}.icon>.item{background-position:calc(var(--padding) + var(--offset)) center;background-repeat:no-repeat;background-size:14px 14px;text-indent:-99999px}.icon-home>.item{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512' fill='white'><path d='M543.8 287.6c17 0 32-14 32-32.1c1-9-3-17-11-24L512 185V64c0-17.7-14.3-32-32-32H448c-17.7 0-32 14.3-32 32v36.7L309.5 7c-6-5-14-7-21-7s-15 1-22 8L10 231.5c-7 7-10 15-10 24c0 18 14 32.1 32 32.1h32v69.7c-.1 .9-.1 1.8-.1 2.8V472c0 22.1 17.9 40 40 40h16c1.2 0 2.4-.1 3.6-.2c1.5 .1 3 .2 4.5 .2H160h24c22.1 0 40-17.9 40-40V448 384c0-17.7 14.3-32 32-32h64c17.7 0 32 14.3 32 32v64 24c0 22.1 17.9 40 40 40h24 32.5c1.4 0 2.8 0 4.2-.1c1.1 .1 2.2 .1 3.3 .1h16c22.1 0 40-17.9 40-40V455.8c.3-2.6 .5-5.3 .5-8.1l-.7-160.2h32z'/></svg>")}.icon-search>.item{background-image:url("data:image/svg+xml;utf8,<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='18' height='18' viewBox='0 0 100 100'><path fill='white' class='st0' d='M98.22,92.72l-5.48,5.47c-1.8,1.82-4.74,1.82-6.55,0L66.9,78.9c-0.87-0.87-1.35-2.05-1.35-3.29v-3.15 c-6.83,5.34-15.42,8.51-24.76,8.51c-22.23,0-40.24-18.01-40.24-40.24S18.55,0.49,40.78,0.49S81.02,18.5,81.02,40.73 c0,9.34-3.18,17.94-8.51,24.76h3.15c1.24,0,2.42,0.48,3.29,1.35l19.29,19.29C100.03,87.95,100.03,90.89,98.22,92.72z M65.54,40.73 c0-13.7-11.08-24.76-24.76-24.76c-13.7,0-24.76,11.08-24.76,24.76c0,13.7,11.08,24.76,24.76,24.76 C54.47,65.49,65.54,54.41,65.54,40.73z'></path></svg>")}.icon-hamburger>.item,.icon-hamburger>.item.expanded{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='white'><path d='M24 6h-24v-4h24v4zm0 4h-24v4h24v-4zm0 8h-24v4h24v-4z'/></svg>")}.track .item{text-transform:uppercase;padding-top:5px;padding-bottom:5px}.track:not(.grow) .item{border-bottom:0 none transparent}.track.grow .item{padding-bottom:10px}.hamburger>button{display:none}.footer{background-color:var(--teal-700);color:#fff}.columns{margin:0 auto;padding:50px var(--padding) 36px;width:var(--width)}.column{padding-bottom:14px}.footer a,.footer a:visited{color:#fff;text-decoration:none}.footer a:active,.footer a:focus,.footer a:hover{color:var(--teal-100);text-decoration:underline}.footer h2{font-size:14px;font-weight:800;margin:0}.footer ul{margin:0;padding:0}.footer li{font-size:14px;font-weight:600;list-style-type:none;padding:14px 0 0}@media (min-width: 768px){.columns{display:flex;flex-direction:row;flex-wrap:wrap;padding:50px 0 10px}.column{padding-bottom:40px;padding-right:20px;width:calc((var(--width) - 60px) / 4)}.column:nth-child(4),.column:last-child{padding-right:0}}@media (min-width: 900px){.site{--background: white;--color: var(--teal-600);--outline: var(--teal-700);--padding: 20px;border-bottom:1px solid #d9d9d9;border-top:3px solid var(--teal-700)}.site>ul{justify-content:end}.menu>button{display:none}.menu>ul{display:flex;flex-direction:row;margin:0 auto;width:calc(var(--width) + (2 * var(--padding)))}.item,.track .item{border-bottom:0 none transparent;padding-top:12px;padding-bottom:12px}.site .item{font-size:16px}.grow{flex:1 0 auto}.universal{background-color:var(--teal-700)}.icon>.item{background-position:center center;width:56px}.menu button,.menu button.expanded{background-image:none}.hamburger>button{display:block}.menu>ul>li{display:flex;flex-direction:row;justify-content:start;position:relative}.menu>ul>li.grow>.item{flex:0 1 0}.menu>ul>li>.expanded,.menu>ul>li>.item:active,.menu>ul>li>.item:focus,.menu>ul>li>.item:hover{background-color:var(--teal-600);color:#fff;outline:0 none transparent}.menu>ul>li>.item:focus-visible{outline:3px solid var(--outline);outline-offset:-3px;z-index:1000}.menu>ul ul{background-color:var(--teal-600);padding:10px 0;position:absolute;right:0;top:48px;z-index:9999}.menu>ul ul li{background-color:var(--teal-600)}.menu>ul ul .item{color:#fff;white-space:nowrap;padding:5px 20px}.menu>ul ul .item:active,.menu>ul ul .item:focus,.menu>ul ul .item:hover{color:#cee8e9;outline:0 none transparent;text-decoration:underline}.menu>ul ul .item:focus-visible{outline:3px solid white;outline-offset:-3px;z-index:1000}.menu>ul>li>.item{line-height:24px}}@media (min-width: 1280px){.columns{flex-wrap:nowrap;padding:72px 0 0}.column{padding-bottom:72px;width:calc((var(--width) - 120px) / 7)}.column:nth-child(4){padding-right:20px}}
|
|
586
|
+
`, $e = ({
|
|
587
|
+
autoOpenMode: e,
|
|
588
|
+
classes: t = "",
|
|
589
|
+
href: o = "",
|
|
590
|
+
html: r = "",
|
|
591
|
+
items: l,
|
|
592
|
+
mode: i,
|
|
593
|
+
name: s,
|
|
594
|
+
open: c,
|
|
595
|
+
parentId: d = "root",
|
|
596
|
+
setOpen: m
|
|
425
597
|
}) => {
|
|
426
|
-
const
|
|
427
|
-
...
|
|
428
|
-
[
|
|
598
|
+
const h = je(), n = c[d] == h, f = n || e == i, g = () => m({
|
|
599
|
+
...c,
|
|
600
|
+
[d]: n ? null : h
|
|
429
601
|
});
|
|
430
|
-
if (
|
|
431
|
-
return
|
|
602
|
+
if (r)
|
|
603
|
+
return a("div", {
|
|
432
604
|
dangerouslySetInnerHTML: {
|
|
433
|
-
__html:
|
|
605
|
+
__html: r
|
|
434
606
|
}
|
|
435
607
|
});
|
|
436
|
-
if (
|
|
437
|
-
return
|
|
438
|
-
href:
|
|
439
|
-
class: `item ${
|
|
440
|
-
children:
|
|
608
|
+
if (o)
|
|
609
|
+
return a("a", {
|
|
610
|
+
href: o,
|
|
611
|
+
class: `item ${t || ""}`,
|
|
612
|
+
children: s
|
|
441
613
|
});
|
|
442
|
-
if (
|
|
443
|
-
return
|
|
444
|
-
children: [
|
|
445
|
-
"aria-expanded":
|
|
446
|
-
"aria-controls":
|
|
447
|
-
class: `item ${
|
|
448
|
-
onClick:
|
|
449
|
-
children:
|
|
450
|
-
}),
|
|
451
|
-
class:
|
|
452
|
-
id:
|
|
453
|
-
hidden: !
|
|
454
|
-
"aria-hidden": !
|
|
455
|
-
children:
|
|
456
|
-
autoOpenMode:
|
|
457
|
-
classes:
|
|
458
|
-
href:
|
|
459
|
-
html:
|
|
460
|
-
items:
|
|
461
|
-
name:
|
|
462
|
-
}) =>
|
|
463
|
-
class:
|
|
464
|
-
children:
|
|
465
|
-
autoOpenMode:
|
|
466
|
-
href:
|
|
467
|
-
html:
|
|
468
|
-
items:
|
|
469
|
-
mode:
|
|
470
|
-
name:
|
|
471
|
-
open:
|
|
472
|
-
parentId:
|
|
473
|
-
setOpen:
|
|
614
|
+
if (l)
|
|
615
|
+
return a(z, {
|
|
616
|
+
children: [s && a("button", {
|
|
617
|
+
"aria-expanded": f,
|
|
618
|
+
"aria-controls": h,
|
|
619
|
+
class: `item ${f ? "expanded" : "collapsed"}`,
|
|
620
|
+
onClick: g,
|
|
621
|
+
children: s
|
|
622
|
+
}), a("ul", {
|
|
623
|
+
class: t,
|
|
624
|
+
id: h,
|
|
625
|
+
hidden: !f,
|
|
626
|
+
"aria-hidden": !f,
|
|
627
|
+
children: l.map(({
|
|
628
|
+
autoOpenMode: _,
|
|
629
|
+
classes: u,
|
|
630
|
+
href: M,
|
|
631
|
+
html: v,
|
|
632
|
+
items: x,
|
|
633
|
+
name: y
|
|
634
|
+
}) => a("li", {
|
|
635
|
+
class: u || "",
|
|
636
|
+
children: a($e, {
|
|
637
|
+
autoOpenMode: _,
|
|
638
|
+
href: M,
|
|
639
|
+
html: v,
|
|
640
|
+
items: x,
|
|
641
|
+
mode: i,
|
|
642
|
+
name: y,
|
|
643
|
+
open: c,
|
|
644
|
+
parentId: h,
|
|
645
|
+
setOpen: m
|
|
474
646
|
})
|
|
475
647
|
}))
|
|
476
648
|
})]
|
|
477
649
|
});
|
|
478
|
-
},
|
|
479
|
-
classes:
|
|
480
|
-
items:
|
|
481
|
-
name:
|
|
482
|
-
target:
|
|
650
|
+
}, Le = ({
|
|
651
|
+
classes: e,
|
|
652
|
+
items: t,
|
|
653
|
+
name: o,
|
|
654
|
+
target: r
|
|
483
655
|
}) => {
|
|
484
|
-
const
|
|
485
|
-
return
|
|
486
|
-
document.body.addEventListener("click", (
|
|
487
|
-
|
|
488
|
-
}),
|
|
489
|
-
key:
|
|
656
|
+
const l = He(), [i, s] = q({});
|
|
657
|
+
return G(() => {
|
|
658
|
+
document.body.addEventListener("click", (c) => {
|
|
659
|
+
c.target != r && J() == "desktop" && s({});
|
|
660
|
+
}), r.addEventListener("keydown", ({
|
|
661
|
+
key: c
|
|
490
662
|
}) => {
|
|
491
|
-
|
|
663
|
+
c == "Escape" && s({});
|
|
492
664
|
});
|
|
493
|
-
}, []),
|
|
494
|
-
children: [
|
|
495
|
-
class: `menu ${
|
|
496
|
-
children:
|
|
665
|
+
}, []), a(z, {
|
|
666
|
+
children: [a("nav", {
|
|
667
|
+
class: `menu ${e || ""}`,
|
|
668
|
+
children: a($e, {
|
|
497
669
|
autoOpenMode: "desktop",
|
|
498
|
-
items:
|
|
499
|
-
mode:
|
|
500
|
-
name:
|
|
501
|
-
open:
|
|
502
|
-
setOpen:
|
|
670
|
+
items: t,
|
|
671
|
+
mode: l,
|
|
672
|
+
name: o,
|
|
673
|
+
open: i,
|
|
674
|
+
setOpen: s
|
|
503
675
|
})
|
|
504
|
-
}),
|
|
505
|
-
children:
|
|
676
|
+
}), a("style", {
|
|
677
|
+
children: V
|
|
678
|
+
}), a("style", {
|
|
679
|
+
children: Ae
|
|
506
680
|
})]
|
|
507
681
|
});
|
|
508
|
-
},
|
|
509
|
-
items:
|
|
682
|
+
}, Ke = ({
|
|
683
|
+
items: e
|
|
510
684
|
}) => {
|
|
511
|
-
const
|
|
512
|
-
name:
|
|
513
|
-
href:
|
|
514
|
-
items:
|
|
685
|
+
const t = He(768), o = e.map(({
|
|
686
|
+
name: r,
|
|
687
|
+
href: l,
|
|
688
|
+
items: i
|
|
515
689
|
}) => {
|
|
516
|
-
if (
|
|
517
|
-
for (; !
|
|
518
|
-
|
|
519
|
-
return
|
|
690
|
+
if (t == "mobile")
|
|
691
|
+
for (; !l; )
|
|
692
|
+
l = i[0].href, i = i[0];
|
|
693
|
+
return l ? a("div", {
|
|
520
694
|
class: "column",
|
|
521
|
-
children:
|
|
522
|
-
children:
|
|
523
|
-
href:
|
|
524
|
-
children:
|
|
695
|
+
children: a("h2", {
|
|
696
|
+
children: a("a", {
|
|
697
|
+
href: l,
|
|
698
|
+
children: r
|
|
525
699
|
})
|
|
526
700
|
})
|
|
527
|
-
}) :
|
|
701
|
+
}) : a("div", {
|
|
528
702
|
class: "column",
|
|
529
|
-
children: [
|
|
530
|
-
children:
|
|
531
|
-
}),
|
|
532
|
-
children:
|
|
533
|
-
name:
|
|
534
|
-
href:
|
|
535
|
-
}) =>
|
|
536
|
-
children:
|
|
537
|
-
href:
|
|
538
|
-
children:
|
|
703
|
+
children: [a("h2", {
|
|
704
|
+
children: r
|
|
705
|
+
}), a("ul", {
|
|
706
|
+
children: i.map(({
|
|
707
|
+
name: s,
|
|
708
|
+
href: c
|
|
709
|
+
}) => a("li", {
|
|
710
|
+
children: a("a", {
|
|
711
|
+
href: c,
|
|
712
|
+
children: s
|
|
539
713
|
})
|
|
540
714
|
}))
|
|
541
715
|
})]
|
|
542
716
|
});
|
|
543
717
|
});
|
|
544
|
-
return
|
|
545
|
-
children: [
|
|
718
|
+
return a(z, {
|
|
719
|
+
children: [a("nav", {
|
|
546
720
|
class: "footer",
|
|
547
|
-
children:
|
|
721
|
+
children: a("div", {
|
|
548
722
|
class: "columns",
|
|
549
|
-
children:
|
|
723
|
+
children: o
|
|
550
724
|
})
|
|
551
|
-
}),
|
|
552
|
-
children:
|
|
725
|
+
}), a("style", {
|
|
726
|
+
children: V
|
|
727
|
+
}), a("style", {
|
|
728
|
+
children: Ae
|
|
553
729
|
})]
|
|
554
730
|
});
|
|
555
|
-
},
|
|
731
|
+
}, et = [{
|
|
556
732
|
name: "Allocations",
|
|
557
733
|
href: "https://allocations.access-ci.org/",
|
|
558
734
|
classes: "track"
|
|
@@ -602,7 +778,7 @@ const G = (t = 900) => document.body.clientWidth >= t ? "desktop" : "mobile", He
|
|
|
602
778
|
name: "Resource Providers",
|
|
603
779
|
href: "https://access-ci.org/resource-providers/"
|
|
604
780
|
}]
|
|
605
|
-
}],
|
|
781
|
+
}], tt = {
|
|
606
782
|
name: "My ACCESS",
|
|
607
783
|
items: [{
|
|
608
784
|
name: "Allocations",
|
|
@@ -623,7 +799,7 @@ const G = (t = 900) => document.body.clientWidth >= t ? "desktop" : "mobile", He
|
|
|
623
799
|
name: "Log out",
|
|
624
800
|
href: "https://cilogon.org/logout/?skin=access"
|
|
625
801
|
}]
|
|
626
|
-
},
|
|
802
|
+
}, ot = {
|
|
627
803
|
name: "Login",
|
|
628
804
|
items: [{
|
|
629
805
|
name: "Login",
|
|
@@ -638,53 +814,111 @@ const G = (t = 900) => document.body.clientWidth >= t ? "desktop" : "mobile", He
|
|
|
638
814
|
name: "Reset Password",
|
|
639
815
|
href: "https://identity.access-ci.orgg/password-reset"
|
|
640
816
|
}]
|
|
641
|
-
},
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
}
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
817
|
+
}, nt = `.toc{background-color:var(--teal-600);color:#fff;padding:20px;position:sticky;top:50px}h2{font-size:16px;font-weight:800;margin:0 0 16px}ul{margin:0;padding:0 0 0 20px}li{line-height:1.125;list-style-type:none;margin:0;padding:9px 0}a{color:#fff;font-size:16px;font-weight:600;text-decoration:underline;text-decoration-color:transparent}a :active,a:focus,a:hover{color:var(--teal-100);text-decoration-color:var(--teal-100)}@media (min-width: 768px){a.active{color:var(--teal-100)}}@media (min-width: 900px){.toc{padding:32px}}
|
|
818
|
+
`, it = ({
|
|
819
|
+
headings: e = [],
|
|
820
|
+
idPrefix: t = "",
|
|
821
|
+
smoothScroll: o = !0
|
|
822
|
+
}) => {
|
|
823
|
+
const [r, l] = q(-1);
|
|
824
|
+
let i;
|
|
825
|
+
const s = [];
|
|
826
|
+
if (e.forEach((c) => {
|
|
827
|
+
c.tagName == "H1" ? i = c : c.tagName == "H2" && (s.push(c), c.id || (c.id = t + c.textContent.replace(/[^A-Za-z0-9]+/g, "-").toLowerCase()));
|
|
828
|
+
}), G(() => {
|
|
829
|
+
s.length && window.addEventListener("scroll", function() {
|
|
830
|
+
const c = Ee() + window.innerHeight * 0.1;
|
|
831
|
+
let d = -1;
|
|
832
|
+
s.forEach((m, h) => {
|
|
833
|
+
if (m.offsetTop < c)
|
|
834
|
+
return d = h, !1;
|
|
835
|
+
}), l(d);
|
|
836
|
+
});
|
|
837
|
+
}, []), !!s.length)
|
|
838
|
+
return a(z, {
|
|
839
|
+
children: [a("div", {
|
|
840
|
+
class: "toc",
|
|
841
|
+
children: [i && a("h2", {
|
|
842
|
+
children: i.textContent
|
|
843
|
+
}), s.length > 0 && a("ul", {
|
|
844
|
+
children: s.map((c, d) => a("li", {
|
|
845
|
+
children: a("a", {
|
|
846
|
+
href: `#${c.id}`,
|
|
847
|
+
class: d == r ? "active" : "",
|
|
848
|
+
onClick: (m) => {
|
|
849
|
+
o && (m.preventDefault(), window.scrollTo({
|
|
850
|
+
top: c.offsetTop,
|
|
851
|
+
behavior: "smooth"
|
|
852
|
+
}), history.pushState(null, null, `#${c.id}`));
|
|
853
|
+
},
|
|
854
|
+
children: c.textContent
|
|
855
|
+
})
|
|
856
|
+
}))
|
|
857
|
+
})]
|
|
858
|
+
}), a("style", {
|
|
859
|
+
children: V
|
|
860
|
+
}), a("style", {
|
|
861
|
+
children: nt
|
|
862
|
+
})]
|
|
863
|
+
});
|
|
864
|
+
}, rt = (e = {}) => {
|
|
865
|
+
T(a(Qe, {
|
|
866
|
+
...e
|
|
867
|
+
}), e.target);
|
|
868
|
+
}, at = (e = {}) => {
|
|
869
|
+
T(a(Je, {
|
|
870
|
+
...e
|
|
871
|
+
}), e.target);
|
|
872
|
+
}, lt = ({
|
|
873
|
+
items: e,
|
|
874
|
+
isLoggedIn: t,
|
|
875
|
+
loginUrl: o,
|
|
876
|
+
logoutUrl: r,
|
|
877
|
+
target: l
|
|
652
878
|
} = {}) => {
|
|
653
|
-
if (
|
|
654
|
-
const
|
|
655
|
-
...
|
|
879
|
+
if (t === void 0 && (t = document.cookie.split("; ").includes("SESSaccesscisso=1")), e === void 0) {
|
|
880
|
+
const i = {
|
|
881
|
+
...t ? tt : ot
|
|
656
882
|
};
|
|
657
|
-
|
|
658
|
-
...
|
|
659
|
-
href:
|
|
660
|
-
})),
|
|
883
|
+
i.items = i.items.map((s) => ({
|
|
884
|
+
...s,
|
|
885
|
+
href: s.name == "Login" && o || s.name == "Log out" && r || s.href
|
|
886
|
+
})), e = [...et, i];
|
|
661
887
|
}
|
|
662
|
-
|
|
888
|
+
T(a(Le, {
|
|
663
889
|
classes: "universal",
|
|
664
|
-
items:
|
|
890
|
+
items: e,
|
|
665
891
|
name: "ACCESS Menu",
|
|
666
|
-
target:
|
|
667
|
-
}),
|
|
668
|
-
},
|
|
669
|
-
items:
|
|
670
|
-
siteName:
|
|
671
|
-
target:
|
|
672
|
-
}) =>
|
|
892
|
+
target: l
|
|
893
|
+
}), l);
|
|
894
|
+
}, ct = ({
|
|
895
|
+
items: e,
|
|
896
|
+
siteName: t,
|
|
897
|
+
target: o
|
|
898
|
+
}) => T(a(Le, {
|
|
673
899
|
classes: "site",
|
|
674
|
-
items:
|
|
675
|
-
name: `${
|
|
676
|
-
target:
|
|
677
|
-
}),
|
|
678
|
-
items:
|
|
679
|
-
target:
|
|
680
|
-
}) =>
|
|
681
|
-
items:
|
|
682
|
-
}),
|
|
900
|
+
items: e,
|
|
901
|
+
name: `${t} Menu`,
|
|
902
|
+
target: o
|
|
903
|
+
}), o), st = ({
|
|
904
|
+
items: e,
|
|
905
|
+
target: t
|
|
906
|
+
}) => T(a(Ke, {
|
|
907
|
+
items: e
|
|
908
|
+
}), t), dt = ({
|
|
909
|
+
headings: e = [],
|
|
910
|
+
target: t
|
|
911
|
+
}) => T(a(it, {
|
|
912
|
+
headings: e
|
|
913
|
+
}), t);
|
|
683
914
|
export {
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
915
|
+
rt as footer,
|
|
916
|
+
st as footerMenus,
|
|
917
|
+
at as header,
|
|
918
|
+
ot as loginMenuItem,
|
|
919
|
+
tt as myAccessMenuItem,
|
|
920
|
+
ct as siteMenus,
|
|
921
|
+
dt as tableOfContents,
|
|
922
|
+
et as universalMenuItems,
|
|
923
|
+
lt as universalMenus
|
|
690
924
|
};
|