@uoguelph/web-components 1.7.5-rc.0 → 1.7.6-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/uofg-web-components/font-awesome-icon-G0qfxDx-.js +2477 -0
- package/dist/uofg-web-components/legacy-DEy5AMhA.js +2 -0
- package/dist/uofg-web-components/lifecycle-CyB2FXck.js +42 -0
- package/dist/uofg-web-components/slot-CsZns-iM.js +10 -0
- package/dist/uofg-web-components/uofg-alert.esm.js +20 -148
- package/dist/uofg-web-components/uofg-back-to-top.esm.js +22 -78
- package/dist/uofg-web-components/uofg-footer.esm.js +154 -449
- package/dist/uofg-web-components/uofg-header.esm.js +1111 -2926
- package/dist/uofg-web-components/uofg-modal.esm.js +205 -324
- package/dist/uofg-web-components/uofg-web-components.css +1 -1
- package/dist/uofg-web-components/window-SgJU2JpL.js +25 -0
- package/package.json +7 -7
- package/dist/uofg-web-components/font-awesome-icon-DNx_vc4u.js +0 -1042
|
@@ -1,388 +1,453 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
var _2 = Object.defineProperty;
|
|
2
|
+
var H1 = (e) => {
|
|
3
|
+
throw TypeError(e);
|
|
4
|
+
};
|
|
5
|
+
var m2 = (e, t, a) => t in e ? _2(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a;
|
|
6
|
+
var C1 = (e, t, a) => m2(e, typeof t != "symbol" ? t + "" : t, a), M1 = (e, t, a) => t.has(e) || H1("Cannot " + a);
|
|
7
|
+
var O = (e, t, a) => (M1(e, t, "read from private field"), a ? a.call(e) : t.get(e)), i1 = (e, t, a) => t.has(e) ? H1("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, a), k1 = (e, t, a, r) => (M1(e, t, "write to private field"), r ? r.call(e, a) : t.set(e, a), a), U1 = (e, t, a) => (M1(e, t, "access private method"), a);
|
|
8
|
+
import { _ as D1, $ as V1, a0 as K1, a1 as J, a2 as J1, H as D, a3 as d1, a4 as x2, a5 as w2, a6 as L1, I as P1, a7 as Q1, a8 as y2, a9 as C2, aa as M2, ab as k2, ac as z1, ad as W1, ae as B1, w as j1, y as b1, af as Z2, ag as $2, ah as L2, ai as A2, z as S2, aj as N2, ak as R1, al as q1, am as E2, an as Z1, ao as V2, ap as j2, B as F1, g as F2, c as P, p as Y, A as E, Z as j, i as N, aq as T2, a as m, j as t1, E as V, t as k, d as w, e as I, ar as U, X as T, s as o1, u as n1, C as R, as as r1, r as x, at as H2, au as U2, J as q, n as s, K as a1, L as F, av as u1, G as A1, F as G, aw as _1, M as m1, ax as T1, ay as x1, az as w1, q as X1, aA as Y1, l as e1, m as S1, o as c1, aB as P2, aC as z2, b as W2 } from "./font-awesome-icon-G0qfxDx-.js";
|
|
9
|
+
import { a as B2 } from "./window-SgJU2JpL.js";
|
|
10
|
+
import "./legacy-DEy5AMhA.js";
|
|
11
|
+
import { i as t2 } from "./lifecycle-CyB2FXck.js";
|
|
12
|
+
import { t as s1 } from "./bundle-mjs-BpzLJ4dA.js";
|
|
13
|
+
function I1(e, t, ...a) {
|
|
14
|
+
var r = e, c = J, n;
|
|
15
|
+
D1(() => {
|
|
16
|
+
c !== (c = t()) && (n && (J1(n), n = null), n = K1(() => (
|
|
17
|
+
/** @type {SnippetFn} */
|
|
18
|
+
c(r, ...a)
|
|
19
|
+
)));
|
|
20
|
+
}, V1), D && (r = d1);
|
|
21
|
+
}
|
|
22
|
+
function R2(e, t, a, r, c, n) {
|
|
23
|
+
let f = D;
|
|
24
|
+
D && P1();
|
|
25
|
+
var M, h, o = null;
|
|
26
|
+
D && d1.nodeType === 1 && (o = /** @type {Element} */
|
|
27
|
+
d1, P1());
|
|
28
|
+
var i = (
|
|
29
|
+
/** @type {TemplateNode} */
|
|
30
|
+
D ? d1 : e
|
|
31
|
+
), p;
|
|
32
|
+
D1(() => {
|
|
33
|
+
const u = t() || null;
|
|
34
|
+
var d = u === "svg" ? Q1 : null;
|
|
35
|
+
u !== M && (p && (u === null ? y2(p, () => {
|
|
36
|
+
p = null, h = null;
|
|
37
|
+
}) : u === h ? C2(p) : (J1(p), B1(!1))), u && u !== h && (p = K1(() => {
|
|
38
|
+
o = D ? (
|
|
39
|
+
/** @type {Element} */
|
|
40
|
+
o
|
|
41
|
+
) : d ? document.createElementNS(d, u) : document.createElement(u), x2(o, o);
|
|
42
|
+
{
|
|
43
|
+
D && M2(u) && o.append(document.createComment(""));
|
|
44
|
+
var _ = (
|
|
45
|
+
/** @type {TemplateNode} */
|
|
46
|
+
D ? k2(o) : o.appendChild(w2())
|
|
47
|
+
);
|
|
48
|
+
D && (_ === null ? z1(!1) : W1(_)), r(o, _);
|
|
49
|
+
}
|
|
50
|
+
L1.nodes_end = o, i.before(o);
|
|
51
|
+
})), M = u, M && (h = M), B1(!0));
|
|
52
|
+
}, V1), f && (z1(!0), W1(i));
|
|
53
|
+
}
|
|
54
|
+
function q2(e, t, a) {
|
|
55
|
+
j1(() => {
|
|
56
|
+
var r = b1(() => t(e, a == null ? void 0 : a()) || {});
|
|
57
|
+
if (r != null && r.destroy)
|
|
58
|
+
return () => (
|
|
59
|
+
/** @type {Function} */
|
|
60
|
+
r.destroy()
|
|
61
|
+
);
|
|
62
|
+
});
|
|
21
63
|
}
|
|
22
|
-
|
|
23
|
-
|
|
64
|
+
const I2 = () => performance.now(), K = {
|
|
65
|
+
// don't access requestAnimationFrame eagerly outside method
|
|
66
|
+
// this allows basic testing of user code without JSDOM
|
|
67
|
+
// bunder will eval and remove ternary when the user's app is built
|
|
68
|
+
tick: (
|
|
69
|
+
/** @param {any} _ */
|
|
70
|
+
(e) => requestAnimationFrame(e)
|
|
71
|
+
),
|
|
72
|
+
now: () => I2(),
|
|
73
|
+
tasks: /* @__PURE__ */ new Set()
|
|
74
|
+
};
|
|
75
|
+
function e2() {
|
|
76
|
+
const e = K.now();
|
|
77
|
+
K.tasks.forEach((t) => {
|
|
78
|
+
t.c(e) || (K.tasks.delete(t), t.f());
|
|
79
|
+
}), K.tasks.size !== 0 && K.tick(e2);
|
|
80
|
+
}
|
|
81
|
+
function G2(e) {
|
|
82
|
+
let t;
|
|
83
|
+
return K.tasks.size === 0 && K.tick(e2), {
|
|
84
|
+
promise: new Promise((a) => {
|
|
85
|
+
K.tasks.add(t = { c: e, f: a });
|
|
86
|
+
}),
|
|
87
|
+
abort() {
|
|
88
|
+
K.tasks.delete(t);
|
|
89
|
+
}
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
function f1(e, t) {
|
|
93
|
+
e.dispatchEvent(new CustomEvent(t));
|
|
94
|
+
}
|
|
95
|
+
function O2(e) {
|
|
96
|
+
if (e === "float") return "cssFloat";
|
|
97
|
+
if (e === "offset") return "cssOffset";
|
|
98
|
+
if (e.startsWith("--")) return e;
|
|
99
|
+
const t = e.split("-");
|
|
100
|
+
return t.length === 1 ? t[0] : t[0] + t.slice(1).map(
|
|
101
|
+
/** @param {any} word */
|
|
102
|
+
(a) => a[0].toUpperCase() + a.slice(1)
|
|
103
|
+
).join("");
|
|
104
|
+
}
|
|
105
|
+
function G1(e) {
|
|
106
|
+
const t = {}, a = e.split(";");
|
|
107
|
+
for (const r of a) {
|
|
108
|
+
const [c, n] = r.split(":");
|
|
109
|
+
if (!c || n === void 0) break;
|
|
110
|
+
const f = O2(c.trim());
|
|
111
|
+
t[f] = n.trim();
|
|
112
|
+
}
|
|
113
|
+
return t;
|
|
114
|
+
}
|
|
115
|
+
const D2 = (e) => e;
|
|
116
|
+
function K2(e, t, a, r) {
|
|
117
|
+
var c = (e & N2) !== 0, n = "both", f, M = t.inert, h = t.style.overflow, o, i;
|
|
118
|
+
function p() {
|
|
119
|
+
var v = E2, l = L1;
|
|
120
|
+
R1(null), q1(null);
|
|
121
|
+
try {
|
|
122
|
+
return f ?? (f = a()(t, (r == null ? void 0 : r()) ?? /** @type {P} */
|
|
123
|
+
{}, {
|
|
124
|
+
direction: n
|
|
125
|
+
}));
|
|
126
|
+
} finally {
|
|
127
|
+
R1(v), q1(l);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
var u = {
|
|
131
|
+
is_global: c,
|
|
132
|
+
in() {
|
|
133
|
+
t.inert = M, f1(t, "introstart"), o = N1(t, p(), i, 1, () => {
|
|
134
|
+
f1(t, "introend"), o == null || o.abort(), o = f = void 0, t.style.overflow = h;
|
|
135
|
+
});
|
|
136
|
+
},
|
|
137
|
+
out(v) {
|
|
138
|
+
t.inert = !0, f1(t, "outrostart"), i = N1(t, p(), o, 0, () => {
|
|
139
|
+
f1(t, "outroend"), v == null || v();
|
|
140
|
+
});
|
|
141
|
+
},
|
|
142
|
+
stop: () => {
|
|
143
|
+
o == null || o.abort(), i == null || i.abort();
|
|
144
|
+
}
|
|
145
|
+
}, d = (
|
|
146
|
+
/** @type {Effect} */
|
|
147
|
+
L1
|
|
148
|
+
);
|
|
149
|
+
if ((d.transitions ?? (d.transitions = [])).push(u), Z2) {
|
|
150
|
+
var _ = c;
|
|
151
|
+
if (!_) {
|
|
152
|
+
for (var g = (
|
|
153
|
+
/** @type {Effect | null} */
|
|
154
|
+
d.parent
|
|
155
|
+
); g && g.f & V1; )
|
|
156
|
+
for (; (g = g.parent) && !(g.f & $2); )
|
|
157
|
+
;
|
|
158
|
+
_ = !g || (g.f & L2) !== 0;
|
|
159
|
+
}
|
|
160
|
+
_ && j1(() => {
|
|
161
|
+
b1(() => u.in());
|
|
162
|
+
});
|
|
163
|
+
}
|
|
24
164
|
}
|
|
25
|
-
function
|
|
26
|
-
|
|
27
|
-
|
|
165
|
+
function N1(e, t, a, r, c) {
|
|
166
|
+
var n = r === 1;
|
|
167
|
+
if (A2(t)) {
|
|
168
|
+
var f, M = !1;
|
|
169
|
+
return S2(() => {
|
|
170
|
+
if (!M) {
|
|
171
|
+
var v = t({ direction: n ? "in" : "out" });
|
|
172
|
+
f = N1(e, v, a, r, c);
|
|
173
|
+
}
|
|
174
|
+
}), {
|
|
175
|
+
abort: () => {
|
|
176
|
+
M = !0, f == null || f.abort();
|
|
177
|
+
},
|
|
178
|
+
deactivate: () => f.deactivate(),
|
|
179
|
+
reset: () => f.reset(),
|
|
180
|
+
t: () => f.t()
|
|
181
|
+
};
|
|
182
|
+
}
|
|
183
|
+
if (a == null || a.deactivate(), !(t != null && t.duration))
|
|
184
|
+
return c(), {
|
|
185
|
+
abort: J,
|
|
186
|
+
deactivate: J,
|
|
187
|
+
reset: J,
|
|
188
|
+
t: () => r
|
|
189
|
+
};
|
|
190
|
+
const { delay: h = 0, css: o, tick: i, easing: p = D2 } = t;
|
|
191
|
+
var u = [];
|
|
192
|
+
if (n && a === void 0 && (i && i(0, 1), o)) {
|
|
193
|
+
var d = G1(o(0, 1));
|
|
194
|
+
u.push(d, d);
|
|
195
|
+
}
|
|
196
|
+
var _ = () => 1 - r, g = e.animate(u, { duration: h });
|
|
197
|
+
return g.onfinish = () => {
|
|
198
|
+
var v = (a == null ? void 0 : a.t()) ?? 1 - r;
|
|
199
|
+
a == null || a.abort();
|
|
200
|
+
var l = r - v, Z = (
|
|
201
|
+
/** @type {number} */
|
|
202
|
+
t.duration * Math.abs(l)
|
|
203
|
+
), b = [];
|
|
204
|
+
if (Z > 0) {
|
|
205
|
+
var C = !1;
|
|
206
|
+
if (o)
|
|
207
|
+
for (var L = Math.ceil(Z / 16.666666666666668), A = 0; A <= L; A += 1) {
|
|
208
|
+
var S = v + l * p(A / L), y = G1(o(S, 1 - S));
|
|
209
|
+
b.push(y), C || (C = y.overflow === "hidden");
|
|
210
|
+
}
|
|
211
|
+
C && (e.style.overflow = "hidden"), _ = () => {
|
|
212
|
+
var $ = (
|
|
213
|
+
/** @type {number} */
|
|
214
|
+
/** @type {globalThis.Animation} */
|
|
215
|
+
g.currentTime
|
|
216
|
+
);
|
|
217
|
+
return v + l * p($ / Z);
|
|
218
|
+
}, i && G2(() => {
|
|
219
|
+
if (g.playState !== "running") return !1;
|
|
220
|
+
var $ = _();
|
|
221
|
+
return i($, 1 - $), !0;
|
|
222
|
+
});
|
|
223
|
+
}
|
|
224
|
+
g = e.animate(b, { duration: Z, fill: "forwards" }), g.onfinish = () => {
|
|
225
|
+
_ = () => r, i == null || i(r, 1 - r), c();
|
|
226
|
+
};
|
|
227
|
+
}, {
|
|
228
|
+
abort: () => {
|
|
229
|
+
g && (g.cancel(), g.effect = null, g.onfinish = J);
|
|
230
|
+
},
|
|
231
|
+
deactivate: () => {
|
|
232
|
+
c = J;
|
|
233
|
+
},
|
|
234
|
+
reset: () => {
|
|
235
|
+
r === 0 && (i == null || i(1, 0));
|
|
236
|
+
},
|
|
237
|
+
t: () => _()
|
|
238
|
+
};
|
|
239
|
+
}
|
|
240
|
+
var Q, l1, v1, p1, a2;
|
|
241
|
+
const g1 = class g1 {
|
|
242
|
+
/** @param {ResizeObserverOptions} options */
|
|
243
|
+
constructor(t) {
|
|
244
|
+
i1(this, p1);
|
|
245
|
+
/** */
|
|
246
|
+
i1(this, Q, /* @__PURE__ */ new WeakMap());
|
|
247
|
+
/** @type {ResizeObserver | undefined} */
|
|
248
|
+
i1(this, l1);
|
|
249
|
+
/** @type {ResizeObserverOptions} */
|
|
250
|
+
i1(this, v1);
|
|
251
|
+
k1(this, v1, t);
|
|
252
|
+
}
|
|
253
|
+
/**
|
|
254
|
+
* @param {Element} element
|
|
255
|
+
* @param {(entry: ResizeObserverEntry) => any} listener
|
|
256
|
+
*/
|
|
257
|
+
observe(t, a) {
|
|
258
|
+
var r = O(this, Q).get(t) || /* @__PURE__ */ new Set();
|
|
259
|
+
return r.add(a), O(this, Q).set(t, r), U1(this, p1, a2).call(this).observe(t, O(this, v1)), () => {
|
|
260
|
+
var c = O(this, Q).get(t);
|
|
261
|
+
c.delete(a), c.size === 0 && (O(this, Q).delete(t), O(this, l1).unobserve(t));
|
|
262
|
+
};
|
|
263
|
+
}
|
|
264
|
+
};
|
|
265
|
+
Q = new WeakMap(), l1 = new WeakMap(), v1 = new WeakMap(), p1 = new WeakSet(), a2 = function() {
|
|
266
|
+
return O(this, l1) ?? k1(this, l1, new ResizeObserver(
|
|
267
|
+
/** @param {any} entries */
|
|
268
|
+
(t) => {
|
|
269
|
+
for (var a of t) {
|
|
270
|
+
g1.entries.set(a.target, a);
|
|
271
|
+
for (var r of O(this, Q).get(a.target) || [])
|
|
272
|
+
r(a);
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
));
|
|
276
|
+
}, /** @static */
|
|
277
|
+
C1(g1, "entries", /* @__PURE__ */ new WeakMap());
|
|
278
|
+
let E1 = g1;
|
|
279
|
+
var J2 = /* @__PURE__ */ new E1({
|
|
280
|
+
box: "border-box"
|
|
281
|
+
});
|
|
282
|
+
function h1(e, t, a) {
|
|
283
|
+
var r = J2.observe(e, () => a(e[t]));
|
|
284
|
+
j1(() => (b1(() => a(e[t])), r));
|
|
285
|
+
}
|
|
286
|
+
function Q2(e) {
|
|
287
|
+
Z1 === null && V2(), j2 && Z1.l !== null ? X2(Z1).m.push(e) : F1(() => {
|
|
288
|
+
const t = b1(e);
|
|
289
|
+
if (typeof t == "function") return (
|
|
290
|
+
/** @type {() => void} */
|
|
291
|
+
t
|
|
292
|
+
);
|
|
293
|
+
});
|
|
28
294
|
}
|
|
29
|
-
function
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
295
|
+
function X2(e) {
|
|
296
|
+
var t = (
|
|
297
|
+
/** @type {ComponentContextLegacy} */
|
|
298
|
+
e.l
|
|
299
|
+
);
|
|
300
|
+
return t.u ?? (t.u = { a: [], b: [], m: [] });
|
|
301
|
+
}
|
|
302
|
+
function Y2(e) {
|
|
303
|
+
const t = e - 1;
|
|
304
|
+
return t * t * t + 1;
|
|
305
|
+
}
|
|
306
|
+
function O1(e, { delay: t = 0, duration: a = 400, easing: r = Y2, axis: c = "y" } = {}) {
|
|
307
|
+
const n = getComputedStyle(e), f = +n.opacity, M = c === "y" ? "height" : "width", h = parseFloat(n[M]), o = c === "y" ? ["top", "bottom"] : ["left", "right"], i = o.map(
|
|
308
|
+
(l) => (
|
|
309
|
+
/** @type {'Left' | 'Right' | 'Top' | 'Bottom'} */
|
|
310
|
+
`${l[0].toUpperCase()}${l.slice(1)}`
|
|
311
|
+
)
|
|
312
|
+
), p = parseFloat(n[`padding${i[0]}`]), u = parseFloat(n[`padding${i[1]}`]), d = parseFloat(n[`margin${i[0]}`]), _ = parseFloat(n[`margin${i[1]}`]), g = parseFloat(
|
|
313
|
+
n[`border${i[0]}Width`]
|
|
314
|
+
), v = parseFloat(
|
|
315
|
+
n[`border${i[1]}Width`]
|
|
36
316
|
);
|
|
37
317
|
return {
|
|
38
|
-
delay:
|
|
39
|
-
duration:
|
|
40
|
-
easing:
|
|
41
|
-
css: (
|
|
318
|
+
delay: t,
|
|
319
|
+
duration: a,
|
|
320
|
+
easing: r,
|
|
321
|
+
css: (l) => `overflow: hidden;opacity: ${Math.min(l * 20, 1) * f};${M}: ${l * h}px;padding-${o[0]}: ${l * p}px;padding-${o[1]}: ${l * u}px;margin-${o[0]}: ${l * d}px;margin-${o[1]}: ${l * _}px;border-${o[0]}-width: ${l * g}px;border-${o[1]}-width: ${l * v}px;min-${M}: 0`
|
|
42
322
|
};
|
|
43
323
|
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
324
|
+
function tt(e) {
|
|
325
|
+
return e < 0.5 ? 4 * e * e * e : 0.5 * Math.pow(2 * e - 2, 3) + 1;
|
|
326
|
+
}
|
|
327
|
+
const $1 = (e) => {
|
|
328
|
+
const t = function(r) {
|
|
329
|
+
e.contains(r.relatedTarget) || e.dispatchEvent(new CustomEvent("focusoutside", { bubbles: !1 }));
|
|
330
|
+
}, a = function(r) {
|
|
331
|
+
e.contains(r.relatedTarget) || e.dispatchEvent(new CustomEvent("focusinside", { bubbles: !1 }));
|
|
49
332
|
};
|
|
50
|
-
return
|
|
333
|
+
return e.addEventListener("focusin", a), e.addEventListener("focusout", t), {
|
|
51
334
|
destroy() {
|
|
52
|
-
|
|
335
|
+
e.removeEventListener("focusin", a), e.removeEventListener("focusout", t);
|
|
53
336
|
}
|
|
54
337
|
};
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
338
|
+
};
|
|
339
|
+
var et = (e, t) => {
|
|
340
|
+
t(!t()), e.target.focus();
|
|
341
|
+
}, at = k('<div tabindex="-1"><button aria-haspopup="true"><!></button> <!></div>');
|
|
342
|
+
function X(e, t) {
|
|
343
|
+
Y(t, !0);
|
|
344
|
+
let a = E(t, "class", 7), r = E(t, "open", 15, !1), c = E(t, "as", 7, "div"), n = E(t, "transition", 7, O1), f = E(t, "buttonClass", 7, ""), M = 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);
|
|
345
|
+
var u = at(), d = w(u);
|
|
346
|
+
d.__click = [et, r];
|
|
347
|
+
var _ = w(d);
|
|
348
|
+
I1(_, () => i() ?? J), x(d);
|
|
349
|
+
var g = I(d, 2);
|
|
350
|
+
{
|
|
351
|
+
var v = (l) => {
|
|
352
|
+
var Z = U(), b = T(Z);
|
|
353
|
+
R2(b, c, !1, (C, L) => {
|
|
354
|
+
let A;
|
|
355
|
+
N(() => A = r1(C, A, { class: M() }, void 0, C.namespaceURI === Q1, C.nodeName.includes("-"))), K2(3, C, n, () => ({ duration: 200, easing: tt }));
|
|
356
|
+
var S = U(), y = T(S);
|
|
357
|
+
I1(y, () => p() ?? J), m(L, S);
|
|
358
|
+
}), m(l, Z);
|
|
359
|
+
};
|
|
360
|
+
j(g, (l) => {
|
|
361
|
+
r() && l(v);
|
|
362
|
+
});
|
|
363
|
+
}
|
|
364
|
+
return x(u), q2(u, (l) => $1 == null ? void 0 : $1(l)), N(() => {
|
|
365
|
+
o1(u, n1(a())), o1(d, n1(f())), R(d, "aria-expanded", r()), R(d, "aria-label", o());
|
|
366
|
+
}), T2("focusoutside", u, () => {
|
|
367
|
+
h() && r(!1);
|
|
368
|
+
}), m(e, u), t1({
|
|
369
|
+
get class() {
|
|
370
|
+
return a();
|
|
67
371
|
},
|
|
68
|
-
|
|
69
|
-
|
|
372
|
+
set class(l) {
|
|
373
|
+
a(l), V();
|
|
70
374
|
},
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
s[2] ? e ? z(
|
|
74
|
-
e,
|
|
75
|
-
/*as*/
|
|
76
|
-
s[2]
|
|
77
|
-
) ? (n.d(1), n = be(s), e = /*as*/
|
|
78
|
-
s[2], n.c(), t && (t = !1, p(n)), n.m(l.parentNode, l)) : (t && (t = !1, p(n)), n.p(s, c)) : (n = be(s), e = /*as*/
|
|
79
|
-
s[2], n.c(), p(n), n.m(l.parentNode, l)) : e && (t = !0, S(), m(n, 1, 1, () => {
|
|
80
|
-
n = null, e = /*as*/
|
|
81
|
-
s[2], t = !1;
|
|
82
|
-
}), V());
|
|
375
|
+
get open() {
|
|
376
|
+
return r();
|
|
83
377
|
},
|
|
84
|
-
|
|
85
|
-
r
|
|
378
|
+
set open(l = !1) {
|
|
379
|
+
r(l), V();
|
|
86
380
|
},
|
|
87
|
-
|
|
88
|
-
|
|
381
|
+
get as() {
|
|
382
|
+
return c();
|
|
89
383
|
},
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
}
|
|
93
|
-
};
|
|
94
|
-
}
|
|
95
|
-
function be(a) {
|
|
96
|
-
let e, l, t;
|
|
97
|
-
const r = (
|
|
98
|
-
/*#slots*/
|
|
99
|
-
a[9].default
|
|
100
|
-
), n = Je(
|
|
101
|
-
r,
|
|
102
|
-
a,
|
|
103
|
-
/*$$scope*/
|
|
104
|
-
a[8],
|
|
105
|
-
null
|
|
106
|
-
);
|
|
107
|
-
let s = [{ class: (
|
|
108
|
-
/*contentClass*/
|
|
109
|
-
a[5]
|
|
110
|
-
) }], c = {};
|
|
111
|
-
for (let o = 0; o < s.length; o += 1)
|
|
112
|
-
c = D(c, s[o]);
|
|
113
|
-
return {
|
|
114
|
-
c() {
|
|
115
|
-
e = v(
|
|
116
|
-
/*as*/
|
|
117
|
-
a[2]
|
|
118
|
-
), n && n.c(), we(
|
|
119
|
-
/*as*/
|
|
120
|
-
a[2]
|
|
121
|
-
)(e, c);
|
|
384
|
+
set as(l = "div") {
|
|
385
|
+
c(l), V();
|
|
122
386
|
},
|
|
123
|
-
|
|
124
|
-
|
|
387
|
+
get transition() {
|
|
388
|
+
return n();
|
|
125
389
|
},
|
|
126
|
-
|
|
127
|
-
n
|
|
128
|
-
256) && Ke(
|
|
129
|
-
n,
|
|
130
|
-
r,
|
|
131
|
-
o,
|
|
132
|
-
/*$$scope*/
|
|
133
|
-
o[8],
|
|
134
|
-
t ? Xe(
|
|
135
|
-
r,
|
|
136
|
-
/*$$scope*/
|
|
137
|
-
o[8],
|
|
138
|
-
i,
|
|
139
|
-
null
|
|
140
|
-
) : Qe(
|
|
141
|
-
/*$$scope*/
|
|
142
|
-
o[8]
|
|
143
|
-
),
|
|
144
|
-
null
|
|
145
|
-
), we(
|
|
146
|
-
/*as*/
|
|
147
|
-
o[2]
|
|
148
|
-
)(e, c = ie(s, [
|
|
149
|
-
(!t || i & /*contentClass*/
|
|
150
|
-
32) && { class: (
|
|
151
|
-
/*contentClass*/
|
|
152
|
-
o[5]
|
|
153
|
-
) }
|
|
154
|
-
]));
|
|
390
|
+
set transition(l = O1) {
|
|
391
|
+
n(l), V();
|
|
155
392
|
},
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
t && (l || (l = ye(
|
|
159
|
-
e,
|
|
160
|
-
/*transition*/
|
|
161
|
-
a[3],
|
|
162
|
-
{ duration: 200, easing: xe },
|
|
163
|
-
!0
|
|
164
|
-
)), l.run(1));
|
|
165
|
-
}), t = !0);
|
|
393
|
+
get buttonClass() {
|
|
394
|
+
return f();
|
|
166
395
|
},
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
e,
|
|
170
|
-
/*transition*/
|
|
171
|
-
a[3],
|
|
172
|
-
{ duration: 200, easing: xe },
|
|
173
|
-
!1
|
|
174
|
-
)), l.run(0)), t = !1;
|
|
396
|
+
set buttonClass(l = "") {
|
|
397
|
+
f(l), V();
|
|
175
398
|
},
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
}
|
|
179
|
-
};
|
|
180
|
-
}
|
|
181
|
-
function Zt(a) {
|
|
182
|
-
let e, l, t, r, n, s;
|
|
183
|
-
const c = (
|
|
184
|
-
/*#slots*/
|
|
185
|
-
a[9].button
|
|
186
|
-
), o = Je(
|
|
187
|
-
c,
|
|
188
|
-
a,
|
|
189
|
-
/*$$scope*/
|
|
190
|
-
a[8],
|
|
191
|
-
Ce
|
|
192
|
-
);
|
|
193
|
-
let i = (
|
|
194
|
-
/*open*/
|
|
195
|
-
a[0] && Me(a)
|
|
196
|
-
);
|
|
197
|
-
return {
|
|
198
|
-
c() {
|
|
199
|
-
e = v("div"), l = v("button"), o && o.c(), t = N(), i && i.c(), h(
|
|
200
|
-
l,
|
|
201
|
-
"class",
|
|
202
|
-
/*buttonClass*/
|
|
203
|
-
a[4]
|
|
204
|
-
), h(l, "aria-haspopup", "true"), h(
|
|
205
|
-
l,
|
|
206
|
-
"aria-expanded",
|
|
207
|
-
/*open*/
|
|
208
|
-
a[0]
|
|
209
|
-
), h(
|
|
210
|
-
l,
|
|
211
|
-
"aria-label",
|
|
212
|
-
/*buttonAriaLabel*/
|
|
213
|
-
a[7]
|
|
214
|
-
), h(
|
|
215
|
-
e,
|
|
216
|
-
"class",
|
|
217
|
-
/*className*/
|
|
218
|
-
a[1]
|
|
219
|
-
), h(e, "tabindex", "-1");
|
|
399
|
+
get contentClass() {
|
|
400
|
+
return M();
|
|
220
401
|
},
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
de(
|
|
224
|
-
l,
|
|
225
|
-
"click",
|
|
226
|
-
/*click_handler*/
|
|
227
|
-
a[10]
|
|
228
|
-
),
|
|
229
|
-
de(
|
|
230
|
-
e,
|
|
231
|
-
"focusoutside",
|
|
232
|
-
/*focusoutside_handler*/
|
|
233
|
-
a[11]
|
|
234
|
-
),
|
|
235
|
-
pt(Ct.call(null, e))
|
|
236
|
-
], n = !0);
|
|
402
|
+
set contentClass(l = "") {
|
|
403
|
+
M(l), V();
|
|
237
404
|
},
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
u,
|
|
244
|
-
/*$$scope*/
|
|
245
|
-
u[8],
|
|
246
|
-
r ? Xe(
|
|
247
|
-
c,
|
|
248
|
-
/*$$scope*/
|
|
249
|
-
u[8],
|
|
250
|
-
f,
|
|
251
|
-
Mt
|
|
252
|
-
) : Qe(
|
|
253
|
-
/*$$scope*/
|
|
254
|
-
u[8]
|
|
255
|
-
),
|
|
256
|
-
Ce
|
|
257
|
-
), (!r || f & /*buttonClass*/
|
|
258
|
-
16) && h(
|
|
259
|
-
l,
|
|
260
|
-
"class",
|
|
261
|
-
/*buttonClass*/
|
|
262
|
-
u[4]
|
|
263
|
-
), (!r || f & /*open*/
|
|
264
|
-
1) && h(
|
|
265
|
-
l,
|
|
266
|
-
"aria-expanded",
|
|
267
|
-
/*open*/
|
|
268
|
-
u[0]
|
|
269
|
-
), (!r || f & /*buttonAriaLabel*/
|
|
270
|
-
128) && h(
|
|
271
|
-
l,
|
|
272
|
-
"aria-label",
|
|
273
|
-
/*buttonAriaLabel*/
|
|
274
|
-
u[7]
|
|
275
|
-
), /*open*/
|
|
276
|
-
u[0] ? i ? (i.p(u, f), f & /*open*/
|
|
277
|
-
1 && p(i, 1)) : (i = Me(u), i.c(), p(i, 1), i.m(e, null)) : i && (S(), m(i, 1, 1, () => {
|
|
278
|
-
i = null;
|
|
279
|
-
}), V()), (!r || f & /*className*/
|
|
280
|
-
2) && h(
|
|
281
|
-
e,
|
|
282
|
-
"class",
|
|
283
|
-
/*className*/
|
|
284
|
-
u[1]
|
|
285
|
-
);
|
|
405
|
+
get autoCollapse() {
|
|
406
|
+
return h();
|
|
407
|
+
},
|
|
408
|
+
set autoCollapse(l = !0) {
|
|
409
|
+
h(l), V();
|
|
286
410
|
},
|
|
287
|
-
|
|
288
|
-
|
|
411
|
+
get buttonAriaLabel() {
|
|
412
|
+
return o();
|
|
289
413
|
},
|
|
290
|
-
|
|
291
|
-
|
|
414
|
+
set buttonAriaLabel(l) {
|
|
415
|
+
o(l), V();
|
|
292
416
|
},
|
|
293
|
-
|
|
294
|
-
|
|
417
|
+
get button() {
|
|
418
|
+
return i();
|
|
419
|
+
},
|
|
420
|
+
set button(l) {
|
|
421
|
+
i(l), V();
|
|
422
|
+
},
|
|
423
|
+
get children() {
|
|
424
|
+
return p();
|
|
425
|
+
},
|
|
426
|
+
set children(l) {
|
|
427
|
+
p(l), V();
|
|
295
428
|
}
|
|
296
|
-
};
|
|
297
|
-
}
|
|
298
|
-
function Lt(a, e, l) {
|
|
299
|
-
let { $$slots: t = {}, $$scope: r } = e, { class: n } = e, { open: s = !1 } = e, { as: c = "div" } = e, { transition: o = xt } = e, { buttonClass: i = "" } = e, { contentClass: u = "" } = e, { autoCollapse: f = !0 } = e, { buttonAriaLabel: _ } = e;
|
|
300
|
-
const $ = (k) => {
|
|
301
|
-
l(0, s = !s), k.target.focus();
|
|
302
|
-
}, w = () => {
|
|
303
|
-
f && l(0, s = !1);
|
|
304
|
-
};
|
|
305
|
-
return a.$$set = (k) => {
|
|
306
|
-
"class" in k && l(1, n = k.class), "open" in k && l(0, s = k.open), "as" in k && l(2, c = k.as), "transition" in k && l(3, o = k.transition), "buttonClass" in k && l(4, i = k.buttonClass), "contentClass" in k && l(5, u = k.contentClass), "autoCollapse" in k && l(6, f = k.autoCollapse), "buttonAriaLabel" in k && l(7, _ = k.buttonAriaLabel), "$$scope" in k && l(8, r = k.$$scope);
|
|
307
|
-
}, [
|
|
308
|
-
s,
|
|
309
|
-
n,
|
|
310
|
-
c,
|
|
311
|
-
o,
|
|
312
|
-
i,
|
|
313
|
-
u,
|
|
314
|
-
f,
|
|
315
|
-
_,
|
|
316
|
-
r,
|
|
317
|
-
t,
|
|
318
|
-
$,
|
|
319
|
-
w
|
|
320
|
-
];
|
|
321
|
-
}
|
|
322
|
-
class I extends T {
|
|
323
|
-
constructor(e) {
|
|
324
|
-
super(), F(this, e, Lt, Zt, z, {
|
|
325
|
-
class: 1,
|
|
326
|
-
open: 0,
|
|
327
|
-
as: 2,
|
|
328
|
-
transition: 3,
|
|
329
|
-
buttonClass: 4,
|
|
330
|
-
contentClass: 5,
|
|
331
|
-
autoCollapse: 6,
|
|
332
|
-
buttonAriaLabel: 7
|
|
333
|
-
});
|
|
334
|
-
}
|
|
335
|
-
get class() {
|
|
336
|
-
return this.$$.ctx[1];
|
|
337
|
-
}
|
|
338
|
-
set class(e) {
|
|
339
|
-
this.$$set({ class: e }), j();
|
|
340
|
-
}
|
|
341
|
-
get open() {
|
|
342
|
-
return this.$$.ctx[0];
|
|
343
|
-
}
|
|
344
|
-
set open(e) {
|
|
345
|
-
this.$$set({ open: e }), j();
|
|
346
|
-
}
|
|
347
|
-
get as() {
|
|
348
|
-
return this.$$.ctx[2];
|
|
349
|
-
}
|
|
350
|
-
set as(e) {
|
|
351
|
-
this.$$set({ as: e }), j();
|
|
352
|
-
}
|
|
353
|
-
get transition() {
|
|
354
|
-
return this.$$.ctx[3];
|
|
355
|
-
}
|
|
356
|
-
set transition(e) {
|
|
357
|
-
this.$$set({ transition: e }), j();
|
|
358
|
-
}
|
|
359
|
-
get buttonClass() {
|
|
360
|
-
return this.$$.ctx[4];
|
|
361
|
-
}
|
|
362
|
-
set buttonClass(e) {
|
|
363
|
-
this.$$set({ buttonClass: e }), j();
|
|
364
|
-
}
|
|
365
|
-
get contentClass() {
|
|
366
|
-
return this.$$.ctx[5];
|
|
367
|
-
}
|
|
368
|
-
set contentClass(e) {
|
|
369
|
-
this.$$set({ contentClass: e }), j();
|
|
370
|
-
}
|
|
371
|
-
get autoCollapse() {
|
|
372
|
-
return this.$$.ctx[6];
|
|
373
|
-
}
|
|
374
|
-
set autoCollapse(e) {
|
|
375
|
-
this.$$set({ autoCollapse: e }), j();
|
|
376
|
-
}
|
|
377
|
-
get buttonAriaLabel() {
|
|
378
|
-
return this.$$.ctx[7];
|
|
379
|
-
}
|
|
380
|
-
set buttonAriaLabel(e) {
|
|
381
|
-
this.$$set({ buttonAriaLabel: e }), j();
|
|
382
|
-
}
|
|
429
|
+
});
|
|
383
430
|
}
|
|
384
|
-
|
|
385
|
-
|
|
431
|
+
F2(["click"]);
|
|
432
|
+
P(
|
|
433
|
+
X,
|
|
434
|
+
{
|
|
435
|
+
class: {},
|
|
436
|
+
open: {},
|
|
437
|
+
as: {},
|
|
438
|
+
transition: {},
|
|
439
|
+
buttonClass: {},
|
|
440
|
+
contentClass: {},
|
|
441
|
+
autoCollapse: {},
|
|
442
|
+
buttonAriaLabel: {},
|
|
443
|
+
button: {},
|
|
444
|
+
children: {}
|
|
445
|
+
},
|
|
446
|
+
[],
|
|
447
|
+
[],
|
|
448
|
+
!0
|
|
449
|
+
);
|
|
450
|
+
const r2 = [
|
|
386
451
|
{
|
|
387
452
|
text: "About",
|
|
388
453
|
href: "https://uoguelph.ca/about"
|
|
@@ -406,10 +471,10 @@ const tt = [
|
|
|
406
471
|
{
|
|
407
472
|
text: "Search the University of Guelph",
|
|
408
473
|
href: "https://uoguelph.ca/search",
|
|
409
|
-
icon:
|
|
474
|
+
icon: H2,
|
|
410
475
|
excludeFromMainMenu: !0
|
|
411
476
|
}
|
|
412
|
-
],
|
|
477
|
+
], s2 = [
|
|
413
478
|
{
|
|
414
479
|
text: "Give",
|
|
415
480
|
href: "https://bbis.alumni.uoguelph.ca/BBIS_Cannon/give/uofg"
|
|
@@ -472,2610 +537,730 @@ const tt = [
|
|
|
472
537
|
href: "https://gryphlife.uoguelph.ca/"
|
|
473
538
|
}
|
|
474
539
|
],
|
|
475
|
-
icon:
|
|
540
|
+
icon: U2,
|
|
476
541
|
excludeFromMainMenu: !0
|
|
477
542
|
}
|
|
478
543
|
];
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
},
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
544
|
+
var rt = k("<span> </span> <!>", 1), st = k('<span class="flex items-center gap-2 [&>svg]:transition-transform"><!></span>'), lt = k("<li><a> </a></li>"), ot = k("<a> </a>"), nt = k("<li><!></li>"), it = 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>');
|
|
545
|
+
function l2(e, t) {
|
|
546
|
+
Y(t, !1), t2();
|
|
547
|
+
var a = it(), r = w(a);
|
|
548
|
+
q(r, 5, () => s2, (c) => c.text || c.title, (c, n) => {
|
|
549
|
+
var f = nt(), M = w(f);
|
|
550
|
+
{
|
|
551
|
+
var h = (i) => {
|
|
552
|
+
var p = u1(() => s1("flex h-full items-center justify-center gap-2 px-2 transition-colors hover:bg-light-grey aria-expanded:bg-light-grey", s(n).icon && "[&_svg]:aria-expanded:rotate-180)} aspect-square")), u = u1(() => s(n).icon ? s(n).text : void 0);
|
|
553
|
+
X(i, {
|
|
554
|
+
class: "relative h-full",
|
|
555
|
+
get buttonClass() {
|
|
556
|
+
return s(p);
|
|
557
|
+
},
|
|
558
|
+
contentClass: "absolute right-0 top-full z-50 flex min-w-[20rem] flex-col bg-light-grey [&>li]:contents",
|
|
559
|
+
as: "ul",
|
|
560
|
+
get buttonAriaLabel() {
|
|
561
|
+
return s(u);
|
|
562
|
+
},
|
|
563
|
+
button: (_) => {
|
|
564
|
+
var g = st(), v = w(g);
|
|
565
|
+
{
|
|
566
|
+
var l = (b) => {
|
|
567
|
+
G(b, {
|
|
568
|
+
get icon() {
|
|
569
|
+
return s(n).icon;
|
|
570
|
+
}
|
|
571
|
+
});
|
|
572
|
+
}, Z = (b) => {
|
|
573
|
+
var C = rt(), L = T(C), A = w(L, !0);
|
|
574
|
+
N(() => F(A, s(n).text.toUpperCase())), x(L);
|
|
575
|
+
var S = I(L, 2);
|
|
576
|
+
G(S, { icon: _1 }), m(b, C);
|
|
577
|
+
};
|
|
578
|
+
j(v, (b) => {
|
|
579
|
+
s(n).icon ? b(l) : b(Z, !1);
|
|
580
|
+
});
|
|
581
|
+
}
|
|
582
|
+
x(g), N(() => A1(g, "bg-yellow", s(n).highlight)), m(_, g);
|
|
583
|
+
},
|
|
584
|
+
children: (_, g) => {
|
|
585
|
+
var v = U(), l = T(v);
|
|
586
|
+
q(l, 1, () => s(n).links, a1, (Z, b) => {
|
|
587
|
+
var C = lt(), L = w(C);
|
|
588
|
+
let A;
|
|
589
|
+
var S = w(L, !0);
|
|
590
|
+
x(L), x(C), N(() => {
|
|
591
|
+
A = r1(L, A, {
|
|
592
|
+
class: s1("border-0 border-b border-solid border-light-grey-500 p-2 transition-colors hover:bg-yellow", s(n).highlight && "bg-yellow"),
|
|
593
|
+
href: s(b).href,
|
|
594
|
+
...s(b).attributes
|
|
595
|
+
}), F(S, s(b).text);
|
|
596
|
+
}), m(Z, C);
|
|
597
|
+
}), m(_, v);
|
|
598
|
+
},
|
|
599
|
+
$$slots: { button: !0, default: !0 }
|
|
600
|
+
});
|
|
601
|
+
}, o = (i) => {
|
|
602
|
+
var p = ot();
|
|
603
|
+
const u = u1(() => n1(s1("flex h-full items-center justify-center gap-2 px-2 transition-colors hover:bg-light-grey", s(n).highlight && "bg-yellow")));
|
|
604
|
+
var d = w(p, !0);
|
|
605
|
+
N(() => F(d, s(n).text.toUpperCase())), x(p), N(() => {
|
|
606
|
+
o1(p, s(u)), R(p, "href", s(n).href);
|
|
607
|
+
}), m(i, p);
|
|
608
|
+
};
|
|
609
|
+
j(M, (i) => {
|
|
610
|
+
s(n).links ? i(h) : i(o, !1);
|
|
611
|
+
});
|
|
612
|
+
}
|
|
613
|
+
x(f), m(c, f);
|
|
614
|
+
}), x(r), x(a), m(e, a), t1();
|
|
615
|
+
}
|
|
616
|
+
P(l2, {}, [], [], !0);
|
|
617
|
+
var ct = m1('<svg viewBox="0 0 68 90" xmlns="http://www.w3.org/2000/svg"><path d="M23.131 0l44.847 90H0V0" fill="#c20430"></path><path d="M23.131 0l16.03 32.044L55.1 0" fill="#ffc500"></path></svg>');
|
|
618
|
+
function o2(e) {
|
|
619
|
+
var t = ct();
|
|
620
|
+
m(e, t);
|
|
621
|
+
}
|
|
622
|
+
P(o2, {}, [], [], !0);
|
|
623
|
+
var ut = m1('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M0 0h100v100H0V0z"></path><path fill="#fff" d="M74.6 54.9l-.7 2c2.4 0 5.6 1.4 5.6 2.9v9.5c0-.2-.2 5.4-7.8 5.4-13.7 0-15.6-10-15.6-20 0-6.7 2.4-13 5.8-17 3.4-3.8 9.8-3.6 15-3 5 .4 6.8 8.7 6.8 8.7l1.7-.5.2-13.2s-.7-.7-1.2-.5c-.5.3-2.4 1-3.7 1-1 0-4.6-.7-8.3-.7-6.6 0-13 1.4-17.8 8a32 32 0 00-3.4 6.1V28c0-8 4.1-6.3 4.6-7 .5-1.3.5-1.3-.2-1.5H39.9s-2 1.4-.7 1.4c5.4.5 7.6 2.5 7.6 7.4v25.4c0 6.6-5.1 10.5-12.5 10.5C27 64.2 22 59.5 22 51.5v-23c0-8 4.1-6.6 4.4-7.6.7-1 .7-1.2 0-1.2 0 0-9.3.5-16.2 0 0 0-2 1.5-.7 1.5 5.4.5 5.4 2.9 5.4 8v26.2s-.5 13.9 17.8 13.9c7.8 0 12.5-3.2 15-6.4l1.1-1.7c.3 2.5.8 5 1.5 7.1 3 9.6 14 12.2 17.6 12.2 4.6 0 4.6 0 8.8-2.9 2.2-1.2 10.2-4.4 10.2-4.4V59.8c0-2.2 4-3.2 4-3.2l.2-1.7H74.6z"></path></svg>');
|
|
624
|
+
function n2(e) {
|
|
625
|
+
var t = ut();
|
|
626
|
+
m(e, t);
|
|
627
|
+
}
|
|
628
|
+
P(n2, {}, [], [], !0);
|
|
629
|
+
var vt = m1('<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 260 141"><g fill="#fff"><path d="M223.87 71.503c-2.899.217-5.81.227-8.71.03-1.23-.07-1.43-.07-1.51 0-.08.08-.78.76-.64 1.16.05.14.17.22.38.25 2.21.26 2.72 1.11 2.72 4.51l.01 6.43H202.6l-.01-7.96c0-2.05 1.13-2.46 1.88-2.73.36-.13.64-.23.64-.5 0-.2.05-.39.1-.56.06-.22.11-.4.01-.52-.09-.11-.27-.11-.39-.1-3.56.32-6.38.13-7.89.02-.95-.06-1.11-.07-1.19 0-.08.08-.78.76-.64 1.16.05.14.17.22.38.25 2.19.26 2.69 1.1 2.69 4.51l.02 20.68c0 2.05-1.31 2.46-2.18 2.74-.43.13-.74.23-.74.5 0 .2-.05.39-.1.56-.06.22-.12.4-.01.53.09.11.27.11.39.1 3.55-.32 6.59-.13 8.23-.03l1.03.05c.18 0 .25-.02.29-.05.08-.08.78-.76.64-1.16-.05-.14-.17-.22-.38-.25-2.22-.26-2.76-1.15-2.76-4.52l-.01-10.13h13.52l.01 11.67c0 2.05-1.18 2.47-1.97 2.74-.37.13-.67.23-.67.5 0 .2-.05.39-.1.56-.06.22-.12.4-.01.53.09.11.27.11.39.1 3.54-.32 6.7-.13 8.39-.03 1.12.07 1.3.07 1.38 0 .08-.08.78-.76.64-1.16-.05-.14-.17-.22-.38-.25-2.22-.26-2.76-1.15-2.76-4.52l-.03-20.68c0-2.05 1.41-2.46 2.34-2.73.46-.13.79-.23.79-.5 0-.2.05-.39.1-.56.06-.22.11-.4.01-.52-.09-.13-.26-.13-.38-.12ZM75.39 92.043h.14c1.83 0 4.16 1.14 4.16 2.03v7.43l-.01.03c-.15.93-1.04 3.96-6.01 3.96h-.27c-6.34 0-9.27-3.61-10.61-6.67-3.1-7.05-.75-17.23 3.42-21.62 1.41-1.48 4.78-3.76 11.57-2.39 3.91.79 5.17 6.69 5.18 6.75l.02.11 1.46-.49.3-10.34-.02-.03c-.54-.73-1.43-.38-2.29-.04-.55.22-1.12.45-1.61.43-4.4-.9-15.18-2.15-20.31 5.73-5.35 7.02-6.38 17.7-2.46 25.38 2.62 5.14 7.02 7.95 12.41 7.95h.38c3.45 0 3.45 0 6.38-1.91l.36-.24c1.66-1.08 7.89-3.38 7.95-3.4l.07-.03v-10.47c0-1.75 3.02-2.45 3.05-2.46l.07-.02.16-1.47h-13l-.49 1.78Zm43.26-20.81c-2.23.21-5.93.09-8.15.02-1.96-.06-1.97-.05-2.03.01-.05.05-.53.54-.43.83.02.07.09.16.28.19 1.59.2 4.26 1.22 4.21 3.8l-.14 16.16a6.291 6.291 0 0 1-3.4 5.65 8.4 8.4 0 0 1-8.26-.04c-2.22-1.37-3.37-3.85-3.24-7l.02-14.85c0-2.22 1.24-2.67 2.06-2.96.39-.14.7-.25.7-.53 0-.22.06-.42.11-.61.07-.24.12-.43.01-.56-.1-.11-.27-.11-.4-.1-3.62.34-7.03.14-8.86.03-1.23-.07-1.43-.08-1.51 0-.08.08-.8.82-.66 1.25.03.1.13.22.39.26 2.13.27 3.22 1.1 3.22 4.88l-.03 15.45c.04 3 1.29 5.55 3.63 7.38a12.768 12.768 0 0 0 7.74 2.52h.1c5.78-.04 11.6-3.69 11.57-11.75-.01-2.7.16-16.36.16-16.5 0-1.38 1.4-1.81 2.33-2.1.49-.15.78-.24.78-.45 0-.13.03-.27.06-.39.05-.2.09-.38-.01-.49-.04-.08-.13-.11-.25-.1Zm49.72 23.14c0 .02-.45 1.91-1.87 3.4a5.292 5.292 0 0 1-2.82 1.49c-3.03.61-6.82.85-8.38-.3a1.797 1.797 0 0 1-.75-1.29c-.07-.71-.02-21.51-.02-21.72 0-2.05 1.52-2.47 2.52-2.74.49-.13.84-.23.84-.5 0-.2.05-.39.1-.56.06-.23.11-.41.01-.53-.09-.11-.26-.11-.37-.1-3.33.31-7.09.13-9.1.03-1.51-.07-1.69-.07-1.76 0-.08.08-.75.77-.61 1.17.03.09.12.21.36.24 2.03.25 3.13 1.05 3.13 4.53l.01 17.51c0 6.15-2.81 6.39-2.84 6.39l-.14.01.38 1.13h.08c.14 0 13.96-.46 17.78-.16l1.01.09c.55.05 1 .1 1.37.1.71 0 1.15-.16 1.43-.71.47-.94.77-7.33.78-7.6l.01-.13-1.13.18-.02.07Zm22.62-21.3c-2.69-2.16-9.17-1.66-14.39-1.26-1.58.12-3.08.24-4.23.25-.92-.05-1.01-.04-1.07.02-.08.08-.78.76-.64 1.16.05.14.17.22.38.25 2.28.27 2.86 1.2 2.86 4.51l.02 19.83c0 2.06-1.24 2.54-2.06 2.86-.4.16-.69.27-.69.53 0 .2-.05.39-.1.56-.06.22-.12.4-.01.53.09.11.27.11.39.1 3.52-.31 7.02-.13 8.91-.03.67.04 1.05.05 1.27.05.22 0 .28-.02.32-.05.09-.08.8-.93.64-1.4-.03-.1-.13-.24-.38-.26-2.16-.26-3.49-1.1-3.49-4.52l-.01-7.58c0-.28.07-.49.19-.6.08-.07.17-.1.29-.1l1.17.08c2.84.22 7.13.54 9.88-1.23a8.982 8.982 0 0 0 4.07-7.36 7.502 7.502 0 0 0-3.32-6.34Zm-5.32 12.41c-.74.35-1.6.53-2.55.53h-.03c-2.68-.01-3.68-.53-4.05-.96-.22-.26-.19-.47-.19-.49v-9.94c5.24-1.02 9.01.31 10.08 3.56a6.2 6.2 0 0 1-3.26 7.3Zm-41.49 8.66c-.36-.08-.77.3-1.26 1.15-.23.39-.42.77-.6 1.14-.95 1.9-1.63 3.28-6.08 3.28-5.31 0-6.98-.28-7.13-2.06-.15-1.77-.01-10.42 0-11.04.11-.14.78-.85 2.51-.85h3.07c.03 0 2.71.25 3.29 3.15.05.23.17.32.27.34.4.12 1.07-.53 1.14-.6l.03-.03v-6.23a.9.9 0 0 0-.42-.56c-.22-.12-.48-.12-.78-.02l-.05.02-.02.05c-.37 1.29-1.61 1.35-3.77 1.35-2.03 0-4.69.36-5.28.45v-9.01h8.36c.03 0 3.47.19 4.21 3.15.3 1.2.71 1.53 1 1.6.23.06.46-.03.66-.25.4-.46.62-1.48.23-2.49-.75-1.96-.76-5.32-.76-5.35v-.12l-2.34.24h-18.48c-.9 0-1.48.21-1.71.61-.28.49.06 1.06.08 1.09l.03.05h.06c.01 0 1.43-.04 2.54 1.03.9.86 1.35 2.19 1.35 3.95l.02 19.48c0 2.18-1.26 2.71-2.09 3.07-.32.14-.58.24-.67.42-.37.68-.45 1.01-.33 1.21.12.2.43.19.85.18l.34-.01c.12 0 11.68-.3 18.38 0 .24.01.5.07.78.13.31.07.65.15.96.15.44 0 .84-.14 1.12-.64.73-1.27 1.08-6.59 1.09-6.84.02-.11-.09-1.08-.6-1.19Zm-112.71-2.48a2.7 2.7 0 0 0 1.63.49c.64 0 1.27-.16 1.78-.31 2.22-.67 4.81-4.4 4.81-8.21 0-2.16-.77-3.56-2.18-3.93-1.92-.51-4.54 1.08-5.98 3.61-.66 1.17-1.45 2.88-1.44 4.4.03 1.97.49 3.3 1.38 3.95Zm1.87-7.19c.69-1.26 1.56-2.12 2.41-2.36.16-.04.31-.07.46-.07.25 0 .49.06.7.19 1.05.6.85 3.15-.04 4.74-.92 1.64-1.85 2.76-3.39 2.89-.42.03-.74-.11-.95-.43-.59-.9-.24-3.03.81-4.96Z"></path><path d="M54.37 70.083a1.75 1.75 0 0 0-1.3-.22c-5.09.98-7.12 5.32-8.59 10.12-.76.01-1.57-.01-2.44-.06a.37.37 0 0 0-.3.14.37.37 0 0 0-.06.32l.16.51c.16.49.61.82 1.12.82h1.01l-.36 1.29c-1.78 6.44-4.08 12.88-11.28 12.12-.17-.02-.38-.1-.49.02a.52.52 0 0 0-.14.46l.06.38c.03.17.17.3.35.34 4.6 1.11 8.46-1.54 10.22-3.88 1.93-2.56 3.11-6.01 3.94-9.51l.29-1.22c2.76-.03 3.05.16 3.23.28.11.08.2.12.48.12.08 0 .15-.04.19-.1a.23.23 0 0 0 .04-.21l-.35-1.09a1.1 1.1 0 0 0-1.05-.76l-2.09.01c.91-3.38 2.09-6.26 4.64-7.44h.01l.03-.01c.6-.29.85-.26.95-.18.19.14.12.62.05 1.04-.08.51-.16 1.04.14 1.26.24.18.66.1 1.33-.23l.05-.02.64-3.46v-.02a1.19 1.19 0 0 0-.48-.82Zm-17.48-38.41c-2.72.26-7.37.11-10.15.03-2.33-.07-2.48-.07-2.54 0-.08.08-.64.76-.51 1.13.03.09.11.19.31.22.97.12 2.43.5 3.6 1.21 1.47.88 2.2 2.05 2.18 3.47l.02 20.02a8.34 8.34 0 0 1-4.62 7.34 10.58 10.58 0 0 1-10.28-.61c-2.85-1.88-4.28-5.03-4.03-8.86l.02-18.32c0-2.74 1.66-3.39 2.76-3.82.52-.2.89-.35.89-.67 0-.3.09-.52.15-.69.06-.16.11-.28.03-.38-.08-.1-.24-.1-.49-.08-4.43.42-8.59.17-10.83.04-1.47-.09-1.74-.1-1.83-.01a1.192 1.192 0 0 1-.11.1c-.39.35-.79.75-.69 1.06.05.15.2.24.46.27 2.66.33 4.01 1.35 4.01 6l-.04 19.47a11.16 11.16 0 0 0 5.99 10.04 15.78 15.78 0 0 0 7.52 1.83c3.03 0 6.09-.79 8.6-2.35 4.23-2.63 6.43-7.03 6.21-12.4-.14-3.3-.06-19.76-.05-19.93 0-1.71 1.66-2.24 2.76-2.6.56-.18.9-.29.9-.52 0-.17.04-.32.08-.46.05-.19.09-.34 0-.45-.08-.09-.22-.09-.32-.08Zm31.25.33c-2.11.2-5.62.09-7.71.02-1.86-.06-1.87-.05-1.93.01-.08.08-.51.71-.4 1.04.04.11.13.18.26.19 1.59.2 4.26.84 4.26 2.9l-.04 18.56c-.39-.34-1.81-2.07-6.57-8.89-4.45-6.37-9.53-13.91-9.59-13.99l-.04-.06-.07.03c-.03.01-.89.29-6.41-.16h-.04l-.03.02c-.19.13-1.13.82-1.02 1.23.04.15.19.23.45.25 3.89.32 3.87 1.6 3.84 5.01l-.01 1.12-.03 19.66c0 1.31-1.77 1.88-2.83 2.22-.61.2-.92.3-.92.49 0 .11-.02.25-.05.41-.06.33-.11.65.03.8.04.04.11.09.22.08 2.11-.2 5.9-.09 8.17-.02 2.05.06 2.06.05 2.12 0 .1-.1.51-.83.39-1.18a.3.3 0 0 0-.25-.2c-1.53-.19-4.11-.82-4.11-2.9l-.02-18.38c1.67 2.12 14.64 18.74 16.1 23.73.01.03.2.69.64.79l.11.01c.21 0 .42-.13.65-.38.4-.46.61-.54.84-.63.12-.05.25-.1.41-.2.57-.36.58-.64.62-1.26v-.05l-.02-26.53c0-1.31 1.45-1.9 2.41-2.29.51-.2.79-.32.79-.51 0-.12.03-.25.06-.37.05-.2.09-.37-.01-.48-.06-.08-.15-.1-.27-.09Zm190.77.11c-2.24.21-5.84.09-8 .02-1.82-.06-1.9-.05-1.96 0-.05.05-.52.54-.42.83.02.07.09.16.28.18h.32a3.37 3.37 0 0 1 2.69 1.82c.29.66.24 1.37-.14 2.06l-5.87 9.71-5.32-9.2c-.66-1.32-.78-2.62-.33-3.47.31-.58.85-.92 1.61-1.01l.59-.01c.19-.02.26-.12.29-.19.11-.31-.4-.82-.45-.88-.06-.06-.15-.07-2.25 0-2.45.07-6.55.2-8.95-.03-.16-.01-.27.02-.33.1-.11.14-.04.37.06.66l.05.16c.05.16.24.2.52.27.65.15 1.86.42 2.87 2.4l8.42 15.59.07 6.72c-.02 2.86-1.3 3.1-2.06 3.24-.33.06-.62.12-.62.4 0 .23-.06.45-.11.64-.07.25-.12.45-.01.58.1.12.28.11.41.1 3.85-.36 6.9-.14 8.55-.03.51.04.82.06 1 .06.18 0 .24-.02.28-.06.03-.03.84-.85.69-1.3-.05-.15-.18-.23-.4-.26-2.34-.29-2.96-1.34-3-5.07l.02-6.27 8.15-14.59a4.48 4.48 0 0 1 2.93-1.99c.4-.11.64-.17.64-.37 0-.13.04-.26.07-.38.04-.16.08-.29 0-.39-.08-.05-.21-.05-.29-.04Zm-56.72 29.22c-2.04-.25-3.14-1.05-3.14-4.51l-.03-20.51c0-2.05 1.36-2.51 2.26-2.82.44-.15.75-.26.75-.52 0-.2.05-.39.1-.56.06-.22.11-.4.01-.52-.09-.11-.25-.1-.37-.09-3.31.31-7 .13-8.97.03-1.47-.07-1.65-.07-1.72 0-.08.08-.74.76-.61 1.16.03.09.12.21.36.24 1.83.23 4 1.26 4 4.88l.02 20.25c0 2.05-1.25 2.46-2.07 2.74-.39.13-.7.23-.7.49 0 .2-.05.39-.1.56-.06.22-.11.4-.01.52.09.11.25.1.37.09 3.35-.31 6.5-.13 8.19-.03l1.11.05c.19 0 .26-.02.29-.05.08-.08.74-.76.61-1.16-.03-.09-.11-.21-.35-.24Zm-21.78-17.36c-.55-.07-1.2-.17-1.83-.36-1.75-.53-4.74-1.82-5.21-4.44-.08-.45-.06-.92.06-1.42.47-1.98 2.52-4.07 6.74-3.44 4.01.6 6.03 3.03 6.01 5.18 0 .1.09.17.18.14l1.15-.34a.28.28 0 0 0 .21-.31 45.093 45.093 0 0 1-.43-4.05c0-.9.24-2.21.38-2.91.15-.73-.06-.56-.06-.56-1.01.52-2.81.26-4.71-.01-1.35-.2-2.74-.4-3.85-.3-6.38.3-9.96 4.51-10.21 8.51a7.117 7.117 0 0 0 1.81 5.22c1.44 1.62 3.65 2.73 6.39 3.21 4.42.97 6.92 2.06 7.48 5.09a5.61 5.61 0 0 1-.19 2.79c-1.2 3.54-4.86 4.11-7.89 3.45-5.15-1.11-7.06-4.52-6.85-7.49 0-.06-.05-.1-.1-.08l-1.51.51a.2.2 0 0 0-.14.21c.17 1.52.35 4.23.03 5.51-.09.37.1.88.53 1.44 1.41 1.81 4.06 3.48 8.5 3.48l.46.01c7.8 0 11.72-4.79 12.07-9.32.31-4.22-2.35-8.84-9.02-9.72Zm48.36-12.05c-.18-.19-.44-.27-.81-.25-.38.02-.86.14-1.47.37-.12.04-.25.07-.37.07h-18.08a.966.966 0 0 1-.37-.07c-1.17-.43-1.83-.49-2.2-.2-.28.22-.39.63-.32 1.29.08.81.04 3.31.01 4.81l-.01 1.04c0 .97.32 1.19.58 1.22.48.05 1.04-.64 1.14-1.2.67-4.02 2.41-3.98 5.29-3.9l1.31.02c1.05 0 1.41.95 1.41 1.39l.01 20.68c0 2.36-1.51 3.03-2.52 3.47-.47.21-.82.36-.82.64 0 .23-.06.45-.11.64-.07.25-.12.45-.01.58.1.12.28.11.41.1 3.82-.36 7.51-.15 9.49-.03.68.04 1.07.06 1.3.06.22 0 .29-.02.33-.06.03-.03.85-.86.69-1.31-.05-.15-.18-.23-.4-.26-2.25-.28-3.56-1.18-3.6-4.98v-19.47c0-.56.39-1.46 1.42-1.46l1.31-.02h.14c2.73-.07 4.11-.11 4.78 3.9.06.33.27.7.54.95.26.23.53.31.75.21.28-.13.43-.52.43-1.18l-.01-1.04c-.02-1.5-.07-4 .01-4.81.05-.58-.02-.96-.25-1.2Zm-117.3-.08c-2.09.2-5.38.09-7.34.02-1.72-.06-1.73-.05-1.78.01-.09.09-.5.74-.39 1.07.04.11.13.18.26.19h.3c.13 0 .24.01.34.04 2.09.5 2.57 3.23 2.12 5.56-.13.68-.35 1.39-.67 2.19l-5.39 13.52-6.32-15.09c-.7-1.83-1.28-3.68-.7-4.79.31-.59.94-.99 1.91-1.23l.69-.09c.13-.02.23-.09.26-.2.12-.35-.32-1.04-.42-1.13-.06-.06-.07-.07-2.26 0-2.42.07-6.48.18-8.71-.02-.12-.01-.2.02-.26.08-.11.12-.06.33-.01.56.03.14.06.28.06.4 0 .19.2.29.54.47.59.31 1.57.83 2.29 2.19 1.01 1.9 11.24 27.73 11.34 27.99.2.63.44.96.72.97h.02c.24 0 .45-.22.64-.66l1.45-3.97c2.76-7.57 8.51-23.33 9.22-24.71a4.195 4.195 0 0 1 1.86-1.94c.25-.14.42-.23.42-.41 0-.11.03-.25.05-.38.05-.24.09-.44-.02-.56-.03-.06-.11-.09-.22-.08Zm26.02 22.93c-.29-.11-.68.12-1.2.71-.12.14-.23.36-.36.65-.58 1.27-1.67 3.64-6.62 3.76-5.36.13-6.96-.33-7.1-2.05-.14-1.73-.01-10.14 0-11 1.96-.59 5.7-.99 5.73-.99 2.21-.1 3 2.33 3.12 3.28.05.44.24.59.38.65.19.08.43.02.64-.16.25-.21.47-.6.4-.98-.08-.39-.02-1.28.05-2.32.14-2.03.29-4.34-.44-4.69-.26-.13-.59-.01-1.01.38-.57.85-1.3 1.49-3 1.8-1.51.28-5.19.56-5.86.61v-9.43c1.05.14 2.34.06 3.7-.03 3.57-.23 7.62-.49 9.13 3.16.36 1.14.73 1.31.98 1.25.49-.12.78-1.29.59-2.37-.38-2.07-.76-5.32-.77-5.36l-.02-.14-.12.06c-.56.28-11 .24-16.61.22h-3.96c-1.45 0-1.63 1.45-1.63 1.47l-.01.11h.11c.02.01 1.43 0 2.54 1.09.89.88 1.34 2.22 1.34 3.97l-.07 19.35c0 2.05-1.42 2.57-2.36 2.91-.45.16-.78.28-.78.54 0 .64.64 1.48 1.32 1.48h18.29c.26 0 .58.08.92.16.37.09.74.17 1.06.17.22 0 .41-.04.56-.15a.783.783 0 0 0 .31-.58c.18-1.42 1.06-6.68 1.07-6.75.02-.07.02-.65-.32-.78Zm-55.71 6.63c-2.33-.29-3.16-1.5-3.16-4.64l-.03-20.62c0-2.06 1.37-2.47 2.27-2.74.44-.13.76-.23.76-.49 0-.2.05-.39.1-.56.06-.22.11-.4.01-.52-.09-.11-.25-.1-.37-.09-3.33.31-7.03.13-9.02.03-1.48-.07-1.65-.07-1.73 0-.08.08-.75.76-.61 1.16.03.09.12.21.36.24 1.84.23 4.02 1.26 4.02 4.89l.04 20.24c0 2.06-1.25 2.53-2.08 2.83-.4.15-.7.26-.7.52 0 .2-.05.39-.1.56-.06.22-.11.4-.01.52.09.11.25.1.37.09 3.36-.32 6.53-.13 8.23-.03l1.11.05c.19 0 .26-.02.29-.05.08-.08.75-.77.61-1.16-.03-.09-.12-.2-.36-.23Zm61.64-24.69c.02.68.14 22.03.14 22.24-.12 1.84-1.44 2.23-2.31 2.49-.43.13-.75.22-.75.47 0 .18-.05.35-.09.51-.06.2-.11.37-.01.49.09.11.25.11.36.09 3.2-.29 6.66-.12 8.52-.03 1.38.07 1.53.07 1.61 0 .07-.07.72-.7.59-1.07-.03-.09-.12-.2-.35-.23-1.98-.24-3.29-1.03-3.29-4.12v-10.03c1.25.14 1.86-.04 2.35.07 1.47.33 3.44 1.9 5.81 6.12.66 1.17 3.73 6.59 3.59 7.42-.06.35-.55.4-.89.45-.29.05-.56.09-.56.32 0 .18-.05.35-.09.51-.06.2-.11.37-.01.49.09.11.25.11.36.09 3.2-.29 6.58-.12 8.44-.03.69.03.04.05.26.05s.28-.02.32-.05c.07-.07.72-.7.59-1.07-.03-.09-.12-.2-.35-.23-2.04-.24-2.68-1.13-4.98-4.08-.61-.88-1.2-1.79-1.77-2.68-1.84-2.87-3.34-6.42-5.42-8 3.1-.31 4.53-2.03 5.55-3.23a8.04 8.04 0 0 0 1.89-5.57 6.532 6.532 0 0 0-1.95-4.4 7.24 7.24 0 0 0-5.33-1.78c-3.2.11-10.31.02-13.73-.23-.95-.07-1.61-.04-1.99.3-.24.22-.35.56-.35 1.07v.09l.09.01c-.01.02 3.68.53 3.75 3.55Zm4.41-1.92 4.1-.21c2.46-.21 4.53.79 5.55 2.67a4.762 4.762 0 0 1-.38 5.21c-1.66 2.13-5.04 2.75-9.27 1.7v-9.37Z"></path></g></svg>');
|
|
630
|
+
function i2(e) {
|
|
631
|
+
var t = vt();
|
|
632
|
+
m(e, t);
|
|
633
|
+
}
|
|
634
|
+
P(i2, {}, [], [], !0);
|
|
635
|
+
var ft = k('<div class="left-0 h-full w-[7.5rem] min-[1320px]:absolute [&>svg]:block [&>svg]:h-full [&>svg]:w-auto"><!></div>'), ht = k('<div class="flex w-fit"><!> <a href="https://www.uoguelph.ca" aria-label="University of Guelph Home Page"><!></a></div>');
|
|
636
|
+
function c2(e, t) {
|
|
637
|
+
Y(t, !0);
|
|
638
|
+
const [a, r] = x1(), c = () => w1(f, "$headerState", a);
|
|
639
|
+
let n = E(t, "variant", 7);
|
|
640
|
+
const f = T1("header-state");
|
|
641
|
+
var M = ht(), h = w(M);
|
|
642
|
+
{
|
|
643
|
+
var o = (v) => {
|
|
644
|
+
var l = ft(), Z = w(l);
|
|
645
|
+
o2(Z), x(l), m(v, l);
|
|
646
|
+
};
|
|
647
|
+
j(h, (v) => {
|
|
648
|
+
var l;
|
|
649
|
+
((l = c()) == null ? void 0 : l.mode) === "desktop" && v(o);
|
|
650
|
+
});
|
|
651
|
+
}
|
|
652
|
+
var i = I(h, 2);
|
|
653
|
+
const p = X1(() => {
|
|
654
|
+
var v;
|
|
655
|
+
return n1(s1("flex 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]:h-full", ((v = c()) == null ? void 0 : v.mode) === "desktop" ? "[&>svg]:w-[18.4rem]" : n() === "dual-brand" ? "[&>svg]:w-[7.5rem]" : "[&>svg]:w-[5rem]"));
|
|
656
|
+
});
|
|
657
|
+
var u = w(i);
|
|
658
|
+
{
|
|
659
|
+
var d = (v) => {
|
|
660
|
+
i2(v);
|
|
661
|
+
}, _ = (v) => {
|
|
662
|
+
n2(v);
|
|
663
|
+
};
|
|
664
|
+
j(u, (v) => {
|
|
665
|
+
var l;
|
|
666
|
+
((l = c()) == null ? void 0 : l.mode) === "desktop" ? v(d) : v(_, !1);
|
|
667
|
+
});
|
|
668
|
+
}
|
|
669
|
+
x(i), x(M), N(() => o1(i, s(p))), m(e, M);
|
|
670
|
+
var g = t1({
|
|
671
|
+
get variant() {
|
|
672
|
+
return n();
|
|
556
673
|
},
|
|
557
|
-
|
|
558
|
-
|
|
674
|
+
set variant(v) {
|
|
675
|
+
n(v), V();
|
|
559
676
|
}
|
|
560
|
-
};
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
677
|
+
});
|
|
678
|
+
return r(), g;
|
|
679
|
+
}
|
|
680
|
+
P(c2, { variant: {} }, [], [], !0);
|
|
681
|
+
var dt = m1('<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>');
|
|
682
|
+
function u2(e) {
|
|
683
|
+
var t = dt();
|
|
684
|
+
m(e, t);
|
|
685
|
+
}
|
|
686
|
+
P(u2, {}, [], [], !0);
|
|
687
|
+
var pt = 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>'), gt = k('<a class="flex h-full 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>'), bt = k("<li><!></li>"), _t = k('<ul class="flex ml-auto [&>li]:contents text-xl"></ul>');
|
|
688
|
+
function v2(e) {
|
|
689
|
+
var t = _t();
|
|
690
|
+
q(t, 5, () => r2, a1, (a, r) => {
|
|
691
|
+
var c = bt(), n = w(c);
|
|
564
692
|
{
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
693
|
+
var f = (h) => {
|
|
694
|
+
var o = pt(), i = w(o);
|
|
695
|
+
G(i, {
|
|
696
|
+
get icon() {
|
|
697
|
+
return s(r).icon;
|
|
698
|
+
}
|
|
699
|
+
}), x(o), N(() => {
|
|
700
|
+
R(o, "href", s(r).href), R(o, "aria-label", s(r).text);
|
|
701
|
+
}), m(h, o);
|
|
702
|
+
}, M = (h) => {
|
|
703
|
+
var o = gt(), i = w(o, !0);
|
|
704
|
+
x(o), N(() => {
|
|
705
|
+
R(o, "href", s(r).href), F(i, s(r).text);
|
|
706
|
+
}), m(h, o);
|
|
707
|
+
};
|
|
708
|
+
j(n, (h) => {
|
|
709
|
+
s(r).icon ? h(f) : h(M, !1);
|
|
710
|
+
});
|
|
711
|
+
}
|
|
712
|
+
x(c), m(a, c);
|
|
713
|
+
}), x(t), m(e, t);
|
|
714
|
+
}
|
|
715
|
+
P(v2, {}, [], [], !0);
|
|
716
|
+
var mt = 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>'), xt = 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>'), wt = k("<li><!></li>"), yt = k('<span class="w-full flex items-center gap-2 justify-between [&>svg]:transition-transform"><span class="mr-auto"> </span> <!></span>'), Ct = k("<li><a> </a></li>"), Mt = 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>'), kt = k('<li class="[&>*]:first:mt-4 [&>*]:last:mb-4"><!></li>'), Zt = k('<ul class="flex h-full [&>li]:contents"><!> <li><!></li></ul>');
|
|
717
|
+
function f2(e) {
|
|
718
|
+
const t = [...r2, ...s2], a = t.filter((h) => !(h != null && h.excludeFromMainMenu)), r = t.filter((h) => h == null ? void 0 : h.excludeFromMainMenu);
|
|
719
|
+
var c = Zt(), n = w(c);
|
|
720
|
+
q(n, 1, () => r, (h) => h.text || h.title, (h, o) => {
|
|
721
|
+
var i = wt(), p = w(i);
|
|
571
722
|
{
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
}
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
},
|
|
614
|
-
p: x,
|
|
615
|
-
d(r) {
|
|
616
|
-
r && d(e), G(t, r);
|
|
617
|
-
}
|
|
618
|
-
};
|
|
619
|
-
}
|
|
620
|
-
function zt(a) {
|
|
621
|
-
let e, l, t, r;
|
|
622
|
-
return t = new R({ props: { icon: he } }), {
|
|
623
|
-
c() {
|
|
624
|
-
e = v("span"), e.textContent = `${/*item*/
|
|
625
|
-
a[0].text.toUpperCase()}`, l = N(), M(t.$$.fragment);
|
|
626
|
-
},
|
|
627
|
-
m(n, s) {
|
|
628
|
-
b(n, e, s), b(n, l, s), Z(t, n, s), r = !0;
|
|
629
|
-
},
|
|
630
|
-
i(n) {
|
|
631
|
-
r || (p(t.$$.fragment, n), r = !0);
|
|
632
|
-
},
|
|
633
|
-
o(n) {
|
|
634
|
-
m(t.$$.fragment, n), r = !1;
|
|
635
|
-
},
|
|
636
|
-
d(n) {
|
|
637
|
-
n && (d(e), d(l)), L(t, n);
|
|
723
|
+
var u = (_) => {
|
|
724
|
+
var g = u1(() => s(o).icon ? s(o).text : void 0);
|
|
725
|
+
X(_, {
|
|
726
|
+
class: "h-full",
|
|
727
|
+
get buttonAriaLabel() {
|
|
728
|
+
return s(g);
|
|
729
|
+
},
|
|
730
|
+
buttonClass: "flex h-full aspect-square items-center justify-center gap-2 px-4 transition-colors hover:bg-white focus:bg-white aria-expanded:bg-white hover:text-black focus:text-black aria-expanded:text-black",
|
|
731
|
+
contentClass: "absolute right-0 top-full z-50 flex w-full flex-col bg-white px-4 text-black shadow-md lg:w-[30rem] [&>li]:contents",
|
|
732
|
+
as: "ul",
|
|
733
|
+
button: (l) => {
|
|
734
|
+
G(l, {
|
|
735
|
+
get icon() {
|
|
736
|
+
return s(o).icon;
|
|
737
|
+
}
|
|
738
|
+
});
|
|
739
|
+
},
|
|
740
|
+
children: (l, Z) => {
|
|
741
|
+
var b = U(), C = T(b);
|
|
742
|
+
q(C, 1, () => s(o).links, a1, (L, A) => {
|
|
743
|
+
var S = mt(), y = w(S), $ = w(y, !0);
|
|
744
|
+
x(y), x(S), N(() => {
|
|
745
|
+
R(y, "href", s(A).href), F($, s(A).text);
|
|
746
|
+
}), m(L, S);
|
|
747
|
+
}), m(l, b);
|
|
748
|
+
},
|
|
749
|
+
$$slots: { button: !0, default: !0 }
|
|
750
|
+
});
|
|
751
|
+
}, d = (_) => {
|
|
752
|
+
var g = xt(), v = w(g);
|
|
753
|
+
G(v, {
|
|
754
|
+
get icon() {
|
|
755
|
+
return s(o).icon;
|
|
756
|
+
}
|
|
757
|
+
}), x(g), N(() => {
|
|
758
|
+
R(g, "href", s(o).href), R(g, "aria-label", s(o).text);
|
|
759
|
+
}), m(_, g);
|
|
760
|
+
};
|
|
761
|
+
j(p, (_) => {
|
|
762
|
+
s(o).links ? _(u) : _(d, !1);
|
|
763
|
+
});
|
|
638
764
|
}
|
|
639
|
-
|
|
765
|
+
x(i), m(h, i);
|
|
766
|
+
});
|
|
767
|
+
var f = I(n, 2), M = w(f);
|
|
768
|
+
X(M, {
|
|
769
|
+
class: "h-full",
|
|
770
|
+
buttonAriaLabel: "Main Menu",
|
|
771
|
+
buttonClass: "flex h-full aspect-square items-center justify-center gap-2 px-4 transition-colors hover:bg-white focus:bg-white aria-expanded:bg-white hover:text-black focus:text-black aria-expanded:text-black [&_svg]:aria-expanded:rotate-180",
|
|
772
|
+
contentClass: "absolute right-0 top-full z-50 flex w-full flex-col bg-white px-4 text-black shadow-md lg:w-[30rem] [&>li]:contents max-h-[calc(100vh-5rem)] overflow-y-auto",
|
|
773
|
+
as: "ul",
|
|
774
|
+
button: (o) => {
|
|
775
|
+
G(o, { icon: Y1 });
|
|
776
|
+
},
|
|
777
|
+
children: (o, i) => {
|
|
778
|
+
var p = U(), u = T(p);
|
|
779
|
+
q(u, 1, () => a, a1, (d, _) => {
|
|
780
|
+
var g = kt(), v = w(g);
|
|
781
|
+
{
|
|
782
|
+
var l = (b) => {
|
|
783
|
+
X(b, {
|
|
784
|
+
class: "relative w-full",
|
|
785
|
+
buttonClass: "flex border-0 border-b border-solid border-light-grey-500 w-full items-center justify-between gap-2 p-2 transition-colors hover:bg-light-grey focus:bg-light-grey aria-expanded:bg-light-grey [&_svg]:aria-expanded:rotate-180",
|
|
786
|
+
contentClass: "flex flex-col w-full flex-col bg-white text-black [&>li]:contents",
|
|
787
|
+
as: "ul",
|
|
788
|
+
autoCollapse: !1,
|
|
789
|
+
button: (L) => {
|
|
790
|
+
var A = yt(), S = w(A), y = w(S, !0);
|
|
791
|
+
x(S);
|
|
792
|
+
var $ = I(S, 2);
|
|
793
|
+
G($, { icon: _1 }), x(A), N(() => {
|
|
794
|
+
A1(A, "bg-yellow", s(_).highlight), F(y, s(_).text);
|
|
795
|
+
}), m(L, A);
|
|
796
|
+
},
|
|
797
|
+
children: (L, A) => {
|
|
798
|
+
var S = U(), y = T(S);
|
|
799
|
+
q(y, 1, () => s(_).links, a1, ($, z) => {
|
|
800
|
+
var B = Ct(), W = w(B);
|
|
801
|
+
let H;
|
|
802
|
+
var y1 = w(W, !0);
|
|
803
|
+
x(W), x(B), N(() => {
|
|
804
|
+
H = r1(W, H, {
|
|
805
|
+
class: "border-0 border-b border-solid border-light-grey-500 p-2 transition-colors hover:bg-light-grey",
|
|
806
|
+
href: s(z).href,
|
|
807
|
+
...s(z).attributes
|
|
808
|
+
}), F(y1, s(z).text);
|
|
809
|
+
}), m($, B);
|
|
810
|
+
}), m(L, S);
|
|
811
|
+
},
|
|
812
|
+
$$slots: { button: !0, default: !0 }
|
|
813
|
+
});
|
|
814
|
+
}, Z = (b) => {
|
|
815
|
+
var C = Mt(), L = w(C, !0);
|
|
816
|
+
x(C), N(() => {
|
|
817
|
+
R(C, "href", s(_).href), A1(C, "bg-yellow", s(_).highlight), F(L, s(_).text);
|
|
818
|
+
}), m(b, C);
|
|
819
|
+
};
|
|
820
|
+
j(v, (b) => {
|
|
821
|
+
s(_).links ? b(l) : b(Z, !1);
|
|
822
|
+
});
|
|
823
|
+
}
|
|
824
|
+
x(g), m(d, g);
|
|
825
|
+
}), m(o, p);
|
|
826
|
+
},
|
|
827
|
+
$$slots: { button: !0, default: !0 }
|
|
828
|
+
}), x(f), x(c), m(e, c);
|
|
829
|
+
}
|
|
830
|
+
P(f2, {}, [], [], !0);
|
|
831
|
+
var $t = k('<a href="https://www.guelphhumber.ca" class="w-auto h-full p-4 ml-auto transition-opacity focus:opacity-75 hover:opacity-75"><!></a>'), Lt = k('<nav aria-label="Primary"><!> <!></nav>');
|
|
832
|
+
function h2(e, t) {
|
|
833
|
+
Y(t, !1);
|
|
834
|
+
const [a, r] = x1(), c = () => w1(n, "$headerState", a), n = T1("header-state");
|
|
835
|
+
t2();
|
|
836
|
+
var f = Lt();
|
|
837
|
+
const M = u1(() => {
|
|
838
|
+
var u;
|
|
839
|
+
return n1(s1("relative w-full justify-between flex lg:h-25 bg-black px-[calc((100%-1320px)/2)] text-lg text-white", ((u = c()) == null ? void 0 : u.variant) === "dual-brand" ? "h-[7.5rem]" : "h-12.5"));
|
|
840
|
+
});
|
|
841
|
+
var h = w(f);
|
|
842
|
+
c2(h, {});
|
|
843
|
+
var o = I(h, 2);
|
|
844
|
+
{
|
|
845
|
+
var i = (u) => {
|
|
846
|
+
var d = $t(), _ = w(d);
|
|
847
|
+
u2(_), x(d), m(u, d);
|
|
848
|
+
}, p = (u) => {
|
|
849
|
+
var d = U(), _ = T(d);
|
|
850
|
+
{
|
|
851
|
+
var g = (l) => {
|
|
852
|
+
v2(l);
|
|
853
|
+
}, v = (l) => {
|
|
854
|
+
f2(l);
|
|
855
|
+
};
|
|
856
|
+
j(
|
|
857
|
+
_,
|
|
858
|
+
(l) => {
|
|
859
|
+
var Z;
|
|
860
|
+
((Z = c()) == null ? void 0 : Z.mode) === "desktop" ? l(g) : l(v, !1);
|
|
861
|
+
},
|
|
862
|
+
!0
|
|
863
|
+
);
|
|
864
|
+
}
|
|
865
|
+
m(u, d);
|
|
866
|
+
};
|
|
867
|
+
j(o, (u) => {
|
|
868
|
+
var d;
|
|
869
|
+
((d = c()) == null ? void 0 : d.variant) === "dual-brand" ? u(i) : u(p, !1);
|
|
870
|
+
});
|
|
871
|
+
}
|
|
872
|
+
x(f), N(() => o1(f, s(M))), m(e, f), t1(), r();
|
|
640
873
|
}
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
874
|
+
P(h2, {}, [], [], !0);
|
|
875
|
+
var At = k('<span class="flex items-center gap-2 [&>svg]:transition-transform"><span> </span> <!></span>'), St = k("<li><a> </a></li>"), Nt = k("<li><!></li>"), Et = k("<li><a> </a></li>");
|
|
876
|
+
function d2(e, t) {
|
|
877
|
+
Y(t, !0);
|
|
878
|
+
let a = E(t, "items", 7);
|
|
879
|
+
var r = U(), c = T(r);
|
|
880
|
+
return q(c, 17, a, (n) => n.text || n.title, (n, f) => {
|
|
881
|
+
var M = U(), h = T(M);
|
|
882
|
+
{
|
|
883
|
+
var o = (p) => {
|
|
884
|
+
var u = Nt(), d = w(u);
|
|
885
|
+
X(d, {
|
|
886
|
+
class: "relative h-full",
|
|
887
|
+
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",
|
|
888
|
+
contentClass: "absolute right-0 top-full z-50 flex min-w-[20rem] flex-col bg-light-grey [&>li]:contents",
|
|
889
|
+
buttonAriaLabel: void 0,
|
|
890
|
+
as: "ul",
|
|
891
|
+
button: (g) => {
|
|
892
|
+
var v = At(), l = w(v), Z = w(l, !0);
|
|
893
|
+
x(l);
|
|
894
|
+
var b = I(l, 2);
|
|
895
|
+
G(b, { icon: _1 }), x(v), N(() => F(Z, s(f).title)), m(g, v);
|
|
896
|
+
},
|
|
897
|
+
children: (g, v) => {
|
|
898
|
+
var l = U(), Z = T(l);
|
|
899
|
+
q(Z, 17, () => s(f).links, a1, (b, C) => {
|
|
900
|
+
var L = St(), A = w(L);
|
|
901
|
+
let S;
|
|
902
|
+
var y = w(A, !0);
|
|
903
|
+
x(A), x(L), N(() => {
|
|
904
|
+
var $;
|
|
905
|
+
S = r1(A, S, {
|
|
906
|
+
...s(C).attributes,
|
|
907
|
+
class: `border-0 border-b border-solid border-light-grey-500 p-2 transition-colors hover:bg-yellow ${(($ = s(C).attributes) == null ? void 0 : $.class) ?? ""}`,
|
|
908
|
+
href: s(C).href
|
|
909
|
+
}), F(y, s(C).text);
|
|
910
|
+
}), m(b, L);
|
|
911
|
+
}), m(g, l);
|
|
912
|
+
},
|
|
913
|
+
$$slots: { button: !0, default: !0 }
|
|
914
|
+
}), x(u), m(p, u);
|
|
915
|
+
}, i = (p) => {
|
|
916
|
+
var u = Et(), d = w(u);
|
|
917
|
+
let _;
|
|
918
|
+
var g = w(d, !0);
|
|
919
|
+
x(d), x(u), N(() => {
|
|
920
|
+
var v;
|
|
921
|
+
_ = r1(d, _, {
|
|
922
|
+
...s(f).attributes,
|
|
923
|
+
class: `flex h-full items-center justify-center gap-2 px-2 transition-colors hover:bg-yellow ${((v = s(f).attributes) == null ? void 0 : v.class) ?? ""}`,
|
|
924
|
+
href: s(f).href
|
|
925
|
+
}), F(g, s(f).text);
|
|
926
|
+
}), m(p, u);
|
|
927
|
+
};
|
|
928
|
+
j(h, (p) => {
|
|
929
|
+
s(f).links ? p(o) : p(i, !1);
|
|
930
|
+
});
|
|
661
931
|
}
|
|
662
|
-
|
|
663
|
-
}
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
const n = [Ht, zt], s = [];
|
|
667
|
-
function c(o, i) {
|
|
668
|
-
return (
|
|
669
|
-
/*item*/
|
|
670
|
-
o[0].icon ? 0 : 1
|
|
671
|
-
);
|
|
672
|
-
}
|
|
673
|
-
return l = c(a), t = s[l] = n[l](a), {
|
|
674
|
-
c() {
|
|
675
|
-
e = v("span"), t.c(), h(e, "class", "flex gap-2 [&>svg]:transition-transform"), h(e, "slot", "button"), $e(
|
|
676
|
-
e,
|
|
677
|
-
"bg-uofg-yellow",
|
|
678
|
-
/*item*/
|
|
679
|
-
a[0].highlight
|
|
680
|
-
);
|
|
681
|
-
},
|
|
682
|
-
m(o, i) {
|
|
683
|
-
b(o, e, i), s[l].m(e, null), r = !0;
|
|
684
|
-
},
|
|
685
|
-
p: x,
|
|
686
|
-
i(o) {
|
|
687
|
-
r || (p(t), r = !0);
|
|
688
|
-
},
|
|
689
|
-
o(o) {
|
|
690
|
-
m(t), r = !1;
|
|
932
|
+
m(n, M);
|
|
933
|
+
}), m(e, r), t1({
|
|
934
|
+
get items() {
|
|
935
|
+
return a();
|
|
691
936
|
},
|
|
692
|
-
|
|
693
|
-
|
|
937
|
+
set items(n) {
|
|
938
|
+
a(n), V();
|
|
694
939
|
}
|
|
695
|
-
};
|
|
940
|
+
});
|
|
696
941
|
}
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
},
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
942
|
+
P(d2, { items: {} }, [], [], !0);
|
|
943
|
+
var Vt = k("<a> </a>"), jt = k('<span class="w-full flex items-center gap-2 justify-between [&>svg]:transition-transform"><span class="mr-auto"> </span> <!></span>'), Ft = k("<li><a> </a></li>"), Tt = k('<li class="[&>*]:last:mb-4 [&>*]:first:mt-4"><!></li>'), Ht = k("<li><!></li>");
|
|
944
|
+
function p2(e, t) {
|
|
945
|
+
Y(t, !0);
|
|
946
|
+
let a = E(t, "items", 7);
|
|
947
|
+
var r = Ht(), c = w(r);
|
|
948
|
+
return X(c, {
|
|
949
|
+
class: "h-full",
|
|
950
|
+
buttonClass: "flex h-full aspect-square items-center justify-center gap-2 px-4 transition-colors hover:bg-yellow aria-expanded:bg-yellow",
|
|
951
|
+
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",
|
|
952
|
+
buttonAriaLabel: "Sub Navigation Menu",
|
|
953
|
+
as: "ul",
|
|
954
|
+
button: (f) => {
|
|
955
|
+
G(f, { icon: Y1 });
|
|
956
|
+
},
|
|
957
|
+
children: (f, M) => {
|
|
958
|
+
var h = U(), o = T(h);
|
|
959
|
+
q(o, 17, a, (i) => i.text || i.title, (i, p) => {
|
|
960
|
+
var u = Tt(), d = w(u);
|
|
961
|
+
{
|
|
962
|
+
var _ = (v) => {
|
|
963
|
+
var l = Vt();
|
|
964
|
+
let Z;
|
|
965
|
+
var b = w(l, !0);
|
|
966
|
+
x(l), N(() => {
|
|
967
|
+
var C;
|
|
968
|
+
Z = r1(l, Z, {
|
|
969
|
+
...s(p).attributes,
|
|
970
|
+
class: `border-0 border-b border-solid border-light-grey-500 p-2 transition-colors hover:bg-light-grey ${((C = s(p).attributes) == null ? void 0 : C.class) ?? ""}`,
|
|
971
|
+
href: s(p).href
|
|
972
|
+
}), F(b, s(p).text);
|
|
973
|
+
}), m(v, l);
|
|
974
|
+
}, g = (v) => {
|
|
975
|
+
X(v, {
|
|
976
|
+
class: "relative w-full",
|
|
977
|
+
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",
|
|
978
|
+
contentClass: "flex flex-col w-full flex-col bg-white text-black [&>li]:contents",
|
|
979
|
+
as: "ul",
|
|
980
|
+
autoCollapse: !1,
|
|
981
|
+
button: (Z) => {
|
|
982
|
+
var b = jt(), C = w(b), L = w(C, !0);
|
|
983
|
+
x(C);
|
|
984
|
+
var A = I(C, 2);
|
|
985
|
+
G(A, { icon: _1 }), x(b), N(() => F(L, s(p).title)), m(Z, b);
|
|
986
|
+
},
|
|
987
|
+
children: (Z, b) => {
|
|
988
|
+
var C = U(), L = T(C);
|
|
989
|
+
q(L, 17, () => s(p).links, a1, (A, S) => {
|
|
990
|
+
var y = Ft(), $ = w(y);
|
|
991
|
+
let z;
|
|
992
|
+
var B = w($, !0);
|
|
993
|
+
x($), x(y), N(() => {
|
|
994
|
+
var W;
|
|
995
|
+
z = r1($, z, {
|
|
996
|
+
...s(S).attributes,
|
|
997
|
+
class: `border-0 border-b border-solid border-light-grey-500 p-2 transition-colors hover:bg-light-grey ${((W = s(S).attributes) == null ? void 0 : W.class) ?? ""}`,
|
|
998
|
+
href: s(S).href
|
|
999
|
+
}), F(B, s(S).text);
|
|
1000
|
+
}), m(A, y);
|
|
1001
|
+
}), m(Z, C);
|
|
1002
|
+
},
|
|
1003
|
+
$$slots: { button: !0, default: !0 }
|
|
1004
|
+
});
|
|
1005
|
+
};
|
|
1006
|
+
j(d, (v) => {
|
|
1007
|
+
s(p).text ? v(_) : v(g, !1);
|
|
1008
|
+
});
|
|
1009
|
+
}
|
|
1010
|
+
x(u), m(i, u);
|
|
1011
|
+
}), m(f, h);
|
|
720
1012
|
},
|
|
721
|
-
|
|
722
|
-
|
|
1013
|
+
$$slots: { button: !0, default: !0 }
|
|
1014
|
+
}), x(r), m(e, r), t1({
|
|
1015
|
+
get items() {
|
|
1016
|
+
return a();
|
|
723
1017
|
},
|
|
724
|
-
|
|
725
|
-
|
|
1018
|
+
set items(n) {
|
|
1019
|
+
a(n), V();
|
|
726
1020
|
}
|
|
727
|
-
};
|
|
1021
|
+
});
|
|
728
1022
|
}
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
)
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
1023
|
+
P(p2, { items: {} }, [], [], !0);
|
|
1024
|
+
var Ut = k('<a class="mr-auto flex h-full items-center justify-center px-3 font-bold transition-colors hover:bg-yellow"> </a>'), Pt = k('<span class="mr-auto flex h-full items-center justify-center px-3 font-bold"> </span>'), zt = k('<nav aria-label="Page Specific"><div class="flex h-full w-fit min-w-full overflow-y-visible items-center justify-end [&>li]:contents relative"><!> <ul class="[&>li]:contents h-full flex w-fit !static lg:static"><!></ul></div></nav>');
|
|
1025
|
+
function g2(e, t) {
|
|
1026
|
+
Y(t, !0);
|
|
1027
|
+
const [a, r] = x1(), c = () => w1(n, "$headerState", a), n = T1("header-state");
|
|
1028
|
+
let f = E(t, "items", 7), M = E(t, "title", 7), h = E(t, "url", 7), o = c1(void 0), i = c1(void 0), p = c1(void 0), u, d = c1(void 0);
|
|
1029
|
+
F1(() => {
|
|
1030
|
+
var y;
|
|
1031
|
+
clearTimeout(u), ((y = c()) == null ? void 0 : y.mode) === "desktop" && s(o) - s(i) < s(p) && (u = setTimeout(
|
|
1032
|
+
() => {
|
|
1033
|
+
e1(d, S1(isNaN(s(d)) ? s(o) : Math.max(s(o), s(d))));
|
|
1034
|
+
},
|
|
1035
|
+
50
|
|
1036
|
+
));
|
|
1037
|
+
}), Q2(() => {
|
|
1038
|
+
var y;
|
|
1039
|
+
((y = c()) == null ? void 0 : y.mode) === "desktop" && s(o) - s(i) < s(p) && e1(d, S1(isNaN(s(d)) ? s(o) : Math.max(s(o), s(d))));
|
|
1040
|
+
});
|
|
1041
|
+
var _ = zt();
|
|
1042
|
+
const g = X1(() => {
|
|
1043
|
+
var y;
|
|
1044
|
+
return n1(s1("block align-items relative justify-end bg-light-grey px-[calc((100%-1320px)/2)] text-lg lg:whitespace-nowrap", ((y = c()) == null ? void 0 : y.variant) === "dual-brand" ? "h-10" : "h-[5rem] lg:h-10"));
|
|
1045
|
+
});
|
|
1046
|
+
var v = w(_), l = w(v);
|
|
1047
|
+
{
|
|
1048
|
+
var Z = (y) => {
|
|
1049
|
+
var $ = Ut(), z = w($, !0);
|
|
1050
|
+
x($), N(() => {
|
|
1051
|
+
R($, "href", h()), F(z, M());
|
|
1052
|
+
}), h1($, "clientWidth", (B) => e1(i, B)), m(y, $);
|
|
1053
|
+
}, b = (y) => {
|
|
1054
|
+
var $ = U(), z = T($);
|
|
1055
|
+
{
|
|
1056
|
+
var B = (W) => {
|
|
1057
|
+
var H = Pt(), y1 = w(H, !0);
|
|
1058
|
+
x(H), N(() => F(y1, M())), h1(H, "clientWidth", (b2) => e1(i, b2)), m(W, H);
|
|
1059
|
+
};
|
|
1060
|
+
j(
|
|
1061
|
+
z,
|
|
1062
|
+
(W) => {
|
|
1063
|
+
M() && W(B);
|
|
1064
|
+
},
|
|
1065
|
+
!0
|
|
1066
|
+
);
|
|
1067
|
+
}
|
|
1068
|
+
m(y, $);
|
|
1069
|
+
};
|
|
1070
|
+
j(l, (y) => {
|
|
1071
|
+
M() && h() ? y(Z) : y(b, !1);
|
|
1072
|
+
});
|
|
739
1073
|
}
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
n = !0;
|
|
1074
|
+
var C = I(l, 2), L = w(C);
|
|
1075
|
+
{
|
|
1076
|
+
var A = (y) => {
|
|
1077
|
+
var $ = U(), z = T($);
|
|
1078
|
+
{
|
|
1079
|
+
var B = (H) => {
|
|
1080
|
+
d2(H, {
|
|
1081
|
+
get items() {
|
|
1082
|
+
return f();
|
|
1083
|
+
}
|
|
1084
|
+
});
|
|
1085
|
+
}, W = (H) => {
|
|
1086
|
+
p2(H, {
|
|
1087
|
+
get items() {
|
|
1088
|
+
return f();
|
|
1089
|
+
}
|
|
1090
|
+
});
|
|
1091
|
+
};
|
|
1092
|
+
j(z, (H) => {
|
|
1093
|
+
c().mode === "desktop" && (isNaN(s(d)) || s(o) > s(d)) ? H(B) : H(W, !1);
|
|
1094
|
+
});
|
|
762
1095
|
}
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
}
|
|
769
|
-
d(o) {
|
|
770
|
-
o && d(e);
|
|
771
|
-
for (let i = 0; i < t.length; i += 1)
|
|
772
|
-
t[i].d();
|
|
773
|
-
}
|
|
774
|
-
};
|
|
775
|
-
}
|
|
776
|
-
class lt extends T {
|
|
777
|
-
constructor(e) {
|
|
778
|
-
super(), F(this, e, null, Tt, z, {});
|
|
1096
|
+
m(y, $);
|
|
1097
|
+
};
|
|
1098
|
+
j(L, (y) => {
|
|
1099
|
+
var $;
|
|
1100
|
+
(($ = f()) == null ? void 0 : $.length) > 0 && y(A);
|
|
1101
|
+
});
|
|
779
1102
|
}
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
return {
|
|
785
|
-
c() {
|
|
786
|
-
e = y("svg"), l = y("path"), t = y("path"), h(l, "d", "M23.131 0l44.847 90H0V0"), h(l, "fill", "#c20430"), h(t, "d", "M23.131 0l16.03 32.044L55.1 0"), h(t, "fill", "#ffc500"), h(e, "viewBox", "0 0 68 90"), h(e, "xmlns", "http://www.w3.org/2000/svg");
|
|
1103
|
+
x(C), x(v), x(_), N(() => o1(_, s(g))), h1(C, "clientWidth", (y) => e1(p, y)), h1(_, "clientWidth", (y) => e1(o, y)), m(e, _);
|
|
1104
|
+
var S = t1({
|
|
1105
|
+
get items() {
|
|
1106
|
+
return f();
|
|
787
1107
|
},
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
},
|
|
791
|
-
p: x,
|
|
792
|
-
i: x,
|
|
793
|
-
o: x,
|
|
794
|
-
d(r) {
|
|
795
|
-
r && d(e);
|
|
796
|
-
}
|
|
797
|
-
};
|
|
798
|
-
}
|
|
799
|
-
class rt extends T {
|
|
800
|
-
constructor(e) {
|
|
801
|
-
super(), F(this, e, null, Ft, z, {});
|
|
802
|
-
}
|
|
803
|
-
}
|
|
804
|
-
U(rt, {}, [], [], !0);
|
|
805
|
-
function Wt(a) {
|
|
806
|
-
let e, l, t;
|
|
807
|
-
return {
|
|
808
|
-
c() {
|
|
809
|
-
e = y("svg"), l = y("path"), t = y("path"), h(l, "d", "M0 0h100v100H0V0z"), h(t, "fill", "#fff"), h(t, "d", "M74.6 54.9l-.7 2c2.4 0 5.6 1.4 5.6 2.9v9.5c0-.2-.2 5.4-7.8 5.4-13.7 0-15.6-10-15.6-20 0-6.7 2.4-13 5.8-17 3.4-3.8 9.8-3.6 15-3 5 .4 6.8 8.7 6.8 8.7l1.7-.5.2-13.2s-.7-.7-1.2-.5c-.5.3-2.4 1-3.7 1-1 0-4.6-.7-8.3-.7-6.6 0-13 1.4-17.8 8a32 32 0 00-3.4 6.1V28c0-8 4.1-6.3 4.6-7 .5-1.3.5-1.3-.2-1.5H39.9s-2 1.4-.7 1.4c5.4.5 7.6 2.5 7.6 7.4v25.4c0 6.6-5.1 10.5-12.5 10.5C27 64.2 22 59.5 22 51.5v-23c0-8 4.1-6.6 4.4-7.6.7-1 .7-1.2 0-1.2 0 0-9.3.5-16.2 0 0 0-2 1.5-.7 1.5 5.4.5 5.4 2.9 5.4 8v26.2s-.5 13.9 17.8 13.9c7.8 0 12.5-3.2 15-6.4l1.1-1.7c.3 2.5.8 5 1.5 7.1 3 9.6 14 12.2 17.6 12.2 4.6 0 4.6 0 8.8-2.9 2.2-1.2 10.2-4.4 10.2-4.4V59.8c0-2.2 4-3.2 4-3.2l.2-1.7H74.6z"), h(e, "xmlns", "http://www.w3.org/2000/svg"), h(e, "viewBox", "0 0 100 100");
|
|
1108
|
+
set items(y) {
|
|
1109
|
+
f(y), V();
|
|
810
1110
|
},
|
|
811
|
-
|
|
812
|
-
|
|
1111
|
+
get title() {
|
|
1112
|
+
return M();
|
|
813
1113
|
},
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
o: x,
|
|
817
|
-
d(r) {
|
|
818
|
-
r && d(e);
|
|
819
|
-
}
|
|
820
|
-
};
|
|
821
|
-
}
|
|
822
|
-
class nt extends T {
|
|
823
|
-
constructor(e) {
|
|
824
|
-
super(), F(this, e, null, Wt, z, {});
|
|
825
|
-
}
|
|
826
|
-
}
|
|
827
|
-
U(nt, {}, [], [], !0);
|
|
828
|
-
function Et(a) {
|
|
829
|
-
let e, l, t, r;
|
|
830
|
-
return {
|
|
831
|
-
c() {
|
|
832
|
-
e = y("svg"), l = y("g"), t = y("path"), r = y("path"), h(t, "d", "M223.87 71.503c-2.899.217-5.81.227-8.71.03-1.23-.07-1.43-.07-1.51 0-.08.08-.78.76-.64 1.16.05.14.17.22.38.25 2.21.26 2.72 1.11 2.72 4.51l.01 6.43H202.6l-.01-7.96c0-2.05 1.13-2.46 1.88-2.73.36-.13.64-.23.64-.5 0-.2.05-.39.1-.56.06-.22.11-.4.01-.52-.09-.11-.27-.11-.39-.1-3.56.32-6.38.13-7.89.02-.95-.06-1.11-.07-1.19 0-.08.08-.78.76-.64 1.16.05.14.17.22.38.25 2.19.26 2.69 1.1 2.69 4.51l.02 20.68c0 2.05-1.31 2.46-2.18 2.74-.43.13-.74.23-.74.5 0 .2-.05.39-.1.56-.06.22-.12.4-.01.53.09.11.27.11.39.1 3.55-.32 6.59-.13 8.23-.03l1.03.05c.18 0 .25-.02.29-.05.08-.08.78-.76.64-1.16-.05-.14-.17-.22-.38-.25-2.22-.26-2.76-1.15-2.76-4.52l-.01-10.13h13.52l.01 11.67c0 2.05-1.18 2.47-1.97 2.74-.37.13-.67.23-.67.5 0 .2-.05.39-.1.56-.06.22-.12.4-.01.53.09.11.27.11.39.1 3.54-.32 6.7-.13 8.39-.03 1.12.07 1.3.07 1.38 0 .08-.08.78-.76.64-1.16-.05-.14-.17-.22-.38-.25-2.22-.26-2.76-1.15-2.76-4.52l-.03-20.68c0-2.05 1.41-2.46 2.34-2.73.46-.13.79-.23.79-.5 0-.2.05-.39.1-.56.06-.22.11-.4.01-.52-.09-.13-.26-.13-.38-.12ZM75.39 92.043h.14c1.83 0 4.16 1.14 4.16 2.03v7.43l-.01.03c-.15.93-1.04 3.96-6.01 3.96h-.27c-6.34 0-9.27-3.61-10.61-6.67-3.1-7.05-.75-17.23 3.42-21.62 1.41-1.48 4.78-3.76 11.57-2.39 3.91.79 5.17 6.69 5.18 6.75l.02.11 1.46-.49.3-10.34-.02-.03c-.54-.73-1.43-.38-2.29-.04-.55.22-1.12.45-1.61.43-4.4-.9-15.18-2.15-20.31 5.73-5.35 7.02-6.38 17.7-2.46 25.38 2.62 5.14 7.02 7.95 12.41 7.95h.38c3.45 0 3.45 0 6.38-1.91l.36-.24c1.66-1.08 7.89-3.38 7.95-3.4l.07-.03v-10.47c0-1.75 3.02-2.45 3.05-2.46l.07-.02.16-1.47h-13l-.49 1.78Zm43.26-20.81c-2.23.21-5.93.09-8.15.02-1.96-.06-1.97-.05-2.03.01-.05.05-.53.54-.43.83.02.07.09.16.28.19 1.59.2 4.26 1.22 4.21 3.8l-.14 16.16a6.291 6.291 0 0 1-3.4 5.65 8.4 8.4 0 0 1-8.26-.04c-2.22-1.37-3.37-3.85-3.24-7l.02-14.85c0-2.22 1.24-2.67 2.06-2.96.39-.14.7-.25.7-.53 0-.22.06-.42.11-.61.07-.24.12-.43.01-.56-.1-.11-.27-.11-.4-.1-3.62.34-7.03.14-8.86.03-1.23-.07-1.43-.08-1.51 0-.08.08-.8.82-.66 1.25.03.1.13.22.39.26 2.13.27 3.22 1.1 3.22 4.88l-.03 15.45c.04 3 1.29 5.55 3.63 7.38a12.768 12.768 0 0 0 7.74 2.52h.1c5.78-.04 11.6-3.69 11.57-11.75-.01-2.7.16-16.36.16-16.5 0-1.38 1.4-1.81 2.33-2.1.49-.15.78-.24.78-.45 0-.13.03-.27.06-.39.05-.2.09-.38-.01-.49-.04-.08-.13-.11-.25-.1Zm49.72 23.14c0 .02-.45 1.91-1.87 3.4a5.292 5.292 0 0 1-2.82 1.49c-3.03.61-6.82.85-8.38-.3a1.797 1.797 0 0 1-.75-1.29c-.07-.71-.02-21.51-.02-21.72 0-2.05 1.52-2.47 2.52-2.74.49-.13.84-.23.84-.5 0-.2.05-.39.1-.56.06-.23.11-.41.01-.53-.09-.11-.26-.11-.37-.1-3.33.31-7.09.13-9.1.03-1.51-.07-1.69-.07-1.76 0-.08.08-.75.77-.61 1.17.03.09.12.21.36.24 2.03.25 3.13 1.05 3.13 4.53l.01 17.51c0 6.15-2.81 6.39-2.84 6.39l-.14.01.38 1.13h.08c.14 0 13.96-.46 17.78-.16l1.01.09c.55.05 1 .1 1.37.1.71 0 1.15-.16 1.43-.71.47-.94.77-7.33.78-7.6l.01-.13-1.13.18-.02.07Zm22.62-21.3c-2.69-2.16-9.17-1.66-14.39-1.26-1.58.12-3.08.24-4.23.25-.92-.05-1.01-.04-1.07.02-.08.08-.78.76-.64 1.16.05.14.17.22.38.25 2.28.27 2.86 1.2 2.86 4.51l.02 19.83c0 2.06-1.24 2.54-2.06 2.86-.4.16-.69.27-.69.53 0 .2-.05.39-.1.56-.06.22-.12.4-.01.53.09.11.27.11.39.1 3.52-.31 7.02-.13 8.91-.03.67.04 1.05.05 1.27.05.22 0 .28-.02.32-.05.09-.08.8-.93.64-1.4-.03-.1-.13-.24-.38-.26-2.16-.26-3.49-1.1-3.49-4.52l-.01-7.58c0-.28.07-.49.19-.6.08-.07.17-.1.29-.1l1.17.08c2.84.22 7.13.54 9.88-1.23a8.982 8.982 0 0 0 4.07-7.36 7.502 7.502 0 0 0-3.32-6.34Zm-5.32 12.41c-.74.35-1.6.53-2.55.53h-.03c-2.68-.01-3.68-.53-4.05-.96-.22-.26-.19-.47-.19-.49v-9.94c5.24-1.02 9.01.31 10.08 3.56a6.2 6.2 0 0 1-3.26 7.3Zm-41.49 8.66c-.36-.08-.77.3-1.26 1.15-.23.39-.42.77-.6 1.14-.95 1.9-1.63 3.28-6.08 3.28-5.31 0-6.98-.28-7.13-2.06-.15-1.77-.01-10.42 0-11.04.11-.14.78-.85 2.51-.85h3.07c.03 0 2.71.25 3.29 3.15.05.23.17.32.27.34.4.12 1.07-.53 1.14-.6l.03-.03v-6.23a.9.9 0 0 0-.42-.56c-.22-.12-.48-.12-.78-.02l-.05.02-.02.05c-.37 1.29-1.61 1.35-3.77 1.35-2.03 0-4.69.36-5.28.45v-9.01h8.36c.03 0 3.47.19 4.21 3.15.3 1.2.71 1.53 1 1.6.23.06.46-.03.66-.25.4-.46.62-1.48.23-2.49-.75-1.96-.76-5.32-.76-5.35v-.12l-2.34.24h-18.48c-.9 0-1.48.21-1.71.61-.28.49.06 1.06.08 1.09l.03.05h.06c.01 0 1.43-.04 2.54 1.03.9.86 1.35 2.19 1.35 3.95l.02 19.48c0 2.18-1.26 2.71-2.09 3.07-.32.14-.58.24-.67.42-.37.68-.45 1.01-.33 1.21.12.2.43.19.85.18l.34-.01c.12 0 11.68-.3 18.38 0 .24.01.5.07.78.13.31.07.65.15.96.15.44 0 .84-.14 1.12-.64.73-1.27 1.08-6.59 1.09-6.84.02-.11-.09-1.08-.6-1.19Zm-112.71-2.48a2.7 2.7 0 0 0 1.63.49c.64 0 1.27-.16 1.78-.31 2.22-.67 4.81-4.4 4.81-8.21 0-2.16-.77-3.56-2.18-3.93-1.92-.51-4.54 1.08-5.98 3.61-.66 1.17-1.45 2.88-1.44 4.4.03 1.97.49 3.3 1.38 3.95Zm1.87-7.19c.69-1.26 1.56-2.12 2.41-2.36.16-.04.31-.07.46-.07.25 0 .49.06.7.19 1.05.6.85 3.15-.04 4.74-.92 1.64-1.85 2.76-3.39 2.89-.42.03-.74-.11-.95-.43-.59-.9-.24-3.03.81-4.96Z"), h(r, "d", "M54.37 70.083a1.75 1.75 0 0 0-1.3-.22c-5.09.98-7.12 5.32-8.59 10.12-.76.01-1.57-.01-2.44-.06a.37.37 0 0 0-.3.14.37.37 0 0 0-.06.32l.16.51c.16.49.61.82 1.12.82h1.01l-.36 1.29c-1.78 6.44-4.08 12.88-11.28 12.12-.17-.02-.38-.1-.49.02a.52.52 0 0 0-.14.46l.06.38c.03.17.17.3.35.34 4.6 1.11 8.46-1.54 10.22-3.88 1.93-2.56 3.11-6.01 3.94-9.51l.29-1.22c2.76-.03 3.05.16 3.23.28.11.08.2.12.48.12.08 0 .15-.04.19-.1a.23.23 0 0 0 .04-.21l-.35-1.09a1.1 1.1 0 0 0-1.05-.76l-2.09.01c.91-3.38 2.09-6.26 4.64-7.44h.01l.03-.01c.6-.29.85-.26.95-.18.19.14.12.62.05 1.04-.08.51-.16 1.04.14 1.26.24.18.66.1 1.33-.23l.05-.02.64-3.46v-.02a1.19 1.19 0 0 0-.48-.82Zm-17.48-38.41c-2.72.26-7.37.11-10.15.03-2.33-.07-2.48-.07-2.54 0-.08.08-.64.76-.51 1.13.03.09.11.19.31.22.97.12 2.43.5 3.6 1.21 1.47.88 2.2 2.05 2.18 3.47l.02 20.02a8.34 8.34 0 0 1-4.62 7.34 10.58 10.58 0 0 1-10.28-.61c-2.85-1.88-4.28-5.03-4.03-8.86l.02-18.32c0-2.74 1.66-3.39 2.76-3.82.52-.2.89-.35.89-.67 0-.3.09-.52.15-.69.06-.16.11-.28.03-.38-.08-.1-.24-.1-.49-.08-4.43.42-8.59.17-10.83.04-1.47-.09-1.74-.1-1.83-.01a1.192 1.192 0 0 1-.11.1c-.39.35-.79.75-.69 1.06.05.15.2.24.46.27 2.66.33 4.01 1.35 4.01 6l-.04 19.47a11.16 11.16 0 0 0 5.99 10.04 15.78 15.78 0 0 0 7.52 1.83c3.03 0 6.09-.79 8.6-2.35 4.23-2.63 6.43-7.03 6.21-12.4-.14-3.3-.06-19.76-.05-19.93 0-1.71 1.66-2.24 2.76-2.6.56-.18.9-.29.9-.52 0-.17.04-.32.08-.46.05-.19.09-.34 0-.45-.08-.09-.22-.09-.32-.08Zm31.25.33c-2.11.2-5.62.09-7.71.02-1.86-.06-1.87-.05-1.93.01-.08.08-.51.71-.4 1.04.04.11.13.18.26.19 1.59.2 4.26.84 4.26 2.9l-.04 18.56c-.39-.34-1.81-2.07-6.57-8.89-4.45-6.37-9.53-13.91-9.59-13.99l-.04-.06-.07.03c-.03.01-.89.29-6.41-.16h-.04l-.03.02c-.19.13-1.13.82-1.02 1.23.04.15.19.23.45.25 3.89.32 3.87 1.6 3.84 5.01l-.01 1.12-.03 19.66c0 1.31-1.77 1.88-2.83 2.22-.61.2-.92.3-.92.49 0 .11-.02.25-.05.41-.06.33-.11.65.03.8.04.04.11.09.22.08 2.11-.2 5.9-.09 8.17-.02 2.05.06 2.06.05 2.12 0 .1-.1.51-.83.39-1.18a.3.3 0 0 0-.25-.2c-1.53-.19-4.11-.82-4.11-2.9l-.02-18.38c1.67 2.12 14.64 18.74 16.1 23.73.01.03.2.69.64.79l.11.01c.21 0 .42-.13.65-.38.4-.46.61-.54.84-.63.12-.05.25-.1.41-.2.57-.36.58-.64.62-1.26v-.05l-.02-26.53c0-1.31 1.45-1.9 2.41-2.29.51-.2.79-.32.79-.51 0-.12.03-.25.06-.37.05-.2.09-.37-.01-.48-.06-.08-.15-.1-.27-.09Zm190.77.11c-2.24.21-5.84.09-8 .02-1.82-.06-1.9-.05-1.96 0-.05.05-.52.54-.42.83.02.07.09.16.28.18h.32a3.37 3.37 0 0 1 2.69 1.82c.29.66.24 1.37-.14 2.06l-5.87 9.71-5.32-9.2c-.66-1.32-.78-2.62-.33-3.47.31-.58.85-.92 1.61-1.01l.59-.01c.19-.02.26-.12.29-.19.11-.31-.4-.82-.45-.88-.06-.06-.15-.07-2.25 0-2.45.07-6.55.2-8.95-.03-.16-.01-.27.02-.33.1-.11.14-.04.37.06.66l.05.16c.05.16.24.2.52.27.65.15 1.86.42 2.87 2.4l8.42 15.59.07 6.72c-.02 2.86-1.3 3.1-2.06 3.24-.33.06-.62.12-.62.4 0 .23-.06.45-.11.64-.07.25-.12.45-.01.58.1.12.28.11.41.1 3.85-.36 6.9-.14 8.55-.03.51.04.82.06 1 .06.18 0 .24-.02.28-.06.03-.03.84-.85.69-1.3-.05-.15-.18-.23-.4-.26-2.34-.29-2.96-1.34-3-5.07l.02-6.27 8.15-14.59a4.48 4.48 0 0 1 2.93-1.99c.4-.11.64-.17.64-.37 0-.13.04-.26.07-.38.04-.16.08-.29 0-.39-.08-.05-.21-.05-.29-.04Zm-56.72 29.22c-2.04-.25-3.14-1.05-3.14-4.51l-.03-20.51c0-2.05 1.36-2.51 2.26-2.82.44-.15.75-.26.75-.52 0-.2.05-.39.1-.56.06-.22.11-.4.01-.52-.09-.11-.25-.1-.37-.09-3.31.31-7 .13-8.97.03-1.47-.07-1.65-.07-1.72 0-.08.08-.74.76-.61 1.16.03.09.12.21.36.24 1.83.23 4 1.26 4 4.88l.02 20.25c0 2.05-1.25 2.46-2.07 2.74-.39.13-.7.23-.7.49 0 .2-.05.39-.1.56-.06.22-.11.4-.01.52.09.11.25.1.37.09 3.35-.31 6.5-.13 8.19-.03l1.11.05c.19 0 .26-.02.29-.05.08-.08.74-.76.61-1.16-.03-.09-.11-.21-.35-.24Zm-21.78-17.36c-.55-.07-1.2-.17-1.83-.36-1.75-.53-4.74-1.82-5.21-4.44-.08-.45-.06-.92.06-1.42.47-1.98 2.52-4.07 6.74-3.44 4.01.6 6.03 3.03 6.01 5.18 0 .1.09.17.18.14l1.15-.34a.28.28 0 0 0 .21-.31 45.093 45.093 0 0 1-.43-4.05c0-.9.24-2.21.38-2.91.15-.73-.06-.56-.06-.56-1.01.52-2.81.26-4.71-.01-1.35-.2-2.74-.4-3.85-.3-6.38.3-9.96 4.51-10.21 8.51a7.117 7.117 0 0 0 1.81 5.22c1.44 1.62 3.65 2.73 6.39 3.21 4.42.97 6.92 2.06 7.48 5.09a5.61 5.61 0 0 1-.19 2.79c-1.2 3.54-4.86 4.11-7.89 3.45-5.15-1.11-7.06-4.52-6.85-7.49 0-.06-.05-.1-.1-.08l-1.51.51a.2.2 0 0 0-.14.21c.17 1.52.35 4.23.03 5.51-.09.37.1.88.53 1.44 1.41 1.81 4.06 3.48 8.5 3.48l.46.01c7.8 0 11.72-4.79 12.07-9.32.31-4.22-2.35-8.84-9.02-9.72Zm48.36-12.05c-.18-.19-.44-.27-.81-.25-.38.02-.86.14-1.47.37-.12.04-.25.07-.37.07h-18.08a.966.966 0 0 1-.37-.07c-1.17-.43-1.83-.49-2.2-.2-.28.22-.39.63-.32 1.29.08.81.04 3.31.01 4.81l-.01 1.04c0 .97.32 1.19.58 1.22.48.05 1.04-.64 1.14-1.2.67-4.02 2.41-3.98 5.29-3.9l1.31.02c1.05 0 1.41.95 1.41 1.39l.01 20.68c0 2.36-1.51 3.03-2.52 3.47-.47.21-.82.36-.82.64 0 .23-.06.45-.11.64-.07.25-.12.45-.01.58.1.12.28.11.41.1 3.82-.36 7.51-.15 9.49-.03.68.04 1.07.06 1.3.06.22 0 .29-.02.33-.06.03-.03.85-.86.69-1.31-.05-.15-.18-.23-.4-.26-2.25-.28-3.56-1.18-3.6-4.98v-19.47c0-.56.39-1.46 1.42-1.46l1.31-.02h.14c2.73-.07 4.11-.11 4.78 3.9.06.33.27.7.54.95.26.23.53.31.75.21.28-.13.43-.52.43-1.18l-.01-1.04c-.02-1.5-.07-4 .01-4.81.05-.58-.02-.96-.25-1.2Zm-117.3-.08c-2.09.2-5.38.09-7.34.02-1.72-.06-1.73-.05-1.78.01-.09.09-.5.74-.39 1.07.04.11.13.18.26.19h.3c.13 0 .24.01.34.04 2.09.5 2.57 3.23 2.12 5.56-.13.68-.35 1.39-.67 2.19l-5.39 13.52-6.32-15.09c-.7-1.83-1.28-3.68-.7-4.79.31-.59.94-.99 1.91-1.23l.69-.09c.13-.02.23-.09.26-.2.12-.35-.32-1.04-.42-1.13-.06-.06-.07-.07-2.26 0-2.42.07-6.48.18-8.71-.02-.12-.01-.2.02-.26.08-.11.12-.06.33-.01.56.03.14.06.28.06.4 0 .19.2.29.54.47.59.31 1.57.83 2.29 2.19 1.01 1.9 11.24 27.73 11.34 27.99.2.63.44.96.72.97h.02c.24 0 .45-.22.64-.66l1.45-3.97c2.76-7.57 8.51-23.33 9.22-24.71a4.195 4.195 0 0 1 1.86-1.94c.25-.14.42-.23.42-.41 0-.11.03-.25.05-.38.05-.24.09-.44-.02-.56-.03-.06-.11-.09-.22-.08Zm26.02 22.93c-.29-.11-.68.12-1.2.71-.12.14-.23.36-.36.65-.58 1.27-1.67 3.64-6.62 3.76-5.36.13-6.96-.33-7.1-2.05-.14-1.73-.01-10.14 0-11 1.96-.59 5.7-.99 5.73-.99 2.21-.1 3 2.33 3.12 3.28.05.44.24.59.38.65.19.08.43.02.64-.16.25-.21.47-.6.4-.98-.08-.39-.02-1.28.05-2.32.14-2.03.29-4.34-.44-4.69-.26-.13-.59-.01-1.01.38-.57.85-1.3 1.49-3 1.8-1.51.28-5.19.56-5.86.61v-9.43c1.05.14 2.34.06 3.7-.03 3.57-.23 7.62-.49 9.13 3.16.36 1.14.73 1.31.98 1.25.49-.12.78-1.29.59-2.37-.38-2.07-.76-5.32-.77-5.36l-.02-.14-.12.06c-.56.28-11 .24-16.61.22h-3.96c-1.45 0-1.63 1.45-1.63 1.47l-.01.11h.11c.02.01 1.43 0 2.54 1.09.89.88 1.34 2.22 1.34 3.97l-.07 19.35c0 2.05-1.42 2.57-2.36 2.91-.45.16-.78.28-.78.54 0 .64.64 1.48 1.32 1.48h18.29c.26 0 .58.08.92.16.37.09.74.17 1.06.17.22 0 .41-.04.56-.15a.783.783 0 0 0 .31-.58c.18-1.42 1.06-6.68 1.07-6.75.02-.07.02-.65-.32-.78Zm-55.71 6.63c-2.33-.29-3.16-1.5-3.16-4.64l-.03-20.62c0-2.06 1.37-2.47 2.27-2.74.44-.13.76-.23.76-.49 0-.2.05-.39.1-.56.06-.22.11-.4.01-.52-.09-.11-.25-.1-.37-.09-3.33.31-7.03.13-9.02.03-1.48-.07-1.65-.07-1.73 0-.08.08-.75.76-.61 1.16.03.09.12.21.36.24 1.84.23 4.02 1.26 4.02 4.89l.04 20.24c0 2.06-1.25 2.53-2.08 2.83-.4.15-.7.26-.7.52 0 .2-.05.39-.1.56-.06.22-.11.4-.01.52.09.11.25.1.37.09 3.36-.32 6.53-.13 8.23-.03l1.11.05c.19 0 .26-.02.29-.05.08-.08.75-.77.61-1.16-.03-.09-.12-.2-.36-.23Zm61.64-24.69c.02.68.14 22.03.14 22.24-.12 1.84-1.44 2.23-2.31 2.49-.43.13-.75.22-.75.47 0 .18-.05.35-.09.51-.06.2-.11.37-.01.49.09.11.25.11.36.09 3.2-.29 6.66-.12 8.52-.03 1.38.07 1.53.07 1.61 0 .07-.07.72-.7.59-1.07-.03-.09-.12-.2-.35-.23-1.98-.24-3.29-1.03-3.29-4.12v-10.03c1.25.14 1.86-.04 2.35.07 1.47.33 3.44 1.9 5.81 6.12.66 1.17 3.73 6.59 3.59 7.42-.06.35-.55.4-.89.45-.29.05-.56.09-.56.32 0 .18-.05.35-.09.51-.06.2-.11.37-.01.49.09.11.25.11.36.09 3.2-.29 6.58-.12 8.44-.03.69.03.04.05.26.05s.28-.02.32-.05c.07-.07.72-.7.59-1.07-.03-.09-.12-.2-.35-.23-2.04-.24-2.68-1.13-4.98-4.08-.61-.88-1.2-1.79-1.77-2.68-1.84-2.87-3.34-6.42-5.42-8 3.1-.31 4.53-2.03 5.55-3.23a8.04 8.04 0 0 0 1.89-5.57 6.532 6.532 0 0 0-1.95-4.4 7.24 7.24 0 0 0-5.33-1.78c-3.2.11-10.31.02-13.73-.23-.95-.07-1.61-.04-1.99.3-.24.22-.35.56-.35 1.07v.09l.09.01c-.01.02 3.68.53 3.75 3.55Zm4.41-1.92 4.1-.21c2.46-.21 4.53.79 5.55 2.67a4.762 4.762 0 0 1-.38 5.21c-1.66 2.13-5.04 2.75-9.27 1.7v-9.37Z"), h(l, "fill", "#fff"), h(e, "xmlns", "http://www.w3.org/2000/svg"), h(e, "xml:space", "preserve"), h(e, "viewBox", "0 0 260 141");
|
|
1114
|
+
set title(y) {
|
|
1115
|
+
M(y), V();
|
|
833
1116
|
},
|
|
834
|
-
|
|
835
|
-
|
|
1117
|
+
get url() {
|
|
1118
|
+
return h();
|
|
836
1119
|
},
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
o: x,
|
|
840
|
-
d(n) {
|
|
841
|
-
n && d(e);
|
|
1120
|
+
set url(y) {
|
|
1121
|
+
h(y), V();
|
|
842
1122
|
}
|
|
843
|
-
};
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
1123
|
+
});
|
|
1124
|
+
return r(), S;
|
|
1125
|
+
}
|
|
1126
|
+
P(g2, { items: {}, title: {}, url: {} }, [], [], !0);
|
|
1127
|
+
const Wt = 35;
|
|
1128
|
+
var Bt = k('<header class="relative z-10 w-full font-condensed text-black"><!> <!> <!></header>');
|
|
1129
|
+
function Rt(e, t) {
|
|
1130
|
+
Y(t, !0);
|
|
1131
|
+
const [a, r] = x1(), c = () => w1(p, "$headerState", a);
|
|
1132
|
+
let n = E(t, "subNavigation", 7), f = E(t, "pageTitle", 7), M = E(t, "pageURL", 7), h = E(t, "variant", 7), o = c1(void 0);
|
|
1133
|
+
const i = 1024, p = P2({ mode: "mobile", variant: h() });
|
|
1134
|
+
z2("header-state", p), F1(() => {
|
|
1135
|
+
p.set({
|
|
1136
|
+
mode: s(o) >= i ? "desktop" : "mobile",
|
|
1137
|
+
variant: h()
|
|
1138
|
+
});
|
|
1139
|
+
});
|
|
1140
|
+
var u = Bt(), d = w(u);
|
|
1141
|
+
{
|
|
1142
|
+
var _ = (b) => {
|
|
1143
|
+
l2(b, {});
|
|
1144
|
+
};
|
|
1145
|
+
j(d, (b) => {
|
|
1146
|
+
c().mode === "desktop" && h() !== "dual-brand" && b(_);
|
|
1147
|
+
});
|
|
848
1148
|
}
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
}
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
}
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
M(e.$$.fragment);
|
|
876
|
-
},
|
|
877
|
-
m(t, r) {
|
|
878
|
-
Z(e, t, r), l = !0;
|
|
1149
|
+
var g = I(d, 2);
|
|
1150
|
+
h2(g, {});
|
|
1151
|
+
var v = I(g, 2);
|
|
1152
|
+
{
|
|
1153
|
+
var l = (b) => {
|
|
1154
|
+
g2(b, {
|
|
1155
|
+
get title() {
|
|
1156
|
+
return f();
|
|
1157
|
+
},
|
|
1158
|
+
get url() {
|
|
1159
|
+
return M();
|
|
1160
|
+
},
|
|
1161
|
+
get items() {
|
|
1162
|
+
return n();
|
|
1163
|
+
}
|
|
1164
|
+
});
|
|
1165
|
+
};
|
|
1166
|
+
j(v, (b) => {
|
|
1167
|
+
var C;
|
|
1168
|
+
(((C = n()) == null ? void 0 : C.length) > 0 || f()) && b(l);
|
|
1169
|
+
});
|
|
1170
|
+
}
|
|
1171
|
+
x(u), B2("innerWidth", (b) => e1(o, S1(b))), m(e, u);
|
|
1172
|
+
var Z = t1({
|
|
1173
|
+
get subNavigation() {
|
|
1174
|
+
return n();
|
|
879
1175
|
},
|
|
880
|
-
|
|
881
|
-
|
|
1176
|
+
set subNavigation(b) {
|
|
1177
|
+
n(b), V();
|
|
882
1178
|
},
|
|
883
|
-
|
|
884
|
-
|
|
1179
|
+
get pageTitle() {
|
|
1180
|
+
return f();
|
|
885
1181
|
},
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
}
|
|
889
|
-
};
|
|
890
|
-
}
|
|
891
|
-
function Rt(a) {
|
|
892
|
-
let e, l;
|
|
893
|
-
return e = new st({}), {
|
|
894
|
-
c() {
|
|
895
|
-
M(e.$$.fragment);
|
|
1182
|
+
set pageTitle(b) {
|
|
1183
|
+
f(b), V();
|
|
896
1184
|
},
|
|
897
|
-
|
|
898
|
-
|
|
1185
|
+
get pageURL() {
|
|
1186
|
+
return M();
|
|
899
1187
|
},
|
|
900
|
-
|
|
901
|
-
|
|
1188
|
+
set pageURL(b) {
|
|
1189
|
+
M(b), V();
|
|
902
1190
|
},
|
|
903
|
-
|
|
904
|
-
|
|
1191
|
+
get variant() {
|
|
1192
|
+
return h();
|
|
905
1193
|
},
|
|
906
|
-
|
|
907
|
-
|
|
1194
|
+
set variant(b) {
|
|
1195
|
+
h(b), V();
|
|
908
1196
|
}
|
|
909
|
-
};
|
|
1197
|
+
});
|
|
1198
|
+
return r(), Z;
|
|
910
1199
|
}
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
}
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
1200
|
+
customElements.define("uofg-header", P(
|
|
1201
|
+
Rt,
|
|
1202
|
+
{
|
|
1203
|
+
pageTitle: {
|
|
1204
|
+
attribute: "page-title",
|
|
1205
|
+
reflect: !0,
|
|
1206
|
+
type: "String"
|
|
1207
|
+
},
|
|
1208
|
+
pageURL: {
|
|
1209
|
+
attribute: "page-url",
|
|
1210
|
+
reflect: !0,
|
|
1211
|
+
type: "String"
|
|
1212
|
+
},
|
|
1213
|
+
variant: {
|
|
1214
|
+
attribute: "variant",
|
|
1215
|
+
reflect: !0,
|
|
1216
|
+
type: "String"
|
|
1217
|
+
},
|
|
1218
|
+
subNavigation: {}
|
|
1219
|
+
},
|
|
1220
|
+
[],
|
|
1221
|
+
[],
|
|
1222
|
+
!0,
|
|
1223
|
+
(e) => class extends e {
|
|
1224
|
+
constructor() {
|
|
1225
|
+
super();
|
|
1226
|
+
C1(this, "subNavigation", []);
|
|
1227
|
+
W2(this.shadowRoot);
|
|
1228
|
+
}
|
|
1229
|
+
connectedCallback() {
|
|
1230
|
+
super.connectedCallback(), this.updateSubNavigation(), this.observer ?? (this.observer = new MutationObserver(() => {
|
|
1231
|
+
this.updateSubNavigation();
|
|
1232
|
+
})), this.observer.observe(this, { childList: !0, subtree: !0 });
|
|
1233
|
+
}
|
|
1234
|
+
disconnectedCallback() {
|
|
1235
|
+
super.disconnectedCallback(), this.observer.disconnect();
|
|
1236
|
+
}
|
|
1237
|
+
updateSubNavigation() {
|
|
1238
|
+
const a = (r) => {
|
|
1239
|
+
const c = {};
|
|
1240
|
+
return r.getAttributeNames().filter((n) => n !== "href").forEach((n) => c[n] = r.getAttribute(n)), {
|
|
1241
|
+
href: r.getAttribute("href"),
|
|
1242
|
+
text: r.textContent,
|
|
1243
|
+
attributes: c
|
|
1244
|
+
};
|
|
1245
|
+
};
|
|
1246
|
+
this.subNavigation = Array.from(this.children).filter((r) => r.tagName === "A" || r.tagName === "UL").map((r) => {
|
|
1247
|
+
switch (r.tagName) {
|
|
1248
|
+
case "A":
|
|
1249
|
+
return a(r);
|
|
1250
|
+
case "UL":
|
|
1251
|
+
const c = {
|
|
1252
|
+
title: r.getAttribute("data-title"),
|
|
1253
|
+
links: Array.from(r.querySelectorAll("a")).map(a)
|
|
1254
|
+
};
|
|
1255
|
+
return c.wrapContent = c.links.reduce(
|
|
1256
|
+
(n, f) => (f.text.length > Wt && (n = !0), n),
|
|
1257
|
+
!1
|
|
1258
|
+
), c;
|
|
1259
|
+
}
|
|
1260
|
+
}).filter((r) => !!r);
|
|
968
1261
|
}
|
|
969
|
-
};
|
|
970
|
-
}
|
|
971
|
-
function It(a, e, l) {
|
|
972
|
-
let t, { variant: r } = e;
|
|
973
|
-
const n = ke("header-state");
|
|
974
|
-
return _e(a, n, (s) => l(1, t = s)), a.$$set = (s) => {
|
|
975
|
-
"variant" in s && l(0, r = s.variant);
|
|
976
|
-
}, [r, t, n];
|
|
977
|
-
}
|
|
978
|
-
class at extends T {
|
|
979
|
-
constructor(e) {
|
|
980
|
-
super(), F(this, e, It, qt, z, { variant: 0 });
|
|
981
|
-
}
|
|
982
|
-
get variant() {
|
|
983
|
-
return this.$$.ctx[0];
|
|
984
|
-
}
|
|
985
|
-
set variant(e) {
|
|
986
|
-
this.$$set({ variant: e }), j();
|
|
987
|
-
}
|
|
988
|
-
}
|
|
989
|
-
U(at, { variant: {} }, [], [], !0);
|
|
990
|
-
function Pt(a) {
|
|
991
|
-
let e, l, t, r, n, s, c, o, i, u, f, _, $, w, k, H, C, J, K, Q, X, ee, P, te, le, re, ne, se, ae, oe;
|
|
992
|
-
return {
|
|
993
|
-
c() {
|
|
994
|
-
e = y("svg"), l = y("defs"), t = y("style"), r = E(".cls-1,.cls-2{fill:#fff;}.cls-2{stroke:#fff;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;}"), n = y("path"), s = y("path"), c = y("polygon"), o = y("path"), i = y("polygon"), u = y("path"), f = y("path"), _ = y("polygon"), $ = y("polygon"), w = y("path"), k = y("path"), H = y("polygon"), C = y("path"), J = y("path"), K = y("path"), Q = y("path"), X = y("path"), ee = y("path"), P = y("line"), te = y("path"), le = y("path"), re = y("path"), ne = y("path"), se = y("path"), ae = y("path"), oe = y("path"), h(n, "class", "cls-1"), h(n, "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"), h(n, "transform", "translate(-365.74 -171)"), h(s, "class", "cls-1"), h(s, "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"), h(s, "transform", "translate(-365.74 -171)"), h(c, "class", "cls-1"), h(c, "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"), h(o, "class", "cls-1"), h(o, "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"), h(o, "transform", "translate(-365.74 -171)"), h(i, "class", "cls-1"), h(i, "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"), h(u, "class", "cls-1"), h(u, "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"), h(u, "transform", "translate(-365.74 -171)"), h(f, "class", "cls-1"), h(f, "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"), h(f, "transform", "translate(-365.74 -171)"), h(_, "class", "cls-1"), h(_, "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"), h($, "class", "cls-1"), h($, "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"), h(w, "class", "cls-1"), h(w, "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"), h(w, "transform", "translate(-365.74 -171)"), h(k, "class", "cls-1"), h(k, "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"), h(k, "transform", "translate(-365.74 -171)"), h(H, "class", "cls-1"), h(H, "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"), h(C, "class", "cls-1"), h(C, "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"), h(C, "transform", "translate(-365.74 -171)"), h(J, "class", "cls-1"), h(J, "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"), h(J, "transform", "translate(-365.74 -171)"), h(K, "class", "cls-1"), h(K, "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"), h(K, "transform", "translate(-365.74 -171)"), h(Q, "class", "cls-1"), h(Q, "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"), h(Q, "transform", "translate(-365.74 -171)"), h(X, "class", "cls-1"), h(X, "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"), h(X, "transform", "translate(-365.74 -171)"), h(ee, "class", "cls-1"), h(ee, "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"), h(ee, "transform", "translate(-365.74 -171)"), h(P, "class", "cls-2"), h(P, "x1", "0.75"), h(P, "y1", "61.79"), h(P, "x2", "264.97"), h(P, "y2", "61.79"), h(te, "class", "cls-1"), h(te, "d", "M402.13,185.86a.08.08,0,0,1,0,0h0l0,0Z"), h(te, "transform", "translate(-365.74 -171)"), h(le, "class", "cls-1"), h(le, "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"), h(le, "transform", "translate(-365.74 -171)"), h(re, "class", "cls-1"), h(re, "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"), h(re, "transform", "translate(-365.74 -171)"), h(ne, "class", "cls-1"), h(ne, "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"), h(ne, "transform", "translate(-365.74 -171)"), h(se, "class", "cls-1"), h(se, "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"), h(se, "transform", "translate(-365.74 -171)"), h(ae, "class", "cls-1"), h(ae, "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"), h(ae, "transform", "translate(-365.74 -171)"), h(oe, "class", "cls-1"), h(oe, "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"), h(oe, "transform", "translate(-365.74 -171)"), h(e, "id", "Layer_1"), h(e, "data-name", "Layer 1"), h(e, "xmlns", "http://www.w3.org/2000/svg"), vt(e, "height", "100%"), h(e, "viewBox", "0 0 266.13 110.89");
|
|
995
|
-
},
|
|
996
|
-
m(me, gt) {
|
|
997
|
-
b(me, e, gt), g(e, l), g(l, t), g(t, r), g(e, n), g(e, s), g(e, c), g(e, o), g(e, i), g(e, u), g(e, f), g(e, _), g(e, $), g(e, w), g(e, k), g(e, H), g(e, C), g(e, J), g(e, K), g(e, Q), g(e, X), g(e, ee), g(e, P), g(e, te), g(e, le), g(e, re), g(e, ne), g(e, se), g(e, ae), g(e, oe);
|
|
998
|
-
},
|
|
999
|
-
p: x,
|
|
1000
|
-
i: x,
|
|
1001
|
-
o: x,
|
|
1002
|
-
d(me) {
|
|
1003
|
-
me && d(e);
|
|
1004
|
-
}
|
|
1005
|
-
};
|
|
1006
|
-
}
|
|
1007
|
-
class ot extends T {
|
|
1008
|
-
constructor(e) {
|
|
1009
|
-
super(), F(this, e, null, Pt, z, {});
|
|
1010
|
-
}
|
|
1011
|
-
}
|
|
1012
|
-
U(ot, {}, [], [], !0);
|
|
1013
|
-
function Dt(a, e, l) {
|
|
1014
|
-
const t = a.slice();
|
|
1015
|
-
return t[0] = e[l], t;
|
|
1016
|
-
}
|
|
1017
|
-
function Gt(a) {
|
|
1018
|
-
let e;
|
|
1019
|
-
return {
|
|
1020
|
-
c() {
|
|
1021
|
-
e = v("a"), e.textContent = `${/*item*/
|
|
1022
|
-
a[0].text}`, h(e, "class", "flex h-full items-center justify-center border-0 border-b-8 border-solid border-transparent p-6 pt-8 transition-colors hover:border-uofg-yellow hover:text-uofg-yellow"), h(
|
|
1023
|
-
e,
|
|
1024
|
-
"href",
|
|
1025
|
-
/*item*/
|
|
1026
|
-
a[0].href
|
|
1027
|
-
);
|
|
1028
|
-
},
|
|
1029
|
-
m(l, t) {
|
|
1030
|
-
b(l, e, t);
|
|
1031
|
-
},
|
|
1032
|
-
i: x,
|
|
1033
|
-
o: x,
|
|
1034
|
-
d(l) {
|
|
1035
|
-
l && d(e);
|
|
1036
|
-
}
|
|
1037
|
-
};
|
|
1038
|
-
}
|
|
1039
|
-
function Ot(a) {
|
|
1040
|
-
let e, l, t;
|
|
1041
|
-
return l = new R({ props: { icon: (
|
|
1042
|
-
/*item*/
|
|
1043
|
-
a[0].icon
|
|
1044
|
-
) } }), {
|
|
1045
|
-
c() {
|
|
1046
|
-
e = v("a"), M(l.$$.fragment), h(e, "class", "flex h-full items-center justify-center border-0 border-b-8 border-solid border-transparent p-4 pb-6 pt-8 text-uofg-yellow transition-colors hover:border-uofg-yellow hover:text-white [&>svg]:fill-current"), h(
|
|
1047
|
-
e,
|
|
1048
|
-
"href",
|
|
1049
|
-
/*item*/
|
|
1050
|
-
a[0].href
|
|
1051
|
-
), h(
|
|
1052
|
-
e,
|
|
1053
|
-
"aria-label",
|
|
1054
|
-
/*item*/
|
|
1055
|
-
a[0].text
|
|
1056
|
-
);
|
|
1057
|
-
},
|
|
1058
|
-
m(r, n) {
|
|
1059
|
-
b(r, e, n), Z(l, e, null), t = !0;
|
|
1060
|
-
},
|
|
1061
|
-
i(r) {
|
|
1062
|
-
t || (p(l.$$.fragment, r), t = !0);
|
|
1063
|
-
},
|
|
1064
|
-
o(r) {
|
|
1065
|
-
m(l.$$.fragment, r), t = !1;
|
|
1066
|
-
},
|
|
1067
|
-
d(r) {
|
|
1068
|
-
r && d(e), L(l);
|
|
1069
|
-
}
|
|
1070
|
-
};
|
|
1071
|
-
}
|
|
1072
|
-
function Yt(a) {
|
|
1073
|
-
let e, l, t, r, n;
|
|
1074
|
-
const s = [Ot, Gt], c = [];
|
|
1075
|
-
function o(i, u) {
|
|
1076
|
-
return (
|
|
1077
|
-
/*item*/
|
|
1078
|
-
i[0].icon ? 0 : 1
|
|
1079
|
-
);
|
|
1080
|
-
}
|
|
1081
|
-
return l = o(a), t = c[l] = s[l](a), {
|
|
1082
|
-
c() {
|
|
1083
|
-
e = v("li"), t.c(), r = N();
|
|
1084
|
-
},
|
|
1085
|
-
m(i, u) {
|
|
1086
|
-
b(i, e, u), c[l].m(e, null), g(e, r), n = !0;
|
|
1087
|
-
},
|
|
1088
|
-
p: x,
|
|
1089
|
-
i(i) {
|
|
1090
|
-
n || (p(t), n = !0);
|
|
1091
|
-
},
|
|
1092
|
-
o(i) {
|
|
1093
|
-
m(t), n = !1;
|
|
1094
|
-
},
|
|
1095
|
-
d(i) {
|
|
1096
|
-
i && d(e), c[l].d();
|
|
1097
|
-
}
|
|
1098
|
-
};
|
|
1099
|
-
}
|
|
1100
|
-
function Jt(a) {
|
|
1101
|
-
let e, l, t = A(tt), r = [];
|
|
1102
|
-
for (let n = 0; n < t.length; n += 1)
|
|
1103
|
-
r[n] = Yt(Dt(a, t, n));
|
|
1104
|
-
return {
|
|
1105
|
-
c() {
|
|
1106
|
-
e = v("ul");
|
|
1107
|
-
for (let n = 0; n < r.length; n += 1)
|
|
1108
|
-
r[n].c();
|
|
1109
|
-
h(e, "class", "flex ml-auto [&>li]:contents text-4xl");
|
|
1110
|
-
},
|
|
1111
|
-
m(n, s) {
|
|
1112
|
-
b(n, e, s);
|
|
1113
|
-
for (let c = 0; c < r.length; c += 1)
|
|
1114
|
-
r[c] && r[c].m(e, null);
|
|
1115
|
-
l = !0;
|
|
1116
|
-
},
|
|
1117
|
-
p: x,
|
|
1118
|
-
i(n) {
|
|
1119
|
-
if (!l) {
|
|
1120
|
-
for (let s = 0; s < t.length; s += 1)
|
|
1121
|
-
p(r[s]);
|
|
1122
|
-
l = !0;
|
|
1123
|
-
}
|
|
1124
|
-
},
|
|
1125
|
-
o(n) {
|
|
1126
|
-
r = r.filter(Boolean);
|
|
1127
|
-
for (let s = 0; s < r.length; s += 1)
|
|
1128
|
-
m(r[s]);
|
|
1129
|
-
l = !1;
|
|
1130
|
-
},
|
|
1131
|
-
d(n) {
|
|
1132
|
-
n && d(e), G(r, n);
|
|
1133
|
-
}
|
|
1134
|
-
};
|
|
1135
|
-
}
|
|
1136
|
-
let it = class extends T {
|
|
1137
|
-
constructor(e) {
|
|
1138
|
-
super(), F(this, e, null, Jt, z, {});
|
|
1139
|
-
}
|
|
1140
|
-
};
|
|
1141
|
-
U(it, {}, [], [], !0);
|
|
1142
|
-
function Ae(a, e, l) {
|
|
1143
|
-
const t = a.slice();
|
|
1144
|
-
return t[3] = e[l], t;
|
|
1145
|
-
}
|
|
1146
|
-
function je(a, e, l) {
|
|
1147
|
-
const t = a.slice();
|
|
1148
|
-
return t[6] = e[l], t;
|
|
1149
|
-
}
|
|
1150
|
-
function Ve(a, e, l) {
|
|
1151
|
-
const t = a.slice();
|
|
1152
|
-
return t[3] = e[l], t;
|
|
1153
|
-
}
|
|
1154
|
-
function Se(a, e, l) {
|
|
1155
|
-
const t = a.slice();
|
|
1156
|
-
return t[6] = e[l], t;
|
|
1157
|
-
}
|
|
1158
|
-
function Kt(a) {
|
|
1159
|
-
let e, l, t;
|
|
1160
|
-
return l = new R({ props: { icon: (
|
|
1161
|
-
/*item*/
|
|
1162
|
-
a[3].icon
|
|
1163
|
-
) } }), {
|
|
1164
|
-
c() {
|
|
1165
|
-
e = v("a"), M(l.$$.fragment), h(e, "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"), h(
|
|
1166
|
-
e,
|
|
1167
|
-
"href",
|
|
1168
|
-
/*item*/
|
|
1169
|
-
a[3].href
|
|
1170
|
-
), h(
|
|
1171
|
-
e,
|
|
1172
|
-
"aria-label",
|
|
1173
|
-
/*item*/
|
|
1174
|
-
a[3].text
|
|
1175
|
-
);
|
|
1176
|
-
},
|
|
1177
|
-
m(r, n) {
|
|
1178
|
-
b(r, e, n), Z(l, e, null), t = !0;
|
|
1179
|
-
},
|
|
1180
|
-
p: x,
|
|
1181
|
-
i(r) {
|
|
1182
|
-
t || (p(l.$$.fragment, r), t = !0);
|
|
1183
|
-
},
|
|
1184
|
-
o(r) {
|
|
1185
|
-
m(l.$$.fragment, r), t = !1;
|
|
1186
|
-
},
|
|
1187
|
-
d(r) {
|
|
1188
|
-
r && d(e), L(l);
|
|
1189
|
-
}
|
|
1190
|
-
};
|
|
1191
|
-
}
|
|
1192
|
-
function Qt(a) {
|
|
1193
|
-
let e, l;
|
|
1194
|
-
return e = new I({
|
|
1195
|
-
props: {
|
|
1196
|
-
class: "h-full",
|
|
1197
|
-
buttonAriaLabel: (
|
|
1198
|
-
/*item*/
|
|
1199
|
-
a[3].icon ? (
|
|
1200
|
-
/*item*/
|
|
1201
|
-
a[3].text
|
|
1202
|
-
) : void 0
|
|
1203
|
-
),
|
|
1204
|
-
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",
|
|
1205
|
-
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",
|
|
1206
|
-
as: "ul",
|
|
1207
|
-
$$slots: {
|
|
1208
|
-
button: [e1],
|
|
1209
|
-
default: [Xt]
|
|
1210
|
-
},
|
|
1211
|
-
$$scope: { ctx: a }
|
|
1212
|
-
}
|
|
1213
|
-
}), {
|
|
1214
|
-
c() {
|
|
1215
|
-
M(e.$$.fragment);
|
|
1216
|
-
},
|
|
1217
|
-
m(t, r) {
|
|
1218
|
-
Z(e, t, r), l = !0;
|
|
1219
|
-
},
|
|
1220
|
-
p(t, r) {
|
|
1221
|
-
const n = {};
|
|
1222
|
-
r & /*$$scope*/
|
|
1223
|
-
8192 && (n.$$scope = { dirty: r, ctx: t }), e.$set(n);
|
|
1224
|
-
},
|
|
1225
|
-
i(t) {
|
|
1226
|
-
l || (p(e.$$.fragment, t), l = !0);
|
|
1227
|
-
},
|
|
1228
|
-
o(t) {
|
|
1229
|
-
m(e.$$.fragment, t), l = !1;
|
|
1230
|
-
},
|
|
1231
|
-
d(t) {
|
|
1232
|
-
L(e, t);
|
|
1233
|
-
}
|
|
1234
|
-
};
|
|
1235
|
-
}
|
|
1236
|
-
function ze(a) {
|
|
1237
|
-
let e, l, t = (
|
|
1238
|
-
/*link*/
|
|
1239
|
-
a[6].text + ""
|
|
1240
|
-
), r, n;
|
|
1241
|
-
return {
|
|
1242
|
-
c() {
|
|
1243
|
-
e = v("li"), l = v("a"), r = E(t), n = N(), h(l, "class", "border-0 border-b border-solid border-uofg-grey-500 p-4 transition-colors hover:bg-uofg-yellow"), h(
|
|
1244
|
-
l,
|
|
1245
|
-
"href",
|
|
1246
|
-
/*link*/
|
|
1247
|
-
a[6].href
|
|
1248
|
-
), h(e, "class", "[&>*]:first:mt-4 [&>*]:last:mb-4");
|
|
1249
|
-
},
|
|
1250
|
-
m(s, c) {
|
|
1251
|
-
b(s, e, c), g(e, l), g(l, r), g(e, n);
|
|
1252
|
-
},
|
|
1253
|
-
p: x,
|
|
1254
|
-
d(s) {
|
|
1255
|
-
s && d(e);
|
|
1256
|
-
}
|
|
1257
|
-
};
|
|
1258
|
-
}
|
|
1259
|
-
function Xt(a) {
|
|
1260
|
-
let e, l = A(
|
|
1261
|
-
/*item*/
|
|
1262
|
-
a[3].links
|
|
1263
|
-
), t = [];
|
|
1264
|
-
for (let r = 0; r < l.length; r += 1)
|
|
1265
|
-
t[r] = ze(Se(a, l, r));
|
|
1266
|
-
return {
|
|
1267
|
-
c() {
|
|
1268
|
-
for (let r = 0; r < t.length; r += 1)
|
|
1269
|
-
t[r].c();
|
|
1270
|
-
e = W();
|
|
1271
|
-
},
|
|
1272
|
-
m(r, n) {
|
|
1273
|
-
for (let s = 0; s < t.length; s += 1)
|
|
1274
|
-
t[s] && t[s].m(r, n);
|
|
1275
|
-
b(r, e, n);
|
|
1276
|
-
},
|
|
1277
|
-
p(r, n) {
|
|
1278
|
-
if (n & /*outer*/
|
|
1279
|
-
2) {
|
|
1280
|
-
l = A(
|
|
1281
|
-
/*item*/
|
|
1282
|
-
r[3].links
|
|
1283
|
-
);
|
|
1284
|
-
let s;
|
|
1285
|
-
for (s = 0; s < l.length; s += 1) {
|
|
1286
|
-
const c = Se(r, l, s);
|
|
1287
|
-
t[s] ? t[s].p(c, n) : (t[s] = ze(c), t[s].c(), t[s].m(e.parentNode, e));
|
|
1288
|
-
}
|
|
1289
|
-
for (; s < t.length; s += 1)
|
|
1290
|
-
t[s].d(1);
|
|
1291
|
-
t.length = l.length;
|
|
1292
|
-
}
|
|
1293
|
-
},
|
|
1294
|
-
d(r) {
|
|
1295
|
-
r && d(e), G(t, r);
|
|
1296
|
-
}
|
|
1297
|
-
};
|
|
1298
|
-
}
|
|
1299
|
-
function e1(a) {
|
|
1300
|
-
let e, l;
|
|
1301
|
-
return e = new R({
|
|
1302
|
-
props: {
|
|
1303
|
-
slot: "button",
|
|
1304
|
-
icon: (
|
|
1305
|
-
/*item*/
|
|
1306
|
-
a[3].icon
|
|
1307
|
-
)
|
|
1308
|
-
}
|
|
1309
|
-
}), {
|
|
1310
|
-
c() {
|
|
1311
|
-
M(e.$$.fragment);
|
|
1312
|
-
},
|
|
1313
|
-
m(t, r) {
|
|
1314
|
-
Z(e, t, r), l = !0;
|
|
1315
|
-
},
|
|
1316
|
-
p: x,
|
|
1317
|
-
i(t) {
|
|
1318
|
-
l || (p(e.$$.fragment, t), l = !0);
|
|
1319
|
-
},
|
|
1320
|
-
o(t) {
|
|
1321
|
-
m(e.$$.fragment, t), l = !1;
|
|
1322
|
-
},
|
|
1323
|
-
d(t) {
|
|
1324
|
-
L(e, t);
|
|
1325
|
-
}
|
|
1326
|
-
};
|
|
1327
|
-
}
|
|
1328
|
-
function He(a, e) {
|
|
1329
|
-
let l, t, r, n, s;
|
|
1330
|
-
const c = [Qt, Kt], o = [];
|
|
1331
|
-
function i(u, f) {
|
|
1332
|
-
return (
|
|
1333
|
-
/*item*/
|
|
1334
|
-
u[3].links ? 0 : 1
|
|
1335
|
-
);
|
|
1336
|
-
}
|
|
1337
|
-
return t = i(e), r = o[t] = c[t](e), {
|
|
1338
|
-
key: a,
|
|
1339
|
-
first: null,
|
|
1340
|
-
c() {
|
|
1341
|
-
l = v("li"), r.c(), n = N(), this.first = l;
|
|
1342
|
-
},
|
|
1343
|
-
m(u, f) {
|
|
1344
|
-
b(u, l, f), o[t].m(l, null), g(l, n), s = !0;
|
|
1345
|
-
},
|
|
1346
|
-
p(u, f) {
|
|
1347
|
-
e = u, r.p(e, f);
|
|
1348
|
-
},
|
|
1349
|
-
i(u) {
|
|
1350
|
-
s || (p(r), s = !0);
|
|
1351
|
-
},
|
|
1352
|
-
o(u) {
|
|
1353
|
-
m(r), s = !1;
|
|
1354
|
-
},
|
|
1355
|
-
d(u) {
|
|
1356
|
-
u && d(l), o[t].d();
|
|
1357
|
-
}
|
|
1358
|
-
};
|
|
1359
|
-
}
|
|
1360
|
-
function t1(a) {
|
|
1361
|
-
let e, l = (
|
|
1362
|
-
/*item*/
|
|
1363
|
-
a[3].text + ""
|
|
1364
|
-
), t;
|
|
1365
|
-
return {
|
|
1366
|
-
c() {
|
|
1367
|
-
e = v("a"), t = E(l), h(e, "class", "border-0 border-b border-solid border-uofg-grey-500 p-4 transition-colors hover:bg-uofg-grey focus:bg-uofg-grey"), h(
|
|
1368
|
-
e,
|
|
1369
|
-
"href",
|
|
1370
|
-
/*item*/
|
|
1371
|
-
a[3].href
|
|
1372
|
-
), $e(
|
|
1373
|
-
e,
|
|
1374
|
-
"bg-uofg-yellow",
|
|
1375
|
-
/*item*/
|
|
1376
|
-
a[3].highlight
|
|
1377
|
-
);
|
|
1378
|
-
},
|
|
1379
|
-
m(r, n) {
|
|
1380
|
-
b(r, e, n), g(e, t);
|
|
1381
|
-
},
|
|
1382
|
-
p: x,
|
|
1383
|
-
i: x,
|
|
1384
|
-
o: x,
|
|
1385
|
-
d(r) {
|
|
1386
|
-
r && d(e);
|
|
1387
|
-
}
|
|
1388
|
-
};
|
|
1389
|
-
}
|
|
1390
|
-
function l1(a) {
|
|
1391
|
-
let e, l;
|
|
1392
|
-
return e = new I({
|
|
1393
|
-
props: {
|
|
1394
|
-
class: "relative w-full",
|
|
1395
|
-
buttonClass: "flex border-0 border-b border-solid border-uofg-grey-500 w-full items-center justify-between gap-2 p-4 transition-colors hover:bg-uofg-grey focus:bg-uofg-grey aria-expanded:bg-uofg-grey [&_svg]:aria-expanded:rotate-180",
|
|
1396
|
-
contentClass: "flex flex-col w-full flex-col bg-white text-black [&>li]:contents",
|
|
1397
|
-
as: "ul",
|
|
1398
|
-
autoCollapse: !1,
|
|
1399
|
-
$$slots: {
|
|
1400
|
-
button: [n1],
|
|
1401
|
-
default: [r1]
|
|
1402
|
-
},
|
|
1403
|
-
$$scope: { ctx: a }
|
|
1404
|
-
}
|
|
1405
|
-
}), {
|
|
1406
|
-
c() {
|
|
1407
|
-
M(e.$$.fragment);
|
|
1408
|
-
},
|
|
1409
|
-
m(t, r) {
|
|
1410
|
-
Z(e, t, r), l = !0;
|
|
1411
|
-
},
|
|
1412
|
-
p(t, r) {
|
|
1413
|
-
const n = {};
|
|
1414
|
-
r & /*$$scope*/
|
|
1415
|
-
8192 && (n.$$scope = { dirty: r, ctx: t }), e.$set(n);
|
|
1416
|
-
},
|
|
1417
|
-
i(t) {
|
|
1418
|
-
l || (p(e.$$.fragment, t), l = !0);
|
|
1419
|
-
},
|
|
1420
|
-
o(t) {
|
|
1421
|
-
m(e.$$.fragment, t), l = !1;
|
|
1422
|
-
},
|
|
1423
|
-
d(t) {
|
|
1424
|
-
L(e, t);
|
|
1425
|
-
}
|
|
1426
|
-
};
|
|
1427
|
-
}
|
|
1428
|
-
function Ue(a) {
|
|
1429
|
-
let e, l, t = (
|
|
1430
|
-
/*link*/
|
|
1431
|
-
a[6].text + ""
|
|
1432
|
-
), r, n, s = [
|
|
1433
|
-
{
|
|
1434
|
-
class: "border-0 border-b border-solid border-uofg-grey-500 p-4 transition-colors hover:bg-uofg-grey"
|
|
1435
|
-
},
|
|
1436
|
-
{
|
|
1437
|
-
href: (
|
|
1438
|
-
/*link*/
|
|
1439
|
-
a[6].href
|
|
1440
|
-
)
|
|
1441
|
-
},
|
|
1442
|
-
/*link*/
|
|
1443
|
-
a[6].attributes
|
|
1444
|
-
], c = {};
|
|
1445
|
-
for (let o = 0; o < s.length; o += 1)
|
|
1446
|
-
c = D(c, s[o]);
|
|
1447
|
-
return {
|
|
1448
|
-
c() {
|
|
1449
|
-
e = v("li"), l = v("a"), r = E(t), n = N(), B(l, c);
|
|
1450
|
-
},
|
|
1451
|
-
m(o, i) {
|
|
1452
|
-
b(o, e, i), g(e, l), g(l, r), g(e, n);
|
|
1453
|
-
},
|
|
1454
|
-
p: x,
|
|
1455
|
-
d(o) {
|
|
1456
|
-
o && d(e);
|
|
1457
|
-
}
|
|
1458
|
-
};
|
|
1459
|
-
}
|
|
1460
|
-
function r1(a) {
|
|
1461
|
-
let e, l = A(
|
|
1462
|
-
/*item*/
|
|
1463
|
-
a[3].links
|
|
1464
|
-
), t = [];
|
|
1465
|
-
for (let r = 0; r < l.length; r += 1)
|
|
1466
|
-
t[r] = Ue(je(a, l, r));
|
|
1467
|
-
return {
|
|
1468
|
-
c() {
|
|
1469
|
-
for (let r = 0; r < t.length; r += 1)
|
|
1470
|
-
t[r].c();
|
|
1471
|
-
e = W();
|
|
1472
|
-
},
|
|
1473
|
-
m(r, n) {
|
|
1474
|
-
for (let s = 0; s < t.length; s += 1)
|
|
1475
|
-
t[s] && t[s].m(r, n);
|
|
1476
|
-
b(r, e, n);
|
|
1477
|
-
},
|
|
1478
|
-
p(r, n) {
|
|
1479
|
-
if (n & /*mainMenu*/
|
|
1480
|
-
1) {
|
|
1481
|
-
l = A(
|
|
1482
|
-
/*item*/
|
|
1483
|
-
r[3].links
|
|
1484
|
-
);
|
|
1485
|
-
let s;
|
|
1486
|
-
for (s = 0; s < l.length; s += 1) {
|
|
1487
|
-
const c = je(r, l, s);
|
|
1488
|
-
t[s] ? t[s].p(c, n) : (t[s] = Ue(c), t[s].c(), t[s].m(e.parentNode, e));
|
|
1489
|
-
}
|
|
1490
|
-
for (; s < t.length; s += 1)
|
|
1491
|
-
t[s].d(1);
|
|
1492
|
-
t.length = l.length;
|
|
1493
|
-
}
|
|
1494
|
-
},
|
|
1495
|
-
d(r) {
|
|
1496
|
-
r && d(e), G(t, r);
|
|
1497
|
-
}
|
|
1498
|
-
};
|
|
1499
|
-
}
|
|
1500
|
-
function n1(a) {
|
|
1501
|
-
let e, l, t, r, n;
|
|
1502
|
-
return r = new R({ props: { icon: he } }), {
|
|
1503
|
-
c() {
|
|
1504
|
-
e = v("span"), l = v("span"), l.textContent = `${/*item*/
|
|
1505
|
-
a[3].text}`, t = N(), M(r.$$.fragment), h(l, "class", "mr-auto"), h(e, "class", "w-full flex gap-2 justify-between [&>svg]:transition-transform"), h(e, "slot", "button"), $e(
|
|
1506
|
-
e,
|
|
1507
|
-
"bg-uofg-yellow",
|
|
1508
|
-
/*item*/
|
|
1509
|
-
a[3].highlight
|
|
1510
|
-
);
|
|
1511
|
-
},
|
|
1512
|
-
m(s, c) {
|
|
1513
|
-
b(s, e, c), g(e, l), g(e, t), Z(r, e, null), n = !0;
|
|
1514
|
-
},
|
|
1515
|
-
p: x,
|
|
1516
|
-
i(s) {
|
|
1517
|
-
n || (p(r.$$.fragment, s), n = !0);
|
|
1518
|
-
},
|
|
1519
|
-
o(s) {
|
|
1520
|
-
m(r.$$.fragment, s), n = !1;
|
|
1521
|
-
},
|
|
1522
|
-
d(s) {
|
|
1523
|
-
s && d(e), L(r);
|
|
1524
|
-
}
|
|
1525
|
-
};
|
|
1526
|
-
}
|
|
1527
|
-
function Te(a) {
|
|
1528
|
-
let e, l, t, r, n;
|
|
1529
|
-
const s = [l1, t1], c = [];
|
|
1530
|
-
function o(i, u) {
|
|
1531
|
-
return (
|
|
1532
|
-
/*item*/
|
|
1533
|
-
i[3].links ? 0 : 1
|
|
1534
|
-
);
|
|
1535
|
-
}
|
|
1536
|
-
return l = o(a), t = c[l] = s[l](a), {
|
|
1537
|
-
c() {
|
|
1538
|
-
e = v("li"), t.c(), r = N(), h(e, "class", "[&>*]:first:mt-4 [&>*]:last:mb-4");
|
|
1539
|
-
},
|
|
1540
|
-
m(i, u) {
|
|
1541
|
-
b(i, e, u), c[l].m(e, null), g(e, r), n = !0;
|
|
1542
|
-
},
|
|
1543
|
-
p(i, u) {
|
|
1544
|
-
t.p(i, u);
|
|
1545
|
-
},
|
|
1546
|
-
i(i) {
|
|
1547
|
-
n || (p(t), n = !0);
|
|
1548
|
-
},
|
|
1549
|
-
o(i) {
|
|
1550
|
-
m(t), n = !1;
|
|
1551
|
-
},
|
|
1552
|
-
d(i) {
|
|
1553
|
-
i && d(e), c[l].d();
|
|
1554
|
-
}
|
|
1555
|
-
};
|
|
1556
|
-
}
|
|
1557
|
-
function s1(a) {
|
|
1558
|
-
let e, l, t = A(
|
|
1559
|
-
/*mainMenu*/
|
|
1560
|
-
a[0]
|
|
1561
|
-
), r = [];
|
|
1562
|
-
for (let s = 0; s < t.length; s += 1)
|
|
1563
|
-
r[s] = Te(Ae(a, t, s));
|
|
1564
|
-
const n = (s) => m(r[s], 1, 1, () => {
|
|
1565
|
-
r[s] = null;
|
|
1566
|
-
});
|
|
1567
|
-
return {
|
|
1568
|
-
c() {
|
|
1569
|
-
for (let s = 0; s < r.length; s += 1)
|
|
1570
|
-
r[s].c();
|
|
1571
|
-
e = W();
|
|
1572
|
-
},
|
|
1573
|
-
m(s, c) {
|
|
1574
|
-
for (let o = 0; o < r.length; o += 1)
|
|
1575
|
-
r[o] && r[o].m(s, c);
|
|
1576
|
-
b(s, e, c), l = !0;
|
|
1577
|
-
},
|
|
1578
|
-
p(s, c) {
|
|
1579
|
-
if (c & /*mainMenu*/
|
|
1580
|
-
1) {
|
|
1581
|
-
t = A(
|
|
1582
|
-
/*mainMenu*/
|
|
1583
|
-
s[0]
|
|
1584
|
-
);
|
|
1585
|
-
let o;
|
|
1586
|
-
for (o = 0; o < t.length; o += 1) {
|
|
1587
|
-
const i = Ae(s, t, o);
|
|
1588
|
-
r[o] ? (r[o].p(i, c), p(r[o], 1)) : (r[o] = Te(i), r[o].c(), p(r[o], 1), r[o].m(e.parentNode, e));
|
|
1589
|
-
}
|
|
1590
|
-
for (S(), o = t.length; o < r.length; o += 1)
|
|
1591
|
-
n(o);
|
|
1592
|
-
V();
|
|
1593
|
-
}
|
|
1594
|
-
},
|
|
1595
|
-
i(s) {
|
|
1596
|
-
if (!l) {
|
|
1597
|
-
for (let c = 0; c < t.length; c += 1)
|
|
1598
|
-
p(r[c]);
|
|
1599
|
-
l = !0;
|
|
1600
|
-
}
|
|
1601
|
-
},
|
|
1602
|
-
o(s) {
|
|
1603
|
-
r = r.filter(Boolean);
|
|
1604
|
-
for (let c = 0; c < r.length; c += 1)
|
|
1605
|
-
m(r[c]);
|
|
1606
|
-
l = !1;
|
|
1607
|
-
},
|
|
1608
|
-
d(s) {
|
|
1609
|
-
s && d(e), G(r, s);
|
|
1610
|
-
}
|
|
1611
|
-
};
|
|
1612
|
-
}
|
|
1613
|
-
function a1(a) {
|
|
1614
|
-
let e, l;
|
|
1615
|
-
return e = new R({ props: { slot: "button", icon: et } }), {
|
|
1616
|
-
c() {
|
|
1617
|
-
M(e.$$.fragment);
|
|
1618
|
-
},
|
|
1619
|
-
m(t, r) {
|
|
1620
|
-
Z(e, t, r), l = !0;
|
|
1621
|
-
},
|
|
1622
|
-
p: x,
|
|
1623
|
-
i(t) {
|
|
1624
|
-
l || (p(e.$$.fragment, t), l = !0);
|
|
1625
|
-
},
|
|
1626
|
-
o(t) {
|
|
1627
|
-
m(e.$$.fragment, t), l = !1;
|
|
1628
|
-
},
|
|
1629
|
-
d(t) {
|
|
1630
|
-
L(e, t);
|
|
1631
|
-
}
|
|
1632
|
-
};
|
|
1633
|
-
}
|
|
1634
|
-
function o1(a) {
|
|
1635
|
-
let e, l = [], t = /* @__PURE__ */ new Map(), r, n, s, c, o = A(
|
|
1636
|
-
/*outer*/
|
|
1637
|
-
a[1]
|
|
1638
|
-
);
|
|
1639
|
-
const i = (u) => (
|
|
1640
|
-
/*item*/
|
|
1641
|
-
u[3].text || /*item*/
|
|
1642
|
-
u[3].title
|
|
1643
|
-
);
|
|
1644
|
-
for (let u = 0; u < o.length; u += 1) {
|
|
1645
|
-
let f = Ve(a, o, u), _ = i(f);
|
|
1646
|
-
t.set(_, l[u] = He(_, f));
|
|
1647
|
-
}
|
|
1648
|
-
return s = new I({
|
|
1649
|
-
props: {
|
|
1650
|
-
class: "h-full",
|
|
1651
|
-
buttonAriaLabel: "Main Menu",
|
|
1652
|
-
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",
|
|
1653
|
-
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",
|
|
1654
|
-
as: "ul",
|
|
1655
|
-
$$slots: {
|
|
1656
|
-
button: [a1],
|
|
1657
|
-
default: [s1]
|
|
1658
|
-
},
|
|
1659
|
-
$$scope: { ctx: a }
|
|
1660
|
-
}
|
|
1661
|
-
}), {
|
|
1662
|
-
c() {
|
|
1663
|
-
e = v("ul");
|
|
1664
|
-
for (let u = 0; u < l.length; u += 1)
|
|
1665
|
-
l[u].c();
|
|
1666
|
-
r = N(), n = v("li"), M(s.$$.fragment), h(e, "class", "flex h-full [&>li]:contents");
|
|
1667
|
-
},
|
|
1668
|
-
m(u, f) {
|
|
1669
|
-
b(u, e, f);
|
|
1670
|
-
for (let _ = 0; _ < l.length; _ += 1)
|
|
1671
|
-
l[_] && l[_].m(e, null);
|
|
1672
|
-
g(e, r), g(e, n), Z(s, n, null), c = !0;
|
|
1673
|
-
},
|
|
1674
|
-
p(u, [f]) {
|
|
1675
|
-
f & /*outer, undefined*/
|
|
1676
|
-
2 && (o = A(
|
|
1677
|
-
/*outer*/
|
|
1678
|
-
u[1]
|
|
1679
|
-
), S(), l = ue(l, f, i, 1, u, o, t, e, fe, He, r, Ve), V());
|
|
1680
|
-
const _ = {};
|
|
1681
|
-
f & /*$$scope*/
|
|
1682
|
-
8192 && (_.$$scope = { dirty: f, ctx: u }), s.$set(_);
|
|
1683
|
-
},
|
|
1684
|
-
i(u) {
|
|
1685
|
-
if (!c) {
|
|
1686
|
-
for (let f = 0; f < o.length; f += 1)
|
|
1687
|
-
p(l[f]);
|
|
1688
|
-
p(s.$$.fragment, u), c = !0;
|
|
1689
|
-
}
|
|
1690
|
-
},
|
|
1691
|
-
o(u) {
|
|
1692
|
-
for (let f = 0; f < l.length; f += 1)
|
|
1693
|
-
m(l[f]);
|
|
1694
|
-
m(s.$$.fragment, u), c = !1;
|
|
1695
|
-
},
|
|
1696
|
-
d(u) {
|
|
1697
|
-
u && d(e);
|
|
1698
|
-
for (let f = 0; f < l.length; f += 1)
|
|
1699
|
-
l[f].d();
|
|
1700
|
-
L(s);
|
|
1701
|
-
}
|
|
1702
|
-
};
|
|
1703
|
-
}
|
|
1704
|
-
function i1(a) {
|
|
1705
|
-
const e = [...tt, ...ve], l = e.filter((r) => !(r != null && r.excludeFromMainMenu)), t = e.filter((r) => r == null ? void 0 : r.excludeFromMainMenu);
|
|
1706
|
-
return [l, t];
|
|
1707
|
-
}
|
|
1708
|
-
let ct = class extends T {
|
|
1709
|
-
constructor(e) {
|
|
1710
|
-
super(), F(this, e, i1, o1, z, {});
|
|
1711
|
-
}
|
|
1712
|
-
};
|
|
1713
|
-
U(ct, {}, [], [], !0);
|
|
1714
|
-
function c1(a) {
|
|
1715
|
-
let e, l;
|
|
1716
|
-
return e = new ct({}), {
|
|
1717
|
-
c() {
|
|
1718
|
-
M(e.$$.fragment);
|
|
1719
|
-
},
|
|
1720
|
-
m(t, r) {
|
|
1721
|
-
Z(e, t, r), l = !0;
|
|
1722
|
-
},
|
|
1723
|
-
i(t) {
|
|
1724
|
-
l || (p(e.$$.fragment, t), l = !0);
|
|
1725
|
-
},
|
|
1726
|
-
o(t) {
|
|
1727
|
-
m(e.$$.fragment, t), l = !1;
|
|
1728
|
-
},
|
|
1729
|
-
d(t) {
|
|
1730
|
-
L(e, t);
|
|
1731
|
-
}
|
|
1732
|
-
};
|
|
1733
|
-
}
|
|
1734
|
-
function u1(a) {
|
|
1735
|
-
let e, l;
|
|
1736
|
-
return e = new it({}), {
|
|
1737
|
-
c() {
|
|
1738
|
-
M(e.$$.fragment);
|
|
1739
|
-
},
|
|
1740
|
-
m(t, r) {
|
|
1741
|
-
Z(e, t, r), l = !0;
|
|
1742
|
-
},
|
|
1743
|
-
i(t) {
|
|
1744
|
-
l || (p(e.$$.fragment, t), l = !0);
|
|
1745
|
-
},
|
|
1746
|
-
o(t) {
|
|
1747
|
-
m(e.$$.fragment, t), l = !1;
|
|
1748
|
-
},
|
|
1749
|
-
d(t) {
|
|
1750
|
-
L(e, t);
|
|
1751
|
-
}
|
|
1752
|
-
};
|
|
1753
|
-
}
|
|
1754
|
-
function f1(a) {
|
|
1755
|
-
let e, l, t;
|
|
1756
|
-
return l = new ot({}), {
|
|
1757
|
-
c() {
|
|
1758
|
-
e = v("a"), M(l.$$.fragment), h(e, "href", "https://www.guelphhumber.ca"), h(e, "class", "w-auto h-full p-6 ml-auto transition-opacity focus:opacity-75 hover:opacity-75");
|
|
1759
|
-
},
|
|
1760
|
-
m(r, n) {
|
|
1761
|
-
b(r, e, n), Z(l, e, null), t = !0;
|
|
1762
|
-
},
|
|
1763
|
-
i(r) {
|
|
1764
|
-
t || (p(l.$$.fragment, r), t = !0);
|
|
1765
|
-
},
|
|
1766
|
-
o(r) {
|
|
1767
|
-
m(l.$$.fragment, r), t = !1;
|
|
1768
|
-
},
|
|
1769
|
-
d(r) {
|
|
1770
|
-
r && d(e), L(l);
|
|
1771
|
-
}
|
|
1772
|
-
};
|
|
1773
|
-
}
|
|
1774
|
-
function h1(a) {
|
|
1775
|
-
let e, l, t, r, n, s, c;
|
|
1776
|
-
l = new at({});
|
|
1777
|
-
const o = [f1, u1, c1], i = [];
|
|
1778
|
-
function u(f, _) {
|
|
1779
|
-
var $, w;
|
|
1780
|
-
return (
|
|
1781
|
-
/*$state*/
|
|
1782
|
-
(($ = f[0]) == null ? void 0 : $.variant) === "dual-brand" ? 0 : (
|
|
1783
|
-
/*$state*/
|
|
1784
|
-
((w = f[0]) == null ? void 0 : w.mode) === "desktop" ? 1 : 2
|
|
1785
|
-
)
|
|
1786
|
-
);
|
|
1787
|
-
}
|
|
1788
|
-
return r = u(a), n = i[r] = o[r](a), {
|
|
1789
|
-
c() {
|
|
1790
|
-
var f;
|
|
1791
|
-
e = v("nav"), M(l.$$.fragment), t = N(), n.c(), h(e, "class", s = q(
|
|
1792
|
-
"relative w-full justify-between flex lg:h-[10rem] bg-black px-[calc((100%-1320px)/2)] text-3xl text-white",
|
|
1793
|
-
/*$state*/
|
|
1794
|
-
((f = a[0]) == null ? void 0 : f.variant) === "dual-brand" ? "h-[7.5rem]" : "h-[5rem]"
|
|
1795
|
-
)), h(e, "aria-label", "Primary");
|
|
1796
|
-
},
|
|
1797
|
-
m(f, _) {
|
|
1798
|
-
b(f, e, _), Z(l, e, null), g(e, t), i[r].m(e, null), c = !0;
|
|
1799
|
-
},
|
|
1800
|
-
p(f, [_]) {
|
|
1801
|
-
var w;
|
|
1802
|
-
let $ = r;
|
|
1803
|
-
r = u(f), r !== $ && (S(), m(i[$], 1, 1, () => {
|
|
1804
|
-
i[$] = null;
|
|
1805
|
-
}), V(), n = i[r], n || (n = i[r] = o[r](f), n.c()), p(n, 1), n.m(e, null)), (!c || _ & /*$state*/
|
|
1806
|
-
1 && s !== (s = q(
|
|
1807
|
-
"relative w-full justify-between flex lg:h-[10rem] bg-black px-[calc((100%-1320px)/2)] text-3xl text-white",
|
|
1808
|
-
/*$state*/
|
|
1809
|
-
((w = f[0]) == null ? void 0 : w.variant) === "dual-brand" ? "h-[7.5rem]" : "h-[5rem]"
|
|
1810
|
-
))) && h(e, "class", s);
|
|
1811
|
-
},
|
|
1812
|
-
i(f) {
|
|
1813
|
-
c || (p(l.$$.fragment, f), p(n), c = !0);
|
|
1814
|
-
},
|
|
1815
|
-
o(f) {
|
|
1816
|
-
m(l.$$.fragment, f), m(n), c = !1;
|
|
1817
|
-
},
|
|
1818
|
-
d(f) {
|
|
1819
|
-
f && d(e), L(l), i[r].d();
|
|
1820
|
-
}
|
|
1821
|
-
};
|
|
1822
|
-
}
|
|
1823
|
-
function _1(a, e, l) {
|
|
1824
|
-
let t;
|
|
1825
|
-
const r = ke("header-state");
|
|
1826
|
-
return _e(a, r, (n) => l(0, t = n)), [t, r];
|
|
1827
|
-
}
|
|
1828
|
-
class ut extends T {
|
|
1829
|
-
constructor(e) {
|
|
1830
|
-
super(), F(this, e, _1, h1, z, {});
|
|
1831
|
-
}
|
|
1832
|
-
}
|
|
1833
|
-
U(ut, {}, [], [], !0);
|
|
1834
|
-
function Fe(a, e, l) {
|
|
1835
|
-
const t = a.slice();
|
|
1836
|
-
return t[1] = e[l], t;
|
|
1837
|
-
}
|
|
1838
|
-
function We(a, e, l) {
|
|
1839
|
-
const t = a.slice();
|
|
1840
|
-
return t[4] = e[l], t;
|
|
1841
|
-
}
|
|
1842
|
-
function g1(a) {
|
|
1843
|
-
var u;
|
|
1844
|
-
let e, l, t = (
|
|
1845
|
-
/*item*/
|
|
1846
|
-
a[1].text + ""
|
|
1847
|
-
), r, n, s, c, o = [
|
|
1848
|
-
/*item*/
|
|
1849
|
-
a[1].attributes,
|
|
1850
|
-
{
|
|
1851
|
-
class: n = `flex h-full items-center justify-center gap-2 px-4 transition-colors hover:bg-uofg-yellow ${/*item*/
|
|
1852
|
-
((u = a[1].attributes) == null ? void 0 : u.class) ?? ""}`
|
|
1853
|
-
},
|
|
1854
|
-
{
|
|
1855
|
-
href: s = /*item*/
|
|
1856
|
-
a[1].href
|
|
1857
|
-
}
|
|
1858
|
-
], i = {};
|
|
1859
|
-
for (let f = 0; f < o.length; f += 1)
|
|
1860
|
-
i = D(i, o[f]);
|
|
1861
|
-
return {
|
|
1862
|
-
c() {
|
|
1863
|
-
e = v("li"), l = v("a"), r = E(t), c = N(), B(l, i);
|
|
1864
|
-
},
|
|
1865
|
-
m(f, _) {
|
|
1866
|
-
b(f, e, _), g(e, l), g(l, r), g(e, c);
|
|
1867
|
-
},
|
|
1868
|
-
p(f, _) {
|
|
1869
|
-
var $;
|
|
1870
|
-
_ & /*items*/
|
|
1871
|
-
1 && t !== (t = /*item*/
|
|
1872
|
-
f[1].text + "") && ge(r, t, i.contenteditable), B(l, i = ie(o, [
|
|
1873
|
-
_ & /*items*/
|
|
1874
|
-
1 && /*item*/
|
|
1875
|
-
f[1].attributes,
|
|
1876
|
-
_ & /*items*/
|
|
1877
|
-
1 && n !== (n = `flex h-full items-center justify-center gap-2 px-4 transition-colors hover:bg-uofg-yellow ${/*item*/
|
|
1878
|
-
(($ = f[1].attributes) == null ? void 0 : $.class) ?? ""}`) && { class: n },
|
|
1879
|
-
_ & /*items*/
|
|
1880
|
-
1 && s !== (s = /*item*/
|
|
1881
|
-
f[1].href) && { href: s }
|
|
1882
|
-
]));
|
|
1883
|
-
},
|
|
1884
|
-
i: x,
|
|
1885
|
-
o: x,
|
|
1886
|
-
d(f) {
|
|
1887
|
-
f && d(e);
|
|
1888
|
-
}
|
|
1889
|
-
};
|
|
1890
|
-
}
|
|
1891
|
-
function p1(a) {
|
|
1892
|
-
let e, l, t, r;
|
|
1893
|
-
return l = new I({
|
|
1894
|
-
props: {
|
|
1895
|
-
class: "relative h-full",
|
|
1896
|
-
buttonClass: "flex h-full items-center justify-center gap-2 px-4 transition-colors hover:bg-uofg-yellow aria-expanded:bg-uofg-yellow [&_svg]:aria-expanded:rotate-180",
|
|
1897
|
-
contentClass: "absolute right-0 top-full z-50 flex min-w-[20rem] flex-col bg-uofg-grey [&>li]:contents",
|
|
1898
|
-
buttonAriaLabel: void 0,
|
|
1899
|
-
as: "ul",
|
|
1900
|
-
$$slots: {
|
|
1901
|
-
button: [b1],
|
|
1902
|
-
default: [m1]
|
|
1903
|
-
},
|
|
1904
|
-
$$scope: { ctx: a }
|
|
1905
|
-
}
|
|
1906
|
-
}), {
|
|
1907
|
-
c() {
|
|
1908
|
-
e = v("li"), M(l.$$.fragment), t = N();
|
|
1909
|
-
},
|
|
1910
|
-
m(n, s) {
|
|
1911
|
-
b(n, e, s), Z(l, e, null), g(e, t), r = !0;
|
|
1912
|
-
},
|
|
1913
|
-
p(n, s) {
|
|
1914
|
-
const c = {};
|
|
1915
|
-
s & /*$$scope, items*/
|
|
1916
|
-
129 && (c.$$scope = { dirty: s, ctx: n }), l.$set(c);
|
|
1917
|
-
},
|
|
1918
|
-
i(n) {
|
|
1919
|
-
r || (p(l.$$.fragment, n), r = !0);
|
|
1920
|
-
},
|
|
1921
|
-
o(n) {
|
|
1922
|
-
m(l.$$.fragment, n), r = !1;
|
|
1923
|
-
},
|
|
1924
|
-
d(n) {
|
|
1925
|
-
n && d(e), L(l);
|
|
1926
|
-
}
|
|
1927
|
-
};
|
|
1928
|
-
}
|
|
1929
|
-
function Ee(a) {
|
|
1930
|
-
var u;
|
|
1931
|
-
let e, l, t = (
|
|
1932
|
-
/*link*/
|
|
1933
|
-
a[4].text + ""
|
|
1934
|
-
), r, n, s, c, o = [
|
|
1935
|
-
/*link*/
|
|
1936
|
-
a[4].attributes,
|
|
1937
|
-
{
|
|
1938
|
-
class: n = `border-0 border-b border-solid border-uofg-grey-500 p-4 transition-colors hover:bg-uofg-yellow ${/*link*/
|
|
1939
|
-
((u = a[4].attributes) == null ? void 0 : u.class) ?? ""}`
|
|
1940
|
-
},
|
|
1941
|
-
{
|
|
1942
|
-
href: s = /*link*/
|
|
1943
|
-
a[4].href
|
|
1944
|
-
}
|
|
1945
|
-
], i = {};
|
|
1946
|
-
for (let f = 0; f < o.length; f += 1)
|
|
1947
|
-
i = D(i, o[f]);
|
|
1948
|
-
return {
|
|
1949
|
-
c() {
|
|
1950
|
-
e = v("li"), l = v("a"), r = E(t), c = N(), B(l, i);
|
|
1951
|
-
},
|
|
1952
|
-
m(f, _) {
|
|
1953
|
-
b(f, e, _), g(e, l), g(l, r), g(e, c);
|
|
1954
|
-
},
|
|
1955
|
-
p(f, _) {
|
|
1956
|
-
var $;
|
|
1957
|
-
_ & /*items*/
|
|
1958
|
-
1 && t !== (t = /*link*/
|
|
1959
|
-
f[4].text + "") && ge(r, t, i.contenteditable), B(l, i = ie(o, [
|
|
1960
|
-
_ & /*items*/
|
|
1961
|
-
1 && /*link*/
|
|
1962
|
-
f[4].attributes,
|
|
1963
|
-
_ & /*items*/
|
|
1964
|
-
1 && n !== (n = `border-0 border-b border-solid border-uofg-grey-500 p-4 transition-colors hover:bg-uofg-yellow ${/*link*/
|
|
1965
|
-
(($ = f[4].attributes) == null ? void 0 : $.class) ?? ""}`) && { class: n },
|
|
1966
|
-
_ & /*items*/
|
|
1967
|
-
1 && s !== (s = /*link*/
|
|
1968
|
-
f[4].href) && { href: s }
|
|
1969
|
-
]));
|
|
1970
|
-
},
|
|
1971
|
-
d(f) {
|
|
1972
|
-
f && d(e);
|
|
1973
|
-
}
|
|
1974
|
-
};
|
|
1975
|
-
}
|
|
1976
|
-
function m1(a) {
|
|
1977
|
-
let e, l = A(
|
|
1978
|
-
/*item*/
|
|
1979
|
-
a[1].links
|
|
1980
|
-
), t = [];
|
|
1981
|
-
for (let r = 0; r < l.length; r += 1)
|
|
1982
|
-
t[r] = Ee(We(a, l, r));
|
|
1983
|
-
return {
|
|
1984
|
-
c() {
|
|
1985
|
-
for (let r = 0; r < t.length; r += 1)
|
|
1986
|
-
t[r].c();
|
|
1987
|
-
e = W();
|
|
1988
|
-
},
|
|
1989
|
-
m(r, n) {
|
|
1990
|
-
for (let s = 0; s < t.length; s += 1)
|
|
1991
|
-
t[s] && t[s].m(r, n);
|
|
1992
|
-
b(r, e, n);
|
|
1993
|
-
},
|
|
1994
|
-
p(r, n) {
|
|
1995
|
-
if (n & /*items*/
|
|
1996
|
-
1) {
|
|
1997
|
-
l = A(
|
|
1998
|
-
/*item*/
|
|
1999
|
-
r[1].links
|
|
2000
|
-
);
|
|
2001
|
-
let s;
|
|
2002
|
-
for (s = 0; s < l.length; s += 1) {
|
|
2003
|
-
const c = We(r, l, s);
|
|
2004
|
-
t[s] ? t[s].p(c, n) : (t[s] = Ee(c), t[s].c(), t[s].m(e.parentNode, e));
|
|
2005
|
-
}
|
|
2006
|
-
for (; s < t.length; s += 1)
|
|
2007
|
-
t[s].d(1);
|
|
2008
|
-
t.length = l.length;
|
|
2009
|
-
}
|
|
2010
|
-
},
|
|
2011
|
-
d(r) {
|
|
2012
|
-
r && d(e), G(t, r);
|
|
2013
|
-
}
|
|
2014
|
-
};
|
|
2015
|
-
}
|
|
2016
|
-
function b1(a) {
|
|
2017
|
-
let e, l, t = (
|
|
2018
|
-
/*item*/
|
|
2019
|
-
a[1].title + ""
|
|
2020
|
-
), r, n, s, c;
|
|
2021
|
-
return s = new R({ props: { icon: he } }), {
|
|
2022
|
-
c() {
|
|
2023
|
-
e = v("span"), l = v("span"), r = E(t), n = N(), M(s.$$.fragment), h(e, "class", "flex gap-2 [&>svg]:transition-transform"), h(e, "slot", "button");
|
|
2024
|
-
},
|
|
2025
|
-
m(o, i) {
|
|
2026
|
-
b(o, e, i), g(e, l), g(l, r), g(e, n), Z(s, e, null), c = !0;
|
|
2027
|
-
},
|
|
2028
|
-
p(o, i) {
|
|
2029
|
-
(!c || i & /*items*/
|
|
2030
|
-
1) && t !== (t = /*item*/
|
|
2031
|
-
o[1].title + "") && pe(r, t);
|
|
2032
|
-
},
|
|
2033
|
-
i(o) {
|
|
2034
|
-
c || (p(s.$$.fragment, o), c = !0);
|
|
2035
|
-
},
|
|
2036
|
-
o(o) {
|
|
2037
|
-
m(s.$$.fragment, o), c = !1;
|
|
2038
|
-
},
|
|
2039
|
-
d(o) {
|
|
2040
|
-
o && d(e), L(s);
|
|
2041
|
-
}
|
|
2042
|
-
};
|
|
2043
|
-
}
|
|
2044
|
-
function Be(a, e) {
|
|
2045
|
-
let l, t, r, n, s;
|
|
2046
|
-
const c = [p1, g1], o = [];
|
|
2047
|
-
function i(u, f) {
|
|
2048
|
-
return (
|
|
2049
|
-
/*item*/
|
|
2050
|
-
u[1].links ? 0 : 1
|
|
2051
|
-
);
|
|
2052
|
-
}
|
|
2053
|
-
return t = i(e), r = o[t] = c[t](e), {
|
|
2054
|
-
key: a,
|
|
2055
|
-
first: null,
|
|
2056
|
-
c() {
|
|
2057
|
-
l = W(), r.c(), n = W(), this.first = l;
|
|
2058
|
-
},
|
|
2059
|
-
m(u, f) {
|
|
2060
|
-
b(u, l, f), o[t].m(u, f), b(u, n, f), s = !0;
|
|
2061
|
-
},
|
|
2062
|
-
p(u, f) {
|
|
2063
|
-
e = u;
|
|
2064
|
-
let _ = t;
|
|
2065
|
-
t = i(e), t === _ ? o[t].p(e, f) : (S(), m(o[_], 1, 1, () => {
|
|
2066
|
-
o[_] = null;
|
|
2067
|
-
}), V(), r = o[t], r ? r.p(e, f) : (r = o[t] = c[t](e), r.c()), p(r, 1), r.m(n.parentNode, n));
|
|
2068
|
-
},
|
|
2069
|
-
i(u) {
|
|
2070
|
-
s || (p(r), s = !0);
|
|
2071
|
-
},
|
|
2072
|
-
o(u) {
|
|
2073
|
-
m(r), s = !1;
|
|
2074
|
-
},
|
|
2075
|
-
d(u) {
|
|
2076
|
-
u && (d(l), d(n)), o[t].d(u);
|
|
2077
|
-
}
|
|
2078
|
-
};
|
|
2079
|
-
}
|
|
2080
|
-
function d1(a) {
|
|
2081
|
-
let e = [], l = /* @__PURE__ */ new Map(), t, r, n = A(
|
|
2082
|
-
/*items*/
|
|
2083
|
-
a[0]
|
|
2084
|
-
);
|
|
2085
|
-
const s = (c) => (
|
|
2086
|
-
/*item*/
|
|
2087
|
-
c[1].text || /*item*/
|
|
2088
|
-
c[1].title
|
|
2089
|
-
);
|
|
2090
|
-
for (let c = 0; c < n.length; c += 1) {
|
|
2091
|
-
let o = Fe(a, n, c), i = s(o);
|
|
2092
|
-
l.set(i, e[c] = Be(i, o));
|
|
2093
|
-
}
|
|
2094
|
-
return {
|
|
2095
|
-
c() {
|
|
2096
|
-
for (let c = 0; c < e.length; c += 1)
|
|
2097
|
-
e[c].c();
|
|
2098
|
-
t = W();
|
|
2099
|
-
},
|
|
2100
|
-
m(c, o) {
|
|
2101
|
-
for (let i = 0; i < e.length; i += 1)
|
|
2102
|
-
e[i] && e[i].m(c, o);
|
|
2103
|
-
b(c, t, o), r = !0;
|
|
2104
|
-
},
|
|
2105
|
-
p(c, [o]) {
|
|
2106
|
-
o & /*undefined, items*/
|
|
2107
|
-
1 && (n = A(
|
|
2108
|
-
/*items*/
|
|
2109
|
-
c[0]
|
|
2110
|
-
), S(), e = ue(e, o, s, 1, c, n, l, t.parentNode, fe, Be, t, Fe), V());
|
|
2111
|
-
},
|
|
2112
|
-
i(c) {
|
|
2113
|
-
if (!r) {
|
|
2114
|
-
for (let o = 0; o < n.length; o += 1)
|
|
2115
|
-
p(e[o]);
|
|
2116
|
-
r = !0;
|
|
2117
|
-
}
|
|
2118
|
-
},
|
|
2119
|
-
o(c) {
|
|
2120
|
-
for (let o = 0; o < e.length; o += 1)
|
|
2121
|
-
m(e[o]);
|
|
2122
|
-
r = !1;
|
|
2123
|
-
},
|
|
2124
|
-
d(c) {
|
|
2125
|
-
c && d(t);
|
|
2126
|
-
for (let o = 0; o < e.length; o += 1)
|
|
2127
|
-
e[o].d(c);
|
|
2128
|
-
}
|
|
2129
|
-
};
|
|
2130
|
-
}
|
|
2131
|
-
function v1(a, e, l) {
|
|
2132
|
-
let { items: t } = e;
|
|
2133
|
-
return a.$$set = (r) => {
|
|
2134
|
-
"items" in r && l(0, t = r.items);
|
|
2135
|
-
}, [t];
|
|
2136
|
-
}
|
|
2137
|
-
class ft extends T {
|
|
2138
|
-
constructor(e) {
|
|
2139
|
-
super(), F(this, e, v1, d1, z, { items: 0 });
|
|
2140
|
-
}
|
|
2141
|
-
get items() {
|
|
2142
|
-
return this.$$.ctx[0];
|
|
2143
|
-
}
|
|
2144
|
-
set items(e) {
|
|
2145
|
-
this.$$set({ items: e }), j();
|
|
2146
|
-
}
|
|
2147
|
-
}
|
|
2148
|
-
U(ft, { items: {} }, [], [], !0);
|
|
2149
|
-
function Re(a, e, l) {
|
|
2150
|
-
const t = a.slice();
|
|
2151
|
-
return t[1] = e[l], t;
|
|
2152
|
-
}
|
|
2153
|
-
function qe(a, e, l) {
|
|
2154
|
-
const t = a.slice();
|
|
2155
|
-
return t[4] = e[l], t;
|
|
2156
|
-
}
|
|
2157
|
-
function $1(a) {
|
|
2158
|
-
let e, l;
|
|
2159
|
-
return e = new I({
|
|
2160
|
-
props: {
|
|
2161
|
-
class: "relative w-full",
|
|
2162
|
-
buttonClass: "flex border-0 border-b border-solid border-uofg-grey-500 w-full items-center justify-between gap-2 p-4 transition-colors hover:bg-uofg-grey focus:bg-uofg-grey aria-expanded:bg-uofg-grey [&_svg]:aria-expanded:rotate-180",
|
|
2163
|
-
contentClass: "flex flex-col w-full flex-col bg-white text-black [&>li]:contents",
|
|
2164
|
-
as: "ul",
|
|
2165
|
-
autoCollapse: !1,
|
|
2166
|
-
$$slots: {
|
|
2167
|
-
button: [y1],
|
|
2168
|
-
default: [w1]
|
|
2169
|
-
},
|
|
2170
|
-
$$scope: { ctx: a }
|
|
2171
|
-
}
|
|
2172
|
-
}), {
|
|
2173
|
-
c() {
|
|
2174
|
-
M(e.$$.fragment);
|
|
2175
|
-
},
|
|
2176
|
-
m(t, r) {
|
|
2177
|
-
Z(e, t, r), l = !0;
|
|
2178
|
-
},
|
|
2179
|
-
p(t, r) {
|
|
2180
|
-
const n = {};
|
|
2181
|
-
r & /*$$scope, items*/
|
|
2182
|
-
129 && (n.$$scope = { dirty: r, ctx: t }), e.$set(n);
|
|
2183
|
-
},
|
|
2184
|
-
i(t) {
|
|
2185
|
-
l || (p(e.$$.fragment, t), l = !0);
|
|
2186
|
-
},
|
|
2187
|
-
o(t) {
|
|
2188
|
-
m(e.$$.fragment, t), l = !1;
|
|
2189
|
-
},
|
|
2190
|
-
d(t) {
|
|
2191
|
-
L(e, t);
|
|
2192
|
-
}
|
|
2193
|
-
};
|
|
2194
|
-
}
|
|
2195
|
-
function k1(a) {
|
|
2196
|
-
var o;
|
|
2197
|
-
let e, l = (
|
|
2198
|
-
/*item*/
|
|
2199
|
-
a[1].text + ""
|
|
2200
|
-
), t, r, n, s = [
|
|
2201
|
-
/*item*/
|
|
2202
|
-
a[1].attributes,
|
|
2203
|
-
{
|
|
2204
|
-
class: r = `border-0 border-b border-solid border-uofg-grey-500 p-4 transition-colors hover:bg-uofg-grey ${/*item*/
|
|
2205
|
-
((o = a[1].attributes) == null ? void 0 : o.class) ?? ""}`
|
|
2206
|
-
},
|
|
2207
|
-
{
|
|
2208
|
-
href: n = /*item*/
|
|
2209
|
-
a[1].href
|
|
2210
|
-
}
|
|
2211
|
-
], c = {};
|
|
2212
|
-
for (let i = 0; i < s.length; i += 1)
|
|
2213
|
-
c = D(c, s[i]);
|
|
2214
|
-
return {
|
|
2215
|
-
c() {
|
|
2216
|
-
e = v("a"), t = E(l), B(e, c);
|
|
2217
|
-
},
|
|
2218
|
-
m(i, u) {
|
|
2219
|
-
b(i, e, u), g(e, t);
|
|
2220
|
-
},
|
|
2221
|
-
p(i, u) {
|
|
2222
|
-
var f;
|
|
2223
|
-
u & /*items*/
|
|
2224
|
-
1 && l !== (l = /*item*/
|
|
2225
|
-
i[1].text + "") && ge(t, l, c.contenteditable), B(e, c = ie(s, [
|
|
2226
|
-
u & /*items*/
|
|
2227
|
-
1 && /*item*/
|
|
2228
|
-
i[1].attributes,
|
|
2229
|
-
u & /*items*/
|
|
2230
|
-
1 && r !== (r = `border-0 border-b border-solid border-uofg-grey-500 p-4 transition-colors hover:bg-uofg-grey ${/*item*/
|
|
2231
|
-
((f = i[1].attributes) == null ? void 0 : f.class) ?? ""}`) && { class: r },
|
|
2232
|
-
u & /*items*/
|
|
2233
|
-
1 && n !== (n = /*item*/
|
|
2234
|
-
i[1].href) && { href: n }
|
|
2235
|
-
]));
|
|
2236
|
-
},
|
|
2237
|
-
i: x,
|
|
2238
|
-
o: x,
|
|
2239
|
-
d(i) {
|
|
2240
|
-
i && d(e);
|
|
2241
|
-
}
|
|
2242
|
-
};
|
|
2243
|
-
}
|
|
2244
|
-
function Ie(a) {
|
|
2245
|
-
var u;
|
|
2246
|
-
let e, l, t = (
|
|
2247
|
-
/*link*/
|
|
2248
|
-
a[4].text + ""
|
|
2249
|
-
), r, n, s, c, o = [
|
|
2250
|
-
/*link*/
|
|
2251
|
-
a[4].attributes,
|
|
2252
|
-
{
|
|
2253
|
-
class: n = `border-0 border-b border-solid border-uofg-grey-500 p-4 transition-colors hover:bg-uofg-grey ${/*link*/
|
|
2254
|
-
((u = a[4].attributes) == null ? void 0 : u.class) ?? ""}`
|
|
2255
|
-
},
|
|
2256
|
-
{
|
|
2257
|
-
href: s = /*link*/
|
|
2258
|
-
a[4].href
|
|
2259
|
-
}
|
|
2260
|
-
], i = {};
|
|
2261
|
-
for (let f = 0; f < o.length; f += 1)
|
|
2262
|
-
i = D(i, o[f]);
|
|
2263
|
-
return {
|
|
2264
|
-
c() {
|
|
2265
|
-
e = v("li"), l = v("a"), r = E(t), c = N(), B(l, i);
|
|
2266
|
-
},
|
|
2267
|
-
m(f, _) {
|
|
2268
|
-
b(f, e, _), g(e, l), g(l, r), g(e, c);
|
|
2269
|
-
},
|
|
2270
|
-
p(f, _) {
|
|
2271
|
-
var $;
|
|
2272
|
-
_ & /*items*/
|
|
2273
|
-
1 && t !== (t = /*link*/
|
|
2274
|
-
f[4].text + "") && ge(r, t, i.contenteditable), B(l, i = ie(o, [
|
|
2275
|
-
_ & /*items*/
|
|
2276
|
-
1 && /*link*/
|
|
2277
|
-
f[4].attributes,
|
|
2278
|
-
_ & /*items*/
|
|
2279
|
-
1 && n !== (n = `border-0 border-b border-solid border-uofg-grey-500 p-4 transition-colors hover:bg-uofg-grey ${/*link*/
|
|
2280
|
-
(($ = f[4].attributes) == null ? void 0 : $.class) ?? ""}`) && { class: n },
|
|
2281
|
-
_ & /*items*/
|
|
2282
|
-
1 && s !== (s = /*link*/
|
|
2283
|
-
f[4].href) && { href: s }
|
|
2284
|
-
]));
|
|
2285
|
-
},
|
|
2286
|
-
d(f) {
|
|
2287
|
-
f && d(e);
|
|
2288
|
-
}
|
|
2289
|
-
};
|
|
2290
|
-
}
|
|
2291
|
-
function w1(a) {
|
|
2292
|
-
let e, l = A(
|
|
2293
|
-
/*item*/
|
|
2294
|
-
a[1].links
|
|
2295
|
-
), t = [];
|
|
2296
|
-
for (let r = 0; r < l.length; r += 1)
|
|
2297
|
-
t[r] = Ie(qe(a, l, r));
|
|
2298
|
-
return {
|
|
2299
|
-
c() {
|
|
2300
|
-
for (let r = 0; r < t.length; r += 1)
|
|
2301
|
-
t[r].c();
|
|
2302
|
-
e = W();
|
|
2303
|
-
},
|
|
2304
|
-
m(r, n) {
|
|
2305
|
-
for (let s = 0; s < t.length; s += 1)
|
|
2306
|
-
t[s] && t[s].m(r, n);
|
|
2307
|
-
b(r, e, n);
|
|
2308
|
-
},
|
|
2309
|
-
p(r, n) {
|
|
2310
|
-
if (n & /*items*/
|
|
2311
|
-
1) {
|
|
2312
|
-
l = A(
|
|
2313
|
-
/*item*/
|
|
2314
|
-
r[1].links
|
|
2315
|
-
);
|
|
2316
|
-
let s;
|
|
2317
|
-
for (s = 0; s < l.length; s += 1) {
|
|
2318
|
-
const c = qe(r, l, s);
|
|
2319
|
-
t[s] ? t[s].p(c, n) : (t[s] = Ie(c), t[s].c(), t[s].m(e.parentNode, e));
|
|
2320
|
-
}
|
|
2321
|
-
for (; s < t.length; s += 1)
|
|
2322
|
-
t[s].d(1);
|
|
2323
|
-
t.length = l.length;
|
|
2324
|
-
}
|
|
2325
|
-
},
|
|
2326
|
-
d(r) {
|
|
2327
|
-
r && d(e), G(t, r);
|
|
2328
|
-
}
|
|
2329
|
-
};
|
|
2330
|
-
}
|
|
2331
|
-
function y1(a) {
|
|
2332
|
-
let e, l, t = (
|
|
2333
|
-
/*item*/
|
|
2334
|
-
a[1].title + ""
|
|
2335
|
-
), r, n, s, c;
|
|
2336
|
-
return s = new R({ props: { icon: he } }), {
|
|
2337
|
-
c() {
|
|
2338
|
-
e = v("span"), l = v("span"), r = E(t), n = N(), M(s.$$.fragment), h(l, "class", "mr-auto"), h(e, "class", "w-full flex gap-2 justify-between [&>svg]:transition-transform"), h(e, "slot", "button");
|
|
2339
|
-
},
|
|
2340
|
-
m(o, i) {
|
|
2341
|
-
b(o, e, i), g(e, l), g(l, r), g(e, n), Z(s, e, null), c = !0;
|
|
2342
|
-
},
|
|
2343
|
-
p(o, i) {
|
|
2344
|
-
(!c || i & /*items*/
|
|
2345
|
-
1) && t !== (t = /*item*/
|
|
2346
|
-
o[1].title + "") && pe(r, t);
|
|
2347
|
-
},
|
|
2348
|
-
i(o) {
|
|
2349
|
-
c || (p(s.$$.fragment, o), c = !0);
|
|
2350
|
-
},
|
|
2351
|
-
o(o) {
|
|
2352
|
-
m(s.$$.fragment, o), c = !1;
|
|
2353
|
-
},
|
|
2354
|
-
d(o) {
|
|
2355
|
-
o && d(e), L(s);
|
|
2356
|
-
}
|
|
2357
|
-
};
|
|
2358
|
-
}
|
|
2359
|
-
function Pe(a, e) {
|
|
2360
|
-
let l, t, r, n, s;
|
|
2361
|
-
const c = [k1, $1], o = [];
|
|
2362
|
-
function i(u, f) {
|
|
2363
|
-
return (
|
|
2364
|
-
/*item*/
|
|
2365
|
-
u[1].text ? 0 : 1
|
|
2366
|
-
);
|
|
2367
|
-
}
|
|
2368
|
-
return t = i(e), r = o[t] = c[t](e), {
|
|
2369
|
-
key: a,
|
|
2370
|
-
first: null,
|
|
2371
|
-
c() {
|
|
2372
|
-
l = v("li"), r.c(), n = N(), h(l, "class", "[&>*]:last:mb-4 [&>*]:first:mt-4"), this.first = l;
|
|
2373
|
-
},
|
|
2374
|
-
m(u, f) {
|
|
2375
|
-
b(u, l, f), o[t].m(l, null), g(l, n), s = !0;
|
|
2376
|
-
},
|
|
2377
|
-
p(u, f) {
|
|
2378
|
-
e = u;
|
|
2379
|
-
let _ = t;
|
|
2380
|
-
t = i(e), t === _ ? o[t].p(e, f) : (S(), m(o[_], 1, 1, () => {
|
|
2381
|
-
o[_] = null;
|
|
2382
|
-
}), V(), r = o[t], r ? r.p(e, f) : (r = o[t] = c[t](e), r.c()), p(r, 1), r.m(l, n));
|
|
2383
|
-
},
|
|
2384
|
-
i(u) {
|
|
2385
|
-
s || (p(r), s = !0);
|
|
2386
|
-
},
|
|
2387
|
-
o(u) {
|
|
2388
|
-
m(r), s = !1;
|
|
2389
|
-
},
|
|
2390
|
-
d(u) {
|
|
2391
|
-
u && d(l), o[t].d();
|
|
2392
|
-
}
|
|
2393
|
-
};
|
|
2394
|
-
}
|
|
2395
|
-
function x1(a) {
|
|
2396
|
-
let e = [], l = /* @__PURE__ */ new Map(), t, r, n = A(
|
|
2397
|
-
/*items*/
|
|
2398
|
-
a[0]
|
|
2399
|
-
);
|
|
2400
|
-
const s = (c) => (
|
|
2401
|
-
/*item*/
|
|
2402
|
-
c[1].text || /*item*/
|
|
2403
|
-
c[1].title
|
|
2404
|
-
);
|
|
2405
|
-
for (let c = 0; c < n.length; c += 1) {
|
|
2406
|
-
let o = Re(a, n, c), i = s(o);
|
|
2407
|
-
l.set(i, e[c] = Pe(i, o));
|
|
2408
|
-
}
|
|
2409
|
-
return {
|
|
2410
|
-
c() {
|
|
2411
|
-
for (let c = 0; c < e.length; c += 1)
|
|
2412
|
-
e[c].c();
|
|
2413
|
-
t = W();
|
|
2414
|
-
},
|
|
2415
|
-
m(c, o) {
|
|
2416
|
-
for (let i = 0; i < e.length; i += 1)
|
|
2417
|
-
e[i] && e[i].m(c, o);
|
|
2418
|
-
b(c, t, o), r = !0;
|
|
2419
|
-
},
|
|
2420
|
-
p(c, o) {
|
|
2421
|
-
o & /*items*/
|
|
2422
|
-
1 && (n = A(
|
|
2423
|
-
/*items*/
|
|
2424
|
-
c[0]
|
|
2425
|
-
), S(), e = ue(e, o, s, 1, c, n, l, t.parentNode, fe, Pe, t, Re), V());
|
|
2426
|
-
},
|
|
2427
|
-
i(c) {
|
|
2428
|
-
if (!r) {
|
|
2429
|
-
for (let o = 0; o < n.length; o += 1)
|
|
2430
|
-
p(e[o]);
|
|
2431
|
-
r = !0;
|
|
2432
|
-
}
|
|
2433
|
-
},
|
|
2434
|
-
o(c) {
|
|
2435
|
-
for (let o = 0; o < e.length; o += 1)
|
|
2436
|
-
m(e[o]);
|
|
2437
|
-
r = !1;
|
|
2438
|
-
},
|
|
2439
|
-
d(c) {
|
|
2440
|
-
c && d(t);
|
|
2441
|
-
for (let o = 0; o < e.length; o += 1)
|
|
2442
|
-
e[o].d(c);
|
|
2443
|
-
}
|
|
2444
|
-
};
|
|
2445
|
-
}
|
|
2446
|
-
function C1(a) {
|
|
2447
|
-
let e, l;
|
|
2448
|
-
return e = new R({ props: { slot: "button", icon: et } }), {
|
|
2449
|
-
c() {
|
|
2450
|
-
M(e.$$.fragment);
|
|
2451
|
-
},
|
|
2452
|
-
m(t, r) {
|
|
2453
|
-
Z(e, t, r), l = !0;
|
|
2454
|
-
},
|
|
2455
|
-
p: x,
|
|
2456
|
-
i(t) {
|
|
2457
|
-
l || (p(e.$$.fragment, t), l = !0);
|
|
2458
|
-
},
|
|
2459
|
-
o(t) {
|
|
2460
|
-
m(e.$$.fragment, t), l = !1;
|
|
2461
|
-
},
|
|
2462
|
-
d(t) {
|
|
2463
|
-
L(e, t);
|
|
2464
|
-
}
|
|
2465
|
-
};
|
|
2466
|
-
}
|
|
2467
|
-
function M1(a) {
|
|
2468
|
-
let e, l, t;
|
|
2469
|
-
return l = new I({
|
|
2470
|
-
props: {
|
|
2471
|
-
class: "h-full",
|
|
2472
|
-
buttonClass: "flex h-full aspect-square items-center justify-center gap-2 px-4 transition-colors hover:bg-uofg-yellow aria-expanded:bg-uofg-yellow",
|
|
2473
|
-
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",
|
|
2474
|
-
buttonAriaLabel: "Sub Navigation Menu",
|
|
2475
|
-
as: "ul",
|
|
2476
|
-
$$slots: {
|
|
2477
|
-
button: [C1],
|
|
2478
|
-
default: [x1]
|
|
2479
|
-
},
|
|
2480
|
-
$$scope: { ctx: a }
|
|
2481
|
-
}
|
|
2482
|
-
}), {
|
|
2483
|
-
c() {
|
|
2484
|
-
e = v("li"), M(l.$$.fragment);
|
|
2485
|
-
},
|
|
2486
|
-
m(r, n) {
|
|
2487
|
-
b(r, e, n), Z(l, e, null), t = !0;
|
|
2488
|
-
},
|
|
2489
|
-
p(r, [n]) {
|
|
2490
|
-
const s = {};
|
|
2491
|
-
n & /*$$scope, items*/
|
|
2492
|
-
129 && (s.$$scope = { dirty: n, ctx: r }), l.$set(s);
|
|
2493
|
-
},
|
|
2494
|
-
i(r) {
|
|
2495
|
-
t || (p(l.$$.fragment, r), t = !0);
|
|
2496
|
-
},
|
|
2497
|
-
o(r) {
|
|
2498
|
-
m(l.$$.fragment, r), t = !1;
|
|
2499
|
-
},
|
|
2500
|
-
d(r) {
|
|
2501
|
-
r && d(e), L(l);
|
|
2502
|
-
}
|
|
2503
|
-
};
|
|
2504
|
-
}
|
|
2505
|
-
function Z1(a, e, l) {
|
|
2506
|
-
let { items: t } = e;
|
|
2507
|
-
return a.$$set = (r) => {
|
|
2508
|
-
"items" in r && l(0, t = r.items);
|
|
2509
|
-
}, [t];
|
|
2510
|
-
}
|
|
2511
|
-
class ht extends T {
|
|
2512
|
-
constructor(e) {
|
|
2513
|
-
super(), F(this, e, Z1, M1, z, { items: 0 });
|
|
2514
|
-
}
|
|
2515
|
-
get items() {
|
|
2516
|
-
return this.$$.ctx[0];
|
|
2517
|
-
}
|
|
2518
|
-
set items(e) {
|
|
2519
|
-
this.$$set({ items: e }), j();
|
|
2520
|
-
}
|
|
2521
|
-
}
|
|
2522
|
-
U(ht, { items: {} }, [], [], !0);
|
|
2523
|
-
function L1(a) {
|
|
2524
|
-
let e, l, t;
|
|
2525
|
-
return {
|
|
2526
|
-
c() {
|
|
2527
|
-
e = v("span"), l = E(
|
|
2528
|
-
/*title*/
|
|
2529
|
-
a[1]
|
|
2530
|
-
), h(e, "class", "mr-auto flex h-full items-center justify-center px-4 font-bold"), Y(() => (
|
|
2531
|
-
/*span_elementresize_handler*/
|
|
2532
|
-
a[11].call(e)
|
|
2533
|
-
));
|
|
2534
|
-
},
|
|
2535
|
-
m(r, n) {
|
|
2536
|
-
b(r, e, n), g(e, l), t = ce(
|
|
2537
|
-
e,
|
|
2538
|
-
/*span_elementresize_handler*/
|
|
2539
|
-
a[11].bind(e)
|
|
2540
|
-
);
|
|
2541
|
-
},
|
|
2542
|
-
p(r, n) {
|
|
2543
|
-
n & /*title*/
|
|
2544
|
-
2 && pe(
|
|
2545
|
-
l,
|
|
2546
|
-
/*title*/
|
|
2547
|
-
r[1]
|
|
2548
|
-
);
|
|
2549
|
-
},
|
|
2550
|
-
d(r) {
|
|
2551
|
-
r && d(e), t();
|
|
2552
|
-
}
|
|
2553
|
-
};
|
|
2554
|
-
}
|
|
2555
|
-
function N1(a) {
|
|
2556
|
-
let e, l, t;
|
|
2557
|
-
return {
|
|
2558
|
-
c() {
|
|
2559
|
-
e = v("a"), l = E(
|
|
2560
|
-
/*title*/
|
|
2561
|
-
a[1]
|
|
2562
|
-
), h(e, "class", "mr-auto flex h-full items-center justify-center px-4 font-bold transition-colors hover:bg-uofg-yellow"), h(
|
|
2563
|
-
e,
|
|
2564
|
-
"href",
|
|
2565
|
-
/*url*/
|
|
2566
|
-
a[2]
|
|
2567
|
-
), Y(() => (
|
|
2568
|
-
/*a_elementresize_handler*/
|
|
2569
|
-
a[10].call(e)
|
|
2570
|
-
));
|
|
2571
|
-
},
|
|
2572
|
-
m(r, n) {
|
|
2573
|
-
b(r, e, n), g(e, l), t = ce(
|
|
2574
|
-
e,
|
|
2575
|
-
/*a_elementresize_handler*/
|
|
2576
|
-
a[10].bind(e)
|
|
2577
|
-
);
|
|
2578
|
-
},
|
|
2579
|
-
p(r, n) {
|
|
2580
|
-
n & /*title*/
|
|
2581
|
-
2 && pe(
|
|
2582
|
-
l,
|
|
2583
|
-
/*title*/
|
|
2584
|
-
r[1]
|
|
2585
|
-
), n & /*url*/
|
|
2586
|
-
4 && h(
|
|
2587
|
-
e,
|
|
2588
|
-
"href",
|
|
2589
|
-
/*url*/
|
|
2590
|
-
r[2]
|
|
2591
|
-
);
|
|
2592
|
-
},
|
|
2593
|
-
d(r) {
|
|
2594
|
-
r && d(e), t();
|
|
2595
|
-
}
|
|
2596
|
-
};
|
|
2597
|
-
}
|
|
2598
|
-
function De(a) {
|
|
2599
|
-
let e, l, t, r, n;
|
|
2600
|
-
const s = [j1, A1], c = [];
|
|
2601
|
-
function o(i, u) {
|
|
2602
|
-
return u & /*$state, overflowWidth, containerWidth*/
|
|
2603
|
-
200 && (e = null), e == null && (e = !!/*$state*/
|
|
2604
|
-
(i[7].mode === "desktop" && (isNaN(
|
|
2605
|
-
/*overflowWidth*/
|
|
2606
|
-
i[6]
|
|
2607
|
-
) || /*containerWidth*/
|
|
2608
|
-
i[3] > /*overflowWidth*/
|
|
2609
|
-
i[6]))), e ? 0 : 1;
|
|
2610
|
-
}
|
|
2611
|
-
return l = o(a, -1), t = c[l] = s[l](a), {
|
|
2612
|
-
c() {
|
|
2613
|
-
t.c(), r = W();
|
|
2614
|
-
},
|
|
2615
|
-
m(i, u) {
|
|
2616
|
-
c[l].m(i, u), b(i, r, u), n = !0;
|
|
2617
|
-
},
|
|
2618
|
-
p(i, u) {
|
|
2619
|
-
let f = l;
|
|
2620
|
-
l = o(i, u), l === f ? c[l].p(i, u) : (S(), m(c[f], 1, 1, () => {
|
|
2621
|
-
c[f] = null;
|
|
2622
|
-
}), V(), t = c[l], t ? t.p(i, u) : (t = c[l] = s[l](i), t.c()), p(t, 1), t.m(r.parentNode, r));
|
|
2623
|
-
},
|
|
2624
|
-
i(i) {
|
|
2625
|
-
n || (p(t), n = !0);
|
|
2626
|
-
},
|
|
2627
|
-
o(i) {
|
|
2628
|
-
m(t), n = !1;
|
|
2629
|
-
},
|
|
2630
|
-
d(i) {
|
|
2631
|
-
i && d(r), c[l].d(i);
|
|
2632
|
-
}
|
|
2633
|
-
};
|
|
2634
|
-
}
|
|
2635
|
-
function A1(a) {
|
|
2636
|
-
let e, l;
|
|
2637
|
-
return e = new ht({ props: { items: (
|
|
2638
|
-
/*items*/
|
|
2639
|
-
a[0]
|
|
2640
|
-
) } }), {
|
|
2641
|
-
c() {
|
|
2642
|
-
M(e.$$.fragment);
|
|
2643
|
-
},
|
|
2644
|
-
m(t, r) {
|
|
2645
|
-
Z(e, t, r), l = !0;
|
|
2646
|
-
},
|
|
2647
|
-
p(t, r) {
|
|
2648
|
-
const n = {};
|
|
2649
|
-
r & /*items*/
|
|
2650
|
-
1 && (n.items = /*items*/
|
|
2651
|
-
t[0]), e.$set(n);
|
|
2652
|
-
},
|
|
2653
|
-
i(t) {
|
|
2654
|
-
l || (p(e.$$.fragment, t), l = !0);
|
|
2655
|
-
},
|
|
2656
|
-
o(t) {
|
|
2657
|
-
m(e.$$.fragment, t), l = !1;
|
|
2658
|
-
},
|
|
2659
|
-
d(t) {
|
|
2660
|
-
L(e, t);
|
|
2661
|
-
}
|
|
2662
|
-
};
|
|
2663
|
-
}
|
|
2664
|
-
function j1(a) {
|
|
2665
|
-
let e, l;
|
|
2666
|
-
return e = new ft({ props: { items: (
|
|
2667
|
-
/*items*/
|
|
2668
|
-
a[0]
|
|
2669
|
-
) } }), {
|
|
2670
|
-
c() {
|
|
2671
|
-
M(e.$$.fragment);
|
|
2672
|
-
},
|
|
2673
|
-
m(t, r) {
|
|
2674
|
-
Z(e, t, r), l = !0;
|
|
2675
|
-
},
|
|
2676
|
-
p(t, r) {
|
|
2677
|
-
const n = {};
|
|
2678
|
-
r & /*items*/
|
|
2679
|
-
1 && (n.items = /*items*/
|
|
2680
|
-
t[0]), e.$set(n);
|
|
2681
|
-
},
|
|
2682
|
-
i(t) {
|
|
2683
|
-
l || (p(e.$$.fragment, t), l = !0);
|
|
2684
|
-
},
|
|
2685
|
-
o(t) {
|
|
2686
|
-
m(e.$$.fragment, t), l = !1;
|
|
2687
|
-
},
|
|
2688
|
-
d(t) {
|
|
2689
|
-
L(e, t);
|
|
2690
|
-
}
|
|
2691
|
-
};
|
|
2692
|
-
}
|
|
2693
|
-
function V1(a) {
|
|
2694
|
-
var $;
|
|
2695
|
-
let e, l, t, r, n, s, c, o;
|
|
2696
|
-
function i(w, k) {
|
|
2697
|
-
if (
|
|
2698
|
-
/*title*/
|
|
2699
|
-
w[1] && /*url*/
|
|
2700
|
-
w[2]
|
|
2701
|
-
) return N1;
|
|
2702
|
-
if (
|
|
2703
|
-
/*title*/
|
|
2704
|
-
w[1]
|
|
2705
|
-
) return L1;
|
|
2706
|
-
}
|
|
2707
|
-
let u = i(a), f = u && u(a), _ = (
|
|
2708
|
-
/*items*/
|
|
2709
|
-
(($ = a[0]) == null ? void 0 : $.length) > 0 && De(a)
|
|
2710
|
-
);
|
|
2711
|
-
return {
|
|
2712
|
-
c() {
|
|
2713
|
-
var w;
|
|
2714
|
-
e = v("nav"), l = v("div"), f && f.c(), t = N(), r = v("ul"), _ && _.c(), h(r, "class", "[&>li]:contents h-full flex w-fit !static lg:static"), Y(() => (
|
|
2715
|
-
/*ul_elementresize_handler*/
|
|
2716
|
-
a[12].call(r)
|
|
2717
|
-
)), h(l, "class", "flex h-full w-fit min-w-full overflow-y-visible items-center justify-end [&>li]:contents relative"), h(e, "class", s = q(
|
|
2718
|
-
"block align-items relative justify-end bg-uofg-grey px-[calc((100%-1320px)/2)] text-3xl lg:whitespace-nowrap",
|
|
2719
|
-
/*$state*/
|
|
2720
|
-
((w = a[7]) == null ? void 0 : w.variant) === "dual-brand" ? "h-16" : "h-[5rem] lg:h-16"
|
|
2721
|
-
)), h(e, "aria-label", "Page Specific"), Y(() => (
|
|
2722
|
-
/*nav_elementresize_handler*/
|
|
2723
|
-
a[13].call(e)
|
|
2724
|
-
));
|
|
2725
|
-
},
|
|
2726
|
-
m(w, k) {
|
|
2727
|
-
b(w, e, k), g(e, l), f && f.m(l, null), g(l, t), g(l, r), _ && _.m(r, null), n = ce(
|
|
2728
|
-
r,
|
|
2729
|
-
/*ul_elementresize_handler*/
|
|
2730
|
-
a[12].bind(r)
|
|
2731
|
-
), c = ce(
|
|
2732
|
-
e,
|
|
2733
|
-
/*nav_elementresize_handler*/
|
|
2734
|
-
a[13].bind(e)
|
|
2735
|
-
), o = !0;
|
|
2736
|
-
},
|
|
2737
|
-
p(w, [k]) {
|
|
2738
|
-
var H, C;
|
|
2739
|
-
u === (u = i(w)) && f ? f.p(w, k) : (f && f.d(1), f = u && u(w), f && (f.c(), f.m(l, t))), /*items*/
|
|
2740
|
-
((H = w[0]) == null ? void 0 : H.length) > 0 ? _ ? (_.p(w, k), k & /*items*/
|
|
2741
|
-
1 && p(_, 1)) : (_ = De(w), _.c(), p(_, 1), _.m(r, null)) : _ && (S(), m(_, 1, 1, () => {
|
|
2742
|
-
_ = null;
|
|
2743
|
-
}), V()), (!o || k & /*$state*/
|
|
2744
|
-
128 && s !== (s = q(
|
|
2745
|
-
"block align-items relative justify-end bg-uofg-grey px-[calc((100%-1320px)/2)] text-3xl lg:whitespace-nowrap",
|
|
2746
|
-
/*$state*/
|
|
2747
|
-
((C = w[7]) == null ? void 0 : C.variant) === "dual-brand" ? "h-16" : "h-[5rem] lg:h-16"
|
|
2748
|
-
))) && h(e, "class", s);
|
|
2749
|
-
},
|
|
2750
|
-
i(w) {
|
|
2751
|
-
o || (p(_), o = !0);
|
|
2752
|
-
},
|
|
2753
|
-
o(w) {
|
|
2754
|
-
m(_), o = !1;
|
|
2755
|
-
},
|
|
2756
|
-
d(w) {
|
|
2757
|
-
w && d(e), f && f.d(), _ && _.d(), n(), c();
|
|
2758
|
-
}
|
|
2759
|
-
};
|
|
2760
|
-
}
|
|
2761
|
-
function S1(a, e, l) {
|
|
2762
|
-
let t;
|
|
2763
|
-
const r = ke("header-state");
|
|
2764
|
-
_e(a, r, (C) => l(7, t = C));
|
|
2765
|
-
let { items: n } = e, { title: s } = e, { url: c } = e, o, i, u, f, _;
|
|
2766
|
-
$t(() => {
|
|
2767
|
-
(t == null ? void 0 : t.mode) === "desktop" && o - i < u && l(6, _ = isNaN(_) ? o : Math.max(o, _));
|
|
2768
|
-
});
|
|
2769
|
-
function $() {
|
|
2770
|
-
i = this.clientWidth, l(4, i);
|
|
2771
|
-
}
|
|
2772
|
-
function w() {
|
|
2773
|
-
i = this.clientWidth, l(4, i);
|
|
2774
|
-
}
|
|
2775
|
-
function k() {
|
|
2776
|
-
u = this.clientWidth, l(5, u);
|
|
2777
|
-
}
|
|
2778
|
-
function H() {
|
|
2779
|
-
o = this.clientWidth, l(3, o);
|
|
2780
|
-
}
|
|
2781
|
-
return a.$$set = (C) => {
|
|
2782
|
-
"items" in C && l(0, n = C.items), "title" in C && l(1, s = C.title), "url" in C && l(2, c = C.url);
|
|
2783
|
-
}, a.$$.update = () => {
|
|
2784
|
-
a.$$.dirty & /*timeout, $state, containerWidth, titleWidth, contentWidth, overflowWidth*/
|
|
2785
|
-
760 && (clearTimeout(f), (t == null ? void 0 : t.mode) === "desktop" && o - i < u && l(9, f = setTimeout(
|
|
2786
|
-
() => {
|
|
2787
|
-
l(6, _ = isNaN(_) ? o : Math.max(o, _));
|
|
2788
|
-
},
|
|
2789
|
-
50
|
|
2790
|
-
)));
|
|
2791
|
-
}, [
|
|
2792
|
-
n,
|
|
2793
|
-
s,
|
|
2794
|
-
c,
|
|
2795
|
-
o,
|
|
2796
|
-
i,
|
|
2797
|
-
u,
|
|
2798
|
-
_,
|
|
2799
|
-
t,
|
|
2800
|
-
r,
|
|
2801
|
-
f,
|
|
2802
|
-
$,
|
|
2803
|
-
w,
|
|
2804
|
-
k,
|
|
2805
|
-
H
|
|
2806
|
-
];
|
|
2807
|
-
}
|
|
2808
|
-
class _t extends T {
|
|
2809
|
-
constructor(e) {
|
|
2810
|
-
super(), F(this, e, S1, V1, z, { items: 0, title: 1, url: 2 });
|
|
2811
|
-
}
|
|
2812
|
-
get items() {
|
|
2813
|
-
return this.$$.ctx[0];
|
|
2814
|
-
}
|
|
2815
|
-
set items(e) {
|
|
2816
|
-
this.$$set({ items: e }), j();
|
|
2817
|
-
}
|
|
2818
|
-
get title() {
|
|
2819
|
-
return this.$$.ctx[1];
|
|
2820
|
-
}
|
|
2821
|
-
set title(e) {
|
|
2822
|
-
this.$$set({ title: e }), j();
|
|
2823
|
-
}
|
|
2824
|
-
get url() {
|
|
2825
|
-
return this.$$.ctx[2];
|
|
2826
|
-
}
|
|
2827
|
-
set url(e) {
|
|
2828
|
-
this.$$set({ url: e }), j();
|
|
2829
|
-
}
|
|
2830
|
-
}
|
|
2831
|
-
U(_t, { items: {}, title: {}, url: {} }, [], [], !0);
|
|
2832
|
-
const O = [];
|
|
2833
|
-
function z1(a, e = x) {
|
|
2834
|
-
let l;
|
|
2835
|
-
const t = /* @__PURE__ */ new Set();
|
|
2836
|
-
function r(c) {
|
|
2837
|
-
if (z(a, c) && (a = c, l)) {
|
|
2838
|
-
const o = !O.length;
|
|
2839
|
-
for (const i of t)
|
|
2840
|
-
i[1](), O.push(i, a);
|
|
2841
|
-
if (o) {
|
|
2842
|
-
for (let i = 0; i < O.length; i += 2)
|
|
2843
|
-
O[i][0](O[i + 1]);
|
|
2844
|
-
O.length = 0;
|
|
2845
|
-
}
|
|
2846
|
-
}
|
|
2847
|
-
}
|
|
2848
|
-
function n(c) {
|
|
2849
|
-
r(c(a));
|
|
2850
|
-
}
|
|
2851
|
-
function s(c, o = x) {
|
|
2852
|
-
const i = [c, o];
|
|
2853
|
-
return t.add(i), t.size === 1 && (l = e(r, n) || x), c(a), () => {
|
|
2854
|
-
t.delete(i), t.size === 0 && l && (l(), l = null);
|
|
2855
|
-
};
|
|
2856
|
-
}
|
|
2857
|
-
return { set: r, update: n, subscribe: s };
|
|
2858
|
-
}
|
|
2859
|
-
function Ge(a) {
|
|
2860
|
-
let e, l;
|
|
2861
|
-
return e = new lt({}), {
|
|
2862
|
-
c() {
|
|
2863
|
-
M(e.$$.fragment);
|
|
2864
|
-
},
|
|
2865
|
-
m(t, r) {
|
|
2866
|
-
Z(e, t, r), l = !0;
|
|
2867
|
-
},
|
|
2868
|
-
i(t) {
|
|
2869
|
-
l || (p(e.$$.fragment, t), l = !0);
|
|
2870
|
-
},
|
|
2871
|
-
o(t) {
|
|
2872
|
-
m(e.$$.fragment, t), l = !1;
|
|
2873
|
-
},
|
|
2874
|
-
d(t) {
|
|
2875
|
-
L(e, t);
|
|
2876
|
-
}
|
|
2877
|
-
};
|
|
2878
|
-
}
|
|
2879
|
-
function Oe(a) {
|
|
2880
|
-
let e, l;
|
|
2881
|
-
return e = new _t({
|
|
2882
|
-
props: {
|
|
2883
|
-
title: (
|
|
2884
|
-
/*pageTitle*/
|
|
2885
|
-
a[1]
|
|
2886
|
-
),
|
|
2887
|
-
url: (
|
|
2888
|
-
/*pageURL*/
|
|
2889
|
-
a[2]
|
|
2890
|
-
),
|
|
2891
|
-
items: (
|
|
2892
|
-
/*subNavigation*/
|
|
2893
|
-
a[0]
|
|
2894
|
-
)
|
|
2895
|
-
}
|
|
2896
|
-
}), {
|
|
2897
|
-
c() {
|
|
2898
|
-
M(e.$$.fragment);
|
|
2899
|
-
},
|
|
2900
|
-
m(t, r) {
|
|
2901
|
-
Z(e, t, r), l = !0;
|
|
2902
|
-
},
|
|
2903
|
-
p(t, r) {
|
|
2904
|
-
const n = {};
|
|
2905
|
-
r & /*pageTitle*/
|
|
2906
|
-
2 && (n.title = /*pageTitle*/
|
|
2907
|
-
t[1]), r & /*pageURL*/
|
|
2908
|
-
4 && (n.url = /*pageURL*/
|
|
2909
|
-
t[2]), r & /*subNavigation*/
|
|
2910
|
-
1 && (n.items = /*subNavigation*/
|
|
2911
|
-
t[0]), e.$set(n);
|
|
2912
|
-
},
|
|
2913
|
-
i(t) {
|
|
2914
|
-
l || (p(e.$$.fragment, t), l = !0);
|
|
2915
|
-
},
|
|
2916
|
-
o(t) {
|
|
2917
|
-
m(e.$$.fragment, t), l = !1;
|
|
2918
|
-
},
|
|
2919
|
-
d(t) {
|
|
2920
|
-
L(e, t);
|
|
2921
|
-
}
|
|
2922
|
-
};
|
|
2923
|
-
}
|
|
2924
|
-
function H1(a) {
|
|
2925
|
-
let e, l, t, r, n, s, c;
|
|
2926
|
-
Y(
|
|
2927
|
-
/*onwindowresize*/
|
|
2928
|
-
a[7]
|
|
2929
|
-
);
|
|
2930
|
-
let o = (
|
|
2931
|
-
/*$state*/
|
|
2932
|
-
a[5].mode === "desktop" && /*variant*/
|
|
2933
|
-
a[3] !== "dual-brand" && Ge()
|
|
2934
|
-
);
|
|
2935
|
-
t = new ut({});
|
|
2936
|
-
let i = (
|
|
2937
|
-
/*subNavigation*/
|
|
2938
|
-
(a[0].length > 0 || /*pageTitle*/
|
|
2939
|
-
a[1]) && Oe(a)
|
|
2940
|
-
);
|
|
2941
|
-
return {
|
|
2942
|
-
c() {
|
|
2943
|
-
e = v("header"), o && o.c(), l = N(), M(t.$$.fragment), r = N(), i && i.c(), h(e, "class", "relative z-10 w-full font-condensed text-3xl text-black");
|
|
2944
|
-
},
|
|
2945
|
-
m(u, f) {
|
|
2946
|
-
b(u, e, f), o && o.m(e, null), g(e, l), Z(t, e, null), g(e, r), i && i.m(e, null), n = !0, s || (c = de(
|
|
2947
|
-
window,
|
|
2948
|
-
"resize",
|
|
2949
|
-
/*onwindowresize*/
|
|
2950
|
-
a[7]
|
|
2951
|
-
), s = !0);
|
|
2952
|
-
},
|
|
2953
|
-
p(u, [f]) {
|
|
2954
|
-
/*$state*/
|
|
2955
|
-
u[5].mode === "desktop" && /*variant*/
|
|
2956
|
-
u[3] !== "dual-brand" ? o ? f & /*$state, variant*/
|
|
2957
|
-
40 && p(o, 1) : (o = Ge(), o.c(), p(o, 1), o.m(e, l)) : o && (S(), m(o, 1, 1, () => {
|
|
2958
|
-
o = null;
|
|
2959
|
-
}), V()), /*subNavigation*/
|
|
2960
|
-
u[0].length > 0 || /*pageTitle*/
|
|
2961
|
-
u[1] ? i ? (i.p(u, f), f & /*subNavigation, pageTitle*/
|
|
2962
|
-
3 && p(i, 1)) : (i = Oe(u), i.c(), p(i, 1), i.m(e, null)) : i && (S(), m(i, 1, 1, () => {
|
|
2963
|
-
i = null;
|
|
2964
|
-
}), V());
|
|
2965
|
-
},
|
|
2966
|
-
i(u) {
|
|
2967
|
-
n || (p(o), p(t.$$.fragment, u), p(i), n = !0);
|
|
2968
|
-
},
|
|
2969
|
-
o(u) {
|
|
2970
|
-
m(o), m(t.$$.fragment, u), m(i), n = !1;
|
|
2971
|
-
},
|
|
2972
|
-
d(u) {
|
|
2973
|
-
u && d(e), o && o.d(), L(t), i && i.d(), s = !1, c();
|
|
2974
|
-
}
|
|
2975
|
-
};
|
|
2976
|
-
}
|
|
2977
|
-
const Ye = 1024, U1 = 35;
|
|
2978
|
-
function T1(a, e, l) {
|
|
2979
|
-
let t, { subNavigation: r } = e, { pageTitle: n } = e, { pageURL: s } = e, { variant: c } = e, o;
|
|
2980
|
-
const i = z1({
|
|
2981
|
-
mode: o >= Ye ? "desktop" : "mobile",
|
|
2982
|
-
variant: c
|
|
2983
|
-
});
|
|
2984
|
-
_e(a, i, (f) => l(5, t = f)), wt("header-state", i);
|
|
2985
|
-
function u() {
|
|
2986
|
-
l(4, o = window.innerWidth);
|
|
2987
|
-
}
|
|
2988
|
-
return a.$$set = (f) => {
|
|
2989
|
-
"subNavigation" in f && l(0, r = f.subNavigation), "pageTitle" in f && l(1, n = f.pageTitle), "pageURL" in f && l(2, s = f.pageURL), "variant" in f && l(3, c = f.variant);
|
|
2990
|
-
}, a.$$.update = () => {
|
|
2991
|
-
a.$$.dirty & /*windowWidth, variant*/
|
|
2992
|
-
24 && i.set({
|
|
2993
|
-
mode: o >= Ye ? "desktop" : "mobile",
|
|
2994
|
-
variant: c
|
|
2995
|
-
});
|
|
2996
|
-
}, [
|
|
2997
|
-
r,
|
|
2998
|
-
n,
|
|
2999
|
-
s,
|
|
3000
|
-
c,
|
|
3001
|
-
o,
|
|
3002
|
-
t,
|
|
3003
|
-
i,
|
|
3004
|
-
u
|
|
3005
|
-
];
|
|
3006
|
-
}
|
|
3007
|
-
class F1 extends T {
|
|
3008
|
-
constructor(e) {
|
|
3009
|
-
super(), F(this, e, T1, H1, z, {
|
|
3010
|
-
subNavigation: 0,
|
|
3011
|
-
pageTitle: 1,
|
|
3012
|
-
pageURL: 2,
|
|
3013
|
-
variant: 3
|
|
3014
|
-
});
|
|
3015
|
-
}
|
|
3016
|
-
get subNavigation() {
|
|
3017
|
-
return this.$$.ctx[0];
|
|
3018
|
-
}
|
|
3019
|
-
set subNavigation(e) {
|
|
3020
|
-
this.$$set({ subNavigation: e }), j();
|
|
3021
|
-
}
|
|
3022
|
-
get pageTitle() {
|
|
3023
|
-
return this.$$.ctx[1];
|
|
3024
|
-
}
|
|
3025
|
-
set pageTitle(e) {
|
|
3026
|
-
this.$$set({ pageTitle: e }), j();
|
|
3027
|
-
}
|
|
3028
|
-
get pageURL() {
|
|
3029
|
-
return this.$$.ctx[2];
|
|
3030
|
-
}
|
|
3031
|
-
set pageURL(e) {
|
|
3032
|
-
this.$$set({ pageURL: e }), j();
|
|
3033
|
-
}
|
|
3034
|
-
get variant() {
|
|
3035
|
-
return this.$$.ctx[3];
|
|
3036
|
-
}
|
|
3037
|
-
set variant(e) {
|
|
3038
|
-
this.$$set({ variant: e }), j();
|
|
3039
|
-
}
|
|
3040
|
-
}
|
|
3041
|
-
customElements.define("uofg-header", U(F1, { subNavigation: {}, pageTitle: { reflect: !0, type: "String", attribute: "page-title" }, pageURL: { reflect: !0, type: "String", attribute: "page-url" }, variant: { reflect: !0, type: "String", attribute: "variant" } }, [], [], !0, (a) => class extends a {
|
|
3042
|
-
constructor() {
|
|
3043
|
-
super(), kt(this.shadowRoot);
|
|
3044
|
-
}
|
|
3045
|
-
connectedCallback() {
|
|
3046
|
-
super.connectedCallback(), this.updateSubNavigation(), this.observer ?? (this.observer = new MutationObserver(() => {
|
|
3047
|
-
this.updateSubNavigation();
|
|
3048
|
-
})), this.observer.observe(this, { childList: !0, subtree: !0 });
|
|
3049
|
-
}
|
|
3050
|
-
disconnectedCallback() {
|
|
3051
|
-
super.disconnectedCallback(), this.observer.disconnect();
|
|
3052
|
-
}
|
|
3053
|
-
updateSubNavigation() {
|
|
3054
|
-
const e = (l) => {
|
|
3055
|
-
const t = {};
|
|
3056
|
-
return l.getAttributeNames().filter((r) => r !== "href").forEach((r) => t[r] = l.getAttribute(r)), {
|
|
3057
|
-
href: l.getAttribute("href"),
|
|
3058
|
-
text: l.textContent,
|
|
3059
|
-
attributes: t
|
|
3060
|
-
};
|
|
3061
|
-
};
|
|
3062
|
-
this.subNavigation = Array.from(this.children).filter((l) => l.tagName === "A" || l.tagName === "UL").map((l) => {
|
|
3063
|
-
switch (l.tagName) {
|
|
3064
|
-
case "A":
|
|
3065
|
-
return e(l);
|
|
3066
|
-
case "UL":
|
|
3067
|
-
const t = {
|
|
3068
|
-
title: l.getAttribute("data-title"),
|
|
3069
|
-
links: Array.from(l.querySelectorAll("a")).map(e)
|
|
3070
|
-
};
|
|
3071
|
-
return t.wrapContent = t.links.reduce(
|
|
3072
|
-
(r, n) => (n.text.length > U1 && (r = !0), r),
|
|
3073
|
-
!1
|
|
3074
|
-
), t;
|
|
3075
|
-
}
|
|
3076
|
-
}).filter((l) => !!l);
|
|
3077
1262
|
}
|
|
3078
|
-
|
|
1263
|
+
));
|
|
3079
1264
|
export {
|
|
3080
|
-
|
|
1265
|
+
Rt as default
|
|
3081
1266
|
};
|