@uoguelph/web-components 1.6.0-rc.1 → 1.6.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as K, S as Q, i as X, s as D, A as B, b as O1, e as
|
|
1
|
+
import { c as K, S as Q, i as X, s as D, A as B, b as O1, e as p, g as x, h, j as d, k as g, w as i1, T as le, u as P1, l as G1, n as D1, t as b, o as m, D as U, p as v, x as ne, U as q, I as E, V as Y, W as p1, r as Y1, X as m1, y as z, z as $, Y as re, a as ae, B as L, Z as u1, d as Z, m as C, q as M, _ as oe, $ as se, a0 as ce, a1 as f1, F as W, E as J, a2 as J1, G as F, H as l1, a3 as n1, a4 as I, a5 as r1, a6 as a1 } from "./index-C_Xohc3R.js";
|
|
2
2
|
import { t as t1, g as ie } from "./bundle-mjs-Dr23gGIz.js";
|
|
3
3
|
function e1(s, e) {
|
|
4
4
|
const n = {}, t = {}, l = { $$scope: 1 };
|
|
@@ -75,14 +75,14 @@ function w1(s) {
|
|
|
75
75
|
/*as*/
|
|
76
76
|
r[2]
|
|
77
77
|
) ? (o.d(1), o = c1(r), e = /*as*/
|
|
78
|
-
r[2], o.c(), t && (t = !1,
|
|
79
|
-
r[2], o.c(),
|
|
78
|
+
r[2], o.c(), t && (t = !1, b(o)), o.m(n.parentNode, n)) : (t && (t = !1, b(o)), o.p(r, c)) : (o = c1(r), e = /*as*/
|
|
79
|
+
r[2], o.c(), b(o), o.m(n.parentNode, n)) : e && (t = !0, E(), m(o, 1, 1, () => {
|
|
80
80
|
o = null, e = /*as*/
|
|
81
81
|
r[2], t = !1;
|
|
82
82
|
}), U());
|
|
83
83
|
},
|
|
84
84
|
i(r) {
|
|
85
|
-
l || (
|
|
85
|
+
l || (b(o, r), l = !0);
|
|
86
86
|
},
|
|
87
87
|
o(r) {
|
|
88
88
|
m(o, r), l = !1;
|
|
@@ -112,10 +112,10 @@ function c1(s) {
|
|
|
112
112
|
c = Y(c, r[a]);
|
|
113
113
|
return {
|
|
114
114
|
c() {
|
|
115
|
-
e =
|
|
115
|
+
e = p(
|
|
116
116
|
/*as*/
|
|
117
117
|
s[2]
|
|
118
|
-
), o && o.c(),
|
|
118
|
+
), o && o.c(), p1(
|
|
119
119
|
/*as*/
|
|
120
120
|
s[2]
|
|
121
121
|
)(e, c);
|
|
@@ -142,7 +142,7 @@ function c1(s) {
|
|
|
142
142
|
a[8]
|
|
143
143
|
),
|
|
144
144
|
null
|
|
145
|
-
),
|
|
145
|
+
), p1(
|
|
146
146
|
/*as*/
|
|
147
147
|
a[2]
|
|
148
148
|
)(e, c = e1(r, [
|
|
@@ -154,7 +154,7 @@ function c1(s) {
|
|
|
154
154
|
]));
|
|
155
155
|
},
|
|
156
156
|
i(a) {
|
|
157
|
-
t || (
|
|
157
|
+
t || (b(o, a), a && Y1(() => {
|
|
158
158
|
t && (n || (n = m1(
|
|
159
159
|
e,
|
|
160
160
|
/*transition*/
|
|
@@ -196,7 +196,7 @@ function ge(s) {
|
|
|
196
196
|
);
|
|
197
197
|
return {
|
|
198
198
|
c() {
|
|
199
|
-
e =
|
|
199
|
+
e = p("div"), n = p("button"), a && a.c(), t = x(), i && i.c(), h(
|
|
200
200
|
n,
|
|
201
201
|
"class",
|
|
202
202
|
/*buttonClass*/
|
|
@@ -274,7 +274,7 @@ function ge(s) {
|
|
|
274
274
|
u[7]
|
|
275
275
|
), /*open*/
|
|
276
276
|
u[0] ? i ? (i.p(u, f), f & /*open*/
|
|
277
|
-
1 &&
|
|
277
|
+
1 && b(i, 1)) : (i = w1(u), i.c(), b(i, 1), i.m(e, null)) : i && (E(), m(i, 1, 1, () => {
|
|
278
278
|
i = null;
|
|
279
279
|
}), U()), (!l || f & /*className*/
|
|
280
280
|
2) && h(
|
|
@@ -285,7 +285,7 @@ function ge(s) {
|
|
|
285
285
|
);
|
|
286
286
|
},
|
|
287
287
|
i(u) {
|
|
288
|
-
l || (
|
|
288
|
+
l || (b(a, u), b(i), l = !0);
|
|
289
289
|
},
|
|
290
290
|
o(u) {
|
|
291
291
|
m(a, u), m(i), l = !1;
|
|
@@ -295,7 +295,7 @@ function ge(s) {
|
|
|
295
295
|
}
|
|
296
296
|
};
|
|
297
297
|
}
|
|
298
|
-
function
|
|
298
|
+
function be(s, e, n) {
|
|
299
299
|
let { $$slots: t = {}, $$scope: l } = e, { class: o } = e, { open: r = !1 } = e, { as: c = "div" } = e, { transition: a = fe } = e, { buttonClass: i = "" } = e, { contentClass: u = "" } = e, { autoCollapse: f = !0 } = e, { buttonAriaLabel: _ } = e;
|
|
300
300
|
const y = (w) => {
|
|
301
301
|
n(0, r = !r), w.target.focus();
|
|
@@ -321,7 +321,7 @@ function pe(s, e, n) {
|
|
|
321
321
|
}
|
|
322
322
|
class P extends Q {
|
|
323
323
|
constructor(e) {
|
|
324
|
-
super(), X(this, e,
|
|
324
|
+
super(), X(this, e, be, ge, D, {
|
|
325
325
|
class: 1,
|
|
326
326
|
open: 0,
|
|
327
327
|
as: 2,
|
|
@@ -382,7 +382,7 @@ class P extends Q {
|
|
|
382
382
|
}
|
|
383
383
|
}
|
|
384
384
|
K(P, { class: {}, open: { type: "Boolean" }, as: {}, transition: {}, buttonClass: {}, contentClass: {}, autoCollapse: { type: "Boolean" }, buttonAriaLabel: {} }, ["button", "default"], [], !0);
|
|
385
|
-
function
|
|
385
|
+
function pe(s) {
|
|
386
386
|
let e, n, t, l;
|
|
387
387
|
return {
|
|
388
388
|
c() {
|
|
@@ -401,7 +401,7 @@ function be(s) {
|
|
|
401
401
|
}
|
|
402
402
|
class K1 extends Q {
|
|
403
403
|
constructor(e) {
|
|
404
|
-
super(), X(this, e, null,
|
|
404
|
+
super(), X(this, e, null, pe, D, {});
|
|
405
405
|
}
|
|
406
406
|
}
|
|
407
407
|
K(K1, {}, [], [], !0);
|
|
@@ -533,7 +533,7 @@ function j1(s) {
|
|
|
533
533
|
}
|
|
534
534
|
return {
|
|
535
535
|
c() {
|
|
536
|
-
e =
|
|
536
|
+
e = p("nav"), n = p("ul");
|
|
537
537
|
for (let a = 0; a < t.length; a += 1)
|
|
538
538
|
t[a].c();
|
|
539
539
|
h(n, "class", "flex h-full items-center justify-end [&>li]:contents"), h(e, "class", "flex h-16 justify-end bg-white px-[calc((100%-1320px)/2)] text-3xl"), h(e, "aria-label", "Secondary");
|
|
@@ -556,7 +556,7 @@ function j1(s) {
|
|
|
556
556
|
i(a) {
|
|
557
557
|
if (!o) {
|
|
558
558
|
for (let i = 0; i < r.length; i += 1)
|
|
559
|
-
|
|
559
|
+
b(t[i]);
|
|
560
560
|
o = !0;
|
|
561
561
|
}
|
|
562
562
|
},
|
|
@@ -579,7 +579,7 @@ function we(s) {
|
|
|
579
579
|
), t;
|
|
580
580
|
return {
|
|
581
581
|
c() {
|
|
582
|
-
e =
|
|
582
|
+
e = p("a"), t = F(n), h(e, "class", "flex h-full items-center justify-center gap-2 px-4 transition-colors hover:bg-uofg-grey"), h(
|
|
583
583
|
e,
|
|
584
584
|
"href",
|
|
585
585
|
/*item*/
|
|
@@ -637,7 +637,7 @@ function $e(s) {
|
|
|
637
637
|
16 && (o.$$scope = { dirty: l, ctx: t }), e.$set(o);
|
|
638
638
|
},
|
|
639
639
|
i(t) {
|
|
640
|
-
n || (
|
|
640
|
+
n || (b(e.$$.fragment, t), n = !0);
|
|
641
641
|
},
|
|
642
642
|
o(t) {
|
|
643
643
|
m(e.$$.fragment, t), n = !1;
|
|
@@ -668,7 +668,7 @@ function V1(s) {
|
|
|
668
668
|
c = Y(c, r[a]);
|
|
669
669
|
return {
|
|
670
670
|
c() {
|
|
671
|
-
e =
|
|
671
|
+
e = p("li"), n = p("a"), l = F(t), o = x(), I(n, c);
|
|
672
672
|
},
|
|
673
673
|
m(a, i) {
|
|
674
674
|
d(a, e, i), g(e, n), g(n, l), g(e, o);
|
|
@@ -723,7 +723,7 @@ function ye(s) {
|
|
|
723
723
|
let e, n, t, l;
|
|
724
724
|
return t = new W({ props: { icon: a1 } }), {
|
|
725
725
|
c() {
|
|
726
|
-
e =
|
|
726
|
+
e = p("span"), e.textContent = `${/*item*/
|
|
727
727
|
s[13].text.toUpperCase()}`, n = x(), Z(t.$$.fragment);
|
|
728
728
|
},
|
|
729
729
|
m(o, r) {
|
|
@@ -731,7 +731,7 @@ function ye(s) {
|
|
|
731
731
|
},
|
|
732
732
|
p: $,
|
|
733
733
|
i(o) {
|
|
734
|
-
l || (
|
|
734
|
+
l || (b(t.$$.fragment, o), l = !0);
|
|
735
735
|
},
|
|
736
736
|
o(o) {
|
|
737
737
|
m(t.$$.fragment, o), l = !1;
|
|
@@ -755,7 +755,7 @@ function xe(s) {
|
|
|
755
755
|
},
|
|
756
756
|
p: $,
|
|
757
757
|
i(t) {
|
|
758
|
-
n || (
|
|
758
|
+
n || (b(e.$$.fragment, t), n = !0);
|
|
759
759
|
},
|
|
760
760
|
o(t) {
|
|
761
761
|
m(e.$$.fragment, t), n = !1;
|
|
@@ -776,7 +776,7 @@ function Ze(s) {
|
|
|
776
776
|
}
|
|
777
777
|
return n = c(s), t = r[n] = o[n](s), {
|
|
778
778
|
c() {
|
|
779
|
-
e =
|
|
779
|
+
e = p("span"), t.c(), h(e, "class", "flex gap-2 [&>svg]:transition-transform"), h(e, "slot", "button"), n1(
|
|
780
780
|
e,
|
|
781
781
|
"bg-uofg-yellow",
|
|
782
782
|
/*item*/
|
|
@@ -790,7 +790,7 @@ function Ze(s) {
|
|
|
790
790
|
t.p(a, i);
|
|
791
791
|
},
|
|
792
792
|
i(a) {
|
|
793
|
-
l || (
|
|
793
|
+
l || (b(t), l = !0);
|
|
794
794
|
},
|
|
795
795
|
o(a) {
|
|
796
796
|
m(t), l = !1;
|
|
@@ -813,7 +813,7 @@ function S1(s, e) {
|
|
|
813
813
|
key: s,
|
|
814
814
|
first: null,
|
|
815
815
|
c() {
|
|
816
|
-
n =
|
|
816
|
+
n = p("li"), l.c(), o = x(), this.first = n;
|
|
817
817
|
},
|
|
818
818
|
m(u, f) {
|
|
819
819
|
d(u, n, f), a[t].m(n, null), g(n, o), r = !0;
|
|
@@ -822,7 +822,7 @@ function S1(s, e) {
|
|
|
822
822
|
e = u, l.p(e, f);
|
|
823
823
|
},
|
|
824
824
|
i(u) {
|
|
825
|
-
r || (
|
|
825
|
+
r || (b(l), r = !0);
|
|
826
826
|
},
|
|
827
827
|
o(u) {
|
|
828
828
|
m(l), r = !1;
|
|
@@ -836,13 +836,13 @@ function U1(s) {
|
|
|
836
836
|
let e, n, t;
|
|
837
837
|
return n = new X1({}), {
|
|
838
838
|
c() {
|
|
839
|
-
e =
|
|
839
|
+
e = p("div"), Z(n.$$.fragment), h(e, "class", "left-0 h-full w-[7.5rem] min-[1320px]:absolute [&>svg]:block [&>svg]:h-full [&>svg]:w-auto");
|
|
840
840
|
},
|
|
841
841
|
m(l, o) {
|
|
842
842
|
d(l, e, o), C(n, e, null), t = !0;
|
|
843
843
|
},
|
|
844
844
|
i(l) {
|
|
845
|
-
t || (
|
|
845
|
+
t || (b(n.$$.fragment, l), t = !0);
|
|
846
846
|
},
|
|
847
847
|
o(l) {
|
|
848
848
|
m(n.$$.fragment, l), t = !1;
|
|
@@ -862,7 +862,7 @@ function Ce(s) {
|
|
|
862
862
|
C(e, t, l), n = !0;
|
|
863
863
|
},
|
|
864
864
|
i(t) {
|
|
865
|
-
n || (
|
|
865
|
+
n || (b(e.$$.fragment, t), n = !0);
|
|
866
866
|
},
|
|
867
867
|
o(t) {
|
|
868
868
|
m(e.$$.fragment, t), n = !1;
|
|
@@ -882,7 +882,7 @@ function Me(s) {
|
|
|
882
882
|
C(e, t, l), n = !0;
|
|
883
883
|
},
|
|
884
884
|
i(t) {
|
|
885
|
-
n || (
|
|
885
|
+
n || (b(e.$$.fragment, t), n = !0);
|
|
886
886
|
},
|
|
887
887
|
o(t) {
|
|
888
888
|
m(e.$$.fragment, t), n = !1;
|
|
@@ -925,7 +925,7 @@ function Le(s) {
|
|
|
925
925
|
}
|
|
926
926
|
}), {
|
|
927
927
|
c() {
|
|
928
|
-
e =
|
|
928
|
+
e = p("ul"), n = p("li"), t = p("a"), Z(l.$$.fragment), o = x(), r = p("li"), Z(c.$$.fragment), a = x(), i = p("li"), Z(u.$$.fragment), h(t, "class", "flex h-full aspect-square items-center justify-center gap-2 px-4 transition-colors hover:bg-white focus:bg-white aria-expanded:bg-white hover:text-black focus:text-black aria-expanded:text-black"), h(
|
|
929
929
|
t,
|
|
930
930
|
"href",
|
|
931
931
|
/*search*/
|
|
@@ -949,7 +949,7 @@ function Le(s) {
|
|
|
949
949
|
16 && (w.$$scope = { dirty: y, ctx: _ }), u.$set(w);
|
|
950
950
|
},
|
|
951
951
|
i(_) {
|
|
952
|
-
f || (
|
|
952
|
+
f || (b(l.$$.fragment, _), b(c.$$.fragment, _), b(u.$$.fragment, _), f = !0);
|
|
953
953
|
},
|
|
954
954
|
o(_) {
|
|
955
955
|
m(l.$$.fragment, _), m(c.$$.fragment, _), m(u.$$.fragment, _), f = !1;
|
|
@@ -971,10 +971,10 @@ function Ae(s) {
|
|
|
971
971
|
s[9].icon
|
|
972
972
|
) } }), {
|
|
973
973
|
c() {
|
|
974
|
-
e =
|
|
974
|
+
e = p("ul");
|
|
975
975
|
for (let i = 0; i < a.length; i += 1)
|
|
976
976
|
a[i].c();
|
|
977
|
-
n = x(), t =
|
|
977
|
+
n = x(), t = p("li"), l = p("a"), Z(o.$$.fragment), h(l, "class", "flex h-full items-center justify-center border-0 border-b-8 border-solid border-transparent p-4 pb-6 pt-8 text-uofg-yellow transition-colors hover:border-uofg-yellow hover:text-white [&>svg]:fill-current"), h(
|
|
978
978
|
l,
|
|
979
979
|
"href",
|
|
980
980
|
/*search*/
|
|
@@ -1010,7 +1010,7 @@ function Ae(s) {
|
|
|
1010
1010
|
}
|
|
1011
1011
|
},
|
|
1012
1012
|
i(i) {
|
|
1013
|
-
r || (
|
|
1013
|
+
r || (b(o.$$.fragment, i), r = !0);
|
|
1014
1014
|
},
|
|
1015
1015
|
o(i) {
|
|
1016
1016
|
m(o.$$.fragment, i), r = !1;
|
|
@@ -1024,14 +1024,14 @@ function Ne(s) {
|
|
|
1024
1024
|
let e, n, t;
|
|
1025
1025
|
return n = new ee({}), {
|
|
1026
1026
|
c() {
|
|
1027
|
-
e =
|
|
1027
|
+
e = p("a"), Z(n.$$.fragment), h(e, "href", "https://www.guelphhumber.ca"), h(e, "class", "w-auto h-full p-6 ml-auto transition-opacity focus:opacity-75 hover:opacity-75");
|
|
1028
1028
|
},
|
|
1029
1029
|
m(l, o) {
|
|
1030
1030
|
d(l, e, o), C(n, e, null), t = !0;
|
|
1031
1031
|
},
|
|
1032
1032
|
p: $,
|
|
1033
1033
|
i(l) {
|
|
1034
|
-
t || (
|
|
1034
|
+
t || (b(n.$$.fragment, l), t = !0);
|
|
1035
1035
|
},
|
|
1036
1036
|
o(l) {
|
|
1037
1037
|
m(n.$$.fragment, l), t = !1;
|
|
@@ -1048,7 +1048,7 @@ function E1(s) {
|
|
|
1048
1048
|
), l, o;
|
|
1049
1049
|
return {
|
|
1050
1050
|
c() {
|
|
1051
|
-
e =
|
|
1051
|
+
e = p("li"), n = p("a"), l = F(t), o = x(), h(n, "class", "border-0 border-b border-solid border-uofg-grey-500 p-4 transition-colors hover:bg-uofg-yellow"), h(
|
|
1052
1052
|
n,
|
|
1053
1053
|
"href",
|
|
1054
1054
|
/*link*/
|
|
@@ -1123,7 +1123,7 @@ function Ve(s) {
|
|
|
1123
1123
|
},
|
|
1124
1124
|
p: $,
|
|
1125
1125
|
i(t) {
|
|
1126
|
-
n || (
|
|
1126
|
+
n || (b(e.$$.fragment, t), n = !0);
|
|
1127
1127
|
},
|
|
1128
1128
|
o(t) {
|
|
1129
1129
|
m(e.$$.fragment, t), n = !1;
|
|
@@ -1140,7 +1140,7 @@ function Se(s) {
|
|
|
1140
1140
|
), t;
|
|
1141
1141
|
return {
|
|
1142
1142
|
c() {
|
|
1143
|
-
e =
|
|
1143
|
+
e = p("a"), t = F(n), h(e, "class", "border-0 border-b border-solid border-uofg-grey-500 p-4 transition-colors hover:bg-uofg-grey focus:bg-uofg-grey"), h(
|
|
1144
1144
|
e,
|
|
1145
1145
|
"href",
|
|
1146
1146
|
/*item*/
|
|
@@ -1191,7 +1191,7 @@ function Ue(s) {
|
|
|
1191
1191
|
16 && (o.$$scope = { dirty: l, ctx: t }), e.$set(o);
|
|
1192
1192
|
},
|
|
1193
1193
|
i(t) {
|
|
1194
|
-
n || (
|
|
1194
|
+
n || (b(e.$$.fragment, t), n = !0);
|
|
1195
1195
|
},
|
|
1196
1196
|
o(t) {
|
|
1197
1197
|
m(e.$$.fragment, t), n = !1;
|
|
@@ -1222,7 +1222,7 @@ function F1(s) {
|
|
|
1222
1222
|
c = Y(c, r[a]);
|
|
1223
1223
|
return {
|
|
1224
1224
|
c() {
|
|
1225
|
-
e =
|
|
1225
|
+
e = p("li"), n = p("a"), l = F(t), o = x(), I(n, c);
|
|
1226
1226
|
},
|
|
1227
1227
|
m(a, i) {
|
|
1228
1228
|
d(a, e, i), g(e, n), g(n, l), g(e, o);
|
|
@@ -1277,7 +1277,7 @@ function Fe(s) {
|
|
|
1277
1277
|
let e, n, t, l, o;
|
|
1278
1278
|
return l = new W({ props: { icon: a1 } }), {
|
|
1279
1279
|
c() {
|
|
1280
|
-
e =
|
|
1280
|
+
e = p("span"), n = p("span"), n.textContent = `${/*item*/
|
|
1281
1281
|
s[13].text}`, t = x(), Z(l.$$.fragment), h(n, "class", "mr-auto"), h(e, "class", "w-full flex gap-2 justify-between [&>svg]:transition-transform"), h(e, "slot", "button"), n1(
|
|
1282
1282
|
e,
|
|
1283
1283
|
"bg-uofg-yellow",
|
|
@@ -1290,7 +1290,7 @@ function Fe(s) {
|
|
|
1290
1290
|
},
|
|
1291
1291
|
p: $,
|
|
1292
1292
|
i(r) {
|
|
1293
|
-
o || (
|
|
1293
|
+
o || (b(l.$$.fragment, r), o = !0);
|
|
1294
1294
|
},
|
|
1295
1295
|
o(r) {
|
|
1296
1296
|
m(l.$$.fragment, r), o = !1;
|
|
@@ -1311,7 +1311,7 @@ function T1(s) {
|
|
|
1311
1311
|
}
|
|
1312
1312
|
return n = a(s), t = c[n] = r[n](s), {
|
|
1313
1313
|
c() {
|
|
1314
|
-
e =
|
|
1314
|
+
e = p("li"), t.c(), l = x(), h(e, "class", "[&>*]:first:mt-4 [&>*]:last:mb-4");
|
|
1315
1315
|
},
|
|
1316
1316
|
m(i, u) {
|
|
1317
1317
|
d(i, e, u), c[n].m(e, null), g(e, l), o = !0;
|
|
@@ -1320,7 +1320,7 @@ function T1(s) {
|
|
|
1320
1320
|
t.p(i, u);
|
|
1321
1321
|
},
|
|
1322
1322
|
i(i) {
|
|
1323
|
-
o || (
|
|
1323
|
+
o || (b(t), o = !0);
|
|
1324
1324
|
},
|
|
1325
1325
|
o(i) {
|
|
1326
1326
|
m(t), o = !1;
|
|
@@ -1359,7 +1359,7 @@ function Te(s) {
|
|
|
1359
1359
|
let a;
|
|
1360
1360
|
for (a = 0; a < t.length; a += 1) {
|
|
1361
1361
|
const i = Z1(r, t, a);
|
|
1362
|
-
l[a] ? (l[a].p(i, c),
|
|
1362
|
+
l[a] ? (l[a].p(i, c), b(l[a], 1)) : (l[a] = T1(i), l[a].c(), b(l[a], 1), l[a].m(e.parentNode, e));
|
|
1363
1363
|
}
|
|
1364
1364
|
for (E(), a = t.length; a < l.length; a += 1)
|
|
1365
1365
|
o(a);
|
|
@@ -1369,7 +1369,7 @@ function Te(s) {
|
|
|
1369
1369
|
i(r) {
|
|
1370
1370
|
if (!n) {
|
|
1371
1371
|
for (let c = 0; c < t.length; c += 1)
|
|
1372
|
-
|
|
1372
|
+
b(l[c]);
|
|
1373
1373
|
n = !0;
|
|
1374
1374
|
}
|
|
1375
1375
|
},
|
|
@@ -1395,7 +1395,7 @@ function Be(s) {
|
|
|
1395
1395
|
},
|
|
1396
1396
|
p: $,
|
|
1397
1397
|
i(t) {
|
|
1398
|
-
n || (
|
|
1398
|
+
n || (b(e.$$.fragment, t), n = !0);
|
|
1399
1399
|
},
|
|
1400
1400
|
o(t) {
|
|
1401
1401
|
m(e.$$.fragment, t), n = !1;
|
|
@@ -1412,7 +1412,7 @@ function B1(s) {
|
|
|
1412
1412
|
), l, o;
|
|
1413
1413
|
return {
|
|
1414
1414
|
c() {
|
|
1415
|
-
e =
|
|
1415
|
+
e = p("li"), n = p("a"), l = F(t), o = x(), h(n, "class", "flex h-full items-center justify-center border-0 border-b-8 border-solid border-transparent p-6 pt-8 transition-colors hover:border-uofg-yellow hover:text-uofg-yellow"), h(
|
|
1416
1416
|
n,
|
|
1417
1417
|
"href",
|
|
1418
1418
|
/*item*/
|
|
@@ -1446,7 +1446,7 @@ function z1(s) {
|
|
|
1446
1446
|
}
|
|
1447
1447
|
return ~(l = u(s)) && (o = i[l] = a[l](s)), {
|
|
1448
1448
|
c() {
|
|
1449
|
-
e =
|
|
1449
|
+
e = p("nav"), n = p("ul"), c && c.c(), t = x(), o && o.c(), h(n, "class", "flex h-full w-fit min-w-full overflow-y-visible items-center justify-end [&>li]:contents relative"), h(e, "class", "block align-items relative h-[5rem] justify-end bg-uofg-grey px-[calc((100%-1320px)/2)] text-3xl lg:h-16 lg:whitespace-nowrap"), h(e, "aria-label", "Page Specific");
|
|
1450
1450
|
},
|
|
1451
1451
|
m(f, _) {
|
|
1452
1452
|
d(f, e, _), g(e, n), c && c.m(n, null), g(n, t), ~l && i[l].m(n, null), s[12](n), r = !0;
|
|
@@ -1457,10 +1457,10 @@ function z1(s) {
|
|
|
1457
1457
|
let y = l;
|
|
1458
1458
|
l = u(f), l === y ? ~l && i[l].p(f, _) : (o && (E(), m(i[y], 1, 1, () => {
|
|
1459
1459
|
i[y] = null;
|
|
1460
|
-
}), U()), ~l ? (o = i[l], o ? o.p(f, _) : (o = i[l] = a[l](f), o.c()),
|
|
1460
|
+
}), U()), ~l ? (o = i[l], o ? o.p(f, _) : (o = i[l] = a[l](f), o.c()), b(o, 1), o.m(n, null)) : o = null);
|
|
1461
1461
|
},
|
|
1462
1462
|
i(f) {
|
|
1463
|
-
r || (
|
|
1463
|
+
r || (b(o), r = !0);
|
|
1464
1464
|
},
|
|
1465
1465
|
o(f) {
|
|
1466
1466
|
m(o), r = !1;
|
|
@@ -1481,7 +1481,7 @@ function R1(s) {
|
|
|
1481
1481
|
let t = n(s), l = t(s);
|
|
1482
1482
|
return {
|
|
1483
1483
|
c() {
|
|
1484
|
-
e =
|
|
1484
|
+
e = p("li"), l.c();
|
|
1485
1485
|
},
|
|
1486
1486
|
m(o, r) {
|
|
1487
1487
|
d(o, e, r), l.m(e, null);
|
|
@@ -1498,7 +1498,7 @@ function ze(s) {
|
|
|
1498
1498
|
let e, n;
|
|
1499
1499
|
return {
|
|
1500
1500
|
c() {
|
|
1501
|
-
e =
|
|
1501
|
+
e = p("span"), n = F(
|
|
1502
1502
|
/*pageTitle*/
|
|
1503
1503
|
s[1]
|
|
1504
1504
|
), h(e, "class", "mr-auto flex h-full items-center justify-center px-4 font-bold");
|
|
@@ -1523,7 +1523,7 @@ function Re(s) {
|
|
|
1523
1523
|
let e, n;
|
|
1524
1524
|
return {
|
|
1525
1525
|
c() {
|
|
1526
|
-
e =
|
|
1526
|
+
e = p("a"), n = F(
|
|
1527
1527
|
/*pageTitle*/
|
|
1528
1528
|
s[1]
|
|
1529
1529
|
), h(e, "class", "mr-auto flex h-full items-center justify-center px-4 font-bold transition-colors hover:bg-uofg-yellow"), h(
|
|
@@ -1583,7 +1583,7 @@ function He(s) {
|
|
|
1583
1583
|
16 && (o.$$scope = { dirty: l, ctx: t }), e.$set(o);
|
|
1584
1584
|
},
|
|
1585
1585
|
i(t) {
|
|
1586
|
-
n || (
|
|
1586
|
+
n || (b(e.$$.fragment, t), n = !0);
|
|
1587
1587
|
},
|
|
1588
1588
|
o(t) {
|
|
1589
1589
|
m(e.$$.fragment, t), n = !1;
|
|
@@ -1609,7 +1609,7 @@ function Ie(s) {
|
|
|
1609
1609
|
}
|
|
1610
1610
|
return {
|
|
1611
1611
|
c() {
|
|
1612
|
-
e =
|
|
1612
|
+
e = p("li");
|
|
1613
1613
|
for (let c = 0; c < n.length; c += 1)
|
|
1614
1614
|
n[c].c();
|
|
1615
1615
|
},
|
|
@@ -1629,7 +1629,7 @@ function Ie(s) {
|
|
|
1629
1629
|
i(c) {
|
|
1630
1630
|
if (!l) {
|
|
1631
1631
|
for (let a = 0; a < o.length; a += 1)
|
|
1632
|
-
|
|
1632
|
+
b(n[a]);
|
|
1633
1633
|
l = !0;
|
|
1634
1634
|
}
|
|
1635
1635
|
},
|
|
@@ -1674,7 +1674,7 @@ function We(s) {
|
|
|
1674
1674
|
16 && (o.$$scope = { dirty: l, ctx: t }), e.$set(o);
|
|
1675
1675
|
},
|
|
1676
1676
|
i(t) {
|
|
1677
|
-
n || (
|
|
1677
|
+
n || (b(e.$$.fragment, t), n = !0);
|
|
1678
1678
|
},
|
|
1679
1679
|
o(t) {
|
|
1680
1680
|
m(e.$$.fragment, t), n = !1;
|
|
@@ -1705,7 +1705,7 @@ function qe(s) {
|
|
|
1705
1705
|
c = Y(c, r[i]);
|
|
1706
1706
|
return {
|
|
1707
1707
|
c() {
|
|
1708
|
-
e =
|
|
1708
|
+
e = p("a"), t = F(n), I(e, c);
|
|
1709
1709
|
},
|
|
1710
1710
|
m(i, u) {
|
|
1711
1711
|
d(i, e, u), g(e, t);
|
|
@@ -1754,7 +1754,7 @@ function H1(s) {
|
|
|
1754
1754
|
i = Y(i, a[f]);
|
|
1755
1755
|
return {
|
|
1756
1756
|
c() {
|
|
1757
|
-
e =
|
|
1757
|
+
e = p("li"), n = p("a"), l = F(t), c = x(), I(n, i);
|
|
1758
1758
|
},
|
|
1759
1759
|
m(f, _) {
|
|
1760
1760
|
d(f, e, _), g(e, n), g(n, l), g(e, c);
|
|
@@ -1827,7 +1827,7 @@ function Pe(s) {
|
|
|
1827
1827
|
), l, o, r, c;
|
|
1828
1828
|
return r = new W({ props: { icon: a1 } }), {
|
|
1829
1829
|
c() {
|
|
1830
|
-
e =
|
|
1830
|
+
e = p("span"), n = p("span"), l = F(t), o = x(), Z(r.$$.fragment), h(n, "class", "mr-auto"), h(e, "class", "w-full flex gap-2 justify-between [&>svg]:transition-transform"), h(e, "slot", "button");
|
|
1831
1831
|
},
|
|
1832
1832
|
m(a, i) {
|
|
1833
1833
|
d(a, e, i), g(e, n), g(n, l), g(e, o), C(r, e, null), c = !0;
|
|
@@ -1838,7 +1838,7 @@ function Pe(s) {
|
|
|
1838
1838
|
a[13].title + "") && l1(l, t);
|
|
1839
1839
|
},
|
|
1840
1840
|
i(a) {
|
|
1841
|
-
c || (
|
|
1841
|
+
c || (b(r.$$.fragment, a), c = !0);
|
|
1842
1842
|
},
|
|
1843
1843
|
o(a) {
|
|
1844
1844
|
m(r.$$.fragment, a), c = !1;
|
|
@@ -1861,7 +1861,7 @@ function I1(s, e) {
|
|
|
1861
1861
|
key: s,
|
|
1862
1862
|
first: null,
|
|
1863
1863
|
c() {
|
|
1864
|
-
n =
|
|
1864
|
+
n = p("li"), l.c(), o = x(), h(n, "class", "[&>*]:last:mb-4 [&>*]:first:mt-4"), this.first = n;
|
|
1865
1865
|
},
|
|
1866
1866
|
m(u, f) {
|
|
1867
1867
|
d(u, n, f), a[t].m(n, null), g(n, o), r = !0;
|
|
@@ -1871,10 +1871,10 @@ function I1(s, e) {
|
|
|
1871
1871
|
let _ = t;
|
|
1872
1872
|
t = i(e), t === _ ? a[t].p(e, f) : (E(), m(a[_], 1, 1, () => {
|
|
1873
1873
|
a[_] = null;
|
|
1874
|
-
}), U(), l = a[t], l ? l.p(e, f) : (l = a[t] = c[t](e), l.c()),
|
|
1874
|
+
}), U(), l = a[t], l ? l.p(e, f) : (l = a[t] = c[t](e), l.c()), b(l, 1), l.m(n, o));
|
|
1875
1875
|
},
|
|
1876
1876
|
i(u) {
|
|
1877
|
-
r || (
|
|
1877
|
+
r || (b(l), r = !0);
|
|
1878
1878
|
},
|
|
1879
1879
|
o(u) {
|
|
1880
1880
|
m(l), r = !1;
|
|
@@ -1919,7 +1919,7 @@ function Ge(s) {
|
|
|
1919
1919
|
i(c) {
|
|
1920
1920
|
if (!l) {
|
|
1921
1921
|
for (let a = 0; a < o.length; a += 1)
|
|
1922
|
-
|
|
1922
|
+
b(e[a]);
|
|
1923
1923
|
l = !0;
|
|
1924
1924
|
}
|
|
1925
1925
|
},
|
|
@@ -1946,7 +1946,7 @@ function De(s) {
|
|
|
1946
1946
|
},
|
|
1947
1947
|
p: $,
|
|
1948
1948
|
i(t) {
|
|
1949
|
-
n || (
|
|
1949
|
+
n || (b(e.$$.fragment, t), n = !0);
|
|
1950
1950
|
},
|
|
1951
1951
|
o(t) {
|
|
1952
1952
|
m(e.$$.fragment, t), n = !1;
|
|
@@ -1984,7 +1984,7 @@ function Ye(s) {
|
|
|
1984
1984
|
16 && (o.$$scope = { dirty: l, ctx: t }), e.$set(o);
|
|
1985
1985
|
},
|
|
1986
1986
|
i(t) {
|
|
1987
|
-
n || (
|
|
1987
|
+
n || (b(e.$$.fragment, t), n = !0);
|
|
1988
1988
|
},
|
|
1989
1989
|
o(t) {
|
|
1990
1990
|
m(e.$$.fragment, t), n = !1;
|
|
@@ -2015,7 +2015,7 @@ function Je(s) {
|
|
|
2015
2015
|
a = Y(a, c[u]);
|
|
2016
2016
|
return {
|
|
2017
2017
|
c() {
|
|
2018
|
-
e =
|
|
2018
|
+
e = p("a"), t = F(n), l = x(), I(e, a);
|
|
2019
2019
|
},
|
|
2020
2020
|
m(u, f) {
|
|
2021
2021
|
d(u, e, f), g(e, t), g(e, l);
|
|
@@ -2064,7 +2064,7 @@ function W1(s) {
|
|
|
2064
2064
|
a = Y(a, c[u]);
|
|
2065
2065
|
return {
|
|
2066
2066
|
c() {
|
|
2067
|
-
e =
|
|
2067
|
+
e = p("li"), n = p("a"), l = F(t), I(n, a);
|
|
2068
2068
|
},
|
|
2069
2069
|
m(u, f) {
|
|
2070
2070
|
d(u, e, f), g(e, n), g(n, l);
|
|
@@ -2137,7 +2137,7 @@ function Qe(s) {
|
|
|
2137
2137
|
), l, o, r, c, a;
|
|
2138
2138
|
return r = new W({ props: { icon: a1 } }), {
|
|
2139
2139
|
c() {
|
|
2140
|
-
e =
|
|
2140
|
+
e = p("span"), n = p("span"), l = F(t), o = x(), Z(r.$$.fragment), c = x(), h(e, "class", "flex gap-2 [&>svg]:transition-transform"), h(e, "slot", "button");
|
|
2141
2141
|
},
|
|
2142
2142
|
m(i, u) {
|
|
2143
2143
|
d(i, e, u), g(e, n), g(n, l), g(e, o), C(r, e, null), g(e, c), a = !0;
|
|
@@ -2148,7 +2148,7 @@ function Qe(s) {
|
|
|
2148
2148
|
i[13].title + "") && l1(l, t);
|
|
2149
2149
|
},
|
|
2150
2150
|
i(i) {
|
|
2151
|
-
a || (
|
|
2151
|
+
a || (b(r.$$.fragment, i), a = !0);
|
|
2152
2152
|
},
|
|
2153
2153
|
o(i) {
|
|
2154
2154
|
m(r.$$.fragment, i), a = !1;
|
|
@@ -2181,10 +2181,10 @@ function q1(s, e) {
|
|
|
2181
2181
|
let _ = t;
|
|
2182
2182
|
t = i(e), t === _ ? a[t].p(e, f) : (E(), m(a[_], 1, 1, () => {
|
|
2183
2183
|
a[_] = null;
|
|
2184
|
-
}), U(), l = a[t], l ? l.p(e, f) : (l = a[t] = c[t](e), l.c()),
|
|
2184
|
+
}), U(), l = a[t], l ? l.p(e, f) : (l = a[t] = c[t](e), l.c()), b(l, 1), l.m(o.parentNode, o));
|
|
2185
2185
|
},
|
|
2186
2186
|
i(u) {
|
|
2187
|
-
r || (
|
|
2187
|
+
r || (b(l), r = !0);
|
|
2188
2188
|
},
|
|
2189
2189
|
o(u) {
|
|
2190
2190
|
m(l), r = !1;
|
|
@@ -2203,7 +2203,7 @@ function Xe(s) {
|
|
|
2203
2203
|
let A = (
|
|
2204
2204
|
/*windowWidth*/
|
|
2205
2205
|
s[4] >= H && /*variant*/
|
|
2206
|
-
s[3] !== "
|
|
2206
|
+
s[3] !== "dual-brand" && j1(s)
|
|
2207
2207
|
), V = (
|
|
2208
2208
|
/*windowWidth*/
|
|
2209
2209
|
s[4] >= H && U1()
|
|
@@ -2217,16 +2217,16 @@ function Xe(s) {
|
|
|
2217
2217
|
}
|
|
2218
2218
|
c = _1(s), a = G[c] = h1[c](s);
|
|
2219
2219
|
const g1 = [Ne, Ae, Le], O = [];
|
|
2220
|
-
function
|
|
2220
|
+
function b1(k, T) {
|
|
2221
2221
|
return (
|
|
2222
2222
|
/*variant*/
|
|
2223
|
-
k[3] === "
|
|
2223
|
+
k[3] === "dual-brand" ? 0 : (
|
|
2224
2224
|
/*windowWidth*/
|
|
2225
2225
|
k[4] >= H ? 1 : 2
|
|
2226
2226
|
)
|
|
2227
2227
|
);
|
|
2228
2228
|
}
|
|
2229
|
-
f =
|
|
2229
|
+
f = b1(s), _ = O[f] = g1[f](s);
|
|
2230
2230
|
let N = (
|
|
2231
2231
|
/*subNavigation*/
|
|
2232
2232
|
(s[0].length > 0 || /*pageTitle*/
|
|
@@ -2234,17 +2234,17 @@ function Xe(s) {
|
|
|
2234
2234
|
);
|
|
2235
2235
|
return {
|
|
2236
2236
|
c() {
|
|
2237
|
-
e =
|
|
2237
|
+
e = p("header"), A && A.c(), n = x(), t = p("nav"), l = p("div"), V && V.c(), o = x(), r = p("a"), a.c(), u = x(), _.c(), R = x(), N && N.c(), h(r, "class", i = t1(
|
|
2238
2238
|
"flex h-full w-fit transition-opacity focus:opacity-75 hover:opacity-75 min-[1320px]:absolute min-[1320px]:left-[max(calc((100%-1320px)/2),7.5rem)] [&>svg]:block [&>svg]:h-full",
|
|
2239
2239
|
/*windowWidth*/
|
|
2240
2240
|
s[4] >= H ? "[&>svg]:w-[18.4rem]" : (
|
|
2241
2241
|
/*variant*/
|
|
2242
|
-
s[3] === "
|
|
2242
|
+
s[3] === "dual-brand" ? "[&>svg]:w-[7.5rem]" : "[&>svg]:w-[5rem]"
|
|
2243
2243
|
)
|
|
2244
2244
|
)), h(r, "href", "https://www.uoguelph.ca"), h(r, "aria-label", "University of Guelph Home Page"), h(l, "class", "flex w-fit"), h(t, "class", y = t1(
|
|
2245
2245
|
"relative w-full justify-between flex lg:h-[10rem] bg-black px-[calc((100%-1320px)/2)] text-3xl text-white",
|
|
2246
2246
|
/*variant*/
|
|
2247
|
-
s[3] === "
|
|
2247
|
+
s[3] === "dual-brand" ? "h-[7.5rem]" : "h-[5rem]"
|
|
2248
2248
|
)), h(t, "aria-label", "Primary"), h(e, "class", "relative z-10 w-full font-condensed text-3xl text-black");
|
|
2249
2249
|
},
|
|
2250
2250
|
m(k, T) {
|
|
@@ -2258,43 +2258,43 @@ function Xe(s) {
|
|
|
2258
2258
|
p(k, T) {
|
|
2259
2259
|
/*windowWidth*/
|
|
2260
2260
|
k[4] >= H && /*variant*/
|
|
2261
|
-
k[3] !== "
|
|
2262
|
-
24 &&
|
|
2261
|
+
k[3] !== "dual-brand" ? A ? (A.p(k, T), T[0] & /*windowWidth, variant*/
|
|
2262
|
+
24 && b(A, 1)) : (A = j1(k), A.c(), b(A, 1), A.m(e, n)) : A && (E(), m(A, 1, 1, () => {
|
|
2263
2263
|
A = null;
|
|
2264
2264
|
}), U()), /*windowWidth*/
|
|
2265
2265
|
k[4] >= H ? V ? T[0] & /*windowWidth*/
|
|
2266
|
-
16 &&
|
|
2266
|
+
16 && b(V, 1) : (V = U1(), V.c(), b(V, 1), V.m(l, o)) : V && (E(), m(V, 1, 1, () => {
|
|
2267
2267
|
V = null;
|
|
2268
2268
|
}), U());
|
|
2269
2269
|
let o1 = c;
|
|
2270
2270
|
c = _1(k), c !== o1 && (E(), m(G[o1], 1, 1, () => {
|
|
2271
2271
|
G[o1] = null;
|
|
2272
|
-
}), U(), a = G[c], a || (a = G[c] = h1[c](k), a.c()),
|
|
2272
|
+
}), U(), a = G[c], a || (a = G[c] = h1[c](k), a.c()), b(a, 1), a.m(r, null)), (!w || T[0] & /*windowWidth, variant*/
|
|
2273
2273
|
24 && i !== (i = t1(
|
|
2274
2274
|
"flex h-full w-fit transition-opacity focus:opacity-75 hover:opacity-75 min-[1320px]:absolute min-[1320px]:left-[max(calc((100%-1320px)/2),7.5rem)] [&>svg]:block [&>svg]:h-full",
|
|
2275
2275
|
/*windowWidth*/
|
|
2276
2276
|
k[4] >= H ? "[&>svg]:w-[18.4rem]" : (
|
|
2277
2277
|
/*variant*/
|
|
2278
|
-
k[3] === "
|
|
2278
|
+
k[3] === "dual-brand" ? "[&>svg]:w-[7.5rem]" : "[&>svg]:w-[5rem]"
|
|
2279
2279
|
)
|
|
2280
2280
|
))) && h(r, "class", i);
|
|
2281
2281
|
let s1 = f;
|
|
2282
|
-
f =
|
|
2282
|
+
f = b1(k), f === s1 ? O[f].p(k, T) : (E(), m(O[s1], 1, 1, () => {
|
|
2283
2283
|
O[s1] = null;
|
|
2284
|
-
}), U(), _ = O[f], _ ? _.p(k, T) : (_ = O[f] = g1[f](k), _.c()),
|
|
2284
|
+
}), U(), _ = O[f], _ ? _.p(k, T) : (_ = O[f] = g1[f](k), _.c()), b(_, 1), _.m(t, null)), (!w || T[0] & /*variant*/
|
|
2285
2285
|
8 && y !== (y = t1(
|
|
2286
2286
|
"relative w-full justify-between flex lg:h-[10rem] bg-black px-[calc((100%-1320px)/2)] text-3xl text-white",
|
|
2287
2287
|
/*variant*/
|
|
2288
|
-
k[3] === "
|
|
2288
|
+
k[3] === "dual-brand" ? "h-[7.5rem]" : "h-[5rem]"
|
|
2289
2289
|
))) && h(t, "class", y), /*subNavigation*/
|
|
2290
2290
|
k[0].length > 0 || /*pageTitle*/
|
|
2291
2291
|
k[1] ? N ? (N.p(k, T), T[0] & /*subNavigation, pageTitle*/
|
|
2292
|
-
3 &&
|
|
2292
|
+
3 && b(N, 1)) : (N = z1(k), N.c(), b(N, 1), N.m(e, null)) : N && (E(), m(N, 1, 1, () => {
|
|
2293
2293
|
N = null;
|
|
2294
2294
|
}), U());
|
|
2295
2295
|
},
|
|
2296
2296
|
i(k) {
|
|
2297
|
-
w || (
|
|
2297
|
+
w || (b(A), b(V), b(a), b(_), b(N), w = !0);
|
|
2298
2298
|
},
|
|
2299
2299
|
o(k) {
|
|
2300
2300
|
m(A), m(V), m(a), m(_), m(N), w = !1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{font-size:62.5%}body{font-size:1.6rem;font-family:sans-serif;margin:0;padding:0}uofg-header{display:block;width:100%;height:5rem!important;background-color:#000}uofg-header *{display:none}uofg-header:has(*){height:10rem!important}@media screen and (min-width: 1024px){uofg-header{height:14rem!important}uofg-header:has(*):not([variant=
|
|
1
|
+
:root{font-size:62.5%}body{font-size:1.6rem;font-family:sans-serif;margin:0;padding:0}uofg-header{display:block;width:100%;height:5rem!important;background-color:#000}uofg-header *{display:none}uofg-header:has(*){height:10rem!important}@media screen and (min-width: 1024px){uofg-header{height:14rem!important}uofg-header:has(*):not([variant=dual-brand]){height:18rem!important}}uofg-menu{display:block}uofg-footer{display:block}uofg-modal{display:block;position:fixed;visibility:hidden;z-index:1000}uofg-alert{display:block;max-width:100rem}uofg-card{display:block}
|
package/package.json
CHANGED