@uoguelph/web-components 2.0.9-rc.0 → 2.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/uofg-web-components/{index-BxiW26Pq.js → index-vFAkOjrl.js} +4977 -4905
- package/dist/uofg-web-components/uofg-footer.esm.js +100 -103
- package/dist/uofg-web-components/uofg-header.esm.js +787 -704
- package/dist/uofg-web-components/uofg-web-components.esm.js +3 -4
- package/package.json +1 -1
- package/dist/uofg-web-components/index-CsiSOAU0.js +0 -139
- package/dist/uofg-web-components/index-client-DG7fHzcC.js +0 -20
- package/dist/uofg-web-components/legacy-Bte-v9mf.js +0 -98
- package/dist/uofg-web-components/slot-DAai__2s.js +0 -18
- package/dist/uofg-web-components/uofg-alert.esm.js +0 -74
- package/dist/uofg-web-components/uofg-back-to-top.esm.js +0 -33
- package/dist/uofg-web-components/uofg-modal.esm.js +0 -231
- package/dist/uofg-web-components/window-Br-wveUj.js +0 -25
|
@@ -1,43 +1,40 @@
|
|
|
1
|
-
import { c as H, p as S, a as
|
|
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";
|
|
1
|
+
import { c as H, p as S, a as P, b as E, f as V, e as q, d as p, r as o, t as y, g as z, s as L, h as Z, i as f, j as $, k as u, l as D, m as F, n as T, o as i1, q as n1, u as h1, v as f1, w as u1, x as v1, y as d1, z as K, A as p1, B as g1, C as J, F as w1, D as e1, E as m1, G as R, H as M, I as W, J as Y, K as X, L as U, M as B, N as j, O as x1, P as b1, Q as k1, R as _1, S as y1 } from "./index-vFAkOjrl.js";
|
|
5
2
|
var M1 = V("<li><a> </a></li>"), V1 = V("<ul></ul>");
|
|
6
3
|
function t1(g, a) {
|
|
7
4
|
S(a, !0);
|
|
8
|
-
let l =
|
|
9
|
-
const
|
|
5
|
+
let l = P(a, "links");
|
|
6
|
+
const c = E({
|
|
10
7
|
slots: {
|
|
11
8
|
base: "flex flex-wrap items-center justify-center bg-white p-3 px-[max(calc((100%-1320px)/2),2rem)]",
|
|
12
9
|
item: "p-3",
|
|
13
10
|
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
11
|
}
|
|
15
|
-
}), { base:
|
|
12
|
+
}), { base: m, item: i, links: h } = c();
|
|
16
13
|
var n = {
|
|
17
14
|
get links() {
|
|
18
15
|
return l();
|
|
19
16
|
},
|
|
20
17
|
set links(e) {
|
|
21
|
-
l(e),
|
|
18
|
+
l(e), T();
|
|
22
19
|
}
|
|
23
20
|
}, r = V1();
|
|
24
|
-
return
|
|
21
|
+
return q(r, 21, l, D, (e, s) => {
|
|
25
22
|
let k = () => f(s).text, _ = () => f(s).href;
|
|
26
|
-
var
|
|
27
|
-
o(v), o(
|
|
23
|
+
var w = M1(), v = p(w), d = p(v, !0);
|
|
24
|
+
o(v), o(w), y(
|
|
28
25
|
(C, t) => {
|
|
29
|
-
L(
|
|
26
|
+
L(w, 1, C), L(v, 1, t), Z(v, "href", _()), $(d, k());
|
|
30
27
|
},
|
|
31
|
-
[() => z(
|
|
32
|
-
), u(e,
|
|
33
|
-
}), o(r), y((e) => L(r, 1, e), [() => z(
|
|
28
|
+
[() => z(i()), () => z(h())]
|
|
29
|
+
), u(e, w);
|
|
30
|
+
}), o(r), y((e) => L(r, 1, e), [() => z(m())]), u(g, r), F(n);
|
|
34
31
|
}
|
|
35
32
|
H(t1, { links: {} }, [], [], !0);
|
|
36
33
|
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>';
|
|
37
34
|
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] [&>svg]:block [&>svg]:h-full [&>svg]:w-full [&>svg]:max-w-[25rem]"><!></a>');
|
|
38
35
|
function s1(g) {
|
|
39
36
|
var a = L1(), l = p(a);
|
|
40
|
-
|
|
37
|
+
i1(l, () => z1), o(a), u(g, a);
|
|
41
38
|
}
|
|
42
39
|
H(s1, {}, [], [], !0);
|
|
43
40
|
/*!
|
|
@@ -122,27 +119,27 @@ const C1 = {
|
|
|
122
119
|
}, Q = [
|
|
123
120
|
{
|
|
124
121
|
text: "Accessibility",
|
|
125
|
-
icon:
|
|
122
|
+
icon: n1,
|
|
126
123
|
href: "https://www.uoguelph.ca/diversity-human-rights/accessibility-u-g"
|
|
127
124
|
},
|
|
128
125
|
{
|
|
129
126
|
text: "Privacy",
|
|
130
|
-
icon:
|
|
127
|
+
icon: h1,
|
|
131
128
|
href: "https://www.uoguelph.ca/web/privacy/"
|
|
132
129
|
},
|
|
133
130
|
{
|
|
134
131
|
text: "Site Map",
|
|
135
|
-
icon:
|
|
132
|
+
icon: f1,
|
|
136
133
|
href: "https://www.uoguelph.ca/sitemap"
|
|
137
134
|
},
|
|
138
135
|
{
|
|
139
136
|
text: "IT Status",
|
|
140
|
-
icon:
|
|
137
|
+
icon: u1,
|
|
141
138
|
href: "https://uoguelph.statuspage.io/"
|
|
142
139
|
},
|
|
143
140
|
{
|
|
144
141
|
text: "Land Acknowledgement",
|
|
145
|
-
icon:
|
|
142
|
+
icon: v1,
|
|
146
143
|
href: "https://www.uoguelph.ca/land-acknowledgement/",
|
|
147
144
|
attributes: {
|
|
148
145
|
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."
|
|
@@ -150,27 +147,27 @@ const C1 = {
|
|
|
150
147
|
},
|
|
151
148
|
{
|
|
152
149
|
text: "Careers",
|
|
153
|
-
icon:
|
|
150
|
+
icon: d1,
|
|
154
151
|
href: "https://careers.uoguelph.ca/"
|
|
155
152
|
},
|
|
156
153
|
{
|
|
157
154
|
text: "Academic Calendar",
|
|
158
|
-
icon:
|
|
155
|
+
icon: K,
|
|
159
156
|
href: "https://calendar.uoguelph.ca/"
|
|
160
157
|
},
|
|
161
158
|
{
|
|
162
159
|
text: "Campus Status",
|
|
163
|
-
icon:
|
|
160
|
+
icon: K,
|
|
164
161
|
href: "https://www.uoguelph.ca/campus-status/"
|
|
165
162
|
},
|
|
166
163
|
{
|
|
167
164
|
text: "Admission",
|
|
168
|
-
icon:
|
|
165
|
+
icon: p1,
|
|
169
166
|
href: "https://uoguelph.ca/admission"
|
|
170
167
|
},
|
|
171
168
|
{
|
|
172
169
|
text: "Give to U of G",
|
|
173
|
-
icon:
|
|
170
|
+
icon: g1,
|
|
174
171
|
href: "https://www.alumni.uoguelph.ca/give-to-guelph/how-to-give"
|
|
175
172
|
}
|
|
176
173
|
], N = {
|
|
@@ -180,89 +177,89 @@ const C1 = {
|
|
|
180
177
|
postalCode: "N1G 2W1",
|
|
181
178
|
phoneNumber: "519-824-4120"
|
|
182
179
|
};
|
|
183
|
-
var I1 = V("<li><a><!></a></li>"),
|
|
180
|
+
var I1 = V("<li><a><!></a></li>"), G1 = V("<ul></ul>");
|
|
184
181
|
function r1(g, a) {
|
|
185
182
|
S(a, !1);
|
|
186
|
-
const l =
|
|
183
|
+
const l = E({
|
|
187
184
|
slots: {
|
|
188
185
|
base: "flex gap-2 text-lg [&>li]:contents",
|
|
189
186
|
links: "p-0.5 transition-colors [&>*]:aspect-square"
|
|
190
187
|
}
|
|
191
|
-
}), { base:
|
|
192
|
-
|
|
193
|
-
var
|
|
194
|
-
|
|
195
|
-
let s = () => f(n).href, k = () => f(n).text, _ = () => f(n).icon,
|
|
188
|
+
}), { base: c, links: m } = l();
|
|
189
|
+
J();
|
|
190
|
+
var i = G1();
|
|
191
|
+
q(i, 5, () => a1.links, D, (h, n, r, e) => {
|
|
192
|
+
let s = () => f(n).href, k = () => f(n).text, _ = () => f(n).icon, w = () => f(n).classes;
|
|
196
193
|
var v = I1(), d = p(v), C = p(d);
|
|
197
|
-
|
|
194
|
+
w1(C, {
|
|
198
195
|
get icon() {
|
|
199
196
|
return _();
|
|
200
197
|
}
|
|
201
198
|
}), o(d), o(v), y(
|
|
202
199
|
(t) => {
|
|
203
|
-
|
|
200
|
+
Z(d, "href", s()), Z(d, "aria-label", k()), L(d, 1, t);
|
|
204
201
|
},
|
|
205
|
-
[() => z(e1(
|
|
202
|
+
[() => z(e1(m(), w()))]
|
|
206
203
|
), u(h, v);
|
|
207
|
-
}), o(
|
|
204
|
+
}), o(i), y((h) => L(i, 1, h), [() => z(c())]), u(g, i), F();
|
|
208
205
|
}
|
|
209
206
|
H(r1, {}, [], [], !0);
|
|
210
|
-
var
|
|
207
|
+
var P1 = V("<a><!></a>");
|
|
211
208
|
function A(g, a) {
|
|
212
209
|
S(a, !0);
|
|
213
|
-
let l =
|
|
214
|
-
const h = e1("w-fit underline decoration-transparent transition-colors hover:decoration-black-contrast focus:decoration-black-contrast",
|
|
210
|
+
let l = P(a, "href"), c = P(a, "label"), m = P(a, "children"), i = P(a, "class");
|
|
211
|
+
const h = e1("w-fit underline decoration-transparent transition-colors hover:decoration-black-contrast focus:decoration-black-contrast", i());
|
|
215
212
|
var n = {
|
|
216
213
|
get href() {
|
|
217
214
|
return l();
|
|
218
215
|
},
|
|
219
216
|
set href(s) {
|
|
220
|
-
l(s),
|
|
217
|
+
l(s), T();
|
|
221
218
|
},
|
|
222
219
|
get label() {
|
|
223
|
-
return
|
|
220
|
+
return c();
|
|
224
221
|
},
|
|
225
222
|
set label(s) {
|
|
226
|
-
|
|
223
|
+
c(s), T();
|
|
227
224
|
},
|
|
228
225
|
get children() {
|
|
229
|
-
return
|
|
226
|
+
return m();
|
|
230
227
|
},
|
|
231
228
|
set children(s) {
|
|
232
|
-
|
|
229
|
+
m(s), T();
|
|
233
230
|
},
|
|
234
231
|
get class() {
|
|
235
|
-
return
|
|
232
|
+
return i();
|
|
236
233
|
},
|
|
237
234
|
set class(s) {
|
|
238
|
-
|
|
235
|
+
i(s), T();
|
|
239
236
|
}
|
|
240
|
-
}, r =
|
|
241
|
-
return
|
|
242
|
-
L(r, 1, z(h)),
|
|
237
|
+
}, r = P1(), e = p(r);
|
|
238
|
+
return m1(e, m), o(r), y(() => {
|
|
239
|
+
L(r, 1, z(h)), Z(r, "href", l()), Z(r, "aria-label", c() ?? void 0);
|
|
243
240
|
}), u(g, r), F(n);
|
|
244
241
|
}
|
|
245
242
|
H(A, { href: {}, label: {}, children: {}, class: {} }, [], [], !0);
|
|
246
|
-
var
|
|
243
|
+
var T1 = V("<li><!></li>"), Z1 = V("<li><!></li>"), U1 = V("<ul></ul> <ul></ul>", 1);
|
|
247
244
|
function o1(g, a) {
|
|
248
245
|
S(a, !1);
|
|
249
|
-
const l =
|
|
246
|
+
const l = E({
|
|
250
247
|
slots: {
|
|
251
248
|
list: "grid grid-rows-5 items-center gap-0 not-italic",
|
|
252
249
|
link: "flex h-full items-center"
|
|
253
250
|
}
|
|
254
|
-
}), { list:
|
|
255
|
-
|
|
256
|
-
var
|
|
257
|
-
|
|
258
|
-
let k = () => f(e).href, _ = () => f(e).attributes,
|
|
259
|
-
var v =
|
|
251
|
+
}), { list: c, link: m } = l();
|
|
252
|
+
J();
|
|
253
|
+
var i = U1(), h = R(i);
|
|
254
|
+
q(h, 5, () => Q, D, (r, e, s) => {
|
|
255
|
+
let k = () => f(e).href, _ = () => f(e).attributes, w = () => f(e).text;
|
|
256
|
+
var v = W(), d = R(v);
|
|
260
257
|
{
|
|
261
258
|
var C = (t) => {
|
|
262
|
-
var x =
|
|
259
|
+
var x = T1(), b = p(x);
|
|
263
260
|
{
|
|
264
|
-
let I = j(
|
|
265
|
-
A(b,
|
|
261
|
+
let I = j(m);
|
|
262
|
+
A(b, X(
|
|
266
263
|
{
|
|
267
264
|
get class() {
|
|
268
265
|
return f(I);
|
|
@@ -273,10 +270,10 @@ function o1(g, a) {
|
|
|
273
270
|
},
|
|
274
271
|
_,
|
|
275
272
|
{
|
|
276
|
-
children: (
|
|
273
|
+
children: (O, c1) => {
|
|
277
274
|
U();
|
|
278
|
-
var
|
|
279
|
-
y(() => $(
|
|
275
|
+
var G = B();
|
|
276
|
+
y(() => $(G, w())), u(O, G);
|
|
280
277
|
},
|
|
281
278
|
$$slots: { default: !0 }
|
|
282
279
|
}
|
|
@@ -284,22 +281,22 @@ function o1(g, a) {
|
|
|
284
281
|
}
|
|
285
282
|
o(x), u(t, x);
|
|
286
283
|
};
|
|
287
|
-
|
|
284
|
+
Y(d, (t) => {
|
|
288
285
|
s % 2 === 0 && t(C);
|
|
289
286
|
});
|
|
290
287
|
}
|
|
291
288
|
u(r, v);
|
|
292
289
|
}), o(h);
|
|
293
290
|
var n = M(h, 2);
|
|
294
|
-
|
|
295
|
-
let k = () => f(e).href, _ = () => f(e).attributes,
|
|
296
|
-
var v =
|
|
291
|
+
q(n, 5, () => Q, D, (r, e, s) => {
|
|
292
|
+
let k = () => f(e).href, _ = () => f(e).attributes, w = () => f(e).text;
|
|
293
|
+
var v = W(), d = R(v);
|
|
297
294
|
{
|
|
298
295
|
var C = (t) => {
|
|
299
|
-
var x =
|
|
296
|
+
var x = Z1(), b = p(x);
|
|
300
297
|
{
|
|
301
|
-
let I = j(
|
|
302
|
-
A(b,
|
|
298
|
+
let I = j(m);
|
|
299
|
+
A(b, X(
|
|
303
300
|
{
|
|
304
301
|
get class() {
|
|
305
302
|
return f(I);
|
|
@@ -310,10 +307,10 @@ function o1(g, a) {
|
|
|
310
307
|
},
|
|
311
308
|
_,
|
|
312
309
|
{
|
|
313
|
-
children: (
|
|
310
|
+
children: (O, c1) => {
|
|
314
311
|
U();
|
|
315
|
-
var
|
|
316
|
-
y(() => $(
|
|
312
|
+
var G = B();
|
|
313
|
+
y(() => $(G, w())), u(O, G);
|
|
317
314
|
},
|
|
318
315
|
$$slots: { default: !0 }
|
|
319
316
|
}
|
|
@@ -321,7 +318,7 @@ function o1(g, a) {
|
|
|
321
318
|
}
|
|
322
319
|
o(x), u(t, x);
|
|
323
320
|
};
|
|
324
|
-
|
|
321
|
+
Y(d, (t) => {
|
|
325
322
|
s % 2 !== 0 && t(C);
|
|
326
323
|
});
|
|
327
324
|
}
|
|
@@ -330,18 +327,18 @@ function o1(g, a) {
|
|
|
330
327
|
(r, e) => {
|
|
331
328
|
L(h, 1, r), L(n, 1, e);
|
|
332
329
|
},
|
|
333
|
-
[() => z(
|
|
334
|
-
), u(g,
|
|
330
|
+
[() => z(c()), () => z(c())]
|
|
331
|
+
), u(g, i), F();
|
|
335
332
|
}
|
|
336
333
|
H(o1, {}, [], [], !0);
|
|
337
334
|
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>');
|
|
338
335
|
function l1(g, a) {
|
|
339
|
-
S(a, !1),
|
|
340
|
-
var l = B1(),
|
|
341
|
-
o(i);
|
|
342
|
-
var c = M(i, 2), h = p(c);
|
|
336
|
+
S(a, !1), J();
|
|
337
|
+
var l = B1(), c = p(l), m = p(c, !0);
|
|
343
338
|
o(c);
|
|
344
|
-
var
|
|
339
|
+
var i = M(c, 2), h = p(i);
|
|
340
|
+
o(i);
|
|
341
|
+
var n = M(i, 2), r = p(n);
|
|
345
342
|
o(n);
|
|
346
343
|
var e = M(n, 2), s = p(e, !0);
|
|
347
344
|
o(e);
|
|
@@ -352,33 +349,33 @@ function l1(g, a) {
|
|
|
352
349
|
get href() {
|
|
353
350
|
return f(_);
|
|
354
351
|
},
|
|
355
|
-
children: (
|
|
352
|
+
children: (w, v) => {
|
|
356
353
|
U();
|
|
357
354
|
var d = B();
|
|
358
|
-
y(() => $(d, N.phoneNumber)), u(
|
|
355
|
+
y(() => $(d, N.phoneNumber)), u(w, d);
|
|
359
356
|
},
|
|
360
357
|
$$slots: { default: !0 }
|
|
361
358
|
});
|
|
362
359
|
}
|
|
363
360
|
o(l), y(() => {
|
|
364
|
-
$(
|
|
361
|
+
$(m, N.title), $(h, `${N.street},`), $(r, `${N.city}, Ontario, Canada`), $(s, N.postalCode);
|
|
365
362
|
}), u(g, l), F();
|
|
366
363
|
}
|
|
367
364
|
H(l1, {}, [], [], !0);
|
|
368
|
-
var
|
|
369
|
-
function
|
|
365
|
+
var q1 = V("<footer><!> <div><div><!> <!> <!> <!></div> <!> <!></div></footer>");
|
|
366
|
+
function D1(g, a) {
|
|
370
367
|
S(a, !0);
|
|
371
|
-
const l =
|
|
368
|
+
const l = E({
|
|
372
369
|
slots: {
|
|
373
370
|
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",
|
|
374
371
|
wrapper: "mb-6 grid grid-rows-5 items-center gap-0 not-italic md:mb-0"
|
|
375
372
|
}
|
|
376
373
|
});
|
|
377
|
-
let
|
|
374
|
+
let c = x1(b1([]));
|
|
378
375
|
k1(() => {
|
|
379
376
|
const t = () => {
|
|
380
|
-
|
|
381
|
-
|
|
377
|
+
_1(
|
|
378
|
+
c,
|
|
382
379
|
Array.from(a.$$host.children).filter((b) => b.tagName === "A").map((b) => ({
|
|
383
380
|
text: b.textContent ?? "",
|
|
384
381
|
href: b.getAttribute("href") ?? ""
|
|
@@ -392,26 +389,26 @@ function q1(g, a) {
|
|
|
392
389
|
x.disconnect();
|
|
393
390
|
};
|
|
394
391
|
});
|
|
395
|
-
const { footer:
|
|
396
|
-
var h =
|
|
392
|
+
const { footer: m, wrapper: i } = l();
|
|
393
|
+
var h = q1(), n = p(h);
|
|
397
394
|
{
|
|
398
395
|
var r = (t) => {
|
|
399
396
|
t1(t, {
|
|
400
397
|
get links() {
|
|
401
|
-
return f(
|
|
398
|
+
return f(c);
|
|
402
399
|
}
|
|
403
400
|
});
|
|
404
401
|
};
|
|
405
|
-
|
|
406
|
-
Array.isArray(f(
|
|
402
|
+
Y(n, (t) => {
|
|
403
|
+
Array.isArray(f(c)) && f(c).length > 0 && t(r);
|
|
407
404
|
});
|
|
408
405
|
}
|
|
409
406
|
var e = M(n, 2), s = p(e), k = p(s);
|
|
410
407
|
s1(k);
|
|
411
408
|
var _ = M(k, 2);
|
|
412
409
|
r1(_, {});
|
|
413
|
-
var
|
|
414
|
-
A(
|
|
410
|
+
var w = M(_, 2);
|
|
411
|
+
A(w, {
|
|
415
412
|
get href() {
|
|
416
413
|
return a1.directory;
|
|
417
414
|
},
|
|
@@ -422,7 +419,7 @@ function q1(g, a) {
|
|
|
422
419
|
},
|
|
423
420
|
$$slots: { default: !0 }
|
|
424
421
|
});
|
|
425
|
-
var v = M(
|
|
422
|
+
var v = M(w, 2);
|
|
426
423
|
A(v, {
|
|
427
424
|
href: "https://www.uoguelph.ca/web/",
|
|
428
425
|
children: (t, x) => {
|
|
@@ -439,14 +436,14 @@ function q1(g, a) {
|
|
|
439
436
|
(t, x) => {
|
|
440
437
|
L(e, 1, t), L(s, 1, x);
|
|
441
438
|
},
|
|
442
|
-
[() => z(
|
|
439
|
+
[() => z(m()), () => z(i())]
|
|
443
440
|
), u(g, h), F();
|
|
444
441
|
}
|
|
445
|
-
customElements.define("uofg-footer", H(
|
|
442
|
+
customElements.define("uofg-footer", H(D1, {}, [], [], !0, (g) => class extends g {
|
|
446
443
|
constructor() {
|
|
447
|
-
super(),
|
|
444
|
+
super(), y1(this.shadowRoot);
|
|
448
445
|
}
|
|
449
446
|
}));
|
|
450
447
|
export {
|
|
451
|
-
|
|
448
|
+
D1 as default
|
|
452
449
|
};
|