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