@uoguelph/web-components 1.2.0-rc.9 → 1.2.1-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.
- package/dist/uofg-web-components/{index-CSn7dBx6.js → index-Bx5sKUFM.js} +352 -356
- package/dist/uofg-web-components/uofg-alert.esm.js +1 -1
- package/dist/uofg-web-components/uofg-footer.esm.js +197 -171
- package/dist/uofg-web-components/uofg-header.esm.js +1144 -1028
- package/dist/uofg-web-components/uofg-modal.esm.js +13 -13
- package/dist/uofg-web-components/uofg-web-components.css +1 -1
- package/package.json +1 -1
- package/dist/uofg-web-components/decorative.svg +0 -1
- package/dist/uofg-web-components/improve-life.svg +0 -4
- package/dist/uofg-web-components/logo-small.svg +0 -1
- package/dist/uofg-web-components/logo.svg +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as A, S as B, i as D, a as G, s as H, F as I, f as J, b as $, e as v, d as K, g as h, h as w, j as L, k as m, m as M, u as x, l as q, n as y, t as p, o as d, p as N, q as O } from "./index-
|
|
1
|
+
import { c as A, S as B, i as D, a as G, s as H, F as I, f as J, b as $, e as v, d as K, g as h, h as w, j as L, k as m, m as M, u as x, l as q, n as y, t as p, o as d, p as N, q as O } from "./index-Bx5sKUFM.js";
|
|
2
2
|
const P = (e) => ({}), R = (e) => ({}), Q = (e) => ({}), T = (e) => ({}), V = (e) => ({}), U = (e) => ({}), W = (e) => ({}), z = (e) => ({});
|
|
3
3
|
function X(e) {
|
|
4
4
|
let s, f, r, c, g, u, j, k, b, o;
|
|
@@ -1,282 +1,308 @@
|
|
|
1
|
-
import { c as pe, S as de, i as ge,
|
|
2
|
-
|
|
1
|
+
import { c as pe, S as de, i as ge, s as ve, r as re, h as f, j as H, k as s, v as q, p as F, w as xe, a as _e, x as M, F as Y, y as ke, e as u, g as m, d as L, m as T, t as x, z as oe, o as _, q as j, A as E, B as Ce, C as $e, D as ae, E as ye, G as Ve, H as Me, I as He, J as Fe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.9-.5-.9-1.4-.9v-.4h7.1l.1 2.1h-.4l-.1-.3c-.3-1.1-.5-1.2-1.4-1.2h-2.5V7h2.2c.8 0 1-.1 1-1.1h.4v2.8h-.4c-.1-1-.3-1.1-1-1.1h-2.2v2.5c0 .9.1 1 .8 1h1.5c1.4 0 1.7-.2 2.1-1.6h.4l-.2 2.2h-7.4ZM107.4 10.9c0 .7-.5 1.1-1.3 1.1s-1.3-.4-1.3-1.1a1.2 1.2 0 0 1 1.3-1.2 1.2 1.2 0 0 1 1.3 1.2Z"), f(e, "xmlns", "http://www.w3.org/2000/svg"), f(e, "fill", "#fff"), f(e, "viewBox", "0 0 107.4 12");
|
|
7
|
+
},
|
|
8
|
+
m(t, l) {
|
|
9
|
+
H(t, e, l), s(e, r);
|
|
10
|
+
},
|
|
11
|
+
p: q,
|
|
12
|
+
i: q,
|
|
13
|
+
o: q,
|
|
14
|
+
d(t) {
|
|
15
|
+
t && F(e);
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
class me extends de {
|
|
20
|
+
constructor(e) {
|
|
21
|
+
super(), ge(this, e, null, Ae, ve, {});
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
pe(me, {}, [], [], !0);
|
|
25
|
+
var qe = {
|
|
3
26
|
prefix: "fab",
|
|
4
27
|
iconName: "square-twitter",
|
|
5
28
|
icon: [448, 512, ["twitter-square"], "f081", "M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zM351.3 199.3v0c0 86.7-66 186.6-186.6 186.6c-37.2 0-71.7-10.8-100.7-29.4c5.3 .6 10.4 .8 15.8 .8c30.7 0 58.9-10.4 81.4-28c-28.8-.6-53-19.5-61.3-45.5c10.1 1.5 19.2 1.5 29.6-1.2c-30-6.1-52.5-32.5-52.5-64.4v-.8c8.7 4.9 18.9 7.9 29.6 8.3c-9-6-16.4-14.1-21.5-23.6s-7.8-20.2-7.7-31c0-12.2 3.2-23.4 8.9-33.1c32.3 39.8 80.8 65.8 135.2 68.6c-9.3-44.5 24-80.6 64-80.6c18.9 0 35.9 7.9 47.9 20.7c14.8-2.8 29-8.3 41.6-15.8c-4.9 15.2-15.2 28-28.8 36.1c13.2-1.4 26-5.1 37.8-10.2c-8.9 13.1-20.1 24.7-32.9 34c.2 2.8 .2 5.7 .2 8.5z"]
|
|
6
|
-
},
|
|
29
|
+
}, Ne = qe, Ge = {
|
|
7
30
|
prefix: "fab",
|
|
8
31
|
iconName: "tiktok",
|
|
9
32
|
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"]
|
|
10
|
-
},
|
|
33
|
+
}, Le = {
|
|
11
34
|
prefix: "fab",
|
|
12
35
|
iconName: "square-facebook",
|
|
13
36
|
icon: [448, 512, ["facebook-square"], "f082", "M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64h98.2V334.2H109.4V256h52.8V222.3c0-87.1 39.4-127.5 125-127.5c16.2 0 44.2 3.2 55.7 6.4V172c-6-.6-16.5-1-29.6-1c-42 0-58.2 15.9-58.2 57.2V256h83.6l-14.4 78.2H255V480H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64z"]
|
|
14
|
-
}, Te =
|
|
37
|
+
}, Te = Le, je = {
|
|
15
38
|
prefix: "fab",
|
|
16
39
|
iconName: "linkedin",
|
|
17
40
|
icon: [448, 512, [], "f08c", "M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"]
|
|
18
|
-
},
|
|
41
|
+
}, Ie = {
|
|
19
42
|
prefix: "fab",
|
|
20
43
|
iconName: "instagram",
|
|
21
44
|
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"]
|
|
22
|
-
},
|
|
45
|
+
}, Ue = {
|
|
23
46
|
prefix: "fab",
|
|
24
47
|
iconName: "youtube",
|
|
25
48
|
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"]
|
|
26
49
|
};
|
|
27
|
-
function
|
|
28
|
-
const t =
|
|
50
|
+
function le(n, e, r) {
|
|
51
|
+
const t = n.slice();
|
|
29
52
|
return t[3] = e[r].href, t[4] = e[r].title, t[5] = e[r].icon, t[6] = e[r].text, t;
|
|
30
53
|
}
|
|
31
|
-
function
|
|
32
|
-
const t =
|
|
54
|
+
function se(n, e, r) {
|
|
55
|
+
const t = n.slice();
|
|
33
56
|
return t[3] = e[r].href, t[6] = e[r].text, t[5] = e[r].icon, t[9] = e[r].classes, t;
|
|
34
57
|
}
|
|
35
|
-
function
|
|
36
|
-
const t =
|
|
58
|
+
function ne(n, e, r) {
|
|
59
|
+
const t = n.slice();
|
|
37
60
|
return t[6] = e[r].text, t[3] = e[r].href, t;
|
|
38
61
|
}
|
|
39
|
-
function
|
|
40
|
-
let e, r =
|
|
62
|
+
function ie(n) {
|
|
63
|
+
let e, r = M(
|
|
41
64
|
/*subFooter*/
|
|
42
|
-
|
|
65
|
+
n[0]
|
|
43
66
|
), t = [];
|
|
44
67
|
for (let l = 0; l < r.length; l += 1)
|
|
45
|
-
t[l] = ne(
|
|
68
|
+
t[l] = fe(ne(n, r, l));
|
|
46
69
|
return {
|
|
47
70
|
c() {
|
|
48
|
-
e =
|
|
71
|
+
e = u("ul");
|
|
49
72
|
for (let l = 0; l < t.length; l += 1)
|
|
50
73
|
t[l].c();
|
|
51
74
|
f(e, "class", "flex flex-wrap items-center justify-center bg-uofg-blue-50 p-6 px-[max(calc((100%-1320px)/2),2rem)]");
|
|
52
75
|
},
|
|
53
76
|
m(l, i) {
|
|
54
77
|
H(l, e, i);
|
|
55
|
-
for (let
|
|
56
|
-
t[
|
|
78
|
+
for (let a = 0; a < t.length; a += 1)
|
|
79
|
+
t[a] && t[a].m(e, null);
|
|
57
80
|
},
|
|
58
81
|
p(l, i) {
|
|
59
82
|
if (i & /*subFooter*/
|
|
60
83
|
1) {
|
|
61
|
-
r =
|
|
84
|
+
r = M(
|
|
62
85
|
/*subFooter*/
|
|
63
86
|
l[0]
|
|
64
87
|
);
|
|
65
|
-
let
|
|
66
|
-
for (
|
|
67
|
-
const
|
|
68
|
-
t[
|
|
88
|
+
let a;
|
|
89
|
+
for (a = 0; a < r.length; a += 1) {
|
|
90
|
+
const p = ne(l, r, a);
|
|
91
|
+
t[a] ? t[a].p(p, i) : (t[a] = fe(p), t[a].c(), t[a].m(e, null));
|
|
69
92
|
}
|
|
70
|
-
for (;
|
|
71
|
-
t[
|
|
93
|
+
for (; a < t.length; a += 1)
|
|
94
|
+
t[a].d(1);
|
|
72
95
|
t.length = r.length;
|
|
73
96
|
}
|
|
74
97
|
},
|
|
75
98
|
d(l) {
|
|
76
|
-
l &&
|
|
99
|
+
l && F(e), E(t, l);
|
|
77
100
|
}
|
|
78
101
|
};
|
|
79
102
|
}
|
|
80
|
-
function
|
|
103
|
+
function fe(n) {
|
|
81
104
|
let e, r, t = (
|
|
82
105
|
/*text*/
|
|
83
|
-
|
|
84
|
-
), l, i,
|
|
106
|
+
n[6] + ""
|
|
107
|
+
), l, i, a;
|
|
85
108
|
return {
|
|
86
109
|
c() {
|
|
87
|
-
e =
|
|
88
|
-
|
|
110
|
+
e = u("li"), r = u("a"), l = Ce(t), a = m(), f(r, "class", "text-uofg-blue-500 transition-colors hover:text-uofg-blue-950 focus:text-uofg-blue-950"), f(r, "href", i = /*href*/
|
|
111
|
+
n[3]), f(e, "class", "border-0 border-r-2 border-solid border-uofg-blue-100 p-2 first:border-l-2");
|
|
89
112
|
},
|
|
90
|
-
m(
|
|
91
|
-
H(
|
|
113
|
+
m(p, v) {
|
|
114
|
+
H(p, e, v), s(e, r), s(r, l), s(e, a);
|
|
92
115
|
},
|
|
93
|
-
p(
|
|
94
|
-
|
|
116
|
+
p(p, v) {
|
|
117
|
+
v & /*subFooter*/
|
|
95
118
|
1 && t !== (t = /*text*/
|
|
96
|
-
|
|
119
|
+
p[6] + "") && $e(l, t), v & /*subFooter*/
|
|
97
120
|
1 && i !== (i = /*href*/
|
|
98
|
-
|
|
121
|
+
p[3]) && f(r, "href", i);
|
|
99
122
|
},
|
|
100
|
-
d(
|
|
101
|
-
|
|
123
|
+
d(p) {
|
|
124
|
+
p && F(e);
|
|
102
125
|
}
|
|
103
126
|
};
|
|
104
127
|
}
|
|
105
|
-
function
|
|
128
|
+
function he(n) {
|
|
106
129
|
let e, r, t, l, i;
|
|
107
|
-
return t = new
|
|
130
|
+
return t = new Y({ props: { icon: (
|
|
108
131
|
/*icon*/
|
|
109
|
-
|
|
132
|
+
n[5]
|
|
110
133
|
) } }), {
|
|
111
134
|
c() {
|
|
112
|
-
e =
|
|
135
|
+
e = u("li"), r = u("a"), L(t.$$.fragment), l = m(), f(
|
|
113
136
|
r,
|
|
114
137
|
"href",
|
|
115
138
|
/*href*/
|
|
116
|
-
|
|
139
|
+
n[3]
|
|
117
140
|
), f(
|
|
118
141
|
r,
|
|
119
142
|
"aria-label",
|
|
120
143
|
/*text*/
|
|
121
|
-
|
|
144
|
+
n[6]
|
|
122
145
|
), f(r, "class", `transition-colors ${/*classes*/
|
|
123
|
-
|
|
146
|
+
n[9]}`);
|
|
124
147
|
},
|
|
125
|
-
m(
|
|
126
|
-
H(
|
|
148
|
+
m(a, p) {
|
|
149
|
+
H(a, e, p), s(e, r), T(t, r, null), s(e, l), i = !0;
|
|
127
150
|
},
|
|
128
|
-
p:
|
|
129
|
-
i(
|
|
130
|
-
i || (
|
|
151
|
+
p: q,
|
|
152
|
+
i(a) {
|
|
153
|
+
i || (x(t.$$.fragment, a), i = !0);
|
|
131
154
|
},
|
|
132
|
-
o(
|
|
133
|
-
|
|
155
|
+
o(a) {
|
|
156
|
+
_(t.$$.fragment, a), i = !1;
|
|
134
157
|
},
|
|
135
|
-
d(
|
|
136
|
-
|
|
158
|
+
d(a) {
|
|
159
|
+
a && F(e), j(t);
|
|
137
160
|
}
|
|
138
161
|
};
|
|
139
162
|
}
|
|
140
|
-
function
|
|
141
|
-
let e, r, t, l, i,
|
|
142
|
-
return t = new
|
|
163
|
+
function ue(n) {
|
|
164
|
+
let e, r, t, l, i, a, p;
|
|
165
|
+
return t = new Y({ props: { icon: (
|
|
143
166
|
/*icon*/
|
|
144
|
-
|
|
167
|
+
n[5]
|
|
145
168
|
) } }), {
|
|
146
169
|
c() {
|
|
147
|
-
e =
|
|
148
|
-
|
|
170
|
+
e = u("li"), r = u("a"), L(t.$$.fragment), l = m(), i = u("span"), i.textContent = `${/*text*/
|
|
171
|
+
n[6]}`, a = m(), f(
|
|
149
172
|
r,
|
|
150
173
|
"href",
|
|
151
174
|
/*href*/
|
|
152
|
-
|
|
175
|
+
n[3]
|
|
153
176
|
), f(
|
|
154
177
|
r,
|
|
155
178
|
"title",
|
|
156
179
|
/*title*/
|
|
157
|
-
|
|
180
|
+
n[4] ?? ""
|
|
158
181
|
), f(r, "class", "flex justify-center items-center w-fit gap-3 border-0 border-b-2 border-dotted border-transparent transition-colors focus:border-white hover:border-white [&>svg]:fill-uofg-yellow");
|
|
159
182
|
},
|
|
160
|
-
m(
|
|
161
|
-
H(
|
|
183
|
+
m(v, k) {
|
|
184
|
+
H(v, e, k), s(e, r), T(t, r, null), s(r, l), s(r, i), s(e, a), p = !0;
|
|
162
185
|
},
|
|
163
|
-
p:
|
|
164
|
-
i(
|
|
165
|
-
|
|
186
|
+
p: q,
|
|
187
|
+
i(v) {
|
|
188
|
+
p || (x(t.$$.fragment, v), p = !0);
|
|
166
189
|
},
|
|
167
|
-
o(
|
|
168
|
-
|
|
190
|
+
o(v) {
|
|
191
|
+
_(t.$$.fragment, v), p = !1;
|
|
169
192
|
},
|
|
170
|
-
d(
|
|
171
|
-
|
|
193
|
+
d(v) {
|
|
194
|
+
v && F(e), j(t);
|
|
172
195
|
}
|
|
173
196
|
};
|
|
174
197
|
}
|
|
175
|
-
function
|
|
198
|
+
function Be(n) {
|
|
176
199
|
let e, r = Array.isArray(
|
|
177
200
|
/*subFooter*/
|
|
178
|
-
|
|
179
|
-
), t, l, i,
|
|
201
|
+
n[0]
|
|
202
|
+
), t, l, i, a, p, v, k, K, S, O, z, R, N, Z, W, w, I, J, U, Q, B, X, P, ee, C, V, te, D, G, b = r && ie(n);
|
|
203
|
+
p = new me({});
|
|
204
|
+
let $ = M(
|
|
180
205
|
/*socials*/
|
|
181
|
-
|
|
182
|
-
),
|
|
183
|
-
for (let
|
|
184
|
-
|
|
185
|
-
const
|
|
186
|
-
|
|
206
|
+
n[1]
|
|
207
|
+
), d = [];
|
|
208
|
+
for (let o = 0; o < $.length; o += 1)
|
|
209
|
+
d[o] = he(se(n, $, o));
|
|
210
|
+
const be = (o) => _(d[o], 1, 1, () => {
|
|
211
|
+
d[o] = null;
|
|
187
212
|
});
|
|
188
|
-
let y =
|
|
213
|
+
let y = M(
|
|
189
214
|
/*links*/
|
|
190
|
-
|
|
191
|
-
),
|
|
192
|
-
for (let
|
|
193
|
-
|
|
194
|
-
const
|
|
195
|
-
|
|
215
|
+
n[2]
|
|
216
|
+
), g = [];
|
|
217
|
+
for (let o = 0; o < y.length; o += 1)
|
|
218
|
+
g[o] = ue(le(n, y, o));
|
|
219
|
+
const we = (o) => _(g[o], 1, 1, () => {
|
|
220
|
+
g[o] = null;
|
|
196
221
|
});
|
|
197
|
-
return
|
|
222
|
+
return V = new Y({ props: { icon: ke } }), {
|
|
198
223
|
c() {
|
|
199
|
-
e =
|
|
200
|
-
for (let
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
for (let
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
},
|
|
207
|
-
m(
|
|
208
|
-
H(
|
|
209
|
-
for (let
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
for (let
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
},
|
|
216
|
-
p(
|
|
217
|
-
if (
|
|
224
|
+
e = u("footer"), b && b.c(), t = m(), l = u("div"), i = u("div"), a = u("a"), L(p.$$.fragment), v = m(), k = u("ul");
|
|
225
|
+
for (let o = 0; o < d.length; o += 1)
|
|
226
|
+
d[o].c();
|
|
227
|
+
K = m(), S = u("a"), S.textContent = "Social Media Directory", O = m(), z = u("a"), z.textContent = `© ${(/* @__PURE__ */ new Date()).getFullYear()} University of Guelph`, R = m(), N = u("div"), Z = u("ul");
|
|
228
|
+
for (let o = 0; o < g.length; o += 1)
|
|
229
|
+
g[o].c();
|
|
230
|
+
W = m(), w = u("address"), I = u("strong"), I.textContent = "University of Guelph", J = m(), U = u("span"), U.textContent = "50 Stone Road East,", Q = m(), B = u("span"), B.textContent = "Guelph, Ontario, Canada", X = m(), P = u("span"), P.textContent = "N1G 2W1", ee = m(), C = u("a"), L(V.$$.fragment), te = m(), D = u("span"), D.textContent = "519-824-4120", f(a, "href", "https://www.uoguelph.ca/improve-life"), f(a, "aria-label", "Improve Life"), f(a, "class", "flex transition-opacity focus:opacity-75 hover:opacity-75 [&>svg]:block [&>svg]:h-[1.6em] [&>svg]:mb-4"), f(k, "class", "flex gap-3 text-4xl [&>li]:contents"), f(S, "class", "w-fit border-0 border-b-2 border-dotted border-transparent transition-colors focus:border-white hover:border-white"), f(S, "href", "https://www.uoguelph.ca/web/socialmedia/"), f(z, "class", "w-fit border-0 border-b-2 border-dotted border-transparent transition-colors focus:border-white hover:border-white"), f(z, "href", "https://www.uoguelph.ca/web/"), f(i, "class", "flex flex-col justify-between gap-2"), f(Z, "class", "w-full flex flex-col gap-2 md:grid md:grid-cols-2 [&>li]:contents"), f(N, "class", "flex justify-center md:col-span-2 md:row-start-2 lg:row-auto"), f(C, "href", "tel:1-519-824-4120"), f(C, "class", "flex justify-center items-center w-fit gap-2 border-0 border-b-2 border-dotted border-transparent text-uofg-blue transition-colors focus:border-current hover:border-current"), f(w, "class", "flex flex-col justify-between gap-4 not-italic"), f(l, "class", "flex flex-col content-center gap-8 bg-black px-[max(calc((100%-1320px)/2),2rem)] py-8 text-white md:grid md:grid-cols-2 lg:grid-cols-4");
|
|
231
|
+
},
|
|
232
|
+
m(o, h) {
|
|
233
|
+
H(o, e, h), b && b.m(e, null), s(e, t), s(e, l), s(l, i), s(i, a), T(p, a, null), s(i, v), s(i, k);
|
|
234
|
+
for (let c = 0; c < d.length; c += 1)
|
|
235
|
+
d[c] && d[c].m(k, null);
|
|
236
|
+
s(i, K), s(i, S), s(i, O), s(i, z), s(l, R), s(l, N), s(N, Z);
|
|
237
|
+
for (let c = 0; c < g.length; c += 1)
|
|
238
|
+
g[c] && g[c].m(Z, null);
|
|
239
|
+
s(l, W), s(l, w), s(w, I), s(w, J), s(w, U), s(w, Q), s(w, B), s(w, X), s(w, P), s(w, ee), s(w, C), T(V, C, null), s(C, te), s(C, D), G = !0;
|
|
240
|
+
},
|
|
241
|
+
p(o, [h]) {
|
|
242
|
+
if (h & /*subFooter*/
|
|
218
243
|
1 && (r = Array.isArray(
|
|
219
244
|
/*subFooter*/
|
|
220
|
-
|
|
221
|
-
)), r ?
|
|
245
|
+
o[0]
|
|
246
|
+
)), r ? b ? b.p(o, h) : (b = ie(o), b.c(), b.m(e, t)) : b && (b.d(1), b = null), h & /*socials*/
|
|
222
247
|
2) {
|
|
223
|
-
|
|
248
|
+
$ = M(
|
|
224
249
|
/*socials*/
|
|
225
|
-
|
|
250
|
+
o[1]
|
|
226
251
|
);
|
|
227
|
-
let
|
|
228
|
-
for (
|
|
229
|
-
const
|
|
230
|
-
|
|
252
|
+
let c;
|
|
253
|
+
for (c = 0; c < $.length; c += 1) {
|
|
254
|
+
const A = se(o, $, c);
|
|
255
|
+
d[c] ? (d[c].p(A, h), x(d[c], 1)) : (d[c] = he(A), d[c].c(), x(d[c], 1), d[c].m(k, null));
|
|
231
256
|
}
|
|
232
|
-
for (
|
|
233
|
-
|
|
234
|
-
|
|
257
|
+
for (ae(), c = $.length; c < d.length; c += 1)
|
|
258
|
+
be(c);
|
|
259
|
+
oe();
|
|
235
260
|
}
|
|
236
|
-
if (
|
|
261
|
+
if (h & /*links*/
|
|
237
262
|
4) {
|
|
238
|
-
y =
|
|
263
|
+
y = M(
|
|
239
264
|
/*links*/
|
|
240
|
-
|
|
265
|
+
o[2]
|
|
241
266
|
);
|
|
242
|
-
let
|
|
243
|
-
for (
|
|
244
|
-
const
|
|
245
|
-
|
|
267
|
+
let c;
|
|
268
|
+
for (c = 0; c < y.length; c += 1) {
|
|
269
|
+
const A = le(o, y, c);
|
|
270
|
+
g[c] ? (g[c].p(A, h), x(g[c], 1)) : (g[c] = ue(A), g[c].c(), x(g[c], 1), g[c].m(Z, null));
|
|
246
271
|
}
|
|
247
|
-
for (
|
|
248
|
-
|
|
249
|
-
|
|
272
|
+
for (ae(), c = y.length; c < g.length; c += 1)
|
|
273
|
+
we(c);
|
|
274
|
+
oe();
|
|
250
275
|
}
|
|
251
276
|
},
|
|
252
|
-
i(
|
|
277
|
+
i(o) {
|
|
253
278
|
if (!G) {
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
279
|
+
x(p.$$.fragment, o);
|
|
280
|
+
for (let h = 0; h < $.length; h += 1)
|
|
281
|
+
x(d[h]);
|
|
282
|
+
for (let h = 0; h < y.length; h += 1)
|
|
283
|
+
x(g[h]);
|
|
284
|
+
x(V.$$.fragment, o), G = !0;
|
|
259
285
|
}
|
|
260
286
|
},
|
|
261
|
-
o(
|
|
262
|
-
p =
|
|
263
|
-
for (let
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
for (let
|
|
267
|
-
|
|
268
|
-
|
|
287
|
+
o(o) {
|
|
288
|
+
_(p.$$.fragment, o), d = d.filter(Boolean);
|
|
289
|
+
for (let h = 0; h < d.length; h += 1)
|
|
290
|
+
_(d[h]);
|
|
291
|
+
g = g.filter(Boolean);
|
|
292
|
+
for (let h = 0; h < g.length; h += 1)
|
|
293
|
+
_(g[h]);
|
|
294
|
+
_(V.$$.fragment, o), G = !1;
|
|
269
295
|
},
|
|
270
|
-
d(
|
|
271
|
-
|
|
296
|
+
d(o) {
|
|
297
|
+
o && F(e), b && b.d(), j(p), E(d, o), E(g, o), j(V);
|
|
272
298
|
}
|
|
273
299
|
};
|
|
274
300
|
}
|
|
275
|
-
function
|
|
301
|
+
function Pe(n, e, r) {
|
|
276
302
|
const t = [
|
|
277
303
|
{
|
|
278
304
|
text: "Twitter",
|
|
279
|
-
icon:
|
|
305
|
+
icon: Ne,
|
|
280
306
|
href: "https://twitter.com/uofg",
|
|
281
307
|
classes: "focus:text-[#1da1f2] hover:text-[#1da1f2]"
|
|
282
308
|
},
|
|
@@ -288,100 +314,100 @@ function Ie(c, e, r) {
|
|
|
288
314
|
},
|
|
289
315
|
{
|
|
290
316
|
text: "Instagram",
|
|
291
|
-
icon:
|
|
317
|
+
icon: Ie,
|
|
292
318
|
href: "https://www.instagram.com/uofguelph/",
|
|
293
319
|
classes: "focus:text-[#e1306c] hover:text-[#e1306c]"
|
|
294
320
|
},
|
|
295
321
|
{
|
|
296
322
|
text: "Youtube",
|
|
297
|
-
icon:
|
|
323
|
+
icon: Ue,
|
|
298
324
|
href: "https://www.youtube.com/user/uofguelph",
|
|
299
325
|
classes: "focus:text-[#f00] hover:text-[#f00]"
|
|
300
326
|
},
|
|
301
327
|
{
|
|
302
328
|
text: "LinkedIn",
|
|
303
|
-
icon:
|
|
329
|
+
icon: je,
|
|
304
330
|
href: "https://www.linkedin.com/school/university-of-guelph/",
|
|
305
331
|
classes: "focus:text-[#0077b5] hover:text-[#0077b5]"
|
|
306
332
|
},
|
|
307
333
|
{
|
|
308
334
|
text: "TikTok",
|
|
309
|
-
icon:
|
|
335
|
+
icon: Ge,
|
|
310
336
|
href: "https://www.tiktok.com/@uofguelph",
|
|
311
337
|
classes: "focus:text-[#f00] hover:text-[#f00]"
|
|
312
338
|
}
|
|
313
339
|
], l = [
|
|
314
340
|
{
|
|
315
341
|
text: "Accessibility",
|
|
316
|
-
icon:
|
|
342
|
+
icon: ye,
|
|
317
343
|
href: "https://www.uoguelph.ca/diversity-human-rights/accessibility-u-g"
|
|
318
344
|
},
|
|
319
345
|
{
|
|
320
346
|
text: "Privacy",
|
|
321
|
-
icon:
|
|
347
|
+
icon: Ve,
|
|
322
348
|
href: "https://www.uoguelph.ca/web/privacy/"
|
|
323
349
|
},
|
|
324
350
|
{
|
|
325
351
|
text: "Site Map",
|
|
326
|
-
icon:
|
|
352
|
+
icon: Me,
|
|
327
353
|
href: "https://www.uoguelph.ca/sitemap"
|
|
328
354
|
},
|
|
329
355
|
{
|
|
330
356
|
text: "Status Page",
|
|
331
|
-
icon:
|
|
357
|
+
icon: He,
|
|
332
358
|
href: "https://uoguelph.statuspage.io/"
|
|
333
359
|
},
|
|
334
360
|
{
|
|
335
361
|
text: "Land Acknowledgement",
|
|
336
|
-
icon:
|
|
362
|
+
icon: Fe,
|
|
337
363
|
href: "https://www.uoguelph.ca/land-acknowledgement/",
|
|
338
364
|
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."
|
|
339
365
|
},
|
|
340
366
|
{
|
|
341
367
|
text: "Careers",
|
|
342
|
-
icon:
|
|
368
|
+
icon: Se,
|
|
343
369
|
href: "https://www.uoguelph.ca/hr/careers-guelph/current-opportunities"
|
|
344
370
|
},
|
|
345
371
|
{
|
|
346
372
|
text: "Undergraduate Calendar",
|
|
347
|
-
icon:
|
|
373
|
+
icon: ce,
|
|
348
374
|
href: "https://www.uoguelph.ca/registrar/calendars/undergraduate/current/"
|
|
349
375
|
},
|
|
350
376
|
{
|
|
351
377
|
text: "Graduate Calendar",
|
|
352
|
-
icon:
|
|
378
|
+
icon: ce,
|
|
353
379
|
href: "https://www.uoguelph.ca/registrar/calendars/graduate/current/"
|
|
354
380
|
},
|
|
355
381
|
{
|
|
356
382
|
text: "Program Plans",
|
|
357
|
-
icon:
|
|
383
|
+
icon: ze,
|
|
358
384
|
href: "https://admission.uoguelph.ca/programs"
|
|
359
385
|
},
|
|
360
386
|
{
|
|
361
387
|
text: "Give to U of G",
|
|
362
|
-
icon:
|
|
388
|
+
icon: Ze,
|
|
363
389
|
href: "https://www.alumni.uoguelph.ca/give-to-guelph/how-to-give"
|
|
364
390
|
}
|
|
365
391
|
];
|
|
366
392
|
let { subFooter: i } = e;
|
|
367
|
-
return
|
|
368
|
-
"subFooter" in
|
|
393
|
+
return n.$$set = (a) => {
|
|
394
|
+
"subFooter" in a && r(0, i = a.subFooter);
|
|
369
395
|
}, [i, t, l];
|
|
370
396
|
}
|
|
371
|
-
class
|
|
397
|
+
class De extends de {
|
|
372
398
|
constructor(e) {
|
|
373
|
-
super(), ge(this, e,
|
|
399
|
+
super(), ge(this, e, Pe, Be, ve, { subFooter: 0 });
|
|
374
400
|
}
|
|
375
401
|
get subFooter() {
|
|
376
402
|
return this.$$.ctx[0];
|
|
377
403
|
}
|
|
378
404
|
set subFooter(e) {
|
|
379
|
-
this.$$set({ subFooter: e }),
|
|
405
|
+
this.$$set({ subFooter: e }), xe();
|
|
380
406
|
}
|
|
381
407
|
}
|
|
382
|
-
customElements.define("uofg-footer", pe(
|
|
408
|
+
customElements.define("uofg-footer", pe(De, { subFooter: {} }, [], [], !0, (n) => class extends n {
|
|
383
409
|
constructor() {
|
|
384
|
-
super(),
|
|
410
|
+
super(), _e(this.shadowRoot);
|
|
385
411
|
}
|
|
386
412
|
connectedCallback() {
|
|
387
413
|
super.connectedCallback(), this.updateSubFooter(), this.observer ?? (this.observer = new MutationObserver(() => {
|
|
@@ -399,5 +425,5 @@ customElements.define("uofg-footer", pe(Ue, { subFooter: {} }, [], [], !0, (c) =
|
|
|
399
425
|
}
|
|
400
426
|
}));
|
|
401
427
|
export {
|
|
402
|
-
|
|
428
|
+
De as default
|
|
403
429
|
};
|