@uoguelph/web-components 1.7.6 → 1.9.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/uofg-web-components/{font-awesome-icon-D_uThmUr.js → font-awesome-icon-AppLwNgo.js} +493 -493
- package/dist/uofg-web-components/legacy-CNO5GCyF.js +43 -0
- package/dist/uofg-web-components/slot-CexNersB.js +18 -0
- package/dist/uofg-web-components/uofg-alert.esm.js +48 -22
- package/dist/uofg-web-components/uofg-back-to-top.esm.js +8 -8
- package/dist/uofg-web-components/uofg-footer.esm.js +139 -124
- package/dist/uofg-web-components/uofg-header.esm.js +558 -539
- package/dist/uofg-web-components/uofg-modal.esm.js +17 -17
- package/dist/uofg-web-components/{window-B7CZwhaD.js → window-CPkdhWRF.js} +6 -6
- package/package.json +1 -1
- package/dist/uofg-web-components/legacy-D2Q6IFRf.js +0 -2
- package/dist/uofg-web-components/lifecycle-C9pWbZWQ.js +0 -42
- package/dist/uofg-web-components/slot-BQDpwPCx.js +0 -10
|
@@ -1,59 +1,58 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var xe = Object.defineProperty;
|
|
2
|
+
var Ft = (e) => {
|
|
3
3
|
throw TypeError(e);
|
|
4
4
|
};
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
import { _ as
|
|
9
|
-
import { a as
|
|
10
|
-
import "./legacy-
|
|
11
|
-
import {
|
|
12
|
-
|
|
13
|
-
function I1(e, t, ...a) {
|
|
5
|
+
var _e = (e, t, a) => t in e ? xe(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a;
|
|
6
|
+
var Mt = (e, t, a) => _e(e, typeof t != "symbol" ? t + "" : t, a), Ct = (e, t, a) => t.has(e) || Ft("Cannot " + a);
|
|
7
|
+
var G = (e, t, a) => (Ct(e, t, "read from private field"), a ? a.call(e) : t.get(e)), it = (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), kt = (e, t, a, r) => (Ct(e, t, "write to private field"), r ? r.call(e, a) : t.set(e, a), a), Pt = (e, t, a) => (Ct(e, t, "access private method"), a);
|
|
8
|
+
import { _ as Dt, $ as Zt, a0 as Kt, a1 as J, a2 as Jt, H as D, a3 as dt, a4 as me, a5 as we, a6 as At, I as Ut, a7 as Qt, a8 as ye, a9 as Me, aa as Ce, ab as ke, ac as Rt, ad as zt, ae as Wt, z as jt, B as bt, af as Le, ag as $e, ah as Ae, ai as Se, C as Ne, aj as Ee, ak as Bt, al as qt, am as Ve, an as Lt, ao as Ze, ap as je, D as Ht, l as He, c as U, p as Y, a as V, Z as j, b as E, aq as Te, d as _, e as tt, h as Z, f as k, j as w, k as W, ar as P, X as T, s as ot, x as nt, E as q, as as rt, r as m, at as Fe, au as Pe, J as I, u as l, K as at, L as H, av as ut, t as St, F as O, aw as xt, M as _t, ax as Tt, ay as mt, az as wt, w as Xt, aA as Yt, o as et, q as Nt, v as ct, aB as Ue, aC as Re, i as ze } from "./font-awesome-icon-AppLwNgo.js";
|
|
9
|
+
import { a as We } from "./window-CPkdhWRF.js";
|
|
10
|
+
import { i as te } from "./legacy-CNO5GCyF.js";
|
|
11
|
+
import { t as st } from "./bundle-mjs-BpzLJ4dA.js";
|
|
12
|
+
function It(e, t, ...a) {
|
|
14
13
|
var r = e, c = J, n;
|
|
15
|
-
|
|
16
|
-
c !== (c = t()) && (n && (
|
|
14
|
+
Dt(() => {
|
|
15
|
+
c !== (c = t()) && (n && (Jt(n), n = null), n = Kt(() => (
|
|
17
16
|
/** @type {SnippetFn} */
|
|
18
17
|
c(r, ...a)
|
|
19
18
|
)));
|
|
20
|
-
},
|
|
19
|
+
}, Zt), D && (r = dt);
|
|
21
20
|
}
|
|
22
|
-
function
|
|
21
|
+
function Be(e, t, a, r, c, n) {
|
|
23
22
|
let f = D;
|
|
24
|
-
D &&
|
|
25
|
-
var
|
|
26
|
-
D &&
|
|
27
|
-
|
|
23
|
+
D && Ut();
|
|
24
|
+
var C, h, o = null;
|
|
25
|
+
D && dt.nodeType === 1 && (o = /** @type {Element} */
|
|
26
|
+
dt, Ut());
|
|
28
27
|
var i = (
|
|
29
28
|
/** @type {TemplateNode} */
|
|
30
|
-
D ?
|
|
29
|
+
D ? dt : e
|
|
31
30
|
), p;
|
|
32
|
-
|
|
31
|
+
Dt(() => {
|
|
33
32
|
const u = t() || null;
|
|
34
|
-
var d = u === "svg" ?
|
|
35
|
-
u !==
|
|
33
|
+
var d = u === "svg" ? Qt : null;
|
|
34
|
+
u !== C && (p && (u === null ? ye(p, () => {
|
|
36
35
|
p = null, h = null;
|
|
37
|
-
}) : u === h ?
|
|
36
|
+
}) : u === h ? Me(p) : (Jt(p), Wt(!1))), u && u !== h && (p = Kt(() => {
|
|
38
37
|
o = D ? (
|
|
39
38
|
/** @type {Element} */
|
|
40
39
|
o
|
|
41
|
-
) : d ? document.createElementNS(d, u) : document.createElement(u),
|
|
40
|
+
) : d ? document.createElementNS(d, u) : document.createElement(u), me(o, o);
|
|
42
41
|
{
|
|
43
|
-
D &&
|
|
44
|
-
var
|
|
42
|
+
D && Ce(u) && o.append(document.createComment(""));
|
|
43
|
+
var x = (
|
|
45
44
|
/** @type {TemplateNode} */
|
|
46
|
-
D ?
|
|
45
|
+
D ? ke(o) : o.appendChild(we())
|
|
47
46
|
);
|
|
48
|
-
D && (
|
|
47
|
+
D && (x === null ? Rt(!1) : zt(x)), r(o, x);
|
|
49
48
|
}
|
|
50
|
-
|
|
51
|
-
})),
|
|
52
|
-
},
|
|
49
|
+
At.nodes_end = o, i.before(o);
|
|
50
|
+
})), C = u, C && (h = C), Wt(!0));
|
|
51
|
+
}, Zt), f && (Rt(!0), zt(i));
|
|
53
52
|
}
|
|
54
|
-
function
|
|
55
|
-
|
|
56
|
-
var r =
|
|
53
|
+
function qe(e, t, a) {
|
|
54
|
+
jt(() => {
|
|
55
|
+
var r = bt(() => t(e, a == null ? void 0 : a()) || {});
|
|
57
56
|
if (r != null && r.destroy)
|
|
58
57
|
return () => (
|
|
59
58
|
/** @type {Function} */
|
|
@@ -61,7 +60,7 @@ function q2(e, t, a) {
|
|
|
61
60
|
);
|
|
62
61
|
});
|
|
63
62
|
}
|
|
64
|
-
const
|
|
63
|
+
const Ie = () => performance.now(), K = {
|
|
65
64
|
// don't access requestAnimationFrame eagerly outside method
|
|
66
65
|
// this allows basic testing of user code without JSDOM
|
|
67
66
|
// bunder will eval and remove ternary when the user's app is built
|
|
@@ -69,18 +68,18 @@ const I2 = () => performance.now(), K = {
|
|
|
69
68
|
/** @param {any} _ */
|
|
70
69
|
(e) => requestAnimationFrame(e)
|
|
71
70
|
),
|
|
72
|
-
now: () =>
|
|
71
|
+
now: () => Ie(),
|
|
73
72
|
tasks: /* @__PURE__ */ new Set()
|
|
74
73
|
};
|
|
75
|
-
function
|
|
74
|
+
function ee() {
|
|
76
75
|
const e = K.now();
|
|
77
76
|
K.tasks.forEach((t) => {
|
|
78
77
|
t.c(e) || (K.tasks.delete(t), t.f());
|
|
79
|
-
}), K.tasks.size !== 0 && K.tick(
|
|
78
|
+
}), K.tasks.size !== 0 && K.tick(ee);
|
|
80
79
|
}
|
|
81
|
-
function
|
|
80
|
+
function Oe(e) {
|
|
82
81
|
let t;
|
|
83
|
-
return K.tasks.size === 0 && K.tick(
|
|
82
|
+
return K.tasks.size === 0 && K.tick(ee), {
|
|
84
83
|
promise: new Promise((a) => {
|
|
85
84
|
K.tasks.add(t = { c: e, f: a });
|
|
86
85
|
}),
|
|
@@ -89,10 +88,10 @@ function G2(e) {
|
|
|
89
88
|
}
|
|
90
89
|
};
|
|
91
90
|
}
|
|
92
|
-
function
|
|
91
|
+
function ft(e, t) {
|
|
93
92
|
e.dispatchEvent(new CustomEvent(t));
|
|
94
93
|
}
|
|
95
|
-
function
|
|
94
|
+
function Ge(e) {
|
|
96
95
|
if (e === "float") return "cssFloat";
|
|
97
96
|
if (e === "offset") return "cssOffset";
|
|
98
97
|
if (e.startsWith("--")) return e;
|
|
@@ -102,41 +101,41 @@ function O2(e) {
|
|
|
102
101
|
(a) => a[0].toUpperCase() + a.slice(1)
|
|
103
102
|
).join("");
|
|
104
103
|
}
|
|
105
|
-
function
|
|
104
|
+
function Ot(e) {
|
|
106
105
|
const t = {}, a = e.split(";");
|
|
107
106
|
for (const r of a) {
|
|
108
107
|
const [c, n] = r.split(":");
|
|
109
108
|
if (!c || n === void 0) break;
|
|
110
|
-
const f =
|
|
109
|
+
const f = Ge(c.trim());
|
|
111
110
|
t[f] = n.trim();
|
|
112
111
|
}
|
|
113
112
|
return t;
|
|
114
113
|
}
|
|
115
|
-
const
|
|
116
|
-
function
|
|
117
|
-
var c = (e &
|
|
114
|
+
const De = (e) => e;
|
|
115
|
+
function Ke(e, t, a, r) {
|
|
116
|
+
var c = (e & Ee) !== 0, n = "both", f, C = t.inert, h = t.style.overflow, o, i;
|
|
118
117
|
function p() {
|
|
119
|
-
var v =
|
|
120
|
-
|
|
118
|
+
var v = Ve, s = At;
|
|
119
|
+
Bt(null), qt(null);
|
|
121
120
|
try {
|
|
122
121
|
return f ?? (f = a()(t, (r == null ? void 0 : r()) ?? /** @type {P} */
|
|
123
122
|
{}, {
|
|
124
123
|
direction: n
|
|
125
124
|
}));
|
|
126
125
|
} finally {
|
|
127
|
-
|
|
126
|
+
Bt(v), qt(s);
|
|
128
127
|
}
|
|
129
128
|
}
|
|
130
129
|
var u = {
|
|
131
130
|
is_global: c,
|
|
132
131
|
in() {
|
|
133
|
-
t.inert =
|
|
134
|
-
|
|
132
|
+
t.inert = C, ft(t, "introstart"), o = Et(t, p(), i, 1, () => {
|
|
133
|
+
ft(t, "introend"), o == null || o.abort(), o = f = void 0, t.style.overflow = h;
|
|
135
134
|
});
|
|
136
135
|
},
|
|
137
136
|
out(v) {
|
|
138
|
-
t.inert = !0,
|
|
139
|
-
|
|
137
|
+
t.inert = !0, ft(t, "outrostart"), i = Et(t, p(), o, 0, () => {
|
|
138
|
+
ft(t, "outroend"), v == null || v();
|
|
140
139
|
});
|
|
141
140
|
},
|
|
142
141
|
stop: () => {
|
|
@@ -144,36 +143,36 @@ function K2(e, t, a, r) {
|
|
|
144
143
|
}
|
|
145
144
|
}, d = (
|
|
146
145
|
/** @type {Effect} */
|
|
147
|
-
|
|
146
|
+
At
|
|
148
147
|
);
|
|
149
|
-
if ((d.transitions ?? (d.transitions = [])).push(u),
|
|
150
|
-
var
|
|
151
|
-
if (!
|
|
148
|
+
if ((d.transitions ?? (d.transitions = [])).push(u), Le) {
|
|
149
|
+
var x = c;
|
|
150
|
+
if (!x) {
|
|
152
151
|
for (var g = (
|
|
153
152
|
/** @type {Effect | null} */
|
|
154
153
|
d.parent
|
|
155
|
-
); g && g.f &
|
|
156
|
-
for (; (g = g.parent) && !(g.f & $
|
|
154
|
+
); g && g.f & Zt; )
|
|
155
|
+
for (; (g = g.parent) && !(g.f & $e); )
|
|
157
156
|
;
|
|
158
|
-
|
|
157
|
+
x = !g || (g.f & Ae) !== 0;
|
|
159
158
|
}
|
|
160
|
-
|
|
161
|
-
|
|
159
|
+
x && jt(() => {
|
|
160
|
+
bt(() => u.in());
|
|
162
161
|
});
|
|
163
162
|
}
|
|
164
163
|
}
|
|
165
|
-
function
|
|
164
|
+
function Et(e, t, a, r, c) {
|
|
166
165
|
var n = r === 1;
|
|
167
|
-
if (
|
|
168
|
-
var f,
|
|
169
|
-
return
|
|
170
|
-
if (!
|
|
166
|
+
if (Se(t)) {
|
|
167
|
+
var f, C = !1;
|
|
168
|
+
return Ne(() => {
|
|
169
|
+
if (!C) {
|
|
171
170
|
var v = t({ direction: n ? "in" : "out" });
|
|
172
|
-
f =
|
|
171
|
+
f = Et(e, v, a, r, c);
|
|
173
172
|
}
|
|
174
173
|
}), {
|
|
175
174
|
abort: () => {
|
|
176
|
-
|
|
175
|
+
C = !0, f == null || f.abort();
|
|
177
176
|
},
|
|
178
177
|
deactivate: () => f.deactivate(),
|
|
179
178
|
reset: () => f.reset(),
|
|
@@ -187,42 +186,42 @@ function N1(e, t, a, r, c) {
|
|
|
187
186
|
reset: J,
|
|
188
187
|
t: () => r
|
|
189
188
|
};
|
|
190
|
-
const { delay: h = 0, css: o, tick: i, easing: p =
|
|
189
|
+
const { delay: h = 0, css: o, tick: i, easing: p = De } = t;
|
|
191
190
|
var u = [];
|
|
192
191
|
if (n && a === void 0 && (i && i(0, 1), o)) {
|
|
193
|
-
var d =
|
|
192
|
+
var d = Ot(o(0, 1));
|
|
194
193
|
u.push(d, d);
|
|
195
194
|
}
|
|
196
|
-
var
|
|
195
|
+
var x = () => 1 - r, g = e.animate(u, { duration: h });
|
|
197
196
|
return g.onfinish = () => {
|
|
198
197
|
var v = (a == null ? void 0 : a.t()) ?? 1 - r;
|
|
199
198
|
a == null || a.abort();
|
|
200
|
-
var
|
|
199
|
+
var s = r - v, L = (
|
|
201
200
|
/** @type {number} */
|
|
202
|
-
t.duration * Math.abs(
|
|
201
|
+
t.duration * Math.abs(s)
|
|
203
202
|
), b = [];
|
|
204
|
-
if (
|
|
205
|
-
var
|
|
203
|
+
if (L > 0) {
|
|
204
|
+
var M = !1;
|
|
206
205
|
if (o)
|
|
207
|
-
for (var
|
|
208
|
-
var
|
|
209
|
-
b.push(y),
|
|
206
|
+
for (var A = Math.ceil(L / 16.666666666666668), S = 0; S <= A; S += 1) {
|
|
207
|
+
var N = v + s * p(S / A), y = Ot(o(N, 1 - N));
|
|
208
|
+
b.push(y), M || (M = y.overflow === "hidden");
|
|
210
209
|
}
|
|
211
|
-
|
|
210
|
+
M && (e.style.overflow = "hidden"), x = () => {
|
|
212
211
|
var $ = (
|
|
213
212
|
/** @type {number} */
|
|
214
213
|
/** @type {globalThis.Animation} */
|
|
215
214
|
g.currentTime
|
|
216
215
|
);
|
|
217
|
-
return v +
|
|
218
|
-
}, i &&
|
|
216
|
+
return v + s * p($ / L);
|
|
217
|
+
}, i && Oe(() => {
|
|
219
218
|
if (g.playState !== "running") return !1;
|
|
220
|
-
var $ =
|
|
219
|
+
var $ = x();
|
|
221
220
|
return i($, 1 - $), !0;
|
|
222
221
|
});
|
|
223
222
|
}
|
|
224
|
-
g = e.animate(b, { duration:
|
|
225
|
-
|
|
223
|
+
g = e.animate(b, { duration: L, fill: "forwards" }), g.onfinish = () => {
|
|
224
|
+
x = () => r, i == null || i(r, 1 - r), c();
|
|
226
225
|
};
|
|
227
226
|
}, {
|
|
228
227
|
abort: () => {
|
|
@@ -234,82 +233,82 @@ function N1(e, t, a, r, c) {
|
|
|
234
233
|
reset: () => {
|
|
235
234
|
r === 0 && (i == null || i(1, 0));
|
|
236
235
|
},
|
|
237
|
-
t: () =>
|
|
236
|
+
t: () => x()
|
|
238
237
|
};
|
|
239
238
|
}
|
|
240
|
-
var Q,
|
|
241
|
-
const
|
|
239
|
+
var Q, lt, vt, pt, ae;
|
|
240
|
+
const gt = class gt {
|
|
242
241
|
/** @param {ResizeObserverOptions} options */
|
|
243
242
|
constructor(t) {
|
|
244
|
-
|
|
243
|
+
it(this, pt);
|
|
245
244
|
/** */
|
|
246
|
-
|
|
245
|
+
it(this, Q, /* @__PURE__ */ new WeakMap());
|
|
247
246
|
/** @type {ResizeObserver | undefined} */
|
|
248
|
-
|
|
247
|
+
it(this, lt);
|
|
249
248
|
/** @type {ResizeObserverOptions} */
|
|
250
|
-
|
|
251
|
-
|
|
249
|
+
it(this, vt);
|
|
250
|
+
kt(this, vt, t);
|
|
252
251
|
}
|
|
253
252
|
/**
|
|
254
253
|
* @param {Element} element
|
|
255
254
|
* @param {(entry: ResizeObserverEntry) => any} listener
|
|
256
255
|
*/
|
|
257
256
|
observe(t, a) {
|
|
258
|
-
var r =
|
|
259
|
-
return r.add(a),
|
|
260
|
-
var c =
|
|
261
|
-
c.delete(a), c.size === 0 && (
|
|
257
|
+
var r = G(this, Q).get(t) || /* @__PURE__ */ new Set();
|
|
258
|
+
return r.add(a), G(this, Q).set(t, r), Pt(this, pt, ae).call(this).observe(t, G(this, vt)), () => {
|
|
259
|
+
var c = G(this, Q).get(t);
|
|
260
|
+
c.delete(a), c.size === 0 && (G(this, Q).delete(t), G(this, lt).unobserve(t));
|
|
262
261
|
};
|
|
263
262
|
}
|
|
264
263
|
};
|
|
265
|
-
Q = new WeakMap(),
|
|
266
|
-
return
|
|
264
|
+
Q = new WeakMap(), lt = new WeakMap(), vt = new WeakMap(), pt = new WeakSet(), ae = function() {
|
|
265
|
+
return G(this, lt) ?? kt(this, lt, new ResizeObserver(
|
|
267
266
|
/** @param {any} entries */
|
|
268
267
|
(t) => {
|
|
269
268
|
for (var a of t) {
|
|
270
|
-
|
|
271
|
-
for (var r of
|
|
269
|
+
gt.entries.set(a.target, a);
|
|
270
|
+
for (var r of G(this, Q).get(a.target) || [])
|
|
272
271
|
r(a);
|
|
273
272
|
}
|
|
274
273
|
}
|
|
275
274
|
));
|
|
276
275
|
}, /** @static */
|
|
277
|
-
|
|
278
|
-
let
|
|
279
|
-
var
|
|
276
|
+
Mt(gt, "entries", /* @__PURE__ */ new WeakMap());
|
|
277
|
+
let Vt = gt;
|
|
278
|
+
var Je = /* @__PURE__ */ new Vt({
|
|
280
279
|
box: "border-box"
|
|
281
280
|
});
|
|
282
|
-
function
|
|
283
|
-
var r =
|
|
284
|
-
|
|
281
|
+
function ht(e, t, a) {
|
|
282
|
+
var r = Je.observe(e, () => a(e[t]));
|
|
283
|
+
jt(() => (bt(() => a(e[t])), r));
|
|
285
284
|
}
|
|
286
|
-
function
|
|
287
|
-
|
|
288
|
-
const t =
|
|
285
|
+
function Qe(e) {
|
|
286
|
+
Lt === null && Ze(), je && Lt.l !== null ? Xe(Lt).m.push(e) : Ht(() => {
|
|
287
|
+
const t = bt(e);
|
|
289
288
|
if (typeof t == "function") return (
|
|
290
289
|
/** @type {() => void} */
|
|
291
290
|
t
|
|
292
291
|
);
|
|
293
292
|
});
|
|
294
293
|
}
|
|
295
|
-
function
|
|
294
|
+
function Xe(e) {
|
|
296
295
|
var t = (
|
|
297
296
|
/** @type {ComponentContextLegacy} */
|
|
298
297
|
e.l
|
|
299
298
|
);
|
|
300
299
|
return t.u ?? (t.u = { a: [], b: [], m: [] });
|
|
301
300
|
}
|
|
302
|
-
function
|
|
301
|
+
function Ye(e) {
|
|
303
302
|
const t = e - 1;
|
|
304
303
|
return t * t * t + 1;
|
|
305
304
|
}
|
|
306
|
-
function
|
|
307
|
-
const n = getComputedStyle(e), f = +n.opacity,
|
|
308
|
-
(
|
|
305
|
+
function Gt(e, { delay: t = 0, duration: a = 400, easing: r = Ye, axis: c = "y" } = {}) {
|
|
306
|
+
const n = getComputedStyle(e), f = +n.opacity, C = c === "y" ? "height" : "width", h = parseFloat(n[C]), o = c === "y" ? ["top", "bottom"] : ["left", "right"], i = o.map(
|
|
307
|
+
(s) => (
|
|
309
308
|
/** @type {'Left' | 'Right' | 'Top' | 'Bottom'} */
|
|
310
|
-
`${
|
|
309
|
+
`${s[0].toUpperCase()}${s.slice(1)}`
|
|
311
310
|
)
|
|
312
|
-
), p = parseFloat(n[`padding${i[0]}`]), u = parseFloat(n[`padding${i[1]}`]), d = parseFloat(n[`margin${i[0]}`]),
|
|
311
|
+
), p = parseFloat(n[`padding${i[0]}`]), u = parseFloat(n[`padding${i[1]}`]), d = parseFloat(n[`margin${i[0]}`]), x = parseFloat(n[`margin${i[1]}`]), g = parseFloat(
|
|
313
312
|
n[`border${i[0]}Width`]
|
|
314
313
|
), v = parseFloat(
|
|
315
314
|
n[`border${i[1]}Width`]
|
|
@@ -318,13 +317,13 @@ function O1(e, { delay: t = 0, duration: a = 400, easing: r = Y2, axis: c = "y"
|
|
|
318
317
|
delay: t,
|
|
319
318
|
duration: a,
|
|
320
319
|
easing: r,
|
|
321
|
-
css: (
|
|
320
|
+
css: (s) => `overflow: hidden;opacity: ${Math.min(s * 20, 1) * f};${C}: ${s * h}px;padding-${o[0]}: ${s * p}px;padding-${o[1]}: ${s * u}px;margin-${o[0]}: ${s * d}px;margin-${o[1]}: ${s * x}px;border-${o[0]}-width: ${s * g}px;border-${o[1]}-width: ${s * v}px;min-${C}: 0`
|
|
322
321
|
};
|
|
323
322
|
}
|
|
324
|
-
function
|
|
323
|
+
function ta(e) {
|
|
325
324
|
return e < 0.5 ? 4 * e * e * e : 0.5 * Math.pow(2 * e - 2, 3) + 1;
|
|
326
325
|
}
|
|
327
|
-
const $
|
|
326
|
+
const $t = (e) => {
|
|
328
327
|
const t = function(r) {
|
|
329
328
|
e.contains(r.relatedTarget) || e.dispatchEvent(new CustomEvent("focusoutside", { bubbles: !1 }));
|
|
330
329
|
}, a = function(r) {
|
|
@@ -336,100 +335,100 @@ const $1 = (e) => {
|
|
|
336
335
|
}
|
|
337
336
|
};
|
|
338
337
|
};
|
|
339
|
-
var
|
|
338
|
+
var ea = (e, t) => {
|
|
340
339
|
t(!t()), e.target.focus();
|
|
341
|
-
},
|
|
340
|
+
}, aa = k('<div tabindex="-1"><button aria-haspopup="true"><!></button> <!></div>');
|
|
342
341
|
function X(e, t) {
|
|
343
342
|
Y(t, !0);
|
|
344
|
-
let a =
|
|
345
|
-
var u =
|
|
346
|
-
d.__click = [
|
|
347
|
-
var
|
|
348
|
-
|
|
349
|
-
var g =
|
|
343
|
+
let a = V(t, "class", 7), r = V(t, "open", 15, !1), c = V(t, "as", 7, "div"), n = V(t, "transition", 7, Gt), f = V(t, "buttonClass", 7, ""), C = V(t, "contentClass", 7, ""), h = V(t, "autoCollapse", 7, !0), o = V(t, "buttonAriaLabel", 7), i = V(t, "button", 7), p = V(t, "children", 7);
|
|
344
|
+
var u = aa(), d = w(u);
|
|
345
|
+
d.__click = [ea, r];
|
|
346
|
+
var x = w(d);
|
|
347
|
+
It(x, () => i() ?? J), m(d);
|
|
348
|
+
var g = W(d, 2);
|
|
350
349
|
{
|
|
351
|
-
var v = (
|
|
352
|
-
var
|
|
353
|
-
|
|
354
|
-
let
|
|
355
|
-
|
|
356
|
-
var
|
|
357
|
-
|
|
358
|
-
}),
|
|
350
|
+
var v = (s) => {
|
|
351
|
+
var L = P(), b = T(L);
|
|
352
|
+
Be(b, c, !1, (M, A) => {
|
|
353
|
+
let S;
|
|
354
|
+
E(() => S = rt(M, S, { class: C() }, void 0, M.namespaceURI === Qt, M.nodeName.includes("-"))), Ke(3, M, n, () => ({ duration: 200, easing: ta }));
|
|
355
|
+
var N = P(), y = T(N);
|
|
356
|
+
It(y, () => p() ?? J), _(A, N);
|
|
357
|
+
}), _(s, L);
|
|
359
358
|
};
|
|
360
|
-
j(g, (
|
|
361
|
-
r() &&
|
|
359
|
+
j(g, (s) => {
|
|
360
|
+
r() && s(v);
|
|
362
361
|
});
|
|
363
362
|
}
|
|
364
|
-
return
|
|
365
|
-
|
|
366
|
-
}),
|
|
363
|
+
return m(u), qe(u, (s) => $t == null ? void 0 : $t(s)), E(() => {
|
|
364
|
+
ot(u, nt(a())), ot(d, nt(f())), q(d, "aria-expanded", r()), q(d, "aria-label", o());
|
|
365
|
+
}), Te("focusoutside", u, () => {
|
|
367
366
|
h() && r(!1);
|
|
368
|
-
}),
|
|
367
|
+
}), _(e, u), tt({
|
|
369
368
|
get class() {
|
|
370
369
|
return a();
|
|
371
370
|
},
|
|
372
|
-
set class(
|
|
373
|
-
a(
|
|
371
|
+
set class(s) {
|
|
372
|
+
a(s), Z();
|
|
374
373
|
},
|
|
375
374
|
get open() {
|
|
376
375
|
return r();
|
|
377
376
|
},
|
|
378
|
-
set open(
|
|
379
|
-
r(
|
|
377
|
+
set open(s = !1) {
|
|
378
|
+
r(s), Z();
|
|
380
379
|
},
|
|
381
380
|
get as() {
|
|
382
381
|
return c();
|
|
383
382
|
},
|
|
384
|
-
set as(
|
|
385
|
-
c(
|
|
383
|
+
set as(s = "div") {
|
|
384
|
+
c(s), Z();
|
|
386
385
|
},
|
|
387
386
|
get transition() {
|
|
388
387
|
return n();
|
|
389
388
|
},
|
|
390
|
-
set transition(
|
|
391
|
-
n(
|
|
389
|
+
set transition(s = Gt) {
|
|
390
|
+
n(s), Z();
|
|
392
391
|
},
|
|
393
392
|
get buttonClass() {
|
|
394
393
|
return f();
|
|
395
394
|
},
|
|
396
|
-
set buttonClass(
|
|
397
|
-
f(
|
|
395
|
+
set buttonClass(s = "") {
|
|
396
|
+
f(s), Z();
|
|
398
397
|
},
|
|
399
398
|
get contentClass() {
|
|
400
|
-
return
|
|
399
|
+
return C();
|
|
401
400
|
},
|
|
402
|
-
set contentClass(
|
|
403
|
-
|
|
401
|
+
set contentClass(s = "") {
|
|
402
|
+
C(s), Z();
|
|
404
403
|
},
|
|
405
404
|
get autoCollapse() {
|
|
406
405
|
return h();
|
|
407
406
|
},
|
|
408
|
-
set autoCollapse(
|
|
409
|
-
h(
|
|
407
|
+
set autoCollapse(s = !0) {
|
|
408
|
+
h(s), Z();
|
|
410
409
|
},
|
|
411
410
|
get buttonAriaLabel() {
|
|
412
411
|
return o();
|
|
413
412
|
},
|
|
414
|
-
set buttonAriaLabel(
|
|
415
|
-
o(
|
|
413
|
+
set buttonAriaLabel(s) {
|
|
414
|
+
o(s), Z();
|
|
416
415
|
},
|
|
417
416
|
get button() {
|
|
418
417
|
return i();
|
|
419
418
|
},
|
|
420
|
-
set button(
|
|
421
|
-
i(
|
|
419
|
+
set button(s) {
|
|
420
|
+
i(s), Z();
|
|
422
421
|
},
|
|
423
422
|
get children() {
|
|
424
423
|
return p();
|
|
425
424
|
},
|
|
426
|
-
set children(
|
|
427
|
-
p(
|
|
425
|
+
set children(s) {
|
|
426
|
+
p(s), Z();
|
|
428
427
|
}
|
|
429
428
|
});
|
|
430
429
|
}
|
|
431
|
-
|
|
432
|
-
|
|
430
|
+
He(["click"]);
|
|
431
|
+
U(
|
|
433
432
|
X,
|
|
434
433
|
{
|
|
435
434
|
class: {},
|
|
@@ -447,7 +446,7 @@ P(
|
|
|
447
446
|
[],
|
|
448
447
|
!0
|
|
449
448
|
);
|
|
450
|
-
const
|
|
449
|
+
const re = [
|
|
451
450
|
{
|
|
452
451
|
text: "About",
|
|
453
452
|
href: "https://uoguelph.ca/about"
|
|
@@ -471,10 +470,10 @@ const r2 = [
|
|
|
471
470
|
{
|
|
472
471
|
text: "Search the University of Guelph",
|
|
473
472
|
href: "https://uoguelph.ca/search",
|
|
474
|
-
icon:
|
|
473
|
+
icon: Fe,
|
|
475
474
|
excludeFromMainMenu: !0
|
|
476
475
|
}
|
|
477
|
-
],
|
|
476
|
+
], se = [
|
|
478
477
|
{
|
|
479
478
|
text: "Give",
|
|
480
479
|
href: "https://bbis.alumni.uoguelph.ca/BBIS_Cannon/give/uofg"
|
|
@@ -537,351 +536,371 @@ const r2 = [
|
|
|
537
536
|
href: "https://gryphlife.uoguelph.ca/"
|
|
538
537
|
}
|
|
539
538
|
],
|
|
540
|
-
icon:
|
|
539
|
+
icon: Pe,
|
|
541
540
|
excludeFromMainMenu: !0
|
|
542
541
|
}
|
|
543
542
|
];
|
|
544
|
-
var
|
|
545
|
-
function
|
|
546
|
-
Y(t, !1),
|
|
547
|
-
var a =
|
|
548
|
-
|
|
549
|
-
var f =
|
|
543
|
+
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 le(e, t) {
|
|
545
|
+
Y(t, !1), te();
|
|
546
|
+
var a = ia(), r = w(a);
|
|
547
|
+
I(r, 5, () => se, (c) => c.text || c.title, (c, n) => {
|
|
548
|
+
var f = na(), C = w(f);
|
|
550
549
|
{
|
|
551
550
|
var h = (i) => {
|
|
552
|
-
var p =
|
|
551
|
+
var p = ut(() => st("flex h-full items-center justify-center gap-2 px-2 transition-colors hover:bg-light-grey aria-expanded:bg-light-grey", l(n).icon && "[&_svg]:aria-expanded:rotate-180)} aspect-square")), u = ut(() => l(n).icon ? l(n).text : void 0);
|
|
553
552
|
X(i, {
|
|
554
553
|
class: "relative h-full",
|
|
555
554
|
get buttonClass() {
|
|
556
|
-
return
|
|
555
|
+
return l(p);
|
|
557
556
|
},
|
|
558
557
|
contentClass: "absolute right-0 top-full z-50 flex min-w-[20rem] flex-col bg-light-grey [&>li]:contents",
|
|
559
558
|
as: "ul",
|
|
560
559
|
get buttonAriaLabel() {
|
|
561
|
-
return
|
|
560
|
+
return l(u);
|
|
562
561
|
},
|
|
563
|
-
button: (
|
|
564
|
-
var g =
|
|
562
|
+
button: (x) => {
|
|
563
|
+
var g = sa(), v = w(g);
|
|
565
564
|
{
|
|
566
|
-
var
|
|
567
|
-
|
|
565
|
+
var s = (b) => {
|
|
566
|
+
O(b, {
|
|
568
567
|
get icon() {
|
|
569
|
-
return
|
|
568
|
+
return l(n).icon;
|
|
570
569
|
}
|
|
571
570
|
});
|
|
572
|
-
},
|
|
573
|
-
var
|
|
574
|
-
|
|
575
|
-
var
|
|
576
|
-
|
|
571
|
+
}, L = (b) => {
|
|
572
|
+
var M = ra(), A = T(M), S = w(A, !0);
|
|
573
|
+
E(() => H(S, l(n).text.toUpperCase())), m(A);
|
|
574
|
+
var N = W(A, 2);
|
|
575
|
+
O(N, { icon: xt }), _(b, M);
|
|
577
576
|
};
|
|
578
577
|
j(v, (b) => {
|
|
579
|
-
|
|
578
|
+
l(n).icon ? b(s) : b(L, !1);
|
|
580
579
|
});
|
|
581
580
|
}
|
|
582
|
-
|
|
581
|
+
m(g), E(() => St(g, "bg-yellow", l(n).highlight)), _(x, g);
|
|
583
582
|
},
|
|
584
|
-
children: (
|
|
585
|
-
var v =
|
|
586
|
-
|
|
587
|
-
var
|
|
588
|
-
let
|
|
589
|
-
var
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
class:
|
|
593
|
-
href:
|
|
594
|
-
...
|
|
595
|
-
}),
|
|
596
|
-
}),
|
|
597
|
-
}),
|
|
583
|
+
children: (x, g) => {
|
|
584
|
+
var v = P(), s = T(v);
|
|
585
|
+
I(s, 1, () => l(n).links, at, (L, b) => {
|
|
586
|
+
var M = la(), A = w(M);
|
|
587
|
+
let S;
|
|
588
|
+
var N = w(A, !0);
|
|
589
|
+
m(A), m(M), E(() => {
|
|
590
|
+
S = rt(A, S, {
|
|
591
|
+
class: st("border-0 border-b border-solid border-light-grey-500 p-2 transition-colors hover:bg-yellow", l(n).highlight && "bg-yellow"),
|
|
592
|
+
href: l(b).href,
|
|
593
|
+
...l(b).attributes
|
|
594
|
+
}), H(N, l(b).text);
|
|
595
|
+
}), _(L, M);
|
|
596
|
+
}), _(x, v);
|
|
598
597
|
},
|
|
599
598
|
$$slots: { button: !0, default: !0 }
|
|
600
599
|
});
|
|
601
600
|
}, o = (i) => {
|
|
602
|
-
var p =
|
|
603
|
-
const u =
|
|
601
|
+
var p = oa();
|
|
602
|
+
const u = ut(() => nt(st("flex h-full items-center justify-center gap-2 px-2 transition-colors hover:bg-light-grey", l(n).highlight && "bg-yellow")));
|
|
604
603
|
var d = w(p, !0);
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
}),
|
|
604
|
+
E(() => H(d, l(n).text.toUpperCase())), m(p), E(() => {
|
|
605
|
+
ot(p, l(u)), q(p, "href", l(n).href);
|
|
606
|
+
}), _(i, p);
|
|
608
607
|
};
|
|
609
|
-
j(
|
|
610
|
-
|
|
608
|
+
j(C, (i) => {
|
|
609
|
+
l(n).links ? i(h) : i(o, !1);
|
|
611
610
|
});
|
|
612
611
|
}
|
|
613
|
-
|
|
614
|
-
}),
|
|
612
|
+
m(f), _(c, f);
|
|
613
|
+
}), m(r), m(a), _(e, a), tt();
|
|
615
614
|
}
|
|
616
|
-
|
|
617
|
-
var
|
|
618
|
-
function
|
|
619
|
-
var t =
|
|
620
|
-
|
|
615
|
+
U(le, {}, [], [], !0);
|
|
616
|
+
var ca = _t('<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>');
|
|
617
|
+
function oe(e) {
|
|
618
|
+
var t = ca();
|
|
619
|
+
_(e, t);
|
|
621
620
|
}
|
|
622
|
-
|
|
623
|
-
var
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
621
|
+
U(oe, {}, [], [], !0);
|
|
622
|
+
var ua = _t(`<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
|
+
fill: #fff;
|
|
624
|
+
font-family: MyriadPro-Regular, 'Myriad Pro';
|
|
625
|
+
font-size: 44.28px;
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
.cls-2 {
|
|
629
|
+
fill: #e51937;
|
|
630
|
+
}</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 ne(e) {
|
|
632
|
+
var t = ua();
|
|
633
|
+
_(e, t);
|
|
627
634
|
}
|
|
628
|
-
|
|
629
|
-
var vt = m1('<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 260 141"><g fill="#fff"><path d="M223.87 71.503c-2.899.217-5.81.227-8.71.03-1.23-.07-1.43-.07-1.51 0-.08.08-.78.76-.64 1.16.05.14.17.22.38.25 2.21.26 2.72 1.11 2.72 4.51l.01 6.43H202.6l-.01-7.96c0-2.05 1.13-2.46 1.88-2.73.36-.13.64-.23.64-.5 0-.2.05-.39.1-.56.06-.22.11-.4.01-.52-.09-.11-.27-.11-.39-.1-3.56.32-6.38.13-7.89.02-.95-.06-1.11-.07-1.19 0-.08.08-.78.76-.64 1.16.05.14.17.22.38.25 2.19.26 2.69 1.1 2.69 4.51l.02 20.68c0 2.05-1.31 2.46-2.18 2.74-.43.13-.74.23-.74.5 0 .2-.05.39-.1.56-.06.22-.12.4-.01.53.09.11.27.11.39.1 3.55-.32 6.59-.13 8.23-.03l1.03.05c.18 0 .25-.02.29-.05.08-.08.78-.76.64-1.16-.05-.14-.17-.22-.38-.25-2.22-.26-2.76-1.15-2.76-4.52l-.01-10.13h13.52l.01 11.67c0 2.05-1.18 2.47-1.97 2.74-.37.13-.67.23-.67.5 0 .2-.05.39-.1.56-.06.22-.12.4-.01.53.09.11.27.11.39.1 3.54-.32 6.7-.13 8.39-.03 1.12.07 1.3.07 1.38 0 .08-.08.78-.76.64-1.16-.05-.14-.17-.22-.38-.25-2.22-.26-2.76-1.15-2.76-4.52l-.03-20.68c0-2.05 1.41-2.46 2.34-2.73.46-.13.79-.23.79-.5 0-.2.05-.39.1-.56.06-.22.11-.4.01-.52-.09-.13-.26-.13-.38-.12ZM75.39 92.043h.14c1.83 0 4.16 1.14 4.16 2.03v7.43l-.01.03c-.15.93-1.04 3.96-6.01 3.96h-.27c-6.34 0-9.27-3.61-10.61-6.67-3.1-7.05-.75-17.23 3.42-21.62 1.41-1.48 4.78-3.76 11.57-2.39 3.91.79 5.17 6.69 5.18 6.75l.02.11 1.46-.49.3-10.34-.02-.03c-.54-.73-1.43-.38-2.29-.04-.55.22-1.12.45-1.61.43-4.4-.9-15.18-2.15-20.31 5.73-5.35 7.02-6.38 17.7-2.46 25.38 2.62 5.14 7.02 7.95 12.41 7.95h.38c3.45 0 3.45 0 6.38-1.91l.36-.24c1.66-1.08 7.89-3.38 7.95-3.4l.07-.03v-10.47c0-1.75 3.02-2.45 3.05-2.46l.07-.02.16-1.47h-13l-.49 1.78Zm43.26-20.81c-2.23.21-5.93.09-8.15.02-1.96-.06-1.97-.05-2.03.01-.05.05-.53.54-.43.83.02.07.09.16.28.19 1.59.2 4.26 1.22 4.21 3.8l-.14 16.16a6.291 6.291 0 0 1-3.4 5.65 8.4 8.4 0 0 1-8.26-.04c-2.22-1.37-3.37-3.85-3.24-7l.02-14.85c0-2.22 1.24-2.67 2.06-2.96.39-.14.7-.25.7-.53 0-.22.06-.42.11-.61.07-.24.12-.43.01-.56-.1-.11-.27-.11-.4-.1-3.62.34-7.03.14-8.86.03-1.23-.07-1.43-.08-1.51 0-.08.08-.8.82-.66 1.25.03.1.13.22.39.26 2.13.27 3.22 1.1 3.22 4.88l-.03 15.45c.04 3 1.29 5.55 3.63 7.38a12.768 12.768 0 0 0 7.74 2.52h.1c5.78-.04 11.6-3.69 11.57-11.75-.01-2.7.16-16.36.16-16.5 0-1.38 1.4-1.81 2.33-2.1.49-.15.78-.24.78-.45 0-.13.03-.27.06-.39.05-.2.09-.38-.01-.49-.04-.08-.13-.11-.25-.1Zm49.72 23.14c0 .02-.45 1.91-1.87 3.4a5.292 5.292 0 0 1-2.82 1.49c-3.03.61-6.82.85-8.38-.3a1.797 1.797 0 0 1-.75-1.29c-.07-.71-.02-21.51-.02-21.72 0-2.05 1.52-2.47 2.52-2.74.49-.13.84-.23.84-.5 0-.2.05-.39.1-.56.06-.23.11-.41.01-.53-.09-.11-.26-.11-.37-.1-3.33.31-7.09.13-9.1.03-1.51-.07-1.69-.07-1.76 0-.08.08-.75.77-.61 1.17.03.09.12.21.36.24 2.03.25 3.13 1.05 3.13 4.53l.01 17.51c0 6.15-2.81 6.39-2.84 6.39l-.14.01.38 1.13h.08c.14 0 13.96-.46 17.78-.16l1.01.09c.55.05 1 .1 1.37.1.71 0 1.15-.16 1.43-.71.47-.94.77-7.33.78-7.6l.01-.13-1.13.18-.02.07Zm22.62-21.3c-2.69-2.16-9.17-1.66-14.39-1.26-1.58.12-3.08.24-4.23.25-.92-.05-1.01-.04-1.07.02-.08.08-.78.76-.64 1.16.05.14.17.22.38.25 2.28.27 2.86 1.2 2.86 4.51l.02 19.83c0 2.06-1.24 2.54-2.06 2.86-.4.16-.69.27-.69.53 0 .2-.05.39-.1.56-.06.22-.12.4-.01.53.09.11.27.11.39.1 3.52-.31 7.02-.13 8.91-.03.67.04 1.05.05 1.27.05.22 0 .28-.02.32-.05.09-.08.8-.93.64-1.4-.03-.1-.13-.24-.38-.26-2.16-.26-3.49-1.1-3.49-4.52l-.01-7.58c0-.28.07-.49.19-.6.08-.07.17-.1.29-.1l1.17.08c2.84.22 7.13.54 9.88-1.23a8.982 8.982 0 0 0 4.07-7.36 7.502 7.502 0 0 0-3.32-6.34Zm-5.32 12.41c-.74.35-1.6.53-2.55.53h-.03c-2.68-.01-3.68-.53-4.05-.96-.22-.26-.19-.47-.19-.49v-9.94c5.24-1.02 9.01.31 10.08 3.56a6.2 6.2 0 0 1-3.26 7.3Zm-41.49 8.66c-.36-.08-.77.3-1.26 1.15-.23.39-.42.77-.6 1.14-.95 1.9-1.63 3.28-6.08 3.28-5.31 0-6.98-.28-7.13-2.06-.15-1.77-.01-10.42 0-11.04.11-.14.78-.85 2.51-.85h3.07c.03 0 2.71.25 3.29 3.15.05.23.17.32.27.34.4.12 1.07-.53 1.14-.6l.03-.03v-6.23a.9.9 0 0 0-.42-.56c-.22-.12-.48-.12-.78-.02l-.05.02-.02.05c-.37 1.29-1.61 1.35-3.77 1.35-2.03 0-4.69.36-5.28.45v-9.01h8.36c.03 0 3.47.19 4.21 3.15.3 1.2.71 1.53 1 1.6.23.06.46-.03.66-.25.4-.46.62-1.48.23-2.49-.75-1.96-.76-5.32-.76-5.35v-.12l-2.34.24h-18.48c-.9 0-1.48.21-1.71.61-.28.49.06 1.06.08 1.09l.03.05h.06c.01 0 1.43-.04 2.54 1.03.9.86 1.35 2.19 1.35 3.95l.02 19.48c0 2.18-1.26 2.71-2.09 3.07-.32.14-.58.24-.67.42-.37.68-.45 1.01-.33 1.21.12.2.43.19.85.18l.34-.01c.12 0 11.68-.3 18.38 0 .24.01.5.07.78.13.31.07.65.15.96.15.44 0 .84-.14 1.12-.64.73-1.27 1.08-6.59 1.09-6.84.02-.11-.09-1.08-.6-1.19Zm-112.71-2.48a2.7 2.7 0 0 0 1.63.49c.64 0 1.27-.16 1.78-.31 2.22-.67 4.81-4.4 4.81-8.21 0-2.16-.77-3.56-2.18-3.93-1.92-.51-4.54 1.08-5.98 3.61-.66 1.17-1.45 2.88-1.44 4.4.03 1.97.49 3.3 1.38 3.95Zm1.87-7.19c.69-1.26 1.56-2.12 2.41-2.36.16-.04.31-.07.46-.07.25 0 .49.06.7.19 1.05.6.85 3.15-.04 4.74-.92 1.64-1.85 2.76-3.39 2.89-.42.03-.74-.11-.95-.43-.59-.9-.24-3.03.81-4.96Z"></path><path d="M54.37 70.083a1.75 1.75 0 0 0-1.3-.22c-5.09.98-7.12 5.32-8.59 10.12-.76.01-1.57-.01-2.44-.06a.37.37 0 0 0-.3.14.37.37 0 0 0-.06.32l.16.51c.16.49.61.82 1.12.82h1.01l-.36 1.29c-1.78 6.44-4.08 12.88-11.28 12.12-.17-.02-.38-.1-.49.02a.52.52 0 0 0-.14.46l.06.38c.03.17.17.3.35.34 4.6 1.11 8.46-1.54 10.22-3.88 1.93-2.56 3.11-6.01 3.94-9.51l.29-1.22c2.76-.03 3.05.16 3.23.28.11.08.2.12.48.12.08 0 .15-.04.19-.1a.23.23 0 0 0 .04-.21l-.35-1.09a1.1 1.1 0 0 0-1.05-.76l-2.09.01c.91-3.38 2.09-6.26 4.64-7.44h.01l.03-.01c.6-.29.85-.26.95-.18.19.14.12.62.05 1.04-.08.51-.16 1.04.14 1.26.24.18.66.1 1.33-.23l.05-.02.64-3.46v-.02a1.19 1.19 0 0 0-.48-.82Zm-17.48-38.41c-2.72.26-7.37.11-10.15.03-2.33-.07-2.48-.07-2.54 0-.08.08-.64.76-.51 1.13.03.09.11.19.31.22.97.12 2.43.5 3.6 1.21 1.47.88 2.2 2.05 2.18 3.47l.02 20.02a8.34 8.34 0 0 1-4.62 7.34 10.58 10.58 0 0 1-10.28-.61c-2.85-1.88-4.28-5.03-4.03-8.86l.02-18.32c0-2.74 1.66-3.39 2.76-3.82.52-.2.89-.35.89-.67 0-.3.09-.52.15-.69.06-.16.11-.28.03-.38-.08-.1-.24-.1-.49-.08-4.43.42-8.59.17-10.83.04-1.47-.09-1.74-.1-1.83-.01a1.192 1.192 0 0 1-.11.1c-.39.35-.79.75-.69 1.06.05.15.2.24.46.27 2.66.33 4.01 1.35 4.01 6l-.04 19.47a11.16 11.16 0 0 0 5.99 10.04 15.78 15.78 0 0 0 7.52 1.83c3.03 0 6.09-.79 8.6-2.35 4.23-2.63 6.43-7.03 6.21-12.4-.14-3.3-.06-19.76-.05-19.93 0-1.71 1.66-2.24 2.76-2.6.56-.18.9-.29.9-.52 0-.17.04-.32.08-.46.05-.19.09-.34 0-.45-.08-.09-.22-.09-.32-.08Zm31.25.33c-2.11.2-5.62.09-7.71.02-1.86-.06-1.87-.05-1.93.01-.08.08-.51.71-.4 1.04.04.11.13.18.26.19 1.59.2 4.26.84 4.26 2.9l-.04 18.56c-.39-.34-1.81-2.07-6.57-8.89-4.45-6.37-9.53-13.91-9.59-13.99l-.04-.06-.07.03c-.03.01-.89.29-6.41-.16h-.04l-.03.02c-.19.13-1.13.82-1.02 1.23.04.15.19.23.45.25 3.89.32 3.87 1.6 3.84 5.01l-.01 1.12-.03 19.66c0 1.31-1.77 1.88-2.83 2.22-.61.2-.92.3-.92.49 0 .11-.02.25-.05.41-.06.33-.11.65.03.8.04.04.11.09.22.08 2.11-.2 5.9-.09 8.17-.02 2.05.06 2.06.05 2.12 0 .1-.1.51-.83.39-1.18a.3.3 0 0 0-.25-.2c-1.53-.19-4.11-.82-4.11-2.9l-.02-18.38c1.67 2.12 14.64 18.74 16.1 23.73.01.03.2.69.64.79l.11.01c.21 0 .42-.13.65-.38.4-.46.61-.54.84-.63.12-.05.25-.1.41-.2.57-.36.58-.64.62-1.26v-.05l-.02-26.53c0-1.31 1.45-1.9 2.41-2.29.51-.2.79-.32.79-.51 0-.12.03-.25.06-.37.05-.2.09-.37-.01-.48-.06-.08-.15-.1-.27-.09Zm190.77.11c-2.24.21-5.84.09-8 .02-1.82-.06-1.9-.05-1.96 0-.05.05-.52.54-.42.83.02.07.09.16.28.18h.32a3.37 3.37 0 0 1 2.69 1.82c.29.66.24 1.37-.14 2.06l-5.87 9.71-5.32-9.2c-.66-1.32-.78-2.62-.33-3.47.31-.58.85-.92 1.61-1.01l.59-.01c.19-.02.26-.12.29-.19.11-.31-.4-.82-.45-.88-.06-.06-.15-.07-2.25 0-2.45.07-6.55.2-8.95-.03-.16-.01-.27.02-.33.1-.11.14-.04.37.06.66l.05.16c.05.16.24.2.52.27.65.15 1.86.42 2.87 2.4l8.42 15.59.07 6.72c-.02 2.86-1.3 3.1-2.06 3.24-.33.06-.62.12-.62.4 0 .23-.06.45-.11.64-.07.25-.12.45-.01.58.1.12.28.11.41.1 3.85-.36 6.9-.14 8.55-.03.51.04.82.06 1 .06.18 0 .24-.02.28-.06.03-.03.84-.85.69-1.3-.05-.15-.18-.23-.4-.26-2.34-.29-2.96-1.34-3-5.07l.02-6.27 8.15-14.59a4.48 4.48 0 0 1 2.93-1.99c.4-.11.64-.17.64-.37 0-.13.04-.26.07-.38.04-.16.08-.29 0-.39-.08-.05-.21-.05-.29-.04Zm-56.72 29.22c-2.04-.25-3.14-1.05-3.14-4.51l-.03-20.51c0-2.05 1.36-2.51 2.26-2.82.44-.15.75-.26.75-.52 0-.2.05-.39.1-.56.06-.22.11-.4.01-.52-.09-.11-.25-.1-.37-.09-3.31.31-7 .13-8.97.03-1.47-.07-1.65-.07-1.72 0-.08.08-.74.76-.61 1.16.03.09.12.21.36.24 1.83.23 4 1.26 4 4.88l.02 20.25c0 2.05-1.25 2.46-2.07 2.74-.39.13-.7.23-.7.49 0 .2-.05.39-.1.56-.06.22-.11.4-.01.52.09.11.25.1.37.09 3.35-.31 6.5-.13 8.19-.03l1.11.05c.19 0 .26-.02.29-.05.08-.08.74-.76.61-1.16-.03-.09-.11-.21-.35-.24Zm-21.78-17.36c-.55-.07-1.2-.17-1.83-.36-1.75-.53-4.74-1.82-5.21-4.44-.08-.45-.06-.92.06-1.42.47-1.98 2.52-4.07 6.74-3.44 4.01.6 6.03 3.03 6.01 5.18 0 .1.09.17.18.14l1.15-.34a.28.28 0 0 0 .21-.31 45.093 45.093 0 0 1-.43-4.05c0-.9.24-2.21.38-2.91.15-.73-.06-.56-.06-.56-1.01.52-2.81.26-4.71-.01-1.35-.2-2.74-.4-3.85-.3-6.38.3-9.96 4.51-10.21 8.51a7.117 7.117 0 0 0 1.81 5.22c1.44 1.62 3.65 2.73 6.39 3.21 4.42.97 6.92 2.06 7.48 5.09a5.61 5.61 0 0 1-.19 2.79c-1.2 3.54-4.86 4.11-7.89 3.45-5.15-1.11-7.06-4.52-6.85-7.49 0-.06-.05-.1-.1-.08l-1.51.51a.2.2 0 0 0-.14.21c.17 1.52.35 4.23.03 5.51-.09.37.1.88.53 1.44 1.41 1.81 4.06 3.48 8.5 3.48l.46.01c7.8 0 11.72-4.79 12.07-9.32.31-4.22-2.35-8.84-9.02-9.72Zm48.36-12.05c-.18-.19-.44-.27-.81-.25-.38.02-.86.14-1.47.37-.12.04-.25.07-.37.07h-18.08a.966.966 0 0 1-.37-.07c-1.17-.43-1.83-.49-2.2-.2-.28.22-.39.63-.32 1.29.08.81.04 3.31.01 4.81l-.01 1.04c0 .97.32 1.19.58 1.22.48.05 1.04-.64 1.14-1.2.67-4.02 2.41-3.98 5.29-3.9l1.31.02c1.05 0 1.41.95 1.41 1.39l.01 20.68c0 2.36-1.51 3.03-2.52 3.47-.47.21-.82.36-.82.64 0 .23-.06.45-.11.64-.07.25-.12.45-.01.58.1.12.28.11.41.1 3.82-.36 7.51-.15 9.49-.03.68.04 1.07.06 1.3.06.22 0 .29-.02.33-.06.03-.03.85-.86.69-1.31-.05-.15-.18-.23-.4-.26-2.25-.28-3.56-1.18-3.6-4.98v-19.47c0-.56.39-1.46 1.42-1.46l1.31-.02h.14c2.73-.07 4.11-.11 4.78 3.9.06.33.27.7.54.95.26.23.53.31.75.21.28-.13.43-.52.43-1.18l-.01-1.04c-.02-1.5-.07-4 .01-4.81.05-.58-.02-.96-.25-1.2Zm-117.3-.08c-2.09.2-5.38.09-7.34.02-1.72-.06-1.73-.05-1.78.01-.09.09-.5.74-.39 1.07.04.11.13.18.26.19h.3c.13 0 .24.01.34.04 2.09.5 2.57 3.23 2.12 5.56-.13.68-.35 1.39-.67 2.19l-5.39 13.52-6.32-15.09c-.7-1.83-1.28-3.68-.7-4.79.31-.59.94-.99 1.91-1.23l.69-.09c.13-.02.23-.09.26-.2.12-.35-.32-1.04-.42-1.13-.06-.06-.07-.07-2.26 0-2.42.07-6.48.18-8.71-.02-.12-.01-.2.02-.26.08-.11.12-.06.33-.01.56.03.14.06.28.06.4 0 .19.2.29.54.47.59.31 1.57.83 2.29 2.19 1.01 1.9 11.24 27.73 11.34 27.99.2.63.44.96.72.97h.02c.24 0 .45-.22.64-.66l1.45-3.97c2.76-7.57 8.51-23.33 9.22-24.71a4.195 4.195 0 0 1 1.86-1.94c.25-.14.42-.23.42-.41 0-.11.03-.25.05-.38.05-.24.09-.44-.02-.56-.03-.06-.11-.09-.22-.08Zm26.02 22.93c-.29-.11-.68.12-1.2.71-.12.14-.23.36-.36.65-.58 1.27-1.67 3.64-6.62 3.76-5.36.13-6.96-.33-7.1-2.05-.14-1.73-.01-10.14 0-11 1.96-.59 5.7-.99 5.73-.99 2.21-.1 3 2.33 3.12 3.28.05.44.24.59.38.65.19.08.43.02.64-.16.25-.21.47-.6.4-.98-.08-.39-.02-1.28.05-2.32.14-2.03.29-4.34-.44-4.69-.26-.13-.59-.01-1.01.38-.57.85-1.3 1.49-3 1.8-1.51.28-5.19.56-5.86.61v-9.43c1.05.14 2.34.06 3.7-.03 3.57-.23 7.62-.49 9.13 3.16.36 1.14.73 1.31.98 1.25.49-.12.78-1.29.59-2.37-.38-2.07-.76-5.32-.77-5.36l-.02-.14-.12.06c-.56.28-11 .24-16.61.22h-3.96c-1.45 0-1.63 1.45-1.63 1.47l-.01.11h.11c.02.01 1.43 0 2.54 1.09.89.88 1.34 2.22 1.34 3.97l-.07 19.35c0 2.05-1.42 2.57-2.36 2.91-.45.16-.78.28-.78.54 0 .64.64 1.48 1.32 1.48h18.29c.26 0 .58.08.92.16.37.09.74.17 1.06.17.22 0 .41-.04.56-.15a.783.783 0 0 0 .31-.58c.18-1.42 1.06-6.68 1.07-6.75.02-.07.02-.65-.32-.78Zm-55.71 6.63c-2.33-.29-3.16-1.5-3.16-4.64l-.03-20.62c0-2.06 1.37-2.47 2.27-2.74.44-.13.76-.23.76-.49 0-.2.05-.39.1-.56.06-.22.11-.4.01-.52-.09-.11-.25-.1-.37-.09-3.33.31-7.03.13-9.02.03-1.48-.07-1.65-.07-1.73 0-.08.08-.75.76-.61 1.16.03.09.12.21.36.24 1.84.23 4.02 1.26 4.02 4.89l.04 20.24c0 2.06-1.25 2.53-2.08 2.83-.4.15-.7.26-.7.52 0 .2-.05.39-.1.56-.06.22-.11.4-.01.52.09.11.25.1.37.09 3.36-.32 6.53-.13 8.23-.03l1.11.05c.19 0 .26-.02.29-.05.08-.08.75-.77.61-1.16-.03-.09-.12-.2-.36-.23Zm61.64-24.69c.02.68.14 22.03.14 22.24-.12 1.84-1.44 2.23-2.31 2.49-.43.13-.75.22-.75.47 0 .18-.05.35-.09.51-.06.2-.11.37-.01.49.09.11.25.11.36.09 3.2-.29 6.66-.12 8.52-.03 1.38.07 1.53.07 1.61 0 .07-.07.72-.7.59-1.07-.03-.09-.12-.2-.35-.23-1.98-.24-3.29-1.03-3.29-4.12v-10.03c1.25.14 1.86-.04 2.35.07 1.47.33 3.44 1.9 5.81 6.12.66 1.17 3.73 6.59 3.59 7.42-.06.35-.55.4-.89.45-.29.05-.56.09-.56.32 0 .18-.05.35-.09.51-.06.2-.11.37-.01.49.09.11.25.11.36.09 3.2-.29 6.58-.12 8.44-.03.69.03.04.05.26.05s.28-.02.32-.05c.07-.07.72-.7.59-1.07-.03-.09-.12-.2-.35-.23-2.04-.24-2.68-1.13-4.98-4.08-.61-.88-1.2-1.79-1.77-2.68-1.84-2.87-3.34-6.42-5.42-8 3.1-.31 4.53-2.03 5.55-3.23a8.04 8.04 0 0 0 1.89-5.57 6.532 6.532 0 0 0-1.95-4.4 7.24 7.24 0 0 0-5.33-1.78c-3.2.11-10.31.02-13.73-.23-.95-.07-1.61-.04-1.99.3-.24.22-.35.56-.35 1.07v.09l.09.01c-.01.02 3.68.53 3.75 3.55Zm4.41-1.92 4.1-.21c2.46-.21 4.53.79 5.55 2.67a4.762 4.762 0 0 1-.38 5.21c-1.66 2.13-5.04 2.75-9.27 1.7v-9.37Z"></path></g></svg>');
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
635
|
+
U(ne, {}, [], [], !0);
|
|
636
|
+
var va = _t(`<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
|
+
fill: #fff;
|
|
638
|
+
font-family: MyriadPro-Regular, 'Myriad Pro';
|
|
639
|
+
font-size: 44.28px;
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
.cls-2 {
|
|
643
|
+
fill: #e51937;
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
.cls-3 {
|
|
647
|
+
letter-spacing: 0em;
|
|
648
|
+
}</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 ie(e) {
|
|
650
|
+
var t = va();
|
|
651
|
+
_(e, t);
|
|
633
652
|
}
|
|
634
|
-
|
|
635
|
-
var
|
|
636
|
-
function
|
|
653
|
+
U(ie, {}, [], [], !0);
|
|
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>'), ha = k('<div class="flex w-fit"><!> <a href="https://www.uoguelph.ca" aria-label="University of Guelph Home Page"><!></a></div>');
|
|
655
|
+
function ce(e, t) {
|
|
637
656
|
Y(t, !0);
|
|
638
|
-
const [a, r] =
|
|
639
|
-
let n =
|
|
640
|
-
const f =
|
|
641
|
-
var
|
|
657
|
+
const [a, r] = mt(), c = () => wt(f, "$headerState", a);
|
|
658
|
+
let n = V(t, "variant", 7);
|
|
659
|
+
const f = Tt("header-state");
|
|
660
|
+
var C = ha(), h = w(C);
|
|
642
661
|
{
|
|
643
662
|
var o = (v) => {
|
|
644
|
-
var
|
|
645
|
-
|
|
663
|
+
var s = fa(), L = w(s);
|
|
664
|
+
oe(L), m(s), _(v, s);
|
|
646
665
|
};
|
|
647
666
|
j(h, (v) => {
|
|
648
|
-
var
|
|
649
|
-
((
|
|
667
|
+
var s;
|
|
668
|
+
((s = c()) == null ? void 0 : s.mode) === "desktop" && v(o);
|
|
650
669
|
});
|
|
651
670
|
}
|
|
652
|
-
var i =
|
|
653
|
-
const p =
|
|
654
|
-
var v;
|
|
655
|
-
return
|
|
671
|
+
var i = W(h, 2);
|
|
672
|
+
const p = Xt(() => {
|
|
673
|
+
var v, s;
|
|
674
|
+
return nt(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", ((v = c()) == null ? void 0 : v.mode) === "desktop" ? "[&>svg]:h-22" : ((s = c()) == null ? void 0 : s.variant) === "dual-brand" ? "[&>svg]:h-[7.5rem] px-2" : "[&>svg]:h-[5rem]"));
|
|
656
675
|
});
|
|
657
676
|
var u = w(i);
|
|
658
677
|
{
|
|
659
678
|
var d = (v) => {
|
|
660
|
-
|
|
661
|
-
},
|
|
662
|
-
|
|
679
|
+
ie(v);
|
|
680
|
+
}, x = (v) => {
|
|
681
|
+
ne(v);
|
|
663
682
|
};
|
|
664
683
|
j(u, (v) => {
|
|
665
|
-
var
|
|
666
|
-
((
|
|
684
|
+
var s;
|
|
685
|
+
((s = c()) == null ? void 0 : s.mode) === "desktop" ? v(d) : v(x, !1);
|
|
667
686
|
});
|
|
668
687
|
}
|
|
669
|
-
|
|
670
|
-
var g =
|
|
688
|
+
m(i), m(C), E(() => ot(i, l(p))), _(e, C);
|
|
689
|
+
var g = tt({
|
|
671
690
|
get variant() {
|
|
672
691
|
return n();
|
|
673
692
|
},
|
|
674
693
|
set variant(v) {
|
|
675
|
-
n(v),
|
|
694
|
+
n(v), Z();
|
|
676
695
|
}
|
|
677
696
|
});
|
|
678
697
|
return r(), g;
|
|
679
698
|
}
|
|
680
|
-
|
|
681
|
-
var
|
|
682
|
-
function
|
|
683
|
-
var t =
|
|
684
|
-
|
|
699
|
+
U(ce, { variant: {} }, [], [], !0);
|
|
700
|
+
var da = _t('<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>');
|
|
701
|
+
function ue(e) {
|
|
702
|
+
var t = da();
|
|
703
|
+
_(e, t);
|
|
685
704
|
}
|
|
686
|
-
|
|
687
|
-
var
|
|
688
|
-
function
|
|
689
|
-
var t =
|
|
690
|
-
|
|
691
|
-
var c =
|
|
705
|
+
U(ue, {}, [], [], !0);
|
|
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 ve(e) {
|
|
708
|
+
var t = xa();
|
|
709
|
+
I(t, 5, () => re, at, (a, r) => {
|
|
710
|
+
var c = ba(), n = w(c);
|
|
692
711
|
{
|
|
693
712
|
var f = (h) => {
|
|
694
|
-
var o =
|
|
695
|
-
|
|
713
|
+
var o = pa(), i = w(o);
|
|
714
|
+
O(i, {
|
|
696
715
|
get icon() {
|
|
697
|
-
return
|
|
716
|
+
return l(r).icon;
|
|
698
717
|
}
|
|
699
|
-
}),
|
|
700
|
-
|
|
701
|
-
}),
|
|
702
|
-
},
|
|
703
|
-
var o =
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
}),
|
|
718
|
+
}), m(o), E(() => {
|
|
719
|
+
q(o, "href", l(r).href), q(o, "aria-label", l(r).text);
|
|
720
|
+
}), _(h, o);
|
|
721
|
+
}, C = (h) => {
|
|
722
|
+
var o = ga(), i = w(o, !0);
|
|
723
|
+
m(o), E(() => {
|
|
724
|
+
q(o, "href", l(r).href), H(i, l(r).text);
|
|
725
|
+
}), _(h, o);
|
|
707
726
|
};
|
|
708
727
|
j(n, (h) => {
|
|
709
|
-
|
|
728
|
+
l(r).icon ? h(f) : h(C, !1);
|
|
710
729
|
});
|
|
711
730
|
}
|
|
712
|
-
|
|
713
|
-
}),
|
|
731
|
+
m(c), _(a, c);
|
|
732
|
+
}), m(t), _(e, t);
|
|
714
733
|
}
|
|
715
|
-
|
|
716
|
-
var
|
|
717
|
-
function
|
|
718
|
-
const t = [...
|
|
719
|
-
var c =
|
|
720
|
-
|
|
721
|
-
var i =
|
|
734
|
+
U(ve, {}, [], [], !0);
|
|
735
|
+
var _a = k('<li class="[&>*]:first:mt-4 [&>*]:last:mb-4"><a class="border-0 border-b border-solid border-light-grey-500 p-4 transition-colors hover:bg-yellow"> </a></li>'), ma = 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>'), wa = k("<li><!></li>"), ya = 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-light-grey-500 p-2 transition-colors hover:bg-light-grey focus:bg-light-grey"> </a>'), ka = k('<li class="[&>*]:first:mt-4 [&>*]:last:mb-4"><!></li>'), La = k('<ul class="flex h-full [&>li]:contents"><!> <li><!></li></ul>');
|
|
736
|
+
function fe(e) {
|
|
737
|
+
const t = [...re, ...se], a = t.filter((h) => !(h != null && h.excludeFromMainMenu)), r = t.filter((h) => h == null ? void 0 : h.excludeFromMainMenu);
|
|
738
|
+
var c = La(), n = w(c);
|
|
739
|
+
I(n, 1, () => r, (h) => h.text || h.title, (h, o) => {
|
|
740
|
+
var i = wa(), p = w(i);
|
|
722
741
|
{
|
|
723
|
-
var u = (
|
|
724
|
-
var g =
|
|
725
|
-
X(
|
|
726
|
-
class: "h-full",
|
|
742
|
+
var u = (x) => {
|
|
743
|
+
var g = ut(() => l(o).icon ? l(o).text : void 0);
|
|
744
|
+
X(x, {
|
|
745
|
+
class: "h-full w-fit",
|
|
727
746
|
get buttonAriaLabel() {
|
|
728
|
-
return
|
|
747
|
+
return l(g);
|
|
729
748
|
},
|
|
730
749
|
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",
|
|
731
750
|
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",
|
|
732
751
|
as: "ul",
|
|
733
|
-
button: (
|
|
734
|
-
|
|
752
|
+
button: (s) => {
|
|
753
|
+
O(s, {
|
|
735
754
|
get icon() {
|
|
736
|
-
return
|
|
755
|
+
return l(o).icon;
|
|
737
756
|
}
|
|
738
757
|
});
|
|
739
758
|
},
|
|
740
|
-
children: (
|
|
741
|
-
var b =
|
|
742
|
-
|
|
743
|
-
var
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
}),
|
|
747
|
-
}),
|
|
759
|
+
children: (s, L) => {
|
|
760
|
+
var b = P(), M = T(b);
|
|
761
|
+
I(M, 1, () => l(o).links, at, (A, S) => {
|
|
762
|
+
var N = _a(), y = w(N), $ = w(y, !0);
|
|
763
|
+
m(y), m(N), E(() => {
|
|
764
|
+
q(y, "href", l(S).href), H($, l(S).text);
|
|
765
|
+
}), _(A, N);
|
|
766
|
+
}), _(s, b);
|
|
748
767
|
},
|
|
749
768
|
$$slots: { button: !0, default: !0 }
|
|
750
769
|
});
|
|
751
|
-
}, d = (
|
|
752
|
-
var g =
|
|
753
|
-
|
|
770
|
+
}, d = (x) => {
|
|
771
|
+
var g = ma(), v = w(g);
|
|
772
|
+
O(v, {
|
|
754
773
|
get icon() {
|
|
755
|
-
return
|
|
774
|
+
return l(o).icon;
|
|
756
775
|
}
|
|
757
|
-
}),
|
|
758
|
-
|
|
759
|
-
}),
|
|
776
|
+
}), m(g), E(() => {
|
|
777
|
+
q(g, "href", l(o).href), q(g, "aria-label", l(o).text);
|
|
778
|
+
}), _(x, g);
|
|
760
779
|
};
|
|
761
|
-
j(p, (
|
|
762
|
-
|
|
780
|
+
j(p, (x) => {
|
|
781
|
+
l(o).links ? x(u) : x(d, !1);
|
|
763
782
|
});
|
|
764
783
|
}
|
|
765
|
-
|
|
784
|
+
m(i), _(h, i);
|
|
766
785
|
});
|
|
767
|
-
var f =
|
|
768
|
-
X(
|
|
769
|
-
class: "h-full",
|
|
786
|
+
var f = W(n, 2), C = w(f);
|
|
787
|
+
X(C, {
|
|
788
|
+
class: "h-full w-fit",
|
|
770
789
|
buttonAriaLabel: "Main Menu",
|
|
771
790
|
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",
|
|
772
791
|
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",
|
|
773
792
|
as: "ul",
|
|
774
793
|
button: (o) => {
|
|
775
|
-
|
|
794
|
+
O(o, { icon: Yt });
|
|
776
795
|
},
|
|
777
796
|
children: (o, i) => {
|
|
778
|
-
var p =
|
|
779
|
-
|
|
780
|
-
var g =
|
|
797
|
+
var p = P(), u = T(p);
|
|
798
|
+
I(u, 1, () => a, at, (d, x) => {
|
|
799
|
+
var g = ka(), v = w(g);
|
|
781
800
|
{
|
|
782
|
-
var
|
|
801
|
+
var s = (b) => {
|
|
783
802
|
X(b, {
|
|
784
803
|
class: "relative w-full",
|
|
785
804
|
buttonClass: "flex border-0 border-b border-solid border-light-grey-500 w-full items-center justify-between gap-2 p-2 transition-colors hover:bg-light-grey focus:bg-light-grey aria-expanded:bg-light-grey [&_svg]:aria-expanded:rotate-180",
|
|
786
805
|
contentClass: "flex flex-col w-full flex-col bg-white text-black [&>li]:contents",
|
|
787
806
|
as: "ul",
|
|
788
807
|
autoCollapse: !1,
|
|
789
|
-
button: (
|
|
790
|
-
var
|
|
791
|
-
|
|
792
|
-
var $ =
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
}),
|
|
808
|
+
button: (A) => {
|
|
809
|
+
var S = ya(), N = w(S), y = w(N, !0);
|
|
810
|
+
m(N);
|
|
811
|
+
var $ = W(N, 2);
|
|
812
|
+
O($, { icon: xt }), m(S), E(() => {
|
|
813
|
+
St(S, "bg-yellow", l(x).highlight), H(y, l(x).text);
|
|
814
|
+
}), _(A, S);
|
|
796
815
|
},
|
|
797
|
-
children: (
|
|
798
|
-
var
|
|
799
|
-
|
|
800
|
-
var B =
|
|
801
|
-
let
|
|
802
|
-
var
|
|
803
|
-
|
|
804
|
-
|
|
816
|
+
children: (A, S) => {
|
|
817
|
+
var N = P(), y = T(N);
|
|
818
|
+
I(y, 1, () => l(x).links, at, ($, R) => {
|
|
819
|
+
var B = Ma(), z = w(B);
|
|
820
|
+
let F;
|
|
821
|
+
var yt = w(z, !0);
|
|
822
|
+
m(z), m(B), E(() => {
|
|
823
|
+
F = rt(z, F, {
|
|
805
824
|
class: "border-0 border-b border-solid border-light-grey-500 p-2 transition-colors hover:bg-light-grey",
|
|
806
|
-
href:
|
|
807
|
-
...
|
|
808
|
-
}),
|
|
809
|
-
}),
|
|
810
|
-
}),
|
|
825
|
+
href: l(R).href,
|
|
826
|
+
...l(R).attributes
|
|
827
|
+
}), H(yt, l(R).text);
|
|
828
|
+
}), _($, B);
|
|
829
|
+
}), _(A, N);
|
|
811
830
|
},
|
|
812
831
|
$$slots: { button: !0, default: !0 }
|
|
813
832
|
});
|
|
814
|
-
},
|
|
815
|
-
var
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
}),
|
|
833
|
+
}, L = (b) => {
|
|
834
|
+
var M = Ca(), A = w(M, !0);
|
|
835
|
+
m(M), E(() => {
|
|
836
|
+
q(M, "href", l(x).href), St(M, "bg-yellow", l(x).highlight), H(A, l(x).text);
|
|
837
|
+
}), _(b, M);
|
|
819
838
|
};
|
|
820
839
|
j(v, (b) => {
|
|
821
|
-
|
|
840
|
+
l(x).links ? b(s) : b(L, !1);
|
|
822
841
|
});
|
|
823
842
|
}
|
|
824
|
-
|
|
825
|
-
}),
|
|
843
|
+
m(g), _(d, g);
|
|
844
|
+
}), _(o, p);
|
|
826
845
|
},
|
|
827
846
|
$$slots: { button: !0, default: !0 }
|
|
828
|
-
}),
|
|
847
|
+
}), m(f), m(c), _(e, c);
|
|
829
848
|
}
|
|
830
|
-
|
|
831
|
-
var $
|
|
832
|
-
function
|
|
849
|
+
U(fe, {}, [], [], !0);
|
|
850
|
+
var $a = 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>'), Aa = k('<nav aria-label="Primary"><!> <!></nav>');
|
|
851
|
+
function he(e, t) {
|
|
833
852
|
Y(t, !1);
|
|
834
|
-
const [a, r] =
|
|
835
|
-
|
|
836
|
-
var f =
|
|
837
|
-
const
|
|
853
|
+
const [a, r] = mt(), c = () => wt(n, "$headerState", a), n = Tt("header-state");
|
|
854
|
+
te();
|
|
855
|
+
var f = Aa();
|
|
856
|
+
const C = ut(() => {
|
|
838
857
|
var u;
|
|
839
|
-
return
|
|
858
|
+
return nt(st("relative w-full justify-between flex lg:h-25 bg-black px-[calc((100%-1320px)/2)] text-lg text-white", ((u = c()) == null ? void 0 : u.variant) === "dual-brand" ? "h-[7.5rem]" : "h-12.5"));
|
|
840
859
|
});
|
|
841
860
|
var h = w(f);
|
|
842
|
-
|
|
843
|
-
var o =
|
|
861
|
+
ce(h, {});
|
|
862
|
+
var o = W(h, 2);
|
|
844
863
|
{
|
|
845
864
|
var i = (u) => {
|
|
846
|
-
var d = $
|
|
847
|
-
|
|
865
|
+
var d = $a(), x = W(w(d), 2);
|
|
866
|
+
ue(x), m(d), _(u, d);
|
|
848
867
|
}, p = (u) => {
|
|
849
|
-
var d =
|
|
868
|
+
var d = P(), x = T(d);
|
|
850
869
|
{
|
|
851
|
-
var g = (
|
|
852
|
-
|
|
853
|
-
}, v = (
|
|
854
|
-
|
|
870
|
+
var g = (s) => {
|
|
871
|
+
ve(s);
|
|
872
|
+
}, v = (s) => {
|
|
873
|
+
fe(s);
|
|
855
874
|
};
|
|
856
875
|
j(
|
|
857
|
-
|
|
858
|
-
(
|
|
859
|
-
var
|
|
860
|
-
((
|
|
876
|
+
x,
|
|
877
|
+
(s) => {
|
|
878
|
+
var L;
|
|
879
|
+
((L = c()) == null ? void 0 : L.mode) === "desktop" ? s(g) : s(v, !1);
|
|
861
880
|
},
|
|
862
881
|
!0
|
|
863
882
|
);
|
|
864
883
|
}
|
|
865
|
-
|
|
884
|
+
_(u, d);
|
|
866
885
|
};
|
|
867
886
|
j(o, (u) => {
|
|
868
887
|
var d;
|
|
869
888
|
((d = c()) == null ? void 0 : d.variant) === "dual-brand" ? u(i) : u(p, !1);
|
|
870
889
|
});
|
|
871
890
|
}
|
|
872
|
-
|
|
891
|
+
m(f), E(() => ot(f, l(C))), _(e, f), tt(), r();
|
|
873
892
|
}
|
|
874
|
-
|
|
875
|
-
var
|
|
876
|
-
function
|
|
893
|
+
U(he, {}, [], [], !0);
|
|
894
|
+
var Sa = k('<span class="flex items-center gap-2 [&>svg]:transition-transform"><span> </span> <!></span>'), Na = k("<li><a> </a></li>"), Ea = k("<li><!></li>"), Va = k("<li><a> </a></li>");
|
|
895
|
+
function de(e, t) {
|
|
877
896
|
Y(t, !0);
|
|
878
|
-
let a =
|
|
879
|
-
var r =
|
|
880
|
-
return
|
|
881
|
-
var
|
|
897
|
+
let a = V(t, "items", 7);
|
|
898
|
+
var r = P(), c = T(r);
|
|
899
|
+
return I(c, 17, a, (n) => n.text || n.title, (n, f) => {
|
|
900
|
+
var C = P(), h = T(C);
|
|
882
901
|
{
|
|
883
902
|
var o = (p) => {
|
|
884
|
-
var u =
|
|
903
|
+
var u = Ea(), d = w(u);
|
|
885
904
|
X(d, {
|
|
886
905
|
class: "relative h-full",
|
|
887
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",
|
|
@@ -889,62 +908,62 @@ function d2(e, t) {
|
|
|
889
908
|
buttonAriaLabel: void 0,
|
|
890
909
|
as: "ul",
|
|
891
910
|
button: (g) => {
|
|
892
|
-
var v =
|
|
893
|
-
|
|
894
|
-
var b =
|
|
895
|
-
|
|
911
|
+
var v = Sa(), s = w(v), L = w(s, !0);
|
|
912
|
+
m(s);
|
|
913
|
+
var b = W(s, 2);
|
|
914
|
+
O(b, { icon: xt }), m(v), E(() => H(L, l(f).title)), _(g, v);
|
|
896
915
|
},
|
|
897
916
|
children: (g, v) => {
|
|
898
|
-
var
|
|
899
|
-
|
|
900
|
-
var
|
|
901
|
-
let
|
|
902
|
-
var y = w(
|
|
903
|
-
|
|
917
|
+
var s = P(), L = T(s);
|
|
918
|
+
I(L, 17, () => l(f).links, at, (b, M) => {
|
|
919
|
+
var A = Na(), S = w(A);
|
|
920
|
+
let N;
|
|
921
|
+
var y = w(S, !0);
|
|
922
|
+
m(S), m(A), E(() => {
|
|
904
923
|
var $;
|
|
905
|
-
|
|
906
|
-
...
|
|
907
|
-
class: `border-0 border-b border-solid border-light-grey-500 p-2 transition-colors hover:bg-yellow ${(($ =
|
|
908
|
-
href:
|
|
909
|
-
}),
|
|
910
|
-
}),
|
|
911
|
-
}),
|
|
924
|
+
N = rt(S, N, {
|
|
925
|
+
...l(M).attributes,
|
|
926
|
+
class: `border-0 border-b border-solid border-light-grey-500 p-2 transition-colors hover:bg-yellow ${(($ = l(M).attributes) == null ? void 0 : $.class) ?? ""}`,
|
|
927
|
+
href: l(M).href
|
|
928
|
+
}), H(y, l(M).text);
|
|
929
|
+
}), _(b, A);
|
|
930
|
+
}), _(g, s);
|
|
912
931
|
},
|
|
913
932
|
$$slots: { button: !0, default: !0 }
|
|
914
|
-
}),
|
|
933
|
+
}), m(u), _(p, u);
|
|
915
934
|
}, i = (p) => {
|
|
916
|
-
var u =
|
|
917
|
-
let
|
|
935
|
+
var u = Va(), d = w(u);
|
|
936
|
+
let x;
|
|
918
937
|
var g = w(d, !0);
|
|
919
|
-
|
|
938
|
+
m(d), m(u), E(() => {
|
|
920
939
|
var v;
|
|
921
|
-
|
|
922
|
-
...
|
|
923
|
-
class: `flex h-full items-center justify-center gap-2 px-2 transition-colors hover:bg-yellow ${((v =
|
|
924
|
-
href:
|
|
925
|
-
}),
|
|
926
|
-
}),
|
|
940
|
+
x = rt(d, x, {
|
|
941
|
+
...l(f).attributes,
|
|
942
|
+
class: `flex h-full items-center justify-center gap-2 px-2 transition-colors hover:bg-yellow ${((v = l(f).attributes) == null ? void 0 : v.class) ?? ""}`,
|
|
943
|
+
href: l(f).href
|
|
944
|
+
}), H(g, l(f).text);
|
|
945
|
+
}), _(p, u);
|
|
927
946
|
};
|
|
928
947
|
j(h, (p) => {
|
|
929
|
-
|
|
948
|
+
l(f).links ? p(o) : p(i, !1);
|
|
930
949
|
});
|
|
931
950
|
}
|
|
932
|
-
|
|
933
|
-
}),
|
|
951
|
+
_(n, C);
|
|
952
|
+
}), _(e, r), tt({
|
|
934
953
|
get items() {
|
|
935
954
|
return a();
|
|
936
955
|
},
|
|
937
956
|
set items(n) {
|
|
938
|
-
a(n),
|
|
957
|
+
a(n), Z();
|
|
939
958
|
}
|
|
940
959
|
});
|
|
941
960
|
}
|
|
942
|
-
|
|
943
|
-
var
|
|
944
|
-
function
|
|
961
|
+
U(de, { items: {} }, [], [], !0);
|
|
962
|
+
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 pe(e, t) {
|
|
945
964
|
Y(t, !0);
|
|
946
|
-
let a =
|
|
947
|
-
var r =
|
|
965
|
+
let a = V(t, "items", 7);
|
|
966
|
+
var r = Fa(), c = w(r);
|
|
948
967
|
return X(c, {
|
|
949
968
|
class: "h-full",
|
|
950
969
|
buttonClass: "flex h-full aspect-square items-center justify-center gap-2 px-4 transition-colors hover:bg-yellow aria-expanded:bg-yellow",
|
|
@@ -952,25 +971,25 @@ function p2(e, t) {
|
|
|
952
971
|
buttonAriaLabel: "Sub Navigation Menu",
|
|
953
972
|
as: "ul",
|
|
954
973
|
button: (f) => {
|
|
955
|
-
|
|
974
|
+
O(f, { icon: Yt });
|
|
956
975
|
},
|
|
957
|
-
children: (f,
|
|
958
|
-
var h =
|
|
959
|
-
|
|
960
|
-
var u =
|
|
976
|
+
children: (f, C) => {
|
|
977
|
+
var h = P(), o = T(h);
|
|
978
|
+
I(o, 17, a, (i) => i.text || i.title, (i, p) => {
|
|
979
|
+
var u = Ta(), d = w(u);
|
|
961
980
|
{
|
|
962
|
-
var
|
|
963
|
-
var
|
|
964
|
-
let
|
|
965
|
-
var b = w(
|
|
966
|
-
|
|
967
|
-
var
|
|
968
|
-
|
|
969
|
-
...
|
|
970
|
-
class: `border-0 border-b border-solid border-light-grey-500 p-2 transition-colors hover:bg-light-grey ${((
|
|
971
|
-
href:
|
|
972
|
-
}),
|
|
973
|
-
}),
|
|
981
|
+
var x = (v) => {
|
|
982
|
+
var s = Za();
|
|
983
|
+
let L;
|
|
984
|
+
var b = w(s, !0);
|
|
985
|
+
m(s), E(() => {
|
|
986
|
+
var M;
|
|
987
|
+
L = rt(s, L, {
|
|
988
|
+
...l(p).attributes,
|
|
989
|
+
class: `border-0 border-b border-solid border-light-grey-500 p-2 transition-colors hover:bg-light-grey ${((M = l(p).attributes) == null ? void 0 : M.class) ?? ""}`,
|
|
990
|
+
href: l(p).href
|
|
991
|
+
}), H(b, l(p).text);
|
|
992
|
+
}), _(v, s);
|
|
974
993
|
}, g = (v) => {
|
|
975
994
|
X(v, {
|
|
976
995
|
class: "relative w-full",
|
|
@@ -978,185 +997,185 @@ function p2(e, t) {
|
|
|
978
997
|
contentClass: "flex flex-col w-full flex-col bg-white text-black [&>li]:contents",
|
|
979
998
|
as: "ul",
|
|
980
999
|
autoCollapse: !1,
|
|
981
|
-
button: (
|
|
982
|
-
var b =
|
|
983
|
-
|
|
984
|
-
var
|
|
985
|
-
|
|
1000
|
+
button: (L) => {
|
|
1001
|
+
var b = ja(), M = w(b), A = w(M, !0);
|
|
1002
|
+
m(M);
|
|
1003
|
+
var S = W(M, 2);
|
|
1004
|
+
O(S, { icon: xt }), m(b), E(() => H(A, l(p).title)), _(L, b);
|
|
986
1005
|
},
|
|
987
|
-
children: (
|
|
988
|
-
var
|
|
989
|
-
|
|
990
|
-
var y =
|
|
991
|
-
let
|
|
1006
|
+
children: (L, b) => {
|
|
1007
|
+
var M = P(), A = T(M);
|
|
1008
|
+
I(A, 17, () => l(p).links, at, (S, N) => {
|
|
1009
|
+
var y = Ha(), $ = w(y);
|
|
1010
|
+
let R;
|
|
992
1011
|
var B = w($, !0);
|
|
993
|
-
|
|
994
|
-
var
|
|
995
|
-
|
|
996
|
-
...
|
|
997
|
-
class: `border-0 border-b border-solid border-light-grey-500 p-2 transition-colors hover:bg-light-grey ${((
|
|
998
|
-
href:
|
|
999
|
-
}),
|
|
1000
|
-
}),
|
|
1001
|
-
}),
|
|
1012
|
+
m($), m(y), E(() => {
|
|
1013
|
+
var z;
|
|
1014
|
+
R = rt($, R, {
|
|
1015
|
+
...l(N).attributes,
|
|
1016
|
+
class: `border-0 border-b border-solid border-light-grey-500 p-2 transition-colors hover:bg-light-grey ${((z = l(N).attributes) == null ? void 0 : z.class) ?? ""}`,
|
|
1017
|
+
href: l(N).href
|
|
1018
|
+
}), H(B, l(N).text);
|
|
1019
|
+
}), _(S, y);
|
|
1020
|
+
}), _(L, M);
|
|
1002
1021
|
},
|
|
1003
1022
|
$$slots: { button: !0, default: !0 }
|
|
1004
1023
|
});
|
|
1005
1024
|
};
|
|
1006
1025
|
j(d, (v) => {
|
|
1007
|
-
|
|
1026
|
+
l(p).text ? v(x) : v(g, !1);
|
|
1008
1027
|
});
|
|
1009
1028
|
}
|
|
1010
|
-
|
|
1011
|
-
}),
|
|
1029
|
+
m(u), _(i, u);
|
|
1030
|
+
}), _(f, h);
|
|
1012
1031
|
},
|
|
1013
1032
|
$$slots: { button: !0, default: !0 }
|
|
1014
|
-
}),
|
|
1033
|
+
}), m(r), _(e, r), tt({
|
|
1015
1034
|
get items() {
|
|
1016
1035
|
return a();
|
|
1017
1036
|
},
|
|
1018
1037
|
set items(n) {
|
|
1019
|
-
a(n),
|
|
1038
|
+
a(n), Z();
|
|
1020
1039
|
}
|
|
1021
1040
|
});
|
|
1022
1041
|
}
|
|
1023
|
-
|
|
1024
|
-
var
|
|
1025
|
-
function
|
|
1042
|
+
U(pe, { items: {} }, [], [], !0);
|
|
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>'), Ua = k('<span class="mr-auto flex h-full items-center justify-center px-3 font-bold"> </span>'), Ra = k('<nav aria-label="Page Specific"><div class="flex h-full w-fit 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 ge(e, t) {
|
|
1026
1045
|
Y(t, !0);
|
|
1027
|
-
const [a, r] =
|
|
1028
|
-
let f =
|
|
1029
|
-
|
|
1046
|
+
const [a, r] = mt(), c = () => wt(n, "$headerState", a), n = Tt("header-state");
|
|
1047
|
+
let f = V(t, "items", 7), C = V(t, "title", 7), h = V(t, "url", 7), o = ct(void 0), i = ct(void 0), p = ct(void 0), u, d = ct(void 0);
|
|
1048
|
+
Ht(() => {
|
|
1030
1049
|
var y;
|
|
1031
|
-
clearTimeout(u), ((y = c()) == null ? void 0 : y.mode) === "desktop" &&
|
|
1050
|
+
clearTimeout(u), ((y = c()) == null ? void 0 : y.mode) === "desktop" && l(o) - l(i) < l(p) && (u = setTimeout(
|
|
1032
1051
|
() => {
|
|
1033
|
-
|
|
1052
|
+
et(d, Nt(isNaN(l(d)) ? l(o) : Math.max(l(o), l(d))));
|
|
1034
1053
|
},
|
|
1035
1054
|
50
|
|
1036
1055
|
));
|
|
1037
|
-
}),
|
|
1056
|
+
}), Qe(() => {
|
|
1038
1057
|
var y;
|
|
1039
|
-
((y = c()) == null ? void 0 : y.mode) === "desktop" &&
|
|
1058
|
+
((y = c()) == null ? void 0 : y.mode) === "desktop" && l(o) - l(i) < l(p) && et(d, Nt(isNaN(l(d)) ? l(o) : Math.max(l(o), l(d))));
|
|
1040
1059
|
});
|
|
1041
|
-
var
|
|
1042
|
-
const g =
|
|
1060
|
+
var x = Ra();
|
|
1061
|
+
const g = Xt(() => {
|
|
1043
1062
|
var y;
|
|
1044
|
-
return
|
|
1063
|
+
return nt(st("block align-items relative justify-end bg-light-grey px-[calc((100%-1320px)/2)] text-lg lg:whitespace-nowrap", ((y = c()) == null ? void 0 : y.variant) === "dual-brand" ? "h-10" : "h-[5rem] lg:h-10"));
|
|
1045
1064
|
});
|
|
1046
|
-
var v = w(
|
|
1065
|
+
var v = w(x), s = w(v);
|
|
1047
1066
|
{
|
|
1048
|
-
var
|
|
1049
|
-
var $ =
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
}),
|
|
1067
|
+
var L = (y) => {
|
|
1068
|
+
var $ = Pa(), R = w($, !0);
|
|
1069
|
+
m($), E(() => {
|
|
1070
|
+
q($, "href", h()), H(R, C());
|
|
1071
|
+
}), ht($, "clientWidth", (B) => et(i, B)), _(y, $);
|
|
1053
1072
|
}, b = (y) => {
|
|
1054
|
-
var $ =
|
|
1073
|
+
var $ = P(), R = T($);
|
|
1055
1074
|
{
|
|
1056
|
-
var B = (
|
|
1057
|
-
var
|
|
1058
|
-
|
|
1075
|
+
var B = (z) => {
|
|
1076
|
+
var F = Ua(), yt = w(F, !0);
|
|
1077
|
+
m(F), E(() => H(yt, C())), ht(F, "clientWidth", (be) => et(i, be)), _(z, F);
|
|
1059
1078
|
};
|
|
1060
1079
|
j(
|
|
1061
|
-
|
|
1062
|
-
(
|
|
1063
|
-
|
|
1080
|
+
R,
|
|
1081
|
+
(z) => {
|
|
1082
|
+
C() && z(B);
|
|
1064
1083
|
},
|
|
1065
1084
|
!0
|
|
1066
1085
|
);
|
|
1067
1086
|
}
|
|
1068
|
-
|
|
1087
|
+
_(y, $);
|
|
1069
1088
|
};
|
|
1070
|
-
j(
|
|
1071
|
-
|
|
1089
|
+
j(s, (y) => {
|
|
1090
|
+
C() && h() ? y(L) : y(b, !1);
|
|
1072
1091
|
});
|
|
1073
1092
|
}
|
|
1074
|
-
var
|
|
1093
|
+
var M = W(s, 2), A = w(M);
|
|
1075
1094
|
{
|
|
1076
|
-
var
|
|
1077
|
-
var $ =
|
|
1095
|
+
var S = (y) => {
|
|
1096
|
+
var $ = P(), R = T($);
|
|
1078
1097
|
{
|
|
1079
|
-
var B = (
|
|
1080
|
-
|
|
1098
|
+
var B = (F) => {
|
|
1099
|
+
de(F, {
|
|
1081
1100
|
get items() {
|
|
1082
1101
|
return f();
|
|
1083
1102
|
}
|
|
1084
1103
|
});
|
|
1085
|
-
},
|
|
1086
|
-
|
|
1104
|
+
}, z = (F) => {
|
|
1105
|
+
pe(F, {
|
|
1087
1106
|
get items() {
|
|
1088
1107
|
return f();
|
|
1089
1108
|
}
|
|
1090
1109
|
});
|
|
1091
1110
|
};
|
|
1092
|
-
j(
|
|
1093
|
-
c().mode === "desktop" && (isNaN(
|
|
1111
|
+
j(R, (F) => {
|
|
1112
|
+
c().mode === "desktop" && (isNaN(l(d)) || l(o) > l(d)) ? F(B) : F(z, !1);
|
|
1094
1113
|
});
|
|
1095
1114
|
}
|
|
1096
|
-
|
|
1115
|
+
_(y, $);
|
|
1097
1116
|
};
|
|
1098
|
-
j(
|
|
1117
|
+
j(A, (y) => {
|
|
1099
1118
|
var $;
|
|
1100
|
-
(($ = f()) == null ? void 0 : $.length) > 0 && y(
|
|
1119
|
+
(($ = f()) == null ? void 0 : $.length) > 0 && y(S);
|
|
1101
1120
|
});
|
|
1102
1121
|
}
|
|
1103
|
-
|
|
1104
|
-
var
|
|
1122
|
+
m(M), m(v), m(x), E(() => ot(x, l(g))), ht(M, "clientWidth", (y) => et(p, y)), ht(x, "clientWidth", (y) => et(o, y)), _(e, x);
|
|
1123
|
+
var N = tt({
|
|
1105
1124
|
get items() {
|
|
1106
1125
|
return f();
|
|
1107
1126
|
},
|
|
1108
1127
|
set items(y) {
|
|
1109
|
-
f(y),
|
|
1128
|
+
f(y), Z();
|
|
1110
1129
|
},
|
|
1111
1130
|
get title() {
|
|
1112
|
-
return
|
|
1131
|
+
return C();
|
|
1113
1132
|
},
|
|
1114
1133
|
set title(y) {
|
|
1115
|
-
|
|
1134
|
+
C(y), Z();
|
|
1116
1135
|
},
|
|
1117
1136
|
get url() {
|
|
1118
1137
|
return h();
|
|
1119
1138
|
},
|
|
1120
1139
|
set url(y) {
|
|
1121
|
-
h(y),
|
|
1140
|
+
h(y), Z();
|
|
1122
1141
|
}
|
|
1123
1142
|
});
|
|
1124
|
-
return r(),
|
|
1143
|
+
return r(), N;
|
|
1125
1144
|
}
|
|
1126
|
-
|
|
1127
|
-
const
|
|
1128
|
-
var
|
|
1129
|
-
function
|
|
1145
|
+
U(ge, { items: {}, title: {}, url: {} }, [], [], !0);
|
|
1146
|
+
const za = 35;
|
|
1147
|
+
var Wa = k('<header class="relative z-10 w-full font-condensed text-black"><!> <!> <!></header>');
|
|
1148
|
+
function Ba(e, t) {
|
|
1130
1149
|
Y(t, !0);
|
|
1131
|
-
const [a, r] =
|
|
1132
|
-
let n =
|
|
1133
|
-
const i = 1024, p =
|
|
1134
|
-
|
|
1150
|
+
const [a, r] = mt(), c = () => wt(p, "$headerState", a);
|
|
1151
|
+
let n = V(t, "subNavigation", 7), f = V(t, "pageTitle", 7), C = V(t, "pageURL", 7), h = V(t, "variant", 7), o = ct(void 0);
|
|
1152
|
+
const i = 1024, p = Ue({ mode: "mobile", variant: h() });
|
|
1153
|
+
Re("header-state", p), Ht(() => {
|
|
1135
1154
|
p.set({
|
|
1136
|
-
mode:
|
|
1155
|
+
mode: l(o) >= i ? "desktop" : "mobile",
|
|
1137
1156
|
variant: h()
|
|
1138
1157
|
});
|
|
1139
1158
|
});
|
|
1140
|
-
var u =
|
|
1159
|
+
var u = Wa(), d = w(u);
|
|
1141
1160
|
{
|
|
1142
|
-
var
|
|
1143
|
-
|
|
1161
|
+
var x = (b) => {
|
|
1162
|
+
le(b, {});
|
|
1144
1163
|
};
|
|
1145
1164
|
j(d, (b) => {
|
|
1146
|
-
c().mode === "desktop" && h() !== "dual-brand" && b(
|
|
1165
|
+
c().mode === "desktop" && h() !== "dual-brand" && b(x);
|
|
1147
1166
|
});
|
|
1148
1167
|
}
|
|
1149
|
-
var g =
|
|
1150
|
-
|
|
1151
|
-
var v =
|
|
1168
|
+
var g = W(d, 2);
|
|
1169
|
+
he(g, {});
|
|
1170
|
+
var v = W(g, 2);
|
|
1152
1171
|
{
|
|
1153
|
-
var
|
|
1154
|
-
|
|
1172
|
+
var s = (b) => {
|
|
1173
|
+
ge(b, {
|
|
1155
1174
|
get title() {
|
|
1156
1175
|
return f();
|
|
1157
1176
|
},
|
|
1158
1177
|
get url() {
|
|
1159
|
-
return
|
|
1178
|
+
return C();
|
|
1160
1179
|
},
|
|
1161
1180
|
get items() {
|
|
1162
1181
|
return n();
|
|
@@ -1164,41 +1183,41 @@ function Rt(e, t) {
|
|
|
1164
1183
|
});
|
|
1165
1184
|
};
|
|
1166
1185
|
j(v, (b) => {
|
|
1167
|
-
var
|
|
1168
|
-
(((
|
|
1186
|
+
var M;
|
|
1187
|
+
(((M = n()) == null ? void 0 : M.length) > 0 || f()) && b(s);
|
|
1169
1188
|
});
|
|
1170
1189
|
}
|
|
1171
|
-
|
|
1172
|
-
var
|
|
1190
|
+
m(u), We("innerWidth", (b) => et(o, Nt(b))), _(e, u);
|
|
1191
|
+
var L = tt({
|
|
1173
1192
|
get subNavigation() {
|
|
1174
1193
|
return n();
|
|
1175
1194
|
},
|
|
1176
1195
|
set subNavigation(b) {
|
|
1177
|
-
n(b),
|
|
1196
|
+
n(b), Z();
|
|
1178
1197
|
},
|
|
1179
1198
|
get pageTitle() {
|
|
1180
1199
|
return f();
|
|
1181
1200
|
},
|
|
1182
1201
|
set pageTitle(b) {
|
|
1183
|
-
f(b),
|
|
1202
|
+
f(b), Z();
|
|
1184
1203
|
},
|
|
1185
1204
|
get pageURL() {
|
|
1186
|
-
return
|
|
1205
|
+
return C();
|
|
1187
1206
|
},
|
|
1188
1207
|
set pageURL(b) {
|
|
1189
|
-
|
|
1208
|
+
C(b), Z();
|
|
1190
1209
|
},
|
|
1191
1210
|
get variant() {
|
|
1192
1211
|
return h();
|
|
1193
1212
|
},
|
|
1194
1213
|
set variant(b) {
|
|
1195
|
-
h(b),
|
|
1214
|
+
h(b), Z();
|
|
1196
1215
|
}
|
|
1197
1216
|
});
|
|
1198
|
-
return r(),
|
|
1217
|
+
return r(), L;
|
|
1199
1218
|
}
|
|
1200
|
-
customElements.define("uofg-header",
|
|
1201
|
-
|
|
1219
|
+
customElements.define("uofg-header", U(
|
|
1220
|
+
Ba,
|
|
1202
1221
|
{
|
|
1203
1222
|
pageTitle: {
|
|
1204
1223
|
attribute: "page-title",
|
|
@@ -1223,8 +1242,8 @@ customElements.define("uofg-header", P(
|
|
|
1223
1242
|
(e) => class extends e {
|
|
1224
1243
|
constructor() {
|
|
1225
1244
|
super();
|
|
1226
|
-
|
|
1227
|
-
|
|
1245
|
+
Mt(this, "subNavigation", []);
|
|
1246
|
+
ze(this.shadowRoot);
|
|
1228
1247
|
}
|
|
1229
1248
|
connectedCallback() {
|
|
1230
1249
|
super.connectedCallback(), this.updateSubNavigation(), this.observer ?? (this.observer = new MutationObserver(() => {
|
|
@@ -1253,7 +1272,7 @@ customElements.define("uofg-header", P(
|
|
|
1253
1272
|
links: Array.from(r.querySelectorAll("a")).map(a)
|
|
1254
1273
|
};
|
|
1255
1274
|
return c.wrapContent = c.links.reduce(
|
|
1256
|
-
(n, f) => (f.text.length >
|
|
1275
|
+
(n, f) => (f.text.length > za && (n = !0), n),
|
|
1257
1276
|
!1
|
|
1258
1277
|
), c;
|
|
1259
1278
|
}
|
|
@@ -1262,5 +1281,5 @@ customElements.define("uofg-header", P(
|
|
|
1262
1281
|
}
|
|
1263
1282
|
));
|
|
1264
1283
|
export {
|
|
1265
|
-
|
|
1284
|
+
Ba as default
|
|
1266
1285
|
};
|