@uoguelph/web-components 2.0.8-rc.0 → 2.0.9-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,46 +1,43 @@
1
- import { c as H, p as S, a as G, f as V, G as q, t as y, g as z, h as L, i as f, j as I, k as P, r, e as v, B as U, m as h, H as A, I as O, J as c1, K as n1, L as h1, M as f1, N as u1, O as v1, P as E, Q as d1, R as p1, T as F, F as g1, U as e1, V as X, s as M, W as J, X as j, Y as K, v as B, Z as Y, q as m1, _ as w1, o as x1, b as b1 } from "./index-CEFM1xyC.js";
2
- import { o as k1 } from "./index-client-Cf3Y5mtB.js";
3
- import { c as R } from "./index-C6ZIYhZ_.js";
4
- import { h as _1, i as D, s as y1 } from "./legacy-eE7eSuBp.js";
1
+ import { c as H, p as S, a as Z, f as V, G as Y, t as y, g as z, h as L, i as u, j as F, k as G, e as p, r as o, B as P, m as f, H as $, I as q, J as c1, K as n1, L as h1, M as f1, N as u1, O as v1, P as E, Q as d1, R as p1, F as g1, T as e1, U as W, s as M, V as J, W as X, X as K, v as U, Y as B, Z as j, q as m1, _ as w1, o as x1, b as b1 } from "./index-BxiW26Pq.js";
2
+ import { o as k1 } from "./index-client-DG7fHzcC.js";
3
+ import { c as O } from "./index-CsiSOAU0.js";
4
+ import { h as _1, i as D, s as y1 } from "./legacy-Bte-v9mf.js";
5
5
  var M1 = V("<li><a> </a></li>"), V1 = V("<ul></ul>");
