@uoguelph/web-components 0.0.26 → 0.0.27
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/cjs/uofg-alert_6.cjs.entry.js +803 -198
- package/dist/collection/components/uofg-alert/uofg-alert.css +13 -27
- package/dist/collection/components/uofg-back-to-top/uofg-back-to-top.css +2 -5
- package/dist/collection/components/uofg-footer/uofg-footer.css +39 -50
- package/dist/collection/components/uofg-footer/uofg-footer.js +19 -4
- package/dist/collection/components/uofg-header/uofg-header.css +55 -234
- package/dist/collection/components/uofg-header/uofg-header.js +25 -9
- package/dist/collection/components/uofg-menu/uofg-menu.js +1 -1
- package/dist/collection/components/uofg-modal/uofg-modal.css +45 -51
- package/dist/collection/components/uofg-modal/uofg-modal.js +41 -2
- package/dist/collection/utils/utils.js +9 -2
- package/dist/components/_commonjsHelpers.js +15 -0
- package/dist/components/font-awesome-icon.js +10 -0
- package/dist/components/index2.js +1 -81
- package/dist/components/uofg-alert.js +3 -2
- package/dist/components/uofg-back-to-top.js +3 -2
- package/dist/components/uofg-footer.js +569 -64
- package/dist/components/uofg-header.js +173 -60
- package/dist/components/uofg-menu2.js +1 -1
- package/dist/components/uofg-modal.js +44 -4
- package/dist/components/utils.js +10 -3
- package/dist/esm/uofg-alert_6.entry.js +803 -198
- package/dist/types/components/uofg-header/uofg-header.d.ts +11 -1
- package/dist/types/components/uofg-modal/uofg-modal.d.ts +2 -0
- package/dist/types/utils/utils.d.ts +3 -2
- package/dist/uofg-web-components/p-d1e2ecf9.entry.js +1 -0
- package/dist/uofg-web-components/uofg-web-components.css +1 -1
- package/dist/uofg-web-components/uofg-web-components.esm.js +1 -1
- package/package.json +1 -1
- package/dist/collection/components/uofg-footer/footer-links.js +0 -5
- package/dist/collection/components/uofg-footer/social-links.js +0 -5
- package/dist/collection/components/uofg-header/global-links.js +0 -2
- package/dist/collection/components/uofg-header/hello-you.js +0 -4
- package/dist/collection/components/uofg-header/page-specific.js +0 -15
- package/dist/collection/components/uofg-header/search.js +0 -4
- package/dist/collection/components/uofg-header/single-sign-on.js +0 -2
- package/dist/types/components/uofg-footer/footer-links.d.ts +0 -2
- package/dist/types/components/uofg-footer/social-links.d.ts +0 -2
- package/dist/types/components/uofg-header/global-links.d.ts +0 -2
- package/dist/types/components/uofg-header/hello-you.d.ts +0 -6
- package/dist/types/components/uofg-header/page-specific.d.ts +0 -17
- package/dist/types/components/uofg-header/search.d.ts +0 -2
- package/dist/types/components/uofg-header/single-sign-on.d.ts +0 -2
- package/dist/uofg-web-components/p-1976d7da.entry.js +0 -1
- /package/dist/collection/components/uofg-header/{logo-full-size.svg → logo-full.svg} +0 -0
- /package/dist/collection/components/uofg-header/{logo-reduced-size.svg → logo-reduced.svg} +0 -0
|
@@ -11,95 +11,24 @@ const FontAwesomeIcon = props => {
|
|
|
11
11
|
return (index.h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: `0 0 ${width} ${height}` }, Array.isArray(iconPathData) ? (iconPathData.map(path => index.h("path", { d: path }))) : (index.h("path", { d: iconPathData }))));
|
|
12
12
|
};
|
|
13
13
|
|
|
14
|
-
var faBars = {
|
|
15
|
-
prefix: 'fas',
|
|
16
|
-
iconName: 'bars',
|
|
17
|
-
icon: [448, 512, ["navicon"], "f0c9", "M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"]
|
|
18
|
-
};
|
|
19
14
|
var faCircleExclamation = {
|
|
20
15
|
prefix: 'fas',
|
|
21
16
|
iconName: 'circle-exclamation',
|
|
22
17
|
icon: [512, 512, ["exclamation-circle"], "f06a", "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24V264c0 13.3-10.7 24-24 24s-24-10.7-24-24V152c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"]
|
|
23
18
|
};
|
|
24
|
-
var faSitemap = {
|
|
25
|
-
prefix: 'fas',
|
|
26
|
-
iconName: 'sitemap',
|
|
27
|
-
icon: [576, 512, [], "f0e8", "M208 80c0-26.5 21.5-48 48-48h64c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48h-8v40H464c30.9 0 56 25.1 56 56v32h8c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48H464c-26.5 0-48-21.5-48-48V368c0-26.5 21.5-48 48-48h8V288c0-4.4-3.6-8-8-8H312v40h8c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48H256c-26.5 0-48-21.5-48-48V368c0-26.5 21.5-48 48-48h8V280H112c-4.4 0-8 3.6-8 8v32h8c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V368c0-26.5 21.5-48 48-48h8V288c0-30.9 25.1-56 56-56H264V192h-8c-26.5 0-48-21.5-48-48V80z"]
|
|
28
|
-
};
|
|
29
|
-
var faList = {
|
|
30
|
-
prefix: 'fas',
|
|
31
|
-
iconName: 'list',
|
|
32
|
-
icon: [512, 512, ["list-squares"], "f03a", "M40 48C26.7 48 16 58.7 16 72v48c0 13.3 10.7 24 24 24H88c13.3 0 24-10.7 24-24V72c0-13.3-10.7-24-24-24H40zM192 64c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zM16 232v48c0 13.3 10.7 24 24 24H88c13.3 0 24-10.7 24-24V232c0-13.3-10.7-24-24-24H40c-13.3 0-24 10.7-24 24zM40 368c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24H88c13.3 0 24-10.7 24-24V392c0-13.3-10.7-24-24-24H40z"]
|
|
33
|
-
};
|
|
34
|
-
var faTree = {
|
|
35
|
-
prefix: 'fas',
|
|
36
|
-
iconName: 'tree',
|
|
37
|
-
icon: [448, 512, [127794], "f1bb", "M210.6 5.9L62 169.4c-3.9 4.2-6 9.8-6 15.5C56 197.7 66.3 208 79.1 208H104L30.6 281.4c-4.2 4.2-6.6 10-6.6 16C24 309.9 34.1 320 46.6 320H80L5.4 409.5C1.9 413.7 0 419 0 424.5c0 13 10.5 23.5 23.5 23.5H192v32c0 17.7 14.3 32 32 32s32-14.3 32-32V448H424.5c13 0 23.5-10.5 23.5-23.5c0-5.5-1.9-10.8-5.4-15L368 320h33.4c12.5 0 22.6-10.1 22.6-22.6c0-6-2.4-11.8-6.6-16L344 208h24.9c12.7 0 23.1-10.3 23.1-23.1c0-5.7-2.1-11.3-6-15.5L237.4 5.9C234 2.1 229.1 0 224 0s-10 2.1-13.4 5.9z"]
|
|
38
|
-
};
|
|
39
19
|
var faChevronUp = {
|
|
40
20
|
prefix: 'fas',
|
|
41
21
|
iconName: 'chevron-up',
|
|
42
22
|
icon: [512, 512, [], "f077", "M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z"]
|
|
43
23
|
};
|
|
44
|
-
var faKey = {
|
|
45
|
-
prefix: 'fas',
|
|
46
|
-
iconName: 'key',
|
|
47
|
-
icon: [512, 512, [128273], "f084", "M336 352c97.2 0 176-78.8 176-176S433.2 0 336 0S160 78.8 160 176c0 18.7 2.9 36.8 8.3 53.7L7 391c-4.5 4.5-7 10.6-7 17v80c0 13.3 10.7 24 24 24h80c13.3 0 24-10.7 24-24V448h40c13.3 0 24-10.7 24-24V384h40c6.4 0 12.5-2.5 17-7l33.3-33.3c16.9 5.4 35 8.3 53.7 8.3zM376 96a40 40 0 1 1 0 80 40 40 0 1 1 0-80z"]
|
|
48
|
-
};
|
|
49
|
-
var faRightToBracket = {
|
|
50
|
-
prefix: 'fas',
|
|
51
|
-
iconName: 'right-to-bracket',
|
|
52
|
-
icon: [512, 512, ["sign-in-alt"], "f2f6", "M217.9 105.9L340.7 228.7c7.2 7.2 11.3 17.1 11.3 27.3s-4.1 20.1-11.3 27.3L217.9 406.1c-6.4 6.4-15 9.9-24 9.9c-18.7 0-33.9-15.2-33.9-33.9l0-62.1L32 320c-17.7 0-32-14.3-32-32l0-64c0-17.7 14.3-32 32-32l128 0 0-62.1c0-18.7 15.2-33.9 33.9-33.9c9 0 17.6 3.6 24 9.9zM352 416l64 0c17.7 0 32-14.3 32-32l0-256c0-17.7-14.3-32-32-32l-64 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l64 0c53 0 96 43 96 96l0 256c0 53-43 96-96 96l-64 0c-17.7 0-32-14.3-32-32s14.3-32 32-32z"]
|
|
53
|
-
};
|
|
54
|
-
var faCircleCheck = {
|
|
55
|
-
prefix: 'fas',
|
|
56
|
-
iconName: 'circle-check',
|
|
57
|
-
icon: [512, 512, [61533, "check-circle"], "f058", "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]
|
|
58
|
-
};
|
|
59
|
-
var faUniversalAccess = {
|
|
60
|
-
prefix: 'fas',
|
|
61
|
-
iconName: 'universal-access',
|
|
62
|
-
icon: [512, 512, [], "f29a", "M0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm161.5-86.1c-12.2-5.2-26.3 .4-31.5 12.6s.4 26.3 12.6 31.5l11.9 5.1c17.3 7.4 35.2 12.9 53.6 16.3v50.1c0 4.3-.7 8.6-2.1 12.6l-28.7 86.1c-4.2 12.6 2.6 26.2 15.2 30.4s26.2-2.6 30.4-15.2l24.4-73.2c1.3-3.8 4.8-6.4 8.8-6.4s7.6 2.6 8.8 6.4l24.4 73.2c4.2 12.6 17.8 19.4 30.4 15.2s19.4-17.8 15.2-30.4l-28.7-86.1c-1.4-4.1-2.1-8.3-2.1-12.6V235.5c18.4-3.5 36.3-8.9 53.6-16.3l11.9-5.1c12.2-5.2 17.8-19.3 12.6-31.5s-19.3-17.8-31.5-12.6L338.7 175c-26.1 11.2-54.2 17-82.7 17s-56.5-5.8-82.7-17l-11.9-5.1zM256 160a40 40 0 1 0 0-80 40 40 0 1 0 0 80z"]
|
|
63
|
-
};
|
|
64
|
-
var faHandHoldingHeart = {
|
|
65
|
-
prefix: 'fas',
|
|
66
|
-
iconName: 'hand-holding-heart',
|
|
67
|
-
icon: [576, 512, [], "f4be", "M148 76.6C148 34.3 182.3 0 224.6 0c20.3 0 39.8 8.1 54.1 22.4l9.3 9.3 9.3-9.3C311.6 8.1 331.1 0 351.4 0C393.7 0 428 34.3 428 76.6c0 20.3-8.1 39.8-22.4 54.1L302.1 234.1c-7.8 7.8-20.5 7.8-28.3 0L170.4 130.7C156.1 116.4 148 96.9 148 76.6zM568.2 336.3c13.1 17.8 9.3 42.8-8.5 55.9L433.1 485.5c-23.4 17.2-51.6 26.5-80.7 26.5H192 32c-17.7 0-32-14.3-32-32V416c0-17.7 14.3-32 32-32H68.8l44.9-36c22.7-18.2 50.9-28 80-28H272h16 64c17.7 0 32 14.3 32 32s-14.3 32-32 32H288 272c-8.8 0-16 7.2-16 16s7.2 16 16 16H392.6l119.7-88.2c17.8-13.1 42.8-9.3 55.9 8.5zM193.6 384l0 0-.9 0c.3 0 .6 0 .9 0z"]
|
|
68
|
-
};
|
|
69
|
-
var faPhoneFlip = {
|
|
70
|
-
prefix: 'fas',
|
|
71
|
-
iconName: 'phone-flip',
|
|
72
|
-
icon: [512, 512, [128381, "phone-alt"], "f879", "M347.1 24.6c7.7-18.6 28-28.5 47.4-23.2l88 24C499.9 30.2 512 46 512 64c0 247.4-200.6 448-448 448c-18 0-33.8-12.1-38.6-29.5l-24-88c-5.3-19.4 4.6-39.7 23.2-47.4l96-40c16.3-6.8 35.2-2.1 46.3 11.6L207.3 368c70.4-33.3 127.4-90.3 160.7-160.7L318.7 167c-13.7-11.2-18.4-30-11.6-46.3l40-96z"]
|
|
73
|
-
};
|
|
74
|
-
var faCaretDown = {
|
|
75
|
-
prefix: 'fas',
|
|
76
|
-
iconName: 'caret-down',
|
|
77
|
-
icon: [320, 512, [], "f0d7", "M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z"]
|
|
78
|
-
};
|
|
79
|
-
var faMagnifyingGlass = {
|
|
80
|
-
prefix: 'fas',
|
|
81
|
-
iconName: 'magnifying-glass',
|
|
82
|
-
icon: [512, 512, [128269, "search"], "f002", "M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"]
|
|
83
|
-
};
|
|
84
|
-
var faSearch = faMagnifyingGlass;
|
|
85
24
|
var faXmark = {
|
|
86
25
|
prefix: 'fas',
|
|
87
26
|
iconName: 'xmark',
|
|
88
27
|
icon: [384, 512, [128473, 10005, 10006, 10060, 215, "close", "multiply", "remove", "times"], "f00d", "M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"]
|
|
89
28
|
};
|
|
90
29
|
var faTimes = faXmark;
|
|
91
|
-
var faCalendar = {
|
|
92
|
-
prefix: 'fas',
|
|
93
|
-
iconName: 'calendar',
|
|
94
|
-
icon: [448, 512, [128197, 128198], "f133", "M96 32V64H48C21.5 64 0 85.5 0 112v48H448V112c0-26.5-21.5-48-48-48H352V32c0-17.7-14.3-32-32-32s-32 14.3-32 32V64H160V32c0-17.7-14.3-32-32-32S96 14.3 96 32zM448 192H0V464c0 26.5 21.5 48 48 48H400c26.5 0 48-21.5 48-48V192z"]
|
|
95
|
-
};
|
|
96
|
-
var faBriefcase = {
|
|
97
|
-
prefix: 'fas',
|
|
98
|
-
iconName: 'briefcase',
|
|
99
|
-
icon: [512, 512, [128188], "f0b1", "M184 48H328c4.4 0 8 3.6 8 8V96H176V56c0-4.4 3.6-8 8-8zm-56 8V96H64C28.7 96 0 124.7 0 160v96H192 320 512V160c0-35.3-28.7-64-64-64H384V56c0-30.9-25.1-56-56-56H184c-30.9 0-56 25.1-56 56zM512 288H320v32c0 17.7-14.3 32-32 32H224c-17.7 0-32-14.3-32-32V288H0V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V288z"]
|
|
100
|
-
};
|
|
101
30
|
|
|
102
|
-
const uofgAlertCss = ":host{display:block;max-width:100rem}*{
|
|
31
|
+
const uofgAlertCss = ":host{display:block;max-width:100rem}*{box-sizing:border-box}#uofg-alert{display:flex;flex-direction:column;font-size:2rem}#uofg-alert-title{display:flex;align-items:center;font-size:2.25rem;padding:2rem;color:white;background-color:#c10631}#uofg-alert-title>svg{margin-right:1rem;fill:currentColor;height:1.5em}#uofg-alert-body{display:flex;flex-direction:column;padding:1.5rem 2rem;background-color:white}#uofg-alert-body slot[name=subtitle]::slotted(*){font-size:2rem;margin-bottom:2rem;font-weight:bold}#uofg-alert-body slot[name=message]::slotted(*){font-size:1.6rem}#uofg-alert-footer{display:flex;padding:1rem 2rem;background-color:#dddddd;font-size:1.4rem}";
|
|
103
32
|
|
|
104
33
|
const UofgAlert = class {
|
|
105
34
|
constructor(hostRef) {
|
|
@@ -111,7 +40,7 @@ const UofgAlert = class {
|
|
|
111
40
|
};
|
|
112
41
|
UofgAlert.style = uofgAlertCss;
|
|
113
42
|
|
|
114
|
-
const uofgBackToTopCss = ":host{display:block}:focus-visible{outline:2px solid #ffc72a;outline-offset:0.5rem}#uofg-back-to-top{position:fixed;margin:10px;height:35px;width:35px;right:0;bottom:0;z-index:1000;cursor:pointer;background-color:black;color:white
|
|
43
|
+
const uofgBackToTopCss = ":host{display:block}:focus-visible{outline:2px solid #ffc72a;outline-offset:0.5rem}#uofg-back-to-top{position:fixed;margin:10px;height:35px;width:35px;right:0;bottom:0;z-index:1000;cursor:pointer;background-color:black;color:white;transition-duration:0.3s;transition-timing-function:ease-in-out;transition-property:opacity, visibility, background-color;opacity:0;visibility:hidden;border-radius:50%;border:1px solid #fff}#uofg-back-to-top:hover{background-color:#d50029}#uofg-back-to-top>svg{width:1em;height:1em;fill:currentColor}#uofg-back-to-top.visible{opacity:1;visibility:visible}";
|
|
115
44
|
|
|
116
45
|
const UofgBackToTop = class {
|
|
117
46
|
constructor(hostRef) {
|
|
@@ -133,84 +62,768 @@ const UofgBackToTop = class {
|
|
|
133
62
|
};
|
|
134
63
|
UofgBackToTop.style = uofgBackToTopCss;
|
|
135
64
|
|
|
136
|
-
var faSquareTwitter = {
|
|
137
|
-
prefix: 'fab',
|
|
138
|
-
iconName: 'square-twitter',
|
|
139
|
-
icon: [448, 512, ["twitter-square"], "f081", "M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-48.9 158.8c.2 2.8.2 5.7.2 8.5 0 86.7-66 186.6-186.6 186.6-37.2 0-71.7-10.8-100.7-29.4 5.3.6 10.4.8 15.8.8 30.7 0 58.9-10.4 81.4-28-28.8-.6-53-19.5-61.3-45.5 10.1 1.5 19.2 1.5 29.6-1.2-30-6.1-52.5-32.5-52.5-64.4v-.8c8.7 4.9 18.9 7.9 29.6 8.3a65.447 65.447 0 0 1-29.2-54.6c0-12.2 3.2-23.4 8.9-33.1 32.3 39.8 80.8 65.8 135.2 68.6-9.3-44.5 24-80.6 64-80.6 18.9 0 35.9 7.9 47.9 20.7 14.8-2.8 29-8.3 41.6-15.8-4.9 15.2-15.2 28-28.8 36.1 13.2-1.4 26-5.1 37.8-10.2-8.9 13.1-20.1 24.7-32.9 34z"]
|
|
140
|
-
};
|
|
141
|
-
var faTwitterSquare = faSquareTwitter;
|
|
142
|
-
var faTiktok = {
|
|
143
|
-
prefix: 'fab',
|
|
144
|
-
iconName: 'tiktok',
|
|
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"]
|
|
146
|
-
};
|
|
147
|
-
var faSquareFacebook = {
|
|
148
|
-
prefix: 'fab',
|
|
149
|
-
iconName: 'square-facebook',
|
|
150
|
-
icon: [448, 512, ["facebook-square"], "f082", "M400 32H48A48 48 0 0 0 0 80v352a48 48 0 0 0 48 48h137.25V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.27c-30.81 0-40.42 19.12-40.42 38.73V256h68.78l-11 71.69h-57.78V480H400a48 48 0 0 0 48-48V80a48 48 0 0 0-48-48z"]
|
|
151
|
-
};
|
|
152
|
-
var faFacebookSquare = faSquareFacebook;
|
|
153
|
-
var faLinkedin = {
|
|
154
|
-
prefix: 'fab',
|
|
155
|
-
iconName: 'linkedin',
|
|
156
|
-
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"]
|
|
157
|
-
};
|
|
158
|
-
var faInstagram = {
|
|
159
|
-
prefix: 'fab',
|
|
160
|
-
iconName: 'instagram',
|
|
161
|
-
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"]
|
|
162
|
-
};
|
|
163
|
-
var faYoutube = {
|
|
164
|
-
prefix: 'fab',
|
|
165
|
-
iconName: 'youtube',
|
|
166
|
-
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"]
|
|
167
|
-
};
|
|
168
|
-
|
|
169
|
-
const SocialLink = props => (index.h("li", null,
|
|
170
|
-
index.h("a", { href: props.url, "aria-label": props.name },
|
|
171
|
-
index.h(FontAwesomeIcon, { icon: props.icon }))));
|
|
172
|
-
const SocialLinks = () => (index.h("ul", { id: "uofg-footer-social-links" },
|
|
173
|
-
index.h(SocialLink, { name: "Twitter", url: "https://twitter.com/uofg", icon: faTwitterSquare }),
|
|
174
|
-
index.h(SocialLink, { name: "Facebook", url: "https://www.facebook.com/uofguelph", icon: faFacebookSquare }),
|
|
175
|
-
index.h(SocialLink, { name: "Instagram", url: "https://www.instagram.com/uofguelph/", icon: faInstagram }),
|
|
176
|
-
index.h(SocialLink, { name: "Youtube", url: "https://www.youtube.com/user/uofguelph", icon: faYoutube }),
|
|
177
|
-
index.h(SocialLink, { name: "LinkedIn", url: "https://www.linkedin.com/school/university-of-guelph/", icon: faLinkedin }),
|
|
178
|
-
index.h(SocialLink, { name: "TikTok", url: "https://www.tiktok.com/@uofguelph", icon: faTiktok })));
|
|
179
|
-
|
|
180
|
-
const FooterLink = props => (index.h("li", null,
|
|
181
|
-
index.h("a", { href: props.url, title: props.title },
|
|
182
|
-
index.h(FontAwesomeIcon, { icon: props.icon }),
|
|
183
|
-
index.h("span", null, props.text))));
|
|
184
|
-
const FooterLinks = () => (index.h("ul", { id: "uofg-footer-links", class: "uofg-footer-content-separator" },
|
|
185
|
-
index.h(FooterLink, { text: "Accessibility", url: "https://www.uoguelph.ca/diversity-human-rights/accessibility-u-g", icon: faUniversalAccess }),
|
|
186
|
-
index.h(FooterLink, { text: "Privacy", url: "https://www.uoguelph.ca/web/privacy/", icon: faKey }),
|
|
187
|
-
index.h(FooterLink, { text: "Site Map", url: "https://www.uoguelph.ca/site-map/", icon: faSitemap }),
|
|
188
|
-
index.h(FooterLink, { text: "Status Page", url: "https://uoguelph.statuspage.io/", icon: faCircleCheck }),
|
|
189
|
-
index.h(FooterLink, { text: "Land Acknowledgement", url: "https://www.uoguelph.ca/land-acknowledgement/", icon: faTree, 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\u00E9tis peoples and acknowledging them reminds us of our collective responsibility to the land where we learn and work." }),
|
|
190
|
-
index.h(FooterLink, { text: "Careers", url: "https://www.uoguelph.ca/hr/careers-guelph/current-opportunities", icon: faBriefcase }),
|
|
191
|
-
index.h(FooterLink, { text: "Undergraduate Calendar", url: "https://www.uoguelph.ca/registrar/calendars/undergraduate/current/", icon: faCalendar }),
|
|
192
|
-
index.h(FooterLink, { text: "Graduate Calendar", url: "https://www.uoguelph.ca/registrar/calendars/graduate/current/", icon: faCalendar }),
|
|
193
|
-
index.h(FooterLink, { text: "Program Plans", url: "https://admission.uoguelph.ca/programs", icon: faList }),
|
|
194
|
-
index.h(FooterLink, { text: "Give to U of G", url: "https://www.alumni.uoguelph.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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"/>
|
|
199
68
|
</svg>
|
|
200
69
|
`;
|
|
201
70
|
|
|
202
|
-
|
|
71
|
+
function createCommonjsModule(fn, basedir, module) {
|
|
72
|
+
return module = {
|
|
73
|
+
path: basedir,
|
|
74
|
+
exports: {},
|
|
75
|
+
require: function (path, base) {
|
|
76
|
+
return commonjsRequire();
|
|
77
|
+
}
|
|
78
|
+
}, fn(module, module.exports), module.exports;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
function commonjsRequire () {
|
|
82
|
+
throw new Error('Dynamic requires are not currently supported by @rollup/plugin-commonjs');
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
var faBriefcase = createCommonjsModule(function (module, exports) {
|
|
86
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
87
|
+
var prefix = 'fas';
|
|
88
|
+
var iconName = 'briefcase';
|
|
89
|
+
var width = 512;
|
|
90
|
+
var height = 512;
|
|
91
|
+
var aliases = [128188];
|
|
92
|
+
var unicode = 'f0b1';
|
|
93
|
+
var svgPathData = 'M184 48H328c4.4 0 8 3.6 8 8V96H176V56c0-4.4 3.6-8 8-8zm-56 8V96H64C28.7 96 0 124.7 0 160v96H192 320 512V160c0-35.3-28.7-64-64-64H384V56c0-30.9-25.1-56-56-56H184c-30.9 0-56 25.1-56 56zM512 288H320v32c0 17.7-14.3 32-32 32H224c-17.7 0-32-14.3-32-32V288H0V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V288z';
|
|
94
|
+
|
|
95
|
+
exports.definition = {
|
|
96
|
+
prefix: prefix,
|
|
97
|
+
iconName: iconName,
|
|
98
|
+
icon: [
|
|
99
|
+
width,
|
|
100
|
+
height,
|
|
101
|
+
aliases,
|
|
102
|
+
unicode,
|
|
103
|
+
svgPathData
|
|
104
|
+
]};
|
|
105
|
+
|
|
106
|
+
exports.faBriefcase = exports.definition;
|
|
107
|
+
exports.prefix = prefix;
|
|
108
|
+
exports.iconName = iconName;
|
|
109
|
+
exports.width = width;
|
|
110
|
+
exports.height = height;
|
|
111
|
+
exports.ligatures = aliases;
|
|
112
|
+
exports.unicode = unicode;
|
|
113
|
+
exports.svgPathData = svgPathData;
|
|
114
|
+
exports.aliases = aliases;
|
|
115
|
+
});
|
|
116
|
+
|
|
117
|
+
var faCalendar = createCommonjsModule(function (module, exports) {
|
|
118
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
119
|
+
var prefix = 'fas';
|
|
120
|
+
var iconName = 'calendar';
|
|
121
|
+
var width = 448;
|
|
122
|
+
var height = 512;
|
|
123
|
+
var aliases = [128197,128198];
|
|
124
|
+
var unicode = 'f133';
|
|
125
|
+
var svgPathData = 'M96 32V64H48C21.5 64 0 85.5 0 112v48H448V112c0-26.5-21.5-48-48-48H352V32c0-17.7-14.3-32-32-32s-32 14.3-32 32V64H160V32c0-17.7-14.3-32-32-32S96 14.3 96 32zM448 192H0V464c0 26.5 21.5 48 48 48H400c26.5 0 48-21.5 48-48V192z';
|
|
126
|
+
|
|
127
|
+
exports.definition = {
|
|
128
|
+
prefix: prefix,
|
|
129
|
+
iconName: iconName,
|
|
130
|
+
icon: [
|
|
131
|
+
width,
|
|
132
|
+
height,
|
|
133
|
+
aliases,
|
|
134
|
+
unicode,
|
|
135
|
+
svgPathData
|
|
136
|
+
]};
|
|
137
|
+
|
|
138
|
+
exports.faCalendar = exports.definition;
|
|
139
|
+
exports.prefix = prefix;
|
|
140
|
+
exports.iconName = iconName;
|
|
141
|
+
exports.width = width;
|
|
142
|
+
exports.height = height;
|
|
143
|
+
exports.ligatures = aliases;
|
|
144
|
+
exports.unicode = unicode;
|
|
145
|
+
exports.svgPathData = svgPathData;
|
|
146
|
+
exports.aliases = aliases;
|
|
147
|
+
});
|
|
148
|
+
|
|
149
|
+
var faCircleCheck = createCommonjsModule(function (module, exports) {
|
|
150
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
151
|
+
var prefix = 'fas';
|
|
152
|
+
var iconName = 'circle-check';
|
|
153
|
+
var width = 512;
|
|
154
|
+
var height = 512;
|
|
155
|
+
var aliases = [61533,"check-circle"];
|
|
156
|
+
var unicode = 'f058';
|
|
157
|
+
var svgPathData = 'M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z';
|
|
158
|
+
|
|
159
|
+
exports.definition = {
|
|
160
|
+
prefix: prefix,
|
|
161
|
+
iconName: iconName,
|
|
162
|
+
icon: [
|
|
163
|
+
width,
|
|
164
|
+
height,
|
|
165
|
+
aliases,
|
|
166
|
+
unicode,
|
|
167
|
+
svgPathData
|
|
168
|
+
]};
|
|
169
|
+
|
|
170
|
+
exports.faCircleCheck = exports.definition;
|
|
171
|
+
exports.prefix = prefix;
|
|
172
|
+
exports.iconName = iconName;
|
|
173
|
+
exports.width = width;
|
|
174
|
+
exports.height = height;
|
|
175
|
+
exports.ligatures = aliases;
|
|
176
|
+
exports.unicode = unicode;
|
|
177
|
+
exports.svgPathData = svgPathData;
|
|
178
|
+
exports.aliases = aliases;
|
|
179
|
+
});
|
|
180
|
+
|
|
181
|
+
var faHandHoldingHeart = createCommonjsModule(function (module, exports) {
|
|
182
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
183
|
+
var prefix = 'fas';
|
|
184
|
+
var iconName = 'hand-holding-heart';
|
|
185
|
+
var width = 576;
|
|
186
|
+
var height = 512;
|
|
187
|
+
var aliases = [];
|
|
188
|
+
var unicode = 'f4be';
|
|
189
|
+
var svgPathData = 'M148 76.6C148 34.3 182.3 0 224.6 0c20.3 0 39.8 8.1 54.1 22.4l9.3 9.3 9.3-9.3C311.6 8.1 331.1 0 351.4 0C393.7 0 428 34.3 428 76.6c0 20.3-8.1 39.8-22.4 54.1L302.1 234.1c-7.8 7.8-20.5 7.8-28.3 0L170.4 130.7C156.1 116.4 148 96.9 148 76.6zM568.2 336.3c13.1 17.8 9.3 42.8-8.5 55.9L433.1 485.5c-23.4 17.2-51.6 26.5-80.7 26.5H192 32c-17.7 0-32-14.3-32-32V416c0-17.7 14.3-32 32-32H68.8l44.9-36c22.7-18.2 50.9-28 80-28H272h16 64c17.7 0 32 14.3 32 32s-14.3 32-32 32H288 272c-8.8 0-16 7.2-16 16s7.2 16 16 16H392.6l119.7-88.2c17.8-13.1 42.8-9.3 55.9 8.5zM193.6 384l0 0-.9 0c.3 0 .6 0 .9 0z';
|
|
190
|
+
|
|
191
|
+
exports.definition = {
|
|
192
|
+
prefix: prefix,
|
|
193
|
+
iconName: iconName,
|
|
194
|
+
icon: [
|
|
195
|
+
width,
|
|
196
|
+
height,
|
|
197
|
+
aliases,
|
|
198
|
+
unicode,
|
|
199
|
+
svgPathData
|
|
200
|
+
]};
|
|
201
|
+
|
|
202
|
+
exports.faHandHoldingHeart = exports.definition;
|
|
203
|
+
exports.prefix = prefix;
|
|
204
|
+
exports.iconName = iconName;
|
|
205
|
+
exports.width = width;
|
|
206
|
+
exports.height = height;
|
|
207
|
+
exports.ligatures = aliases;
|
|
208
|
+
exports.unicode = unicode;
|
|
209
|
+
exports.svgPathData = svgPathData;
|
|
210
|
+
exports.aliases = aliases;
|
|
211
|
+
});
|
|
212
|
+
|
|
213
|
+
var faKey = createCommonjsModule(function (module, exports) {
|
|
214
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
215
|
+
var prefix = 'fas';
|
|
216
|
+
var iconName = 'key';
|
|
217
|
+
var width = 512;
|
|
218
|
+
var height = 512;
|
|
219
|
+
var aliases = [128273];
|
|
220
|
+
var unicode = 'f084';
|
|
221
|
+
var svgPathData = 'M336 352c97.2 0 176-78.8 176-176S433.2 0 336 0S160 78.8 160 176c0 18.7 2.9 36.8 8.3 53.7L7 391c-4.5 4.5-7 10.6-7 17v80c0 13.3 10.7 24 24 24h80c13.3 0 24-10.7 24-24V448h40c13.3 0 24-10.7 24-24V384h40c6.4 0 12.5-2.5 17-7l33.3-33.3c16.9 5.4 35 8.3 53.7 8.3zM376 96a40 40 0 1 1 0 80 40 40 0 1 1 0-80z';
|
|
222
|
+
|
|
223
|
+
exports.definition = {
|
|
224
|
+
prefix: prefix,
|
|
225
|
+
iconName: iconName,
|
|
226
|
+
icon: [
|
|
227
|
+
width,
|
|
228
|
+
height,
|
|
229
|
+
aliases,
|
|
230
|
+
unicode,
|
|
231
|
+
svgPathData
|
|
232
|
+
]};
|
|
233
|
+
|
|
234
|
+
exports.faKey = exports.definition;
|
|
235
|
+
exports.prefix = prefix;
|
|
236
|
+
exports.iconName = iconName;
|
|
237
|
+
exports.width = width;
|
|
238
|
+
exports.height = height;
|
|
239
|
+
exports.ligatures = aliases;
|
|
240
|
+
exports.unicode = unicode;
|
|
241
|
+
exports.svgPathData = svgPathData;
|
|
242
|
+
exports.aliases = aliases;
|
|
243
|
+
});
|
|
244
|
+
|
|
245
|
+
var faList = createCommonjsModule(function (module, exports) {
|
|
246
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
247
|
+
var prefix = 'fas';
|
|
248
|
+
var iconName = 'list';
|
|
249
|
+
var width = 512;
|
|
250
|
+
var height = 512;
|
|
251
|
+
var aliases = ["list-squares"];
|
|
252
|
+
var unicode = 'f03a';
|
|
253
|
+
var svgPathData = 'M40 48C26.7 48 16 58.7 16 72v48c0 13.3 10.7 24 24 24H88c13.3 0 24-10.7 24-24V72c0-13.3-10.7-24-24-24H40zM192 64c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zM16 232v48c0 13.3 10.7 24 24 24H88c13.3 0 24-10.7 24-24V232c0-13.3-10.7-24-24-24H40c-13.3 0-24 10.7-24 24zM40 368c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24H88c13.3 0 24-10.7 24-24V392c0-13.3-10.7-24-24-24H40z';
|
|
203
254
|
|
|
255
|
+
exports.definition = {
|
|
256
|
+
prefix: prefix,
|
|
257
|
+
iconName: iconName,
|
|
258
|
+
icon: [
|
|
259
|
+
width,
|
|
260
|
+
height,
|
|
261
|
+
aliases,
|
|
262
|
+
unicode,
|
|
263
|
+
svgPathData
|
|
264
|
+
]};
|
|
265
|
+
|
|
266
|
+
exports.faList = exports.definition;
|
|
267
|
+
exports.prefix = prefix;
|
|
268
|
+
exports.iconName = iconName;
|
|
269
|
+
exports.width = width;
|
|
270
|
+
exports.height = height;
|
|
271
|
+
exports.ligatures = aliases;
|
|
272
|
+
exports.unicode = unicode;
|
|
273
|
+
exports.svgPathData = svgPathData;
|
|
274
|
+
exports.aliases = aliases;
|
|
275
|
+
});
|
|
276
|
+
|
|
277
|
+
var faSitemap = createCommonjsModule(function (module, exports) {
|
|
278
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
279
|
+
var prefix = 'fas';
|
|
280
|
+
var iconName = 'sitemap';
|
|
281
|
+
var width = 576;
|
|
282
|
+
var height = 512;
|
|
283
|
+
var aliases = [];
|
|
284
|
+
var unicode = 'f0e8';
|
|
285
|
+
var svgPathData = 'M208 80c0-26.5 21.5-48 48-48h64c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48h-8v40H464c30.9 0 56 25.1 56 56v32h8c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48H464c-26.5 0-48-21.5-48-48V368c0-26.5 21.5-48 48-48h8V288c0-4.4-3.6-8-8-8H312v40h8c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48H256c-26.5 0-48-21.5-48-48V368c0-26.5 21.5-48 48-48h8V280H112c-4.4 0-8 3.6-8 8v32h8c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V368c0-26.5 21.5-48 48-48h8V288c0-30.9 25.1-56 56-56H264V192h-8c-26.5 0-48-21.5-48-48V80z';
|
|
286
|
+
|
|
287
|
+
exports.definition = {
|
|
288
|
+
prefix: prefix,
|
|
289
|
+
iconName: iconName,
|
|
290
|
+
icon: [
|
|
291
|
+
width,
|
|
292
|
+
height,
|
|
293
|
+
aliases,
|
|
294
|
+
unicode,
|
|
295
|
+
svgPathData
|
|
296
|
+
]};
|
|
297
|
+
|
|
298
|
+
exports.faSitemap = exports.definition;
|
|
299
|
+
exports.prefix = prefix;
|
|
300
|
+
exports.iconName = iconName;
|
|
301
|
+
exports.width = width;
|
|
302
|
+
exports.height = height;
|
|
303
|
+
exports.ligatures = aliases;
|
|
304
|
+
exports.unicode = unicode;
|
|
305
|
+
exports.svgPathData = svgPathData;
|
|
306
|
+
exports.aliases = aliases;
|
|
307
|
+
});
|
|
308
|
+
|
|
309
|
+
var faTree = createCommonjsModule(function (module, exports) {
|
|
310
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
311
|
+
var prefix = 'fas';
|
|
312
|
+
var iconName = 'tree';
|
|
313
|
+
var width = 448;
|
|
314
|
+
var height = 512;
|
|
315
|
+
var aliases = [127794];
|
|
316
|
+
var unicode = 'f1bb';
|
|
317
|
+
var svgPathData = 'M210.6 5.9L62 169.4c-3.9 4.2-6 9.8-6 15.5C56 197.7 66.3 208 79.1 208H104L30.6 281.4c-4.2 4.2-6.6 10-6.6 16C24 309.9 34.1 320 46.6 320H80L5.4 409.5C1.9 413.7 0 419 0 424.5c0 13 10.5 23.5 23.5 23.5H192v32c0 17.7 14.3 32 32 32s32-14.3 32-32V448H424.5c13 0 23.5-10.5 23.5-23.5c0-5.5-1.9-10.8-5.4-15L368 320h33.4c12.5 0 22.6-10.1 22.6-22.6c0-6-2.4-11.8-6.6-16L344 208h24.9c12.7 0 23.1-10.3 23.1-23.1c0-5.7-2.1-11.3-6-15.5L237.4 5.9C234 2.1 229.1 0 224 0s-10 2.1-13.4 5.9z';
|
|
318
|
+
|
|
319
|
+
exports.definition = {
|
|
320
|
+
prefix: prefix,
|
|
321
|
+
iconName: iconName,
|
|
322
|
+
icon: [
|
|
323
|
+
width,
|
|
324
|
+
height,
|
|
325
|
+
aliases,
|
|
326
|
+
unicode,
|
|
327
|
+
svgPathData
|
|
328
|
+
]};
|
|
329
|
+
|
|
330
|
+
exports.faTree = exports.definition;
|
|
331
|
+
exports.prefix = prefix;
|
|
332
|
+
exports.iconName = iconName;
|
|
333
|
+
exports.width = width;
|
|
334
|
+
exports.height = height;
|
|
335
|
+
exports.ligatures = aliases;
|
|
336
|
+
exports.unicode = unicode;
|
|
337
|
+
exports.svgPathData = svgPathData;
|
|
338
|
+
exports.aliases = aliases;
|
|
339
|
+
});
|
|
340
|
+
|
|
341
|
+
var faUniversalAccess = createCommonjsModule(function (module, exports) {
|
|
342
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
343
|
+
var prefix = 'fas';
|
|
344
|
+
var iconName = 'universal-access';
|
|
345
|
+
var width = 512;
|
|
346
|
+
var height = 512;
|
|
347
|
+
var aliases = [];
|
|
348
|
+
var unicode = 'f29a';
|
|
349
|
+
var svgPathData = 'M0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm161.5-86.1c-12.2-5.2-26.3 .4-31.5 12.6s.4 26.3 12.6 31.5l11.9 5.1c17.3 7.4 35.2 12.9 53.6 16.3v50.1c0 4.3-.7 8.6-2.1 12.6l-28.7 86.1c-4.2 12.6 2.6 26.2 15.2 30.4s26.2-2.6 30.4-15.2l24.4-73.2c1.3-3.8 4.8-6.4 8.8-6.4s7.6 2.6 8.8 6.4l24.4 73.2c4.2 12.6 17.8 19.4 30.4 15.2s19.4-17.8 15.2-30.4l-28.7-86.1c-1.4-4.1-2.1-8.3-2.1-12.6V235.5c18.4-3.5 36.3-8.9 53.6-16.3l11.9-5.1c12.2-5.2 17.8-19.3 12.6-31.5s-19.3-17.8-31.5-12.6L338.7 175c-26.1 11.2-54.2 17-82.7 17s-56.5-5.8-82.7-17l-11.9-5.1zM256 160a40 40 0 1 0 0-80 40 40 0 1 0 0 80z';
|
|
350
|
+
|
|
351
|
+
exports.definition = {
|
|
352
|
+
prefix: prefix,
|
|
353
|
+
iconName: iconName,
|
|
354
|
+
icon: [
|
|
355
|
+
width,
|
|
356
|
+
height,
|
|
357
|
+
aliases,
|
|
358
|
+
unicode,
|
|
359
|
+
svgPathData
|
|
360
|
+
]};
|
|
361
|
+
|
|
362
|
+
exports.faUniversalAccess = exports.definition;
|
|
363
|
+
exports.prefix = prefix;
|
|
364
|
+
exports.iconName = iconName;
|
|
365
|
+
exports.width = width;
|
|
366
|
+
exports.height = height;
|
|
367
|
+
exports.ligatures = aliases;
|
|
368
|
+
exports.unicode = unicode;
|
|
369
|
+
exports.svgPathData = svgPathData;
|
|
370
|
+
exports.aliases = aliases;
|
|
371
|
+
});
|
|
372
|
+
|
|
373
|
+
var faPhoneFlip = createCommonjsModule(function (module, exports) {
|
|
374
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
375
|
+
var prefix = 'fas';
|
|
376
|
+
var iconName = 'phone-flip';
|
|
377
|
+
var width = 512;
|
|
378
|
+
var height = 512;
|
|
379
|
+
var aliases = [128381,"phone-alt"];
|
|
380
|
+
var unicode = 'f879';
|
|
381
|
+
var svgPathData = 'M347.1 24.6c7.7-18.6 28-28.5 47.4-23.2l88 24C499.9 30.2 512 46 512 64c0 247.4-200.6 448-448 448c-18 0-33.8-12.1-38.6-29.5l-24-88c-5.3-19.4 4.6-39.7 23.2-47.4l96-40c16.3-6.8 35.2-2.1 46.3 11.6L207.3 368c70.4-33.3 127.4-90.3 160.7-160.7L318.7 167c-13.7-11.2-18.4-30-11.6-46.3l40-96z';
|
|
382
|
+
|
|
383
|
+
exports.definition = {
|
|
384
|
+
prefix: prefix,
|
|
385
|
+
iconName: iconName,
|
|
386
|
+
icon: [
|
|
387
|
+
width,
|
|
388
|
+
height,
|
|
389
|
+
aliases,
|
|
390
|
+
unicode,
|
|
391
|
+
svgPathData
|
|
392
|
+
]};
|
|
393
|
+
|
|
394
|
+
exports.faPhoneFlip = exports.definition;
|
|
395
|
+
exports.prefix = prefix;
|
|
396
|
+
exports.iconName = iconName;
|
|
397
|
+
exports.width = width;
|
|
398
|
+
exports.height = height;
|
|
399
|
+
exports.ligatures = aliases;
|
|
400
|
+
exports.unicode = unicode;
|
|
401
|
+
exports.svgPathData = svgPathData;
|
|
402
|
+
exports.aliases = aliases;
|
|
403
|
+
});
|
|
404
|
+
|
|
405
|
+
var faSquareFacebook = createCommonjsModule(function (module, exports) {
|
|
406
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
407
|
+
var prefix = 'fab';
|
|
408
|
+
var iconName = 'square-facebook';
|
|
409
|
+
var width = 448;
|
|
410
|
+
var height = 512;
|
|
411
|
+
var aliases = ["facebook-square"];
|
|
412
|
+
var unicode = 'f082';
|
|
413
|
+
var svgPathData = 'M400 32H48A48 48 0 0 0 0 80v352a48 48 0 0 0 48 48h137.25V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.27c-30.81 0-40.42 19.12-40.42 38.73V256h68.78l-11 71.69h-57.78V480H400a48 48 0 0 0 48-48V80a48 48 0 0 0-48-48z';
|
|
414
|
+
|
|
415
|
+
exports.definition = {
|
|
416
|
+
prefix: prefix,
|
|
417
|
+
iconName: iconName,
|
|
418
|
+
icon: [
|
|
419
|
+
width,
|
|
420
|
+
height,
|
|
421
|
+
aliases,
|
|
422
|
+
unicode,
|
|
423
|
+
svgPathData
|
|
424
|
+
]};
|
|
425
|
+
|
|
426
|
+
exports.faSquareFacebook = exports.definition;
|
|
427
|
+
exports.prefix = prefix;
|
|
428
|
+
exports.iconName = iconName;
|
|
429
|
+
exports.width = width;
|
|
430
|
+
exports.height = height;
|
|
431
|
+
exports.ligatures = aliases;
|
|
432
|
+
exports.unicode = unicode;
|
|
433
|
+
exports.svgPathData = svgPathData;
|
|
434
|
+
exports.aliases = aliases;
|
|
435
|
+
});
|
|
436
|
+
|
|
437
|
+
var faFacebookSquare = createCommonjsModule(function (module, exports) {
|
|
438
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
439
|
+
|
|
440
|
+
exports.definition = {
|
|
441
|
+
prefix: faSquareFacebook.prefix,
|
|
442
|
+
iconName: faSquareFacebook.iconName,
|
|
443
|
+
icon: [
|
|
444
|
+
faSquareFacebook.width,
|
|
445
|
+
faSquareFacebook.height,
|
|
446
|
+
faSquareFacebook.aliases,
|
|
447
|
+
faSquareFacebook.unicode,
|
|
448
|
+
faSquareFacebook.svgPathData
|
|
449
|
+
]};
|
|
450
|
+
|
|
451
|
+
exports.faFacebookSquare = exports.definition;
|
|
452
|
+
exports.prefix = faSquareFacebook.prefix;
|
|
453
|
+
exports.iconName = faSquareFacebook.iconName;
|
|
454
|
+
exports.width = faSquareFacebook.width;
|
|
455
|
+
exports.height = faSquareFacebook.height;
|
|
456
|
+
exports.ligatures = faSquareFacebook.aliases;
|
|
457
|
+
exports.unicode = faSquareFacebook.unicode;
|
|
458
|
+
exports.svgPathData = faSquareFacebook.svgPathData;
|
|
459
|
+
exports.aliases = faSquareFacebook.aliases;
|
|
460
|
+
});
|
|
461
|
+
|
|
462
|
+
var faInstagram = createCommonjsModule(function (module, exports) {
|
|
463
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
464
|
+
var prefix = 'fab';
|
|
465
|
+
var iconName = 'instagram';
|
|
466
|
+
var width = 448;
|
|
467
|
+
var height = 512;
|
|
468
|
+
var aliases = [];
|
|
469
|
+
var unicode = 'f16d';
|
|
470
|
+
var svgPathData = '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';
|
|
471
|
+
|
|
472
|
+
exports.definition = {
|
|
473
|
+
prefix: prefix,
|
|
474
|
+
iconName: iconName,
|
|
475
|
+
icon: [
|
|
476
|
+
width,
|
|
477
|
+
height,
|
|
478
|
+
aliases,
|
|
479
|
+
unicode,
|
|
480
|
+
svgPathData
|
|
481
|
+
]};
|
|
482
|
+
|
|
483
|
+
exports.faInstagram = exports.definition;
|
|
484
|
+
exports.prefix = prefix;
|
|
485
|
+
exports.iconName = iconName;
|
|
486
|
+
exports.width = width;
|
|
487
|
+
exports.height = height;
|
|
488
|
+
exports.ligatures = aliases;
|
|
489
|
+
exports.unicode = unicode;
|
|
490
|
+
exports.svgPathData = svgPathData;
|
|
491
|
+
exports.aliases = aliases;
|
|
492
|
+
});
|
|
493
|
+
|
|
494
|
+
var faLinkedin = createCommonjsModule(function (module, exports) {
|
|
495
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
496
|
+
var prefix = 'fab';
|
|
497
|
+
var iconName = 'linkedin';
|
|
498
|
+
var width = 448;
|
|
499
|
+
var height = 512;
|
|
500
|
+
var aliases = [];
|
|
501
|
+
var unicode = 'f08c';
|
|
502
|
+
var svgPathData = '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';
|
|
503
|
+
|
|
504
|
+
exports.definition = {
|
|
505
|
+
prefix: prefix,
|
|
506
|
+
iconName: iconName,
|
|
507
|
+
icon: [
|
|
508
|
+
width,
|
|
509
|
+
height,
|
|
510
|
+
aliases,
|
|
511
|
+
unicode,
|
|
512
|
+
svgPathData
|
|
513
|
+
]};
|
|
514
|
+
|
|
515
|
+
exports.faLinkedin = exports.definition;
|
|
516
|
+
exports.prefix = prefix;
|
|
517
|
+
exports.iconName = iconName;
|
|
518
|
+
exports.width = width;
|
|
519
|
+
exports.height = height;
|
|
520
|
+
exports.ligatures = aliases;
|
|
521
|
+
exports.unicode = unicode;
|
|
522
|
+
exports.svgPathData = svgPathData;
|
|
523
|
+
exports.aliases = aliases;
|
|
524
|
+
});
|
|
525
|
+
|
|
526
|
+
var faTiktok = createCommonjsModule(function (module, exports) {
|
|
527
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
528
|
+
var prefix = 'fab';
|
|
529
|
+
var iconName = 'tiktok';
|
|
530
|
+
var width = 448;
|
|
531
|
+
var height = 512;
|
|
532
|
+
var aliases = [];
|
|
533
|
+
var unicode = 'e07b';
|
|
534
|
+
var svgPathData = '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';
|
|
535
|
+
|
|
536
|
+
exports.definition = {
|
|
537
|
+
prefix: prefix,
|
|
538
|
+
iconName: iconName,
|
|
539
|
+
icon: [
|
|
540
|
+
width,
|
|
541
|
+
height,
|
|
542
|
+
aliases,
|
|
543
|
+
unicode,
|
|
544
|
+
svgPathData
|
|
545
|
+
]};
|
|
546
|
+
|
|
547
|
+
exports.faTiktok = exports.definition;
|
|
548
|
+
exports.prefix = prefix;
|
|
549
|
+
exports.iconName = iconName;
|
|
550
|
+
exports.width = width;
|
|
551
|
+
exports.height = height;
|
|
552
|
+
exports.ligatures = aliases;
|
|
553
|
+
exports.unicode = unicode;
|
|
554
|
+
exports.svgPathData = svgPathData;
|
|
555
|
+
exports.aliases = aliases;
|
|
556
|
+
});
|
|
557
|
+
|
|
558
|
+
var faSquareTwitter = createCommonjsModule(function (module, exports) {
|
|
559
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
560
|
+
var prefix = 'fab';
|
|
561
|
+
var iconName = 'square-twitter';
|
|
562
|
+
var width = 448;
|
|
563
|
+
var height = 512;
|
|
564
|
+
var aliases = ["twitter-square"];
|
|
565
|
+
var unicode = 'f081';
|
|
566
|
+
var svgPathData = 'M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-48.9 158.8c.2 2.8.2 5.7.2 8.5 0 86.7-66 186.6-186.6 186.6-37.2 0-71.7-10.8-100.7-29.4 5.3.6 10.4.8 15.8.8 30.7 0 58.9-10.4 81.4-28-28.8-.6-53-19.5-61.3-45.5 10.1 1.5 19.2 1.5 29.6-1.2-30-6.1-52.5-32.5-52.5-64.4v-.8c8.7 4.9 18.9 7.9 29.6 8.3a65.447 65.447 0 0 1-29.2-54.6c0-12.2 3.2-23.4 8.9-33.1 32.3 39.8 80.8 65.8 135.2 68.6-9.3-44.5 24-80.6 64-80.6 18.9 0 35.9 7.9 47.9 20.7 14.8-2.8 29-8.3 41.6-15.8-4.9 15.2-15.2 28-28.8 36.1 13.2-1.4 26-5.1 37.8-10.2-8.9 13.1-20.1 24.7-32.9 34z';
|
|
567
|
+
|
|
568
|
+
exports.definition = {
|
|
569
|
+
prefix: prefix,
|
|
570
|
+
iconName: iconName,
|
|
571
|
+
icon: [
|
|
572
|
+
width,
|
|
573
|
+
height,
|
|
574
|
+
aliases,
|
|
575
|
+
unicode,
|
|
576
|
+
svgPathData
|
|
577
|
+
]};
|
|
578
|
+
|
|
579
|
+
exports.faSquareTwitter = exports.definition;
|
|
580
|
+
exports.prefix = prefix;
|
|
581
|
+
exports.iconName = iconName;
|
|
582
|
+
exports.width = width;
|
|
583
|
+
exports.height = height;
|
|
584
|
+
exports.ligatures = aliases;
|
|
585
|
+
exports.unicode = unicode;
|
|
586
|
+
exports.svgPathData = svgPathData;
|
|
587
|
+
exports.aliases = aliases;
|
|
588
|
+
});
|
|
589
|
+
|
|
590
|
+
var faTwitterSquare = createCommonjsModule(function (module, exports) {
|
|
591
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
592
|
+
|
|
593
|
+
exports.definition = {
|
|
594
|
+
prefix: faSquareTwitter.prefix,
|
|
595
|
+
iconName: faSquareTwitter.iconName,
|
|
596
|
+
icon: [
|
|
597
|
+
faSquareTwitter.width,
|
|
598
|
+
faSquareTwitter.height,
|
|
599
|
+
faSquareTwitter.aliases,
|
|
600
|
+
faSquareTwitter.unicode,
|
|
601
|
+
faSquareTwitter.svgPathData
|
|
602
|
+
]};
|
|
603
|
+
|
|
604
|
+
exports.faTwitterSquare = exports.definition;
|
|
605
|
+
exports.prefix = faSquareTwitter.prefix;
|
|
606
|
+
exports.iconName = faSquareTwitter.iconName;
|
|
607
|
+
exports.width = faSquareTwitter.width;
|
|
608
|
+
exports.height = faSquareTwitter.height;
|
|
609
|
+
exports.ligatures = faSquareTwitter.aliases;
|
|
610
|
+
exports.unicode = faSquareTwitter.unicode;
|
|
611
|
+
exports.svgPathData = faSquareTwitter.svgPathData;
|
|
612
|
+
exports.aliases = faSquareTwitter.aliases;
|
|
613
|
+
});
|
|
614
|
+
|
|
615
|
+
var faYoutube = createCommonjsModule(function (module, exports) {
|
|
616
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
617
|
+
var prefix = 'fab';
|
|
618
|
+
var iconName = 'youtube';
|
|
619
|
+
var width = 576;
|
|
620
|
+
var height = 512;
|
|
621
|
+
var aliases = [61802];
|
|
622
|
+
var unicode = 'f167';
|
|
623
|
+
var svgPathData = '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';
|
|
624
|
+
|
|
625
|
+
exports.definition = {
|
|
626
|
+
prefix: prefix,
|
|
627
|
+
iconName: iconName,
|
|
628
|
+
icon: [
|
|
629
|
+
width,
|
|
630
|
+
height,
|
|
631
|
+
aliases,
|
|
632
|
+
unicode,
|
|
633
|
+
svgPathData
|
|
634
|
+
]};
|
|
635
|
+
|
|
636
|
+
exports.faYoutube = exports.definition;
|
|
637
|
+
exports.prefix = prefix;
|
|
638
|
+
exports.iconName = iconName;
|
|
639
|
+
exports.width = width;
|
|
640
|
+
exports.height = height;
|
|
641
|
+
exports.ligatures = aliases;
|
|
642
|
+
exports.unicode = unicode;
|
|
643
|
+
exports.svgPathData = svgPathData;
|
|
644
|
+
exports.aliases = aliases;
|
|
645
|
+
});
|
|
646
|
+
|
|
647
|
+
const uofgFooterCss = ":host{display:block;width:100%;font-size:1.6rem;font-family:sans-serif}:focus-visible{outline:2px solid #ffc72a;outline-offset:0.5rem}*{box-sizing:border-box}button{border:none;background-color:transparent;cursor:pointer}a{color:inherit;text-decoration:none}ul{list-style:none;padding:0;margin:unset}ul>li{display:contents}a{display:flex;align-items:center;gap:0.5rem;border-bottom:2px dotted transparent;width:fit-content;color:inherit;white-space:nowrap;padding-bottom:0.2rem;transition-property:border-color;transition-duration:0.2s;transition-timing-function:ease-in-out}a:hover,a:focus{border-color:currentColor}svg{fill:currentColor;height:1.6rem}li{display:contents}#uofg-footer{display:flex;justify-content:center;align-items:center;background-color:#000;color:#fff;padding:2rem}#uofg-footer-content{display:grid;grid-template-columns:1fr;gap:2rem;width:100%;max-width:1500px}@media (min-width: 570px){#uofg-footer-content{grid-template-columns:1fr 1fr}}@media (min-width: 962px){#uofg-footer-content{grid-template-columns:0.5fr 2fr 0.5fr;justify-items:center;gap:2rem 4.75vw}}.uofg-footer-content-separator{display:flex;flex-direction:column;gap:0.75rem;justify-content:space-between}#uofg-footer-improve-life{transition-property:opacity;transition-duration:0.2s;transition-timing-function:ease-in-out;border:0}#uofg-footer-improve-life>svg{height:2.5rem}#uofg-footer-improve-life:hover,#uofg-footer-improve-life:focus{opacity:0.8}#uofg-footer-social-links{display:flex;align-items:center;list-style:none;padding:0;margin-left:0;gap:0.75rem}#uofg-footer-social-links a{transition-property:color;transition-duration:0.2s;transition-timing-function:ease-in-out;border:0}#uofg-footer-social-links a:hover,#uofg-footer-social-links a:focus{color:#ffc72a}#uofg-footer-social-links a:hover[aria-label=Twitter],#uofg-footer-social-links a:focus[aria-label=Twitter]{color:#1da1f2}#uofg-footer-social-links a:hover[aria-label=Facebook],#uofg-footer-social-links a:focus[aria-label=Facebook]{color:#4267b2}#uofg-footer-social-links a:hover[aria-label=Instagram],#uofg-footer-social-links a:focus[aria-label=Instagram]{color:#e1306c}#uofg-footer-social-links a:hover[aria-label=Youtube],#uofg-footer-social-links a:focus[aria-label=Youtube]{color:#f00}#uofg-footer-social-links a:hover[aria-label=LinkedIn],#uofg-footer-social-links a:focus[aria-label=LinkedIn]{color:#0077b5}#uofg-footer-social-links a:hover[aria-label=TikTok],#uofg-footer-social-links a:focus[aria-label=TikTok]{color:#f00}#uofg-footer-social-links svg{height:2rem}#uofg-footer-links{display:grid;grid-template-columns:1fr}#uofg-footer-links svg{color:#ffc72a}@media (min-width: 570px){#uofg-footer-links{grid-template-columns:1fr 1fr;grid-column-start:1;grid-column-end:3}}@media (min-width: 962px){#uofg-footer-links{grid-row:unset;grid-column:unset;gap:0.75rem 9.5vw}}#uofg-footer-address{font-style:normal;white-space:nowrap}#uofg-footer-address a{color:#69a3b9}@media (min-width: 570px){#uofg-footer-address{grid-row:1;grid-column:2}}@media (min-width: 962px){#uofg-footer-address{grid-row:unset;grid-column:unset}}";
|
|
648
|
+
|
|
649
|
+
const SocialLink = props => (index.h("li", null, index.h("a", { href: props.url, "aria-label": props.name }, index.h(FontAwesomeIcon, { icon: props.icon }))));
|
|
650
|
+
const FooterLink = props => (index.h("li", null, index.h("a", { href: props.url, title: props.title }, index.h(FontAwesomeIcon, { icon: props.icon }), index.h("span", null, props.text))));
|
|
204
651
|
const UofgFooter = class {
|
|
205
652
|
constructor(hostRef) {
|
|
206
653
|
index.registerInstance(this, hostRef);
|
|
207
654
|
}
|
|
208
655
|
render() {
|
|
209
|
-
return (index.h("footer", { id: "uofg-footer" }, index.h("div", { id: "uofg-footer-content" }, index.h("div", { id: "uofg-footer-social", class: "uofg-footer-content-separator" }, index.h("a", { id: "uofg-footer-improve-life", href: "//www.uoguelph.ca/improve-life", "aria-label": "Improve Life", innerHTML: improveLifeLogo }), index.h(
|
|
656
|
+
return (index.h("footer", { id: "uofg-footer" }, index.h("div", { id: "uofg-footer-content" }, index.h("div", { id: "uofg-footer-social", class: "uofg-footer-content-separator" }, index.h("a", { id: "uofg-footer-improve-life", href: "//www.uoguelph.ca/improve-life", "aria-label": "Improve Life", innerHTML: improveLifeLogo }), index.h("ul", { id: "uofg-footer-social-links" }, index.h(SocialLink, { name: "Twitter", url: "https://twitter.com/uofg", icon: faTwitterSquare.faTwitterSquare }), index.h(SocialLink, { name: "Facebook", url: "https://www.facebook.com/uofguelph", icon: faFacebookSquare.faFacebookSquare }), index.h(SocialLink, { name: "Instagram", url: "https://www.instagram.com/uofguelph/", icon: faInstagram.faInstagram }), index.h(SocialLink, { name: "Youtube", url: "https://www.youtube.com/user/uofguelph", icon: faYoutube.faYoutube }), index.h(SocialLink, { name: "LinkedIn", url: "https://www.linkedin.com/school/university-of-guelph/", icon: faLinkedin.faLinkedin }), index.h(SocialLink, { name: "TikTok", url: "https://www.tiktok.com/@uofguelph", icon: faTiktok.faTiktok })), index.h("a", { href: "https://www.uoguelph.ca/web/socialmedia/" }, "Social Media Directory"), index.h("a", { href: "//www.uoguelph.ca/web/" }, "\u00A9 ", new Date().getFullYear(), " University of Guelph")), index.h("ul", { id: "uofg-footer-links", class: "uofg-footer-content-separator" }, index.h(FooterLink, { text: "Accessibility", url: "https://www.uoguelph.ca/diversity-human-rights/accessibility-u-g", icon: faUniversalAccess.faUniversalAccess }), index.h(FooterLink, { text: "Privacy", url: "https://www.uoguelph.ca/web/privacy/", icon: faKey.faKey }), index.h(FooterLink, { text: "Site Map", url: "https://www.uoguelph.ca/site-map/", icon: faSitemap.faSitemap }), index.h(FooterLink, { text: "Status Page", url: "https://uoguelph.statuspage.io/", icon: faCircleCheck.faCircleCheck }), index.h(FooterLink, { text: "Land Acknowledgement", url: "https://www.uoguelph.ca/land-acknowledgement/", icon: faTree.faTree, 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\u00E9tis peoples and acknowledging them reminds us of our collective responsibility to the land where we learn and work." }), index.h(FooterLink, { text: "Careers", url: "https://www.uoguelph.ca/hr/careers-guelph/current-opportunities", icon: faBriefcase.faBriefcase }), index.h(FooterLink, { text: "Undergraduate Calendar", url: "https://www.uoguelph.ca/registrar/calendars/undergraduate/current/", icon: faCalendar.faCalendar }), index.h(FooterLink, { text: "Graduate Calendar", url: "https://www.uoguelph.ca/registrar/calendars/graduate/current/", icon: faCalendar.faCalendar }), index.h(FooterLink, { text: "Program Plans", url: "https://admission.uoguelph.ca/programs", icon: faList.faList }), index.h(FooterLink, { text: "Give to U of G", url: "https://www.alumni.uoguelph.ca/give-to-guelph/how-to-give", icon: faHandHoldingHeart.faHandHoldingHeart })), index.h("address", { id: "uofg-footer-address", class: "uofg-footer-content-separator" }, index.h("strong", null, "University of Guelph"), index.h("span", null, "50 Stone Road East,"), index.h("span", null, "Guelph, Ontario, Canada"), index.h("span", null, "N1G 2W1"), index.h("a", { href: "tel:1-519-824-4120" }, index.h(FontAwesomeIcon, { icon: faPhoneFlip.faPhoneFlip }), index.h("span", null, "519-824-4120"))))));
|
|
210
657
|
}
|
|
211
658
|
};
|
|
212
659
|
UofgFooter.style = uofgFooterCss;
|
|
213
660
|
|
|
661
|
+
const Decoration = `<svg viewBox="0 0 68 90" xmlns="http://www.w3.org/2000/svg"><path d="M23.131 0l44.847 90H0V0" fill="#d41728"/><path d="M23.131 0l16.03 32.044L55.1 0" fill="#ffc500"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3.4-3.9-6-.9m3.4 3c-.8 1.3-1.3 2.2-2.6 1.8-1.3 0-.8-2.2.5-4 .8-1.2 2.6-1.6 3-.8.4.9 0 2.2-.9 3z"/></svg>`;
|
|
664
|
+
|
|
665
|
+
const ReducedSizeLogo = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M0 0h100v100H0V0z"/><path fill="#fff" d="M74.6 54.9l-.7 2c2.4 0 5.6 1.4 5.6 2.9v9.5c0-.2-.2 5.4-7.8 5.4-13.7 0-15.6-10-15.6-20 0-6.7 2.4-13 5.8-17 3.4-3.8 9.8-3.6 15-3 5 .4 6.8 8.7 6.8 8.7l1.7-.5.2-13.2s-.7-.7-1.2-.5c-.5.3-2.4 1-3.7 1-1 0-4.6-.7-8.3-.7-6.6 0-13 1.4-17.8 8a32 32 0 00-3.4 6.1V28c0-8 4.1-6.3 4.6-7 .5-1.3.5-1.3-.2-1.5H39.9s-2 1.4-.7 1.4c5.4.5 7.6 2.5 7.6 7.4v25.4c0 6.6-5.1 10.5-12.5 10.5C27 64.2 22 59.5 22 51.5v-23c0-8 4.1-6.6 4.4-7.6.7-1 .7-1.2 0-1.2 0 0-9.3.5-16.2 0 0 0-2 1.5-.7 1.5 5.4.5 5.4 2.9 5.4 8v26.2s-.5 13.9 17.8 13.9c7.8 0 12.5-3.2 15-6.4l1.1-1.7c.3 2.5.8 5 1.5 7.1 3 9.6 14 12.2 17.6 12.2 4.6 0 4.6 0 8.8-2.9 2.2-1.2 10.2-4.4 10.2-4.4V59.8c0-2.2 4-3.2 4-3.2l.2-1.7H74.6z"/></svg>`;
|
|
666
|
+
|
|
667
|
+
var faBars = createCommonjsModule(function (module, exports) {
|
|
668
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
669
|
+
var prefix = 'fas';
|
|
670
|
+
var iconName = 'bars';
|
|
671
|
+
var width = 448;
|
|
672
|
+
var height = 512;
|
|
673
|
+
var aliases = ["navicon"];
|
|
674
|
+
var unicode = 'f0c9';
|
|
675
|
+
var svgPathData = 'M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z';
|
|
676
|
+
|
|
677
|
+
exports.definition = {
|
|
678
|
+
prefix: prefix,
|
|
679
|
+
iconName: iconName,
|
|
680
|
+
icon: [
|
|
681
|
+
width,
|
|
682
|
+
height,
|
|
683
|
+
aliases,
|
|
684
|
+
unicode,
|
|
685
|
+
svgPathData
|
|
686
|
+
]};
|
|
687
|
+
|
|
688
|
+
exports.faBars = exports.definition;
|
|
689
|
+
exports.prefix = prefix;
|
|
690
|
+
exports.iconName = iconName;
|
|
691
|
+
exports.width = width;
|
|
692
|
+
exports.height = height;
|
|
693
|
+
exports.ligatures = aliases;
|
|
694
|
+
exports.unicode = unicode;
|
|
695
|
+
exports.svgPathData = svgPathData;
|
|
696
|
+
exports.aliases = aliases;
|
|
697
|
+
});
|
|
698
|
+
|
|
699
|
+
var faRightToBracket = createCommonjsModule(function (module, exports) {
|
|
700
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
701
|
+
var prefix = 'fas';
|
|
702
|
+
var iconName = 'right-to-bracket';
|
|
703
|
+
var width = 512;
|
|
704
|
+
var height = 512;
|
|
705
|
+
var aliases = ["sign-in-alt"];
|
|
706
|
+
var unicode = 'f2f6';
|
|
707
|
+
var svgPathData = 'M217.9 105.9L340.7 228.7c7.2 7.2 11.3 17.1 11.3 27.3s-4.1 20.1-11.3 27.3L217.9 406.1c-6.4 6.4-15 9.9-24 9.9c-18.7 0-33.9-15.2-33.9-33.9l0-62.1L32 320c-17.7 0-32-14.3-32-32l0-64c0-17.7 14.3-32 32-32l128 0 0-62.1c0-18.7 15.2-33.9 33.9-33.9c9 0 17.6 3.6 24 9.9zM352 416l64 0c17.7 0 32-14.3 32-32l0-256c0-17.7-14.3-32-32-32l-64 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l64 0c53 0 96 43 96 96l0 256c0 53-43 96-96 96l-64 0c-17.7 0-32-14.3-32-32s14.3-32 32-32z';
|
|
708
|
+
|
|
709
|
+
exports.definition = {
|
|
710
|
+
prefix: prefix,
|
|
711
|
+
iconName: iconName,
|
|
712
|
+
icon: [
|
|
713
|
+
width,
|
|
714
|
+
height,
|
|
715
|
+
aliases,
|
|
716
|
+
unicode,
|
|
717
|
+
svgPathData
|
|
718
|
+
]};
|
|
719
|
+
|
|
720
|
+
exports.faRightToBracket = exports.definition;
|
|
721
|
+
exports.prefix = prefix;
|
|
722
|
+
exports.iconName = iconName;
|
|
723
|
+
exports.width = width;
|
|
724
|
+
exports.height = height;
|
|
725
|
+
exports.ligatures = aliases;
|
|
726
|
+
exports.unicode = unicode;
|
|
727
|
+
exports.svgPathData = svgPathData;
|
|
728
|
+
exports.aliases = aliases;
|
|
729
|
+
});
|
|
730
|
+
|
|
731
|
+
var faMagnifyingGlass = createCommonjsModule(function (module, exports) {
|
|
732
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
733
|
+
var prefix = 'fas';
|
|
734
|
+
var iconName = 'magnifying-glass';
|
|
735
|
+
var width = 512;
|
|
736
|
+
var height = 512;
|
|
737
|
+
var aliases = [128269,"search"];
|
|
738
|
+
var unicode = 'f002';
|
|
739
|
+
var svgPathData = 'M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z';
|
|
740
|
+
|
|
741
|
+
exports.definition = {
|
|
742
|
+
prefix: prefix,
|
|
743
|
+
iconName: iconName,
|
|
744
|
+
icon: [
|
|
745
|
+
width,
|
|
746
|
+
height,
|
|
747
|
+
aliases,
|
|
748
|
+
unicode,
|
|
749
|
+
svgPathData
|
|
750
|
+
]};
|
|
751
|
+
|
|
752
|
+
exports.faMagnifyingGlass = exports.definition;
|
|
753
|
+
exports.prefix = prefix;
|
|
754
|
+
exports.iconName = iconName;
|
|
755
|
+
exports.width = width;
|
|
756
|
+
exports.height = height;
|
|
757
|
+
exports.ligatures = aliases;
|
|
758
|
+
exports.unicode = unicode;
|
|
759
|
+
exports.svgPathData = svgPathData;
|
|
760
|
+
exports.aliases = aliases;
|
|
761
|
+
});
|
|
762
|
+
|
|
763
|
+
var faSearch = createCommonjsModule(function (module, exports) {
|
|
764
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
765
|
+
|
|
766
|
+
exports.definition = {
|
|
767
|
+
prefix: faMagnifyingGlass.prefix,
|
|
768
|
+
iconName: faMagnifyingGlass.iconName,
|
|
769
|
+
icon: [
|
|
770
|
+
faMagnifyingGlass.width,
|
|
771
|
+
faMagnifyingGlass.height,
|
|
772
|
+
faMagnifyingGlass.aliases,
|
|
773
|
+
faMagnifyingGlass.unicode,
|
|
774
|
+
faMagnifyingGlass.svgPathData
|
|
775
|
+
]};
|
|
776
|
+
|
|
777
|
+
exports.faSearch = exports.definition;
|
|
778
|
+
exports.prefix = faMagnifyingGlass.prefix;
|
|
779
|
+
exports.iconName = faMagnifyingGlass.iconName;
|
|
780
|
+
exports.width = faMagnifyingGlass.width;
|
|
781
|
+
exports.height = faMagnifyingGlass.height;
|
|
782
|
+
exports.ligatures = faMagnifyingGlass.aliases;
|
|
783
|
+
exports.unicode = faMagnifyingGlass.unicode;
|
|
784
|
+
exports.svgPathData = faMagnifyingGlass.svgPathData;
|
|
785
|
+
exports.aliases = faMagnifyingGlass.aliases;
|
|
786
|
+
});
|
|
787
|
+
|
|
788
|
+
var faCaretDown = createCommonjsModule(function (module, exports) {
|
|
789
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
790
|
+
var prefix = 'fas';
|
|
791
|
+
var iconName = 'caret-down';
|
|
792
|
+
var width = 320;
|
|
793
|
+
var height = 512;
|
|
794
|
+
var aliases = [];
|
|
795
|
+
var unicode = 'f0d7';
|
|
796
|
+
var svgPathData = 'M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z';
|
|
797
|
+
|
|
798
|
+
exports.definition = {
|
|
799
|
+
prefix: prefix,
|
|
800
|
+
iconName: iconName,
|
|
801
|
+
icon: [
|
|
802
|
+
width,
|
|
803
|
+
height,
|
|
804
|
+
aliases,
|
|
805
|
+
unicode,
|
|
806
|
+
svgPathData
|
|
807
|
+
]};
|
|
808
|
+
|
|
809
|
+
exports.faCaretDown = exports.definition;
|
|
810
|
+
exports.prefix = prefix;
|
|
811
|
+
exports.iconName = iconName;
|
|
812
|
+
exports.width = width;
|
|
813
|
+
exports.height = height;
|
|
814
|
+
exports.ligatures = aliases;
|
|
815
|
+
exports.unicode = unicode;
|
|
816
|
+
exports.svgPathData = svgPathData;
|
|
817
|
+
exports.aliases = aliases;
|
|
818
|
+
});
|
|
819
|
+
|
|
820
|
+
const uofgHeaderCss = ":host{height:auto !important}*{box-sizing:border-box}button{border:none;background-color:transparent;cursor:pointer}a{color:inherit;text-decoration:none}ul{list-style:none;padding:0;margin:unset}ul>li{display:contents}a{display:flex;align-items:center;transition-property:color, background-color;transition-duration:0.2s;transition-timing-function:ease-in-out}li{display:contents}button{border:none;background:none;cursor:pointer;font-size:inherit;font-family:inherit;color:inherit;line-height:inherit;word-spacing:inherit;letter-spacing:inherit;transition-property:color, background-color;transition-duration:0.2s;transition-timing-function:ease-in-out}uofg-menu{--uofg-menu-animation-type:slide;--uofg-menu-animation-duration:0.2s;--uofg-menu-animation-easing:ease-in-out;display:block;position:relative}uofg-menu>[slot=button]{display:flex;align-items:center;gap:0.5rem;height:100%;padding:0 1rem}uofg-menu>[slot=button]>svg{height:1em;fill:currentColor;transition-property:transform;transition-duration:0.2s;transition-timing-function:ease-in-out}uofg-menu>[slot=content]{display:flex;flex-direction:column;position:absolute;z-index:1;min-width:20rem;right:0;background-color:#fff;color:#000;box-shadow:0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0px 1px 5px 0px rgba(0, 0, 0, 0.2)}#uofg-header{position:relative;width:100%;z-index:10000;font-size:1.6rem;font-family:\"Roboto Condensed\", Arial, sans-serif}#uofg-header-top-content-container,#uofg-header-main-content-container,#uofg-header-sub-content-container{display:flex;position:relative;align-items:center;justify-content:flex-end;width:100%;padding:0 calc((100vw - 1500px) / 2)}#uofg-header-top-content-container{height:3.5rem;background-color:#fff;color:#000;z-index:3}#uofg-header-top-content-container>ul{display:flex;align-items:center;height:100%}#uofg-header-top-content-container>ul>li>a{height:100%;padding:0 1rem}#uofg-header-top-content-container>ul>li>a:hover,#uofg-header-top-content-container>ul>li>a:focus-visible,#uofg-header-top-content-container>ul>li>a[aria-expanded=true]{background-color:#ddd}#uofg-header-top-content-container>uofg-menu{height:100%}#uofg-header-top-content-container>uofg-menu>[slot=button]{padding:0 1rem;background-color:#ffc72a;color:#000;font-weight:bold}#uofg-header-top-content-container>uofg-menu>[slot=button]:hover,#uofg-header-top-content-container>uofg-menu>[slot=button]:focus-visible,#uofg-header-top-content-container>uofg-menu>[slot=button][aria-expanded=true]{background-color:#ccc;color:#000}#uofg-header-top-content-container>uofg-menu>[slot=button][aria-expanded=true]>svg{transform:rotate(180deg)}#uofg-header-top-content-container>uofg-menu>[slot=content]{background-color:#ddd;color:#000}#uofg-header-top-content-container>uofg-menu>[slot=content] a{height:100%;padding:0.75rem;border-bottom:1px solid rgba(0, 0, 0, 0.4)}#uofg-header-top-content-container>uofg-menu>[slot=content] a:hover,#uofg-header-top-content-container>uofg-menu>[slot=content] a:focus-visible{background-color:#ffc72a}#uofg-header-main-content-container{height:5rem;background-color:#000;color:#fff;z-index:2}#uofg-header-main-content-container>*{height:100%}#uofg-header-main-content-container.full-height{height:8rem}#uofg-header-logo-container{display:flex;height:100%;margin-right:auto;overflow:hidden}#uofg-header-logo-container>*{height:100%}#uofg-header-logo-container svg{width:auto}#uofg-header-decorative-img{position:absolute;left:0}#uofg-header-decorative-img>svg{height:100%}@media screen and (max-width: 1500px){#uofg-header-decorative-img{position:static}}#uofg-header-logo{height:100%;position:relative;margin-left:1rem;transition:opacity 0.2s ease-in-out}#uofg-header-logo>svg{height:100%}#uofg-header-logo:hover,#uofg-header-logo:focus-visible{opacity:0.8}@media screen and (min-width: 1500px) and (max-width: calc(1500px + 7rem)){#uofg-header-logo{position:absolute;left:0;margin-left:7rem}}#uofg-header-full-main-content,#uofg-header-reduced-main-content{display:flex}#uofg-header-full-main-content svg,#uofg-header-reduced-main-content svg{height:1em;fill:currentColor}#uofg-header-full-main-content>ul{display:flex;align-items:center}#uofg-header-full-main-content>ul>li>a,#uofg-header-full-main-content>a,#uofg-header-full-main-content>uofg-menu>[slot=button]{display:flex;align-items:center;justify-content:center;height:100%;padding:0 1.5rem;font-size:1.8rem;transition-property:color, background-color;transition-duration:0.2s;transition-timing-function:ease-in-out}#uofg-header-full-main-content>ul>li>a:hover,#uofg-header-full-main-content>ul>li>a:focus-visible,#uofg-header-full-main-content>a:hover,#uofg-header-full-main-content>a:focus-visible,#uofg-header-full-main-content>uofg-menu>[slot=button]:hover,#uofg-header-full-main-content>uofg-menu>[slot=button]:focus-visible{background-color:#333;color:#ffc72a}#uofg-header-full-main-content>uofg-menu>[slot=button]{color:#ffc72a}#uofg-header-full-main-content>uofg-menu>[slot=content]{color:#000;background-color:#fff;padding:2rem;width:35rem}#uofg-header-full-main-content>uofg-menu>[slot=content]>span{display:block;font-size:2.4rem;font-weight:bold;padding:1rem 0}#uofg-header-full-main-content>a{color:#ffc72a}#uofg-header-reduced-main-content>uofg-menu>[slot=button],#uofg-header-reduced-main-content>a{justify-content:center;padding:0 1.5rem;font-size:2rem;border-left:1px solid rgba(255, 255, 255, 0.15)}#uofg-header-reduced-main-content>uofg-menu>[slot=button]:hover,#uofg-header-reduced-main-content>uofg-menu>[slot=button]:focus-visible,#uofg-header-reduced-main-content>uofg-menu>[slot=button][aria-expanded=true],#uofg-header-reduced-main-content>a:hover,#uofg-header-reduced-main-content>a:focus-visible,#uofg-header-reduced-main-content>a[aria-expanded=true]{background-color:#fff;color:#000}#uofg-header-reduced-main-content>uofg-menu{position:static;height:100%}#uofg-header-reduced-main-content>uofg-menu>[slot=content]{background-color:#fff;color:#000;width:100%;padding:1rem 2rem 2rem}#uofg-header-reduced-main-content>uofg-menu>[slot=content]>span{display:block;font-size:2.4rem;font-weight:bold;padding:1rem 0}#uofg-header-main-menu>[slot=content]{overflow-y:auto;max-height:calc(100vh - 5rem)}#uofg-header-main-menu uofg-menu{position:relative}#uofg-header-main-menu uofg-menu>[slot=button]{display:flex;padding:0.75rem;height:auto;width:100%;color:inherit;border-bottom:1px solid rgba(0, 0, 0, 0.1)}#uofg-header-main-menu uofg-menu>[slot=button]>svg{margin-left:auto}#uofg-header-main-menu uofg-menu>[slot=button]:hover,#uofg-header-main-menu uofg-menu>[slot=button]:focus-visible,#uofg-header-main-menu uofg-menu>[slot=button][aria-expanded=true]{background-color:rgba(0, 0, 0, 0.1)}#uofg-header-main-menu uofg-menu>[slot=button][aria-expanded=true]>svg{transform:rotate(180deg)}#uofg-header-main-menu uofg-menu>[slot=content]{position:relative;box-shadow:none;padding:0}#uofg-header-main-menu uofg-menu>[slot=content]>li>a{padding:0.75rem;border-bottom:1px solid rgba(0, 0, 0, 0.1);transition-property:color, background-color;transition-duration:0.2s;transition-timing-function:ease-in-out}#uofg-header-main-menu uofg-menu>[slot=content]>li>a:hover,#uofg-header-main-menu uofg-menu>[slot=content]>li>a:focus-visible{background-color:rgba(0, 0, 0, 0.1)}#uofg-header-main-menu uofg-menu.uofg-header-hello-you-menu>[slot=button]{background-color:#ffc72a;color:#000;font-weight:bold}#uofg-header-main-menu uofg-menu.uofg-header-hello-you-menu>[slot=content]{background-color:rgba(0, 0, 0, 0.1);color:#000}#uofg-header-main-menu ul>li>a{padding:0.75rem;width:100%;color:inherit;border-bottom:1px solid rgba(0, 0, 0, 0.1);transition-property:color, background-color;transition-duration:0.2s;transition-timing-function:ease-in-out}#uofg-header-main-menu ul>li>a:hover,#uofg-header-main-menu ul>li>a:focus-visible,#uofg-header-main-menu ul>li>a[aria-expanded=true]{background-color:rgba(0, 0, 0, 0.1)}#uofg-header-sub-content-container{height:4rem;background-color:#ddd;color:#000;z-index:1}#uofg-header-sub-content-container #uofg-header-page-title{display:flex;align-items:center;margin-right:auto;padding:0 1rem;height:100%;font-weight:bold}#uofg-header-sub-content-container uofg-menu{position:relative;height:100%}#uofg-header-sub-content-container uofg-menu>[slot=button]{color:inherit}#uofg-header-sub-content-container uofg-menu>[slot=button]:hover,#uofg-header-sub-content-container uofg-menu>[slot=button]:focus-visible,#uofg-header-sub-content-container uofg-menu>[slot=button][aria-expanded=true]{background-color:#ffc72a;color:#000}#uofg-header-sub-content-container uofg-menu>[slot=content]{position:absolute;background-color:#ddd;color:#000}#uofg-header-sub-content-container uofg-menu>[slot=content]>li:not(:last-child)>a{border-bottom:1px solid rgba(0, 0, 0, 0.1)}#uofg-header-sub-content-container uofg-menu>[slot=content]>li>a{padding:0.75rem;justify-content:flex-start}#uofg-header-sub-content-container a{display:flex;align-items:center;justify-content:center;height:100%;transition-property:color, background-color;transition-duration:0.2s;transition-timing-function:ease-in-out}#uofg-header-sub-content-container a:hover,#uofg-header-sub-content-container a:focus-visible{background-color:#ffc72a;color:#000}#uofg-header-full-sub-content,#uofg-header-reduced-sub-content{height:100%}#uofg-header-full-sub-content a,#uofg-header-reduced-sub-content a{padding:0 0.5rem}#uofg-header-full-sub-content{height:100%}#uofg-header-full-sub-content>ul{display:flex;align-items:center}#uofg-header-full-sub-content uofg-menu>[slot=button][aria-expanded=true]>svg{transform:rotate(180deg)}#uofg-header-full-sub-content .uofg-header-page-specific{display:flex;height:100%;align-items:center}#uofg-header-reduced-sub-content>uofg-menu{position:static}#uofg-header-reduced-sub-content>uofg-menu>[slot=button]{font-size:2rem;padding:0 1.5rem}#uofg-header-reduced-sub-content>uofg-menu>[slot=content]{background-color:#fff;color:#000;padding:2rem;overflow-y:auto;max-height:calc(100vh - 5rem - 4rem);width:100%}#uofg-header-reduced-sub-content>uofg-menu>[slot=content]>span{display:block;font-size:2.4rem;font-weight:bold;padding:1rem 0}#uofg-header-reduced-sub-content>uofg-menu>[slot=content] a{height:auto;padding:1rem;width:100%;align-items:flex-start;justify-content:flex-start;border-bottom:1px solid rgba(0, 0, 0, 0.1)}#uofg-header-reduced-sub-content>uofg-menu>[slot=content] a:hover,#uofg-header-reduced-sub-content>uofg-menu>[slot=content] a:focus-visible{background-color:rgba(0, 0, 0, 0.1);color:#000}#uofg-header-reduced-sub-content>uofg-menu>[slot=content] uofg-menu{height:auto}#uofg-header-reduced-sub-content>uofg-menu>[slot=content] uofg-menu>[slot=button]{width:100%;padding:1rem;border-bottom:1px solid rgba(0, 0, 0, 0.1)}#uofg-header-reduced-sub-content>uofg-menu>[slot=content] uofg-menu>[slot=button]>svg{margin-left:auto}#uofg-header-reduced-sub-content>uofg-menu>[slot=content] uofg-menu>[slot=button]:hover,#uofg-header-reduced-sub-content>uofg-menu>[slot=content] uofg-menu>[slot=button]:focus-visible,#uofg-header-reduced-sub-content>uofg-menu>[slot=content] uofg-menu>[slot=button][aria-expanded=true]{background-color:rgba(0, 0, 0, 0.2);color:#000}#uofg-header-reduced-sub-content>uofg-menu>[slot=content] uofg-menu>[slot=button][aria-expanded=true]>svg{transform:rotate(180deg)}#uofg-header-reduced-sub-content>uofg-menu>[slot=content] uofg-menu>[slot=content]{position:static;background-color:rgba(0, 0, 0, 0.1);box-shadow:none}";
|
|
821
|
+
|
|
822
|
+
const TopLinks = () => (index.h("ul", null, index.h("li", null, index.h("a", { href: "https://bbis.alumni.uoguelph.ca/BBIS_Cannon/give/uofg" }, "GIVE")), index.h("li", null, index.h("a", { href: "https://uoguelph.ca/apply" }, "APPLY")), index.h("li", null, index.h("a", { href: "https://news.uoguelph.ca/" }, "NEWS"))));
|
|
823
|
+
const HelloYouMenu = props => (index.h("uofg-menu", { class: "uofg-header-hello-you-menu", "auto-collapse": props.autoCollapse }, index.h("button", { slot: "button", "aria-label": "Hello, YOU! menu" }, index.h("span", null, "Hello, YOU!"), index.h(FontAwesomeIcon, { icon: faCaretDown.faCaretDown })), index.h("ul", { slot: "content" }, index.h("li", null, index.h("a", { href: "https://uoguelph.ca/future-students" }, "Future Students")), index.h("li", null, index.h("a", { href: "https://uoguelph.ca/current-students" }, "Current Students")), index.h("li", null, index.h("a", { href: "https://uoguelph.ca/alumni-and-donors" }, "Alumni & Donors")), index.h("li", null, index.h("a", { href: "https://uoguelph.ca/staff-and-faculty" }, "Staff & Faculty")), index.h("li", null, index.h("a", { href: "https://uoguelph.ca/parents-and-visitors" }, "Parents & Visitors")), index.h("li", null, index.h("a", { href: "https://uoguelph.ca/employers-and-partners" }, "Employers & Partners")))));
|
|
824
|
+
const MainLinks = () => (index.h("ul", { class: "uofg-header-global-links" }, index.h("li", null, index.h("a", { href: "https://uoguelph.ca/about" }, "About")), index.h("li", null, index.h("a", { href: "https://uoguelph.ca/academics" }, "Academics")), index.h("li", null, index.h("a", { href: "https://uoguelph.ca/admissions" }, "Admissions")), index.h("li", null, index.h("a", { href: "https://uoguelph.ca/research" }, "Research")), index.h("li", null, index.h("a", { href: "https://uoguelph.ca/student-life" }, "Student Life"))));
|
|
825
|
+
const AccountLink = () => (index.h("a", { href: "https://uoguelph.ca/intranet", "aria-label": "University of Guelph Intranet" }, index.h(FontAwesomeIcon, { icon: faRightToBracket.faRightToBracket })));
|
|
826
|
+
const SearchLink = () => (index.h("a", { href: "https://uoguelph.ca/search", "aria-label": "Search University of Guelph" }, index.h(FontAwesomeIcon, { icon: faSearch.faSearch })));
|
|
214
827
|
const PageSpecific = props => {
|
|
215
828
|
var _a;
|
|
216
829
|
return (index.h("ul", { class: "uofg-header-page-specific" }, (_a = props.content) === null || _a === void 0 ? void 0 : _a.map(item => {
|
|
@@ -218,65 +831,11 @@ const PageSpecific = props => {
|
|
|
218
831
|
return null;
|
|
219
832
|
}
|
|
220
833
|
if ('text' in item) {
|
|
221
|
-
return (index.h("li", null,
|
|
222
|
-
index.h("a", Object.assign({ href: item.href }, item.attributes), item.text)));
|
|
834
|
+
return (index.h("li", null, index.h("a", Object.assign({ href: item.href }, item.attributes), item.text)));
|
|
223
835
|
}
|
|
224
|
-
return (index.h("li", null,
|
|
225
|
-
index.h("uofg-menu", { autoCollapse: props.autoCollapseMenus },
|
|
226
|
-
index.h("button", { slot: "button" },
|
|
227
|
-
index.h("span", null, item.title),
|
|
228
|
-
index.h(FontAwesomeIcon, { icon: faCaretDown })),
|
|
229
|
-
index.h("ul", { slot: "content", role: "menu" }, item.links.map(link => (index.h("li", null,
|
|
230
|
-
index.h("a", Object.assign({ href: link.href }, link.attributes), link.text))))))));
|
|
836
|
+
return (index.h("li", null, index.h("uofg-menu", { autoCollapse: props.autoCollapse }, index.h("button", { slot: "button" }, index.h("span", null, item.title), index.h(FontAwesomeIcon, { icon: faCaretDown.faCaretDown })), index.h("ul", { slot: "content", role: "menu" }, item.links.map(link => (index.h("li", null, index.h("a", Object.assign({ href: link.href }, link.attributes), link.text))))))));
|
|
231
837
|
}).filter(Boolean)));
|
|
232
838
|
};
|
|
233
|
-
|
|
234
|
-
const Decoration = `<svg viewBox="0 0 68 90" xmlns="http://www.w3.org/2000/svg"><path d="M23.131 0l44.847 90H0V0" fill="#d41728"/><path d="M23.131 0l16.03 32.044L55.1 0" fill="#ffc500"/></svg>`;
|
|
235
|
-
|
|
236
|
-
const FullSizeLogo = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 150 90"><path d="M0 0h150v90H0V0z"/><path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/></svg>`;
|
|
237
|
-
|
|
238
|
-
const ReducedSizeLogo = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M0 0h100v100H0V0z"/><path fill="#fff" d="M74.6 54.9l-.7 2c2.4 0 5.6 1.4 5.6 2.9v9.5c0-.2-.2 5.4-7.8 5.4-13.7 0-15.6-10-15.6-20 0-6.7 2.4-13 5.8-17 3.4-3.8 9.8-3.6 15-3 5 .4 6.8 8.7 6.8 8.7l1.7-.5.2-13.2s-.7-.7-1.2-.5c-.5.3-2.4 1-3.7 1-1 0-4.6-.7-8.3-.7-6.6 0-13 1.4-17.8 8a32 32 0 00-3.4 6.1V28c0-8 4.1-6.3 4.6-7 .5-1.3.5-1.3-.2-1.5H39.9s-2 1.4-.7 1.4c5.4.5 7.6 2.5 7.6 7.4v25.4c0 6.6-5.1 10.5-12.5 10.5C27 64.2 22 59.5 22 51.5v-23c0-8 4.1-6.6 4.4-7.6.7-1 .7-1.2 0-1.2 0 0-9.3.5-16.2 0 0 0-2 1.5-.7 1.5 5.4.5 5.4 2.9 5.4 8v26.2s-.5 13.9 17.8 13.9c7.8 0 12.5-3.2 15-6.4l1.1-1.7c.3 2.5.8 5 1.5 7.1 3 9.6 14 12.2 17.6 12.2 4.6 0 4.6 0 8.8-2.9 2.2-1.2 10.2-4.4 10.2-4.4V59.8c0-2.2 4-3.2 4-3.2l.2-1.7H74.6z"/></svg>`;
|
|
239
|
-
|
|
240
|
-
const GlobalLinks = () => (index.h("ul", { class: "uofg-header-global-links" },
|
|
241
|
-
index.h("li", null,
|
|
242
|
-
index.h("a", { href: "https://uoguelph.ca/about" }, "About")),
|
|
243
|
-
index.h("li", null,
|
|
244
|
-
index.h("a", { href: "https://uoguelph.ca/academics" }, "Academics")),
|
|
245
|
-
index.h("li", null,
|
|
246
|
-
index.h("a", { href: "https://uoguelph.ca/admissions" }, "Admissions")),
|
|
247
|
-
index.h("li", null,
|
|
248
|
-
index.h("a", { href: "https://uoguelph.ca/research" }, "Research")),
|
|
249
|
-
index.h("li", null,
|
|
250
|
-
index.h("a", { href: "https://uoguelph.ca/student-life" }, "Student Life"))));
|
|
251
|
-
|
|
252
|
-
const HelloYou = props => (index.h("uofg-menu", { class: "uofg-header-hello-you-menu", "auto-collapse": props.autoCollapse },
|
|
253
|
-
index.h("button", { slot: "button", "aria-label": "Hello, YOU! menu" },
|
|
254
|
-
index.h("span", null, "Hello, YOU!"),
|
|
255
|
-
index.h(FontAwesomeIcon, { icon: faCaretDown })),
|
|
256
|
-
index.h("ul", { slot: "content" },
|
|
257
|
-
index.h("li", null,
|
|
258
|
-
index.h("a", { href: "https://uoguelph.ca/future-students" }, "Future Students")),
|
|
259
|
-
index.h("li", null,
|
|
260
|
-
index.h("a", { href: "https://uoguelph.ca/current-students" }, "Current Students")),
|
|
261
|
-
index.h("li", null,
|
|
262
|
-
index.h("a", { href: "https://uoguelph.ca/alumni-and-donors" }, "Alumni & Donors")),
|
|
263
|
-
index.h("li", null,
|
|
264
|
-
index.h("a", { href: "https://uoguelph.ca/staff-and-faculty" }, "Staff & Faculty")),
|
|
265
|
-
index.h("li", null,
|
|
266
|
-
index.h("a", { href: "https://uoguelph.ca/parents-and-visitors" }, "Parents & Visitors")),
|
|
267
|
-
index.h("li", null,
|
|
268
|
-
index.h("a", { href: "https://uoguelph.ca/employers-and-partners" }, "Employers & Partners")))));
|
|
269
|
-
|
|
270
|
-
const SearchBar = () => (index.h("form", { class: "uofg-header-search-bar", method: "get", role: "search", action: "https://uoguelph.ca/search/" },
|
|
271
|
-
index.h("input", { type: "text", name: "q" }),
|
|
272
|
-
index.h("input", { type: "hidden", name: "cx", value: "002616817380988741256:tp3ks5ha2dw" }),
|
|
273
|
-
index.h("input", { type: "hidden", name: "cof", value: "FORID:11" }),
|
|
274
|
-
index.h("input", { type: "hidden", name: "ie", value: "UTF-8" }),
|
|
275
|
-
index.h("button", { class: "uofg-search-bar-button", "aria-label": "Search", type: "submit" },
|
|
276
|
-
index.h(FontAwesomeIcon, { icon: faSearch }))));
|
|
277
|
-
|
|
278
|
-
const uofgHeaderCss = ":host{height:auto !important}*{-webkit-box-sizing:border-box;box-sizing:border-box}:focus-visible{outline:2px solid #ffc72a;outline-offset:0.5rem}a{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;text-decoration:none;color:inherit;-webkit-transition-property:color, background-color;transition-property:color, background-color;-webkit-transition-duration:0.2s;transition-duration:0.2s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}ul{list-style:none;margin:0;padding:0}ul>li{display:contents}button{border:none;background:none;cursor:pointer;font-size:inherit;font-family:inherit;color:inherit;line-height:inherit;word-spacing:inherit;letter-spacing:inherit;-webkit-transition-property:color, background-color;transition-property:color, background-color;-webkit-transition-duration:0.2s;transition-duration:0.2s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}button[type=submit]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;background-color:#d50029;color:#fff;padding:0.5rem;font-size:inherit;font-family:inherit}input[type=text],input[type=password]{background-color:#eff6f7;border:1px solid #69a3b9;padding:1rem;color:#555555;font-size:inherit;font-family:inherit}input[type=text]:focus-visible,input[type=text]:focus,input[type=password]:focus-visible,input[type=password]:focus{outline:none;background-color:#fffdf7}uofg-menu{--uofg-menu-animation-type:slide;--uofg-menu-animation-duration:0.2s;--uofg-menu-animation-easing:ease-in-out;display:block;position:relative}uofg-menu>[slot=button]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:0.5rem;height:100%;padding:0 1rem}uofg-menu>[slot=button]>svg{height:1em;fill:currentColor;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transition-duration:0.2s;transition-duration:0.2s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}uofg-menu>[slot=content]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;position:absolute;z-index:1;min-width:20rem;right:0;background-color:#fff;color:#000;-webkit-box-shadow:0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0px 1px 5px 0px rgba(0, 0, 0, 0.2);box-shadow:0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0px 1px 5px 0px rgba(0, 0, 0, 0.2)}#uofg-header{position:relative;width:100%;z-index:10000;font-size:1.6rem;font-family:\"Roboto Condensed\", Arial, sans-serif}#uofg-header-top-content-container,#uofg-header-main-content-container,#uofg-header-sub-content-container{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;width:100%;padding:0 calc((100vw - 1500px) / 2)}#uofg-header-top-content-container{height:3.5rem;background-color:#fff;color:#000;z-index:3}#uofg-header-top-content-container>ul{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:100%}#uofg-header-top-content-container>ul>li>a{height:100%;padding:0 1rem}#uofg-header-top-content-container>ul>li>a:hover,#uofg-header-top-content-container>ul>li>a:focus-visible,#uofg-header-top-content-container>ul>li>a[aria-expanded=true]{background-color:#ddd}#uofg-header-top-content-container>uofg-menu{height:100%}#uofg-header-top-content-container>uofg-menu>[slot=button]{padding:0 1rem;background-color:#ffc72a;color:#000;font-weight:bold}#uofg-header-top-content-container>uofg-menu>[slot=button]:hover,#uofg-header-top-content-container>uofg-menu>[slot=button]:focus-visible,#uofg-header-top-content-container>uofg-menu>[slot=button][aria-expanded=true]{background-color:#ccc;color:#000}#uofg-header-top-content-container>uofg-menu>[slot=button][aria-expanded=true]>svg{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}#uofg-header-top-content-container>uofg-menu>[slot=content]{background-color:#ddd;color:#000}#uofg-header-top-content-container>uofg-menu>[slot=content] a{height:100%;padding:0.75rem;border-bottom:1px solid rgba(0, 0, 0, 0.4)}#uofg-header-top-content-container>uofg-menu>[slot=content] a:hover,#uofg-header-top-content-container>uofg-menu>[slot=content] a:focus-visible{background-color:#ffc72a}#uofg-header-main-content-container{height:5rem;background-color:#000;color:#fff;z-index:2}#uofg-header-main-content-container>*{height:100%}#uofg-header-main-content-container.full-height{height:8rem}#uofg-header-logo-container{display:-webkit-box;display:-ms-flexbox;display:flex;height:100%;margin-right:auto;overflow:hidden}#uofg-header-logo-container>*{height:100%}#uofg-header-logo-container svg{width:auto}#uofg-header-decorative-img{position:absolute;left:0}#uofg-header-decorative-img>svg{height:100%}@media screen and (max-width: 1500px){#uofg-header-decorative-img{position:static}}#uofg-header-logo{height:100%;position:relative;margin-left:1rem;-webkit-transition:opacity 0.2s ease-in-out;transition:opacity 0.2s ease-in-out}#uofg-header-logo>svg{height:100%}#uofg-header-logo:hover,#uofg-header-logo:focus-visible{opacity:0.8}@media screen and (min-width: 1500px) and (max-width: calc(1500px + 7rem)){#uofg-header-logo{position:absolute;left:0;margin-left:7rem}}#uofg-header-full-main-content,#uofg-header-reduced-main-content{display:-webkit-box;display:-ms-flexbox;display:flex}#uofg-header-full-main-content svg,#uofg-header-reduced-main-content svg{height:1em;fill:currentColor}#uofg-header-full-main-content>ul{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}#uofg-header-full-main-content>ul>li>a,#uofg-header-full-main-content>a,#uofg-header-full-main-content>uofg-menu>[slot=button]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;height:100%;padding:0 1.5rem;font-size:1.8rem;-webkit-transition-property:color, background-color;transition-property:color, background-color;-webkit-transition-duration:0.2s;transition-duration:0.2s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}#uofg-header-full-main-content>ul>li>a:hover,#uofg-header-full-main-content>ul>li>a:focus-visible,#uofg-header-full-main-content>a:hover,#uofg-header-full-main-content>a:focus-visible,#uofg-header-full-main-content>uofg-menu>[slot=button]:hover,#uofg-header-full-main-content>uofg-menu>[slot=button]:focus-visible{background-color:#333;color:#ffc72a}#uofg-header-full-main-content>uofg-menu>[slot=button]{color:#ffc72a}#uofg-header-full-main-content>uofg-menu>[slot=content]{color:#000;background-color:#fff;padding:2rem;width:35rem}#uofg-header-full-main-content>uofg-menu>[slot=content]>span{display:block;font-size:2.4rem;font-weight:bold;padding:1rem 0}#uofg-header-full-main-content>a{color:#ffc72a}#uofg-header-reduced-main-content>uofg-menu>[slot=button],#uofg-header-reduced-main-content>a{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:0 1.5rem;font-size:2rem;border-left:1px solid rgba(255, 255, 255, 0.15)}#uofg-header-reduced-main-content>uofg-menu>[slot=button]:hover,#uofg-header-reduced-main-content>uofg-menu>[slot=button]:focus-visible,#uofg-header-reduced-main-content>uofg-menu>[slot=button][aria-expanded=true],#uofg-header-reduced-main-content>a:hover,#uofg-header-reduced-main-content>a:focus-visible,#uofg-header-reduced-main-content>a[aria-expanded=true]{background-color:#fff;color:#000}#uofg-header-reduced-main-content>uofg-menu{position:static;height:100%}#uofg-header-reduced-main-content>uofg-menu>[slot=content]{background-color:#fff;color:#000;width:100%;padding:1rem 2rem 2rem}#uofg-header-reduced-main-content>uofg-menu>[slot=content]>span{display:block;font-size:2.4rem;font-weight:bold;padding:1rem 0}#uofg-header-main-menu>[slot=content]{overflow-y:auto;max-height:calc(100vh - 5rem)}#uofg-header-main-menu uofg-menu{position:relative}#uofg-header-main-menu uofg-menu>[slot=button]{display:-webkit-box;display:-ms-flexbox;display:flex;padding:0.75rem;height:auto;width:100%;color:inherit;border-bottom:1px solid rgba(0, 0, 0, 0.1)}#uofg-header-main-menu uofg-menu>[slot=button]>svg{margin-left:auto}#uofg-header-main-menu uofg-menu>[slot=button]:hover,#uofg-header-main-menu uofg-menu>[slot=button]:focus-visible,#uofg-header-main-menu uofg-menu>[slot=button][aria-expanded=true]{background-color:rgba(0, 0, 0, 0.1)}#uofg-header-main-menu uofg-menu>[slot=button][aria-expanded=true]>svg{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}#uofg-header-main-menu uofg-menu>[slot=content]{position:relative;-webkit-box-shadow:none;box-shadow:none;padding:0}#uofg-header-main-menu uofg-menu>[slot=content]>li>a{padding:0.75rem;border-bottom:1px solid rgba(0, 0, 0, 0.1);-webkit-transition-property:color, background-color;transition-property:color, background-color;-webkit-transition-duration:0.2s;transition-duration:0.2s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}#uofg-header-main-menu uofg-menu>[slot=content]>li>a:hover,#uofg-header-main-menu uofg-menu>[slot=content]>li>a:focus-visible{background-color:rgba(0, 0, 0, 0.1)}#uofg-header-main-menu uofg-menu.uofg-header-hello-you-menu>[slot=button]{background-color:#ffc72a;color:#000;font-weight:bold}#uofg-header-main-menu uofg-menu.uofg-header-hello-you-menu>[slot=content]{background-color:rgba(0, 0, 0, 0.1);color:#000}#uofg-header-main-menu ul>li>a{padding:0.75rem;width:100%;color:inherit;border-bottom:1px solid rgba(0, 0, 0, 0.1);-webkit-transition-property:color, background-color;transition-property:color, background-color;-webkit-transition-duration:0.2s;transition-duration:0.2s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}#uofg-header-main-menu ul>li>a:hover,#uofg-header-main-menu ul>li>a:focus-visible,#uofg-header-main-menu ul>li>a[aria-expanded=true]{background-color:rgba(0, 0, 0, 0.1)}.uofg-header-search-menu .uofg-header-search-bar{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.uofg-header-search-menu .uofg-header-search-bar>input{-webkit-box-flex:1;-ms-flex:1;flex:1}.uofg-header-search-menu .uofg-header-search-bar>button[type=submit]{width:4rem;height:4rem}#uofg-header-sub-content-container{height:4rem;background-color:#ddd;color:#000;z-index:1}#uofg-header-sub-content-container #uofg-header-page-title{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-right:auto;padding:0 1rem;height:100%;font-weight:bold}#uofg-header-sub-content-container uofg-menu{position:relative;height:100%}#uofg-header-sub-content-container uofg-menu>[slot=button]{color:inherit}#uofg-header-sub-content-container uofg-menu>[slot=button]:hover,#uofg-header-sub-content-container uofg-menu>[slot=button]:focus-visible,#uofg-header-sub-content-container uofg-menu>[slot=button][aria-expanded=true]{background-color:#ffc72a;color:#000}#uofg-header-sub-content-container uofg-menu>[slot=content]{position:absolute;background-color:#ddd;color:#000}#uofg-header-sub-content-container uofg-menu>[slot=content]>li:not(:last-child)>a{border-bottom:1px solid rgba(0, 0, 0, 0.1)}#uofg-header-sub-content-container uofg-menu>[slot=content]>li>a{padding:0.75rem;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}#uofg-header-sub-content-container a{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-transition-property:color, background-color;transition-property:color, background-color;-webkit-transition-duration:0.2s;transition-duration:0.2s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}#uofg-header-sub-content-container a:hover,#uofg-header-sub-content-container a:focus-visible{background-color:#ffc72a;color:#000}#uofg-header-full-sub-content,#uofg-header-reduced-sub-content{height:100%}#uofg-header-full-sub-content a,#uofg-header-reduced-sub-content a{padding:0 0.5rem}#uofg-header-full-sub-content{height:100%}#uofg-header-full-sub-content>ul{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}#uofg-header-full-sub-content uofg-menu>[slot=button][aria-expanded=true]>svg{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}#uofg-header-full-sub-content .uofg-header-page-specific{display:-webkit-box;display:-ms-flexbox;display:flex;height:100%;-webkit-box-align:center;-ms-flex-align:center;align-items:center}#uofg-header-reduced-sub-content>uofg-menu{position:static}#uofg-header-reduced-sub-content>uofg-menu>[slot=button]{font-size:2rem;padding:0 1.5rem}#uofg-header-reduced-sub-content>uofg-menu>[slot=content]{background-color:#fff;color:#000;padding:2rem;overflow-y:auto;max-height:calc(100vh - 5rem - 4rem);width:100%}#uofg-header-reduced-sub-content>uofg-menu>[slot=content]>span{display:block;font-size:2.4rem;font-weight:bold;padding:1rem 0}#uofg-header-reduced-sub-content>uofg-menu>[slot=content] a{height:auto;padding:1rem;width:100%;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;border-bottom:1px solid rgba(0, 0, 0, 0.1)}#uofg-header-reduced-sub-content>uofg-menu>[slot=content] a:hover,#uofg-header-reduced-sub-content>uofg-menu>[slot=content] a:focus-visible{background-color:rgba(0, 0, 0, 0.1);color:#000}#uofg-header-reduced-sub-content>uofg-menu>[slot=content] uofg-menu{height:auto}#uofg-header-reduced-sub-content>uofg-menu>[slot=content] uofg-menu>[slot=button]{width:100%;padding:1rem;border-bottom:1px solid rgba(0, 0, 0, 0.1)}#uofg-header-reduced-sub-content>uofg-menu>[slot=content] uofg-menu>[slot=button]>svg{margin-left:auto}#uofg-header-reduced-sub-content>uofg-menu>[slot=content] uofg-menu>[slot=button]:hover,#uofg-header-reduced-sub-content>uofg-menu>[slot=content] uofg-menu>[slot=button]:focus-visible,#uofg-header-reduced-sub-content>uofg-menu>[slot=content] uofg-menu>[slot=button][aria-expanded=true]{background-color:rgba(0, 0, 0, 0.2);color:#000}#uofg-header-reduced-sub-content>uofg-menu>[slot=content] uofg-menu>[slot=button][aria-expanded=true]>svg{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}#uofg-header-reduced-sub-content>uofg-menu>[slot=content] uofg-menu>[slot=content]{position:static;background-color:rgba(0, 0, 0, 0.1);-webkit-box-shadow:none;box-shadow:none}";
|
|
279
|
-
|
|
280
839
|
const UofgHeader = class {
|
|
281
840
|
constructor(hostRef) {
|
|
282
841
|
index.registerInstance(this, hostRef);
|
|
@@ -325,15 +884,22 @@ const UofgHeader = class {
|
|
|
325
884
|
});
|
|
326
885
|
}
|
|
327
886
|
render() {
|
|
328
|
-
return (index.h("header", { id: "uofg-header" }, this.isFullSize && (index.h("div", { id: "uofg-header-top-content-container" }, index.h(
|
|
329
|
-
(this.pageUrl ? (index.h("a", { id: "uofg-header-page-title", href: this.pageUrl }, this.pageTitle)) : (index.h("span", { id: "uofg-header-page-title" }, this.pageTitle))), this.isFullSize ? (index.h("div", { id: "uofg-header-full-sub-content", class: "uofg-header-sub-content" }, index.h(PageSpecific, { content: this.pageSpecificContent,
|
|
887
|
+
return (index.h("header", { id: "uofg-header" }, this.isFullSize && (index.h("div", { id: "uofg-header-top-content-container" }, index.h(TopLinks, null), index.h(HelloYouMenu, { autoCollapse: true }))), index.h("div", { id: "uofg-header-main-content-container", class: { 'full-height': this.isFullSize } }, index.h("div", { id: "uofg-header-logo-container" }, this.isFullSize && index.h("div", { id: "uofg-header-decorative-img", innerHTML: Decoration }), index.h("a", { id: "uofg-header-logo", href: "https://www.uoguelph.ca", innerHTML: this.isFullSize ? FullSizeLogo : ReducedSizeLogo, "aria-label": "University of Guelph Home Page" })), this.isFullSize ? (index.h("div", { id: "uofg-header-full-main-content", class: "uofg-header-main-content" }, index.h(MainLinks, null), index.h(AccountLink, null), index.h(SearchLink, null))) : (index.h("div", { id: "uofg-header-reduced-main-content", class: "uofg-header-main-content" }, index.h(AccountLink, null), index.h(SearchLink, null), index.h("uofg-menu", { id: "uofg-header-main-menu", "auto-collapse": true }, index.h("button", { slot: "button", "aria-label": "Main Menu" }, index.h(FontAwesomeIcon, { icon: faBars.faBars })), index.h("div", { slot: "content" }, index.h("span", null, "University of Guelph"), index.h(MainLinks, null), index.h(HelloYouMenu, { autoCollapse: false })))))), this.pageSpecificContent.length > 0 && (index.h("div", { id: "uofg-header-sub-content-container" }, this.pageTitle &&
|
|
888
|
+
(this.pageUrl ? (index.h("a", { id: "uofg-header-page-title", href: this.pageUrl }, this.pageTitle)) : (index.h("span", { id: "uofg-header-page-title" }, this.pageTitle))), this.isFullSize ? (index.h("div", { id: "uofg-header-full-sub-content", class: "uofg-header-sub-content" }, index.h(PageSpecific, { content: this.pageSpecificContent, autoCollapse: true }))) : (index.h("div", { id: "uofg-header-reduced-sub-content", class: "uofg-header-sub-content" }, index.h("uofg-menu", { id: "uofg-header-sub-menu", "auto-collapse": true }, index.h("button", { slot: "button", "aria-label": this.pageTitle + ' Menu' }, index.h(FontAwesomeIcon, { icon: faBars.faBars })), index.h("div", { slot: "content" }, index.h(PageSpecific, { content: this.pageSpecificContent })))))))));
|
|
330
889
|
}
|
|
331
890
|
get el() { return index.getElement(this); }
|
|
332
891
|
};
|
|
333
892
|
UofgHeader.style = uofgHeaderCss;
|
|
334
893
|
|
|
335
|
-
const WEB_ANIMATIONS_SUPPORTED =
|
|
336
|
-
|
|
894
|
+
const WEB_ANIMATIONS_SUPPORTED = () => {
|
|
895
|
+
return typeof window !== 'undefined' && 'animate' in HTMLElement.prototype;
|
|
896
|
+
};
|
|
897
|
+
const PREFERS_REDUCED_MOTION = () => {
|
|
898
|
+
return typeof window !== 'undefined' && window.matchMedia('(prefers-reduced-motion: reduce)').matches;
|
|
899
|
+
};
|
|
900
|
+
const IS_INERT_SUPPORTED = () => {
|
|
901
|
+
return typeof window !== 'undefined' && 'inert' in HTMLElement.prototype;
|
|
902
|
+
};
|
|
337
903
|
const getAllFocusableElements = (container) => {
|
|
338
904
|
const query = 'a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [contenteditable], audio[controls], video[controls], details, summary, [tabindex]:not([tabindex="-1"])';
|
|
339
905
|
return Array.from(container.querySelectorAll(query));
|
|
@@ -421,7 +987,7 @@ const UofgMenu = class {
|
|
|
421
987
|
// Determine what animation type the user wants.
|
|
422
988
|
const type = this.getAnimationType();
|
|
423
989
|
// If Web Animations API isn't supported, or the user requested no animation, we can simply set display style
|
|
424
|
-
if (!WEB_ANIMATIONS_SUPPORTED || PREFERS_REDUCED_MOTION || type === 'none') {
|
|
990
|
+
if (!WEB_ANIMATIONS_SUPPORTED() || PREFERS_REDUCED_MOTION() || type === 'none') {
|
|
425
991
|
this.content.style.display = newValue ? '' : 'none';
|
|
426
992
|
return;
|
|
427
993
|
}
|
|
@@ -573,11 +1139,12 @@ const UofgMenu = class {
|
|
|
573
1139
|
}; }
|
|
574
1140
|
};
|
|
575
1141
|
|
|
576
|
-
const uofgModalCss = ":host{visibility:visible !important;position:relative !important;z-index:100000 !important}:focus-visible{outline:2px solid #ffc72a}*{
|
|
1142
|
+
const uofgModalCss = ":host{visibility:visible !important;position:relative !important;z-index:100000 !important}:focus-visible{outline:2px solid #ffc72a;outline-offset:0.5rem}*{box-sizing:border-box}button{border:none;background-color:transparent;cursor:pointer}a{color:inherit;text-decoration:none}ul{list-style:none;padding:0;margin:unset}ul>li{display:contents}#uofg-modal{display:flex;position:fixed;top:0;left:0;z-index:10000;width:100vw;height:100vh;background-color:rgba(0, 0, 0, 0.5);visibility:hidden;opacity:0;transition-property:opacity, visibility;transition-duration:0.2s;transition-timing-function:ease-in-out}#uofg-modal.open{visibility:visible;opacity:1}#uofg-modal-dismiss{display:flex;justify-content:center;align-items:center;position:absolute;top:2rem;right:2rem;padding:0.5rem;height:3.5rem;width:3.5rem;font-size:2rem;line-height:1;color:var(--uofg-modal-dismiss-color, #fff);z-index:2}#uofg-modal-dismiss>svg{display:block;height:1em;fill:currentColor}#uofg-modal-content{position:absolute;width:fit-content;height:fit-content;width:-moz-max-content;height:-moz-max-content;padding:2rem;max-width:100%;max-height:100%;left:50%;transform:translate(-50%, -50px);z-index:1;overflow:auto;transition-property:transform;transition-duration:0.2s;transition-timing-function:ease-in-out}@media (prefers-reduced-motion: reduce){#uofg-modal-content{transition:none}}#uofg-modal-content.centered{top:50%;transform:translate(-50%, calc(-50% - 50px))}#uofg-modal.open #uofg-modal-content{visibility:visible;opacity:1;transform:translate(-50%, 0)}#uofg-modal.open #uofg-modal-content.centered{transform:translate(-50%, -50%)}";
|
|
577
1143
|
|
|
578
1144
|
const UofgModal = class {
|
|
579
1145
|
constructor(hostRef) {
|
|
580
1146
|
index.registerInstance(this, hostRef);
|
|
1147
|
+
this.inertElements = [];
|
|
581
1148
|
this.label = undefined;
|
|
582
1149
|
this.alertDialog = false;
|
|
583
1150
|
this.centered = false;
|
|
@@ -594,6 +1161,12 @@ const UofgModal = class {
|
|
|
594
1161
|
this.isOpen = true;
|
|
595
1162
|
}
|
|
596
1163
|
}
|
|
1164
|
+
disconnectedCallback() {
|
|
1165
|
+
// Just in case the modal is removed from the DOM before it is closed, make sure to remove the inert attribute from all elements that we marked as inert when the modal was opened.
|
|
1166
|
+
for (const element of this.inertElements) {
|
|
1167
|
+
element.removeAttribute('inert');
|
|
1168
|
+
}
|
|
1169
|
+
}
|
|
597
1170
|
handleClick(e) {
|
|
598
1171
|
if (!this.staticBackdrop && e.target === e.currentTarget) {
|
|
599
1172
|
this.isOpen = false;
|
|
@@ -635,12 +1208,44 @@ const UofgModal = class {
|
|
|
635
1208
|
});
|
|
636
1209
|
});
|
|
637
1210
|
});
|
|
1211
|
+
// Mark outer elements as inert when the modal is open.
|
|
1212
|
+
let current = this.el;
|
|
1213
|
+
// We want to mark all elements outside of the modal as inert, so we need to traverse up the DOM tree until we reach the body element.
|
|
1214
|
+
while (current !== null && current !== document.body) {
|
|
1215
|
+
const parent = current.parentElement;
|
|
1216
|
+
// If parent is null, then we may be inside a shadow root. If so, we get the host element and continue traversing up the DOM tree.
|
|
1217
|
+
if (parent === null) {
|
|
1218
|
+
const root = current.getRootNode();
|
|
1219
|
+
if (root instanceof ShadowRoot) {
|
|
1220
|
+
current = root.host;
|
|
1221
|
+
continue;
|
|
1222
|
+
}
|
|
1223
|
+
}
|
|
1224
|
+
if (parent !== null) {
|
|
1225
|
+
for (const child of parent.children) {
|
|
1226
|
+
if (child !== current && !child.inert) {
|
|
1227
|
+
// Mark the element as inert and store it in an array so that we can remove the inert attribute when the modal closes.
|
|
1228
|
+
child.inert = true;
|
|
1229
|
+
this.inertElements.push(child);
|
|
1230
|
+
}
|
|
1231
|
+
}
|
|
1232
|
+
}
|
|
1233
|
+
current = parent;
|
|
1234
|
+
}
|
|
1235
|
+
}
|
|
1236
|
+
else {
|
|
1237
|
+
// Remove the inert attribute from all elements that we marked as inert when the modal was opened.
|
|
1238
|
+
for (const element of this.inertElements) {
|
|
1239
|
+
element.removeAttribute('inert');
|
|
1240
|
+
}
|
|
1241
|
+
// Clear the array of inert elements. This is important because we don't want to keep a reference to elements as they may be removed from the DOM and we could cause a memory leak.
|
|
1242
|
+
this.inertElements = [];
|
|
638
1243
|
}
|
|
639
1244
|
// Prevent scrolling of the body when the modal is open.
|
|
640
1245
|
document.body.style.overflow = newValue ? 'hidden' : '';
|
|
641
1246
|
}
|
|
642
1247
|
render() {
|
|
643
|
-
return (index.h("div", { id: "uofg-modal", class: { open: this.isOpen }, role: this.
|
|
1248
|
+
return (index.h("div", { id: "uofg-modal", class: { open: this.isOpen }, role: this.alertDialog ? 'alertdialog' : 'dialog', "aria-modal": this.isOpen ? 'true' : '', "aria-label": this.label, tabIndex: -1, onClick: this.handleClick, onKeyUp: this.handleKeyUp, onKeyDown: IS_INERT_SUPPORTED() ? undefined : this.handleKeyDown, ref: (el) => (this.container = el) }, index.h("div", { id: "uofg-modal-content", part: "content", class: { centered: this.centered } }, index.h("button", { id: "uofg-modal-dismiss", part: "dismiss-button", "aria-label": "Close modal", ref: (el) => (this.dismissButton = el), onClick: () => (this.isOpen = false) }, index.h(FontAwesomeIcon, { icon: faTimes })), index.h("slot", null))));
|
|
644
1249
|
}
|
|
645
1250
|
/**
|
|
646
1251
|
* Get the current state of the modal.
|