@uoguelph/web-components 1.9.1-rc.9 → 2.0.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,32 +1,32 @@
1
- import { c as z, p as I, a as T, t as $, H as D, e as y, g as V, h as N, i as u, j as S, k as U, r as n, d as g, C as X, m as h, I as L, J as E, K as ce, L as ue, M as fe, N as he, O as de, P as pe, Q as ve, R as B, T as ge, U as we, V as A, F as xe, W as me, X as be, Y as _e, Z as ke, _ as W, s as M, $ as J, a0 as Z, a1 as K, w as O, a2 as R, v as ye, u as Q, q as Me, b as $e } from "./index-Dk-X_ehd.js";
2
- import { o as Ce } from "./index-client-CoqRyo72.js";
3
- import { c as Y } from "./index-O5kp37c8.js";
4
- import { i as j, s as Le } from "./legacy-D1B9KfqA.js";
5
- var Ve = $("<li><a> </a></li>"), Ne = $("<ul></ul>");
6
- function te(d, e) {
7
- I(e, !0);
8
- let i = T(e, "links", 7);
9
- const l = Y({
1
+ import { c as N, p as I, a as T, t as $, H as R, e as y, g as L, h as V, i as h, j as S, k as U, r as n, d as v, C as X, m as f, I as C, J as D, K as ce, L as ue, M as fe, N as he, O as de, P as pe, Q as J, R as ve, T as ge, U as A, F as xe, V as te, W as we, X as me, Y as W, s as M, Z as K, _ as j, $ as Z, w as q, a0 as O, v as be, u as Q, q as ke, b as _e } from "./index-uKtRJCBz.js";
2
+ import { o as ye } from "./index-client-Do2kIgoF.js";
3
+ import { c as E } from "./index-O5kp37c8.js";
4
+ import { h as Me, i as B, s as $e } from "./legacy-geya0WEO.js";
5
+ var ze = $("<li><a> </a></li>"), Ce = $("<ul></ul>");
6
+ function se(g, t) {
7
+ I(t, !0);
8
+ let i = T(t, "links", 7);
9
+ const l = E({
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: f } = l();
16
- var s = Ne();
17
- return D(s, 21, i, E, (r, t) => {
18
- let v = () => h(t).text, o = () => h(t).href;
19
- var w = Ve(), x = g(w), b = g(x, !0);
20
- n(x), n(w), y(
21
- (p, C) => {
22
- N(w, 1, p), N(x, 1, C), X(x, "href", o()), L(b, v());
15
+ }), { base: m, item: c, links: u } = l();
16
+ var s = Ce();
17
+ return R(s, 21, i, D, (r, e) => {
18
+ let p = () => f(e).text, o = () => f(e).href;
19
+ var x = ze(), w = v(x), b = v(w, !0);
20
+ n(w), n(x), y(
21
+ (d, z) => {
22
+ V(x, 1, d), V(w, 1, z), X(w, "href", o()), C(b, p());
23
23
  },
24
24
  [
25
- () => V(c()),
26
- () => V(f())
25
+ () => L(c()),
26
+ () => L(u())
27
27
  ]
28
- ), u(r, w);
29
- }), n(s), y((r) => N(s, 1, r), [() => V(m())]), u(d, s), S({
28
+ ), h(r, x);
29
+ }), n(s), y((r) => V(s, 1, r), [() => L(m())]), h(g, s), S({
30
30
  get links() {
31
31
  return i();
32
32
  },
@@ -35,61 +35,40 @@ function te(d, e) {
35
35
  }
36
36
  });
37
37
  }
38
- z(te, { links: {} }, [], [], !0);
39
- var ze = ce(`<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 718.9 79.5"><defs><style>.st0 {
40
- fill: #fff;
41
- font-family: MyriadPro-Regular, 'Myriad Pro';
42
- font-size: 44.3px;
43
- }
44
-
45
- .st0, .st1 {
46
- isolation: isolate;
47
- }
48
-
49
- .st2 {
50
- fill: #221f20;
51
- }
52
-
53
- .st3 {
54
- fill: #e51937;
55
- }</style></defs><g><rect class="st2" x="1.5" y="1.5" width="715.9" height="76.5"></rect><path class="st3" d="M715.9,3v73.5H3V3h712.9M718.9,0H0v79.5h718.9V0h0Z"></path></g><g class="st1"><text class="st0" transform="translate(107.3 54.3)"><tspan x="0" y="0">IMP</tspan></text><text class="st0" transform="translate(177 54.3)"><tspan x="0" y="0">R</tspan></text><text class="st0" transform="translate(201 54.3)"><tspan x="0" y="0">OVE LIFE NO PADDING</tspan></text></g></svg>`);
56
- function se(d) {
57
- var e = ze();
58
- u(d, e);
59
- }
60
- z(se, {}, [], [], !0);
61
- var He = $('<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"><!></a>');
62
- function ae(d) {
63
- var e = He(), i = g(e);
64
- se(i), n(e), u(d, e);
38
+ N(se, { links: {} }, [], [], !0);
39
+ const Le = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 718.9 79.5"><defs><style>.st0{fill:#fff;font-family:MyriadPro-Regular,&quot;Myriad Pro&quot;,sans-serif;font-size:44.3px;isolation:isolate}</style></defs><path d="M1.5 1.5h715.9V78H1.5z" style="fill:#221f20"/><path d="M715.9 3v73.5H3V3zm3-3H0v79.5h718.9z" style="fill:#e51937"/><g style="isolation:isolate"><text class="st0" transform="translate(107.3 54.3)"><tspan x="0" y="0">IMP</tspan></text><text class="st0" transform="translate(177 54.3)"><tspan x="0" y="0">R</tspan></text><text class="st0" transform="translate(201 54.3)"><tspan x="0" y="0">OVE LIFE NO PADDING</tspan></text></g></svg>';
40
+ var Ve = $('<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 ae(g) {
42
+ var t = Ve(), i = v(t);
43
+ Me(i, () => Le), n(t), h(g, t);
65
44
  }
66
- z(ae, {}, [], [], !0);
45
+ N(ae, {}, [], [], !0);
67
46
  /*!
68
47
  * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
69
48
  * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
70
49
  * Copyright 2024 Fonticons, Inc.
71
50
  */
72
- const Ae = {
51
+ const Ne = {
73
52
  prefix: "fab",
74
53
  iconName: "linkedin-in",
75
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"]
76
- }, Pe = {
55
+ }, He = {
77
56
  prefix: "fab",
78
57
  iconName: "facebook-f",
79
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"]
80
- }, Ie = {
59
+ }, Ae = {
81
60
  prefix: "fab",
82
61
  iconName: "x-twitter",
83
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"]
84
- }, Se = {
63
+ }, Pe = {
85
64
  prefix: "fab",
86
65
  iconName: "tiktok",
87
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"]
88
- }, Fe = {
67
+ }, Ie = {
89
68
  prefix: "fab",
90
69
  iconName: "instagram",
91
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"]
92
- }, Ge = {
71
+ }, Se = {
93
72
  prefix: "fab",
94
73
  iconName: "youtube",
95
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"]
@@ -98,37 +77,37 @@ const Ae = {
98
77
  links: [
99
78
  {
100
79
  text: "X",
101
- icon: Ie,
80
+ icon: Ae,
102
81
  href: "https://twitter.com/uofg",
103
82
  classes: "focus:text-black hover:text-black focus:bg-white hover:bg-white"
104
83
  },
105
84
  {
106
85
  text: "Facebook",
107
- icon: Pe,
86
+ icon: He,
108
87
  href: "https://www.facebook.com/uofguelph",
109
88
  classes: "focus:text-white hover:text-white focus:bg-[#0866ff] hover:bg-[#0866ff]"
110
89
  },
111
90
  {
112
91
  text: "Instagram",
113
- icon: Fe,
92
+ icon: Ie,
114
93
  href: "https://www.instagram.com/uofguelph/",
115
94
  classes: "focus:text-white hover:text-white focus:bg-[#d62976] hover:bg-[#d62976]"
116
95
  },
117
96
  {
118
97
  text: "Youtube",
119
- icon: Ge,
98
+ icon: Se,
120
99
  href: "https://www.youtube.com/user/uofguelph",
121
100
  classes: "focus:text-white hover:text-white focus:bg-[#ff0000] hover:bg-[#ff0000]"
122
101
  },
123
102
  {
124
103
  text: "LinkedIn",
125
- icon: Ae,
104
+ icon: Ne,
126
105
  href: "https://www.linkedin.com/school/university-of-guelph/",
127
106
  classes: "focus:text-white hover:text-white focus:bg-[#0a66c2] hover:bg-[#0a66c2]"
128
107
  },
129
108
  {
130
109
  text: "TikTok",
131
- icon: Se,
110
+ icon: Pe,
132
111
  href: "https://www.tiktok.com/@uofguelph",
133
112
  classes: "focus:text-black hover:text-black focus:bg-white hover:bg-white"
134
113
  }
@@ -136,27 +115,27 @@ const Ae = {
136
115
  }, ee = [
137
116
  {
138
117
  text: "Accessibility",
139
- icon: ue,
118
+ icon: ce,
140
119
  href: "https://www.uoguelph.ca/diversity-human-rights/accessibility-u-g"
141
120
  },
142
121
  {
143
122
  text: "Privacy",
144
- icon: fe,
123
+ icon: ue,
145
124
  href: "https://www.uoguelph.ca/web/privacy/"
146
125
  },
147
126
  {
148
127
  text: "Site Map",
149
- icon: he,
128
+ icon: fe,
150
129
  href: "https://www.uoguelph.ca/sitemap"
151
130
  },
152
131
  {
153
132
  text: "Status Page",
154
- icon: de,
133
+ icon: he,
155
134
  href: "https://uoguelph.statuspage.io/"
156
135
  },
157
136
  {
158
137
  text: "Land Acknowledgement",
159
- icon: pe,
138
+ icon: de,
160
139
  href: "https://www.uoguelph.ca/land-acknowledgement/",
161
140
  attributes: {
162
141
  title: "The University of Guelph resides on the treaty lands and territory of the Mississaugas of the Credit. We recognize that today this gathering place is home to many First Nations, Inuit and Métis peoples and acknowledging them reminds us of our collective responsibility to the land where we learn and work."
@@ -164,27 +143,27 @@ const Ae = {
164
143
  },
165
144
  {
166
145
  text: "Careers",
167
- icon: ve,
146
+ icon: pe,
168
147
  href: "https://careers.uoguelph.ca/"
169
148
  },
170
149
  {
171
150
  text: "Undergraduate Calendar",
172
- icon: B,
151
+ icon: J,
173
152
  href: "https://www.uoguelph.ca/registrar/calendars/undergraduate/current/"
174
153
  },
175
154
  {
176
155
  text: "Graduate Calendar",
177
- icon: B,
156
+ icon: J,
178
157
  href: "https://www.uoguelph.ca/registrar/calendars/graduate/current/"
179
158
  },
180
159
  {
181
160
  text: "Admission",
182
- icon: ge,
161
+ icon: ve,
183
162
  href: "https://uoguelph.ca/admission"
184
163
  },
185
164
  {
186
165
  text: "Give to U of G",
187
- icon: we,
166
+ icon: ge,
188
167
  href: "https://www.alumni.uoguelph.ca/give-to-guelph/how-to-give"
189
168
  }
190
169
  ], H = {
@@ -194,40 +173,40 @@ const Ae = {
194
173
  postalCode: "N1G 2W1",
195
174
  phoneNumber: "519-824-4120"
196
175
  };
197
- var Te = $("<li><a><!></a></li>"), Ue = $("<ul></ul>");
198
- function oe(d, e) {
199
- I(e, !1);
200
- const i = Y({
176
+ var Fe = $("<li><a><!></a></li>"), Ge = $("<ul></ul>");
177
+ function oe(g, t) {
178
+ I(t, !1);
179
+ const i = E({
201
180
  slots: {
202
181
  base: "flex gap-2 text-lg [&>li]:contents",
203
182
  links: "border border-current p-0.5 transition-colors hover:border-transparent focus:border-transparent [&>*]:aspect-square"
204
183
  }
205
184
  }), { base: l, links: m } = i();
206
- j();
207
- var c = Ue();
208
- D(c, 5, () => re.links, E, (f, s, r, t) => {
209
- let v = () => h(s).href, o = () => h(s).text, w = () => h(s).icon, x = () => h(s).classes;
210
- var b = Te(), p = g(b), C = g(p);
211
- xe(C, {
185
+ B();
186
+ var c = Ge();
187
+ R(c, 5, () => re.links, D, (u, s, r, e) => {
188
+ let p = () => f(s).href, o = () => f(s).text, x = () => f(s).icon, w = () => f(s).classes;
189
+ var b = Fe(), d = v(b), z = v(d);
190
+ xe(z, {
212
191
  get icon() {
213
- return w();
192
+ return x();
214
193
  }
215
- }), n(p), n(b), y(
194
+ }), n(d), n(b), y(
216
195
  (a) => {
217
- X(p, "href", v()), X(p, "aria-label", o()), N(p, 1, a);
196
+ X(d, "href", p()), X(d, "aria-label", o()), V(d, 1, a);
218
197
  },
219
198
  [
220
- () => V(me(m(), x()))
199
+ () => L(te(m(), w()))
221
200
  ],
222
201
  A
223
- ), u(f, b);
224
- }), n(c), y((f) => N(c, 1, f), [() => V(l())], A), u(d, c), S();
202
+ ), h(u, b);
203
+ }), n(c), y((u) => V(c, 1, u), [() => L(l())], A), h(g, c), S();
225
204
  }
226
- z(oe, {}, [], [], !0);
227
- var Oe = $("<a><!></a>");
228
- function P(d, e) {
229
- I(e, !0);
230
- let i = T(e, "href", 7), l = T(e, "label", 7), m = T(e, "children", 7), c = T(e, "class", 7), f = ke(e, [
205
+ N(oe, {}, [], [], !0);
206
+ var Te = $("<a><!></a>");
207
+ function P(g, t) {
208
+ I(t, !0);
209
+ let i = T(t, "href", 7), l = T(t, "label", 7), m = T(t, "children", 7), c = T(t, "class", 7), u = me(t, [
231
210
  "$$slots",
232
211
  "$$events",
233
212
  "$$legacy",
@@ -237,16 +216,16 @@ function P(d, e) {
237
216
  "children",
238
217
  "class"
239
218
  ]);
240
- const s = be("w-fit underline decoration-transparent transition-colors hover:decoration-black-contrast focus:decoration-black-contrast", c());
241
- var r = Oe();
242
- let t;
243
- var v = g(r);
244
- return Le(v, m), n(r), y(() => t = _e(r, t, {
245
- ...f,
219
+ const s = te("w-fit underline decoration-transparent transition-colors hover:decoration-black-contrast focus:decoration-black-contrast", c());
220
+ var r = Te();
221
+ let e;
222
+ var p = v(r);
223
+ return $e(p, m), n(r), y(() => e = we(r, e, {
224
+ ...u,
246
225
  class: s,
247
226
  href: i(),
248
227
  "aria-label": l() ?? void 0
249
- })), u(d, r), S({
228
+ })), h(g, r), S({
250
229
  get href() {
251
230
  return i();
252
231
  },
@@ -273,7 +252,7 @@ function P(d, e) {
273
252
  }
274
253
  });
275
254
  }
276
- z(
255
+ N(
277
256
  P,
278
257
  {
279
258
  href: {},
@@ -285,204 +264,204 @@ z(
285
264
  [],
286
265
  !0
287
266
  );
288
- var Re = $("<li><!></li>"), De = $("<li><!></li>"), Ee = $("<ul></ul> <ul></ul>", 1);
289
- function ne(d, e) {
290
- I(e, !1);
291
- const i = Y({
267
+ var Ue = $("<li><!></li>"), qe = $("<li><!></li>"), Oe = $("<ul></ul> <ul></ul>", 1);
268
+ function ne(g, t) {
269
+ I(t, !1);
270
+ const i = E({
292
271
  slots: {
293
272
  list: "grid grid-rows-5 items-center gap-0 not-italic",
294
273
  link: "flex h-full items-center"
295
274
  }
296
275
  }), { list: l, link: m } = i();
297
- j();
298
- var c = Ee(), f = W(c);
299
- D(f, 5, () => ee, E, (r, t, v) => {
300
- let o = () => h(t).href, w = () => h(t).attributes, x = () => h(t).text;
301
- var b = J(), p = W(b);
276
+ B();
277
+ var c = Oe(), u = W(c);
278
+ R(u, 5, () => ee, D, (r, e, p) => {
279
+ let o = () => f(e).href, x = () => f(e).attributes, w = () => f(e).text;
280
+ var b = K(), d = W(b);
302
281
  {
303
- var C = (a) => {
304
- var _ = Re(), k = g(_);
282
+ var z = (a) => {
283
+ var k = Ue(), _ = v(k);
305
284
  const F = A(m);
306
- P(k, K(
285
+ P(_, Z(
307
286
  {
308
287
  get class() {
309
- return h(F);
288
+ return f(F);
310
289
  },
311
290
  get href() {
312
291
  return o();
313
292
  }
314
293
  },
315
- w,
294
+ x,
316
295
  {
317
- children: (q, le) => {
318
- O();
319
- var G = R();
320
- y(() => L(G, x())), u(q, G);
296
+ children: (Y, le) => {
297
+ q();
298
+ var G = O();
299
+ y(() => C(G, w())), h(Y, G);
321
300
  },
322
301
  $$slots: { default: !0 }
323
302
  }
324
- )), n(_), u(a, _);
303
+ )), n(k), h(a, k);
325
304
  };
326
- Z(p, (a) => {
327
- v % 2 === 0 && a(C);
305
+ j(d, (a) => {
306
+ p % 2 === 0 && a(z);
328
307
  });
329
308
  }
330
- u(r, b);
331
- }), n(f);
332
- var s = M(f, 2);
333
- D(s, 5, () => ee, E, (r, t, v) => {
334
- let o = () => h(t).href, w = () => h(t).attributes, x = () => h(t).text;
335
- var b = J(), p = W(b);
309
+ h(r, b);
310
+ }), n(u);
311
+ var s = M(u, 2);
312
+ R(s, 5, () => ee, D, (r, e, p) => {
313
+ let o = () => f(e).href, x = () => f(e).attributes, w = () => f(e).text;
314
+ var b = K(), d = W(b);
336
315
  {
337
- var C = (a) => {
338
- var _ = De(), k = g(_);
316
+ var z = (a) => {
317
+ var k = qe(), _ = v(k);
339
318
  const F = A(m);
340
- P(k, K(
319
+ P(_, Z(
341
320
  {
342
321
  get class() {
343
- return h(F);
322
+ return f(F);
344
323
  },
345
324
  get href() {
346
325
  return o();
347
326
  }
348
327
  },
349
- w,
328
+ x,
350
329
  {
351
- children: (q, le) => {
352
- O();
353
- var G = R();
354
- y(() => L(G, x())), u(q, G);
330
+ children: (Y, le) => {
331
+ q();
332
+ var G = O();
333
+ y(() => C(G, w())), h(Y, G);
355
334
  },
356
335
  $$slots: { default: !0 }
357
336
  }
358
- )), n(_), u(a, _);
337
+ )), n(k), h(a, k);
359
338
  };
360
- Z(p, (a) => {
361
- v % 2 !== 0 && a(C);
339
+ j(d, (a) => {
340
+ p % 2 !== 0 && a(z);
362
341
  });
363
342
  }
364
- u(r, b);
343
+ h(r, b);
365
344
  }), n(s), y(
366
- (r, t) => {
367
- N(f, 1, r), N(s, 1, t);
345
+ (r, e) => {
346
+ V(u, 1, r), V(s, 1, e);
368
347
  },
369
348
  [
370
- () => V(l()),
371
- () => V(l())
349
+ () => L(l()),
350
+ () => L(l())
372
351
  ],
373
352
  A
374
- ), u(d, c), S();
353
+ ), h(g, c), S();
375
354
  }
376
- z(ne, {}, [], [], !0);
377
- var Ye = $('<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>');
378
- function ie(d, e) {
379
- I(e, !1), j();
380
- var i = Ye(), l = g(i), m = g(l, !0);
355
+ N(ne, {}, [], [], !0);
356
+ var Re = $('<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 ie(g, t) {
358
+ I(t, !1), B();
359
+ var i = Re(), l = v(i), m = v(l, !0);
381
360
  n(l);
382
- var c = M(l, 2), f = g(c);
361
+ var c = M(l, 2), u = v(c);
383
362
  n(c);
384
- var s = M(c, 2), r = g(s);
363
+ var s = M(c, 2), r = v(s);
385
364
  n(s);
386
- var t = M(s, 2), v = g(t, !0);
387
- n(t);
388
- var o = M(t, 2);
389
- const w = A(() => `tel:${H.phoneNumber}`);
365
+ var e = M(s, 2), p = v(e, !0);
366
+ n(e);
367
+ var o = M(e, 2);
368
+ const x = A(() => `tel:${H.phoneNumber}`);
390
369
  P(o, {
391
370
  get href() {
392
- return h(w);
371
+ return f(x);
393
372
  },
394
- children: (x, b) => {
395
- O();
396
- var p = R();
397
- y(() => L(p, H.phoneNumber)), u(x, p);
373
+ children: (w, b) => {
374
+ q();
375
+ var d = O();
376
+ y(() => C(d, H.phoneNumber)), h(w, d);
398
377
  },
399
378
  $$slots: { default: !0 }
400
379
  }), n(i), y(() => {
401
- L(m, H.title), L(f, `${H.street},`), L(r, `${H.city}, Ontario, Canada`), L(v, H.postalCode);
402
- }), u(d, i), S();
380
+ C(m, H.title), C(u, `${H.street},`), C(r, `${H.city}, Ontario, Canada`), C(p, H.postalCode);
381
+ }), h(g, i), S();
403
382
  }
404
- z(ie, {}, [], [], !0);
405
- var qe = $("<footer><!> <div><div><!> <!> <!> <!></div> <!> <!></div></footer>");
406
- function We(d, e) {
407
- I(e, !0);
408
- const i = Y({
383
+ N(ie, {}, [], [], !0);
384
+ var De = $("<footer><!> <div><div><!> <!> <!> <!></div> <!> <!></div></footer>");
385
+ function Ee(g, t) {
386
+ I(t, !0);
387
+ const i = E({
409
388
  slots: {
410
389
  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",
411
390
  wrapper: "mb-6 grid grid-rows-5 items-center gap-0 not-italic md:mb-0"
412
391
  }
413
392
  });
414
- let l = ye(Q([]));
415
- Ce(() => {
393
+ let l = be(Q([]));
394
+ ye(() => {
416
395
  const a = () => {
417
- Me(l, Q(Array.from(e.$$host.children).filter((k) => k.tagName === "A").map((k) => ({
418
- text: k.textContent ?? "",
419
- href: k.getAttribute("href") ?? ""
396
+ ke(l, Q(Array.from(t.$$host.children).filter((_) => _.tagName === "A").map((_) => ({
397
+ text: _.textContent ?? "",
398
+ href: _.getAttribute("href") ?? ""
420
399
  }))));
421
400
  };
422
401
  a();
423
- const _ = new MutationObserver(a);
424
- return _.observe(e.$$host, { childList: !0, subtree: !0 }), () => {
425
- _.disconnect();
402
+ const k = new MutationObserver(a);
403
+ return k.observe(t.$$host, { childList: !0, subtree: !0 }), () => {
404
+ k.disconnect();
426
405
  };
427
406
  });
428
407
  const { footer: m, wrapper: c } = i();
429
- var f = qe(), s = g(f);
408
+ var u = De(), s = v(u);
430
409
  {
431
410
  var r = (a) => {
432
- te(a, {
411
+ se(a, {
433
412
  get links() {
434
- return h(l);
413
+ return f(l);
435
414
  }
436
415
  });
437
416
  };
438
- Z(s, (a) => {
439
- Array.isArray(h(l)) && h(l).length > 0 && a(r);
417
+ j(s, (a) => {
418
+ Array.isArray(f(l)) && f(l).length > 0 && a(r);
440
419
  });
441
420
  }
442
- var t = M(s, 2), v = g(t), o = g(v);
421
+ var e = M(s, 2), p = v(e), o = v(p);
443
422
  ae(o);
444
- var w = M(o, 2);
445
- oe(w, {});
446
- var x = M(w, 2);
447
- P(x, {
423
+ var x = M(o, 2);
424
+ oe(x, {});
425
+ var w = M(x, 2);
426
+ P(w, {
448
427
  get href() {
449
428
  return re.directory;
450
429
  },
451
- children: (a, _) => {
452
- O();
453
- var k = R("Social Media Directory");
454
- u(a, k);
430
+ children: (a, k) => {
431
+ q();
432
+ var _ = O("Social Media Directory");
433
+ h(a, _);
455
434
  },
456
435
  $$slots: { default: !0 }
457
436
  });
458
- var b = M(x, 2);
437
+ var b = M(w, 2);
459
438
  P(b, {
460
439
  href: "https://www.uoguelph.ca/web/",
461
- children: (a, _) => {
462
- O();
463
- var k = R();
464
- y((F) => L(k, `© ${F ?? ""} University of Guelph`), [() => (/* @__PURE__ */ new Date()).getFullYear()]), u(a, k);
440
+ children: (a, k) => {
441
+ q();
442
+ var _ = O();
443
+ y((F) => C(_, `© ${F ?? ""} University of Guelph`), [() => (/* @__PURE__ */ new Date()).getFullYear()]), h(a, _);
465
444
  },
466
445
  $$slots: { default: !0 }
467
- }), n(v);
468
- var p = M(v, 2);
469
- ne(p, {});
470
- var C = M(p, 2);
471
- ie(C, {}), n(t), n(f), y(
472
- (a, _) => {
473
- N(t, 1, a), N(v, 1, _);
446
+ }), n(p);
447
+ var d = M(p, 2);
448
+ ne(d, {});
449
+ var z = M(d, 2);
450
+ ie(z, {}), n(e), n(u), y(
451
+ (a, k) => {
452
+ V(e, 1, a), V(p, 1, k);
474
453
  },
475
454
  [
476
- () => V(m()),
477
- () => V(c())
455
+ () => L(m()),
456
+ () => L(c())
478
457
  ]
479
- ), u(d, f), S();
458
+ ), h(g, u), S();
480
459
  }
481
- customElements.define("uofg-footer", z(We, {}, [], [], !0, (d) => class extends d {
460
+ customElements.define("uofg-footer", N(Ee, {}, [], [], !0, (g) => class extends g {
482
461
  constructor() {
483
- super(), $e(this.shadowRoot);
462
+ super(), _e(this.shadowRoot);
484
463
  }
485
464
  }));
486
465
  export {
487
- We as default
466
+ Ee as default
488
467
  };