@uoguelph/web-components 1.6.0 → 1.7.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/bundle-mjs-BpzLJ4dA.js +17 -0
- package/dist/uofg-web-components/{index-C_Xohc3R.js → font-awesome-icon-DvfiKD3u.js} +432 -368
- package/dist/uofg-web-components/uofg-alert.esm.js +1 -1
- package/dist/uofg-web-components/uofg-back-to-top.esm.js +24 -21
- package/dist/uofg-web-components/uofg-footer.esm.js +462 -314
- package/dist/uofg-web-components/uofg-header.esm.js +2175 -1623
- package/dist/uofg-web-components/uofg-modal.esm.js +6 -6
- package/package.json +1 -1
- package/dist/uofg-web-components/bundle-mjs-Dr23gGIz.js +0 -22
|
@@ -1,415 +1,563 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
function
|
|
3
|
-
|
|
1
|
+
import { c as F, S, i as L, s as z, y as E, C as G, e as u, h as i, j as w, D as b, p as $, E as q, G as Q, g, k as f, H as ee, I as U, d as y, m as C, t as d, o as v, q as V, J as te, K as re, L as ne, M as oe, N as se, O as ae, P as j, Q as ce, R as le, F as T, T as ie, a as fe, U as ue, V as he } from "./font-awesome-icon-DvfiKD3u.js";
|
|
2
|
+
function I(c, e, r) {
|
|
3
|
+
const t = c.slice();
|
|
4
|
+
return t[1] = e[r].text, t[2] = e[r].href, t;
|
|
5
|
+
}
|
|
6
|
+
function P(c) {
|
|
7
|
+
let e, r, t = (
|
|
8
|
+
/*text*/
|
|
9
|
+
c[1] + ""
|
|
10
|
+
), o, s, n;
|
|
4
11
|
return {
|
|
5
12
|
c() {
|
|
6
|
-
e =
|
|
13
|
+
e = u("li"), r = u("a"), o = Q(t), n = g(), i(r, "class", "transition-all decoration-transparent text-[#2e74bb] hover:text-[#1a4168] focus:text-[#1a4168] hover:underline focus:underline hover:decoration-current focus:decoration-current"), i(r, "href", s = /*href*/
|
|
14
|
+
c[2]), i(e, "class", "p-6");
|
|
7
15
|
},
|
|
8
|
-
m(
|
|
9
|
-
|
|
16
|
+
m(a, l) {
|
|
17
|
+
w(a, e, l), f(e, r), f(r, o), f(e, n);
|
|
18
|
+
},
|
|
19
|
+
p(a, l) {
|
|
20
|
+
l & /*links*/
|
|
21
|
+
1 && t !== (t = /*text*/
|
|
22
|
+
a[1] + "") && ee(o, t), l & /*links*/
|
|
23
|
+
1 && s !== (s = /*href*/
|
|
24
|
+
a[2]) && i(r, "href", s);
|
|
10
25
|
},
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
26
|
+
d(a) {
|
|
27
|
+
a && $(e);
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
function pe(c) {
|
|
32
|
+
let e, r = G(
|
|
33
|
+
/*links*/
|
|
34
|
+
c[0]
|
|
35
|
+
), t = [];
|
|
36
|
+
for (let o = 0; o < r.length; o += 1)
|
|
37
|
+
t[o] = P(I(c, r, o));
|
|
38
|
+
return {
|
|
39
|
+
c() {
|
|
40
|
+
e = u("ul");
|
|
41
|
+
for (let o = 0; o < t.length; o += 1)
|
|
42
|
+
t[o].c();
|
|
43
|
+
i(e, "class", "flex flex-wrap items-center justify-center bg-white p-6 px-[max(calc((100%-1320px)/2),2rem)]");
|
|
44
|
+
},
|
|
45
|
+
m(o, s) {
|
|
46
|
+
w(o, e, s);
|
|
47
|
+
for (let n = 0; n < t.length; n += 1)
|
|
48
|
+
t[n] && t[n].m(e, null);
|
|
49
|
+
},
|
|
50
|
+
p(o, [s]) {
|
|
51
|
+
if (s & /*links*/
|
|
52
|
+
1) {
|
|
53
|
+
r = G(
|
|
54
|
+
/*links*/
|
|
55
|
+
o[0]
|
|
56
|
+
);
|
|
57
|
+
let n;
|
|
58
|
+
for (n = 0; n < r.length; n += 1) {
|
|
59
|
+
const a = I(o, r, n);
|
|
60
|
+
t[n] ? t[n].p(a, s) : (t[n] = P(a), t[n].c(), t[n].m(e, null));
|
|
61
|
+
}
|
|
62
|
+
for (; n < t.length; n += 1)
|
|
63
|
+
t[n].d(1);
|
|
64
|
+
t.length = r.length;
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
i: b,
|
|
68
|
+
o: b,
|
|
69
|
+
d(o) {
|
|
70
|
+
o && $(e), q(t, o);
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
function de(c, e, r) {
|
|
75
|
+
let { links: t } = e;
|
|
76
|
+
return c.$$set = (o) => {
|
|
77
|
+
"links" in o && r(0, t = o.links);
|
|
78
|
+
}, [t];
|
|
79
|
+
}
|
|
80
|
+
class O extends S {
|
|
81
|
+
constructor(e) {
|
|
82
|
+
super(), L(this, e, de, pe, z, { links: 0 });
|
|
83
|
+
}
|
|
84
|
+
get links() {
|
|
85
|
+
return this.$$.ctx[0];
|
|
86
|
+
}
|
|
87
|
+
set links(e) {
|
|
88
|
+
this.$$set({ links: e }), E();
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
F(O, { links: {} }, [], [], !0);
|
|
92
|
+
function ge(c) {
|
|
93
|
+
let e, r;
|
|
94
|
+
return {
|
|
95
|
+
c() {
|
|
96
|
+
e = U("svg"), r = U("path"), i(r, "d", "M0 0h5.3v.5C4 .5 3.6.8 3.6 2.1v7.3c0 1.4.3 1.8 1.6 1.8v.5H0v-.5c1.5 0 1.5-.5 1.5-1.6V1.9C1.5.9 1.3.5 0 .5ZM6.1 11.4c.9 0 1.1-.2 1.2-1.4l.3-5.1c.1-1.2-.1-1.4-.9-1.4v-.4h2.6l3 6.5 2.8-6.5h2.6v.4c-.8 0-.9.2-.9.8l.5 6.3c.1.7.3.8 1.1.8v.4h-4v-.4c1.1 0 1.3-.3 1.2-1.8l-.4-5.1-3.2 7.3h-.5L8.4 4.7l-.3 5.1c-.1 1.5.2 1.5 1.1 1.6v.4H6.1ZM19.2 11.4c1 0 1.2-.2 1.2-1.5v-5c0-1.4-.2-1.5-1.3-1.5v-.3h1.4a14.4 14.4 0 0 1 1.8-.1c2.6 0 4.1.6 4.1 2.5 0 1.6-1.4 2.8-3.3 2.8a3.8 3.8 0 0 1-1.1-.1v1.9c0 1.1.3 1.3 1.6 1.3v.4h-4.3v-.4Zm2.7-3.7.6.1a2.2 2.2 0 0 0 2.2-2.3 2 2 0 0 0-2.1-2.1h-.7ZM29.7 10c0 1.2.2 1.4 1.4 1.4v.4h-4.3v-.4c1.2 0 1.3-.3 1.3-1.2V4.6c0-.9-.2-1.1-1.3-1.1v-.4l2-.1h1.7c2.8 0 3.8 1.2 3.8 2.5a2.5 2.5 0 0 1-1.8 2.3 9.4 9.4 0 0 1 1 1l.9.9a5.4 5.4 0 0 0 3.3 1.9v.4c-2.7.1-3.4-.4-4.7-1.7l-.7-.7a8 8 0 0 0-1.5-1.3h-1.2V10Zm0-2.2h.4c1.9-.1 2.5-.8 2.5-2.2a2 2 0 0 0-2.3-2.2 1.7 1.7 0 0 0-.7.1v4.3ZM42.4 2.9c3 0 5.1 1.8 5.1 4.4a4.8 4.8 0 0 1-5.1 4.7c-2.9 0-5-1.8-5-4.3-.1-2.8 2.1-4.8 5-4.8Zm.2 8.6c1.9 0 3.2-1.6 3.2-3.9 0-2.5-1.5-4.3-3.5-4.3S39 4.8 39 7.3c0 2.8 1.8 4.2 3.6 4.2ZM49 4.5c-.4-1-.5-1.1-1.4-1.1v-.3h4.3v.4c-1.1 0-1.3.3-1.3.6a3 3 0 0 0 .2.8l2.1 5.2 2-4.9a4.5 4.5 0 0 0 .3-1.1c0-.5-.4-.6-1.3-.6v-.4h3.4v.4c-1 0-1.2.5-1.6 1.6L52.8 12H52ZM57.7 11.8v-.4c1.1 0 1.4-.2 1.4-1v-6c0-.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 1H63c1.4 0 1.7-.2 2.1-1.6h.4l-.2 2.2h-7.6ZM72.2 11.8v-.5c1.5 0 1.8-.1 1.8-1.6V2.1C74 .8 73.9.4 72.2.5V0h6.2v.5c-2 0-2.3.1-2.3 1.5v8c0 .8.2.9 1 .9H79c1.6 0 1.7-.1 3.1-2h.6l-1.5 2.9ZM83.2 3.1h3.9v.4c-.9 0-1.2.2-1.2 1.2v5.4c0 1 .2 1.3 1.2 1.3v.4h-3.9v-.4c1.1 0 1.1-.4 1.1-1.2V4.5c0-.8-.2-1.1-1.1-1ZM90.7 10c0 1.1.2 1.3 1.2 1.3v.4H88v-.4c.9 0 1.1-.3 1.1-1.1V4.5c0-.8-.3-1-1.1-1v-.4h6.6v1.7h-.4c-.1-.9-.3-1.1-1.4-1.1h-2.2v3.1h2.2c.9 0 1-.1 1.1-.9h.4v2.6H94c-.1-.9-.3-1-1.2-1h-2.1ZM95.3 11.8v-.4c1.1 0 1.4-.2 1.4-1v-6c0-.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"), i(e, "xmlns", "http://www.w3.org/2000/svg"), i(e, "fill", "#fff"), i(e, "viewBox", "0 0 107.4 12");
|
|
97
|
+
},
|
|
98
|
+
m(t, o) {
|
|
99
|
+
w(t, e, o), f(e, r);
|
|
100
|
+
},
|
|
101
|
+
p: b,
|
|
102
|
+
i: b,
|
|
103
|
+
o: b,
|
|
14
104
|
d(t) {
|
|
15
|
-
t &&
|
|
105
|
+
t && $(e);
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
class R extends S {
|
|
110
|
+
constructor(e) {
|
|
111
|
+
super(), L(this, e, null, ge, z, {});
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
F(R, {}, [], [], !0);
|
|
115
|
+
function me(c) {
|
|
116
|
+
let e, r, t;
|
|
117
|
+
return r = new R({}), {
|
|
118
|
+
c() {
|
|
119
|
+
e = u("a"), y(r.$$.fragment), i(e, "href", "https://www.uoguelph.ca/improve-life"), i(e, "aria-label", "Improve Life"), i(e, "class", "flex transition-opacity focus:opacity-75 hover:opacity-75 [&>svg]:block [&>svg]:h-[1.6em] [&>svg]:mb-4");
|
|
120
|
+
},
|
|
121
|
+
m(o, s) {
|
|
122
|
+
w(o, e, s), C(r, e, null), t = !0;
|
|
123
|
+
},
|
|
124
|
+
p: b,
|
|
125
|
+
i(o) {
|
|
126
|
+
t || (d(r.$$.fragment, o), t = !0);
|
|
127
|
+
},
|
|
128
|
+
o(o) {
|
|
129
|
+
v(r.$$.fragment, o), t = !1;
|
|
130
|
+
},
|
|
131
|
+
d(o) {
|
|
132
|
+
o && $(e), V(r);
|
|
16
133
|
}
|
|
17
134
|
};
|
|
18
135
|
}
|
|
19
|
-
class
|
|
136
|
+
class Y extends S {
|
|
20
137
|
constructor(e) {
|
|
21
|
-
super(),
|
|
138
|
+
super(), L(this, e, null, me, z, {});
|
|
22
139
|
}
|
|
23
140
|
}
|
|
24
|
-
|
|
25
|
-
const
|
|
141
|
+
F(Y, {}, [], [], !0);
|
|
142
|
+
const ve = {
|
|
26
143
|
prefix: "fab",
|
|
27
144
|
iconName: "tiktok",
|
|
28
145
|
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"]
|
|
29
|
-
},
|
|
146
|
+
}, be = {
|
|
30
147
|
prefix: "fab",
|
|
31
148
|
iconName: "square-facebook",
|
|
32
149
|
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"]
|
|
33
|
-
},
|
|
150
|
+
}, we = be, $e = {
|
|
34
151
|
prefix: "fab",
|
|
35
152
|
iconName: "linkedin",
|
|
36
153
|
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"]
|
|
37
|
-
},
|
|
154
|
+
}, xe = {
|
|
38
155
|
prefix: "fab",
|
|
39
156
|
iconName: "instagram",
|
|
40
157
|
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"]
|
|
41
|
-
},
|
|
158
|
+
}, _e = {
|
|
42
159
|
prefix: "fab",
|
|
43
160
|
iconName: "youtube",
|
|
44
161
|
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"]
|
|
45
|
-
},
|
|
162
|
+
}, ke = {
|
|
46
163
|
prefix: "fab",
|
|
47
164
|
iconName: "square-x-twitter",
|
|
48
165
|
icon: [448, 512, [], "e61a", "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-64H64zm297.1 84L257.3 234.6 379.4 396H283.8L209 298.1 123.3 396H75.8l111-126.9L69.7 116h98l67.7 89.5L313.6 116h47.5zM323.3 367.6L153.4 142.9H125.1L296.9 367.6h26.3z"]
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
}
|
|
58
|
-
function ne(l, e, o) {
|
|
59
|
-
const t = l.slice();
|
|
60
|
-
return t[6] = e[o].text, t[3] = e[o].href, t;
|
|
61
|
-
}
|
|
62
|
-
function ie(l) {
|
|
63
|
-
let e, o = M(
|
|
64
|
-
/*subFooter*/
|
|
65
|
-
l[0]
|
|
66
|
-
), t = [];
|
|
67
|
-
for (let s = 0; s < o.length; s += 1)
|
|
68
|
-
t[s] = fe(ne(l, o, s));
|
|
69
|
-
return {
|
|
70
|
-
c() {
|
|
71
|
-
e = u("ul");
|
|
72
|
-
for (let s = 0; s < t.length; s += 1)
|
|
73
|
-
t[s].c();
|
|
74
|
-
f(e, "class", "flex flex-wrap items-center justify-center bg-white p-6 px-[max(calc((100%-1320px)/2),2rem)]");
|
|
75
|
-
},
|
|
76
|
-
m(s, i) {
|
|
77
|
-
H(s, e, i);
|
|
78
|
-
for (let a = 0; a < t.length; a += 1)
|
|
79
|
-
t[a] && t[a].m(e, null);
|
|
166
|
+
}, B = {
|
|
167
|
+
directory: "https://www.uoguelph.ca/web/socialmedia/",
|
|
168
|
+
links: [
|
|
169
|
+
{
|
|
170
|
+
text: "X",
|
|
171
|
+
icon: ke,
|
|
172
|
+
href: "https://twitter.com/uofg",
|
|
173
|
+
classes: "focus:text-[#1da1f2] hover:text-[#1da1f2]"
|
|
80
174
|
},
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
s[0]
|
|
87
|
-
);
|
|
88
|
-
let a;
|
|
89
|
-
for (a = 0; a < o.length; a += 1) {
|
|
90
|
-
const p = ne(s, o, a);
|
|
91
|
-
t[a] ? t[a].p(p, i) : (t[a] = fe(p), t[a].c(), t[a].m(e, null));
|
|
92
|
-
}
|
|
93
|
-
for (; a < t.length; a += 1)
|
|
94
|
-
t[a].d(1);
|
|
95
|
-
t.length = o.length;
|
|
96
|
-
}
|
|
175
|
+
{
|
|
176
|
+
text: "Facebook",
|
|
177
|
+
icon: we,
|
|
178
|
+
href: "https://www.facebook.com/uofguelph",
|
|
179
|
+
classes: "focus:text-[#4267b2] hover:text-[#4267b2]"
|
|
97
180
|
},
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
function fe(l) {
|
|
104
|
-
let e, o, t = (
|
|
105
|
-
/*text*/
|
|
106
|
-
l[6] + ""
|
|
107
|
-
), s, i, a;
|
|
108
|
-
return {
|
|
109
|
-
c() {
|
|
110
|
-
e = u("li"), o = u("a"), s = Ce(t), a = v(), f(o, "class", "transition-all decoration-transparent text-[#2e74bb] hover:text-[#1a4168] focus:text-[#1a4168] hover:underline focus:underline hover:decoration-current focus:decoration-current"), f(o, "href", i = /*href*/
|
|
111
|
-
l[3]), f(e, "class", "p-6");
|
|
181
|
+
{
|
|
182
|
+
text: "Instagram",
|
|
183
|
+
icon: xe,
|
|
184
|
+
href: "https://www.instagram.com/uofguelph/",
|
|
185
|
+
classes: "focus:text-[#e1306c] hover:text-[#e1306c]"
|
|
112
186
|
},
|
|
113
|
-
|
|
114
|
-
|
|
187
|
+
{
|
|
188
|
+
text: "Youtube",
|
|
189
|
+
icon: _e,
|
|
190
|
+
href: "https://www.youtube.com/user/uofguelph",
|
|
191
|
+
classes: "focus:text-[#f00] hover:text-[#f00]"
|
|
115
192
|
},
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
p[3]) && f(o, "href", i);
|
|
193
|
+
{
|
|
194
|
+
text: "LinkedIn",
|
|
195
|
+
icon: $e,
|
|
196
|
+
href: "https://www.linkedin.com/school/university-of-guelph/",
|
|
197
|
+
classes: "focus:text-[#0077b5] hover:text-[#0077b5]"
|
|
122
198
|
},
|
|
123
|
-
|
|
124
|
-
|
|
199
|
+
{
|
|
200
|
+
text: "TikTok",
|
|
201
|
+
icon: ve,
|
|
202
|
+
href: "https://www.tiktok.com/@uofguelph",
|
|
203
|
+
classes: "focus:text-[#f00] hover:text-[#f00]"
|
|
125
204
|
}
|
|
126
|
-
|
|
205
|
+
]
|
|
206
|
+
}, ye = [
|
|
207
|
+
{
|
|
208
|
+
text: "Accessibility",
|
|
209
|
+
icon: te,
|
|
210
|
+
href: "https://www.uoguelph.ca/diversity-human-rights/accessibility-u-g"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
text: "Privacy",
|
|
214
|
+
icon: re,
|
|
215
|
+
href: "https://www.uoguelph.ca/web/privacy/"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
text: "Site Map",
|
|
219
|
+
icon: ne,
|
|
220
|
+
href: "https://www.uoguelph.ca/sitemap"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
text: "Status Page",
|
|
224
|
+
icon: oe,
|
|
225
|
+
href: "https://uoguelph.statuspage.io/"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
text: "Land Acknowledgement",
|
|
229
|
+
icon: se,
|
|
230
|
+
href: "https://www.uoguelph.ca/land-acknowledgement/",
|
|
231
|
+
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."
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
text: "Careers",
|
|
235
|
+
icon: ae,
|
|
236
|
+
href: "https://careers.uoguelph.ca/"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
text: "Undergraduate Calendar",
|
|
240
|
+
icon: j,
|
|
241
|
+
href: "https://www.uoguelph.ca/registrar/calendars/undergraduate/current/"
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
text: "Graduate Calendar",
|
|
245
|
+
icon: j,
|
|
246
|
+
href: "https://www.uoguelph.ca/registrar/calendars/graduate/current/"
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
text: "Program Plans",
|
|
250
|
+
icon: ce,
|
|
251
|
+
href: "https://admission.uoguelph.ca/programs"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
text: "Give to U of G",
|
|
255
|
+
icon: le,
|
|
256
|
+
href: "https://www.alumni.uoguelph.ca/give-to-guelph/how-to-give"
|
|
257
|
+
}
|
|
258
|
+
], A = {
|
|
259
|
+
title: "University of Guelph",
|
|
260
|
+
street: "50 Stone Road East",
|
|
261
|
+
city: "Guelph",
|
|
262
|
+
postalCode: "N1G 2W1",
|
|
263
|
+
phoneNumber: "519-824-4120"
|
|
264
|
+
};
|
|
265
|
+
function Ce(c, e, r) {
|
|
266
|
+
const t = c.slice();
|
|
267
|
+
return t[0] = e[r].href, t[1] = e[r].text, t[2] = e[r].icon, t[3] = e[r].classes, t;
|
|
127
268
|
}
|
|
128
|
-
function
|
|
129
|
-
let e,
|
|
130
|
-
return t = new
|
|
269
|
+
function Ve(c) {
|
|
270
|
+
let e, r, t, o, s;
|
|
271
|
+
return t = new T({ props: { icon: (
|
|
131
272
|
/*icon*/
|
|
132
|
-
|
|
273
|
+
c[2]
|
|
133
274
|
) } }), {
|
|
134
275
|
c() {
|
|
135
|
-
e = u("li"),
|
|
136
|
-
|
|
276
|
+
e = u("li"), r = u("a"), y(t.$$.fragment), o = g(), i(
|
|
277
|
+
r,
|
|
137
278
|
"href",
|
|
138
279
|
/*href*/
|
|
139
|
-
|
|
140
|
-
),
|
|
141
|
-
|
|
280
|
+
c[0]
|
|
281
|
+
), i(
|
|
282
|
+
r,
|
|
142
283
|
"aria-label",
|
|
143
284
|
/*text*/
|
|
144
|
-
|
|
145
|
-
),
|
|
146
|
-
|
|
285
|
+
c[1]
|
|
286
|
+
), i(r, "class", `transition-colors ${/*classes*/
|
|
287
|
+
c[3]}`);
|
|
288
|
+
},
|
|
289
|
+
m(n, a) {
|
|
290
|
+
w(n, e, a), f(e, r), C(t, r, null), f(e, o), s = !0;
|
|
291
|
+
},
|
|
292
|
+
p: b,
|
|
293
|
+
i(n) {
|
|
294
|
+
s || (d(t.$$.fragment, n), s = !0);
|
|
295
|
+
},
|
|
296
|
+
o(n) {
|
|
297
|
+
v(t.$$.fragment, n), s = !1;
|
|
147
298
|
},
|
|
148
|
-
|
|
149
|
-
|
|
299
|
+
d(n) {
|
|
300
|
+
n && $(e), V(t);
|
|
301
|
+
}
|
|
302
|
+
};
|
|
303
|
+
}
|
|
304
|
+
function Me(c) {
|
|
305
|
+
let e, r, t, o, s = G(B.links), n = [];
|
|
306
|
+
for (let a = 0; a < s.length; a += 1)
|
|
307
|
+
n[a] = Ve(Ce(c, s, a));
|
|
308
|
+
return {
|
|
309
|
+
c() {
|
|
310
|
+
e = u("ul");
|
|
311
|
+
for (let a = 0; a < n.length; a += 1)
|
|
312
|
+
n[a].c();
|
|
313
|
+
r = g(), t = u("a"), t.textContent = "Social Media Directory", i(e, "class", "flex gap-3 text-4xl [&>li]:contents"), i(t, "class", "w-fit border-0 border-b-2 border-dotted border-transparent transition-colors focus:border-white hover:border-white"), i(t, "href", B.directory);
|
|
314
|
+
},
|
|
315
|
+
m(a, l) {
|
|
316
|
+
w(a, e, l);
|
|
317
|
+
for (let x = 0; x < n.length; x += 1)
|
|
318
|
+
n[x] && n[x].m(e, null);
|
|
319
|
+
w(a, r, l), w(a, t, l), o = !0;
|
|
150
320
|
},
|
|
151
|
-
p:
|
|
321
|
+
p: b,
|
|
152
322
|
i(a) {
|
|
153
|
-
|
|
323
|
+
if (!o) {
|
|
324
|
+
for (let l = 0; l < s.length; l += 1)
|
|
325
|
+
d(n[l]);
|
|
326
|
+
o = !0;
|
|
327
|
+
}
|
|
154
328
|
},
|
|
155
329
|
o(a) {
|
|
156
|
-
|
|
330
|
+
n = n.filter(Boolean);
|
|
331
|
+
for (let l = 0; l < n.length; l += 1)
|
|
332
|
+
v(n[l]);
|
|
333
|
+
o = !1;
|
|
157
334
|
},
|
|
158
335
|
d(a) {
|
|
159
|
-
a &&
|
|
336
|
+
a && ($(e), $(r), $(t)), q(n, a);
|
|
160
337
|
}
|
|
161
338
|
};
|
|
162
339
|
}
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
340
|
+
class K extends S {
|
|
341
|
+
constructor(e) {
|
|
342
|
+
super(), L(this, e, null, Me, z, {});
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
F(K, {}, [], [], !0);
|
|
346
|
+
function He(c) {
|
|
347
|
+
let e;
|
|
348
|
+
return {
|
|
349
|
+
c() {
|
|
350
|
+
e = u("a"), e.textContent = `© ${(/* @__PURE__ */ new Date()).getFullYear()} University of Guelph`, i(e, "class", "w-fit border-0 border-b-2 border-dotted border-transparent transition-colors focus:border-white hover:border-white"), i(e, "href", "https://www.uoguelph.ca/web/");
|
|
351
|
+
},
|
|
352
|
+
m(r, t) {
|
|
353
|
+
w(r, e, t);
|
|
354
|
+
},
|
|
355
|
+
p: b,
|
|
356
|
+
i: b,
|
|
357
|
+
o: b,
|
|
358
|
+
d(r) {
|
|
359
|
+
r && $(e);
|
|
360
|
+
}
|
|
361
|
+
};
|
|
362
|
+
}
|
|
363
|
+
class W extends S {
|
|
364
|
+
constructor(e) {
|
|
365
|
+
super(), L(this, e, null, He, z, {});
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
F(W, {}, [], [], !0);
|
|
369
|
+
function Fe(c, e, r) {
|
|
370
|
+
const t = c.slice();
|
|
371
|
+
return t[0] = e[r].href, t[1] = e[r].title, t[2] = e[r].icon, t[3] = e[r].text, t;
|
|
372
|
+
}
|
|
373
|
+
function Se(c) {
|
|
374
|
+
let e, r, t, o, s, n, a;
|
|
375
|
+
return t = new T({ props: { icon: (
|
|
166
376
|
/*icon*/
|
|
167
|
-
|
|
377
|
+
c[2]
|
|
168
378
|
) } }), {
|
|
169
379
|
c() {
|
|
170
|
-
e = u("li"),
|
|
171
|
-
|
|
172
|
-
|
|
380
|
+
e = u("li"), r = u("a"), y(t.$$.fragment), o = g(), s = u("span"), s.textContent = `${/*text*/
|
|
381
|
+
c[3]}`, n = g(), i(
|
|
382
|
+
r,
|
|
173
383
|
"href",
|
|
174
384
|
/*href*/
|
|
175
|
-
|
|
176
|
-
),
|
|
177
|
-
|
|
385
|
+
c[0]
|
|
386
|
+
), i(
|
|
387
|
+
r,
|
|
178
388
|
"title",
|
|
179
389
|
/*title*/
|
|
180
|
-
|
|
181
|
-
),
|
|
390
|
+
c[1] ?? ""
|
|
391
|
+
), i(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");
|
|
182
392
|
},
|
|
183
|
-
m(
|
|
184
|
-
|
|
393
|
+
m(l, x) {
|
|
394
|
+
w(l, e, x), f(e, r), C(t, r, null), f(r, o), f(r, s), f(e, n), a = !0;
|
|
185
395
|
},
|
|
186
|
-
p:
|
|
187
|
-
i(
|
|
188
|
-
|
|
396
|
+
p: b,
|
|
397
|
+
i(l) {
|
|
398
|
+
a || (d(t.$$.fragment, l), a = !0);
|
|
189
399
|
},
|
|
190
|
-
o(
|
|
191
|
-
|
|
400
|
+
o(l) {
|
|
401
|
+
v(t.$$.fragment, l), a = !1;
|
|
192
402
|
},
|
|
193
|
-
d(
|
|
194
|
-
|
|
403
|
+
d(l) {
|
|
404
|
+
l && $(e), V(t);
|
|
195
405
|
}
|
|
196
406
|
};
|
|
197
407
|
}
|
|
198
|
-
function
|
|
199
|
-
let e, o =
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
l[0].length > 0, t, s, i, a, p, m, k, R, z, Y, S, K, N, Z, W, w, T, X, U, J, P, Q, B, ee, C, V, te, D, G, b = o && ie(l);
|
|
204
|
-
p = new ve({});
|
|
205
|
-
let $ = M(
|
|
206
|
-
/*socials*/
|
|
207
|
-
l[1]
|
|
208
|
-
), d = [];
|
|
209
|
-
for (let r = 0; r < $.length; r += 1)
|
|
210
|
-
d[r] = he(le(l, $, r));
|
|
211
|
-
const be = (r) => _(d[r], 1, 1, () => {
|
|
212
|
-
d[r] = null;
|
|
213
|
-
});
|
|
214
|
-
let y = M(
|
|
215
|
-
/*links*/
|
|
216
|
-
l[2]
|
|
217
|
-
), g = [];
|
|
218
|
-
for (let r = 0; r < y.length; r += 1)
|
|
219
|
-
g[r] = ue(se(l, y, r));
|
|
220
|
-
const we = (r) => _(g[r], 1, 1, () => {
|
|
221
|
-
g[r] = null;
|
|
222
|
-
});
|
|
223
|
-
return V = new O({ props: { icon: ke } }), {
|
|
408
|
+
function Le(c) {
|
|
409
|
+
let e, r, t, o = G(ye), s = [];
|
|
410
|
+
for (let n = 0; n < o.length; n += 1)
|
|
411
|
+
s[n] = Se(Fe(c, o, n));
|
|
412
|
+
return {
|
|
224
413
|
c() {
|
|
225
|
-
e = u("
|
|
226
|
-
for (let
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
p(r, [h]) {
|
|
243
|
-
if (h & /*subFooter*/
|
|
244
|
-
1 && (o = Array.isArray(
|
|
245
|
-
/*subFooter*/
|
|
246
|
-
r[0]
|
|
247
|
-
) && /*subFooter*/
|
|
248
|
-
r[0].length > 0), o ? b ? b.p(r, h) : (b = ie(r), b.c(), b.m(e, t)) : b && (b.d(1), b = null), h & /*socials*/
|
|
249
|
-
2) {
|
|
250
|
-
$ = M(
|
|
251
|
-
/*socials*/
|
|
252
|
-
r[1]
|
|
253
|
-
);
|
|
254
|
-
let c;
|
|
255
|
-
for (c = 0; c < $.length; c += 1) {
|
|
256
|
-
const L = le(r, $, c);
|
|
257
|
-
d[c] ? (d[c].p(L, h), x(d[c], 1)) : (d[c] = he(L), d[c].c(), x(d[c], 1), d[c].m(k, null));
|
|
258
|
-
}
|
|
259
|
-
for (ae(), c = $.length; c < d.length; c += 1)
|
|
260
|
-
be(c);
|
|
261
|
-
re();
|
|
262
|
-
}
|
|
263
|
-
if (h & /*links*/
|
|
264
|
-
4) {
|
|
265
|
-
y = M(
|
|
266
|
-
/*links*/
|
|
267
|
-
r[2]
|
|
268
|
-
);
|
|
269
|
-
let c;
|
|
270
|
-
for (c = 0; c < y.length; c += 1) {
|
|
271
|
-
const L = se(r, y, c);
|
|
272
|
-
g[c] ? (g[c].p(L, h), x(g[c], 1)) : (g[c] = ue(L), g[c].c(), x(g[c], 1), g[c].m(Z, null));
|
|
273
|
-
}
|
|
274
|
-
for (ae(), c = y.length; c < g.length; c += 1)
|
|
275
|
-
we(c);
|
|
276
|
-
re();
|
|
277
|
-
}
|
|
278
|
-
},
|
|
279
|
-
i(r) {
|
|
280
|
-
if (!G) {
|
|
281
|
-
x(p.$$.fragment, r);
|
|
282
|
-
for (let h = 0; h < $.length; h += 1)
|
|
283
|
-
x(d[h]);
|
|
284
|
-
for (let h = 0; h < y.length; h += 1)
|
|
285
|
-
x(g[h]);
|
|
286
|
-
x(V.$$.fragment, r), G = !0;
|
|
414
|
+
e = u("div"), r = u("ul");
|
|
415
|
+
for (let n = 0; n < s.length; n += 1)
|
|
416
|
+
s[n].c();
|
|
417
|
+
i(r, "class", "w-full flex flex-col gap-2 md:grid md:grid-cols-2 [&>li]:contents"), i(e, "class", "flex justify-center md:col-span-2 md:row-start-2 lg:row-auto");
|
|
418
|
+
},
|
|
419
|
+
m(n, a) {
|
|
420
|
+
w(n, e, a), f(e, r);
|
|
421
|
+
for (let l = 0; l < s.length; l += 1)
|
|
422
|
+
s[l] && s[l].m(r, null);
|
|
423
|
+
t = !0;
|
|
424
|
+
},
|
|
425
|
+
p: b,
|
|
426
|
+
i(n) {
|
|
427
|
+
if (!t) {
|
|
428
|
+
for (let a = 0; a < o.length; a += 1)
|
|
429
|
+
d(s[a]);
|
|
430
|
+
t = !0;
|
|
287
431
|
}
|
|
288
432
|
},
|
|
289
|
-
o(
|
|
290
|
-
|
|
291
|
-
for (let
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
for (let h = 0; h < g.length; h += 1)
|
|
295
|
-
_(g[h]);
|
|
296
|
-
_(V.$$.fragment, r), G = !1;
|
|
433
|
+
o(n) {
|
|
434
|
+
s = s.filter(Boolean);
|
|
435
|
+
for (let a = 0; a < s.length; a += 1)
|
|
436
|
+
v(s[a]);
|
|
437
|
+
t = !1;
|
|
297
438
|
},
|
|
298
|
-
d(
|
|
299
|
-
|
|
439
|
+
d(n) {
|
|
440
|
+
n && $(e), q(s, n);
|
|
300
441
|
}
|
|
301
442
|
};
|
|
302
443
|
}
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
{
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
href: "https://www.facebook.com/uofguelph",
|
|
315
|
-
classes: "focus:text-[#4267b2] hover:text-[#4267b2]"
|
|
444
|
+
class X extends S {
|
|
445
|
+
constructor(e) {
|
|
446
|
+
super(), L(this, e, null, Le, z, {});
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
F(X, {}, [], [], !0);
|
|
450
|
+
function ze(c) {
|
|
451
|
+
let e, r, t, o, s, n, a, l, x, m, M, H, Z, k;
|
|
452
|
+
return M = new T({ props: { icon: ie } }), {
|
|
453
|
+
c() {
|
|
454
|
+
e = u("address"), r = u("strong"), r.textContent = `${A.title}`, t = g(), o = u("span"), o.textContent = `${A.street},`, s = g(), n = u("span"), n.textContent = `${A.city}, Ontario, Canada`, a = g(), l = u("span"), l.textContent = `${A.postalCode}`, x = g(), m = u("a"), y(M.$$.fragment), H = g(), Z = u("span"), Z.textContent = `${A.phoneNumber}`, i(m, "href", `tel:${A.phoneNumber}`), i(m, "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"), i(e, "class", "flex flex-col justify-between gap-4 not-italic");
|
|
316
455
|
},
|
|
317
|
-
{
|
|
318
|
-
|
|
319
|
-
icon: je,
|
|
320
|
-
href: "https://www.instagram.com/uofguelph/",
|
|
321
|
-
classes: "focus:text-[#e1306c] hover:text-[#e1306c]"
|
|
456
|
+
m(_, h) {
|
|
457
|
+
w(_, e, h), f(e, r), f(e, t), f(e, o), f(e, s), f(e, n), f(e, a), f(e, l), f(e, x), f(e, m), C(M, m, null), f(m, H), f(m, Z), k = !0;
|
|
322
458
|
},
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
href: "https://www.youtube.com/user/uofguelph",
|
|
327
|
-
classes: "focus:text-[#f00] hover:text-[#f00]"
|
|
459
|
+
p: b,
|
|
460
|
+
i(_) {
|
|
461
|
+
k || (d(M.$$.fragment, _), k = !0);
|
|
328
462
|
},
|
|
329
|
-
{
|
|
330
|
-
|
|
331
|
-
icon: qe,
|
|
332
|
-
href: "https://www.linkedin.com/school/university-of-guelph/",
|
|
333
|
-
classes: "focus:text-[#0077b5] hover:text-[#0077b5]"
|
|
463
|
+
o(_) {
|
|
464
|
+
v(M.$$.fragment, _), k = !1;
|
|
334
465
|
},
|
|
335
|
-
{
|
|
336
|
-
|
|
337
|
-
icon: Ae,
|
|
338
|
-
href: "https://www.tiktok.com/@uofguelph",
|
|
339
|
-
classes: "focus:text-[#f00] hover:text-[#f00]"
|
|
466
|
+
d(_) {
|
|
467
|
+
_ && $(e), V(M);
|
|
340
468
|
}
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
469
|
+
};
|
|
470
|
+
}
|
|
471
|
+
class J extends S {
|
|
472
|
+
constructor(e) {
|
|
473
|
+
super(), L(this, e, null, ze, z, {});
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
F(J, {}, [], [], !0);
|
|
477
|
+
function D(c) {
|
|
478
|
+
let e, r;
|
|
479
|
+
return e = new O({ props: { links: (
|
|
480
|
+
/*subFooter*/
|
|
481
|
+
c[0]
|
|
482
|
+
) } }), {
|
|
483
|
+
c() {
|
|
484
|
+
y(e.$$.fragment);
|
|
346
485
|
},
|
|
347
|
-
{
|
|
348
|
-
|
|
349
|
-
icon: Ve,
|
|
350
|
-
href: "https://www.uoguelph.ca/web/privacy/"
|
|
486
|
+
m(t, o) {
|
|
487
|
+
C(e, t, o), r = !0;
|
|
351
488
|
},
|
|
352
|
-
{
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
489
|
+
p(t, o) {
|
|
490
|
+
const s = {};
|
|
491
|
+
o & /*subFooter*/
|
|
492
|
+
1 && (s.links = /*subFooter*/
|
|
493
|
+
t[0]), e.$set(s);
|
|
356
494
|
},
|
|
357
|
-
{
|
|
358
|
-
|
|
359
|
-
icon: He,
|
|
360
|
-
href: "https://uoguelph.statuspage.io/"
|
|
495
|
+
i(t) {
|
|
496
|
+
r || (d(e.$$.fragment, t), r = !0);
|
|
361
497
|
},
|
|
362
|
-
{
|
|
363
|
-
|
|
364
|
-
icon: Fe,
|
|
365
|
-
href: "https://www.uoguelph.ca/land-acknowledgement/",
|
|
366
|
-
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."
|
|
498
|
+
o(t) {
|
|
499
|
+
v(e.$$.fragment, t), r = !1;
|
|
367
500
|
},
|
|
368
|
-
{
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
501
|
+
d(t) {
|
|
502
|
+
V(e, t);
|
|
503
|
+
}
|
|
504
|
+
};
|
|
505
|
+
}
|
|
506
|
+
function Ze(c) {
|
|
507
|
+
let e, r = Array.isArray(
|
|
508
|
+
/*subFooter*/
|
|
509
|
+
c[0]
|
|
510
|
+
) && /*subFooter*/
|
|
511
|
+
c[0].length > 0, t, o, s, n, a, l, x, m, M, H, Z, k, _, h = r && D(c);
|
|
512
|
+
return n = new Y({}), l = new K({}), m = new W({}), H = new X({}), k = new J({}), {
|
|
513
|
+
c() {
|
|
514
|
+
e = u("footer"), h && h.c(), t = g(), o = u("div"), s = u("div"), y(n.$$.fragment), a = g(), y(l.$$.fragment), x = g(), y(m.$$.fragment), M = g(), y(H.$$.fragment), Z = g(), y(k.$$.fragment), i(s, "class", "flex flex-col justify-between gap-2"), i(o, "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");
|
|
372
515
|
},
|
|
373
|
-
{
|
|
374
|
-
|
|
375
|
-
icon: ce,
|
|
376
|
-
href: "https://www.uoguelph.ca/registrar/calendars/undergraduate/current/"
|
|
516
|
+
m(p, N) {
|
|
517
|
+
w(p, e, N), h && h.m(e, null), f(e, t), f(e, o), f(o, s), C(n, s, null), f(s, a), C(l, s, null), f(s, x), C(m, s, null), f(o, M), C(H, o, null), f(o, Z), C(k, o, null), _ = !0;
|
|
377
518
|
},
|
|
378
|
-
{
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
519
|
+
p(p, [N]) {
|
|
520
|
+
N & /*subFooter*/
|
|
521
|
+
1 && (r = Array.isArray(
|
|
522
|
+
/*subFooter*/
|
|
523
|
+
p[0]
|
|
524
|
+
) && /*subFooter*/
|
|
525
|
+
p[0].length > 0), r ? h ? (h.p(p, N), N & /*subFooter*/
|
|
526
|
+
1 && d(h, 1)) : (h = D(p), h.c(), d(h, 1), h.m(e, t)) : h && (he(), v(h, 1, 1, () => {
|
|
527
|
+
h = null;
|
|
528
|
+
}), ue());
|
|
382
529
|
},
|
|
383
|
-
{
|
|
384
|
-
|
|
385
|
-
icon: Se,
|
|
386
|
-
href: "https://admission.uoguelph.ca/programs"
|
|
530
|
+
i(p) {
|
|
531
|
+
_ || (d(h), d(n.$$.fragment, p), d(l.$$.fragment, p), d(m.$$.fragment, p), d(H.$$.fragment, p), d(k.$$.fragment, p), _ = !0);
|
|
387
532
|
},
|
|
388
|
-
{
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
533
|
+
o(p) {
|
|
534
|
+
v(h), v(n.$$.fragment, p), v(l.$$.fragment, p), v(m.$$.fragment, p), v(H.$$.fragment, p), v(k.$$.fragment, p), _ = !1;
|
|
535
|
+
},
|
|
536
|
+
d(p) {
|
|
537
|
+
p && $(e), h && h.d(), V(n), V(l), V(m), V(H), V(k);
|
|
392
538
|
}
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
539
|
+
};
|
|
540
|
+
}
|
|
541
|
+
function Ae(c, e, r) {
|
|
542
|
+
let { subFooter: t } = e;
|
|
543
|
+
return c.$$set = (o) => {
|
|
544
|
+
"subFooter" in o && r(0, t = o.subFooter);
|
|
545
|
+
}, [t];
|
|
398
546
|
}
|
|
399
|
-
class
|
|
547
|
+
class Ne extends S {
|
|
400
548
|
constructor(e) {
|
|
401
|
-
super(),
|
|
549
|
+
super(), L(this, e, Ae, Ze, z, { subFooter: 0 });
|
|
402
550
|
}
|
|
403
551
|
get subFooter() {
|
|
404
552
|
return this.$$.ctx[0];
|
|
405
553
|
}
|
|
406
554
|
set subFooter(e) {
|
|
407
|
-
this.$$set({ subFooter: e }),
|
|
555
|
+
this.$$set({ subFooter: e }), E();
|
|
408
556
|
}
|
|
409
557
|
}
|
|
410
|
-
customElements.define("uofg-footer",
|
|
558
|
+
customElements.define("uofg-footer", F(Ne, { subFooter: {} }, [], [], !0, (c) => class extends c {
|
|
411
559
|
constructor() {
|
|
412
|
-
super(),
|
|
560
|
+
super(), fe(this.shadowRoot);
|
|
413
561
|
}
|
|
414
562
|
connectedCallback() {
|
|
415
563
|
super.connectedCallback(), this.updateSubFooter(), this.observer ?? (this.observer = new MutationObserver(() => {
|
|
@@ -427,5 +575,5 @@ customElements.define("uofg-footer", pe(Be, { subFooter: {} }, [], [], !0, (l) =
|
|
|
427
575
|
}
|
|
428
576
|
}));
|
|
429
577
|
export {
|
|
430
|
-
|
|
578
|
+
Ne as default
|
|
431
579
|
};
|