@uoguelph/web-components 1.9.1-rc.0 → 1.9.1-rc.10

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