6
- function t1(d, s) {
7
- S(s, !0);
8
- let o = G(s, "links", 7);
9
- const l = R({
6
+ function t1(g, a) {
7
+ S(a, !0);
8
+ let l = Z(a, "links", 7);
9
+ const i = O({
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: i, links: c } = l();
16
- var t = V1();
17
- return q(t, 21, o, O, (n, e) => {
18
- let w = () => h(e).text, _ = () => h(e).href;
19
- var p = M1(), g = v(p), x = v(g, !0);
20
- r(g), r(p), y(
21
- (u, C) => {
22
- L(p, 1, u), L(g, 1, C), U(g, "href", _()), A(x, w());
23
- },
24
- [
25
- () => z(i()),
26
- () => z(c())
27
- ]
28
- ), f(n, p);
29
- }), r(t), y((n) => L(t, 1, n), [() => z(m())]), f(d, t), I({
15
+ }), { base: w, item: c, links: h } = i();
16
+ var n = {
30
17
  get links() {
31
- return o();
18
+ return l();
32
19
  },
33
- set links(n) {
34
- o(n), P();
20
+ set links(e) {
21
+ l(e), G();
35
22
  }
36
- });
23
+ }, r = V1();
24
+ return Y(r, 21, l, q, (e, s) => {
25
+ let k = () => f(s).text, _ = () => f(s).href;
26
+ var m = M1(), v = p(m), d = p(v, !0);
27
+ o(v), o(m), y(
28
+ (C, t) => {
29
+ L(m, 1, C), L(v, 1, t), P(v, "href", _()), $(d, k());
30
+ },
31
+ [() => z(c()), () => z(h())]
32
+ ), u(e, m);
33
+ }), o(r), y((e) => L(r, 1, e), [() => z(w())]), u(g, r), F(n);
37
34
  }
38
35
  H(t1, { links: {} }, [], [], !0);
39
36
  const z1 = '<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
37
  var L1 = 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 s1(d) {
42
- var s = L1(), o = v(s);
43
- _1(o, () => z1), r(s), f(d, s);
38
+ function s1(g) {
39
+ var a = L1(), l = p(a);
40
+ _1(l, () => z1), o(a), u(g, a);
44
41
  }
45
42
  H(s1, {}, [], [], !0);
46
43
  /*!
@@ -52,7 +49,7 @@ const C1 = {
52
49
  prefix: "fab",
53
50
  iconName: "linkedin-in",
54
51
  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
- }, A1 = {
52
+ }, $1 = {
56
53
  prefix: "fab",
57
54
  iconName: "facebook-f",
58
55
  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"]
@@ -64,15 +61,15 @@ const C1 = {
64
61
  prefix: "fab",
65
62
  iconName: "tiktok",
66
63
  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 = {
64
+ }, A1 = {
68
65
  prefix: "fab",
69
66
  iconName: "instagram",
70
67
  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
- }, $1 = {
68
+ }, S1 = {
72
69
  prefix: "fab",
73
70
  iconName: "bluesky",
74
71
  icon: [512, 512, [], "e671", "M111.8 62.2C170.2 105.9 233 194.7 256 242.4c23-47.6 85.8-136.4 144.2-180.2c42.1-31.6 110.3-56 110.3 21.8c0 15.5-8.9 130.5-14.1 149.2C478.2 298 412 314.6 353.1 304.5c102.9 17.5 129.1 75.5 72.5 133.5c-107.4 110.2-154.3-27.6-166.3-62.9l0 0c-1.7-4.9-2.6-7.8-3.3-7.8s-1.6 3-3.3 7.8l0 0c-12 35.3-59 173.1-166.3 62.9c-56.5-58-30.4-116 72.5-133.5C100 314.6 33.8 298 15.7 233.1C10.4 214.4 1.5 99.4 1.5 83.9c0-77.8 68.2-53.4 110.3-21.8z"]
75
- }, S1 = {
72
+ }, F1 = {
76
73
  prefix: "fab",
77
74
  iconName: "youtube",
78
75
  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"]
@@ -87,19 +84,19 @@ const C1 = {
87
84
  },
88
85
  {
89
86
  text: "Facebook",
90
- icon: A1,
87
+ icon: $1,
91
88
  href: "https://www.facebook.com/uofguelph",
92
89
  classes: "focus:text-white hover:text-white focus:bg-[#0866ff] hover:bg-[#0866ff]"
93
90
  },
94
91
  {
95
92
  text: "Instagram",
96
- icon: F1,
93
+ icon: A1,
97
94
  href: "https://www.instagram.com/uofguelph/",
98
95
  classes: "focus:text-white hover:text-white focus:bg-[#d62976] hover:bg-[#d62976]"
99
96
  },
100
97
  {
101
98
  text: "Youtube",
102
- icon: S1,
99
+ icon: F1,
103
100
  href: "https://www.youtube.com/user/uofguelph",
104
101
  classes: "focus:text-white hover:text-white focus:bg-[#ff0000] hover:bg-[#ff0000]"
105
102
  },
@@ -107,7 +104,7 @@ const C1 = {
107
104
  text: "LinkedIn",
108
105
  icon: C1,
109
106
  href: "https://www.linkedin.com/school/university-of-guelph/",
110
- classes: "focus:text-white hover:text-white focus:bg-[#006AFF] hover:bg-[#006AFF]"
107
+ classes: "focus:text-white hover:text-white focus:bg-[#006aff] hover:bg-[#006aff]"
111
108
  },
112
109
  {
113
110
  text: "TikTok",
@@ -117,7 +114,7 @@ const C1 = {
117
114
  },
118
115
  {
119
116
  text: "Bluesky",
120
- icon: $1,
117
+ icon: S1,
121
118
  href: "https://bsky.app/profile/uofguelph.bsky.social",
122
119
  classes: "focus:text-white hover:text-white focus:bg-[#0a66c2] hover:bg-[#0a66c2]"
123
120
  }
@@ -184,280 +181,268 @@ const C1 = {
184
181
  phoneNumber: "519-824-4120"
185
182
  };
186
183
  var I1 = V("<li><a><!></a></li>"), T1 = V("<ul></ul>");
187
- function r1(d, s) {
188
- S(s, !1);
189
- const o = R({
184
+ function r1(g, a) {
185
+ S(a, !1);
186
+ const l = O({
190
187
  slots: {
191
188
  base: "flex gap-2 text-lg [&>li]:contents",
192
189
  links: "p-0.5 transition-colors [&>*]:aspect-square"
193
190
  }
194
- }), { base: l, links: m } = o();
191
+ }), { base: i, links: w } = l();
195
192
  D();
196
- var i = T1();
197
- q(i, 5, () => a1.links, O, (c, t, n, e) => {
198
- let w = () => h(t).href, _ = () => h(t).text, p = () => h(t).icon, g = () => h(t).classes;
199
- var x = I1(), u = v(x), C = v(u);
193
+ var c = T1();
194
+ Y(c, 5, () => a1.links, q, (h, n, r, e) => {
195
+ let s = () => f(n).href, k = () => f(n).text, _ = () => f(n).icon, m = () => f(n).classes;
196
+ var v = I1(), d = p(v), C = p(d);
200
197
  g1(C, {
201
198
  get icon() {
202
- return p();
199
+ return _();
203
200
  }
204
- }), r(u), r(x), y(
205
- (a) => {
206
- U(u, "href", w()), U(u, "aria-label", _()), L(u, 1, a);
201
+ }), o(d), o(v), y(
202
+ (t) => {
203
+ P(d, "href", s()), P(d, "aria-label", k()), L(d, 1, t);
207
204
  },
208
- [
209
- () => z(e1(m(), g()))
210
- ],
211
- F
212
- ), f(c, x);
213
- }), r(i), y((c) => L(i, 1, c), [() => z(l())], F), f(d, i), I();
205
+ [() => z(e1(w(), m()))]
206
+ ), u(h, v);
207
+ }), o(c), y((h) => L(c, 1, h), [() => z(i())]), u(g, c), F();
214
208
  }
215
209
  H(r1, {}, [], [], !0);
216
210
  var Z1 = V("<a><!></a>");
217
- function $(d, s) {
218
- S(s, !0);
219
- let o = G(s, "href", 7), l = G(s, "label", 7), m = G(s, "children", 7), i = G(s, "class", 7);
220
- const c = e1("w-fit underline decoration-transparent transition-colors hover:decoration-black-contrast focus:decoration-black-contrast", i());
221
- var t = Z1(), n = v(t);
222
- return y1(n, m), r(t), y(() => {
223
- L(t, 1, z(c)), U(t, "href", o()), U(t, "aria-label", l() ?? void 0);
224
- }), f(d, t), I({
211
+ function A(g, a) {
212
+ S(a, !0);
213
+ let l = Z(a, "href", 7), i = Z(a, "label", 7), w = Z(a, "children", 7), c = Z(a, "class", 7);
214
+ const h = e1("w-fit underline decoration-transparent transition-colors hover:decoration-black-contrast focus:decoration-black-contrast", c());
215
+ var n = {
225
216
  get href() {
226
- return o();
217
+ return l();
227
218
  },
228
- set href(e) {
229
- o(e), P();
219
+ set href(s) {
220
+ l(s), G();
230
221
  },
231
222
  get label() {
232
- return l();
223
+ return i();
233
224
  },
234
- set label(e) {
235
- l(e), P();
225
+ set label(s) {
226
+ i(s), G();
236
227
  },
237
228
  get children() {
238
- return m();
229
+ return w();
239
230
  },
240
- set children(e) {
241
- m(e), P();
231
+ set children(s) {
232
+ w(s), G();
242
233
  },
243
234
  get class() {
244
- return i();
235
+ return c();
245
236
  },
246
- set class(e) {
247
- i(e), P();
237
+ set class(s) {
238
+ c(s), G();
248
239
  }
249
- });
240
+ }, r = Z1(), e = p(r);
241
+ return y1(e, w), o(r), y(() => {
242
+ L(r, 1, z(h)), P(r, "href", l()), P(r, "aria-label", i() ?? void 0);
243
+ }), u(g, r), F(n);
250
244
  }
251
- H(
252
- $,
253
- {
254
- href: {},
255
- label: {},
256
- children: {},
257
- class: {}
258
- },
259
- [],
260
- [],
261
- !0
262
- );
245
+ H(A, { href: {}, label: {}, children: {}, class: {} }, [], [], !0);
263
246
  var G1 = V("<li><!></li>"), P1 = V("<li><!></li>"), U1 = V("<ul></ul> <ul></ul>", 1);
264
- function o1(d, s) {
265
- S(s, !1);
266
- const o = R({
247
+ function o1(g, a) {
248
+ S(a, !1);
249
+ const l = O({
267
250
  slots: {
268
251
  list: "grid grid-rows-5 items-center gap-0 not-italic",
269
252
  link: "flex h-full items-center"
270
253
  }
271
- }), { list: l, link: m } = o();
254
+ }), { list: i, link: w } = l();
272
255
  D();
273
- var i = U1(), c = X(i);
274
- q(c, 5, () => Q, O, (n, e, w) => {
275
- let _ = () => h(e).href, p = () => h(e).attributes, g = () => h(e).text;
276
- var x = J(), u = X(x);
256
+ var c = U1(), h = W(c);
257
+ Y(h, 5, () => Q, q, (r, e, s) => {
258
+ let k = () => f(e).href, _ = () => f(e).attributes, m = () => f(e).text;
259
+ var v = J(), d = W(v);
277
260
  {
278
- var C = (a) => {
279
- var b = G1(), k = v(b);
280
- const T = F(m);
281
- $(k, K(
282
- {
283
- get class() {
284
- return h(T);
261
+ var C = (t) => {
262
+ var x = G1(), b = p(x);
263
+ {
264
+ let I = j(w);
265
+ A(b, K(
266
+ {
267
+ get class() {
268
+ return f(I);
269
+ },
270
+ get href() {
271
+ return k();
272
+ }
285
273
  },
286
- get href() {
287
- return _();
274
+ _,
275
+ {
276
+ children: (R, i1) => {
277
+ U();
278
+ var T = B();
279
+ y(() => $(T, m())), u(R, T);
280
+ },
281
+ $$slots: { default: !0 }
288
282
  }
289
- },
290
- p,
291
- {
292
- children: (W, i1) => {
293
- B();
294
- var Z = Y();
295
- y(() => A(Z, g())), f(W, Z);
296
- },
297
- $$slots: { default: !0 }
298
- }
299
- )), r(b), f(a, b);
283
+ ));
284
+ }
285
+ o(x), u(t, x);
300
286
  };
301
- j(u, (a) => {
302
- w % 2 === 0 && a(C);
287
+ X(d, (t) => {
288
+ s % 2 === 0 && t(C);
303
289
  });
304
290
  }
305
- f(n, x);
306
- }), r(c);
307
- var t = M(c, 2);
308
- q(t, 5, () => Q, O, (n, e, w) => {
309
- let _ = () => h(e).href, p = () => h(e).attributes, g = () => h(e).text;
310
- var x = J(), u = X(x);
291
+ u(r, v);
292
+ }), o(h);
293
+ var n = M(h, 2);
294
+ Y(n, 5, () => Q, q, (r, e, s) => {
295
+ let k = () => f(e).href, _ = () => f(e).attributes, m = () => f(e).text;
296
+ var v = J(), d = W(v);
311
297
  {
312
- var C = (a) => {
313
- var b = P1(), k = v(b);
314
- const T = F(m);
315
- $(k, K(
316
- {
317
- get class() {
318
- return h(T);
298
+ var C = (t) => {
299
+ var x = P1(), b = p(x);
300
+ {
301
+ let I = j(w);
302
+ A(b, K(
303
+ {
304
+ get class() {
305
+ return f(I);
306
+ },
307
+ get href() {
308
+ return k();
309
+ }
319
310
  },
320
- get href() {
321
- return _();
311
+ _,
312
+ {
313
+ children: (R, i1) => {
314
+ U();
315
+ var T = B();
316
+ y(() => $(T, m())), u(R, T);
317
+ },
318
+ $$slots: { default: !0 }
322
319
  }
323
- },
324
- p,
325
- {
326
- children: (W, i1) => {
327
- B();
328
- var Z = Y();
329
- y(() => A(Z, g())), f(W, Z);
330
- },
331
- $$slots: { default: !0 }
332
- }
333
- )), r(b), f(a, b);
320
+ ));
321
+ }
322
+ o(x), u(t, x);
334
323
  };
335
- j(u, (a) => {
336
- w % 2 !== 0 && a(C);
324
+ X(d, (t) => {
325
+ s % 2 !== 0 && t(C);
337
326
  });
338
327
  }
339
- f(n, x);
340
- }), r(t), y(
341
- (n, e) => {
342
- L(c, 1, n), L(t, 1, e);
328
+ u(r, v);
329
+ }), o(n), y(
330
+ (r, e) => {
331
+ L(h, 1, r), L(n, 1, e);
343
332
  },
344
- [
345
- () => z(l()),
346
- () => z(l())
347
- ],
348
- F
349
- ), f(d, i), I();
333
+ [() => z(i()), () => z(i())]
334
+ ), u(g, c), F();
350
335
  }
351
336
  H(o1, {}, [], [], !0);
352
337
  var B1 = 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>');
353
- function l1(d, s) {
354
- S(s, !1), D();
355
- var o = B1(), l = v(o), m = v(l, !0);
356
- r(l);
357
- var i = M(l, 2), c = v(i);
358
- r(i);
359
- var t = M(i, 2), n = v(t);
360
- r(t);
361
- var e = M(t, 2), w = v(e, !0);
362
- r(e);
363
- var _ = M(e, 2);
364
- const p = F(() => `tel:${N.phoneNumber}`);
365
- $(_, {
366
- get href() {
367
- return h(p);
368
- },
369
- children: (g, x) => {
370
- B();
371
- var u = Y();
372
- y(() => A(u, N.phoneNumber)), f(g, u);
373
- },
374
- $$slots: { default: !0 }
375
- }), r(o), y(() => {
376
- A(m, N.title), A(c, `${N.street},`), A(n, `${N.city}, Ontario, Canada`), A(w, N.postalCode);
377
- }), f(d, o), I();
338
+ function l1(g, a) {
339
+ S(a, !1), D();
340
+ var l = B1(), i = p(l), w = p(i, !0);
341
+ o(i);
342
+ var c = M(i, 2), h = p(c);
343
+ o(c);
344
+ var n = M(c, 2), r = p(n);
345
+ o(n);
346
+ var e = M(n, 2), s = p(e, !0);
347
+ o(e);
348
+ var k = M(e, 2);
349
+ {
350
+ let _ = j(() => `tel:${N.phoneNumber}`);
351
+ A(k, {
352
+ get href() {
353
+ return f(_);
354
+ },
355
+ children: (m, v) => {
356
+ U();
357
+ var d = B();
358
+ y(() => $(d, N.phoneNumber)), u(m, d);
359
+ },
360
+ $$slots: { default: !0 }
361
+ });
362
+ }
363
+ o(l), y(() => {
364
+ $(w, N.title), $(h, `${N.street},`), $(r, `${N.city}, Ontario, Canada`), $(s, N.postalCode);
365
+ }), u(g, l), F();
378
366
  }
379
367
  H(l1, {}, [], [], !0);
380
368
  var Y1 = V("<footer><!> <div><div><!> <!> <!> <!></div> <!> <!></div></footer>");
381
- function q1(d, s) {
382
- S(s, !0);
383
- const o = R({
369
+ function q1(g, a) {
370
+ S(a, !0);
371
+ const l = O({
384
372
  slots: {
385
373
  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",
386
374
  wrapper: "mb-6 grid grid-rows-5 items-center gap-0 not-italic md:mb-0"
387
375
  }
388
376
  });
389
- let l = m1(w1([]));
377
+ let i = m1(w1([]));
390
378
  k1(() => {
391
- const a = () => {
379
+ const t = () => {
392
380
  x1(
393
- l,
394
- Array.from(s.$$host.children).filter((k) => k.tagName === "A").map((k) => ({
395
- text: k.textContent ?? "",
396
- href: k.getAttribute("href") ?? ""
381
+ i,
382
+ Array.from(a.$$host.children).filter((b) => b.tagName === "A").map((b) => ({
383
+ text: b.textContent ?? "",
384
+ href: b.getAttribute("href") ?? ""
397
385
  })),
398
386
  !0
399
387
  );
400
388
  };
401
- a();
402
- const b = new MutationObserver(a);
403
- return b.observe(s.$$host, { childList: !0, subtree: !0 }), () => {
404
- b.disconnect();
389
+ t();
390
+ const x = new MutationObserver(t);
391
+ return x.observe(a.$$host, { childList: !0, subtree: !0 }), () => {
392
+ x.disconnect();
405
393
  };
406
394
  });
407
- const { footer: m, wrapper: i } = o();
408
- var c = Y1(), t = v(c);
395
+ const { footer: w, wrapper: c } = l();
396
+ var h = Y1(), n = p(h);
409
397
  {
410
- var n = (a) => {
411
- t1(a, {
398
+ var r = (t) => {
399
+ t1(t, {
412
400
  get links() {
413
- return h(l);
401
+ return f(i);
414
402
  }
415
403
  });
416
404
  };
417
- j(t, (a) => {
418
- Array.isArray(h(l)) && h(l).length > 0 && a(n);
405
+ X(n, (t) => {
406
+ Array.isArray(f(i)) && f(i).length > 0 && t(r);
419
407
  });
420
408
  }
421
- var e = M(t, 2), w = v(e), _ = v(w);
422
- s1(_);
423
- var p = M(_, 2);
424
- r1(p, {});
425
- var g = M(p, 2);
426
- $(g, {
409
+ var e = M(n, 2), s = p(e), k = p(s);
410
+ s1(k);
411
+ var _ = M(k, 2);
412
+ r1(_, {});
413
+ var m = M(_, 2);
414
+ A(m, {
427
415
  get href() {
428
416
  return a1.directory;
429
417
  },
430
- children: (a, b) => {
431
- B();
432
- var k = Y("Social Media Directory");
433
- f(a, k);
418
+ children: (t, x) => {
419
+ U();
420
+ var b = B("Social Media Directory");
421
+ u(t, b);
434
422
  },
435
423
  $$slots: { default: !0 }
436
424
  });
437
- var x = M(g, 2);
438
- $(x, {
425
+ var v = M(m, 2);
426
+ A(v, {
439
427
  href: "https://www.uoguelph.ca/web/",
440
- children: (a, b) => {
441
- B();
442
- var k = Y();
443
- y((T) => A(k, `© ${T ?? ""} University of Guelph`), [() => (/* @__PURE__ */ new Date()).getFullYear()]), f(a, k);
428
+ children: (t, x) => {
429
+ U();
430
+ var b = B();
431
+ y((I) => $(b, `© ${I ?? ""} University of Guelph`), [() => (/* @__PURE__ */ new Date()).getFullYear()]), u(t, b);
444
432
  },
445
433
  $$slots: { default: !0 }
446
- }), r(w);
447
- var u = M(w, 2);
448
- o1(u, {});
449
- var C = M(u, 2);
450
- l1(C, {}), r(e), r(c), y(
451
- (a, b) => {
452
- L(e, 1, a), L(w, 1, b);
434
+ }), o(s);
435
+ var d = M(s, 2);
436
+ o1(d, {});
437
+ var C = M(d, 2);
438
+ l1(C, {}), o(e), o(h), y(
439
+ (t, x) => {
440
+ L(e, 1, t), L(s, 1, x);
453
441
  },
454
- [
455
- () => z(m()),
456
- () => z(i())
457
- ]
458
- ), f(d, c), I();
442
+ [() => z(w()), () => z(c())]
443
+ ), u(g, h), F();
459
444
  }
460
- customElements.define("uofg-footer", H(q1, {}, [], [], !0, (d) => class extends d {
445
+ customElements.define("uofg-footer", H(q1, {}, [], [], !0, (g) => class extends g {
461
446
  constructor() {
462
447
  super(), b1(this.shadowRoot);
463
448
  }