@uoguelph/web-components 2.0.3-rc.0 → 2.0.3-rc.2

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,113 +1,113 @@
1
- import { c as H, p as F, a as I, f as V, G as q, t as M, g as $, h as C, i as f, j as G, k as T, r as l, e as d, B as X, m as u, H as z, I as B, J as n1, K as c1, L as h1, M as u1, N as f1, O as v1, P as E, Q as d1, R as p1, T as A, F as g1, U as e1, V as w1, W as m1, X as W, s as y, Y as J, Z as j, _ as K, v as U, $ as Y, q as x1, a0 as b1, o as _1, b as k1 } from "./index-BC4Hvd0S.js";
2
- import { o as y1 } from "./index-client-BZkvD-WT.js";
3
- import { c as O } from "./index-v9RZCFpF.js";
4
- import { h as M1, i as D, s as V1 } from "./legacy-FlcPgMaE.js";
5
- var L1 = V("<li><a> </a></li>"), z1 = V("<ul></ul>");
6
- function t1(p, e) {
7
- F(e, !0);
8
- let i = I(e, "links", 7);
9
- const n = O({
1
+ import { c as N, p as F, a as I, f as V, G as B, t as y, g as L, h as z, i as u, j as G, k as T, r as s, e as v, B as U, m as h, H, I as O, J as n1, K as c1, L as h1, M as u1, N as f1, O as v1, P as E, Q as d1, R as p1, T as A, F as g1, U as e1, V as X, s as M, W as J, X as j, Y as K, v as Y, Z as q, q as w1, _ as m1, o as x1, b as b1 } from "./index-B_wGo3S6.js";
2
+ import { o as k1 } from "./index-client-CMpWaByM.js";
3
+ import { c as R } from "./index-v9RZCFpF.js";
4
+ import { h as _1, i as D, s as y1 } from "./legacy-mSI_KSbZ.js";
5
+ var M1 = V("<li><a> </a></li>"), V1 = V("<ul></ul>");
6
+ function t1(d, r) {
7
+ F(r, !0);
8
+ let o = I(r, "links", 7);
9
+ const l = R({
10
10
  slots: {
11
11
  base: "flex flex-wrap items-center justify-center bg-white p-3 px-[max(calc((100%-1320px)/2),2rem)]",
12
12
  item: "p-3",
13
13
  links: "text-blue decoration-transparent transition-all hover:text-blue-focus hover:underline hover:decoration-current focus:text-blue-focus focus:underline focus:decoration-current"
14
14
  }
15
- }), { base: m, item: c, links: h } = n();
16
- var a = z1();
17
- return q(a, 21, i, B, (o, t) => {
18
- let s = () => u(t).text, k = () => u(t).href;
19
- var g = L1(), w = d(g), x = d(w, !0);
20
- l(w), l(g), M(
21
- (v, L) => {
22
- C(g, 1, v), C(w, 1, L), X(w, "href", k()), z(x, s());
15
+ }), { base: w, item: i, links: n } = l();
16
+ var t = V1();
17
+ return B(t, 21, o, O, (c, e) => {
18
+ let m = () => h(e).text, _ = () => h(e).href;
19
+ var p = M1(), g = v(p), x = v(g, !0);
20
+ s(g), s(p), y(
21
+ (f, C) => {
22
+ z(p, 1, f), z(g, 1, C), U(g, "href", _()), H(x, m());
23
23
  },
24
24
  [
25
- () => $(c()),
26
- () => $(h())
25
+ () => L(i()),
26
+ () => L(n())
27
27
  ]
28
- ), f(o, g);
29
- }), l(a), M((o) => C(a, 1, o), [() => $(m())]), f(p, a), G({
28
+ ), u(c, p);
29
+ }), s(t), y((c) => z(t, 1, c), [() => L(w())]), u(d, t), G({
30
30
  get links() {
31
- return i();
31
+ return o();
32
32
  },
33
- set links(o) {
34
- i(o), T();
33
+ set links(c) {
34
+ o(c), T();
35
35
  }
36
36
  });
37
37
  }
38
- H(t1, { links: {} }, [], [], !0);
39
- const $1 = '<svg xmlns="http://www.w3.org/2000/svg" id="Layer_1" data-name="Layer 1" viewBox="0 0 718 78.64"><defs><style>.cls-1{fill:#fff}</style></defs><path d="M0 77.58v-5.21l7.52-1.99V7.5L0 5.68V.47L26.03 0v5.22l-7.52 2.29V70.4l7.52 1.97v5.21zM90.52 77.58v-5.21l7.52-1.98V26.56l-.82-.2-17.14 33.59-7.08.45-16.46-34.03-.82.19v43.87l7.52 1.94v5.21H39.43v-5.21l7.52-1.96V18.26l-7.52-1.81v-5.21l21.36-.47L77.9 48.56l17.86-37.31 19.83-.47v5.21l-7.52 2.3v52.1l7.52 1.98v5.21zM128.98 77.58v-5.21l7.52-2V18.24l-7.52-1.79v-5.21l19.24-.47h9.44c5.11 0 9.35.88 12.62 2.6 3.25 1.72 5.7 4.11 7.29 7.1 1.6 3.01 2.41 6.51 2.41 10.4 0 4.21-.97 8.05-2.88 11.4-1.91 3.35-4.83 6-8.68 7.88-3.87 1.89-8.89 2.85-14.9 2.85h-6.02v17.43l9.64 1.96v5.19h-28.15Zm18.52-32.3h6.12c4.85 0 8.62-1.29 11.2-3.84 2.58-2.54 3.89-6.01 3.89-10.29 0-3.95-1.09-7.1-3.25-9.36s-5.4-3.41-9.62-3.41h-8.34v26.89ZM234 77.58l-8.66-18.45c-1.15-2.56-2.22-4.58-3.16-5.99-.98-1.45-2.21-2.47-3.67-3.05-1.29-.51-3.04-.76-5.22-.76-.25 0-.52 0-.78.01h-3.99v21.02l8.58 2.02v5.2h-27.09v-5.21l7.52-1.98V18.32l-7.52-1.86v-5.22l19.44-.47h10.02c7.38 0 13.03 1.56 16.79 4.63 3.73 3.05 5.63 7.51 5.63 13.25 0 5.26-1.63 9.63-4.85 13.01-2.5 2.62-6.15 4.46-10.86 5.46l-.03.84c.75.21 1.32.42 1.81.65 1.54.74 2.84 1.76 3.85 3.02 1.03 1.28 2.04 2.86 2.99 4.7l7.25 14.22 5.72 1.8v5.23h-13.75Zm-25.48-35.67h6.79c4.96 0 8.8-1.05 11.4-3.13 2.63-2.1 3.97-5.21 3.97-9.25 0-3.52-1.07-6.28-3.18-8.22-2.09-1.93-5.32-2.91-9.59-2.91h-9.4v23.52ZM287.04 78.64c-5.81 0-10.96-1.28-15.3-3.79-4.34-2.52-7.77-6.31-10.19-11.29-2.43-4.99-3.67-11.26-3.67-18.61 0-5.84.77-11.03 2.29-15.43 1.52-4.39 3.69-8.1 6.46-11.03 2.77-2.93 6.07-5.15 9.82-6.59 3.75-1.45 7.96-2.19 12.52-2.19s8.51.72 12.13 2.14c3.62 1.42 6.78 3.54 9.39 6.31 2.61 2.77 4.69 6.26 6.17 10.36 1.49 4.11 2.24 8.96 2.24 14.41 0 7.48-1.36 13.95-4.05 19.23-2.68 5.27-6.44 9.38-11.16 12.21-4.73 2.84-10.33 4.28-16.65 4.28ZM288.39 18c-3.47 0-6.67.86-9.52 2.57-2.87 1.71-5.13 4.56-6.73 8.45-1.59 3.85-2.4 9.08-2.4 15.54 0 6 .76 10.96 2.25 14.72 1.5 3.79 3.65 6.62 6.38 8.4 2.72 1.77 5.93 2.67 9.54 2.67s6.78-.9 9.63-2.67c2.86-1.77 5.18-4.66 6.92-8.58 1.72-3.9 2.59-9.15 2.59-15.6 0-6.01-.81-10.94-2.4-14.68-1.6-3.76-3.82-6.54-6.58-8.25-2.76-1.71-6.01-2.57-9.67-2.57ZM351.84 77.67l-20.08-59.58-6.6-1.63v-5.22l26.71-.46v5.2l-7.79 1.98 14.7 48.44 16.09-48.17-7.77-1.78v-5.21l24.29-.46v5.2l-6.5 1.77-21.13 59.92zM399.59 77.58v-5.21l7.51-1.98V18.28l-7.51-1.82v-5.22l18.76-.47h29.05v15.81h-6.34l-1.51-8.1H418.1v21.31h15.64l1.38-5.2h4.91v17.83h-4.91l-1.37-5.21H418.1v22.65h22.64l1.58-8.77h6.24l-.09 16.49zM482.44 77.58v-5.21l7.52-1.94V7.46l-7.52-1.78V.47L509.25 0v5.21l-8.29 2.23v62.42h24.01l1.8-10.8h6.24v18.52zM544.77 77.58v-5.21l7.51-1.99v-52.1l-7.51-1.83v-5.21l26.03-.46v5.21l-7.52 2.29v52.13l7.52 1.96v5.21zM584.19 77.58v-5.21l7.52-1.96V18.34l-7.52-1.88v-5.22l18.77-.47h28.38l.09 15.91h-6.34l-1.49-8.2h-20.89v21.79h15.13l1.35-5.06h4.9v17.82h-4.9l-1.33-5.05h-15.15V70.4l9.35 1.98v5.2zM641.17 77.58v-5.21l7.52-1.98V18.28l-7.52-1.82v-5.22l18.76-.47h29.06v15.81h-6.35l-1.51-8.1h-21.45v21.31h15.68l1.38-5.2h4.91v17.83h-4.91l-1.37-5.21h-15.69v22.65h22.64l1.58-8.77h6.24l-.09 16.49zM711.68 78.35c-1.93 0-3.5-.57-4.66-1.71-1.18-1.15-1.75-2.62-1.75-4.51s.63-3.35 1.93-4.5c1.31-1.16 2.78-1.72 4.49-1.72 1.93 0 3.48.57 4.61 1.7 1.13 1.13 1.71 2.65 1.71 4.52s-.62 3.35-1.88 4.5c-1.26 1.14-2.75 1.72-4.43 1.72Z" class="cls-1"/></svg>';
40
- var C1 = V('<a href="https://www.uoguelph.ca/improve-life" aria-label="Improve Life" class="row-span-2 flex h-[4.8rem] w-full overflow-hidden transition-opacity hover:opacity-75 focus:opacity-75 md:h-[3.5em] [&amp;>svg]:block [&amp;>svg]:h-full [&amp;>svg]:w-full [&amp;>svg]:max-w-[25rem]"><!></a>');
41
- function a1(p) {
42
- var e = C1(), i = d(e);
43
- M1(i, () => $1), l(e), f(p, e);
38
+ N(t1, { links: {} }, [], [], !0);
39
+ const L1 = '<svg xmlns="http://www.w3.org/2000/svg" id="Layer_1" data-name="Layer 1" viewBox="0 0 718 78.64"><defs><style>.cls-1{fill:#fff}</style></defs><path d="M0 77.58v-5.21l7.52-1.99V7.5L0 5.68V.47L26.03 0v5.22l-7.52 2.29V70.4l7.52 1.97v5.21zM90.52 77.58v-5.21l7.52-1.98V26.56l-.82-.2-17.14 33.59-7.08.45-16.46-34.03-.82.19v43.87l7.52 1.94v5.21H39.43v-5.21l7.52-1.96V18.26l-7.52-1.81v-5.21l21.36-.47L77.9 48.56l17.86-37.31 19.83-.47v5.21l-7.52 2.3v52.1l7.52 1.98v5.21zM128.98 77.58v-5.21l7.52-2V18.24l-7.52-1.79v-5.21l19.24-.47h9.44c5.11 0 9.35.88 12.62 2.6 3.25 1.72 5.7 4.11 7.29 7.1 1.6 3.01 2.41 6.51 2.41 10.4 0 4.21-.97 8.05-2.88 11.4-1.91 3.35-4.83 6-8.68 7.88-3.87 1.89-8.89 2.85-14.9 2.85h-6.02v17.43l9.64 1.96v5.19h-28.15Zm18.52-32.3h6.12c4.85 0 8.62-1.29 11.2-3.84 2.58-2.54 3.89-6.01 3.89-10.29 0-3.95-1.09-7.1-3.25-9.36s-5.4-3.41-9.62-3.41h-8.34v26.89ZM234 77.58l-8.66-18.45c-1.15-2.56-2.22-4.58-3.16-5.99-.98-1.45-2.21-2.47-3.67-3.05-1.29-.51-3.04-.76-5.22-.76-.25 0-.52 0-.78.01h-3.99v21.02l8.58 2.02v5.2h-27.09v-5.21l7.52-1.98V18.32l-7.52-1.86v-5.22l19.44-.47h10.02c7.38 0 13.03 1.56 16.79 4.63 3.73 3.05 5.63 7.51 5.63 13.25 0 5.26-1.63 9.63-4.85 13.01-2.5 2.62-6.15 4.46-10.86 5.46l-.03.84c.75.21 1.32.42 1.81.65 1.54.74 2.84 1.76 3.85 3.02 1.03 1.28 2.04 2.86 2.99 4.7l7.25 14.22 5.72 1.8v5.23h-13.75Zm-25.48-35.67h6.79c4.96 0 8.8-1.05 11.4-3.13 2.63-2.1 3.97-5.21 3.97-9.25 0-3.52-1.07-6.28-3.18-8.22-2.09-1.93-5.32-2.91-9.59-2.91h-9.4v23.52ZM287.04 78.64c-5.81 0-10.96-1.28-15.3-3.79-4.34-2.52-7.77-6.31-10.19-11.29-2.43-4.99-3.67-11.26-3.67-18.61 0-5.84.77-11.03 2.29-15.43 1.52-4.39 3.69-8.1 6.46-11.03 2.77-2.93 6.07-5.15 9.82-6.59 3.75-1.45 7.96-2.19 12.52-2.19s8.51.72 12.13 2.14c3.62 1.42 6.78 3.54 9.39 6.31 2.61 2.77 4.69 6.26 6.17 10.36 1.49 4.11 2.24 8.96 2.24 14.41 0 7.48-1.36 13.95-4.05 19.23-2.68 5.27-6.44 9.38-11.16 12.21-4.73 2.84-10.33 4.28-16.65 4.28ZM288.39 18c-3.47 0-6.67.86-9.52 2.57-2.87 1.71-5.13 4.56-6.73 8.45-1.59 3.85-2.4 9.08-2.4 15.54 0 6 .76 10.96 2.25 14.72 1.5 3.79 3.65 6.62 6.38 8.4 2.72 1.77 5.93 2.67 9.54 2.67s6.78-.9 9.63-2.67c2.86-1.77 5.18-4.66 6.92-8.58 1.72-3.9 2.59-9.15 2.59-15.6 0-6.01-.81-10.94-2.4-14.68-1.6-3.76-3.82-6.54-6.58-8.25-2.76-1.71-6.01-2.57-9.67-2.57ZM351.84 77.67l-20.08-59.58-6.6-1.63v-5.22l26.71-.46v5.2l-7.79 1.98 14.7 48.44 16.09-48.17-7.77-1.78v-5.21l24.29-.46v5.2l-6.5 1.77-21.13 59.92zM399.59 77.58v-5.21l7.51-1.98V18.28l-7.51-1.82v-5.22l18.76-.47h29.05v15.81h-6.34l-1.51-8.1H418.1v21.31h15.64l1.38-5.2h4.91v17.83h-4.91l-1.37-5.21H418.1v22.65h22.64l1.58-8.77h6.24l-.09 16.49zM482.44 77.58v-5.21l7.52-1.94V7.46l-7.52-1.78V.47L509.25 0v5.21l-8.29 2.23v62.42h24.01l1.8-10.8h6.24v18.52zM544.77 77.58v-5.21l7.51-1.99v-52.1l-7.51-1.83v-5.21l26.03-.46v5.21l-7.52 2.29v52.13l7.52 1.96v5.21zM584.19 77.58v-5.21l7.52-1.96V18.34l-7.52-1.88v-5.22l18.77-.47h28.38l.09 15.91h-6.34l-1.49-8.2h-20.89v21.79h15.13l1.35-5.06h4.9v17.82h-4.9l-1.33-5.05h-15.15V70.4l9.35 1.98v5.2zM641.17 77.58v-5.21l7.52-1.98V18.28l-7.52-1.82v-5.22l18.76-.47h29.06v15.81h-6.35l-1.51-8.1h-21.45v21.31h15.68l1.38-5.2h4.91v17.83h-4.91l-1.37-5.21h-15.69v22.65h22.64l1.58-8.77h6.24l-.09 16.49zM711.68 78.35c-1.93 0-3.5-.57-4.66-1.71-1.18-1.15-1.75-2.62-1.75-4.51s.63-3.35 1.93-4.5c1.31-1.16 2.78-1.72 4.49-1.72 1.93 0 3.48.57 4.61 1.7 1.13 1.13 1.71 2.65 1.71 4.52s-.62 3.35-1.88 4.5c-1.26 1.14-2.75 1.72-4.43 1.72Z" class="cls-1"/></svg>';
40
+ var z1 = V('<a href="https://www.uoguelph.ca/improve-life" aria-label="Improve Life" class="row-span-2 flex h-[4.8rem] w-full overflow-hidden transition-opacity hover:opacity-75 focus:opacity-75 md:h-[3.5em] [&amp;>svg]:block [&amp;>svg]:h-full [&amp;>svg]:w-full [&amp;>svg]:max-w-[25rem]"><!></a>');
41
+ function r1(d) {
42
+ var r = z1(), o = v(r);
43
+ _1(o, () => L1), s(r), u(d, r);
44
44
  }
45
- H(a1, {}, [], [], !0);
45
+ N(r1, {}, [], [], !0);
46
46
  /*!
47
47
  * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
48
48
  * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
49
49
  * Copyright 2024 Fonticons, Inc.
50
50
  */
51
- const H1 = {
51
+ const C1 = {
52
52
  prefix: "fab",
53
53
  iconName: "linkedin-in",
54
54
  icon: [448, 512, [], "f0e1", "M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z"]
55
- }, N1 = {
55
+ }, H1 = {
56
56
  prefix: "fab",
57
57
  iconName: "facebook-f",
58
58
  icon: [320, 512, [], "f39e", "M80 299.3V512H196V299.3h86.5l18-97.8H196V166.9c0-51.7 20.3-71.5 72.7-71.5c16.3 0 29.4 .4 37 1.2V7.9C291.4 4 256.4 0 236.2 0C129.3 0 80 50.5 80 159.4v42.1H14v97.8H80z"]
59
- }, A1 = {
59
+ }, N1 = {
60
60
  prefix: "fab",
61
61
  iconName: "x-twitter",
62
62
  icon: [512, 512, [], "e61b", "M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z"]
63
- }, S1 = {
63
+ }, $1 = {
64
64
  prefix: "fab",
65
65
  iconName: "tiktok",
66
66
  icon: [448, 512, [], "e07b", "M448,209.91a210.06,210.06,0,0,1-122.77-39.25V349.38A162.55,162.55,0,1,1,185,188.31V278.2a74.62,74.62,0,1,0,52.23,71.18V0l88,0a121.18,121.18,0,0,0,1.86,22.17h0A122.18,122.18,0,0,0,381,102.39a121.43,121.43,0,0,0,67,20.14Z"]
67
- }, F1 = {
67
+ }, A1 = {
68
68
  prefix: "fab",
69
69
  iconName: "instagram",
70
70
  icon: [448, 512, [], "f16d", "M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"]
71
- }, G1 = {
71
+ }, S1 = {
72
72
  prefix: "fab",
73
73
  iconName: "youtube",
74
74
  icon: [576, 512, [61802], "f167", "M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"]
75
- }, s1 = {
75
+ }, a1 = {
76
76
  directory: "https://www.uoguelph.ca/web/socialmedia/",
77
77
  links: [
78
78
  {
79
79
  text: "X",
80
- icon: A1,
80
+ icon: N1,
81
81
  href: "https://twitter.com/uofg",
82
82
  classes: "focus:text-black hover:text-black focus:bg-white hover:bg-white"
83
83
  },
84
84
  {
85
85
  text: "Facebook",
86
- icon: N1,
86
+ icon: H1,
87
87
  href: "https://www.facebook.com/uofguelph",
88
88
  classes: "focus:text-white hover:text-white focus:bg-[#0866ff] hover:bg-[#0866ff]"
89
89
  },
90
90
  {
91
91
  text: "Instagram",
92
- icon: F1,
92
+ icon: A1,
93
93
  href: "https://www.instagram.com/uofguelph/",
94
94
  classes: "focus:text-white hover:text-white focus:bg-[#d62976] hover:bg-[#d62976]"
95
95
  },
96
96
  {
97
97
  text: "Youtube",
98
- icon: G1,
98
+ icon: S1,
99
99
  href: "https://www.youtube.com/user/uofguelph",
100
100
  classes: "focus:text-white hover:text-white focus:bg-[#ff0000] hover:bg-[#ff0000]"
101
101
  },
102
102
  {
103
103
  text: "LinkedIn",
104
- icon: H1,
104
+ icon: C1,
105
105
  href: "https://www.linkedin.com/school/university-of-guelph/",
106
106
  classes: "focus:text-white hover:text-white focus:bg-[#0a66c2] hover:bg-[#0a66c2]"
107
107
  },
108
108
  {
109
109
  text: "TikTok",
110
- icon: S1,
110
+ icon: $1,
111
111
  href: "https://www.tiktok.com/@uofguelph",
112
112
  classes: "focus:text-black hover:text-black focus:bg-white hover:bg-white"
113
113
  }
@@ -166,93 +166,79 @@ const H1 = {
166
166
  icon: p1,
167
167
  href: "https://www.alumni.uoguelph.ca/give-to-guelph/how-to-give"
168
168
  }
169
- ], N = {
169
+ ], $ = {
170
170
  title: "University of Guelph",
171
171
  street: "50 Stone Road East",
172
172
  city: "Guelph",
173
173
  postalCode: "N1G 2W1",
174
174
  phoneNumber: "519-824-4120"
175
175
  };
176
- var P1 = V("<li><a><!></a></li>"), Z1 = V("<ul></ul>");
177
- function r1(p, e) {
178
- F(e, !1);
179
- const i = O({
176
+ var F1 = V("<li><a><!></a></li>"), G1 = V("<ul></ul>");
177
+ function s1(d, r) {
178
+ F(r, !1);
179
+ const o = R({
180
180
  slots: {
181
181
  base: "flex gap-2 text-lg [&>li]:contents",
182
182
  links: "p-0.5 transition-colors [&>*]:aspect-square"
183
183
  }
184
- }), { base: n, links: m } = i();
184
+ }), { base: l, links: w } = o();
185
185
  D();
186
- var c = Z1();
187
- q(c, 5, () => s1.links, B, (h, a, o, t) => {
188
- let s = () => u(a).href, k = () => u(a).text, g = () => u(a).icon, w = () => u(a).classes;
189
- var x = P1(), v = d(x), L = d(v);
190
- g1(L, {
186
+ var i = G1();
187
+ B(i, 5, () => a1.links, O, (n, t, c, e) => {
188
+ let m = () => h(t).href, _ = () => h(t).text, p = () => h(t).icon, g = () => h(t).classes;
189
+ var x = F1(), f = v(x), C = v(f);
190
+ g1(C, {
191
191
  get icon() {
192
- return g();
192
+ return p();
193
193
  }
194
- }), l(v), l(x), M(
195
- (r) => {
196
- X(v, "href", s()), X(v, "aria-label", k()), C(v, 1, r);
194
+ }), s(f), s(x), y(
195
+ (a) => {
196
+ U(f, "href", m()), U(f, "aria-label", _()), z(f, 1, a);
197
197
  },
198
198
  [
199
- () => $(e1(m(), w()))
199
+ () => L(e1(w(), g()))
200
200
  ],
201
201
  A
202
- ), f(h, x);
203
- }), l(c), M((h) => C(c, 1, h), [() => $(n())], A), f(p, c), G();
202
+ ), u(n, x);
203
+ }), s(i), y((n) => z(i, 1, n), [() => L(l())], A), u(d, i), G();
204
204
  }
205
- H(r1, {}, [], [], !0);
206
- var I1 = V("<a><!></a>");
207
- function S(p, e) {
208
- F(e, !0);
209
- let i = I(e, "href", 7), n = I(e, "label", 7), m = I(e, "children", 7), c = I(e, "class", 7), h = m1(e, [
210
- "$$slots",
211
- "$$events",
212
- "$$legacy",
213
- "$$host",
214
- "href",
215
- "label",
216
- "children",
217
- "class"
218
- ]);
219
- const a = e1("w-fit underline decoration-transparent transition-colors hover:decoration-black-contrast focus:decoration-black-contrast", c());
220
- var o = I1();
221
- w1(o, () => ({
222
- ...h,
223
- class: a,
224
- href: i(),
225
- "aria-label": n() ?? void 0
226
- }));
227
- var t = d(o);
228
- return V1(t, m), l(o), f(p, o), G({
205
+ N(s1, {}, [], [], !0);
206
+ var P1 = V("<a><!></a>");
207
+ function S(d, r) {
208
+ F(r, !0);
209
+ let o = I(r, "href", 7), l = I(r, "label", 7), w = I(r, "children", 7), i = I(r, "class", 7);
210
+ const n = e1("w-fit underline decoration-transparent transition-colors hover:decoration-black-contrast focus:decoration-black-contrast", i());
211
+ var t = P1(), c = v(t);
212
+ return y1(c, w), s(t), y(() => {
213
+ z(t, 1, L(n)), U(t, "href", o()), U(t, "aria-label", l() ?? void 0);
214
+ }), u(d, t), G({
229
215
  get href() {
230
- return i();
216
+ return o();
231
217
  },
232
- set href(s) {
233
- i(s), T();
218
+ set href(e) {
219
+ o(e), T();
234
220
  },
235
221
  get label() {
236
- return n();
222
+ return l();
237
223
  },
238
- set label(s) {
239
- n(s), T();
224
+ set label(e) {
225
+ l(e), T();
240
226
  },
241
227
  get children() {
242
- return m();
228
+ return w();
243
229
  },
244
- set children(s) {
245
- m(s), T();
230
+ set children(e) {
231
+ w(e), T();
246
232
  },
247
233
  get class() {
248
- return c();
234
+ return i();
249
235
  },
250
- set class(s) {
251
- c(s), T();
236
+ set class(e) {
237
+ i(e), T();
252
238
  }
253
239
  });
254
240
  }
255
- H(
241
+ N(
256
242
  S,
257
243
  {
258
244
  href: {},
@@ -264,208 +250,208 @@ H(
264
250
  [],
265
251
  !0
266
252
  );
267
- var T1 = V("<li><!></li>"), U1 = V("<li><!></li>"), Y1 = V("<ul></ul> <ul></ul>", 1);
268
- function o1(p, e) {
269
- F(e, !1);
270
- const i = O({
253
+ var Z1 = V("<li><!></li>"), I1 = V("<li><!></li>"), T1 = V("<ul></ul> <ul></ul>", 1);
254
+ function o1(d, r) {
255
+ F(r, !1);
256
+ const o = R({
271
257
  slots: {
272
258
  list: "grid grid-rows-5 items-center gap-0 not-italic",
273
259
  link: "flex h-full items-center"
274
260
  }
275
- }), { list: n, link: m } = i();
261
+ }), { list: l, link: w } = o();
276
262
  D();
277
- var c = Y1(), h = W(c);
278
- q(h, 5, () => Q, B, (o, t, s) => {
279
- let k = () => u(t).href, g = () => u(t).attributes, w = () => u(t).text;
280
- var x = J(), v = W(x);
263
+ var i = T1(), n = X(i);
264
+ B(n, 5, () => Q, O, (c, e, m) => {
265
+ let _ = () => h(e).href, p = () => h(e).attributes, g = () => h(e).text;
266
+ var x = J(), f = X(x);
281
267
  {
282
- var L = (r) => {
283
- var b = T1(), _ = d(b);
284
- const P = A(m);
285
- S(_, K(
268
+ var C = (a) => {
269
+ var b = Z1(), k = v(b);
270
+ const P = A(w);
271
+ S(k, K(
286
272
  {
287
273
  get class() {
288
- return u(P);
274
+ return h(P);
289
275
  },
290
276
  get href() {
291
- return k();
277
+ return _();
292
278
  }
293
279
  },
294
- g,
280
+ p,
295
281
  {
296
- children: (R, i1) => {
297
- U();
298
- var Z = Y();
299
- M(() => z(Z, w())), f(R, Z);
282
+ children: (W, i1) => {
283
+ Y();
284
+ var Z = q();
285
+ y(() => H(Z, g())), u(W, Z);
300
286
  },
301
287
  $$slots: { default: !0 }
302
288
  }
303
- )), l(b), f(r, b);
289
+ )), s(b), u(a, b);
304
290
  };
305
- j(v, (r) => {
306
- s % 2 === 0 && r(L);
291
+ j(f, (a) => {
292
+ m % 2 === 0 && a(C);
307
293
  });
308
294
  }
309
- f(o, x);
310
- }), l(h);
311
- var a = y(h, 2);
312
- q(a, 5, () => Q, B, (o, t, s) => {
313
- let k = () => u(t).href, g = () => u(t).attributes, w = () => u(t).text;
314
- var x = J(), v = W(x);
295
+ u(c, x);
296
+ }), s(n);
297
+ var t = M(n, 2);
298
+ B(t, 5, () => Q, O, (c, e, m) => {
299
+ let _ = () => h(e).href, p = () => h(e).attributes, g = () => h(e).text;
300
+ var x = J(), f = X(x);
315
301
  {
316
- var L = (r) => {
317
- var b = U1(), _ = d(b);
318
- const P = A(m);
319
- S(_, K(
302
+ var C = (a) => {
303
+ var b = I1(), k = v(b);
304
+ const P = A(w);
305
+ S(k, K(
320
306
  {
321
307
  get class() {
322
- return u(P);
308
+ return h(P);
323
309
  },
324
310
  get href() {
325
- return k();
311
+ return _();
326
312
  }
327
313
  },
328
- g,
314
+ p,
329
315
  {
330
- children: (R, i1) => {
331
- U();
332
- var Z = Y();
333
- M(() => z(Z, w())), f(R, Z);
316
+ children: (W, i1) => {
317
+ Y();
318
+ var Z = q();
319
+ y(() => H(Z, g())), u(W, Z);
334
320
  },
335
321
  $$slots: { default: !0 }
336
322
  }
337
- )), l(b), f(r, b);
323
+ )), s(b), u(a, b);
338
324
  };
339
- j(v, (r) => {
340
- s % 2 !== 0 && r(L);
325
+ j(f, (a) => {
326
+ m % 2 !== 0 && a(C);
341
327
  });
342
328
  }
343
- f(o, x);
344
- }), l(a), M(
345
- (o, t) => {
346
- C(h, 1, o), C(a, 1, t);
329
+ u(c, x);
330
+ }), s(t), y(
331
+ (c, e) => {
332
+ z(n, 1, c), z(t, 1, e);
347
333
  },
348
334
  [
349
- () => $(n()),
350
- () => $(n())
335
+ () => L(l()),
336
+ () => L(l())
351
337
  ],
352
338
  A
353
- ), f(p, c), G();
339
+ ), u(d, i), G();
354
340
  }
355
- H(o1, {}, [], [], !0);
356
- var q1 = V('<address class="mt-6 grid grid-rows-5 items-center gap-0 not-italic md:col-[2] md:row-[1] md:mt-0 lg:col-[4] lg:row-[1]"><strong> </strong> <span> </span> <span> </span> <span> </span> <!></address>');
357
- function l1(p, e) {
358
- F(e, !1), D();
359
- var i = q1(), n = d(i), m = d(n, !0);
360
- l(n);
361
- var c = y(n, 2), h = d(c);
362
- l(c);
363
- var a = y(c, 2), o = d(a);
364
- l(a);
365
- var t = y(a, 2), s = d(t, !0);
366
- l(t);
367
- var k = y(t, 2);
368
- const g = A(() => `tel:${N.phoneNumber}`);
369
- S(k, {
341
+ N(o1, {}, [], [], !0);
342
+ var U1 = V('<address class="mt-6 grid grid-rows-5 items-center gap-0 not-italic md:col-[2] md:row-[1] md:mt-0 lg:col-[4] lg:row-[1]"><strong> </strong> <span> </span> <span> </span> <span> </span> <!></address>');
343
+ function l1(d, r) {
344
+ F(r, !1), D();
345
+ var o = U1(), l = v(o), w = v(l, !0);
346
+ s(l);
347
+ var i = M(l, 2), n = v(i);
348
+ s(i);
349
+ var t = M(i, 2), c = v(t);
350
+ s(t);
351
+ var e = M(t, 2), m = v(e, !0);
352
+ s(e);
353
+ var _ = M(e, 2);
354
+ const p = A(() => `tel:${$.phoneNumber}`);
355
+ S(_, {
370
356
  get href() {
371
- return u(g);
357
+ return h(p);
372
358
  },
373
- children: (w, x) => {
374
- U();
375
- var v = Y();
376
- M(() => z(v, N.phoneNumber)), f(w, v);
359
+ children: (g, x) => {
360
+ Y();
361
+ var f = q();
362
+ y(() => H(f, $.phoneNumber)), u(g, f);
377
363
  },
378
364
  $$slots: { default: !0 }
379
- }), l(i), M(() => {
380
- z(m, N.title), z(h, `${N.street},`), z(o, `${N.city}, Ontario, Canada`), z(s, N.postalCode);
381
- }), f(p, i), G();
365
+ }), s(o), y(() => {
366
+ H(w, $.title), H(n, `${$.street},`), H(c, `${$.city}, Ontario, Canada`), H(m, $.postalCode);
367
+ }), u(d, o), G();
382
368
  }
383
- H(l1, {}, [], [], !0);
384
- var B1 = V("<footer><!> <div><div><!> <!> <!> <!></div> <!> <!></div></footer>");
385
- function O1(p, e) {
386
- F(e, !0);
387
- const i = O({
369
+ N(l1, {}, [], [], !0);
370
+ var Y1 = V("<footer><!> <div><div><!> <!> <!> <!></div> <!> <!></div></footer>");
371
+ function q1(d, r) {
372
+ F(r, !0);
373
+ const o = R({
388
374
  slots: {
389
375
  footer: "flex flex-col content-center gap-0 bg-black px-[max(calc((100%-1320px)/2),2rem)] py-12 text-black-contrast md:grid md:grid-cols-2 md:gap-6 lg:grid-cols-4",
390
376
  wrapper: "mb-6 grid grid-rows-5 items-center gap-0 not-italic md:mb-0"
391
377
  }
392
378
  });
393
- let n = x1(b1([]));
394
- y1(() => {
395
- const r = () => {
396
- _1(
397
- n,
398
- Array.from(e.$$host.children).filter((_) => _.tagName === "A").map((_) => ({
399
- text: _.textContent ?? "",
400
- href: _.getAttribute("href") ?? ""
379
+ let l = w1(m1([]));
380
+ k1(() => {
381
+ const a = () => {
382
+ x1(
383
+ l,
384
+ Array.from(r.$$host.children).filter((k) => k.tagName === "A").map((k) => ({
385
+ text: k.textContent ?? "",
386
+ href: k.getAttribute("href") ?? ""
401
387
  })),
402
388
  !0
403
389
  );
404
390
  };
405
- r();
406
- const b = new MutationObserver(r);
407
- return b.observe(e.$$host, { childList: !0, subtree: !0 }), () => {
391
+ a();
392
+ const b = new MutationObserver(a);
393
+ return b.observe(r.$$host, { childList: !0, subtree: !0 }), () => {
408
394
  b.disconnect();
409
395
  };
410
396
  });
411
- const { footer: m, wrapper: c } = i();
412
- var h = B1(), a = d(h);
397
+ const { footer: w, wrapper: i } = o();
398
+ var n = Y1(), t = v(n);
413
399
  {
414
- var o = (r) => {
415
- t1(r, {
400
+ var c = (a) => {
401
+ t1(a, {
416
402
  get links() {
417
- return u(n);
403
+ return h(l);
418
404
  }
419
405
  });
420
406
  };
421
- j(a, (r) => {
422
- Array.isArray(u(n)) && u(n).length > 0 && r(o);
407
+ j(t, (a) => {
408
+ Array.isArray(h(l)) && h(l).length > 0 && a(c);
423
409
  });
424
410
  }
425
- var t = y(a, 2), s = d(t), k = d(s);
426
- a1(k);
427
- var g = y(k, 2);
428
- r1(g, {});
429
- var w = y(g, 2);
430
- S(w, {
411
+ var e = M(t, 2), m = v(e), _ = v(m);
412
+ r1(_);
413
+ var p = M(_, 2);
414
+ s1(p, {});
415
+ var g = M(p, 2);
416
+ S(g, {
431
417
  get href() {
432
- return s1.directory;
418
+ return a1.directory;
433
419
  },
434
- children: (r, b) => {
435
- U();
436
- var _ = Y("Social Media Directory");
437
- f(r, _);
420
+ children: (a, b) => {
421
+ Y();
422
+ var k = q("Social Media Directory");
423
+ u(a, k);
438
424
  },
439
425
  $$slots: { default: !0 }
440
426
  });
441
- var x = y(w, 2);
427
+ var x = M(g, 2);
442
428
  S(x, {
443
429
  href: "https://www.uoguelph.ca/web/",
444
- children: (r, b) => {
445
- U();
446
- var _ = Y();
447
- M((P) => z(_, `© ${P ?? ""} University of Guelph`), [() => (/* @__PURE__ */ new Date()).getFullYear()]), f(r, _);
430
+ children: (a, b) => {
431
+ Y();
432
+ var k = q();
433
+ y((P) => H(k, `© ${P ?? ""} University of Guelph`), [() => (/* @__PURE__ */ new Date()).getFullYear()]), u(a, k);
448
434
  },
449
435
  $$slots: { default: !0 }
450
- }), l(s);
451
- var v = y(s, 2);
452
- o1(v, {});
453
- var L = y(v, 2);
454
- l1(L, {}), l(t), l(h), M(
455
- (r, b) => {
456
- C(t, 1, r), C(s, 1, b);
436
+ }), s(m);
437
+ var f = M(m, 2);
438
+ o1(f, {});
439
+ var C = M(f, 2);
440
+ l1(C, {}), s(e), s(n), y(
441
+ (a, b) => {
442
+ z(e, 1, a), z(m, 1, b);
457
443
  },
458
444
  [
459
- () => $(m()),
460
- () => $(c())
445
+ () => L(w()),
446
+ () => L(i())
461
447
  ]
462
- ), f(p, h), G();
448
+ ), u(d, n), G();
463
449
  }
464
- customElements.define("uofg-footer", H(O1, {}, [], [], !0, (p) => class extends p {
450
+ customElements.define("uofg-footer", N(q1, {}, [], [], !0, (d) => class extends d {
465
451
  constructor() {
466
- super(), k1(this.shadowRoot);
452
+ super(), b1(this.shadowRoot);
467
453
  }
468
454
  }));
469
455
  export {
470
- O1 as default
456
+ q1 as default
471
457
  };