@uoguelph/web-components 1.9.0-rc.1 → 1.9.0-rc.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/uofg-web-components/{font-awesome-icon-tL6xr2rJ.js → bundle-mjs-BDxvNl4x.js} +743 -733
- package/dist/uofg-web-components/legacy-CiXHZGcB.js +53 -0
- package/dist/uofg-web-components/{slot-dkmGAqBq.js → slot-DDCVqxeF.js} +1 -1
- package/dist/uofg-web-components/uofg-alert.esm.js +30 -30
- package/dist/uofg-web-components/uofg-back-to-top.esm.js +10 -11
- package/dist/uofg-web-components/uofg-footer.esm.js +231 -151
- package/dist/uofg-web-components/uofg-header.esm.js +620 -635
- package/dist/uofg-web-components/uofg-modal.esm.js +38 -39
- package/dist/uofg-web-components/{window-BjFv1LQ0.js → window-B5VNuvDD.js} +1 -1
- package/package.json +1 -1
- package/dist/uofg-web-components/bundle-mjs-BpzLJ4dA.js +0 -17
- package/dist/uofg-web-components/legacy-DIGW2RSh.js +0 -43
|
@@ -1,66 +1,56 @@
|
|
|
1
|
-
var
|
|
1
|
+
var he = Object.defineProperty;
|
|
2
2
|
var Ft = (e) => {
|
|
3
3
|
throw TypeError(e);
|
|
4
4
|
};
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var O = (e, t, a) => (
|
|
8
|
-
import {
|
|
9
|
-
import { a as We } from "./window-
|
|
10
|
-
import { i as
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
)));
|
|
19
|
-
}, Zt), D && (r = dt);
|
|
20
|
-
}
|
|
21
|
-
function Be(e, t, a, r, c, n) {
|
|
22
|
-
let f = D;
|
|
23
|
-
D && Rt();
|
|
24
|
-
var C, h, o = null;
|
|
25
|
-
D && dt.nodeType === 1 && (o = /** @type {Element} */
|
|
26
|
-
dt, Rt());
|
|
27
|
-
var i = (
|
|
5
|
+
var pe = (e, t, a) => t in e ? he(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a;
|
|
6
|
+
var wt = (e, t, a) => pe(e, typeof t != "symbol" ? t + "" : t, a), Mt = (e, t, a) => t.has(e) || Ft("Cannot " + a);
|
|
7
|
+
var O = (e, t, a) => (Mt(e, t, "read from private field"), a ? a.call(e) : t.get(e)), ct = (e, t, a) => t.has(e) ? Ft("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, a), Ct = (e, t, a, l) => (Mt(e, t, "write to private field"), l ? l.call(e, a) : t.set(e, a), a), Pt = (e, t, a) => (Mt(e, t, "access private method"), a);
|
|
8
|
+
import { _ as ge, $ as Dt, a0 as be, a1 as xe, a2 as me, a3 as Lt, H as K, I as Rt, a4 as kt, a5 as Kt, a6 as _e, a7 as ye, a8 as we, a9 as Me, aa as Ce, ab as Ut, ac as zt, ad as Wt, A as Zt, C as gt, ae as ke, af as $e, ag as Se, ah as Le, D as Ne, ai as at, aj as Ae, ak as Bt, al as qt, am as Ee, an as $t, ao as Ve, ap as Ze, u as jt, q as je, c as U, p as Y, a as V, Z as j, b as E, aq as He, d as x, e as tt, h as Z, f as k, j as y, k as W, ar as R, as as T, s as nt, n as it, E as I, at as X, r as m, au as Te, av as Fe, J as q, l as r, K as rt, o as st, L as H, X as lt, t as Nt, F as G, aw as bt, M as xt, ax as Ht, ay as mt, az as _t, aA as Jt, v as et, x as At, y as ut, m as Pe, aB as Re, aC as Ue, i as ze } from "./bundle-mjs-BDxvNl4x.js";
|
|
9
|
+
import { a as We } from "./window-B5VNuvDD.js";
|
|
10
|
+
import { s as It, i as Tt } from "./legacy-CiXHZGcB.js";
|
|
11
|
+
function Be(e, t, a, l, d, n) {
|
|
12
|
+
let f = K;
|
|
13
|
+
K && Rt();
|
|
14
|
+
var C, p, s = null;
|
|
15
|
+
K && kt.nodeType === 1 && (s = /** @type {Element} */
|
|
16
|
+
kt, Rt());
|
|
17
|
+
var v = (
|
|
28
18
|
/** @type {TemplateNode} */
|
|
29
|
-
|
|
30
|
-
),
|
|
31
|
-
|
|
19
|
+
K ? kt : e
|
|
20
|
+
), g;
|
|
21
|
+
ge(() => {
|
|
32
22
|
const u = t() || null;
|
|
33
|
-
var
|
|
34
|
-
u !== C && (
|
|
35
|
-
|
|
36
|
-
}) : u ===
|
|
37
|
-
|
|
23
|
+
var h = u === "svg" ? Kt : null;
|
|
24
|
+
u !== C && (g && (u === null ? _e(g, () => {
|
|
25
|
+
g = null, p = null;
|
|
26
|
+
}) : u === p ? ye(g) : (we(g), Wt(!1))), u && u !== p && (g = be(() => {
|
|
27
|
+
s = K ? (
|
|
38
28
|
/** @type {Element} */
|
|
39
|
-
|
|
40
|
-
) :
|
|
29
|
+
s
|
|
30
|
+
) : h ? document.createElementNS(h, u) : document.createElement(u), xe(s, s);
|
|
41
31
|
{
|
|
42
|
-
|
|
43
|
-
var
|
|
32
|
+
K && Me(u) && s.append(document.createComment(""));
|
|
33
|
+
var c = (
|
|
44
34
|
/** @type {TemplateNode} */
|
|
45
|
-
|
|
35
|
+
K ? Ce(s) : s.appendChild(me())
|
|
46
36
|
);
|
|
47
|
-
|
|
37
|
+
K && (c === null ? Ut(!1) : zt(c)), l(s, c);
|
|
48
38
|
}
|
|
49
|
-
|
|
50
|
-
})), C = u, C && (
|
|
51
|
-
},
|
|
39
|
+
Lt.nodes_end = s, v.before(s);
|
|
40
|
+
})), C = u, C && (p = C), Wt(!0));
|
|
41
|
+
}, Dt), f && (Ut(!0), zt(v));
|
|
52
42
|
}
|
|
53
43
|
function qe(e, t, a) {
|
|
54
|
-
|
|
55
|
-
var
|
|
56
|
-
if (
|
|
44
|
+
Zt(() => {
|
|
45
|
+
var l = gt(() => t(e, a == null ? void 0 : a()) || {});
|
|
46
|
+
if (l != null && l.destroy)
|
|
57
47
|
return () => (
|
|
58
48
|
/** @type {Function} */
|
|
59
|
-
|
|
49
|
+
l.destroy()
|
|
60
50
|
);
|
|
61
51
|
});
|
|
62
52
|
}
|
|
63
|
-
const Ie = () => performance.now(),
|
|
53
|
+
const Ie = () => performance.now(), D = {
|
|
64
54
|
// don't access requestAnimationFrame eagerly outside method
|
|
65
55
|
// this allows basic testing of user code without JSDOM
|
|
66
56
|
// bunder will eval and remove ternary when the user's app is built
|
|
@@ -71,20 +61,20 @@ const Ie = () => performance.now(), K = {
|
|
|
71
61
|
now: () => Ie(),
|
|
72
62
|
tasks: /* @__PURE__ */ new Set()
|
|
73
63
|
};
|
|
74
|
-
function
|
|
75
|
-
const e =
|
|
76
|
-
|
|
77
|
-
t.c(e) || (
|
|
78
|
-
}),
|
|
64
|
+
function Qt() {
|
|
65
|
+
const e = D.now();
|
|
66
|
+
D.tasks.forEach((t) => {
|
|
67
|
+
t.c(e) || (D.tasks.delete(t), t.f());
|
|
68
|
+
}), D.tasks.size !== 0 && D.tick(Qt);
|
|
79
69
|
}
|
|
80
70
|
function Ge(e) {
|
|
81
71
|
let t;
|
|
82
|
-
return
|
|
72
|
+
return D.tasks.size === 0 && D.tick(Qt), {
|
|
83
73
|
promise: new Promise((a) => {
|
|
84
|
-
|
|
74
|
+
D.tasks.add(t = { c: e, f: a });
|
|
85
75
|
}),
|
|
86
76
|
abort() {
|
|
87
|
-
|
|
77
|
+
D.tasks.delete(t);
|
|
88
78
|
}
|
|
89
79
|
};
|
|
90
80
|
}
|
|
@@ -103,72 +93,72 @@ function Oe(e) {
|
|
|
103
93
|
}
|
|
104
94
|
function Gt(e) {
|
|
105
95
|
const t = {}, a = e.split(";");
|
|
106
|
-
for (const
|
|
107
|
-
const [
|
|
108
|
-
if (!
|
|
109
|
-
const f = Oe(
|
|
96
|
+
for (const l of a) {
|
|
97
|
+
const [d, n] = l.split(":");
|
|
98
|
+
if (!d || n === void 0) break;
|
|
99
|
+
const f = Oe(d.trim());
|
|
110
100
|
t[f] = n.trim();
|
|
111
101
|
}
|
|
112
102
|
return t;
|
|
113
103
|
}
|
|
114
104
|
const De = (e) => e;
|
|
115
|
-
function Ke(e, t, a,
|
|
116
|
-
var
|
|
117
|
-
function
|
|
118
|
-
var
|
|
105
|
+
function Ke(e, t, a, l) {
|
|
106
|
+
var d = (e & Ae) !== 0, n = "both", f, C = t.inert, p = t.style.overflow, s, v;
|
|
107
|
+
function g() {
|
|
108
|
+
var _ = Ee, o = Lt;
|
|
119
109
|
Bt(null), qt(null);
|
|
120
110
|
try {
|
|
121
|
-
return f ?? (f = a()(t, (
|
|
111
|
+
return f ?? (f = a()(t, (l == null ? void 0 : l()) ?? /** @type {P} */
|
|
122
112
|
{}, {
|
|
123
113
|
direction: n
|
|
124
114
|
}));
|
|
125
115
|
} finally {
|
|
126
|
-
Bt(
|
|
116
|
+
Bt(_), qt(o);
|
|
127
117
|
}
|
|
128
118
|
}
|
|
129
119
|
var u = {
|
|
130
|
-
is_global:
|
|
120
|
+
is_global: d,
|
|
131
121
|
in() {
|
|
132
|
-
t.inert = C, ft(t, "introstart"),
|
|
133
|
-
ft(t, "introend"),
|
|
122
|
+
t.inert = C, ft(t, "introstart"), s = Et(t, g(), v, 1, () => {
|
|
123
|
+
ft(t, "introend"), s == null || s.abort(), s = f = void 0, t.style.overflow = p;
|
|
134
124
|
});
|
|
135
125
|
},
|
|
136
|
-
out(
|
|
137
|
-
t.inert = !0, ft(t, "outrostart"),
|
|
138
|
-
ft(t, "outroend"),
|
|
126
|
+
out(_) {
|
|
127
|
+
t.inert = !0, ft(t, "outrostart"), v = Et(t, g(), s, 0, () => {
|
|
128
|
+
ft(t, "outroend"), _ == null || _();
|
|
139
129
|
});
|
|
140
130
|
},
|
|
141
131
|
stop: () => {
|
|
142
|
-
|
|
132
|
+
s == null || s.abort(), v == null || v.abort();
|
|
143
133
|
}
|
|
144
|
-
},
|
|
134
|
+
}, h = (
|
|
145
135
|
/** @type {Effect} */
|
|
146
|
-
|
|
136
|
+
Lt
|
|
147
137
|
);
|
|
148
|
-
if ((
|
|
149
|
-
var
|
|
150
|
-
if (!
|
|
151
|
-
for (var
|
|
138
|
+
if ((h.transitions ?? (h.transitions = [])).push(u), ke) {
|
|
139
|
+
var c = d;
|
|
140
|
+
if (!c) {
|
|
141
|
+
for (var i = (
|
|
152
142
|
/** @type {Effect | null} */
|
|
153
|
-
|
|
154
|
-
);
|
|
155
|
-
for (; (
|
|
143
|
+
h.parent
|
|
144
|
+
); i && i.f & Dt; )
|
|
145
|
+
for (; (i = i.parent) && !(i.f & $e); )
|
|
156
146
|
;
|
|
157
|
-
|
|
147
|
+
c = !i || (i.f & Se) !== 0;
|
|
158
148
|
}
|
|
159
|
-
|
|
160
|
-
|
|
149
|
+
c && Zt(() => {
|
|
150
|
+
gt(() => u.in());
|
|
161
151
|
});
|
|
162
152
|
}
|
|
163
153
|
}
|
|
164
|
-
function Et(e, t, a,
|
|
165
|
-
var n =
|
|
166
|
-
if (
|
|
154
|
+
function Et(e, t, a, l, d) {
|
|
155
|
+
var n = l === 1;
|
|
156
|
+
if (Le(t)) {
|
|
167
157
|
var f, C = !1;
|
|
168
158
|
return Ne(() => {
|
|
169
159
|
if (!C) {
|
|
170
|
-
var
|
|
171
|
-
f = Et(e,
|
|
160
|
+
var _ = t({ direction: n ? "in" : "out" });
|
|
161
|
+
f = Et(e, _, a, l, d);
|
|
172
162
|
}
|
|
173
163
|
}), {
|
|
174
164
|
abort: () => {
|
|
@@ -180,111 +170,111 @@ function Et(e, t, a, r, c) {
|
|
|
180
170
|
};
|
|
181
171
|
}
|
|
182
172
|
if (a == null || a.deactivate(), !(t != null && t.duration))
|
|
183
|
-
return
|
|
184
|
-
abort:
|
|
185
|
-
deactivate:
|
|
186
|
-
reset:
|
|
187
|
-
t: () =>
|
|
173
|
+
return d(), {
|
|
174
|
+
abort: at,
|
|
175
|
+
deactivate: at,
|
|
176
|
+
reset: at,
|
|
177
|
+
t: () => l
|
|
188
178
|
};
|
|
189
|
-
const { delay:
|
|
179
|
+
const { delay: p = 0, css: s, tick: v, easing: g = De } = t;
|
|
190
180
|
var u = [];
|
|
191
|
-
if (n && a === void 0 && (
|
|
192
|
-
var
|
|
193
|
-
u.push(
|
|
181
|
+
if (n && a === void 0 && (v && v(0, 1), s)) {
|
|
182
|
+
var h = Gt(s(0, 1));
|
|
183
|
+
u.push(h, h);
|
|
194
184
|
}
|
|
195
|
-
var
|
|
196
|
-
return
|
|
197
|
-
var
|
|
185
|
+
var c = () => 1 - l, i = e.animate(u, { duration: p });
|
|
186
|
+
return i.onfinish = () => {
|
|
187
|
+
var _ = (a == null ? void 0 : a.t()) ?? 1 - l;
|
|
198
188
|
a == null || a.abort();
|
|
199
|
-
var
|
|
189
|
+
var o = l - _, S = (
|
|
200
190
|
/** @type {number} */
|
|
201
|
-
t.duration * Math.abs(
|
|
191
|
+
t.duration * Math.abs(o)
|
|
202
192
|
), b = [];
|
|
203
|
-
if (
|
|
193
|
+
if (S > 0) {
|
|
204
194
|
var M = !1;
|
|
205
|
-
if (
|
|
206
|
-
for (var
|
|
207
|
-
var
|
|
208
|
-
b.push(
|
|
195
|
+
if (s)
|
|
196
|
+
for (var N = Math.ceil(S / 16.666666666666668), L = 0; L <= N; L += 1) {
|
|
197
|
+
var A = _ + o * g(L / N), w = Gt(s(A, 1 - A));
|
|
198
|
+
b.push(w), M || (M = w.overflow === "hidden");
|
|
209
199
|
}
|
|
210
|
-
M && (e.style.overflow = "hidden"),
|
|
200
|
+
M && (e.style.overflow = "hidden"), c = () => {
|
|
211
201
|
var $ = (
|
|
212
202
|
/** @type {number} */
|
|
213
203
|
/** @type {globalThis.Animation} */
|
|
214
|
-
|
|
204
|
+
i.currentTime
|
|
215
205
|
);
|
|
216
|
-
return
|
|
217
|
-
},
|
|
218
|
-
if (
|
|
219
|
-
var $ =
|
|
220
|
-
return
|
|
206
|
+
return _ + o * g($ / S);
|
|
207
|
+
}, v && Ge(() => {
|
|
208
|
+
if (i.playState !== "running") return !1;
|
|
209
|
+
var $ = c();
|
|
210
|
+
return v($, 1 - $), !0;
|
|
221
211
|
});
|
|
222
212
|
}
|
|
223
|
-
|
|
224
|
-
|
|
213
|
+
i = e.animate(b, { duration: S, fill: "forwards" }), i.onfinish = () => {
|
|
214
|
+
c = () => l, v == null || v(l, 1 - l), d();
|
|
225
215
|
};
|
|
226
216
|
}, {
|
|
227
217
|
abort: () => {
|
|
228
|
-
|
|
218
|
+
i && (i.cancel(), i.effect = null, i.onfinish = at);
|
|
229
219
|
},
|
|
230
220
|
deactivate: () => {
|
|
231
|
-
|
|
221
|
+
d = at;
|
|
232
222
|
},
|
|
233
223
|
reset: () => {
|
|
234
|
-
|
|
224
|
+
l === 0 && (v == null || v(1, 0));
|
|
235
225
|
},
|
|
236
|
-
t: () =>
|
|
226
|
+
t: () => c()
|
|
237
227
|
};
|
|
238
228
|
}
|
|
239
|
-
var
|
|
240
|
-
const
|
|
229
|
+
var J, ot, vt, ht, Xt;
|
|
230
|
+
const pt = class pt {
|
|
241
231
|
/** @param {ResizeObserverOptions} options */
|
|
242
232
|
constructor(t) {
|
|
243
|
-
|
|
233
|
+
ct(this, ht);
|
|
244
234
|
/** */
|
|
245
|
-
|
|
235
|
+
ct(this, J, /* @__PURE__ */ new WeakMap());
|
|
246
236
|
/** @type {ResizeObserver | undefined} */
|
|
247
|
-
|
|
237
|
+
ct(this, ot);
|
|
248
238
|
/** @type {ResizeObserverOptions} */
|
|
249
|
-
|
|
250
|
-
|
|
239
|
+
ct(this, vt);
|
|
240
|
+
Ct(this, vt, t);
|
|
251
241
|
}
|
|
252
242
|
/**
|
|
253
243
|
* @param {Element} element
|
|
254
244
|
* @param {(entry: ResizeObserverEntry) => any} listener
|
|
255
245
|
*/
|
|
256
246
|
observe(t, a) {
|
|
257
|
-
var
|
|
258
|
-
return
|
|
259
|
-
var
|
|
260
|
-
|
|
247
|
+
var l = O(this, J).get(t) || /* @__PURE__ */ new Set();
|
|
248
|
+
return l.add(a), O(this, J).set(t, l), Pt(this, ht, Xt).call(this).observe(t, O(this, vt)), () => {
|
|
249
|
+
var d = O(this, J).get(t);
|
|
250
|
+
d.delete(a), d.size === 0 && (O(this, J).delete(t), O(this, ot).unobserve(t));
|
|
261
251
|
};
|
|
262
252
|
}
|
|
263
253
|
};
|
|
264
|
-
|
|
265
|
-
return O(this,
|
|
254
|
+
J = new WeakMap(), ot = new WeakMap(), vt = new WeakMap(), ht = new WeakSet(), Xt = function() {
|
|
255
|
+
return O(this, ot) ?? Ct(this, ot, new ResizeObserver(
|
|
266
256
|
/** @param {any} entries */
|
|
267
257
|
(t) => {
|
|
268
258
|
for (var a of t) {
|
|
269
|
-
|
|
270
|
-
for (var
|
|
271
|
-
|
|
259
|
+
pt.entries.set(a.target, a);
|
|
260
|
+
for (var l of O(this, J).get(a.target) || [])
|
|
261
|
+
l(a);
|
|
272
262
|
}
|
|
273
263
|
}
|
|
274
264
|
));
|
|
275
265
|
}, /** @static */
|
|
276
|
-
|
|
277
|
-
let Vt =
|
|
266
|
+
wt(pt, "entries", /* @__PURE__ */ new WeakMap());
|
|
267
|
+
let Vt = pt;
|
|
278
268
|
var Je = /* @__PURE__ */ new Vt({
|
|
279
269
|
box: "border-box"
|
|
280
270
|
});
|
|
281
|
-
function
|
|
282
|
-
var
|
|
283
|
-
|
|
271
|
+
function dt(e, t, a) {
|
|
272
|
+
var l = Je.observe(e, () => a(e[t]));
|
|
273
|
+
Zt(() => (gt(() => a(e[t])), l));
|
|
284
274
|
}
|
|
285
275
|
function Qe(e) {
|
|
286
|
-
|
|
287
|
-
const t =
|
|
276
|
+
$t === null && Ve(), Ze && $t.l !== null ? Xe($t).m.push(e) : jt(() => {
|
|
277
|
+
const t = gt(e);
|
|
288
278
|
if (typeof t == "function") return (
|
|
289
279
|
/** @type {() => void} */
|
|
290
280
|
t
|
|
@@ -302,32 +292,32 @@ function Ye(e) {
|
|
|
302
292
|
const t = e - 1;
|
|
303
293
|
return t * t * t + 1;
|
|
304
294
|
}
|
|
305
|
-
function Ot(e, { delay: t = 0, duration: a = 400, easing:
|
|
306
|
-
const n = getComputedStyle(e), f = +n.opacity, C =
|
|
307
|
-
(
|
|
295
|
+
function Ot(e, { delay: t = 0, duration: a = 400, easing: l = Ye, axis: d = "y" } = {}) {
|
|
296
|
+
const n = getComputedStyle(e), f = +n.opacity, C = d === "y" ? "height" : "width", p = parseFloat(n[C]), s = d === "y" ? ["top", "bottom"] : ["left", "right"], v = s.map(
|
|
297
|
+
(o) => (
|
|
308
298
|
/** @type {'Left' | 'Right' | 'Top' | 'Bottom'} */
|
|
309
|
-
`${
|
|
299
|
+
`${o[0].toUpperCase()}${o.slice(1)}`
|
|
310
300
|
)
|
|
311
|
-
),
|
|
312
|
-
n[`border${
|
|
313
|
-
),
|
|
314
|
-
n[`border${
|
|
301
|
+
), g = parseFloat(n[`padding${v[0]}`]), u = parseFloat(n[`padding${v[1]}`]), h = parseFloat(n[`margin${v[0]}`]), c = parseFloat(n[`margin${v[1]}`]), i = parseFloat(
|
|
302
|
+
n[`border${v[0]}Width`]
|
|
303
|
+
), _ = parseFloat(
|
|
304
|
+
n[`border${v[1]}Width`]
|
|
315
305
|
);
|
|
316
306
|
return {
|
|
317
307
|
delay: t,
|
|
318
308
|
duration: a,
|
|
319
|
-
easing:
|
|
320
|
-
css: (
|
|
309
|
+
easing: l,
|
|
310
|
+
css: (o) => `overflow: hidden;opacity: ${Math.min(o * 20, 1) * f};${C}: ${o * p}px;padding-${s[0]}: ${o * g}px;padding-${s[1]}: ${o * u}px;margin-${s[0]}: ${o * h}px;margin-${s[1]}: ${o * c}px;border-${s[0]}-width: ${o * i}px;border-${s[1]}-width: ${o * _}px;min-${C}: 0`
|
|
321
311
|
};
|
|
322
312
|
}
|
|
323
313
|
function ta(e) {
|
|
324
314
|
return e < 0.5 ? 4 * e * e * e : 0.5 * Math.pow(2 * e - 2, 3) + 1;
|
|
325
315
|
}
|
|
326
|
-
const
|
|
327
|
-
const t = function(
|
|
328
|
-
e.contains(
|
|
329
|
-
}, a = function(
|
|
330
|
-
e.contains(
|
|
316
|
+
const St = (e) => {
|
|
317
|
+
const t = function(l) {
|
|
318
|
+
e.contains(l.relatedTarget) || e.dispatchEvent(new CustomEvent("focusoutside", { bubbles: !1 }));
|
|
319
|
+
}, a = function(l) {
|
|
320
|
+
e.contains(l.relatedTarget) || e.dispatchEvent(new CustomEvent("focusinside", { bubbles: !1 }));
|
|
331
321
|
};
|
|
332
322
|
return e.addEventListener("focusin", a), e.addEventListener("focusout", t), {
|
|
333
323
|
destroy() {
|
|
@@ -338,107 +328,107 @@ const $t = (e) => {
|
|
|
338
328
|
var ea = (e, t) => {
|
|
339
329
|
t(!t()), e.target.focus();
|
|
340
330
|
}, aa = k('<div tabindex="-1"><button aria-haspopup="true"><!></button> <!></div>');
|
|
341
|
-
function
|
|
331
|
+
function Q(e, t) {
|
|
342
332
|
Y(t, !0);
|
|
343
|
-
let a = V(t, "class", 7),
|
|
344
|
-
var u = aa(),
|
|
345
|
-
|
|
346
|
-
var
|
|
347
|
-
It(
|
|
348
|
-
var
|
|
333
|
+
let a = V(t, "class", 7), l = V(t, "buttonClass", 7, ""), d = V(t, "contentClass", 7, ""), n = V(t, "open", 15, !1), f = V(t, "as", 7, "div"), C = V(t, "transition", 7, Ot), p = V(t, "autoCollapse", 7, !0), s = V(t, "label", 7), v = V(t, "button", 7), g = V(t, "children", 7);
|
|
334
|
+
var u = aa(), h = y(u);
|
|
335
|
+
h.__click = [ea, n];
|
|
336
|
+
var c = y(h);
|
|
337
|
+
It(c, () => v() ?? at), m(h);
|
|
338
|
+
var i = W(h, 2);
|
|
349
339
|
{
|
|
350
|
-
var
|
|
351
|
-
var
|
|
352
|
-
Be(b,
|
|
353
|
-
let
|
|
354
|
-
E(() =>
|
|
355
|
-
var
|
|
356
|
-
It(
|
|
357
|
-
}),
|
|
340
|
+
var _ = (o) => {
|
|
341
|
+
var S = R(), b = T(S);
|
|
342
|
+
Be(b, f, !1, (M, N) => {
|
|
343
|
+
let L;
|
|
344
|
+
E(() => L = X(M, L, { class: d() }, void 0, M.namespaceURI === Kt, M.nodeName.includes("-"))), Ke(3, M, C, () => ({ duration: 200, easing: ta }));
|
|
345
|
+
var A = R(), w = T(A);
|
|
346
|
+
It(w, () => g() ?? at), x(N, A);
|
|
347
|
+
}), x(o, S);
|
|
358
348
|
};
|
|
359
|
-
j(
|
|
360
|
-
|
|
349
|
+
j(i, (o) => {
|
|
350
|
+
n() && o(_);
|
|
361
351
|
});
|
|
362
352
|
}
|
|
363
|
-
return m(u), qe(u, (
|
|
364
|
-
|
|
365
|
-
}),
|
|
366
|
-
|
|
367
|
-
}),
|
|
353
|
+
return m(u), qe(u, (o) => St == null ? void 0 : St(o)), E(() => {
|
|
354
|
+
nt(u, it(a())), I(u, "data-expanded", n()), nt(h, it(l())), I(h, "aria-expanded", n()), I(h, "aria-label", s());
|
|
355
|
+
}), He("focusoutside", u, () => {
|
|
356
|
+
p() && n(!1);
|
|
357
|
+
}), x(e, u), tt({
|
|
368
358
|
get class() {
|
|
369
359
|
return a();
|
|
370
360
|
},
|
|
371
|
-
set class(
|
|
372
|
-
a(
|
|
361
|
+
set class(o) {
|
|
362
|
+
a(o), Z();
|
|
373
363
|
},
|
|
374
|
-
get
|
|
375
|
-
return
|
|
364
|
+
get buttonClass() {
|
|
365
|
+
return l();
|
|
376
366
|
},
|
|
377
|
-
set
|
|
378
|
-
|
|
367
|
+
set buttonClass(o = "") {
|
|
368
|
+
l(o), Z();
|
|
379
369
|
},
|
|
380
|
-
get
|
|
381
|
-
return
|
|
370
|
+
get contentClass() {
|
|
371
|
+
return d();
|
|
382
372
|
},
|
|
383
|
-
set
|
|
384
|
-
|
|
373
|
+
set contentClass(o = "") {
|
|
374
|
+
d(o), Z();
|
|
385
375
|
},
|
|
386
|
-
get
|
|
376
|
+
get open() {
|
|
387
377
|
return n();
|
|
388
378
|
},
|
|
389
|
-
set
|
|
390
|
-
n(
|
|
379
|
+
set open(o = !1) {
|
|
380
|
+
n(o), Z();
|
|
391
381
|
},
|
|
392
|
-
get
|
|
382
|
+
get as() {
|
|
393
383
|
return f();
|
|
394
384
|
},
|
|
395
|
-
set
|
|
396
|
-
f(
|
|
385
|
+
set as(o = "div") {
|
|
386
|
+
f(o), Z();
|
|
397
387
|
},
|
|
398
|
-
get
|
|
388
|
+
get transition() {
|
|
399
389
|
return C();
|
|
400
390
|
},
|
|
401
|
-
set
|
|
402
|
-
C(
|
|
391
|
+
set transition(o = Ot) {
|
|
392
|
+
C(o), Z();
|
|
403
393
|
},
|
|
404
394
|
get autoCollapse() {
|
|
405
|
-
return
|
|
395
|
+
return p();
|
|
406
396
|
},
|
|
407
|
-
set autoCollapse(
|
|
408
|
-
|
|
397
|
+
set autoCollapse(o = !0) {
|
|
398
|
+
p(o), Z();
|
|
409
399
|
},
|
|
410
|
-
get
|
|
411
|
-
return
|
|
400
|
+
get label() {
|
|
401
|
+
return s();
|
|
412
402
|
},
|
|
413
|
-
set
|
|
414
|
-
o
|
|
403
|
+
set label(o) {
|
|
404
|
+
s(o), Z();
|
|
415
405
|
},
|
|
416
406
|
get button() {
|
|
417
|
-
return
|
|
407
|
+
return v();
|
|
418
408
|
},
|
|
419
|
-
set button(
|
|
420
|
-
|
|
409
|
+
set button(o) {
|
|
410
|
+
v(o), Z();
|
|
421
411
|
},
|
|
422
412
|
get children() {
|
|
423
|
-
return
|
|
413
|
+
return g();
|
|
424
414
|
},
|
|
425
|
-
set children(
|
|
426
|
-
|
|
415
|
+
set children(o) {
|
|
416
|
+
g(o), Z();
|
|
427
417
|
}
|
|
428
418
|
});
|
|
429
419
|
}
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
420
|
+
je(["click"]);
|
|
421
|
+
U(
|
|
422
|
+
Q,
|
|
433
423
|
{
|
|
434
424
|
class: {},
|
|
425
|
+
buttonClass: {},
|
|
426
|
+
contentClass: {},
|
|
435
427
|
open: {},
|
|
436
428
|
as: {},
|
|
437
429
|
transition: {},
|
|
438
|
-
buttonClass: {},
|
|
439
|
-
contentClass: {},
|
|
440
430
|
autoCollapse: {},
|
|
441
|
-
|
|
431
|
+
label: {},
|
|
442
432
|
button: {},
|
|
443
433
|
children: {}
|
|
444
434
|
},
|
|
@@ -446,7 +436,7 @@ R(
|
|
|
446
436
|
[],
|
|
447
437
|
!0
|
|
448
438
|
);
|
|
449
|
-
const
|
|
439
|
+
const Yt = [
|
|
450
440
|
{
|
|
451
441
|
text: "About",
|
|
452
442
|
href: "https://uoguelph.ca/about"
|
|
@@ -470,10 +460,10 @@ const re = [
|
|
|
470
460
|
{
|
|
471
461
|
text: "Search the University of Guelph",
|
|
472
462
|
href: "https://uoguelph.ca/search",
|
|
473
|
-
icon:
|
|
463
|
+
icon: Te,
|
|
474
464
|
excludeFromMainMenu: !0
|
|
475
465
|
}
|
|
476
|
-
],
|
|
466
|
+
], te = [
|
|
477
467
|
{
|
|
478
468
|
text: "Give",
|
|
479
469
|
href: "https://bbis.alumni.uoguelph.ca/BBIS_Cannon/give/uofg"
|
|
@@ -536,90 +526,90 @@ const re = [
|
|
|
536
526
|
href: "https://gryphlife.uoguelph.ca/"
|
|
537
527
|
}
|
|
538
528
|
],
|
|
539
|
-
icon:
|
|
529
|
+
icon: Fe,
|
|
540
530
|
excludeFromMainMenu: !0
|
|
541
531
|
}
|
|
542
532
|
];
|
|
543
533
|
var ra = k("<span> </span> <!>", 1), sa = k('<span class="flex items-center gap-2 [&>svg]:transition-transform"><!></span>'), la = k("<li><a> </a></li>"), oa = k("<a> </a>"), na = k("<li><!></li>"), ia = k('<nav class="flex h-10 justify-end bg-white px-[calc((100%-1320px)/2)] text-lg" aria-label="Secondary"><ul class="flex h-full items-center justify-end [&>li]:contents"></ul></nav>');
|
|
544
|
-
function
|
|
545
|
-
Y(t, !1),
|
|
546
|
-
var a = ia(),
|
|
547
|
-
|
|
548
|
-
var f = na(), C =
|
|
534
|
+
function ee(e, t) {
|
|
535
|
+
Y(t, !1), Tt();
|
|
536
|
+
var a = ia(), l = y(a);
|
|
537
|
+
q(l, 5, () => te, (d) => d.text || d.title, (d, n) => {
|
|
538
|
+
var f = na(), C = y(f);
|
|
549
539
|
{
|
|
550
|
-
var
|
|
551
|
-
var
|
|
552
|
-
|
|
540
|
+
var p = (v) => {
|
|
541
|
+
var g = lt(() => st("flex h-full items-center justify-center gap-2 px-2 transition-colors hover:bg-grey-muted aria-expanded:bg-grey-muted hover:text-grey-muted-contrast aria-expanded:text-grey-muted-contrast", r(n).icon && "[&_svg]:aria-expanded:rotate-180)} aspect-square")), u = lt(() => r(n).icon ? r(n).text : void 0);
|
|
542
|
+
Q(v, {
|
|
553
543
|
class: "relative h-full",
|
|
554
544
|
get buttonClass() {
|
|
555
|
-
return
|
|
545
|
+
return r(g);
|
|
556
546
|
},
|
|
557
|
-
contentClass: "absolute right-0 top-full z-50 flex min-w-[20rem] flex-col bg-
|
|
547
|
+
contentClass: "absolute right-0 top-full z-50 flex min-w-[20rem] flex-col bg-grey-muted text-grey-muted-contrast [&>li]:contents",
|
|
558
548
|
as: "ul",
|
|
559
|
-
get
|
|
560
|
-
return
|
|
549
|
+
get label() {
|
|
550
|
+
return r(u);
|
|
561
551
|
},
|
|
562
|
-
button: (
|
|
563
|
-
var
|
|
552
|
+
button: (c) => {
|
|
553
|
+
var i = sa(), _ = y(i);
|
|
564
554
|
{
|
|
565
|
-
var
|
|
555
|
+
var o = (b) => {
|
|
566
556
|
G(b, {
|
|
567
557
|
get icon() {
|
|
568
|
-
return
|
|
558
|
+
return r(n).icon;
|
|
569
559
|
}
|
|
570
560
|
});
|
|
571
|
-
},
|
|
572
|
-
var M = ra(),
|
|
573
|
-
m(
|
|
574
|
-
var
|
|
575
|
-
G(
|
|
561
|
+
}, S = (b) => {
|
|
562
|
+
var M = ra(), N = T(M), L = y(N, !0);
|
|
563
|
+
m(N);
|
|
564
|
+
var A = W(N, 2);
|
|
565
|
+
G(A, { icon: bt }), E(() => H(L, r(n).text)), x(b, M);
|
|
576
566
|
};
|
|
577
|
-
j(
|
|
578
|
-
|
|
567
|
+
j(_, (b) => {
|
|
568
|
+
r(n).icon ? b(o) : b(S, !1);
|
|
579
569
|
});
|
|
580
570
|
}
|
|
581
|
-
m(
|
|
571
|
+
m(i), E(() => Nt(i, "bg-yellow", r(n).highlight)), x(c, i);
|
|
582
572
|
},
|
|
583
|
-
children: (
|
|
584
|
-
var
|
|
585
|
-
|
|
586
|
-
var M = la(),
|
|
587
|
-
let
|
|
588
|
-
var
|
|
589
|
-
m(
|
|
590
|
-
|
|
591
|
-
class: st("border-0 border-b border-solid border-
|
|
592
|
-
href:
|
|
593
|
-
...
|
|
594
|
-
}), H(
|
|
595
|
-
}),
|
|
596
|
-
}),
|
|
573
|
+
children: (c, i) => {
|
|
574
|
+
var _ = R(), o = T(_);
|
|
575
|
+
q(o, 1, () => r(n).links, rt, (S, b) => {
|
|
576
|
+
var M = la(), N = y(M);
|
|
577
|
+
let L;
|
|
578
|
+
var A = y(N, !0);
|
|
579
|
+
m(N), m(M), E(() => {
|
|
580
|
+
L = X(N, L, {
|
|
581
|
+
class: st("border-0 border-b border-solid border-grey/50 p-2 transition-colors hover:bg-yellow hover:text-yellow-contrast", r(n).highlight && "bg-yellow text-yellow-contrast"),
|
|
582
|
+
href: r(b).href,
|
|
583
|
+
...r(b).attributes
|
|
584
|
+
}), H(A, r(b).text);
|
|
585
|
+
}), x(S, M);
|
|
586
|
+
}), x(c, _);
|
|
597
587
|
},
|
|
598
588
|
$$slots: { button: !0, default: !0 }
|
|
599
589
|
});
|
|
600
|
-
},
|
|
601
|
-
var
|
|
602
|
-
const u =
|
|
603
|
-
var
|
|
604
|
-
m(
|
|
605
|
-
|
|
606
|
-
}),
|
|
590
|
+
}, s = (v) => {
|
|
591
|
+
var g = oa();
|
|
592
|
+
const u = lt(() => it(st("flex h-full items-center justify-center gap-2 px-2 transition-colors hover:bg-grey-muted hover:text-grey-muted-contrast", r(n).highlight && "bg-yellow text-yellow-contrast")));
|
|
593
|
+
var h = y(g, !0);
|
|
594
|
+
m(g), E(() => {
|
|
595
|
+
nt(g, r(u)), I(g, "href", r(n).href), H(h, r(n).text);
|
|
596
|
+
}), x(v, g);
|
|
607
597
|
};
|
|
608
|
-
j(C, (
|
|
609
|
-
|
|
598
|
+
j(C, (v) => {
|
|
599
|
+
r(n).links ? v(p) : v(s, !1);
|
|
610
600
|
});
|
|
611
601
|
}
|
|
612
|
-
m(f),
|
|
613
|
-
}), m(
|
|
602
|
+
m(f), x(d, f);
|
|
603
|
+
}), m(l), m(a), x(e, a), tt();
|
|
614
604
|
}
|
|
615
|
-
|
|
616
|
-
var ca =
|
|
617
|
-
function
|
|
605
|
+
U(ee, {}, [], [], !0);
|
|
606
|
+
var ca = xt('<svg viewBox="0 0 68 90" xmlns="http://www.w3.org/2000/svg"><path d="M23.131 0l44.847 90H0V0" fill="#e51937"></path><path d="M23.131 0l16.03 32.044L55.1 0" fill="#ffc429"></path></svg>');
|
|
607
|
+
function ae(e) {
|
|
618
608
|
var t = ca();
|
|
619
|
-
|
|
609
|
+
x(e, t);
|
|
620
610
|
}
|
|
621
|
-
|
|
622
|
-
var ua =
|
|
611
|
+
U(ae, {}, [], [], !0);
|
|
612
|
+
var ua = xt(`<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 346.8 436.84"><defs><style>.cls-1 {
|
|
623
613
|
fill: #fff;
|
|
624
614
|
font-family: MyriadPro-Regular, 'Myriad Pro';
|
|
625
615
|
font-size: 44.28px;
|
|
@@ -628,12 +618,12 @@ var ua = _t(`<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000
|
|
|
628
618
|
.cls-2 {
|
|
629
619
|
fill: #e51937;
|
|
630
620
|
}</style></defs><g><rect x="83.14" y="42.23" width="180.66" height="352.2"></rect><path class="cls-2" d="M262.3,43.73v349.2H84.64V43.73h177.66M265.3,40.73H81.64v355.2h183.66V40.73h0Z"></path></g><text class="cls-1" transform="translate(112.91 242.36)"><tspan x="0" y="0">CREST</tspan></text></svg>`);
|
|
631
|
-
function
|
|
621
|
+
function re(e) {
|
|
632
622
|
var t = ua();
|
|
633
|
-
|
|
623
|
+
x(e, t);
|
|
634
624
|
}
|
|
635
|
-
|
|
636
|
-
var va =
|
|
625
|
+
U(re, {}, [], [], !0);
|
|
626
|
+
var va = xt(`<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1345.57 436.77"><defs><style>.cls-1 {
|
|
637
627
|
fill: #fff;
|
|
638
628
|
font-family: MyriadPro-Regular, 'Myriad Pro';
|
|
639
629
|
font-size: 44.28px;
|
|
@@ -646,310 +636,305 @@ var va = _t(`<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000
|
|
|
646
636
|
.cls-3 {
|
|
647
637
|
letter-spacing: 0em;
|
|
648
638
|
}</style></defs><g><rect x="312.71" y="84.14" width="949.67" height="273.47"></rect><path class="cls-2" d="M1260.88,85.64v270.47H314.21V85.64h946.67M1263.88,82.64H311.21v276.47h952.67V82.64h0Z"></path></g><g><rect x="83.41" y="42.34" width="180.66" height="352.2"></rect><path class="cls-2" d="M262.57,43.84v349.2H84.91V43.84h177.66M265.57,40.84H81.91v355.2h183.66V40.84h0Z"></path></g><text class="cls-1" transform="translate(660.72 229.89)"><tspan x="0" y="0">WORD</tspan><tspan class="cls-3" x="121.29" y="0">M</tspan><tspan x="156.46" y="0">ARK</tspan></text><text class="cls-1" transform="translate(111.72 238.89)"><tspan x="0" y="0">CREST</tspan></text></svg>`);
|
|
649
|
-
function
|
|
639
|
+
function se(e) {
|
|
650
640
|
var t = va();
|
|
651
|
-
|
|
641
|
+
x(e, t);
|
|
652
642
|
}
|
|
653
|
-
|
|
654
|
-
var fa = k('<div class="left-0 h-full w-[7.5rem] min-[1320px]:absolute [&>svg]:block [&>svg]:h-full [&>svg]:w-auto"><!></div>'),
|
|
655
|
-
function
|
|
656
|
-
Y(t, !
|
|
657
|
-
const [a,
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
var C = ha(), h = w(C);
|
|
643
|
+
U(se, {}, [], [], !0);
|
|
644
|
+
var fa = k('<div class="left-0 h-full w-[7.5rem] min-[1320px]:absolute [&>svg]:block [&>svg]:h-full [&>svg]:w-auto"><!></div>'), da = k('<div class="flex w-fit"><!> <a href="https://www.uoguelph.ca" aria-label="University of Guelph Home Page"><!></a></div>');
|
|
645
|
+
function le(e, t) {
|
|
646
|
+
Y(t, !1);
|
|
647
|
+
const [a, l] = mt(), d = () => _t(n, "$headerState", a), n = Ht("header-state");
|
|
648
|
+
Tt();
|
|
649
|
+
var f = da(), C = y(f);
|
|
661
650
|
{
|
|
662
|
-
var
|
|
663
|
-
var
|
|
664
|
-
|
|
651
|
+
var p = (c) => {
|
|
652
|
+
var i = fa(), _ = y(i);
|
|
653
|
+
ae(_), m(i), x(c, i);
|
|
665
654
|
};
|
|
666
|
-
j(
|
|
667
|
-
var
|
|
668
|
-
((
|
|
655
|
+
j(C, (c) => {
|
|
656
|
+
var i;
|
|
657
|
+
((i = d()) == null ? void 0 : i.mode) === "desktop" && c(p);
|
|
669
658
|
});
|
|
670
659
|
}
|
|
671
|
-
var
|
|
672
|
-
const
|
|
673
|
-
var
|
|
674
|
-
return
|
|
660
|
+
var s = W(C, 2);
|
|
661
|
+
const v = lt(() => {
|
|
662
|
+
var c, i;
|
|
663
|
+
return it(st("flex items-center h-full w-fit transition-opacity focus:opacity-75 hover:opacity-75 min-[1320px]:absolute min-[1320px]:left-[max(calc((100%-1320px)/2),7.5rem)] [&>svg]:block [&>svg]:w-auto", ((c = d()) == null ? void 0 : c.mode) === "desktop" ? "[&>svg]:h-22" : ((i = d()) == null ? void 0 : i.variant) === "dual-brand" ? "[&>svg]:h-[7.5rem] px-2" : "[&>svg]:h-[5rem]"));
|
|
675
664
|
});
|
|
676
|
-
var
|
|
665
|
+
var g = y(s);
|
|
677
666
|
{
|
|
678
|
-
var
|
|
679
|
-
|
|
680
|
-
},
|
|
681
|
-
|
|
667
|
+
var u = (c) => {
|
|
668
|
+
se(c);
|
|
669
|
+
}, h = (c) => {
|
|
670
|
+
re(c);
|
|
682
671
|
};
|
|
683
|
-
j(
|
|
684
|
-
var
|
|
685
|
-
((
|
|
672
|
+
j(g, (c) => {
|
|
673
|
+
var i;
|
|
674
|
+
((i = d()) == null ? void 0 : i.mode) === "desktop" ? c(u) : c(h, !1);
|
|
686
675
|
});
|
|
687
676
|
}
|
|
688
|
-
m(
|
|
689
|
-
var g = tt({
|
|
690
|
-
get variant() {
|
|
691
|
-
return n();
|
|
692
|
-
},
|
|
693
|
-
set variant(v) {
|
|
694
|
-
n(v), Z();
|
|
695
|
-
}
|
|
696
|
-
});
|
|
697
|
-
return r(), g;
|
|
677
|
+
m(s), m(f), E(() => nt(s, r(v))), x(e, f), tt(), l();
|
|
698
678
|
}
|
|
699
|
-
|
|
700
|
-
var
|
|
701
|
-
function
|
|
702
|
-
var t =
|
|
703
|
-
|
|
679
|
+
U(le, {}, [], [], !0);
|
|
680
|
+
var ha = xt('<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" style="height:100%" viewBox="0 0 266.13 110.89"><defs><style>.cls-1,.cls-2{fill:#fff;}.cls-2{stroke:#fff;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;}</style></defs><path class="cls-1" d="M411.7,171.24v7.91c0,2.7.79,4.18,3,4.18s3-1.8,3-4v-8.07h2.48v8.56c0,3.49-2.25,5.46-5.52,5.46-3.74,0-5.69-1.84-5.69-5.6v-8.42Z" transform="translate(-365.74 -171)"></path><path class="cls-1" d="M435.78,185h-2c-2.64-3.17-5.27-6.32-7.87-9.89h0V185h-2.23V171.24h2c2.64,3.15,5.26,6.28,7.86,9.82h0v-9.82h2.22V185Z" transform="translate(-365.74 -171)"></path><polygon class="cls-1" points="73.7 14.02 73.7 0.24 76.48 0.24 76.48 14.02 73.7 14.02 73.7 14.02"></polygon><path class="cls-1" d="M449.41,185l-5.12-13.59,2.95-.39c1.22,3.5,2.42,7,3.62,11h0c1.26-4,2.54-7.49,3.82-11l2.39.39L451.67,185Z" transform="translate(-365.74 -171)"></path><polygon class="cls-1" points="100.87 2.09 96.25 2.09 96.25 5.87 100.78 5.87 100.78 7.72 96.25 7.72 96.25 12.17 101.72 12.17 101.72 14.02 93.47 14.02 93.47 0.24 100.87 0.24 100.87 2.09 100.87 2.09"></polygon><path class="cls-1" d="M473.05,173.09h1.44a2,2,0,0,1,2.21,2.08,2.39,2.39,0,0,1-2.52,2.49h-1.13v-4.57ZM470.28,185h2.77v-5.51h1.66l2.8,5.75,2.91-.54-3.27-5.88a4.35,4.35,0,0,0,2.32-4c0-2.34-1.77-3.6-4.41-3.6h-4.78V185Z" transform="translate(-365.74 -171)"></path><path class="cls-1" d="M489.56,173.64a4.12,4.12,0,0,0-2.23-.79c-1.16,0-1.79.65-1.79,1.46s1,1.59,2.58,2.87c1.85,1.48,2.83,2.64,2.83,4.33s-1.65,3.75-4.76,3.75a6.19,6.19,0,0,1-4.06-1.38l1-1.58a4.57,4.57,0,0,0,2.81,1.1,1.92,1.92,0,0,0,2.15-1.91c0-1.51-1.85-2.52-3-3.38-1.33-1.08-2.46-1.93-2.46-3.76s1.87-3.35,4.37-3.35a5.13,5.13,0,0,1,3.49,1.2l-1,1.44Z" transform="translate(-365.74 -171)"></path><polygon class="cls-1" points="128.3 14.02 128.3 0.24 131.08 0.24 131.08 14.02 128.3 14.02 128.3 14.02"></polygon><polygon class="cls-1" points="137.56 14.02 137.56 2.09 133.3 2.09 133.3 0.24 144.59 0.24 144.59 2.09 140.33 2.09 140.33 14.02 137.56 14.02 137.56 14.02"></polygon><path class="cls-1" d="M515.59,185v-5.77l-4.24-7.82,3.11-.39c1,2,1.91,4,2.88,6.36,1.06-2.38,2.14-4.37,3.21-6.36l2.28.39-4.47,7.82V185Z" transform="translate(-365.74 -171)"></path><path class="cls-1" d="M537.52,183.29c-2.89,0-3.92-2.72-3.92-5.36s1.16-5,3.92-5,3.92,2.42,3.92,5-1,5.36-3.92,5.36Zm0,2c4.23,0,6.87-3.21,6.87-7.33a6.87,6.87,0,1,0-13.74,0c0,4.12,2.64,7.33,6.87,7.33Z" transform="translate(-365.74 -171)"></path><polygon class="cls-1" points="188.95 2.09 184.34 2.09 184.34 6.62 188.87 6.62 188.87 8.47 184.34 8.47 184.34 14.02 181.56 14.02 181.56 0.24 188.95 0.24 188.95 2.09 188.95 2.09"></polygon><path class="cls-1" d="M451,280.31c-3-.43-3-1.21-3-7.24v-21.9c0-6,0-6.81,3-7.24l1.31-.17v-1.41h-16.2v1.41l1.38.17c2.89.43,2.89,1.21,2.89,7.24V260H422.08v-8.87c0-6,0-6.75,2.9-7.18l1.37-.17v-1.41h-16.2v1.41l1.38.17c2.89.43,2.89,1.21,2.89,7.24v22c0,6,0,6.75-2.9,7.18l-1.37.17v1.41h16.2v-1.41l-1.37-.17c-2.9-.43-2.9-1.2-2.9-7.18V262.52h18.33v10.55c0,6,0,6.81-2.89,7.24l-1.38.17v1.41h16.2v-1.41l-1.31-.17Z" transform="translate(-365.74 -171)"></path><path class="cls-1" d="M494.24,273.13l1.26-.24c1.41-.29,2.09-.63,2.33-3.93l1.65-26.61a10.55,10.55,0,0,1,2.43-.29l13,24.28,12.13-24a8.42,8.42,0,0,1,2.43-.29l1.46,26.46c.19,3.69.82,4.13,2.33,4.37l1.45.24v1.27H521v-1.27l1.6-.24c2.19-.39,2.58-.58,2.48-3.79l-.63-16.7h-.1l-10.14,21.51a8.88,8.88,0,0,1-1.85.49l-11-22h-.1l-.58,16.7c-.14,3.21.3,3.36,2.47,3.79l1.61.24v1.27H494.24v-1.27Z" transform="translate(-365.74 -171)"></path><path class="cls-1" d="M549.56,244.54a8.41,8.41,0,0,1,2.47-.34c3.74,0,6.31,2.28,6.31,6,0,5.24-3.29,6.26-7,6.26h-1.8V244.54ZM539.8,274.4h12.62c7.24,0,13.79-2,13.79-9.13,0-6-5.19-7.91-8.2-8.35v-.1c2.57-.78,6.65-2.57,6.65-7.76,0-6.71-8.06-6.71-10.39-6.71H539.8v1.27l1.16.14c2.29.44,2.29.3,2.29,5.69v17.76c0,5.49,0,5.29-2.29,5.78l-1.16.14v1.27Zm9.76-16.07h2.09c5.87,0,8.25,3.79,8.25,7.62s-1.94,6.6-6.41,6.6a11,11,0,0,1-3.93-.78V258.33Z" transform="translate(-365.74 -171)"></path><path class="cls-1" d="M571,273.13l1.16-.14c2.29-.44,2.29-.29,2.29-5.78V249.54c0-5.48,0-5.25-2.29-5.78l-1.16-.14v-1.27h22.38a36,36,0,0,1,.58,7.87l-1.75.24c-1.26-6.17-2.86-6.26-8-6.26h-3.5v12.48h3.3c4.32,0,5-.05,5.29-2.09l.25-1.7h1.25v9.66h-1.25l-.25-1.55c-.34-2.14-1.06-2.14-5.09-2.14h-3.5v13a20.88,20.88,0,0,0,4.9.73c7.28,0,7.82-3.74,8.79-7.38l1.74.34a34.28,34.28,0,0,1-1.6,8.89H571v-1.27Z" transform="translate(-365.74 -171)"></path><path class="cls-1" d="M611.52,244.54a8.58,8.58,0,0,1,2.53-.34c3.89,0,6.85,2.53,6.85,7,0,2.09-.15,7.47-7,7.47h-2.38V244.54Zm0,16h1.56c3,0,3.15,1.8,4.86,5.05l1.84,3.59c1.07,2.14,3,5.25,7.86,5.25h4.23v-1.27a4.15,4.15,0,0,1-3.11-1.31A77.92,77.92,0,0,1,621,258.76c2.77-1.26,6.22-4,6.22-8.3,0-7.62-7-8.11-11.46-8.11h-14v1.27l1.11.14c2.33.34,2.33.83,2.33,5.73v17.72c0,4.86,0,5.44-2.28,5.78l-1.16.14v1.27H615v-1.27L613.8,273c-2.28-.34-2.28-.92-2.28-5.73v-6.75Z" transform="translate(-365.74 -171)"></path><path class="cls-1" d="M480.71,242.43v1.44l.92.11.42.05h0c2.13.29,2.51.34,2.55,3.48l.2,12.44a39.67,39.67,0,0,1-.26,5c-.72,5.67-4.68,7.68-8.15,7.68-5.34,0-8.93-3.48-8.93-8.67V249.59c0-4.73,0-5.23,2.16-5.55l1.24-.16v-1.45H457.6v1.45l1.25.17c2.15.31,2.15.81,2.15,5.54v11.83c0,9.17,4.78,13.63,14.62,13.63,7.88,0,12.11-4.35,12.56-12.93l.07-2.24.29-11.76c0-3.25.69-3.56,2-3.92l1-.29v-1.48Z" transform="translate(-365.74 -171)"></path><line class="cls-2" x1="0.75" y1="61.79" x2="264.97" y2="61.79"></line><path class="cls-1" d="M402.13,185.86a.08.08,0,0,1,0,0h0l0,0Z" transform="translate(-365.74 -171)"></path><path class="cls-1" d="M389.41,210.89v1.42l2.88.41c1.56.28,2.34.47,2.75,1.15s.39,1.73.39,3.86v5.85h-.07a29,29,0,0,1-4.58.43,14.12,14.12,0,0,1-11.22-5c-2.83-3.36-4.33-8.26-4.33-14.16,0-5.29,1.09-9.7,3.14-12.75,2.34-3.45,5.84-5.2,10.42-5.2,4.17,0,7.32,1.26,9.34,3.75a15.88,15.88,0,0,1,2.81,6.56l.07.27,2.2-.29a38.16,38.16,0,0,0-1.31-10.1c-2.42-1.15-5.78-2.32-12.33-2.32-6.2,0-11.81,1.66-15.78,4.69a17.3,17.3,0,0,0-5.2,6.36,21.87,21.87,0,0,0-2,9.51c0,7.09,2.34,12.5,7,16.08,4,3.08,9.67,4.71,16.42,4.71a46.74,46.74,0,0,0,14.8-2.88l.28-.1-.17-1.25h-.07c-.71,0-1.19-.09-1.44-.69a12.19,12.19,0,0,1-.3-3.83c0-3.71.07-4.51,2.17-4.9l1.14-.16v-1.42Z" transform="translate(-365.74 -171)"></path><path class="cls-1" d="M450.45,224.29l1.17-.14c2.28-.44,2.28-.3,2.28-5.78V200.7c0-5.49,0-5.24-2.28-5.78l-1.17-.14v-1.27h22.38a36,36,0,0,1,.58,7.87l-1.74.24c-1.27-6.16-2.87-6.26-8-6.26h-3.5v12.48h3.3c4.32,0,5-.05,5.29-2.09l.24-1.7h1.27v9.66H469l-.24-1.55c-.34-2.14-1.06-2.14-5.09-2.14h-3.5v13a20.89,20.89,0,0,0,4.91.73c7.27,0,7.81-3.74,8.78-7.38l1.75.34a34.78,34.78,0,0,1-1.6,8.89h-23.6v-1.27Z" transform="translate(-365.74 -171)"></path><path class="cls-1" d="M481.26,224.29l1.17-.14c2.28-.44,2.28-.25,2.28-5.78V200.55c0-4.71,0-5.29-2.28-5.63l-1.17-.14v-1.27h13.2v1.27l-1.17.14c-2.27.34-2.27.92-2.27,5.63V223a19.72,19.72,0,0,0,4.46.68c6.84,0,6.89-3.3,8.29-7.34l1.76.35a35,35,0,0,1-1.71,8.84H481.26v-1.27Z" transform="translate(-365.74 -171)"></path><path class="cls-1" d="M509.91,224.29l1.17-.14c2.28-.25,2.28-.93,2.28-5.73V200.7c0-4.76,0-5.49-2.28-5.78l-1.17-.14v-1.27h12.91c6,0,13,1.07,13,8.6,0,8.2-8,10.29-13.06,10.43V210.7c3.6-.49,6.75-2,6.75-7.91,0-5.1-3.35-7.43-7.42-7.43a9.51,9.51,0,0,0-2.39.34v22.72c0,4.8.06,5.48,2.34,5.73l1.84.14v1.27H509.91v-1.27Z" transform="translate(-365.74 -171)"></path><path class="cls-1" d="M543.57,200.7c0-4.86,0-5.44-2.28-5.78l-1.16-.14v-1.27h13.2v1.27l-1.16.14c-2.29.34-2.29.92-2.29,5.73v7.09h14.66v-7c0-4.86,0-5.44-2.28-5.78l-1.16-.14v-1.27h13.21v1.27l-1.12.14c-2.34.34-2.34.92-2.34,5.78v17.67c0,4.85,0,5.43,2.34,5.78l1.12.14v1.27H561.1v-1.27l1.16-.14c2.28-.35,2.28-.93,2.28-5.78v-8.45H549.88v8.5c0,4.8,0,5.38,2.29,5.73l1.16.14v1.27h-13.2v-1.27l1.16-.14c2.28-.35,2.28-.93,2.28-5.73V200.7Z" transform="translate(-365.74 -171)"></path><path class="cls-1" d="M434.13,193.52V195l1.11.12.23,0h0c2.12.29,2.5.35,2.55,3.48l.19,12.44a38,38,0,0,1-.26,5c-.72,5.67-4.68,7.69-8.15,7.69-5.34,0-8.93-3.49-8.93-8.68V200.69c0-4.74,0-5.23,2.17-5.55l1.24-.16v-1.46H411V195l1.25.16c2.15.32,2.15.81,2.15,5.55v11.83c0,9.16,4.79,13.62,14.63,13.62,7.88,0,12.1-4.35,12.55-12.92l.07-2.25.3-11.76c0-3.25.68-3.56,2-3.92l1-.28v-1.49Z" transform="translate(-365.74 -171)"></path></svg>');
|
|
681
|
+
function oe(e) {
|
|
682
|
+
var t = ha();
|
|
683
|
+
x(e, t);
|
|
704
684
|
}
|
|
705
|
-
|
|
706
|
-
var pa = k('<a class="flex h-full items-center justify-center border-0 border-b-8 border-solid border-transparent p-4 pb-6 pt-8 text-yellow transition-colors hover:border-yellow hover:text-white [&>svg]:fill-current"><!></a>'), ga = k('<a class="flex h-full text-center items-center justify-center border-0 border-b-8 border-solid border-transparent p-4 pt-6 transition-colors hover:border-yellow hover:text-yellow"> </a>'), ba = k("<li><!></li>"), xa = k('<ul class="flex ml-auto [&>li]:contents text-xl"></ul>');
|
|
707
|
-
function
|
|
685
|
+
U(oe, {}, [], [], !0);
|
|
686
|
+
var pa = k('<a class="flex h-full items-center justify-center border-0 border-b-8 border-solid border-transparent p-4 pb-6 pt-8 text-yellow-text transition-colors hover:border-yellow hover:text-white [&>svg]:fill-current"><!></a>'), ga = k('<a class="flex h-full text-center items-center justify-center border-0 border-b-8 border-solid border-transparent p-4 pt-6 transition-colors hover:border-yellow hover:text-yellow-text"> </a>'), ba = k("<li><!></li>"), xa = k('<ul class="flex ml-auto [&>li]:contents text-xl"></ul>');
|
|
687
|
+
function ne(e) {
|
|
708
688
|
var t = xa();
|
|
709
|
-
|
|
710
|
-
var
|
|
689
|
+
q(t, 5, () => Yt, rt, (a, l) => {
|
|
690
|
+
var d = ba(), n = y(d);
|
|
711
691
|
{
|
|
712
|
-
var f = (
|
|
713
|
-
var
|
|
714
|
-
G(
|
|
692
|
+
var f = (p) => {
|
|
693
|
+
var s = pa(), v = y(s);
|
|
694
|
+
G(v, {
|
|
715
695
|
get icon() {
|
|
716
|
-
return l
|
|
696
|
+
return r(l).icon;
|
|
717
697
|
}
|
|
718
|
-
}), m(
|
|
719
|
-
|
|
720
|
-
}),
|
|
721
|
-
}, C = (
|
|
722
|
-
var
|
|
723
|
-
m(
|
|
724
|
-
|
|
725
|
-
}),
|
|
698
|
+
}), m(s), E(() => {
|
|
699
|
+
I(s, "href", r(l).href), I(s, "aria-label", r(l).text);
|
|
700
|
+
}), x(p, s);
|
|
701
|
+
}, C = (p) => {
|
|
702
|
+
var s = ga(), v = y(s, !0);
|
|
703
|
+
m(s), E(() => {
|
|
704
|
+
I(s, "href", r(l).href), H(v, r(l).text);
|
|
705
|
+
}), x(p, s);
|
|
726
706
|
};
|
|
727
|
-
j(n, (
|
|
728
|
-
l
|
|
707
|
+
j(n, (p) => {
|
|
708
|
+
r(l).icon ? p(f) : p(C, !1);
|
|
729
709
|
});
|
|
730
710
|
}
|
|
731
|
-
m(
|
|
732
|
-
}), m(t),
|
|
711
|
+
m(d), x(a, d);
|
|
712
|
+
}), m(t), x(e, t);
|
|
733
713
|
}
|
|
734
|
-
|
|
735
|
-
var
|
|
736
|
-
function
|
|
737
|
-
const t = [...
|
|
738
|
-
var
|
|
739
|
-
|
|
740
|
-
var
|
|
714
|
+
U(ne, {}, [], [], !0);
|
|
715
|
+
var ma = k('<li class="[&>*]:first:mt-4 [&>*]:last:mb-4"><a> </a></li>'), _a = k('<a class="flex h-full aspect-square items-center justify-center gap-2 px-4 transition-colors hover:bg-white focus:bg-white aria-expanded:bg-white hover:text-black focus:text-black aria-expanded:text-black"><!></a>'), ya = k('<li data-testid="outer-link"><!></li>'), wa = k('<span class="w-full flex items-center gap-2 justify-between [&>svg]:transition-transform"><span class="mr-auto"> </span> <!></span>'), Ma = k("<li><a> </a></li>"), Ca = k('<a class="border-0 border-b border-solid border-grey/50 p-2 transition-colors hover:bg-grey-muted focus:bg-grey-muted"> </a>'), ka = k('<li class="[&>*]:first:mt-4 [&>*]:last:mb-4"><!></li>'), $a = k('<ul class="flex h-full [&>li]:contents"><!> <li><!></li></ul>');
|
|
716
|
+
function ie(e) {
|
|
717
|
+
const t = [...Yt, ...te], a = t.filter((p) => !(p != null && p.excludeFromMainMenu)), l = t.filter((p) => p == null ? void 0 : p.excludeFromMainMenu);
|
|
718
|
+
var d = $a(), n = y(d);
|
|
719
|
+
q(n, 1, () => l, (p) => p.text || p.title, (p, s) => {
|
|
720
|
+
var v = ya(), g = y(v);
|
|
741
721
|
{
|
|
742
|
-
var u = (
|
|
743
|
-
var
|
|
744
|
-
|
|
722
|
+
var u = (c) => {
|
|
723
|
+
var i = lt(() => r(s).icon ? r(s).text : void 0);
|
|
724
|
+
Q(c, {
|
|
745
725
|
class: "h-full w-fit",
|
|
746
|
-
get
|
|
747
|
-
return
|
|
726
|
+
get label() {
|
|
727
|
+
return r(i);
|
|
748
728
|
},
|
|
749
729
|
buttonClass: "flex h-full aspect-square items-center justify-center gap-2 px-4 transition-colors hover:bg-white focus:bg-white aria-expanded:bg-white hover:text-black focus:text-black aria-expanded:text-black",
|
|
750
730
|
contentClass: "absolute right-0 top-full z-50 flex w-full flex-col bg-white px-4 text-black shadow-md lg:w-[30rem] [&>li]:contents",
|
|
751
731
|
as: "ul",
|
|
752
|
-
button: (
|
|
753
|
-
G(
|
|
732
|
+
button: (o) => {
|
|
733
|
+
G(o, {
|
|
754
734
|
get icon() {
|
|
755
|
-
return
|
|
735
|
+
return r(s).icon;
|
|
756
736
|
}
|
|
757
737
|
});
|
|
758
738
|
},
|
|
759
|
-
children: (
|
|
760
|
-
var b =
|
|
761
|
-
|
|
762
|
-
var
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
739
|
+
children: (o, S) => {
|
|
740
|
+
var b = R(), M = T(b);
|
|
741
|
+
q(M, 1, () => r(s).links, rt, (N, L) => {
|
|
742
|
+
var A = ma(), w = y(A);
|
|
743
|
+
let $;
|
|
744
|
+
var F = y(w, !0);
|
|
745
|
+
m(w), m(A), E(() => {
|
|
746
|
+
$ = X(w, $, {
|
|
747
|
+
class: "border-0 border-b border-solid border-grey/50 p-2 transition-colors hover:bg-grey-muted",
|
|
748
|
+
href: r(L).href,
|
|
749
|
+
...r(L).attributes
|
|
750
|
+
}), H(F, r(L).text);
|
|
751
|
+
}), x(N, A);
|
|
752
|
+
}), x(o, b);
|
|
767
753
|
},
|
|
768
754
|
$$slots: { button: !0, default: !0 }
|
|
769
755
|
});
|
|
770
|
-
},
|
|
771
|
-
var
|
|
772
|
-
G(
|
|
756
|
+
}, h = (c) => {
|
|
757
|
+
var i = _a(), _ = y(i);
|
|
758
|
+
G(_, {
|
|
773
759
|
get icon() {
|
|
774
|
-
return
|
|
760
|
+
return r(s).icon;
|
|
775
761
|
}
|
|
776
|
-
}), m(
|
|
777
|
-
|
|
778
|
-
}),
|
|
762
|
+
}), m(i), E(() => {
|
|
763
|
+
I(i, "href", r(s).href), I(i, "aria-label", r(s).text);
|
|
764
|
+
}), x(c, i);
|
|
779
765
|
};
|
|
780
|
-
j(
|
|
781
|
-
|
|
766
|
+
j(g, (c) => {
|
|
767
|
+
r(s).links ? c(u) : c(h, !1);
|
|
782
768
|
});
|
|
783
769
|
}
|
|
784
|
-
m(
|
|
770
|
+
m(v), x(p, v);
|
|
785
771
|
});
|
|
786
|
-
var f = W(n, 2), C =
|
|
787
|
-
|
|
772
|
+
var f = W(n, 2), C = y(f);
|
|
773
|
+
Q(C, {
|
|
788
774
|
class: "h-full w-fit",
|
|
789
|
-
|
|
775
|
+
label: "Main Menu",
|
|
790
776
|
buttonClass: "flex h-full aspect-square items-center justify-center gap-2 px-4 transition-colors hover:bg-white focus:bg-white aria-expanded:bg-white hover:text-black focus:text-black aria-expanded:text-black [&_svg]:aria-expanded:rotate-180",
|
|
791
777
|
contentClass: "absolute right-0 top-full z-50 flex w-full flex-col bg-white px-4 text-black shadow-md lg:w-[30rem] [&>li]:contents max-h-[calc(100vh-5rem)] overflow-y-auto",
|
|
792
778
|
as: "ul",
|
|
793
|
-
button: (
|
|
794
|
-
G(
|
|
779
|
+
button: (s) => {
|
|
780
|
+
G(s, { icon: Jt });
|
|
795
781
|
},
|
|
796
|
-
children: (
|
|
797
|
-
var
|
|
798
|
-
|
|
799
|
-
var
|
|
782
|
+
children: (s, v) => {
|
|
783
|
+
var g = R(), u = T(g);
|
|
784
|
+
q(u, 1, () => a, rt, (h, c) => {
|
|
785
|
+
var i = ka(), _ = y(i);
|
|
800
786
|
{
|
|
801
|
-
var
|
|
802
|
-
|
|
787
|
+
var o = (b) => {
|
|
788
|
+
Q(b, {
|
|
803
789
|
class: "relative w-full",
|
|
804
|
-
buttonClass: "flex border-0 border-b border-solid border-
|
|
790
|
+
buttonClass: "flex border-0 border-b border-solid border-grey/50 w-full items-center justify-between gap-2 p-2 transition-colors hover:bg-grey-muted focus:bg-grey-muted aria-expanded:bg-grey-muted [&_svg]:aria-expanded:rotate-180",
|
|
805
791
|
contentClass: "flex flex-col w-full flex-col bg-white text-black [&>li]:contents",
|
|
806
792
|
as: "ul",
|
|
807
793
|
autoCollapse: !1,
|
|
808
|
-
button: (
|
|
809
|
-
var
|
|
810
|
-
m(
|
|
811
|
-
var $ = W(
|
|
812
|
-
G($, { icon:
|
|
813
|
-
|
|
814
|
-
}),
|
|
794
|
+
button: (N) => {
|
|
795
|
+
var L = wa(), A = y(L), w = y(A, !0);
|
|
796
|
+
m(A);
|
|
797
|
+
var $ = W(A, 2);
|
|
798
|
+
G($, { icon: bt }), m(L), E(() => {
|
|
799
|
+
Nt(L, "bg-yellow", r(c).highlight), H(w, r(c).text);
|
|
800
|
+
}), x(N, L);
|
|
815
801
|
},
|
|
816
|
-
children: (
|
|
817
|
-
var
|
|
818
|
-
|
|
819
|
-
var B = Ma(), z =
|
|
820
|
-
let
|
|
821
|
-
var yt =
|
|
802
|
+
children: (N, L) => {
|
|
803
|
+
var A = R(), w = T(A);
|
|
804
|
+
q(w, 1, () => r(c).links, rt, ($, F) => {
|
|
805
|
+
var B = Ma(), z = y(B);
|
|
806
|
+
let P;
|
|
807
|
+
var yt = y(z, !0);
|
|
822
808
|
m(z), m(B), E(() => {
|
|
823
|
-
|
|
824
|
-
class: "border-0 border-b border-solid border-
|
|
825
|
-
href:
|
|
826
|
-
...
|
|
827
|
-
}), H(yt,
|
|
828
|
-
}),
|
|
829
|
-
}),
|
|
809
|
+
P = X(z, P, {
|
|
810
|
+
class: "border-0 border-b border-solid border-grey/50 p-2 transition-colors hover:bg-grey-muted",
|
|
811
|
+
href: r(F).href,
|
|
812
|
+
...r(F).attributes
|
|
813
|
+
}), H(yt, r(F).text);
|
|
814
|
+
}), x($, B);
|
|
815
|
+
}), x(N, A);
|
|
830
816
|
},
|
|
831
817
|
$$slots: { button: !0, default: !0 }
|
|
832
818
|
});
|
|
833
|
-
},
|
|
834
|
-
var M = Ca(),
|
|
819
|
+
}, S = (b) => {
|
|
820
|
+
var M = Ca(), N = y(M, !0);
|
|
835
821
|
m(M), E(() => {
|
|
836
|
-
|
|
837
|
-
}),
|
|
822
|
+
I(M, "href", r(c).href), Nt(M, "bg-yellow", r(c).highlight), H(N, r(c).text);
|
|
823
|
+
}), x(b, M);
|
|
838
824
|
};
|
|
839
|
-
j(
|
|
840
|
-
|
|
825
|
+
j(_, (b) => {
|
|
826
|
+
r(c).links ? b(o) : b(S, !1);
|
|
841
827
|
});
|
|
842
828
|
}
|
|
843
|
-
m(
|
|
844
|
-
}),
|
|
829
|
+
m(i), x(h, i);
|
|
830
|
+
}), x(s, g);
|
|
845
831
|
},
|
|
846
832
|
$$slots: { button: !0, default: !0 }
|
|
847
|
-
}), m(f), m(
|
|
833
|
+
}), m(f), m(d), x(e, d);
|
|
848
834
|
}
|
|
849
|
-
|
|
850
|
-
var
|
|
851
|
-
function
|
|
835
|
+
U(ie, {}, [], [], !0);
|
|
836
|
+
var Sa = k('<a href="https://www.guelphhumber.ca" class="w-auto h-full p-4 ml-auto transition-opacity focus:opacity-75 hover:opacity-75"><span class="sr-only">University of Guelph-Humber Homepage</span> <!></a>'), La = k('<nav aria-label="Primary"><!> <!></nav>');
|
|
837
|
+
function ce(e, t) {
|
|
852
838
|
Y(t, !1);
|
|
853
|
-
const [a,
|
|
854
|
-
|
|
855
|
-
var f =
|
|
856
|
-
const C =
|
|
839
|
+
const [a, l] = mt(), d = () => _t(n, "$headerState", a), n = Ht("header-state");
|
|
840
|
+
Tt();
|
|
841
|
+
var f = La();
|
|
842
|
+
const C = lt(() => {
|
|
857
843
|
var u;
|
|
858
|
-
return
|
|
844
|
+
return it(st("relative w-full justify-between flex lg:h-25 bg-black px-[calc((100%-1320px)/2)] text-lg text-black-contrast", ((u = d()) == null ? void 0 : u.variant) === "dual-brand" ? "h-[7.5rem]" : "h-12.5"));
|
|
859
845
|
});
|
|
860
|
-
var
|
|
861
|
-
|
|
862
|
-
var
|
|
846
|
+
var p = y(f);
|
|
847
|
+
le(p, {});
|
|
848
|
+
var s = W(p, 2);
|
|
863
849
|
{
|
|
864
|
-
var
|
|
865
|
-
var
|
|
866
|
-
|
|
867
|
-
},
|
|
868
|
-
var
|
|
850
|
+
var v = (u) => {
|
|
851
|
+
var h = Sa(), c = W(y(h), 2);
|
|
852
|
+
oe(c), m(h), x(u, h);
|
|
853
|
+
}, g = (u) => {
|
|
854
|
+
var h = R(), c = T(h);
|
|
869
855
|
{
|
|
870
|
-
var
|
|
871
|
-
|
|
872
|
-
},
|
|
873
|
-
|
|
856
|
+
var i = (o) => {
|
|
857
|
+
ne(o);
|
|
858
|
+
}, _ = (o) => {
|
|
859
|
+
ie(o);
|
|
874
860
|
};
|
|
875
861
|
j(
|
|
876
|
-
|
|
877
|
-
(
|
|
878
|
-
var
|
|
879
|
-
((
|
|
862
|
+
c,
|
|
863
|
+
(o) => {
|
|
864
|
+
var S;
|
|
865
|
+
((S = d()) == null ? void 0 : S.mode) === "desktop" ? o(i) : o(_, !1);
|
|
880
866
|
},
|
|
881
867
|
!0
|
|
882
868
|
);
|
|
883
869
|
}
|
|
884
|
-
|
|
870
|
+
x(u, h);
|
|
885
871
|
};
|
|
886
|
-
j(
|
|
887
|
-
var
|
|
888
|
-
((
|
|
872
|
+
j(s, (u) => {
|
|
873
|
+
var h;
|
|
874
|
+
((h = d()) == null ? void 0 : h.variant) === "dual-brand" ? u(v) : u(g, !1);
|
|
889
875
|
});
|
|
890
876
|
}
|
|
891
|
-
m(f), E(() =>
|
|
877
|
+
m(f), E(() => nt(f, r(C))), x(e, f), tt(), l();
|
|
892
878
|
}
|
|
893
|
-
|
|
894
|
-
var
|
|
895
|
-
function
|
|
879
|
+
U(ce, {}, [], [], !0);
|
|
880
|
+
var Na = k('<span class="flex items-center gap-2 [&>svg]:transition-transform"><span> </span> <!></span>'), Aa = k("<li><a> </a></li>"), Ea = k("<li><!></li>"), Va = k("<li><a> </a></li>");
|
|
881
|
+
function ue(e, t) {
|
|
896
882
|
Y(t, !0);
|
|
897
883
|
let a = V(t, "items", 7);
|
|
898
|
-
var
|
|
899
|
-
return
|
|
900
|
-
var C =
|
|
884
|
+
var l = R(), d = T(l);
|
|
885
|
+
return q(d, 17, a, (n) => n.text || n.title, (n, f) => {
|
|
886
|
+
var C = R(), p = T(C);
|
|
901
887
|
{
|
|
902
|
-
var
|
|
903
|
-
var u = Ea(),
|
|
904
|
-
|
|
888
|
+
var s = (g) => {
|
|
889
|
+
var u = Ea(), h = y(u);
|
|
890
|
+
Q(h, {
|
|
905
891
|
class: "relative h-full",
|
|
906
|
-
buttonClass: "flex h-full items-center justify-center gap-2 px-2 transition-colors hover:bg-yellow aria-expanded:bg-yellow [&_svg]:aria-expanded:rotate-180",
|
|
907
|
-
contentClass: "absolute right-0 top-full z-50 flex min-w-[20rem] flex-col bg-
|
|
908
|
-
buttonAriaLabel: void 0,
|
|
892
|
+
buttonClass: "flex h-full items-center justify-center gap-2 px-2 transition-colors hover:bg-yellow focus:bg-yellow aria-expanded:bg-yellow hover:text-yellow-contrast focus:text-yellow-contrast aria-expanded:text-yellow-contrast [&_svg]:aria-expanded:rotate-180",
|
|
893
|
+
contentClass: "absolute right-0 top-full z-50 flex min-w-[20rem] flex-col bg-grey-muted [&>li]:contents",
|
|
909
894
|
as: "ul",
|
|
910
|
-
button: (
|
|
911
|
-
var
|
|
912
|
-
m(
|
|
913
|
-
var b = W(
|
|
914
|
-
G(b, { icon:
|
|
895
|
+
button: (i) => {
|
|
896
|
+
var _ = Na(), o = y(_), S = y(o, !0);
|
|
897
|
+
m(o);
|
|
898
|
+
var b = W(o, 2);
|
|
899
|
+
G(b, { icon: bt }), m(_), E(() => H(S, r(f).title)), x(i, _);
|
|
915
900
|
},
|
|
916
|
-
children: (
|
|
917
|
-
var
|
|
918
|
-
|
|
919
|
-
var
|
|
920
|
-
let
|
|
921
|
-
var
|
|
922
|
-
m(
|
|
901
|
+
children: (i, _) => {
|
|
902
|
+
var o = R(), S = T(o);
|
|
903
|
+
q(S, 17, () => r(f).links, rt, (b, M) => {
|
|
904
|
+
var N = Aa(), L = y(N);
|
|
905
|
+
let A;
|
|
906
|
+
var w = y(L, !0);
|
|
907
|
+
m(L), m(N), E(() => {
|
|
923
908
|
var $;
|
|
924
|
-
|
|
925
|
-
...
|
|
926
|
-
class: `border-0 border-b border-solid border-
|
|
927
|
-
href:
|
|
928
|
-
}), H(
|
|
929
|
-
}),
|
|
930
|
-
}),
|
|
909
|
+
A = X(L, A, {
|
|
910
|
+
...r(M).attributes,
|
|
911
|
+
class: `border-0 border-b border-solid border-grey/50 p-2 transition-colors hover:bg-yellow focus:bg-yellow hover:text-yellow-contrast focus:text-yellow-contrast ${(($ = r(M).attributes) == null ? void 0 : $.class) ?? ""}`,
|
|
912
|
+
href: r(M).href
|
|
913
|
+
}), H(w, r(M).text);
|
|
914
|
+
}), x(b, N);
|
|
915
|
+
}), x(i, o);
|
|
931
916
|
},
|
|
932
917
|
$$slots: { button: !0, default: !0 }
|
|
933
|
-
}), m(u),
|
|
934
|
-
},
|
|
935
|
-
var u = Va(),
|
|
936
|
-
let
|
|
937
|
-
var
|
|
938
|
-
m(
|
|
939
|
-
var
|
|
940
|
-
|
|
941
|
-
...
|
|
942
|
-
class: `flex h-full items-center justify-center gap-2 px-2 transition-colors hover:bg-yellow ${((
|
|
943
|
-
href:
|
|
944
|
-
}), H(
|
|
945
|
-
}),
|
|
918
|
+
}), m(u), x(g, u);
|
|
919
|
+
}, v = (g) => {
|
|
920
|
+
var u = Va(), h = y(u);
|
|
921
|
+
let c;
|
|
922
|
+
var i = y(h, !0);
|
|
923
|
+
m(h), m(u), E(() => {
|
|
924
|
+
var _;
|
|
925
|
+
c = X(h, c, {
|
|
926
|
+
...r(f).attributes,
|
|
927
|
+
class: `flex h-full items-center justify-center gap-2 px-2 transition-colors hover:bg-yellow focus:bg-yellow hover:text-yellow-contrast focus:text-yellow-contrast ${((_ = r(f).attributes) == null ? void 0 : _.class) ?? ""}`,
|
|
928
|
+
href: r(f).href
|
|
929
|
+
}), H(i, r(f).text);
|
|
930
|
+
}), x(g, u);
|
|
946
931
|
};
|
|
947
|
-
j(
|
|
948
|
-
|
|
932
|
+
j(p, (g) => {
|
|
933
|
+
r(f).links ? g(s) : g(v, !1);
|
|
949
934
|
});
|
|
950
935
|
}
|
|
951
|
-
|
|
952
|
-
}),
|
|
936
|
+
x(n, C);
|
|
937
|
+
}), x(e, l), tt({
|
|
953
938
|
get items() {
|
|
954
939
|
return a();
|
|
955
940
|
},
|
|
@@ -958,79 +943,79 @@ function de(e, t) {
|
|
|
958
943
|
}
|
|
959
944
|
});
|
|
960
945
|
}
|
|
961
|
-
|
|
946
|
+
U(ue, { items: {} }, [], [], !0);
|
|
962
947
|
var Za = k("<a> </a>"), ja = k('<span class="w-full flex items-center gap-2 justify-between [&>svg]:transition-transform"><span class="mr-auto"> </span> <!></span>'), Ha = k("<li><a> </a></li>"), Ta = k('<li class="[&>*]:last:mb-4 [&>*]:first:mt-4"><!></li>'), Fa = k("<li><!></li>");
|
|
963
|
-
function
|
|
948
|
+
function ve(e, t) {
|
|
964
949
|
Y(t, !0);
|
|
965
950
|
let a = V(t, "items", 7);
|
|
966
|
-
var
|
|
967
|
-
return
|
|
951
|
+
var l = Fa(), d = y(l);
|
|
952
|
+
return Q(d, {
|
|
968
953
|
class: "h-full",
|
|
969
|
-
buttonClass: "flex h-full aspect-square items-center justify-center gap-2 px-4 transition-colors hover:bg-yellow aria-expanded:bg-yellow",
|
|
954
|
+
buttonClass: "flex h-full aspect-square items-center justify-center gap-2 px-4 transition-colors hover:bg-yellow focus:bg-yellow aria-expanded:bg-yellow hover:text-yellow-contrast focus:text-yellow-contrast aria-expanded:text-yellow-contrast",
|
|
970
955
|
contentClass: "whitespace-normal absolute right-0 top-full z-50 flex w-full flex-col bg-white px-4 text-black shadow-md lg:w-[30rem] [&>li]:contents max-h-[calc(100vh-5rem)] overflow-y-auto",
|
|
971
|
-
|
|
956
|
+
label: "Sub Navigation Menu",
|
|
972
957
|
as: "ul",
|
|
973
958
|
button: (f) => {
|
|
974
|
-
G(f, { icon:
|
|
959
|
+
G(f, { icon: Jt });
|
|
975
960
|
},
|
|
976
961
|
children: (f, C) => {
|
|
977
|
-
var
|
|
978
|
-
|
|
979
|
-
var u = Ta(),
|
|
962
|
+
var p = R(), s = T(p);
|
|
963
|
+
q(s, 17, a, (v) => v.text || v.title, (v, g) => {
|
|
964
|
+
var u = Ta(), h = y(u);
|
|
980
965
|
{
|
|
981
|
-
var
|
|
982
|
-
var
|
|
983
|
-
let
|
|
984
|
-
var b =
|
|
985
|
-
m(
|
|
966
|
+
var c = (_) => {
|
|
967
|
+
var o = Za();
|
|
968
|
+
let S;
|
|
969
|
+
var b = y(o, !0);
|
|
970
|
+
m(o), E(() => {
|
|
986
971
|
var M;
|
|
987
|
-
|
|
988
|
-
...
|
|
989
|
-
class: `border-0 border-b border-solid border-
|
|
990
|
-
href:
|
|
991
|
-
}), H(b,
|
|
992
|
-
}), _
|
|
993
|
-
},
|
|
994
|
-
|
|
972
|
+
S = X(o, S, {
|
|
973
|
+
...r(g).attributes,
|
|
974
|
+
class: `border-0 border-b border-solid border-grey/50 p-2 transition-colors hover:bg-grey-muted ${((M = r(g).attributes) == null ? void 0 : M.class) ?? ""}`,
|
|
975
|
+
href: r(g).href
|
|
976
|
+
}), H(b, r(g).text);
|
|
977
|
+
}), x(_, o);
|
|
978
|
+
}, i = (_) => {
|
|
979
|
+
Q(_, {
|
|
995
980
|
class: "relative w-full",
|
|
996
|
-
buttonClass: "flex border-0 border-b border-solid border-
|
|
981
|
+
buttonClass: "flex border-0 border-b border-solid border-grey/50 w-full items-center justify-between gap-2 p-2 transition-colors hover:bg-grey-muted focus:bg-grey-muted aria-expanded:bg-grey-muted [&_svg]:aria-expanded:rotate-180",
|
|
997
982
|
contentClass: "flex flex-col w-full flex-col bg-white text-black [&>li]:contents",
|
|
998
983
|
as: "ul",
|
|
999
984
|
autoCollapse: !1,
|
|
1000
|
-
button: (
|
|
1001
|
-
var b = ja(), M =
|
|
985
|
+
button: (S) => {
|
|
986
|
+
var b = ja(), M = y(b), N = y(M, !0);
|
|
1002
987
|
m(M);
|
|
1003
|
-
var
|
|
1004
|
-
G(
|
|
988
|
+
var L = W(M, 2);
|
|
989
|
+
G(L, { icon: bt }), m(b), E(() => H(N, r(g).title)), x(S, b);
|
|
1005
990
|
},
|
|
1006
|
-
children: (
|
|
1007
|
-
var M =
|
|
1008
|
-
|
|
1009
|
-
var
|
|
1010
|
-
let
|
|
1011
|
-
var B =
|
|
1012
|
-
m($), m(
|
|
991
|
+
children: (S, b) => {
|
|
992
|
+
var M = R(), N = T(M);
|
|
993
|
+
q(N, 17, () => r(g).links, rt, (L, A) => {
|
|
994
|
+
var w = Ha(), $ = y(w);
|
|
995
|
+
let F;
|
|
996
|
+
var B = y($, !0);
|
|
997
|
+
m($), m(w), E(() => {
|
|
1013
998
|
var z;
|
|
1014
|
-
|
|
1015
|
-
...
|
|
1016
|
-
class: `border-0 border-b border-solid border-
|
|
1017
|
-
href:
|
|
1018
|
-
}), H(B,
|
|
1019
|
-
}),
|
|
1020
|
-
}),
|
|
999
|
+
F = X($, F, {
|
|
1000
|
+
...r(A).attributes,
|
|
1001
|
+
class: `border-0 border-b border-solid border-grey/50 p-2 transition-colors hover:bg-grey-muted hover:text-grey-muted-contrast ${((z = r(A).attributes) == null ? void 0 : z.class) ?? ""}`,
|
|
1002
|
+
href: r(A).href
|
|
1003
|
+
}), H(B, r(A).text);
|
|
1004
|
+
}), x(L, w);
|
|
1005
|
+
}), x(S, M);
|
|
1021
1006
|
},
|
|
1022
1007
|
$$slots: { button: !0, default: !0 }
|
|
1023
1008
|
});
|
|
1024
1009
|
};
|
|
1025
|
-
j(
|
|
1026
|
-
|
|
1010
|
+
j(h, (_) => {
|
|
1011
|
+
r(g).text ? _(c) : _(i, !1);
|
|
1027
1012
|
});
|
|
1028
1013
|
}
|
|
1029
|
-
m(u),
|
|
1030
|
-
}),
|
|
1014
|
+
m(u), x(v, u);
|
|
1015
|
+
}), x(f, p);
|
|
1031
1016
|
},
|
|
1032
1017
|
$$slots: { button: !0, default: !0 }
|
|
1033
|
-
}), m(
|
|
1018
|
+
}), m(l), x(e, l), tt({
|
|
1034
1019
|
get items() {
|
|
1035
1020
|
return a();
|
|
1036
1021
|
},
|
|
@@ -1039,138 +1024,138 @@ function pe(e, t) {
|
|
|
1039
1024
|
}
|
|
1040
1025
|
});
|
|
1041
1026
|
}
|
|
1042
|
-
|
|
1043
|
-
var Pa = k('<a class="mr-auto flex h-full items-center justify-center px-3 font-bold transition-colors hover:bg-yellow"> </a>'), Ra = k('<span class="mr-auto flex h-full items-center justify-center px-3 font-bold"> </span>'), Ua = k('<nav aria-label="Page Specific"><div class="flex h-full min-w-full overflow-y-visible items-center justify-end [&>li]:contents relative"><!> <ul class="[&>li]:contents h-full flex w-fit !static lg:static"><!></ul></div></nav>');
|
|
1044
|
-
function
|
|
1027
|
+
U(ve, { items: {} }, [], [], !0);
|
|
1028
|
+
var Pa = k('<a class="mr-auto flex h-full items-center justify-center px-3 font-bold transition-colors hover:bg-yellow hover:text-yellow-contrast"> </a>'), Ra = k('<span class="mr-auto flex h-full items-center justify-center px-3 font-bold"> </span>'), Ua = k('<nav aria-label="Page Specific"><div class="flex h-full min-w-full overflow-y-visible items-center justify-end [&>li]:contents relative"><!> <ul class="[&>li]:contents h-full flex w-fit !static lg:static"><!></ul></div></nav>');
|
|
1029
|
+
function fe(e, t) {
|
|
1045
1030
|
Y(t, !0);
|
|
1046
|
-
const [a,
|
|
1047
|
-
let f = V(t, "items", 7), C = V(t, "title", 7),
|
|
1048
|
-
|
|
1049
|
-
var
|
|
1050
|
-
clearTimeout(u), ((
|
|
1031
|
+
const [a, l] = mt(), d = () => _t(n, "$headerState", a), n = Ht("header-state");
|
|
1032
|
+
let f = V(t, "items", 7), C = V(t, "title", 7), p = V(t, "url", 7), s = ut(void 0), v = ut(void 0), g = ut(void 0), u, h = ut(void 0);
|
|
1033
|
+
jt(() => {
|
|
1034
|
+
var w;
|
|
1035
|
+
clearTimeout(u), ((w = d()) == null ? void 0 : w.mode) === "desktop" && r(s) - r(v) < r(g) && (u = setTimeout(
|
|
1051
1036
|
() => {
|
|
1052
|
-
et(
|
|
1037
|
+
et(h, At(isNaN(r(h)) ? r(s) : Math.max(r(s), r(h))));
|
|
1053
1038
|
},
|
|
1054
1039
|
50
|
|
1055
1040
|
));
|
|
1056
1041
|
}), Qe(() => {
|
|
1057
|
-
var
|
|
1058
|
-
((
|
|
1042
|
+
var w;
|
|
1043
|
+
((w = d()) == null ? void 0 : w.mode) === "desktop" && r(s) - r(v) < r(g) && et(h, At(isNaN(r(h)) ? r(s) : Math.max(r(s), r(h))));
|
|
1059
1044
|
});
|
|
1060
|
-
var
|
|
1061
|
-
const
|
|
1062
|
-
var
|
|
1063
|
-
return
|
|
1045
|
+
var c = Ua();
|
|
1046
|
+
const i = Pe(() => {
|
|
1047
|
+
var w;
|
|
1048
|
+
return it(st("block align-items relative justify-end bg-grey-muted text-grey-muted-contrast px-[calc((100%-1320px)/2)] text-lg lg:whitespace-nowrap", ((w = d()) == null ? void 0 : w.variant) === "dual-brand" ? "h-10" : "h-[5rem] lg:h-10"));
|
|
1064
1049
|
});
|
|
1065
|
-
var
|
|
1050
|
+
var _ = y(c), o = y(_);
|
|
1066
1051
|
{
|
|
1067
|
-
var
|
|
1068
|
-
var $ = Pa(),
|
|
1052
|
+
var S = (w) => {
|
|
1053
|
+
var $ = Pa(), F = y($, !0);
|
|
1069
1054
|
m($), E(() => {
|
|
1070
|
-
|
|
1071
|
-
}),
|
|
1072
|
-
}, b = (
|
|
1073
|
-
var $ =
|
|
1055
|
+
I($, "href", p()), H(F, C());
|
|
1056
|
+
}), dt($, "clientWidth", (B) => et(v, B)), x(w, $);
|
|
1057
|
+
}, b = (w) => {
|
|
1058
|
+
var $ = R(), F = T($);
|
|
1074
1059
|
{
|
|
1075
1060
|
var B = (z) => {
|
|
1076
|
-
var
|
|
1077
|
-
m(
|
|
1061
|
+
var P = Ra(), yt = y(P, !0);
|
|
1062
|
+
m(P), E(() => H(yt, C())), dt(P, "clientWidth", (de) => et(v, de)), x(z, P);
|
|
1078
1063
|
};
|
|
1079
1064
|
j(
|
|
1080
|
-
|
|
1065
|
+
F,
|
|
1081
1066
|
(z) => {
|
|
1082
1067
|
C() && z(B);
|
|
1083
1068
|
},
|
|
1084
1069
|
!0
|
|
1085
1070
|
);
|
|
1086
1071
|
}
|
|
1087
|
-
|
|
1072
|
+
x(w, $);
|
|
1088
1073
|
};
|
|
1089
|
-
j(
|
|
1090
|
-
C() &&
|
|
1074
|
+
j(o, (w) => {
|
|
1075
|
+
C() && p() ? w(S) : w(b, !1);
|
|
1091
1076
|
});
|
|
1092
1077
|
}
|
|
1093
|
-
var M = W(
|
|
1078
|
+
var M = W(o, 2), N = y(M);
|
|
1094
1079
|
{
|
|
1095
|
-
var
|
|
1096
|
-
var $ =
|
|
1080
|
+
var L = (w) => {
|
|
1081
|
+
var $ = R(), F = T($);
|
|
1097
1082
|
{
|
|
1098
|
-
var B = (
|
|
1099
|
-
|
|
1083
|
+
var B = (P) => {
|
|
1084
|
+
ue(P, {
|
|
1100
1085
|
get items() {
|
|
1101
1086
|
return f();
|
|
1102
1087
|
}
|
|
1103
1088
|
});
|
|
1104
|
-
}, z = (
|
|
1105
|
-
|
|
1089
|
+
}, z = (P) => {
|
|
1090
|
+
ve(P, {
|
|
1106
1091
|
get items() {
|
|
1107
1092
|
return f();
|
|
1108
1093
|
}
|
|
1109
1094
|
});
|
|
1110
1095
|
};
|
|
1111
|
-
j(
|
|
1112
|
-
|
|
1096
|
+
j(F, (P) => {
|
|
1097
|
+
d().mode === "desktop" && (isNaN(r(h)) || r(s) > r(h)) ? P(B) : P(z, !1);
|
|
1113
1098
|
});
|
|
1114
1099
|
}
|
|
1115
|
-
|
|
1100
|
+
x(w, $);
|
|
1116
1101
|
};
|
|
1117
|
-
j(
|
|
1102
|
+
j(N, (w) => {
|
|
1118
1103
|
var $;
|
|
1119
|
-
(($ = f()) == null ? void 0 : $.length) > 0 &&
|
|
1104
|
+
(($ = f()) == null ? void 0 : $.length) > 0 && w(L);
|
|
1120
1105
|
});
|
|
1121
1106
|
}
|
|
1122
|
-
m(M), m(
|
|
1123
|
-
var
|
|
1107
|
+
m(M), m(_), m(c), E(() => nt(c, r(i))), dt(M, "clientWidth", (w) => et(g, w)), dt(_, "clientWidth", (w) => et(s, w)), x(e, c);
|
|
1108
|
+
var A = tt({
|
|
1124
1109
|
get items() {
|
|
1125
1110
|
return f();
|
|
1126
1111
|
},
|
|
1127
|
-
set items(
|
|
1128
|
-
f(
|
|
1112
|
+
set items(w) {
|
|
1113
|
+
f(w), Z();
|
|
1129
1114
|
},
|
|
1130
1115
|
get title() {
|
|
1131
1116
|
return C();
|
|
1132
1117
|
},
|
|
1133
|
-
set title(
|
|
1134
|
-
C(
|
|
1118
|
+
set title(w) {
|
|
1119
|
+
C(w), Z();
|
|
1135
1120
|
},
|
|
1136
1121
|
get url() {
|
|
1137
|
-
return
|
|
1122
|
+
return p();
|
|
1138
1123
|
},
|
|
1139
|
-
set url(
|
|
1140
|
-
|
|
1124
|
+
set url(w) {
|
|
1125
|
+
p(w), Z();
|
|
1141
1126
|
}
|
|
1142
1127
|
});
|
|
1143
|
-
return
|
|
1128
|
+
return l(), A;
|
|
1144
1129
|
}
|
|
1145
|
-
|
|
1130
|
+
U(fe, { items: {}, title: {}, url: {} }, [], [], !0);
|
|
1146
1131
|
const za = 35;
|
|
1147
1132
|
var Wa = k('<header class="relative z-10 w-full font-condensed text-black"><!> <!> <!></header>');
|
|
1148
1133
|
function Ba(e, t) {
|
|
1149
1134
|
Y(t, !0);
|
|
1150
|
-
const [a,
|
|
1151
|
-
let n = V(t, "subNavigation", 7), f = V(t, "pageTitle", 7), C = V(t, "pageURL", 7),
|
|
1152
|
-
const
|
|
1153
|
-
Ue("header-state",
|
|
1154
|
-
|
|
1155
|
-
mode:
|
|
1156
|
-
variant:
|
|
1135
|
+
const [a, l] = mt(), d = () => _t(g, "$headerState", a);
|
|
1136
|
+
let n = V(t, "subNavigation", 7), f = V(t, "pageTitle", 7), C = V(t, "pageURL", 7), p = V(t, "variant", 7), s = ut(void 0);
|
|
1137
|
+
const v = 1024, g = Re({ mode: "mobile", variant: p() });
|
|
1138
|
+
Ue("header-state", g), jt(() => {
|
|
1139
|
+
g.set({
|
|
1140
|
+
mode: r(s) >= v ? "desktop" : "mobile",
|
|
1141
|
+
variant: p()
|
|
1157
1142
|
});
|
|
1158
1143
|
});
|
|
1159
|
-
var u = Wa(),
|
|
1144
|
+
var u = Wa(), h = y(u);
|
|
1160
1145
|
{
|
|
1161
|
-
var
|
|
1162
|
-
|
|
1146
|
+
var c = (b) => {
|
|
1147
|
+
ee(b, {});
|
|
1163
1148
|
};
|
|
1164
|
-
j(
|
|
1165
|
-
|
|
1149
|
+
j(h, (b) => {
|
|
1150
|
+
d().mode === "desktop" && p() !== "dual-brand" && b(c);
|
|
1166
1151
|
});
|
|
1167
1152
|
}
|
|
1168
|
-
var
|
|
1169
|
-
|
|
1170
|
-
var
|
|
1153
|
+
var i = W(h, 2);
|
|
1154
|
+
ce(i, {});
|
|
1155
|
+
var _ = W(i, 2);
|
|
1171
1156
|
{
|
|
1172
|
-
var
|
|
1173
|
-
|
|
1157
|
+
var o = (b) => {
|
|
1158
|
+
fe(b, {
|
|
1174
1159
|
get title() {
|
|
1175
1160
|
return f();
|
|
1176
1161
|
},
|
|
@@ -1182,13 +1167,13 @@ function Ba(e, t) {
|
|
|
1182
1167
|
}
|
|
1183
1168
|
});
|
|
1184
1169
|
};
|
|
1185
|
-
j(
|
|
1170
|
+
j(_, (b) => {
|
|
1186
1171
|
var M;
|
|
1187
|
-
(((M = n()) == null ? void 0 : M.length) > 0 || f()) && b(
|
|
1172
|
+
(((M = n()) == null ? void 0 : M.length) > 0 || f()) && b(o);
|
|
1188
1173
|
});
|
|
1189
1174
|
}
|
|
1190
|
-
m(u), We("innerWidth", (b) => et(
|
|
1191
|
-
var
|
|
1175
|
+
m(u), We("innerWidth", (b) => et(s, At(b))), x(e, u);
|
|
1176
|
+
var S = tt({
|
|
1192
1177
|
get subNavigation() {
|
|
1193
1178
|
return n();
|
|
1194
1179
|
},
|
|
@@ -1208,15 +1193,15 @@ function Ba(e, t) {
|
|
|
1208
1193
|
C(b), Z();
|
|
1209
1194
|
},
|
|
1210
1195
|
get variant() {
|
|
1211
|
-
return
|
|
1196
|
+
return p();
|
|
1212
1197
|
},
|
|
1213
1198
|
set variant(b) {
|
|
1214
|
-
|
|
1199
|
+
p(b), Z();
|
|
1215
1200
|
}
|
|
1216
1201
|
});
|
|
1217
|
-
return
|
|
1202
|
+
return l(), S;
|
|
1218
1203
|
}
|
|
1219
|
-
customElements.define("uofg-header",
|
|
1204
|
+
customElements.define("uofg-header", U(
|
|
1220
1205
|
Ba,
|
|
1221
1206
|
{
|
|
1222
1207
|
pageTitle: {
|
|
@@ -1242,7 +1227,7 @@ customElements.define("uofg-header", R(
|
|
|
1242
1227
|
(e) => class extends e {
|
|
1243
1228
|
constructor() {
|
|
1244
1229
|
super();
|
|
1245
|
-
|
|
1230
|
+
wt(this, "subNavigation", []);
|
|
1246
1231
|
ze(this.shadowRoot);
|
|
1247
1232
|
}
|
|
1248
1233
|
connectedCallback() {
|
|
@@ -1254,29 +1239,29 @@ customElements.define("uofg-header", R(
|
|
|
1254
1239
|
super.disconnectedCallback(), this.observer.disconnect();
|
|
1255
1240
|
}
|
|
1256
1241
|
updateSubNavigation() {
|
|
1257
|
-
const a = (
|
|
1258
|
-
const
|
|
1259
|
-
return
|
|
1260
|
-
href:
|
|
1261
|
-
text:
|
|
1262
|
-
attributes:
|
|
1242
|
+
const a = (l) => {
|
|
1243
|
+
const d = {};
|
|
1244
|
+
return l.getAttributeNames().filter((n) => n !== "href").forEach((n) => d[n] = l.getAttribute(n)), {
|
|
1245
|
+
href: l.getAttribute("href"),
|
|
1246
|
+
text: l.textContent,
|
|
1247
|
+
attributes: d
|
|
1263
1248
|
};
|
|
1264
1249
|
};
|
|
1265
|
-
this.subNavigation = Array.from(this.children).filter((
|
|
1266
|
-
switch (
|
|
1250
|
+
this.subNavigation = Array.from(this.children).filter((l) => l.tagName === "A" || l.tagName === "UL").map((l) => {
|
|
1251
|
+
switch (l.tagName) {
|
|
1267
1252
|
case "A":
|
|
1268
|
-
return a(
|
|
1253
|
+
return a(l);
|
|
1269
1254
|
case "UL":
|
|
1270
|
-
const
|
|
1271
|
-
title:
|
|
1272
|
-
links: Array.from(
|
|
1255
|
+
const d = {
|
|
1256
|
+
title: l.getAttribute("data-title"),
|
|
1257
|
+
links: Array.from(l.querySelectorAll("a")).map(a)
|
|
1273
1258
|
};
|
|
1274
|
-
return
|
|
1259
|
+
return d.wrapContent = d.links.reduce(
|
|
1275
1260
|
(n, f) => (f.text.length > za && (n = !0), n),
|
|
1276
1261
|
!1
|
|
1277
|
-
),
|
|
1262
|
+
), d;
|
|
1278
1263
|
}
|
|
1279
|
-
}).filter((
|
|
1264
|
+
}).filter((l) => !!l);
|
|
1280
1265
|
}
|
|
1281
1266
|
}
|
|
1282
1267
|
));
|