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