@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.
@@ -1,558 +1,734 @@
1
- var I, u, ue, P, Z, de, R, L = {}, pe = [], $e = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Q = Array.isArray;
2
- function C(t, e) {
3
- for (var n in e)
4
- t[n] = e[n];
5
- return t;
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 he(t) {
8
- var e = t.parentNode;
9
- e && e.removeChild(t);
10
- }
11
- function Pe(t, e, n) {
12
- var i, _, r, c = {};
13
- for (r in e)
14
- r == "key" ? i = e[r] : r == "ref" ? _ = e[r] : c[r] = e[r];
15
- if (arguments.length > 2 && (c.children = arguments.length > 3 ? I.call(arguments, 2) : n), typeof t == "function" && t.defaultProps != null)
16
- for (r in t.defaultProps)
17
- c[r] === void 0 && (c[r] = t.defaultProps[r]);
18
- return T(t, c, i, _, null);
19
- }
20
- function T(t, e, n, i, _) {
21
- var r = { type: t, props: e, key: n, ref: i, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, __h: null, constructor: void 0, __v: _ ?? ++ue };
22
- return _ == null && u.vnode != null && u.vnode(r), r;
23
- }
24
- function z(t) {
25
- return t.children;
26
- }
27
- function U(t, e) {
28
- this.props = t, this.context = e;
29
- }
30
- function F(t, e) {
31
- if (e == null)
32
- return t.__ ? F(t.__, t.__.__k.indexOf(t) + 1) : null;
33
- for (var n; e < t.__k.length; e++)
34
- if ((n = t.__k[e]) != null && n.__e != null)
35
- return n.__e;
36
- return typeof t.type == "function" ? F(t) : null;
37
- }
38
- function fe(t) {
39
- var e, n;
40
- if ((t = t.__) != null && t.__c != null) {
41
- for (t.__e = t.__c.base = null, e = 0; e < t.__k.length; e++)
42
- if ((n = t.__k[e]) != null && n.__e != null) {
43
- t.__e = t.__c.base = n.__e;
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 fe(t);
49
+ return xe(e);
47
50
  }
48
51
  }
49
- function ee(t) {
50
- (!t.__d && (t.__d = !0) && P.push(t) && !V.__r++ || Z !== u.debounceRendering) && ((Z = u.debounceRendering) || de)(V);
51
- }
52
- function V() {
53
- var t, e, n, i, _, r, c, l, a;
54
- for (P.sort(R); t = P.shift(); )
55
- t.__d && (e = P.length, i = void 0, _ = void 0, r = void 0, l = (c = (n = t).__v).__e, (a = n.__P) && (i = [], _ = [], (r = C({}, c)).__v = c.__v + 1, J(a, c, r, n.__n, a.ownerSVGElement !== void 0, c.__h != null ? [l] : null, i, l ?? F(c), c.__h, _), be(i, c, _), c.__e != l && fe(c)), P.length > e && P.sort(R));
56
- V.__r = 0;
57
- }
58
- function me(t, e, n, i, _, r, c, l, a, g, p) {
59
- var o, h, f, s, d, H, m, b, w, M, k = 0, S = i && i.__k || pe, E = S.length, $ = E, y = e.length;
60
- for (n.__k = [], o = 0; o < y; o++)
61
- (s = n.__k[o] = (s = e[o]) == null || typeof s == "boolean" || typeof s == "function" ? null : typeof s == "string" || typeof s == "number" || typeof s == "bigint" ? T(null, s, null, null, s) : Q(s) ? T(z, { children: s }, null, null, null) : s.__b > 0 ? T(s.type, s.props, s.key, s.ref ? s.ref : null, s.__v) : s) != null && (s.__ = n, s.__b = n.__b + 1, (b = ze(s, S, m = o + k, $)) === -1 ? f = L : (f = S[b] || L, S[b] = void 0, $--), J(t, s, f, _, r, c, l, a, g, p), d = s.__e, (h = s.ref) && f.ref != h && (f.ref && K(f.ref, null, s), p.push(h, s.__c || d, s)), d != null && (H == null && (H = d), M = !(w = f === L || f.__v === null) && b === m, w ? b == -1 && k-- : b !== m && (b === m + 1 ? (k++, M = !0) : b > m ? $ > y - m ? (k += b - m, M = !0) : k-- : k = b < m && b == m - 1 ? b - m : 0), m = o + k, M = M || b == o && !w, typeof s.type != "function" || b === m && f.__k !== s.__k ? typeof s.type == "function" || M ? s.__d !== void 0 ? (a = s.__d, s.__d = void 0) : a = d.nextSibling : a = ge(t, d, a) : a = ve(s, a, t), typeof n.type == "function" && (n.__d = a)));
62
- for (n.__e = H, o = E; o--; )
63
- S[o] != null && (typeof n.type == "function" && S[o].__e != null && S[o].__e == n.__d && (n.__d = S[o].__e.nextSibling), xe(S[o], S[o]));
64
- }
65
- function ve(t, e, n) {
66
- for (var i, _ = t.__k, r = 0; _ && r < _.length; r++)
67
- (i = _[r]) && (i.__ = t, e = typeof i.type == "function" ? ve(i, e, n) : ge(n, i.__e, e));
68
- return e;
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 ge(t, e, n) {
71
- return n == null || n.parentNode !== t ? t.insertBefore(e, null) : e == n && e.parentNode != null || t.insertBefore(e, n), e.nextSibling;
72
- }
73
- function ze(t, e, n, i) {
74
- var _ = t.key, r = t.type, c = n - 1, l = n + 1, a = e[n];
75
- if (a === null || a && _ == a.key && r === a.type)
76
- return n;
77
- if (i > (a != null ? 1 : 0))
78
- for (; c >= 0 || l < e.length; ) {
79
- if (c >= 0) {
80
- if ((a = e[c]) && _ == a.key && r === a.type)
81
- return c;
82
- c--;
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 (l < e.length) {
85
- if ((a = e[l]) && _ == a.key && r === a.type)
86
- return l;
87
- l++;
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 Le(t, e, n, i, _) {
93
- var r;
94
- for (r in n)
95
- r === "children" || r === "key" || r in e || B(t, r, null, n[r], i);
96
- for (r in e)
97
- _ && typeof e[r] != "function" || r === "children" || r === "key" || r === "value" || r === "checked" || n[r] === e[r] || B(t, r, e[r], n[r], i);
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 te(t, e, n) {
100
- e[0] === "-" ? t.setProperty(e, n ?? "") : t[e] = n == null ? "" : typeof n != "number" || $e.test(e) ? n : n + "px";
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 B(t, e, n, i, _) {
103
- var r;
105
+ function R(e, t, o, r, l) {
106
+ var i;
104
107
  e:
105
- if (e === "style")
106
- if (typeof n == "string")
107
- t.style.cssText = n;
108
+ if (t === "style")
109
+ if (typeof o == "string")
110
+ e.style.cssText = o;
108
111
  else {
109
- if (typeof i == "string" && (t.style.cssText = i = ""), i)
110
- for (e in i)
111
- n && e in n || te(t.style, e, "");
112
- if (n)
113
- for (e in n)
114
- i && n[e] === i[e] || te(t.style, e, n[e]);
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 (e[0] === "o" && e[1] === "n")
117
- r = e !== (e = e.replace(/Capture$/, "")), e = e.toLowerCase() in t ? e.toLowerCase().slice(2) : e.slice(2), t.l || (t.l = {}), t.l[e + r] = n, n ? i || t.addEventListener(e, r ? oe : ne, r) : t.removeEventListener(e, r ? oe : ne, r);
118
- else if (e !== "dangerouslySetInnerHTML") {
119
- if (_)
120
- e = e.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
121
- else if (e !== "width" && e !== "height" && e !== "href" && e !== "list" && e !== "form" && e !== "tabIndex" && e !== "download" && e !== "rowSpan" && e !== "colSpan" && e in t)
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[e] = n ?? "";
126
+ e[t] = o ?? "";
124
127
  break e;
125
128
  } catch {
126
129
  }
127
- typeof n == "function" || (n == null || n === !1 && e[4] !== "-" ? t.removeAttribute(e) : t.setAttribute(e, n));
130
+ typeof o == "function" || (o == null || o === !1 && t[4] !== "-" ? e.removeAttribute(t) : e.setAttribute(t, o));
128
131
  }
129
132
  }
130
- function ne(t) {
131
- return this.l[t.type + !1](u.event ? u.event(t) : t);
133
+ function ae(e) {
134
+ return this.l[e.type + !1](p.event ? p.event(e) : e);
132
135
  }
133
- function oe(t) {
134
- return this.l[t.type + !0](u.event ? u.event(t) : t);
136
+ function le(e) {
137
+ return this.l[e.type + !0](p.event ? p.event(e) : e);
135
138
  }
136
- function J(t, e, n, i, _, r, c, l, a, g) {
137
- var p, o, h, f, s, d, H, m, b, w, M, k, S, E, $, y = e.type;
138
- if (e.constructor !== void 0)
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
- n.__h != null && (a = n.__h, l = e.__e = n.__e, e.__h = null, r = [l]), (p = u.__b) && p(e);
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 y == "function") {
144
- if (m = e.props, b = (p = y.contextType) && i[p.__c], w = p ? b ? b.props.value : p.__ : i, n.__c ? H = (o = e.__c = n.__c).__ = o.__E : ("prototype" in y && y.prototype.render ? e.__c = o = new y(m, w) : (e.__c = o = new U(m, w), o.constructor = y, o.render = Ae), b && b.sub(o), o.props = m, o.state || (o.state = {}), o.context = w, o.__n = i, h = o.__d = !0, o.__h = [], o._sb = []), o.__s == null && (o.__s = o.state), y.getDerivedStateFromProps != null && (o.__s == o.state && (o.__s = C({}, o.__s)), C(o.__s, y.getDerivedStateFromProps(m, o.__s))), f = o.props, s = o.state, o.__v = e, h)
145
- y.getDerivedStateFromProps == null && o.componentWillMount != null && o.componentWillMount(), o.componentDidMount != null && o.__h.push(o.componentDidMount);
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 (y.getDerivedStateFromProps == null && m !== f && o.componentWillReceiveProps != null && o.componentWillReceiveProps(m, w), !o.__e && (o.shouldComponentUpdate != null && o.shouldComponentUpdate(m, o.__s, w) === !1 || e.__v === n.__v)) {
148
- for (e.__v !== n.__v && (o.props = m, o.state = o.__s, o.__d = !1), e.__e = n.__e, e.__k = n.__k, e.__k.forEach(function(A) {
149
- A && (A.__ = e);
150
- }), M = 0; M < o._sb.length; M++)
151
- o.__h.push(o._sb[M]);
152
- o._sb = [], o.__h.length && c.push(o);
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
- o.componentWillUpdate != null && o.componentWillUpdate(m, o.__s, w), o.componentDidUpdate != null && o.__h.push(function() {
156
- o.componentDidUpdate(f, s, d);
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 (o.context = w, o.props = m, o.__P = t, o.__e = !1, k = u.__r, S = 0, "prototype" in y && y.prototype.render) {
160
- for (o.state = o.__s, o.__d = !1, k && k(e), p = o.render(o.props, o.state, o.context), E = 0; E < o._sb.length; E++)
161
- o.__h.push(o._sb[E]);
162
- o._sb = [];
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
- o.__d = !1, k && k(e), p = o.render(o.props, o.state, o.context), o.state = o.__s;
166
- while (o.__d && ++S < 25);
167
- o.state = o.__s, o.getChildContext != null && (i = C(C({}, i), o.getChildContext())), h || o.getSnapshotBeforeUpdate == null || (d = o.getSnapshotBeforeUpdate(f, s)), me(t, Q($ = p != null && p.type === z && p.key == null ? p.props.children : p) ? $ : [$], e, n, i, _, r, c, l, a, g), o.base = e.__e, e.__h = null, o.__h.length && c.push(o), H && (o.__E = o.__ = null);
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
- r == null && e.__v === n.__v ? (e.__k = n.__k, e.__e = n.__e) : e.__e = Ne(n.__e, e, n, i, _, r, c, a, g);
170
- (p = u.diffed) && p(e);
171
- } catch (A) {
172
- e.__v = null, (a || r != null) && (e.__e = l, e.__h = !!a, r[r.indexOf(l)] = null), u.__e(A, e, n);
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 be(t, e, n) {
176
- for (var i = 0; i < n.length; i++)
177
- K(n[i], n[++i], n[++i]);
178
- u.__c && u.__c(e, t), t.some(function(_) {
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
- t = _.__h, _.__h = [], t.some(function(r) {
181
- r.call(_);
183
+ e = l.__h, l.__h = [], e.some(function(i) {
184
+ i.call(l);
182
185
  });
183
- } catch (r) {
184
- u.__e(r, _.__v);
186
+ } catch (i) {
187
+ p.__e(i, l.__v);
185
188
  }
186
189
  });
187
190
  }
188
- function Ne(t, e, n, i, _, r, c, l, a) {
189
- var g, p, o, h = n.props, f = e.props, s = e.type, d = 0;
190
- if (s === "svg" && (_ = !0), r != null) {
191
- for (; d < r.length; d++)
192
- if ((g = r[d]) && "setAttribute" in g == !!s && (s ? g.localName === s : g.nodeType === 3)) {
193
- t = g, r[d] = null;
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 (t == null) {
198
- if (s === null)
199
- return document.createTextNode(f);
200
- t = _ ? document.createElementNS("http://www.w3.org/2000/svg", s) : document.createElement(s, f.is && f), r = null, l = !1;
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 (s === null)
203
- h === f || l && t.data === f || (t.data = f);
205
+ if (_ === null)
206
+ f === g || c && e.data === g || (e.data = g);
204
207
  else {
205
- if (r = r && I.call(t.childNodes), p = (h = n.props || L).dangerouslySetInnerHTML, o = f.dangerouslySetInnerHTML, !l) {
206
- if (r != null)
207
- for (h = {}, d = 0; d < t.attributes.length; d++)
208
- h[t.attributes[d].name] = t.attributes[d].value;
209
- (o || p) && (o && (p && o.__html == p.__html || o.__html === t.innerHTML) || (t.innerHTML = o && o.__html || ""));
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 (Le(t, f, h, _, l), o)
212
- e.__k = [];
213
- else if (me(t, Q(d = e.props.children) ? d : [d], e, n, i, _ && s !== "foreignObject", r, c, r ? r[0] : n.__k && F(n, 0), l, a), r != null)
214
- for (d = r.length; d--; )
215
- r[d] != null && he(r[d]);
216
- l || ("value" in f && (d = f.value) !== void 0 && (d !== t.value || s === "progress" && !d || s === "option" && d !== h.value) && B(t, "value", d, h.value, !1), "checked" in f && (d = f.checked) !== void 0 && d !== t.checked && B(t, "checked", d, h.checked, !1));
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 t;
221
+ return e;
219
222
  }
220
- function K(t, e, n) {
223
+ function te(e, t, o) {
221
224
  try {
222
- typeof t == "function" ? t(e) : t.current = e;
223
- } catch (i) {
224
- u.__e(i, n);
225
+ typeof e == "function" ? e(t) : e.current = t;
226
+ } catch (r) {
227
+ p.__e(r, o);
225
228
  }
226
229
  }
227
- function xe(t, e, n) {
228
- var i, _;
229
- if (u.unmount && u.unmount(t), (i = t.ref) && (i.current && i.current !== t.__e || K(i, null, e)), (i = t.__c) != null) {
230
- if (i.componentWillUnmount)
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
- i.componentWillUnmount();
233
- } catch (r) {
234
- u.__e(r, e);
235
+ r.componentWillUnmount();
236
+ } catch (i) {
237
+ p.__e(i, t);
235
238
  }
236
- i.base = i.__P = null, t.__c = void 0;
239
+ r.base = r.__P = null, e.__c = void 0;
237
240
  }
238
- if (i = t.__k)
239
- for (_ = 0; _ < i.length; _++)
240
- i[_] && xe(i[_], e, n || typeof t.type != "function");
241
- n || t.__e == null || he(t.__e), t.__ = t.__e = t.__d = void 0;
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 Ae(t, e, n) {
244
- return this.constructor(t, n);
246
+ function Oe(e, t, o) {
247
+ return this.constructor(e, o);
245
248
  }
246
- function Te(t, e, n) {
247
- var i, _, r, c;
248
- u.__ && u.__(t, e), _ = (i = typeof n == "function") ? null : n && n.__k || e.__k, r = [], c = [], J(e, t = (!i && n || e).__k = Pe(z, null, [t]), _ || L, L, e.ownerSVGElement !== void 0, !i && n ? [n] : _ ? null : e.firstChild ? I.call(e.childNodes) : null, r, !i && n ? n : _ ? _.__e : e.firstChild, i, c), be(r, t, c);
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
- I = pe.slice, u = { __e: function(t, e, n, i) {
251
- for (var _, r, c; e = e.__; )
252
- if ((_ = e.__c) && !_.__)
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 ((r = _.constructor) && r.getDerivedStateFromError != null && (_.setState(r.getDerivedStateFromError(t)), c = _.__d), _.componentDidCatch != null && (_.componentDidCatch(t, i || {}), c = _.__d), c)
255
- return _.__E = _;
256
- } catch (l) {
257
- t = l;
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 t;
260
- } }, ue = 0, U.prototype.setState = function(t, e) {
261
- var n;
262
- n = this.__s != null && this.__s !== this.state ? this.__s : this.__s = C({}, this.state), typeof t == "function" && (t = t(C({}, n), this.props)), t && C(n, t), t != null && this.__v && (e && this._sb.push(e), ee(this));
263
- }, U.prototype.forceUpdate = function(t) {
264
- this.__v && (this.__e = !0, t && this.__h.push(t), ee(this));
265
- }, U.prototype.render = z, P = [], de = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, R = function(t, e) {
266
- return t.__v.__b - e.__v.__b;
267
- }, V.__r = 0;
268
- var N, x, W, re, j = 0, ye = [], D = [], ie = u.__b, _e = u.__r, ce = u.diffed, le = u.__c, se = u.unmount;
269
- function X(t, e) {
270
- u.__h && u.__h(x, t, j || e), j = 0;
271
- var n = x.__H || (x.__H = { __: [], __h: [] });
272
- return t >= n.__.length && n.__.push({ __V: D }), n.__[t];
273
- }
274
- function we(t) {
275
- return j = 1, Ue(Se, t);
276
- }
277
- function Ue(t, e, n) {
278
- var i = X(N++, 2);
279
- if (i.t = t, !i.__c && (i.__ = [n ? n(e) : Se(void 0, e), function(l) {
280
- var a = i.__N ? i.__N[0] : i.__[0], g = i.t(a, l);
281
- a !== g && (i.__N = [g, i.__[1]], i.__c.setState({}));
282
- }], i.__c = x, !x.u)) {
283
- var _ = function(l, a, g) {
284
- if (!i.__c.__H)
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 p = i.__c.__H.__.filter(function(h) {
287
- return h.__c;
340
+ var h = r.__c.__H.__.filter(function(f) {
341
+ return f.__c;
288
342
  });
289
- if (p.every(function(h) {
290
- return !h.__N;
343
+ if (h.every(function(f) {
344
+ return !f.__N;
291
345
  }))
292
- return !r || r.call(this, l, a, g);
293
- var o = !1;
294
- return p.forEach(function(h) {
295
- if (h.__N) {
296
- var f = h.__[0];
297
- h.__ = h.__N, h.__N = void 0, f !== h.__[0] && (o = !0);
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
- }), !(!o && i.__c.props === l) && (!r || r.call(this, l, a, g));
353
+ }), !(!n && r.__c.props === c) && (!i || i.call(this, c, d, m));
300
354
  };
301
- x.u = !0;
302
- var r = x.shouldComponentUpdate, c = x.componentWillUpdate;
303
- x.componentWillUpdate = function(l, a, g) {
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 p = r;
306
- r = void 0, _(l, a, g), r = p;
359
+ var h = i;
360
+ i = void 0, l(c, d, m), i = h;
307
361
  }
308
- c && c.call(this, l, a, g);
309
- }, x.shouldComponentUpdate = _;
362
+ s && s.call(this, c, d, m);
363
+ }, w.shouldComponentUpdate = l;
310
364
  }
311
- return i.__N || i.__;
312
- }
313
- function ke(t, e) {
314
- var n = X(N++, 3);
315
- !u.__s && Ve(n.__H, e) && (n.__ = t, n.i = e, x.__H.__h.push(n));
316
- }
317
- function De() {
318
- var t = X(N++, 11);
319
- if (!t.__) {
320
- for (var e = x.__v; e !== null && !e.__m && e.__ !== null; )
321
- e = e.__;
322
- var n = e.__m || (e.__m = [0, 0]);
323
- t.__ = "P" + n[0] + "-" + n[1]++;
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 t.__;
379
+ return e.__;
326
380
  }
327
- function Oe() {
328
- for (var t; t = ye.shift(); )
329
- if (t.__P && t.__H)
381
+ function qe() {
382
+ for (var e; e = ze.shift(); )
383
+ if (e.__P && e.__H)
330
384
  try {
331
- t.__H.__h.forEach(O), t.__H.__h.forEach(q), t.__H.__h = [];
332
- } catch (e) {
333
- t.__H.__h = [], u.__e(e, t.__v);
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
- u.__b = function(t) {
337
- x = null, ie && ie(t);
338
- }, u.__r = function(t) {
339
- _e && _e(t), N = 0;
340
- var e = (x = t.__c).__H;
341
- e && (W === x ? (e.__h = [], x.__h = [], e.__.forEach(function(n) {
342
- n.__N && (n.__ = n.__N), n.__V = D, n.__N = n.i = void 0;
343
- })) : (e.__h.forEach(O), e.__h.forEach(q), e.__h = [], N = 0)), W = x;
344
- }, u.diffed = function(t) {
345
- ce && ce(t);
346
- var e = t.__c;
347
- e && e.__H && (e.__H.__h.length && (ye.push(e) !== 1 && re === u.requestAnimationFrame || ((re = u.requestAnimationFrame) || Fe)(Oe)), e.__H.__.forEach(function(n) {
348
- n.i && (n.__H = n.i), n.__V !== D && (n.__ = n.__V), n.i = void 0, n.__V = D;
349
- })), W = x = null;
350
- }, u.__c = function(t, e) {
351
- e.some(function(n) {
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
- n.__h.forEach(O), n.__h = n.__h.filter(function(i) {
354
- return !i.__ || q(i);
407
+ o.__h.forEach(B), o.__h = o.__h.filter(function(r) {
408
+ return !r.__ || X(r);
355
409
  });
356
- } catch (i) {
357
- e.some(function(_) {
358
- _.__h && (_.__h = []);
359
- }), e = [], u.__e(i, n.__v);
410
+ } catch (r) {
411
+ t.some(function(l) {
412
+ l.__h && (l.__h = []);
413
+ }), t = [], p.__e(r, o.__v);
360
414
  }
361
- }), le && le(t, e);
362
- }, u.unmount = function(t) {
363
- se && se(t);
364
- var e, n = t.__c;
365
- n && n.__H && (n.__H.__.forEach(function(i) {
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
- O(i);
368
- } catch (_) {
369
- e = _;
421
+ B(r);
422
+ } catch (l) {
423
+ t = l;
370
424
  }
371
- }), n.__H = void 0, e && u.__e(e, n.__v));
425
+ }), o.__H = void 0, t && p.__e(t, o.__v));
372
426
  };
373
- var ae = typeof requestAnimationFrame == "function";
374
- function Fe(t) {
375
- var e, n = function() {
376
- clearTimeout(i), ae && cancelAnimationFrame(e), setTimeout(t);
377
- }, i = setTimeout(n, 100);
378
- ae && (e = requestAnimationFrame(n));
379
- }
380
- function O(t) {
381
- var e = x, n = t.__c;
382
- typeof n == "function" && (t.__c = void 0, n()), x = e;
383
- }
384
- function q(t) {
385
- var e = x;
386
- t.__c = t.__(), x = e;
387
- }
388
- function Ve(t, e) {
389
- return !t || t.length !== e.length || e.some(function(n, i) {
390
- return n !== t[i];
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 Se(t, e) {
394
- return typeof e == "function" ? e(t) : e;
447
+ function Me(e, t) {
448
+ return typeof t == "function" ? t(e) : t;
395
449
  }
396
- const Me = `:host{--teal-100: #cee8e9;--teal-600: #107180;--teal-700: #1a5b6e;--color: white;--padding: 30px;--offset: 0px;--outline: white}:host,:host button{font-family:Archivo,sans-serif}.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: 600px){:host{--padding: calc((100% - var(--width)) / 2);--offset: 7px;--width: 540px}}@media (min-width: 768px){:host{--width: 712px}.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){:host{--padding: 10px;--offset: 0px;--width: 840px}.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: 1024px){:host{--width: 940px}}@media (min-width: 1280px){:host{--width: 1180px}.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}}
397
- `;
398
- var Be = 0;
399
- function v(t, e, n, i, _, r) {
400
- var c, l, a = {};
401
- for (l in e)
402
- l == "ref" ? c = e[l] : a[l] = e[l];
403
- var g = { type: t, props: a, key: n, ref: c, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, __h: null, constructor: void 0, __v: --Be, __source: _, __self: r };
404
- if (typeof t == "function" && (c = t.defaultProps))
405
- for (l in c)
406
- a[l] === void 0 && (a[l] = c[l]);
407
- return u.vnode && u.vnode(g), g;
408
- }
409
- const G = (t = 900) => document.body.clientWidth >= t ? "desktop" : "mobile", He = (t = 900) => {
410
- const [e, n] = we(G(t));
411
- return ke(() => {
412
- window.addEventListener("resize", () => n(G(t)));
413
- }, []), e;
414
- }, Ce = ({
415
- autoOpenMode: t,
416
- classes: e = "",
417
- href: n = "",
418
- html: i = "",
419
- items: _,
420
- mode: r,
421
- name: c,
422
- open: l,
423
- parentId: a = "root",
424
- setOpen: g
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 p = De(), o = l[a] == p, h = o || t == r, f = () => g({
427
- ...l,
428
- [a]: o ? null : p
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 (i)
431
- return v("div", {
602
+ if (r)
603
+ return a("div", {
432
604
  dangerouslySetInnerHTML: {
433
- __html: i
605
+ __html: r
434
606
  }
435
607
  });
436
- if (n)
437
- return v("a", {
438
- href: n,
439
- class: `item ${e || ""}`,
440
- children: c
608
+ if (o)
609
+ return a("a", {
610
+ href: o,
611
+ class: `item ${t || ""}`,
612
+ children: s
441
613
  });
442
- if (_)
443
- return v(z, {
444
- children: [c && v("button", {
445
- "aria-expanded": h,
446
- "aria-controls": p,
447
- class: `item ${h ? "expanded" : "collapsed"}`,
448
- onClick: f,
449
- children: c
450
- }), v("ul", {
451
- class: e,
452
- id: p,
453
- hidden: !h,
454
- "aria-hidden": !h,
455
- children: _.map(({
456
- autoOpenMode: s,
457
- classes: d,
458
- href: H,
459
- html: m,
460
- items: b,
461
- name: w
462
- }) => v("li", {
463
- class: d || "",
464
- children: v(Ce, {
465
- autoOpenMode: s,
466
- href: H,
467
- html: m,
468
- items: b,
469
- mode: r,
470
- name: w,
471
- open: l,
472
- parentId: p,
473
- setOpen: g
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
- }, Ee = ({
479
- classes: t,
480
- items: e,
481
- name: n,
482
- target: i
650
+ }, Le = ({
651
+ classes: e,
652
+ items: t,
653
+ name: o,
654
+ target: r
483
655
  }) => {
484
- const _ = He(), [r, c] = we({});
485
- return ke(() => {
486
- document.body.addEventListener("click", (l) => {
487
- l.target != i && G() == "desktop" && c({});
488
- }), i.addEventListener("keydown", ({
489
- key: l
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
- l == "Escape" && c({});
663
+ c == "Escape" && s({});
492
664
  });
493
- }, []), v(z, {
494
- children: [v("nav", {
495
- class: `menu ${t || ""}`,
496
- children: v(Ce, {
665
+ }, []), a(z, {
666
+ children: [a("nav", {
667
+ class: `menu ${e || ""}`,
668
+ children: a($e, {
497
669
  autoOpenMode: "desktop",
498
- items: e,
499
- mode: _,
500
- name: n,
501
- open: r,
502
- setOpen: c
670
+ items: t,
671
+ mode: l,
672
+ name: o,
673
+ open: i,
674
+ setOpen: s
503
675
  })
504
- }), v("style", {
505
- children: Me
676
+ }), a("style", {
677
+ children: V
678
+ }), a("style", {
679
+ children: Ae
506
680
  })]
507
681
  });
508
- }, Ie = ({
509
- items: t
682
+ }, Ke = ({
683
+ items: e
510
684
  }) => {
511
- const e = He(768), n = t.map(({
512
- name: i,
513
- href: _,
514
- items: r
685
+ const t = He(768), o = e.map(({
686
+ name: r,
687
+ href: l,
688
+ items: i
515
689
  }) => {
516
- if (e == "mobile")
517
- for (; !_; )
518
- _ = r[0].href, r = r[0];
519
- return _ ? v("div", {
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: v("h2", {
522
- children: v("a", {
523
- href: _,
524
- children: i
695
+ children: a("h2", {
696
+ children: a("a", {
697
+ href: l,
698
+ children: r
525
699
  })
526
700
  })
527
- }) : v("div", {
701
+ }) : a("div", {
528
702
  class: "column",
529
- children: [v("h2", {
530
- children: i
531
- }), v("ul", {
532
- children: r.map(({
533
- name: c,
534
- href: l
535
- }) => v("li", {
536
- children: v("a", {
537
- href: l,
538
- children: c
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 v(z, {
545
- children: [v("nav", {
718
+ return a(z, {
719
+ children: [a("nav", {
546
720
  class: "footer",
547
- children: v("div", {
721
+ children: a("div", {
548
722
  class: "columns",
549
- children: n
723
+ children: o
550
724
  })
551
- }), v("style", {
552
- children: Me
725
+ }), a("style", {
726
+ children: V
727
+ }), a("style", {
728
+ children: Ae
553
729
  })]
554
730
  });
555
- }, We = [{
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
- }], Re = {
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
- }, je = {
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
- }, Y = (t, e) => {
642
- const n = e.attachShadow({
643
- mode: "open"
644
- });
645
- Te(t, n);
646
- }, qe = ({
647
- items: t,
648
- isLoggedIn: e,
649
- loginUrl: n,
650
- logoutUrl: i,
651
- target: _
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 (e === void 0 && (e = document.cookie.split("; ").includes("SESSaccesscisso=1")), t === void 0) {
654
- const r = {
655
- ...e ? Re : je
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
- r.items = r.items.map((c) => ({
658
- ...c,
659
- href: c.name == "Login" && n || c.name == "Log out" && i || c.href
660
- })), t = [...We, r];
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
- Y(v(Ee, {
888
+ T(a(Le, {
663
889
  classes: "universal",
664
- items: t,
890
+ items: e,
665
891
  name: "ACCESS Menu",
666
- target: _
667
- }), _);
668
- }, Ge = ({
669
- items: t,
670
- siteName: e,
671
- target: n
672
- }) => Y(v(Ee, {
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: t,
675
- name: `${e} Menu`,
676
- target: n
677
- }), n), Qe = ({
678
- items: t,
679
- target: e
680
- }) => Y(v(Ie, {
681
- items: t
682
- }), e);
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
- Qe as footerMenus,
685
- je as loginMenuItem,
686
- Re as myAccessMenuItem,
687
- Ge as siteMenus,
688
- We as universalMenuItems,
689
- qe as universalMenus
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
  };