@uoguelph/web-components 1.9.0-rc.12 → 1.9.0-rc.3
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/bundle-mjs-BpzLJ4dA.js +17 -0
- package/dist/uofg-web-components/{bundle-mjs-BxVomqf1.js → font-awesome-icon-CvkmaYxh.js} +768 -778
- package/dist/uofg-web-components/legacy-Buus_Hb6.js +43 -0
- package/dist/uofg-web-components/{slot-BV603yHh.js → slot-CDMqA0vX.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 +11 -10
- package/dist/uofg-web-components/uofg-footer.esm.js +151 -231
- package/dist/uofg-web-components/uofg-header.esm.js +663 -648
- package/dist/uofg-web-components/uofg-modal.esm.js +39 -38
- package/dist/uofg-web-components/{window-DwQ2HtTx.js → window-pWeMgWdp.js} +1 -1
- package/package.json +1 -1
- package/dist/uofg-web-components/legacy-CStj_1N9.js +0 -53
|
@@ -1,56 +1,66 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var xe = Object.defineProperty;
|
|
2
|
+
var Tt = (e) => {
|
|
3
3
|
throw TypeError(e);
|
|
4
4
|
};
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
import { _ as
|
|
9
|
-
import { a as
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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) || Tt("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) ? Tt("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), Ft = (e, t, a) => (Ct(e, t, "access private method"), a);
|
|
8
|
+
import { Z as Ot, _ as Vt, $ as Kt, a0 as J, a1 as Jt, H as O, a2 as dt, a3 as me, a4 as we, a5 as At, I as Pt, a6 as Qt, a7 as ye, a8 as Me, a9 as Ce, aa as ke, ab as Rt, ac as Ut, ad as zt, z as Zt, B as bt, ae as Le, af as $e, ag as Ae, ah as Se, C as Ne, ai as De, aj as Wt, ak as Bt, al as Ee, am as Lt, an as Ve, ao as Ze, D as jt, l as je, c as P, p as Y, a as E, Y as Z, b as D, ap as He, d as _, e as tt, h as V, f as k, j as w, k as z, aq as F, X as H, s as ot, x as nt, E as B, ar as rt, r as m, as as Te, at as Fe, J as q, u as l, K as at, L as j, au as ut, t as St, F as I, av as xt, M as _t, aw as Ht, ax as mt, ay as wt, w as Xt, az as Yt, o as et, q as Nt, v as ct, aA as Pe, aB as Re, i as Ue } from "./font-awesome-icon-CvkmaYxh.js";
|
|
9
|
+
import { a as ze } from "./window-pWeMgWdp.js";
|
|
10
|
+
import { i as te } from "./legacy-Buus_Hb6.js";
|
|
11
|
+
import { t as st } from "./bundle-mjs-BpzLJ4dA.js";
|
|
12
|
+
function qt(e, t, ...a) {
|
|
13
|
+
var r = e, c = J, n;
|
|
14
|
+
Ot(() => {
|
|
15
|
+
c !== (c = t()) && (n && (Jt(n), n = null), n = Kt(() => (
|
|
16
|
+
/** @type {SnippetFn} */
|
|
17
|
+
c(r, ...a)
|
|
18
|
+
)));
|
|
19
|
+
}, Vt), O && (r = dt);
|
|
20
|
+
}
|
|
21
|
+
function We(e, t, a, r, c, n) {
|
|
22
|
+
let f = O;
|
|
23
|
+
O && Pt();
|
|
24
|
+
var C, h, o = null;
|
|
25
|
+
O && dt.nodeType === 1 && (o = /** @type {Element} */
|
|
26
|
+
dt, Pt());
|
|
27
|
+
var i = (
|
|
18
28
|
/** @type {TemplateNode} */
|
|
19
|
-
|
|
20
|
-
),
|
|
21
|
-
|
|
29
|
+
O ? dt : e
|
|
30
|
+
), p;
|
|
31
|
+
Ot(() => {
|
|
22
32
|
const u = t() || null;
|
|
23
|
-
var
|
|
24
|
-
u !== C && (
|
|
25
|
-
|
|
26
|
-
}) : u ===
|
|
27
|
-
|
|
33
|
+
var d = u === "svg" ? Qt : null;
|
|
34
|
+
u !== C && (p && (u === null ? ye(p, () => {
|
|
35
|
+
p = null, h = null;
|
|
36
|
+
}) : u === h ? Me(p) : (Jt(p), zt(!1))), u && u !== h && (p = Kt(() => {
|
|
37
|
+
o = O ? (
|
|
28
38
|
/** @type {Element} */
|
|
29
|
-
|
|
30
|
-
) :
|
|
39
|
+
o
|
|
40
|
+
) : d ? document.createElementNS(d, u) : document.createElement(u), me(o, o);
|
|
31
41
|
{
|
|
32
|
-
|
|
33
|
-
var
|
|
42
|
+
O && Ce(u) && o.append(document.createComment(""));
|
|
43
|
+
var x = (
|
|
34
44
|
/** @type {TemplateNode} */
|
|
35
|
-
|
|
45
|
+
O ? ke(o) : o.appendChild(we())
|
|
36
46
|
);
|
|
37
|
-
|
|
47
|
+
O && (x === null ? Rt(!1) : Ut(x)), r(o, x);
|
|
38
48
|
}
|
|
39
|
-
|
|
40
|
-
})), C = u, C && (
|
|
41
|
-
},
|
|
49
|
+
At.nodes_end = o, i.before(o);
|
|
50
|
+
})), C = u, C && (h = C), zt(!0));
|
|
51
|
+
}, Vt), f && (Rt(!0), Ut(i));
|
|
42
52
|
}
|
|
43
|
-
function
|
|
53
|
+
function Be(e, t, a) {
|
|
44
54
|
Zt(() => {
|
|
45
|
-
var
|
|
46
|
-
if (
|
|
55
|
+
var r = bt(() => t(e, a == null ? void 0 : a()) || {});
|
|
56
|
+
if (r != null && r.destroy)
|
|
47
57
|
return () => (
|
|
48
58
|
/** @type {Function} */
|
|
49
|
-
|
|
59
|
+
r.destroy()
|
|
50
60
|
);
|
|
51
61
|
});
|
|
52
62
|
}
|
|
53
|
-
const
|
|
63
|
+
const qe = () => performance.now(), K = {
|
|
54
64
|
// don't access requestAnimationFrame eagerly outside method
|
|
55
65
|
// this allows basic testing of user code without JSDOM
|
|
56
66
|
// bunder will eval and remove ternary when the user's app is built
|
|
@@ -58,30 +68,30 @@ const Ie = () => performance.now(), D = {
|
|
|
58
68
|
/** @param {any} _ */
|
|
59
69
|
(e) => requestAnimationFrame(e)
|
|
60
70
|
),
|
|
61
|
-
now: () =>
|
|
71
|
+
now: () => qe(),
|
|
62
72
|
tasks: /* @__PURE__ */ new Set()
|
|
63
73
|
};
|
|
64
|
-
function
|
|
65
|
-
const e =
|
|
66
|
-
|
|
67
|
-
t.c(e) || (
|
|
68
|
-
}),
|
|
74
|
+
function ee() {
|
|
75
|
+
const e = K.now();
|
|
76
|
+
K.tasks.forEach((t) => {
|
|
77
|
+
t.c(e) || (K.tasks.delete(t), t.f());
|
|
78
|
+
}), K.tasks.size !== 0 && K.tick(ee);
|
|
69
79
|
}
|
|
70
|
-
function
|
|
80
|
+
function Ie(e) {
|
|
71
81
|
let t;
|
|
72
|
-
return
|
|
82
|
+
return K.tasks.size === 0 && K.tick(ee), {
|
|
73
83
|
promise: new Promise((a) => {
|
|
74
|
-
|
|
84
|
+
K.tasks.add(t = { c: e, f: a });
|
|
75
85
|
}),
|
|
76
86
|
abort() {
|
|
77
|
-
|
|
87
|
+
K.tasks.delete(t);
|
|
78
88
|
}
|
|
79
89
|
};
|
|
80
90
|
}
|
|
81
91
|
function ft(e, t) {
|
|
82
92
|
e.dispatchEvent(new CustomEvent(t));
|
|
83
93
|
}
|
|
84
|
-
function
|
|
94
|
+
function Ge(e) {
|
|
85
95
|
if (e === "float") return "cssFloat";
|
|
86
96
|
if (e === "offset") return "cssOffset";
|
|
87
97
|
if (e.startsWith("--")) return e;
|
|
@@ -91,74 +101,74 @@ function Oe(e) {
|
|
|
91
101
|
(a) => a[0].toUpperCase() + a.slice(1)
|
|
92
102
|
).join("");
|
|
93
103
|
}
|
|
94
|
-
function
|
|
104
|
+
function It(e) {
|
|
95
105
|
const t = {}, a = e.split(";");
|
|
96
|
-
for (const
|
|
97
|
-
const [
|
|
98
|
-
if (!
|
|
99
|
-
const f =
|
|
106
|
+
for (const r of a) {
|
|
107
|
+
const [c, n] = r.split(":");
|
|
108
|
+
if (!c || n === void 0) break;
|
|
109
|
+
const f = Ge(c.trim());
|
|
100
110
|
t[f] = n.trim();
|
|
101
111
|
}
|
|
102
112
|
return t;
|
|
103
113
|
}
|
|
104
|
-
const
|
|
105
|
-
function Ke(e, t, a,
|
|
106
|
-
var
|
|
107
|
-
function
|
|
108
|
-
var
|
|
109
|
-
|
|
114
|
+
const Oe = (e) => e;
|
|
115
|
+
function Ke(e, t, a, r) {
|
|
116
|
+
var c = (e & De) !== 0, n = "both", f, C = t.inert, h = t.style.overflow, o, i;
|
|
117
|
+
function p() {
|
|
118
|
+
var v = Ee, s = At;
|
|
119
|
+
Wt(null), Bt(null);
|
|
110
120
|
try {
|
|
111
|
-
return f ?? (f = a()(t, (
|
|
121
|
+
return f ?? (f = a()(t, (r == null ? void 0 : r()) ?? /** @type {P} */
|
|
112
122
|
{}, {
|
|
113
123
|
direction: n
|
|
114
124
|
}));
|
|
115
125
|
} finally {
|
|
116
|
-
|
|
126
|
+
Wt(v), Bt(s);
|
|
117
127
|
}
|
|
118
128
|
}
|
|
119
129
|
var u = {
|
|
120
|
-
is_global:
|
|
130
|
+
is_global: c,
|
|
121
131
|
in() {
|
|
122
|
-
t.inert = C, ft(t, "introstart"),
|
|
123
|
-
ft(t, "introend"),
|
|
132
|
+
t.inert = C, ft(t, "introstart"), o = Dt(t, p(), i, 1, () => {
|
|
133
|
+
ft(t, "introend"), o == null || o.abort(), o = f = void 0, t.style.overflow = h;
|
|
124
134
|
});
|
|
125
135
|
},
|
|
126
|
-
out(
|
|
127
|
-
t.inert = !0, ft(t, "outrostart"),
|
|
128
|
-
ft(t, "outroend"),
|
|
136
|
+
out(v) {
|
|
137
|
+
t.inert = !0, ft(t, "outrostart"), i = Dt(t, p(), o, 0, () => {
|
|
138
|
+
ft(t, "outroend"), v == null || v();
|
|
129
139
|
});
|
|
130
140
|
},
|
|
131
141
|
stop: () => {
|
|
132
|
-
|
|
142
|
+
o == null || o.abort(), i == null || i.abort();
|
|
133
143
|
}
|
|
134
|
-
},
|
|
144
|
+
}, d = (
|
|
135
145
|
/** @type {Effect} */
|
|
136
|
-
|
|
146
|
+
At
|
|
137
147
|
);
|
|
138
|
-
if ((
|
|
139
|
-
var
|
|
140
|
-
if (!
|
|
141
|
-
for (var
|
|
148
|
+
if ((d.transitions ?? (d.transitions = [])).push(u), Le) {
|
|
149
|
+
var x = c;
|
|
150
|
+
if (!x) {
|
|
151
|
+
for (var g = (
|
|
142
152
|
/** @type {Effect | null} */
|
|
143
|
-
|
|
144
|
-
);
|
|
145
|
-
for (; (
|
|
153
|
+
d.parent
|
|
154
|
+
); g && g.f & Vt; )
|
|
155
|
+
for (; (g = g.parent) && !(g.f & $e); )
|
|
146
156
|
;
|
|
147
|
-
|
|
157
|
+
x = !g || (g.f & Ae) !== 0;
|
|
148
158
|
}
|
|
149
|
-
|
|
150
|
-
|
|
159
|
+
x && Zt(() => {
|
|
160
|
+
bt(() => u.in());
|
|
151
161
|
});
|
|
152
162
|
}
|
|
153
163
|
}
|
|
154
|
-
function
|
|
155
|
-
var n =
|
|
156
|
-
if (
|
|
164
|
+
function Dt(e, t, a, r, c) {
|
|
165
|
+
var n = r === 1;
|
|
166
|
+
if (Se(t)) {
|
|
157
167
|
var f, C = !1;
|
|
158
168
|
return Ne(() => {
|
|
159
169
|
if (!C) {
|
|
160
|
-
var
|
|
161
|
-
f =
|
|
170
|
+
var v = t({ direction: n ? "in" : "out" });
|
|
171
|
+
f = Dt(e, v, a, r, c);
|
|
162
172
|
}
|
|
163
173
|
}), {
|
|
164
174
|
abort: () => {
|
|
@@ -170,111 +180,111 @@ function Et(e, t, a, l, d) {
|
|
|
170
180
|
};
|
|
171
181
|
}
|
|
172
182
|
if (a == null || a.deactivate(), !(t != null && t.duration))
|
|
173
|
-
return
|
|
174
|
-
abort:
|
|
175
|
-
deactivate:
|
|
176
|
-
reset:
|
|
177
|
-
t: () =>
|
|
183
|
+
return c(), {
|
|
184
|
+
abort: J,
|
|
185
|
+
deactivate: J,
|
|
186
|
+
reset: J,
|
|
187
|
+
t: () => r
|
|
178
188
|
};
|
|
179
|
-
const { delay:
|
|
189
|
+
const { delay: h = 0, css: o, tick: i, easing: p = Oe } = t;
|
|
180
190
|
var u = [];
|
|
181
|
-
if (n && a === void 0 && (
|
|
182
|
-
var
|
|
183
|
-
u.push(
|
|
191
|
+
if (n && a === void 0 && (i && i(0, 1), o)) {
|
|
192
|
+
var d = It(o(0, 1));
|
|
193
|
+
u.push(d, d);
|
|
184
194
|
}
|
|
185
|
-
var
|
|
186
|
-
return
|
|
187
|
-
var
|
|
195
|
+
var x = () => 1 - r, g = e.animate(u, { duration: h });
|
|
196
|
+
return g.onfinish = () => {
|
|
197
|
+
var v = (a == null ? void 0 : a.t()) ?? 1 - r;
|
|
188
198
|
a == null || a.abort();
|
|
189
|
-
var
|
|
199
|
+
var s = r - v, L = (
|
|
190
200
|
/** @type {number} */
|
|
191
|
-
t.duration * Math.abs(
|
|
201
|
+
t.duration * Math.abs(s)
|
|
192
202
|
), b = [];
|
|
193
|
-
if (
|
|
203
|
+
if (L > 0) {
|
|
194
204
|
var M = !1;
|
|
195
|
-
if (
|
|
196
|
-
for (var
|
|
197
|
-
var
|
|
198
|
-
b.push(
|
|
205
|
+
if (o)
|
|
206
|
+
for (var A = Math.ceil(L / 16.666666666666668), S = 0; S <= A; S += 1) {
|
|
207
|
+
var N = v + s * p(S / A), y = It(o(N, 1 - N));
|
|
208
|
+
b.push(y), M || (M = y.overflow === "hidden");
|
|
199
209
|
}
|
|
200
|
-
M && (e.style.overflow = "hidden"),
|
|
210
|
+
M && (e.style.overflow = "hidden"), x = () => {
|
|
201
211
|
var $ = (
|
|
202
212
|
/** @type {number} */
|
|
203
213
|
/** @type {globalThis.Animation} */
|
|
204
|
-
|
|
214
|
+
g.currentTime
|
|
205
215
|
);
|
|
206
|
-
return
|
|
207
|
-
},
|
|
208
|
-
if (
|
|
209
|
-
var $ =
|
|
210
|
-
return
|
|
216
|
+
return v + s * p($ / L);
|
|
217
|
+
}, i && Ie(() => {
|
|
218
|
+
if (g.playState !== "running") return !1;
|
|
219
|
+
var $ = x();
|
|
220
|
+
return i($, 1 - $), !0;
|
|
211
221
|
});
|
|
212
222
|
}
|
|
213
|
-
|
|
214
|
-
|
|
223
|
+
g = e.animate(b, { duration: L, fill: "forwards" }), g.onfinish = () => {
|
|
224
|
+
x = () => r, i == null || i(r, 1 - r), c();
|
|
215
225
|
};
|
|
216
226
|
}, {
|
|
217
227
|
abort: () => {
|
|
218
|
-
|
|
228
|
+
g && (g.cancel(), g.effect = null, g.onfinish = J);
|
|
219
229
|
},
|
|
220
230
|
deactivate: () => {
|
|
221
|
-
|
|
231
|
+
c = J;
|
|
222
232
|
},
|
|
223
233
|
reset: () => {
|
|
224
|
-
|
|
234
|
+
r === 0 && (i == null || i(1, 0));
|
|
225
235
|
},
|
|
226
|
-
t: () =>
|
|
236
|
+
t: () => x()
|
|
227
237
|
};
|
|
228
238
|
}
|
|
229
|
-
var
|
|
230
|
-
const
|
|
239
|
+
var Q, lt, vt, pt, ae;
|
|
240
|
+
const gt = class gt {
|
|
231
241
|
/** @param {ResizeObserverOptions} options */
|
|
232
242
|
constructor(t) {
|
|
233
|
-
|
|
243
|
+
it(this, pt);
|
|
234
244
|
/** */
|
|
235
|
-
|
|
245
|
+
it(this, Q, /* @__PURE__ */ new WeakMap());
|
|
236
246
|
/** @type {ResizeObserver | undefined} */
|
|
237
|
-
|
|
247
|
+
it(this, lt);
|
|
238
248
|
/** @type {ResizeObserverOptions} */
|
|
239
|
-
|
|
240
|
-
|
|
249
|
+
it(this, vt);
|
|
250
|
+
kt(this, vt, t);
|
|
241
251
|
}
|
|
242
252
|
/**
|
|
243
253
|
* @param {Element} element
|
|
244
254
|
* @param {(entry: ResizeObserverEntry) => any} listener
|
|
245
255
|
*/
|
|
246
256
|
observe(t, a) {
|
|
247
|
-
var
|
|
248
|
-
return
|
|
249
|
-
var
|
|
250
|
-
|
|
257
|
+
var r = G(this, Q).get(t) || /* @__PURE__ */ new Set();
|
|
258
|
+
return r.add(a), G(this, Q).set(t, r), Ft(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));
|
|
251
261
|
};
|
|
252
262
|
}
|
|
253
263
|
};
|
|
254
|
-
|
|
255
|
-
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(
|
|
256
266
|
/** @param {any} entries */
|
|
257
267
|
(t) => {
|
|
258
268
|
for (var a of t) {
|
|
259
|
-
|
|
260
|
-
for (var
|
|
261
|
-
|
|
269
|
+
gt.entries.set(a.target, a);
|
|
270
|
+
for (var r of G(this, Q).get(a.target) || [])
|
|
271
|
+
r(a);
|
|
262
272
|
}
|
|
263
273
|
}
|
|
264
274
|
));
|
|
265
275
|
}, /** @static */
|
|
266
|
-
|
|
267
|
-
let
|
|
268
|
-
var Je = /* @__PURE__ */ new
|
|
276
|
+
Mt(gt, "entries", /* @__PURE__ */ new WeakMap());
|
|
277
|
+
let Et = gt;
|
|
278
|
+
var Je = /* @__PURE__ */ new Et({
|
|
269
279
|
box: "border-box"
|
|
270
280
|
});
|
|
271
|
-
function
|
|
272
|
-
var
|
|
273
|
-
Zt(() => (
|
|
281
|
+
function ht(e, t, a) {
|
|
282
|
+
var r = Je.observe(e, () => a(e[t]));
|
|
283
|
+
Zt(() => (bt(() => a(e[t])), r));
|
|
274
284
|
}
|
|
275
285
|
function Qe(e) {
|
|
276
|
-
|
|
277
|
-
const t =
|
|
286
|
+
Lt === null && Ve(), Ze && Lt.l !== null ? Xe(Lt).m.push(e) : jt(() => {
|
|
287
|
+
const t = bt(e);
|
|
278
288
|
if (typeof t == "function") return (
|
|
279
289
|
/** @type {() => void} */
|
|
280
290
|
t
|
|
@@ -292,32 +302,32 @@ function Ye(e) {
|
|
|
292
302
|
const t = e - 1;
|
|
293
303
|
return t * t * t + 1;
|
|
294
304
|
}
|
|
295
|
-
function
|
|
296
|
-
const n = getComputedStyle(e), f = +n.opacity, C =
|
|
297
|
-
(
|
|
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) => (
|
|
298
308
|
/** @type {'Left' | 'Right' | 'Top' | 'Bottom'} */
|
|
299
|
-
`${
|
|
309
|
+
`${s[0].toUpperCase()}${s.slice(1)}`
|
|
300
310
|
)
|
|
301
|
-
),
|
|
302
|
-
n[`border${
|
|
303
|
-
),
|
|
304
|
-
n[`border${
|
|
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(
|
|
312
|
+
n[`border${i[0]}Width`]
|
|
313
|
+
), v = parseFloat(
|
|
314
|
+
n[`border${i[1]}Width`]
|
|
305
315
|
);
|
|
306
316
|
return {
|
|
307
317
|
delay: t,
|
|
308
318
|
duration: a,
|
|
309
|
-
easing:
|
|
310
|
-
css: (
|
|
319
|
+
easing: r,
|
|
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`
|
|
311
321
|
};
|
|
312
322
|
}
|
|
313
323
|
function ta(e) {
|
|
314
324
|
return e < 0.5 ? 4 * e * e * e : 0.5 * Math.pow(2 * e - 2, 3) + 1;
|
|
315
325
|
}
|
|
316
|
-
const
|
|
317
|
-
const t = function(
|
|
318
|
-
e.contains(
|
|
319
|
-
}, a = function(
|
|
320
|
-
e.contains(
|
|
326
|
+
const $t = (e) => {
|
|
327
|
+
const t = function(r) {
|
|
328
|
+
e.contains(r.relatedTarget) || e.dispatchEvent(new CustomEvent("focusoutside", { bubbles: !1 }));
|
|
329
|
+
}, a = function(r) {
|
|
330
|
+
e.contains(r.relatedTarget) || e.dispatchEvent(new CustomEvent("focusinside", { bubbles: !1 }));
|
|
321
331
|
};
|
|
322
332
|
return e.addEventListener("focusin", a), e.addEventListener("focusout", t), {
|
|
323
333
|
destroy() {
|
|
@@ -328,107 +338,107 @@ const St = (e) => {
|
|
|
328
338
|
var ea = (e, t) => {
|
|
329
339
|
t(!t()), e.target.focus();
|
|
330
340
|
}, aa = k('<div tabindex="-1"><button aria-haspopup="true"><!></button> <!></div>');
|
|
331
|
-
function
|
|
341
|
+
function X(e, t) {
|
|
332
342
|
Y(t, !0);
|
|
333
|
-
let a =
|
|
334
|
-
var u = aa(),
|
|
335
|
-
|
|
336
|
-
var
|
|
337
|
-
|
|
338
|
-
var
|
|
343
|
+
let a = E(t, "class", 7), r = E(t, "open", 15, !1), c = E(t, "as", 7, "div"), n = E(t, "transition", 7, Gt), f = E(t, "buttonClass", 7, ""), C = E(t, "contentClass", 7, ""), h = E(t, "autoCollapse", 7, !0), o = E(t, "buttonAriaLabel", 7), i = E(t, "button", 7), p = E(t, "children", 7);
|
|
344
|
+
var u = aa(), d = w(u);
|
|
345
|
+
d.__click = [ea, r];
|
|
346
|
+
var x = w(d);
|
|
347
|
+
qt(x, () => i() ?? J), m(d);
|
|
348
|
+
var g = z(d, 2);
|
|
339
349
|
{
|
|
340
|
-
var
|
|
341
|
-
var
|
|
342
|
-
|
|
343
|
-
let
|
|
344
|
-
|
|
345
|
-
var
|
|
346
|
-
|
|
347
|
-
}),
|
|
350
|
+
var v = (s) => {
|
|
351
|
+
var L = F(), b = H(L);
|
|
352
|
+
We(b, c, !1, (M, A) => {
|
|
353
|
+
let S;
|
|
354
|
+
D(() => 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 = F(), y = H(N);
|
|
356
|
+
qt(y, () => p() ?? J), _(A, N);
|
|
357
|
+
}), _(s, L);
|
|
348
358
|
};
|
|
349
|
-
|
|
350
|
-
|
|
359
|
+
Z(g, (s) => {
|
|
360
|
+
r() && s(v);
|
|
351
361
|
});
|
|
352
362
|
}
|
|
353
|
-
return m(u),
|
|
354
|
-
|
|
363
|
+
return m(u), Be(u, (s) => $t == null ? void 0 : $t(s)), D(() => {
|
|
364
|
+
ot(u, nt(a())), ot(d, nt(f())), B(d, "aria-expanded", r()), B(d, "aria-label", o());
|
|
355
365
|
}), He("focusoutside", u, () => {
|
|
356
|
-
|
|
357
|
-
}),
|
|
366
|
+
h() && r(!1);
|
|
367
|
+
}), _(e, u), tt({
|
|
358
368
|
get class() {
|
|
359
369
|
return a();
|
|
360
370
|
},
|
|
361
|
-
set class(
|
|
362
|
-
a(
|
|
371
|
+
set class(s) {
|
|
372
|
+
a(s), V();
|
|
363
373
|
},
|
|
364
|
-
get
|
|
365
|
-
return
|
|
374
|
+
get open() {
|
|
375
|
+
return r();
|
|
366
376
|
},
|
|
367
|
-
set
|
|
368
|
-
|
|
377
|
+
set open(s = !1) {
|
|
378
|
+
r(s), V();
|
|
369
379
|
},
|
|
370
|
-
get
|
|
371
|
-
return
|
|
380
|
+
get as() {
|
|
381
|
+
return c();
|
|
372
382
|
},
|
|
373
|
-
set
|
|
374
|
-
|
|
383
|
+
set as(s = "div") {
|
|
384
|
+
c(s), V();
|
|
375
385
|
},
|
|
376
|
-
get
|
|
386
|
+
get transition() {
|
|
377
387
|
return n();
|
|
378
388
|
},
|
|
379
|
-
set
|
|
380
|
-
n(
|
|
389
|
+
set transition(s = Gt) {
|
|
390
|
+
n(s), V();
|
|
381
391
|
},
|
|
382
|
-
get
|
|
392
|
+
get buttonClass() {
|
|
383
393
|
return f();
|
|
384
394
|
},
|
|
385
|
-
set
|
|
386
|
-
f(
|
|
395
|
+
set buttonClass(s = "") {
|
|
396
|
+
f(s), V();
|
|
387
397
|
},
|
|
388
|
-
get
|
|
398
|
+
get contentClass() {
|
|
389
399
|
return C();
|
|
390
400
|
},
|
|
391
|
-
set
|
|
392
|
-
C(
|
|
401
|
+
set contentClass(s = "") {
|
|
402
|
+
C(s), V();
|
|
393
403
|
},
|
|
394
404
|
get autoCollapse() {
|
|
395
|
-
return
|
|
405
|
+
return h();
|
|
396
406
|
},
|
|
397
|
-
set autoCollapse(
|
|
398
|
-
|
|
407
|
+
set autoCollapse(s = !0) {
|
|
408
|
+
h(s), V();
|
|
399
409
|
},
|
|
400
|
-
get
|
|
401
|
-
return
|
|
410
|
+
get buttonAriaLabel() {
|
|
411
|
+
return o();
|
|
402
412
|
},
|
|
403
|
-
set
|
|
404
|
-
s
|
|
413
|
+
set buttonAriaLabel(s) {
|
|
414
|
+
o(s), V();
|
|
405
415
|
},
|
|
406
416
|
get button() {
|
|
407
|
-
return
|
|
417
|
+
return i();
|
|
408
418
|
},
|
|
409
|
-
set button(
|
|
410
|
-
|
|
419
|
+
set button(s) {
|
|
420
|
+
i(s), V();
|
|
411
421
|
},
|
|
412
422
|
get children() {
|
|
413
|
-
return
|
|
423
|
+
return p();
|
|
414
424
|
},
|
|
415
|
-
set children(
|
|
416
|
-
|
|
425
|
+
set children(s) {
|
|
426
|
+
p(s), V();
|
|
417
427
|
}
|
|
418
428
|
});
|
|
419
429
|
}
|
|
420
430
|
je(["click"]);
|
|
421
|
-
|
|
422
|
-
|
|
431
|
+
P(
|
|
432
|
+
X,
|
|
423
433
|
{
|
|
424
434
|
class: {},
|
|
425
|
-
buttonClass: {},
|
|
426
|
-
contentClass: {},
|
|
427
435
|
open: {},
|
|
428
436
|
as: {},
|
|
429
437
|
transition: {},
|
|
438
|
+
buttonClass: {},
|
|
439
|
+
contentClass: {},
|
|
430
440
|
autoCollapse: {},
|
|
431
|
-
|
|
441
|
+
buttonAriaLabel: {},
|
|
432
442
|
button: {},
|
|
433
443
|
children: {}
|
|
434
444
|
},
|
|
@@ -436,7 +446,7 @@ U(
|
|
|
436
446
|
[],
|
|
437
447
|
!0
|
|
438
448
|
);
|
|
439
|
-
const
|
|
449
|
+
const re = [
|
|
440
450
|
{
|
|
441
451
|
text: "About",
|
|
442
452
|
href: "https://uoguelph.ca/about"
|
|
@@ -463,7 +473,7 @@ const Yt = [
|
|
|
463
473
|
icon: Te,
|
|
464
474
|
excludeFromMainMenu: !0
|
|
465
475
|
}
|
|
466
|
-
],
|
|
476
|
+
], se = [
|
|
467
477
|
{
|
|
468
478
|
text: "Give",
|
|
469
479
|
href: "https://bbis.alumni.uoguelph.ca/BBIS_Cannon/give/uofg"
|
|
@@ -531,85 +541,85 @@ const Yt = [
|
|
|
531
541
|
}
|
|
532
542
|
];
|
|
533
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>');
|
|
534
|
-
function
|
|
535
|
-
Y(t, !1),
|
|
536
|
-
var a = ia(),
|
|
537
|
-
q(
|
|
538
|
-
var f = na(), C =
|
|
544
|
+
function le(e, t) {
|
|
545
|
+
Y(t, !1), te();
|
|
546
|
+
var a = ia(), r = w(a);
|
|
547
|
+
q(r, 5, () => se, (c) => c.text || c.title, (c, n) => {
|
|
548
|
+
var f = na(), C = w(f);
|
|
539
549
|
{
|
|
540
|
-
var
|
|
541
|
-
var
|
|
542
|
-
|
|
550
|
+
var h = (i) => {
|
|
551
|
+
var p = ut(() => st("flex h-full items-center justify-center gap-2 px-2 transition-colors hover:bg-[#DDDDDD] aria-expanded:bg-[#DDDDDD]", l(n).icon && "[&_svg]:aria-expanded:rotate-180)} aspect-square")), u = ut(() => l(n).icon ? l(n).text : void 0);
|
|
552
|
+
X(i, {
|
|
543
553
|
class: "relative h-full",
|
|
544
554
|
get buttonClass() {
|
|
545
|
-
return
|
|
555
|
+
return l(p);
|
|
546
556
|
},
|
|
547
|
-
contentClass: "absolute right-0 top-full z-50 flex min-w-[20rem] flex-col bg-
|
|
557
|
+
contentClass: "absolute right-0 top-full z-50 flex min-w-[20rem] flex-col bg-light-grey [&>li]:contents",
|
|
548
558
|
as: "ul",
|
|
549
|
-
get
|
|
550
|
-
return
|
|
559
|
+
get buttonAriaLabel() {
|
|
560
|
+
return l(u);
|
|
551
561
|
},
|
|
552
|
-
button: (
|
|
553
|
-
var
|
|
562
|
+
button: (x) => {
|
|
563
|
+
var g = sa(), v = w(g);
|
|
554
564
|
{
|
|
555
|
-
var
|
|
556
|
-
|
|
565
|
+
var s = (b) => {
|
|
566
|
+
I(b, {
|
|
557
567
|
get icon() {
|
|
558
|
-
return
|
|
568
|
+
return l(n).icon;
|
|
559
569
|
}
|
|
560
570
|
});
|
|
561
|
-
},
|
|
562
|
-
var M = ra(),
|
|
563
|
-
m(
|
|
564
|
-
var
|
|
565
|
-
|
|
571
|
+
}, L = (b) => {
|
|
572
|
+
var M = ra(), A = H(M), S = w(A, !0);
|
|
573
|
+
m(A);
|
|
574
|
+
var N = z(A, 2);
|
|
575
|
+
I(N, { icon: xt }), D(() => j(S, l(n).text)), _(b, M);
|
|
566
576
|
};
|
|
567
|
-
|
|
568
|
-
|
|
577
|
+
Z(v, (b) => {
|
|
578
|
+
l(n).icon ? b(s) : b(L, !1);
|
|
569
579
|
});
|
|
570
580
|
}
|
|
571
|
-
m(
|
|
581
|
+
m(g), D(() => St(g, "bg-yellow", l(n).highlight)), _(x, g);
|
|
572
582
|
},
|
|
573
|
-
children: (
|
|
574
|
-
var
|
|
575
|
-
q(
|
|
576
|
-
var M = la(),
|
|
577
|
-
let
|
|
578
|
-
var
|
|
579
|
-
m(
|
|
580
|
-
|
|
581
|
-
class: st("border-0 border-b border-solid border-grey
|
|
582
|
-
href:
|
|
583
|
-
...
|
|
584
|
-
}),
|
|
585
|
-
}),
|
|
586
|
-
}), x
|
|
583
|
+
children: (x, g) => {
|
|
584
|
+
var v = F(), s = H(v);
|
|
585
|
+
q(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), D(() => {
|
|
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
|
+
}), j(N, l(b).text);
|
|
595
|
+
}), _(L, M);
|
|
596
|
+
}), _(x, v);
|
|
587
597
|
},
|
|
588
598
|
$$slots: { button: !0, default: !0 }
|
|
589
599
|
});
|
|
590
|
-
},
|
|
591
|
-
var
|
|
592
|
-
const u =
|
|
593
|
-
var
|
|
594
|
-
m(
|
|
595
|
-
|
|
596
|
-
}),
|
|
600
|
+
}, o = (i) => {
|
|
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-[#DDDDDD]", l(n).highlight && "bg-yellow")));
|
|
603
|
+
var d = w(p, !0);
|
|
604
|
+
m(p), D(() => {
|
|
605
|
+
ot(p, l(u)), B(p, "href", l(n).href), j(d, l(n).text);
|
|
606
|
+
}), _(i, p);
|
|
597
607
|
};
|
|
598
|
-
|
|
599
|
-
|
|
608
|
+
Z(C, (i) => {
|
|
609
|
+
l(n).links ? i(h) : i(o, !1);
|
|
600
610
|
});
|
|
601
611
|
}
|
|
602
|
-
m(f),
|
|
603
|
-
}), m(
|
|
612
|
+
m(f), _(c, f);
|
|
613
|
+
}), m(r), m(a), _(e, a), tt();
|
|
604
614
|
}
|
|
605
|
-
|
|
606
|
-
var ca =
|
|
607
|
-
function
|
|
615
|
+
P(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) {
|
|
608
618
|
var t = ca();
|
|
609
|
-
|
|
619
|
+
_(e, t);
|
|
610
620
|
}
|
|
611
|
-
|
|
612
|
-
var ua =
|
|
621
|
+
P(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 {
|
|
613
623
|
fill: #fff;
|
|
614
624
|
font-family: MyriadPro-Regular, 'Myriad Pro';
|
|
615
625
|
font-size: 44.28px;
|
|
@@ -618,12 +628,12 @@ var ua = xt(`<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000
|
|
|
618
628
|
.cls-2 {
|
|
619
629
|
fill: #e51937;
|
|
620
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>`);
|
|
621
|
-
function
|
|
631
|
+
function ne(e) {
|
|
622
632
|
var t = ua();
|
|
623
|
-
|
|
633
|
+
_(e, t);
|
|
624
634
|
}
|
|
625
|
-
|
|
626
|
-
var va =
|
|
635
|
+
P(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 {
|
|
627
637
|
fill: #fff;
|
|
628
638
|
font-family: MyriadPro-Regular, 'Myriad Pro';
|
|
629
639
|
font-size: 44.28px;
|
|
@@ -636,526 +646,531 @@ var va = xt(`<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000
|
|
|
636
646
|
.cls-3 {
|
|
637
647
|
letter-spacing: 0em;
|
|
638
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>`);
|
|
639
|
-
function
|
|
649
|
+
function ie(e) {
|
|
640
650
|
var t = va();
|
|
641
|
-
|
|
651
|
+
_(e, t);
|
|
642
652
|
}
|
|
643
|
-
|
|
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>'),
|
|
645
|
-
function
|
|
646
|
-
Y(t, !
|
|
647
|
-
const [a,
|
|
648
|
-
|
|
649
|
-
|
|
653
|
+
P(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) {
|
|
656
|
+
Y(t, !0);
|
|
657
|
+
const [a, r] = mt(), c = () => wt(f, "$headerState", a);
|
|
658
|
+
let n = E(t, "variant", 7);
|
|
659
|
+
const f = Ht("header-state");
|
|
660
|
+
var C = ha(), h = w(C);
|
|
650
661
|
{
|
|
651
|
-
var
|
|
652
|
-
var
|
|
653
|
-
|
|
662
|
+
var o = (v) => {
|
|
663
|
+
var s = fa(), L = w(s);
|
|
664
|
+
oe(L), m(s), _(v, s);
|
|
654
665
|
};
|
|
655
|
-
|
|
656
|
-
var
|
|
657
|
-
((
|
|
666
|
+
Z(h, (v) => {
|
|
667
|
+
var s;
|
|
668
|
+
((s = c()) == null ? void 0 : s.mode) === "desktop" && v(o);
|
|
658
669
|
});
|
|
659
670
|
}
|
|
660
|
-
var
|
|
661
|
-
const
|
|
662
|
-
var
|
|
663
|
-
return
|
|
671
|
+
var i = z(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]"));
|
|
664
675
|
});
|
|
665
|
-
var
|
|
676
|
+
var u = w(i);
|
|
666
677
|
{
|
|
667
|
-
var
|
|
668
|
-
|
|
669
|
-
},
|
|
670
|
-
|
|
678
|
+
var d = (v) => {
|
|
679
|
+
ie(v);
|
|
680
|
+
}, x = (v) => {
|
|
681
|
+
ne(v);
|
|
671
682
|
};
|
|
672
|
-
|
|
673
|
-
var
|
|
674
|
-
((
|
|
683
|
+
Z(u, (v) => {
|
|
684
|
+
var s;
|
|
685
|
+
((s = c()) == null ? void 0 : s.mode) === "desktop" ? v(d) : v(x, !1);
|
|
675
686
|
});
|
|
676
687
|
}
|
|
677
|
-
m(
|
|
688
|
+
m(i), m(C), D(() => ot(i, l(p))), _(e, C);
|
|
689
|
+
var g = tt({
|
|
690
|
+
get variant() {
|
|
691
|
+
return n();
|
|
692
|
+
},
|
|
693
|
+
set variant(v) {
|
|
694
|
+
n(v), V();
|
|
695
|
+
}
|
|
696
|
+
});
|
|
697
|
+
return r(), g;
|
|
678
698
|
}
|
|
679
|
-
|
|
680
|
-
var
|
|
681
|
-
function
|
|
682
|
-
var t =
|
|
683
|
-
|
|
699
|
+
P(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);
|
|
684
704
|
}
|
|
685
|
-
|
|
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
|
|
687
|
-
function
|
|
705
|
+
P(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) {
|
|
688
708
|
var t = xa();
|
|
689
|
-
q(t, 5, () =>
|
|
690
|
-
var
|
|
709
|
+
q(t, 5, () => re, at, (a, r) => {
|
|
710
|
+
var c = ba(), n = w(c);
|
|
691
711
|
{
|
|
692
|
-
var f = (
|
|
693
|
-
var
|
|
694
|
-
|
|
712
|
+
var f = (h) => {
|
|
713
|
+
var o = pa(), i = w(o);
|
|
714
|
+
I(i, {
|
|
695
715
|
get icon() {
|
|
696
|
-
return r
|
|
716
|
+
return l(r).icon;
|
|
697
717
|
}
|
|
698
|
-
}), m(
|
|
699
|
-
|
|
700
|
-
}),
|
|
701
|
-
}, C = (
|
|
702
|
-
var
|
|
703
|
-
m(
|
|
704
|
-
|
|
705
|
-
}),
|
|
718
|
+
}), m(o), D(() => {
|
|
719
|
+
B(o, "href", l(r).href), B(o, "aria-label", l(r).text);
|
|
720
|
+
}), _(h, o);
|
|
721
|
+
}, C = (h) => {
|
|
722
|
+
var o = ga(), i = w(o, !0);
|
|
723
|
+
m(o), D(() => {
|
|
724
|
+
B(o, "href", l(r).href), j(i, l(r).text);
|
|
725
|
+
}), _(h, o);
|
|
706
726
|
};
|
|
707
|
-
|
|
708
|
-
r
|
|
727
|
+
Z(n, (h) => {
|
|
728
|
+
l(r).icon ? h(f) : h(C, !1);
|
|
709
729
|
});
|
|
710
730
|
}
|
|
711
|
-
m(
|
|
712
|
-
}), m(t),
|
|
731
|
+
m(c), _(a, c);
|
|
732
|
+
}), m(t), _(e, t);
|
|
713
733
|
}
|
|
714
|
-
|
|
715
|
-
var
|
|
716
|
-
function
|
|
717
|
-
const t = [...
|
|
718
|
-
var
|
|
719
|
-
q(n, 1, () =>
|
|
720
|
-
var
|
|
734
|
+
P(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
|
+
q(n, 1, () => r, (h) => h.text || h.title, (h, o) => {
|
|
740
|
+
var i = wa(), p = w(i);
|
|
721
741
|
{
|
|
722
|
-
var u = (
|
|
723
|
-
var
|
|
724
|
-
|
|
742
|
+
var u = (x) => {
|
|
743
|
+
var g = ut(() => l(o).icon ? l(o).text : void 0);
|
|
744
|
+
X(x, {
|
|
725
745
|
class: "h-full w-fit",
|
|
726
|
-
get
|
|
727
|
-
return
|
|
746
|
+
get buttonAriaLabel() {
|
|
747
|
+
return l(g);
|
|
728
748
|
},
|
|
729
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",
|
|
730
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",
|
|
731
751
|
as: "ul",
|
|
732
|
-
button: (
|
|
733
|
-
|
|
752
|
+
button: (s) => {
|
|
753
|
+
I(s, {
|
|
734
754
|
get icon() {
|
|
735
|
-
return
|
|
755
|
+
return l(o).icon;
|
|
736
756
|
}
|
|
737
757
|
});
|
|
738
758
|
},
|
|
739
|
-
children: (
|
|
740
|
-
var b =
|
|
741
|
-
q(M, 1, () =>
|
|
742
|
-
var
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
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);
|
|
759
|
+
children: (s, L) => {
|
|
760
|
+
var b = F(), M = H(b);
|
|
761
|
+
q(M, 1, () => l(o).links, at, (A, S) => {
|
|
762
|
+
var N = _a(), y = w(N), $ = w(y, !0);
|
|
763
|
+
m(y), m(N), D(() => {
|
|
764
|
+
B(y, "href", l(S).href), j($, l(S).text);
|
|
765
|
+
}), _(A, N);
|
|
766
|
+
}), _(s, b);
|
|
753
767
|
},
|
|
754
768
|
$$slots: { button: !0, default: !0 }
|
|
755
769
|
});
|
|
756
|
-
},
|
|
757
|
-
var
|
|
758
|
-
|
|
770
|
+
}, d = (x) => {
|
|
771
|
+
var g = ma(), v = w(g);
|
|
772
|
+
I(v, {
|
|
759
773
|
get icon() {
|
|
760
|
-
return
|
|
774
|
+
return l(o).icon;
|
|
761
775
|
}
|
|
762
|
-
}), m(
|
|
763
|
-
|
|
764
|
-
}), x
|
|
776
|
+
}), m(g), D(() => {
|
|
777
|
+
B(g, "href", l(o).href), B(g, "aria-label", l(o).text);
|
|
778
|
+
}), _(x, g);
|
|
765
779
|
};
|
|
766
|
-
|
|
767
|
-
|
|
780
|
+
Z(p, (x) => {
|
|
781
|
+
l(o).links ? x(u) : x(d, !1);
|
|
768
782
|
});
|
|
769
783
|
}
|
|
770
|
-
m(
|
|
784
|
+
m(i), _(h, i);
|
|
771
785
|
});
|
|
772
|
-
var f =
|
|
773
|
-
|
|
786
|
+
var f = z(n, 2), C = w(f);
|
|
787
|
+
X(C, {
|
|
774
788
|
class: "h-full w-fit",
|
|
775
|
-
|
|
789
|
+
buttonAriaLabel: "Main Menu",
|
|
776
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",
|
|
777
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",
|
|
778
792
|
as: "ul",
|
|
779
|
-
button: (
|
|
780
|
-
|
|
793
|
+
button: (o) => {
|
|
794
|
+
I(o, { icon: Yt });
|
|
781
795
|
},
|
|
782
|
-
children: (
|
|
783
|
-
var
|
|
784
|
-
q(u, 1, () => a,
|
|
785
|
-
var
|
|
796
|
+
children: (o, i) => {
|
|
797
|
+
var p = F(), u = H(p);
|
|
798
|
+
q(u, 1, () => a, at, (d, x) => {
|
|
799
|
+
var g = ka(), v = w(g);
|
|
786
800
|
{
|
|
787
|
-
var
|
|
788
|
-
|
|
801
|
+
var s = (b) => {
|
|
802
|
+
X(b, {
|
|
789
803
|
class: "relative w-full",
|
|
790
|
-
buttonClass: "flex border-0 border-b border-solid border-grey
|
|
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",
|
|
791
805
|
contentClass: "flex flex-col w-full flex-col bg-white text-black [&>li]:contents",
|
|
792
806
|
as: "ul",
|
|
793
807
|
autoCollapse: !1,
|
|
794
|
-
button: (
|
|
795
|
-
var
|
|
796
|
-
m(
|
|
797
|
-
var $ =
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
}),
|
|
808
|
+
button: (A) => {
|
|
809
|
+
var S = ya(), N = w(S), y = w(N, !0);
|
|
810
|
+
m(N);
|
|
811
|
+
var $ = z(N, 2);
|
|
812
|
+
I($, { icon: xt }), m(S), D(() => {
|
|
813
|
+
St(S, "bg-yellow", l(x).highlight), j(y, l(x).text);
|
|
814
|
+
}), _(A, S);
|
|
801
815
|
},
|
|
802
|
-
children: (
|
|
803
|
-
var
|
|
804
|
-
q(
|
|
805
|
-
var
|
|
806
|
-
let
|
|
807
|
-
var yt =
|
|
808
|
-
m(
|
|
809
|
-
|
|
810
|
-
class: "border-0 border-b border-solid border-grey
|
|
811
|
-
href:
|
|
812
|
-
...
|
|
813
|
-
}),
|
|
814
|
-
}),
|
|
815
|
-
}),
|
|
816
|
+
children: (A, S) => {
|
|
817
|
+
var N = F(), y = H(N);
|
|
818
|
+
q(y, 1, () => l(x).links, at, ($, R) => {
|
|
819
|
+
var W = Ma(), U = w(W);
|
|
820
|
+
let T;
|
|
821
|
+
var yt = w(U, !0);
|
|
822
|
+
m(U), m(W), D(() => {
|
|
823
|
+
T = rt(U, T, {
|
|
824
|
+
class: "border-0 border-b border-solid border-light-grey-500 p-2 transition-colors hover:bg-light-grey",
|
|
825
|
+
href: l(R).href,
|
|
826
|
+
...l(R).attributes
|
|
827
|
+
}), j(yt, l(R).text);
|
|
828
|
+
}), _($, W);
|
|
829
|
+
}), _(A, N);
|
|
816
830
|
},
|
|
817
831
|
$$slots: { button: !0, default: !0 }
|
|
818
832
|
});
|
|
819
|
-
},
|
|
820
|
-
var M = Ca(),
|
|
821
|
-
m(M),
|
|
822
|
-
|
|
823
|
-
}),
|
|
833
|
+
}, L = (b) => {
|
|
834
|
+
var M = Ca(), A = w(M, !0);
|
|
835
|
+
m(M), D(() => {
|
|
836
|
+
B(M, "href", l(x).href), St(M, "bg-yellow", l(x).highlight), j(A, l(x).text);
|
|
837
|
+
}), _(b, M);
|
|
824
838
|
};
|
|
825
|
-
|
|
826
|
-
|
|
839
|
+
Z(v, (b) => {
|
|
840
|
+
l(x).links ? b(s) : b(L, !1);
|
|
827
841
|
});
|
|
828
842
|
}
|
|
829
|
-
m(
|
|
830
|
-
}),
|
|
843
|
+
m(g), _(d, g);
|
|
844
|
+
}), _(o, p);
|
|
831
845
|
},
|
|
832
846
|
$$slots: { button: !0, default: !0 }
|
|
833
|
-
}), m(f), m(
|
|
847
|
+
}), m(f), m(c), _(e, c);
|
|
834
848
|
}
|
|
835
|
-
|
|
836
|
-
var
|
|
837
|
-
function
|
|
849
|
+
P(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) {
|
|
838
852
|
Y(t, !1);
|
|
839
|
-
const [a,
|
|
840
|
-
|
|
841
|
-
var f =
|
|
842
|
-
const C =
|
|
853
|
+
const [a, r] = mt(), c = () => wt(n, "$headerState", a), n = Ht("header-state");
|
|
854
|
+
te();
|
|
855
|
+
var f = Aa();
|
|
856
|
+
const C = ut(() => {
|
|
843
857
|
var u;
|
|
844
|
-
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"));
|
|
845
859
|
});
|
|
846
|
-
var
|
|
847
|
-
|
|
848
|
-
var
|
|
860
|
+
var h = w(f);
|
|
861
|
+
ce(h, {});
|
|
862
|
+
var o = z(h, 2);
|
|
849
863
|
{
|
|
850
|
-
var
|
|
851
|
-
var
|
|
852
|
-
|
|
853
|
-
},
|
|
854
|
-
var
|
|
864
|
+
var i = (u) => {
|
|
865
|
+
var d = $a(), x = z(w(d), 2);
|
|
866
|
+
ue(x), m(d), _(u, d);
|
|
867
|
+
}, p = (u) => {
|
|
868
|
+
var d = F(), x = H(d);
|
|
855
869
|
{
|
|
856
|
-
var
|
|
857
|
-
|
|
858
|
-
},
|
|
859
|
-
|
|
870
|
+
var g = (s) => {
|
|
871
|
+
ve(s);
|
|
872
|
+
}, v = (s) => {
|
|
873
|
+
fe(s);
|
|
860
874
|
};
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
(
|
|
864
|
-
var
|
|
865
|
-
((
|
|
875
|
+
Z(
|
|
876
|
+
x,
|
|
877
|
+
(s) => {
|
|
878
|
+
var L;
|
|
879
|
+
((L = c()) == null ? void 0 : L.mode) === "desktop" ? s(g) : s(v, !1);
|
|
866
880
|
},
|
|
867
881
|
!0
|
|
868
882
|
);
|
|
869
883
|
}
|
|
870
|
-
|
|
884
|
+
_(u, d);
|
|
871
885
|
};
|
|
872
|
-
|
|
873
|
-
var
|
|
874
|
-
((
|
|
886
|
+
Z(o, (u) => {
|
|
887
|
+
var d;
|
|
888
|
+
((d = c()) == null ? void 0 : d.variant) === "dual-brand" ? u(i) : u(p, !1);
|
|
875
889
|
});
|
|
876
890
|
}
|
|
877
|
-
m(f),
|
|
891
|
+
m(f), D(() => ot(f, l(C))), _(e, f), tt(), r();
|
|
878
892
|
}
|
|
879
|
-
|
|
880
|
-
var
|
|
881
|
-
function
|
|
893
|
+
P(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>"), Da = k("<li><!></li>"), Ea = k("<li><a> </a></li>");
|
|
895
|
+
function de(e, t) {
|
|
882
896
|
Y(t, !0);
|
|
883
|
-
let a =
|
|
884
|
-
var
|
|
885
|
-
return q(
|
|
886
|
-
var C =
|
|
897
|
+
let a = E(t, "items", 7);
|
|
898
|
+
var r = F(), c = H(r);
|
|
899
|
+
return q(c, 17, a, (n) => n.text || n.title, (n, f) => {
|
|
900
|
+
var C = F(), h = H(C);
|
|
887
901
|
{
|
|
888
|
-
var
|
|
889
|
-
var u =
|
|
890
|
-
|
|
902
|
+
var o = (p) => {
|
|
903
|
+
var u = Da(), d = w(u);
|
|
904
|
+
X(d, {
|
|
891
905
|
class: "relative h-full",
|
|
892
|
-
buttonClass: "flex h-full items-center justify-center gap-2 px-2 transition-colors hover:bg-yellow
|
|
893
|
-
contentClass: "absolute right-0 top-full z-50 flex min-w-[20rem] flex-col bg-grey
|
|
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-light-grey [&>li]:contents",
|
|
908
|
+
buttonAriaLabel: void 0,
|
|
894
909
|
as: "ul",
|
|
895
|
-
button: (
|
|
896
|
-
var
|
|
897
|
-
m(
|
|
898
|
-
var b =
|
|
899
|
-
|
|
910
|
+
button: (g) => {
|
|
911
|
+
var v = Sa(), s = w(v), L = w(s, !0);
|
|
912
|
+
m(s);
|
|
913
|
+
var b = z(s, 2);
|
|
914
|
+
I(b, { icon: xt }), m(v), D(() => j(L, l(f).title)), _(g, v);
|
|
900
915
|
},
|
|
901
|
-
children: (
|
|
902
|
-
var
|
|
903
|
-
q(
|
|
904
|
-
var
|
|
905
|
-
let
|
|
906
|
-
var
|
|
907
|
-
m(
|
|
916
|
+
children: (g, v) => {
|
|
917
|
+
var s = F(), L = H(s);
|
|
918
|
+
q(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), D(() => {
|
|
908
923
|
var $;
|
|
909
|
-
|
|
910
|
-
...
|
|
911
|
-
class: `border-0 border-b border-solid border-grey
|
|
912
|
-
href:
|
|
913
|
-
}),
|
|
914
|
-
}),
|
|
915
|
-
}),
|
|
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
|
+
}), j(y, l(M).text);
|
|
929
|
+
}), _(b, A);
|
|
930
|
+
}), _(g, s);
|
|
916
931
|
},
|
|
917
932
|
$$slots: { button: !0, default: !0 }
|
|
918
|
-
}), m(u),
|
|
919
|
-
},
|
|
920
|
-
var u =
|
|
921
|
-
let
|
|
922
|
-
var
|
|
923
|
-
m(
|
|
924
|
-
var
|
|
925
|
-
|
|
926
|
-
...
|
|
927
|
-
class: `flex h-full items-center justify-center gap-2 px-2 transition-colors hover:bg-yellow
|
|
928
|
-
href:
|
|
929
|
-
}),
|
|
930
|
-
}),
|
|
933
|
+
}), m(u), _(p, u);
|
|
934
|
+
}, i = (p) => {
|
|
935
|
+
var u = Ea(), d = w(u);
|
|
936
|
+
let x;
|
|
937
|
+
var g = w(d, !0);
|
|
938
|
+
m(d), m(u), D(() => {
|
|
939
|
+
var v;
|
|
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
|
+
}), j(g, l(f).text);
|
|
945
|
+
}), _(p, u);
|
|
931
946
|
};
|
|
932
|
-
|
|
933
|
-
|
|
947
|
+
Z(h, (p) => {
|
|
948
|
+
l(f).links ? p(o) : p(i, !1);
|
|
934
949
|
});
|
|
935
950
|
}
|
|
936
|
-
|
|
937
|
-
}),
|
|
951
|
+
_(n, C);
|
|
952
|
+
}), _(e, r), tt({
|
|
938
953
|
get items() {
|
|
939
954
|
return a();
|
|
940
955
|
},
|
|
941
956
|
set items(n) {
|
|
942
|
-
a(n),
|
|
957
|
+
a(n), V();
|
|
943
958
|
}
|
|
944
959
|
});
|
|
945
960
|
}
|
|
946
|
-
|
|
947
|
-
var
|
|
948
|
-
function
|
|
961
|
+
P(de, { items: {} }, [], [], !0);
|
|
962
|
+
var Va = k("<a> </a>"), Za = k('<span class="w-full flex items-center gap-2 justify-between [&>svg]:transition-transform"><span class="mr-auto"> </span> <!></span>'), ja = k("<li><a> </a></li>"), Ha = k('<li class="[&>*]:last:mb-4 [&>*]:first:mt-4"><!></li>'), Ta = k("<li><!></li>");
|
|
963
|
+
function pe(e, t) {
|
|
949
964
|
Y(t, !0);
|
|
950
|
-
let a =
|
|
951
|
-
var
|
|
952
|
-
return
|
|
965
|
+
let a = E(t, "items", 7);
|
|
966
|
+
var r = Ta(), c = w(r);
|
|
967
|
+
return X(c, {
|
|
953
968
|
class: "h-full",
|
|
954
|
-
buttonClass: "flex h-full aspect-square items-center justify-center gap-2 px-4 transition-colors hover:bg-yellow
|
|
969
|
+
buttonClass: "flex h-full aspect-square items-center justify-center gap-2 px-4 transition-colors hover:bg-yellow aria-expanded:bg-yellow",
|
|
955
970
|
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",
|
|
956
|
-
|
|
971
|
+
buttonAriaLabel: "Sub Navigation Menu",
|
|
957
972
|
as: "ul",
|
|
958
973
|
button: (f) => {
|
|
959
|
-
|
|
974
|
+
I(f, { icon: Yt });
|
|
960
975
|
},
|
|
961
976
|
children: (f, C) => {
|
|
962
|
-
var
|
|
963
|
-
q(
|
|
964
|
-
var u =
|
|
977
|
+
var h = F(), o = H(h);
|
|
978
|
+
q(o, 17, a, (i) => i.text || i.title, (i, p) => {
|
|
979
|
+
var u = Ha(), d = w(u);
|
|
965
980
|
{
|
|
966
|
-
var
|
|
967
|
-
var
|
|
968
|
-
let
|
|
969
|
-
var b =
|
|
970
|
-
m(
|
|
981
|
+
var x = (v) => {
|
|
982
|
+
var s = Va();
|
|
983
|
+
let L;
|
|
984
|
+
var b = w(s, !0);
|
|
985
|
+
m(s), D(() => {
|
|
971
986
|
var M;
|
|
972
|
-
|
|
973
|
-
...
|
|
974
|
-
class: `border-0 border-b border-solid border-grey
|
|
975
|
-
href:
|
|
976
|
-
}),
|
|
977
|
-
}),
|
|
978
|
-
},
|
|
979
|
-
|
|
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
|
+
}), j(b, l(p).text);
|
|
992
|
+
}), _(v, s);
|
|
993
|
+
}, g = (v) => {
|
|
994
|
+
X(v, {
|
|
980
995
|
class: "relative w-full",
|
|
981
|
-
buttonClass: "flex border-0 border-b border-solid border-grey
|
|
996
|
+
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",
|
|
982
997
|
contentClass: "flex flex-col w-full flex-col bg-white text-black [&>li]:contents",
|
|
983
998
|
as: "ul",
|
|
984
999
|
autoCollapse: !1,
|
|
985
|
-
button: (
|
|
986
|
-
var b =
|
|
1000
|
+
button: (L) => {
|
|
1001
|
+
var b = Za(), M = w(b), A = w(M, !0);
|
|
987
1002
|
m(M);
|
|
988
|
-
var
|
|
989
|
-
|
|
1003
|
+
var S = z(M, 2);
|
|
1004
|
+
I(S, { icon: xt }), m(b), D(() => j(A, l(p).title)), _(L, b);
|
|
990
1005
|
},
|
|
991
|
-
children: (
|
|
992
|
-
var M =
|
|
993
|
-
q(
|
|
994
|
-
var
|
|
995
|
-
let
|
|
996
|
-
var
|
|
997
|
-
m($), m(
|
|
998
|
-
var
|
|
999
|
-
|
|
1000
|
-
...
|
|
1001
|
-
class: `border-0 border-b border-solid border-grey
|
|
1002
|
-
href:
|
|
1003
|
-
}),
|
|
1004
|
-
}),
|
|
1005
|
-
}),
|
|
1006
|
+
children: (L, b) => {
|
|
1007
|
+
var M = F(), A = H(M);
|
|
1008
|
+
q(A, 17, () => l(p).links, at, (S, N) => {
|
|
1009
|
+
var y = ja(), $ = w(y);
|
|
1010
|
+
let R;
|
|
1011
|
+
var W = w($, !0);
|
|
1012
|
+
m($), m(y), D(() => {
|
|
1013
|
+
var U;
|
|
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 ${((U = l(N).attributes) == null ? void 0 : U.class) ?? ""}`,
|
|
1017
|
+
href: l(N).href
|
|
1018
|
+
}), j(W, l(N).text);
|
|
1019
|
+
}), _(S, y);
|
|
1020
|
+
}), _(L, M);
|
|
1006
1021
|
},
|
|
1007
1022
|
$$slots: { button: !0, default: !0 }
|
|
1008
1023
|
});
|
|
1009
1024
|
};
|
|
1010
|
-
|
|
1011
|
-
|
|
1025
|
+
Z(d, (v) => {
|
|
1026
|
+
l(p).text ? v(x) : v(g, !1);
|
|
1012
1027
|
});
|
|
1013
1028
|
}
|
|
1014
|
-
m(u),
|
|
1015
|
-
}),
|
|
1029
|
+
m(u), _(i, u);
|
|
1030
|
+
}), _(f, h);
|
|
1016
1031
|
},
|
|
1017
1032
|
$$slots: { button: !0, default: !0 }
|
|
1018
|
-
}), m(
|
|
1033
|
+
}), m(r), _(e, r), tt({
|
|
1019
1034
|
get items() {
|
|
1020
1035
|
return a();
|
|
1021
1036
|
},
|
|
1022
1037
|
set items(n) {
|
|
1023
|
-
a(n),
|
|
1038
|
+
a(n), V();
|
|
1024
1039
|
}
|
|
1025
1040
|
});
|
|
1026
1041
|
}
|
|
1027
|
-
|
|
1028
|
-
var
|
|
1029
|
-
function
|
|
1042
|
+
P(pe, { items: {} }, [], [], !0);
|
|
1043
|
+
var Fa = k('<a class="mr-auto flex h-full items-center justify-center px-3 font-bold transition-colors hover:bg-yellow"> </a>'), Pa = 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 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) {
|
|
1030
1045
|
Y(t, !0);
|
|
1031
|
-
const [a,
|
|
1032
|
-
let f =
|
|
1046
|
+
const [a, r] = mt(), c = () => wt(n, "$headerState", a), n = Ht("header-state");
|
|
1047
|
+
let f = E(t, "items", 7), C = E(t, "title", 7), h = E(t, "url", 7), o = ct(void 0), i = ct(void 0), p = ct(void 0), u, d = ct(void 0);
|
|
1033
1048
|
jt(() => {
|
|
1034
|
-
var
|
|
1035
|
-
clearTimeout(u), ((
|
|
1049
|
+
var y;
|
|
1050
|
+
clearTimeout(u), ((y = c()) == null ? void 0 : y.mode) === "desktop" && l(o) - l(i) < l(p) && (u = setTimeout(
|
|
1036
1051
|
() => {
|
|
1037
|
-
et(
|
|
1052
|
+
et(d, Nt(isNaN(l(d)) ? l(o) : Math.max(l(o), l(d))));
|
|
1038
1053
|
},
|
|
1039
1054
|
50
|
|
1040
1055
|
));
|
|
1041
1056
|
}), Qe(() => {
|
|
1042
|
-
var
|
|
1043
|
-
((
|
|
1057
|
+
var y;
|
|
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))));
|
|
1044
1059
|
});
|
|
1045
|
-
var
|
|
1046
|
-
const
|
|
1047
|
-
var
|
|
1048
|
-
return
|
|
1060
|
+
var x = Ra();
|
|
1061
|
+
const g = Xt(() => {
|
|
1062
|
+
var y;
|
|
1063
|
+
return nt(st("block align-items relative justify-end bg-[#DDDDDD] 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"));
|
|
1049
1064
|
});
|
|
1050
|
-
var
|
|
1065
|
+
var v = w(x), s = w(v);
|
|
1051
1066
|
{
|
|
1052
|
-
var
|
|
1053
|
-
var $ =
|
|
1054
|
-
m($),
|
|
1055
|
-
|
|
1056
|
-
}),
|
|
1057
|
-
}, b = (
|
|
1058
|
-
var $ =
|
|
1067
|
+
var L = (y) => {
|
|
1068
|
+
var $ = Fa(), R = w($, !0);
|
|
1069
|
+
m($), D(() => {
|
|
1070
|
+
B($, "href", h()), j(R, C());
|
|
1071
|
+
}), ht($, "clientWidth", (W) => et(i, W)), _(y, $);
|
|
1072
|
+
}, b = (y) => {
|
|
1073
|
+
var $ = F(), R = H($);
|
|
1059
1074
|
{
|
|
1060
|
-
var
|
|
1061
|
-
var
|
|
1062
|
-
m(
|
|
1075
|
+
var W = (U) => {
|
|
1076
|
+
var T = Pa(), yt = w(T, !0);
|
|
1077
|
+
m(T), D(() => j(yt, C())), ht(T, "clientWidth", (be) => et(i, be)), _(U, T);
|
|
1063
1078
|
};
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
(
|
|
1067
|
-
C() &&
|
|
1079
|
+
Z(
|
|
1080
|
+
R,
|
|
1081
|
+
(U) => {
|
|
1082
|
+
C() && U(W);
|
|
1068
1083
|
},
|
|
1069
1084
|
!0
|
|
1070
1085
|
);
|
|
1071
1086
|
}
|
|
1072
|
-
|
|
1087
|
+
_(y, $);
|
|
1073
1088
|
};
|
|
1074
|
-
|
|
1075
|
-
C() &&
|
|
1089
|
+
Z(s, (y) => {
|
|
1090
|
+
C() && h() ? y(L) : y(b, !1);
|
|
1076
1091
|
});
|
|
1077
1092
|
}
|
|
1078
|
-
var M =
|
|
1093
|
+
var M = z(s, 2), A = w(M);
|
|
1079
1094
|
{
|
|
1080
|
-
var
|
|
1081
|
-
var $ =
|
|
1095
|
+
var S = (y) => {
|
|
1096
|
+
var $ = F(), R = H($);
|
|
1082
1097
|
{
|
|
1083
|
-
var
|
|
1084
|
-
|
|
1098
|
+
var W = (T) => {
|
|
1099
|
+
de(T, {
|
|
1085
1100
|
get items() {
|
|
1086
1101
|
return f();
|
|
1087
1102
|
}
|
|
1088
1103
|
});
|
|
1089
|
-
},
|
|
1090
|
-
|
|
1104
|
+
}, U = (T) => {
|
|
1105
|
+
pe(T, {
|
|
1091
1106
|
get items() {
|
|
1092
1107
|
return f();
|
|
1093
1108
|
}
|
|
1094
1109
|
});
|
|
1095
1110
|
};
|
|
1096
|
-
|
|
1097
|
-
|
|
1111
|
+
Z(R, (T) => {
|
|
1112
|
+
c().mode === "desktop" && (isNaN(l(d)) || l(o) > l(d)) ? T(W) : T(U, !1);
|
|
1098
1113
|
});
|
|
1099
1114
|
}
|
|
1100
|
-
|
|
1115
|
+
_(y, $);
|
|
1101
1116
|
};
|
|
1102
|
-
|
|
1117
|
+
Z(A, (y) => {
|
|
1103
1118
|
var $;
|
|
1104
|
-
(($ = f()) == null ? void 0 : $.length) > 0 &&
|
|
1119
|
+
(($ = f()) == null ? void 0 : $.length) > 0 && y(S);
|
|
1105
1120
|
});
|
|
1106
1121
|
}
|
|
1107
|
-
m(M), m(
|
|
1108
|
-
var
|
|
1122
|
+
m(M), m(v), m(x), D(() => ot(x, l(g))), ht(M, "clientWidth", (y) => et(p, y)), ht(v, "clientWidth", (y) => et(o, y)), _(e, x);
|
|
1123
|
+
var N = tt({
|
|
1109
1124
|
get items() {
|
|
1110
1125
|
return f();
|
|
1111
1126
|
},
|
|
1112
|
-
set items(
|
|
1113
|
-
f(
|
|
1127
|
+
set items(y) {
|
|
1128
|
+
f(y), V();
|
|
1114
1129
|
},
|
|
1115
1130
|
get title() {
|
|
1116
1131
|
return C();
|
|
1117
1132
|
},
|
|
1118
|
-
set title(
|
|
1119
|
-
C(
|
|
1133
|
+
set title(y) {
|
|
1134
|
+
C(y), V();
|
|
1120
1135
|
},
|
|
1121
1136
|
get url() {
|
|
1122
|
-
return
|
|
1137
|
+
return h();
|
|
1123
1138
|
},
|
|
1124
|
-
set url(
|
|
1125
|
-
|
|
1139
|
+
set url(y) {
|
|
1140
|
+
h(y), V();
|
|
1126
1141
|
}
|
|
1127
1142
|
});
|
|
1128
|
-
return
|
|
1143
|
+
return r(), N;
|
|
1129
1144
|
}
|
|
1130
|
-
|
|
1131
|
-
const
|
|
1132
|
-
var
|
|
1133
|
-
function
|
|
1145
|
+
P(ge, { items: {}, title: {}, url: {} }, [], [], !0);
|
|
1146
|
+
const Ua = 35;
|
|
1147
|
+
var za = k('<header class="relative z-10 w-full font-condensed text-black"><!> <!> <!></header>');
|
|
1148
|
+
function Wa(e, t) {
|
|
1134
1149
|
Y(t, !0);
|
|
1135
|
-
const [a,
|
|
1136
|
-
let n =
|
|
1137
|
-
const
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
mode:
|
|
1141
|
-
variant:
|
|
1150
|
+
const [a, r] = mt(), c = () => wt(p, "$headerState", a);
|
|
1151
|
+
let n = E(t, "subNavigation", 7), f = E(t, "pageTitle", 7), C = E(t, "pageURL", 7), h = E(t, "variant", 7), o = ct(void 0);
|
|
1152
|
+
const i = 1024, p = Pe({ mode: "mobile", variant: h() });
|
|
1153
|
+
Re("header-state", p), jt(() => {
|
|
1154
|
+
p.set({
|
|
1155
|
+
mode: l(o) >= i ? "desktop" : "mobile",
|
|
1156
|
+
variant: h()
|
|
1142
1157
|
});
|
|
1143
1158
|
});
|
|
1144
|
-
var u =
|
|
1159
|
+
var u = za(), d = w(u);
|
|
1145
1160
|
{
|
|
1146
|
-
var
|
|
1147
|
-
|
|
1161
|
+
var x = (b) => {
|
|
1162
|
+
le(b, {});
|
|
1148
1163
|
};
|
|
1149
|
-
|
|
1150
|
-
|
|
1164
|
+
Z(d, (b) => {
|
|
1165
|
+
c().mode === "desktop" && h() !== "dual-brand" && b(x);
|
|
1151
1166
|
});
|
|
1152
1167
|
}
|
|
1153
|
-
var
|
|
1154
|
-
|
|
1155
|
-
var
|
|
1168
|
+
var g = z(d, 2);
|
|
1169
|
+
he(g, {});
|
|
1170
|
+
var v = z(g, 2);
|
|
1156
1171
|
{
|
|
1157
|
-
var
|
|
1158
|
-
|
|
1172
|
+
var s = (b) => {
|
|
1173
|
+
ge(b, {
|
|
1159
1174
|
get title() {
|
|
1160
1175
|
return f();
|
|
1161
1176
|
},
|
|
@@ -1167,42 +1182,42 @@ function Ba(e, t) {
|
|
|
1167
1182
|
}
|
|
1168
1183
|
});
|
|
1169
1184
|
};
|
|
1170
|
-
|
|
1185
|
+
Z(v, (b) => {
|
|
1171
1186
|
var M;
|
|
1172
|
-
(((M = n()) == null ? void 0 : M.length) > 0 || f()) && b(
|
|
1187
|
+
(((M = n()) == null ? void 0 : M.length) > 0 || f()) && b(s);
|
|
1173
1188
|
});
|
|
1174
1189
|
}
|
|
1175
|
-
m(u),
|
|
1176
|
-
var
|
|
1190
|
+
m(u), ze("innerWidth", (b) => et(o, Nt(b))), _(e, u);
|
|
1191
|
+
var L = tt({
|
|
1177
1192
|
get subNavigation() {
|
|
1178
1193
|
return n();
|
|
1179
1194
|
},
|
|
1180
1195
|
set subNavigation(b) {
|
|
1181
|
-
n(b),
|
|
1196
|
+
n(b), V();
|
|
1182
1197
|
},
|
|
1183
1198
|
get pageTitle() {
|
|
1184
1199
|
return f();
|
|
1185
1200
|
},
|
|
1186
1201
|
set pageTitle(b) {
|
|
1187
|
-
f(b),
|
|
1202
|
+
f(b), V();
|
|
1188
1203
|
},
|
|
1189
1204
|
get pageURL() {
|
|
1190
1205
|
return C();
|
|
1191
1206
|
},
|
|
1192
1207
|
set pageURL(b) {
|
|
1193
|
-
C(b),
|
|
1208
|
+
C(b), V();
|
|
1194
1209
|
},
|
|
1195
1210
|
get variant() {
|
|
1196
|
-
return
|
|
1211
|
+
return h();
|
|
1197
1212
|
},
|
|
1198
1213
|
set variant(b) {
|
|
1199
|
-
|
|
1214
|
+
h(b), V();
|
|
1200
1215
|
}
|
|
1201
1216
|
});
|
|
1202
|
-
return
|
|
1217
|
+
return r(), L;
|
|
1203
1218
|
}
|
|
1204
|
-
customElements.define("uofg-header",
|
|
1205
|
-
|
|
1219
|
+
customElements.define("uofg-header", P(
|
|
1220
|
+
Wa,
|
|
1206
1221
|
{
|
|
1207
1222
|
pageTitle: {
|
|
1208
1223
|
attribute: "page-title",
|
|
@@ -1227,8 +1242,8 @@ customElements.define("uofg-header", U(
|
|
|
1227
1242
|
(e) => class extends e {
|
|
1228
1243
|
constructor() {
|
|
1229
1244
|
super();
|
|
1230
|
-
|
|
1231
|
-
|
|
1245
|
+
Mt(this, "subNavigation", []);
|
|
1246
|
+
Ue(this.shadowRoot);
|
|
1232
1247
|
}
|
|
1233
1248
|
connectedCallback() {
|
|
1234
1249
|
super.connectedCallback(), this.updateSubNavigation(), this.observer ?? (this.observer = new MutationObserver(() => {
|
|
@@ -1239,32 +1254,32 @@ customElements.define("uofg-header", U(
|
|
|
1239
1254
|
super.disconnectedCallback(), this.observer.disconnect();
|
|
1240
1255
|
}
|
|
1241
1256
|
updateSubNavigation() {
|
|
1242
|
-
const a = (
|
|
1243
|
-
const
|
|
1244
|
-
return
|
|
1245
|
-
href:
|
|
1246
|
-
text:
|
|
1247
|
-
attributes:
|
|
1257
|
+
const a = (r) => {
|
|
1258
|
+
const c = {};
|
|
1259
|
+
return r.getAttributeNames().filter((n) => n !== "href").forEach((n) => c[n] = r.getAttribute(n)), {
|
|
1260
|
+
href: r.getAttribute("href"),
|
|
1261
|
+
text: r.textContent,
|
|
1262
|
+
attributes: c
|
|
1248
1263
|
};
|
|
1249
1264
|
};
|
|
1250
|
-
this.subNavigation = Array.from(this.children).filter((
|
|
1251
|
-
switch (
|
|
1265
|
+
this.subNavigation = Array.from(this.children).filter((r) => r.tagName === "A" || r.tagName === "UL").map((r) => {
|
|
1266
|
+
switch (r.tagName) {
|
|
1252
1267
|
case "A":
|
|
1253
|
-
return a(
|
|
1268
|
+
return a(r);
|
|
1254
1269
|
case "UL":
|
|
1255
|
-
const
|
|
1256
|
-
title:
|
|
1257
|
-
links: Array.from(
|
|
1270
|
+
const c = {
|
|
1271
|
+
title: r.getAttribute("data-title"),
|
|
1272
|
+
links: Array.from(r.querySelectorAll("a")).map(a)
|
|
1258
1273
|
};
|
|
1259
|
-
return
|
|
1260
|
-
(n, f) => (f.text.length >
|
|
1274
|
+
return c.wrapContent = c.links.reduce(
|
|
1275
|
+
(n, f) => (f.text.length > Ua && (n = !0), n),
|
|
1261
1276
|
!1
|
|
1262
|
-
),
|
|
1277
|
+
), c;
|
|
1263
1278
|
}
|
|
1264
|
-
}).filter((
|
|
1279
|
+
}).filter((r) => !!r);
|
|
1265
1280
|
}
|
|
1266
1281
|
}
|
|
1267
1282
|
));
|
|
1268
1283
|
export {
|
|
1269
|
-
|
|
1284
|
+
Wa as default
|
|
1270
1285
|
};
|