@uoguelph/web-components 0.0.27 → 0.0.28

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.
@@ -897,9 +897,6 @@ const WEB_ANIMATIONS_SUPPORTED = () => {
897
897
  const PREFERS_REDUCED_MOTION = () => {
898
898
  return typeof window !== 'undefined' && window.matchMedia('(prefers-reduced-motion: reduce)').matches;
899
899
  };
900
- const IS_INERT_SUPPORTED = () => {
901
- return typeof window !== 'undefined' && 'inert' in HTMLElement.prototype;
902
- };
903
900
  const getAllFocusableElements = (container) => {
904
901
  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"])';
905
902
  return Array.from(container.querySelectorAll(query));
@@ -1144,6 +1141,8 @@ const uofgModalCss = ":host{visibility:visible !important;position:relative !imp
1144
1141
  const UofgModal = class {
1145
1142
  constructor(hostRef) {
1146
1143
  index.registerInstance(this, hostRef);
1144
+ this.opened = index.createEvent(this, "opened", 2);
1145
+ this.closed = index.createEvent(this, "closed", 2);
1147
1146
  this.inertElements = [];
1148
1147
  this.label = undefined;
1149
1148
  this.alertDialog = false;
@@ -1156,7 +1155,7 @@ const UofgModal = class {
1156
1155
  // Bind event handlers so that 'this' is always the component instance.
1157
1156
  this.handleClick = this.handleClick.bind(this);
1158
1157
  this.handleKeyUp = this.handleKeyUp.bind(this);
1159
- this.handleKeyDown = this.handleKeyDown.bind(this);
1158
+ this.handleFocusOut = this.handleFocusOut.bind(this);
1160
1159
  if (this.autoOpen) {
1161
1160
  this.isOpen = true;
1162
1161
  }
@@ -1177,24 +1176,22 @@ const UofgModal = class {
1177
1176
  this.isOpen = false;
1178
1177
  }
1179
1178
  }
1180
- handleKeyDown(e) {
1181
- // If the modal is open and the user presses the tab key, we need to ensure that focus is trapped within the modal.
1182
- if (e.key === 'Tab' && this.isOpen) {
1183
- const focusableElements = getAllFocusableElements(this.el);
1184
- // If there are no focusable elements in the modal, focus the dismiss button.
1185
- if (focusableElements.length === 0) {
1186
- e.preventDefault();
1187
- this.dismissButton.focus();
1188
- }
1189
- const firstFocusable = this.dismissButton; // The dismiss button is always the first focusable element in the modal.
1190
- const lastFocusable = focusableElements[focusableElements.length - 1];
1191
- if (e.target === firstFocusable && e.shiftKey) {
1192
- e.preventDefault();
1193
- lastFocusable === null || lastFocusable === void 0 ? void 0 : lastFocusable.focus();
1179
+ handleFocusOut(e) {
1180
+ var _a;
1181
+ if (!this.isOpen)
1182
+ return; // Don't do anything if the modal is closed.
1183
+ const relatedTarget = e.relatedTarget;
1184
+ // If the focus is moving outside of the modal
1185
+ if (!this.container.contains(relatedTarget) && !this.el.contains(relatedTarget)) {
1186
+ e.preventDefault();
1187
+ // If the focus is moving away from the dismiss button, focus the last focusable element in the modal.
1188
+ if (e.target === this.dismissButton) {
1189
+ const focusableElements = getAllFocusableElements(this.el);
1190
+ (_a = focusableElements[focusableElements.length - 1]) === null || _a === void 0 ? void 0 : _a.focus();
1194
1191
  }
1195
- else if (e.target === lastFocusable && !e.shiftKey) {
1196
- e.preventDefault();
1197
- firstFocusable === null || firstFocusable === void 0 ? void 0 : firstFocusable.focus();
1192
+ else {
1193
+ // Otherwise, focus the dismiss button.
1194
+ this.dismissButton.focus();
1198
1195
  }
1199
1196
  }
1200
1197
  }
@@ -1231,6 +1228,7 @@ const UofgModal = class {
1231
1228
  }
1232
1229
  }
1233
1230
  current = parent;
1231
+ this.opened.emit();
1234
1232
  }
1235
1233
  }
1236
1234
  else {
@@ -1240,12 +1238,13 @@ const UofgModal = class {
1240
1238
  }
1241
1239
  // 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
1240
  this.inertElements = [];
1241
+ this.closed.emit();
1243
1242
  }
1244
1243
  // Prevent scrolling of the body when the modal is open.
1245
1244
  document.body.style.overflow = newValue ? 'hidden' : '';
1246
1245
  }
1247
1246
  render() {
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))));
1247
+ 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, onFocusout: this.handleFocusOut, 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))));
1249
1248
  }
1250
1249
  /**
1251
1250
  * Get the current state of the modal.
@@ -1,7 +1,7 @@
1
1
  import { h } from "@stencil/core";
2
2
  import { FontAwesomeIcon } from "../../utils/font-awesome-icon";
3
3
  import { faTimes } from "@fortawesome/free-solid-svg-icons";
4
- import { getAllFocusableElements, IS_INERT_SUPPORTED } from "../../utils/utils";
4
+ import { getAllFocusableElements } from "../../utils/utils";
5
5
  export class UofgModal {
6
6
  constructor() {
7
7
  this.inertElements = [];
@@ -16,7 +16,7 @@ export class UofgModal {
16
16
  // Bind event handlers so that 'this' is always the component instance.
17
17
  this.handleClick = this.handleClick.bind(this);
18
18
  this.handleKeyUp = this.handleKeyUp.bind(this);
19
- this.handleKeyDown = this.handleKeyDown.bind(this);
19
+ this.handleFocusOut = this.handleFocusOut.bind(this);
20
20
  if (this.autoOpen) {
21
21
  this.isOpen = true;
22
22
  }
@@ -37,24 +37,22 @@ export class UofgModal {
37
37
  this.isOpen = false;
38
38
  }
39
39
  }
40
- handleKeyDown(e) {
41
- // If the modal is open and the user presses the tab key, we need to ensure that focus is trapped within the modal.
42
- if (e.key === 'Tab' && this.isOpen) {
43
- const focusableElements = getAllFocusableElements(this.el);
44
- // If there are no focusable elements in the modal, focus the dismiss button.
45
- if (focusableElements.length === 0) {
46
- e.preventDefault();
47
- this.dismissButton.focus();
48
- }
49
- const firstFocusable = this.dismissButton; // The dismiss button is always the first focusable element in the modal.
50
- const lastFocusable = focusableElements[focusableElements.length - 1];
51
- if (e.target === firstFocusable && e.shiftKey) {
52
- e.preventDefault();
53
- lastFocusable === null || lastFocusable === void 0 ? void 0 : lastFocusable.focus();
40
+ handleFocusOut(e) {
41
+ var _a;
42
+ if (!this.isOpen)
43
+ return; // Don't do anything if the modal is closed.
44
+ const relatedTarget = e.relatedTarget;
45
+ // If the focus is moving outside of the modal
46
+ if (!this.container.contains(relatedTarget) && !this.el.contains(relatedTarget)) {
47
+ e.preventDefault();
48
+ // If the focus is moving away from the dismiss button, focus the last focusable element in the modal.
49
+ if (e.target === this.dismissButton) {
50
+ const focusableElements = getAllFocusableElements(this.el);
51
+ (_a = focusableElements[focusableElements.length - 1]) === null || _a === void 0 ? void 0 : _a.focus();
54
52
  }
55
- else if (e.target === lastFocusable && !e.shiftKey) {
56
- e.preventDefault();
57
- firstFocusable === null || firstFocusable === void 0 ? void 0 : firstFocusable.focus();
53
+ else {
54
+ // Otherwise, focus the dismiss button.
55
+ this.dismissButton.focus();
58
56
  }
59
57
  }
60
58
  }
@@ -91,6 +89,7 @@ export class UofgModal {
91
89
  }
92
90
  }
93
91
  current = parent;
92
+ this.opened.emit();
94
93
  }
95
94
  }
96
95
  else {
@@ -100,12 +99,13 @@ export class UofgModal {
100
99
  }
101
100
  // 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.
102
101
  this.inertElements = [];
102
+ this.closed.emit();
103
103
  }
104
104
  // Prevent scrolling of the body when the modal is open.
105
105
  document.body.style.overflow = newValue ? 'hidden' : '';
106
106
  }
107
107
  render() {
108
- return (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) }, h("div", { id: "uofg-modal-content", part: "content", class: { centered: this.centered } }, h("button", { id: "uofg-modal-dismiss", part: "dismiss-button", "aria-label": "Close modal", ref: (el) => (this.dismissButton = el), onClick: () => (this.isOpen = false) }, h(FontAwesomeIcon, { icon: faTimes })), h("slot", null))));
108
+ return (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, onFocusout: this.handleFocusOut, ref: (el) => (this.container = el) }, h("div", { id: "uofg-modal-content", part: "content", class: { centered: this.centered } }, h("button", { id: "uofg-modal-dismiss", part: "dismiss-button", "aria-label": "Close modal", ref: (el) => (this.dismissButton = el), onClick: () => (this.isOpen = false) }, h(FontAwesomeIcon, { icon: faTimes })), h("slot", null))));
109
109
  }
110
110
  /**
111
111
  * Get the current state of the modal.
@@ -253,6 +253,39 @@ export class UofgModal {
253
253
  "isOpen": {}
254
254
  };
255
255
  }
256
+ static get events() {
257
+ return [{
258
+ "method": "opened",
259
+ "name": "opened",
260
+ "bubbles": false,
261
+ "cancelable": false,
262
+ "composed": true,
263
+ "docs": {
264
+ "tags": [],
265
+ "text": "Dispatched whenever the modal is opened whether by user interaction or or programmatically (e.g. open())."
266
+ },
267
+ "complexType": {
268
+ "original": "void",
269
+ "resolved": "void",
270
+ "references": {}
271
+ }
272
+ }, {
273
+ "method": "closed",
274
+ "name": "closed",
275
+ "bubbles": false,
276
+ "cancelable": false,
277
+ "composed": true,
278
+ "docs": {
279
+ "tags": [],
280
+ "text": "Dispatched whenever the modal is closed whether by user interaction or programmatically (e.g. close())."
281
+ },
282
+ "complexType": {
283
+ "original": "void",
284
+ "resolved": "void",
285
+ "references": {}
286
+ }
287
+ }];
288
+ }
256
289
  static get methods() {
257
290
  return {
258
291
  "getState": {
@@ -1,7 +1,7 @@
1
- import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
1
+ import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
2
  import { F as FontAwesomeIcon } from './font-awesome-icon.js';
3
3
  import { b as faTimes } from './index2.js';
4
- import { g as getAllFocusableElements, I as IS_INERT_SUPPORTED } from './utils.js';
4
+ import { g as getAllFocusableElements } from './utils.js';
5
5
 
6
6
  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%)}";
7
7
 
@@ -10,6 +10,8 @@ const UofgModal$1 = /*@__PURE__*/ proxyCustomElement(class UofgModal extends HTM
10
10
  super();
11
11
  this.__registerHost();
12
12
  this.__attachShadow();
13
+ this.opened = createEvent(this, "opened", 2);
14
+ this.closed = createEvent(this, "closed", 2);
13
15
  this.inertElements = [];
14
16
  this.label = undefined;
15
17
  this.alertDialog = false;
@@ -22,7 +24,7 @@ const UofgModal$1 = /*@__PURE__*/ proxyCustomElement(class UofgModal extends HTM
22
24
  // Bind event handlers so that 'this' is always the component instance.
23
25
  this.handleClick = this.handleClick.bind(this);
24
26
  this.handleKeyUp = this.handleKeyUp.bind(this);
25
- this.handleKeyDown = this.handleKeyDown.bind(this);
27
+ this.handleFocusOut = this.handleFocusOut.bind(this);
26
28
  if (this.autoOpen) {
27
29
  this.isOpen = true;
28
30
  }
@@ -43,24 +45,22 @@ const UofgModal$1 = /*@__PURE__*/ proxyCustomElement(class UofgModal extends HTM
43
45
  this.isOpen = false;
44
46
  }
45
47
  }
46
- handleKeyDown(e) {
47
- // If the modal is open and the user presses the tab key, we need to ensure that focus is trapped within the modal.
48
- if (e.key === 'Tab' && this.isOpen) {
49
- const focusableElements = getAllFocusableElements(this.el);
50
- // If there are no focusable elements in the modal, focus the dismiss button.
51
- if (focusableElements.length === 0) {
52
- e.preventDefault();
53
- this.dismissButton.focus();
54
- }
55
- const firstFocusable = this.dismissButton; // The dismiss button is always the first focusable element in the modal.
56
- const lastFocusable = focusableElements[focusableElements.length - 1];
57
- if (e.target === firstFocusable && e.shiftKey) {
58
- e.preventDefault();
59
- lastFocusable === null || lastFocusable === void 0 ? void 0 : lastFocusable.focus();
48
+ handleFocusOut(e) {
49
+ var _a;
50
+ if (!this.isOpen)
51
+ return; // Don't do anything if the modal is closed.
52
+ const relatedTarget = e.relatedTarget;
53
+ // If the focus is moving outside of the modal
54
+ if (!this.container.contains(relatedTarget) && !this.el.contains(relatedTarget)) {
55
+ e.preventDefault();
56
+ // If the focus is moving away from the dismiss button, focus the last focusable element in the modal.
57
+ if (e.target === this.dismissButton) {
58
+ const focusableElements = getAllFocusableElements(this.el);
59
+ (_a = focusableElements[focusableElements.length - 1]) === null || _a === void 0 ? void 0 : _a.focus();
60
60
  }
61
- else if (e.target === lastFocusable && !e.shiftKey) {
62
- e.preventDefault();
63
- firstFocusable === null || firstFocusable === void 0 ? void 0 : firstFocusable.focus();
61
+ else {
62
+ // Otherwise, focus the dismiss button.
63
+ this.dismissButton.focus();
64
64
  }
65
65
  }
66
66
  }
@@ -97,6 +97,7 @@ const UofgModal$1 = /*@__PURE__*/ proxyCustomElement(class UofgModal extends HTM
97
97
  }
98
98
  }
99
99
  current = parent;
100
+ this.opened.emit();
100
101
  }
101
102
  }
102
103
  else {
@@ -106,12 +107,13 @@ const UofgModal$1 = /*@__PURE__*/ proxyCustomElement(class UofgModal extends HTM
106
107
  }
107
108
  // 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.
108
109
  this.inertElements = [];
110
+ this.closed.emit();
109
111
  }
110
112
  // Prevent scrolling of the body when the modal is open.
111
113
  document.body.style.overflow = newValue ? 'hidden' : '';
112
114
  }
113
115
  render() {
114
- return (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) }, h("div", { id: "uofg-modal-content", part: "content", class: { centered: this.centered } }, h("button", { id: "uofg-modal-dismiss", part: "dismiss-button", "aria-label": "Close modal", ref: (el) => (this.dismissButton = el), onClick: () => (this.isOpen = false) }, h(FontAwesomeIcon, { icon: faTimes })), h("slot", null))));
116
+ return (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, onFocusout: this.handleFocusOut, ref: (el) => (this.container = el) }, h("div", { id: "uofg-modal-content", part: "content", class: { centered: this.centered } }, h("button", { id: "uofg-modal-dismiss", part: "dismiss-button", "aria-label": "Close modal", ref: (el) => (this.dismissButton = el), onClick: () => (this.isOpen = false) }, h(FontAwesomeIcon, { icon: faTimes })), h("slot", null))));
115
117
  }
116
118
  /**
117
119
  * Get the current state of the modal.
@@ -4,12 +4,9 @@ const WEB_ANIMATIONS_SUPPORTED = () => {
4
4
  const PREFERS_REDUCED_MOTION = () => {
5
5
  return typeof window !== 'undefined' && window.matchMedia('(prefers-reduced-motion: reduce)').matches;
6
6
  };
7
- const IS_INERT_SUPPORTED = () => {
8
- return typeof window !== 'undefined' && 'inert' in HTMLElement.prototype;
9
- };
10
7
  const getAllFocusableElements = (container) => {
11
8
  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"])';
12
9
  return Array.from(container.querySelectorAll(query));
13
10
  };
14
11
 
15
- export { IS_INERT_SUPPORTED as I, PREFERS_REDUCED_MOTION as P, WEB_ANIMATIONS_SUPPORTED as W, getAllFocusableElements as g };
12
+ export { PREFERS_REDUCED_MOTION as P, WEB_ANIMATIONS_SUPPORTED as W, getAllFocusableElements as g };
@@ -893,9 +893,6 @@ const WEB_ANIMATIONS_SUPPORTED = () => {
893
893
  const PREFERS_REDUCED_MOTION = () => {
894
894
  return typeof window !== 'undefined' && window.matchMedia('(prefers-reduced-motion: reduce)').matches;
895
895
  };
896
- const IS_INERT_SUPPORTED = () => {
897
- return typeof window !== 'undefined' && 'inert' in HTMLElement.prototype;
898
- };
899
896
  const getAllFocusableElements = (container) => {
900
897
  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"])';
901
898
  return Array.from(container.querySelectorAll(query));
@@ -1140,6 +1137,8 @@ const uofgModalCss = ":host{visibility:visible !important;position:relative !imp
1140
1137
  const UofgModal = class {
1141
1138
  constructor(hostRef) {
1142
1139
  registerInstance(this, hostRef);
1140
+ this.opened = createEvent(this, "opened", 2);
1141
+ this.closed = createEvent(this, "closed", 2);
1143
1142
  this.inertElements = [];
1144
1143
  this.label = undefined;
1145
1144
  this.alertDialog = false;
@@ -1152,7 +1151,7 @@ const UofgModal = class {
1152
1151
  // Bind event handlers so that 'this' is always the component instance.
1153
1152
  this.handleClick = this.handleClick.bind(this);
1154
1153
  this.handleKeyUp = this.handleKeyUp.bind(this);
1155
- this.handleKeyDown = this.handleKeyDown.bind(this);
1154
+ this.handleFocusOut = this.handleFocusOut.bind(this);
1156
1155
  if (this.autoOpen) {
1157
1156
  this.isOpen = true;
1158
1157
  }
@@ -1173,24 +1172,22 @@ const UofgModal = class {
1173
1172
  this.isOpen = false;
1174
1173
  }
1175
1174
  }
1176
- handleKeyDown(e) {
1177
- // If the modal is open and the user presses the tab key, we need to ensure that focus is trapped within the modal.
1178
- if (e.key === 'Tab' && this.isOpen) {
1179
- const focusableElements = getAllFocusableElements(this.el);
1180
- // If there are no focusable elements in the modal, focus the dismiss button.
1181
- if (focusableElements.length === 0) {
1182
- e.preventDefault();
1183
- this.dismissButton.focus();
1184
- }
1185
- const firstFocusable = this.dismissButton; // The dismiss button is always the first focusable element in the modal.
1186
- const lastFocusable = focusableElements[focusableElements.length - 1];
1187
- if (e.target === firstFocusable && e.shiftKey) {
1188
- e.preventDefault();
1189
- lastFocusable === null || lastFocusable === void 0 ? void 0 : lastFocusable.focus();
1175
+ handleFocusOut(e) {
1176
+ var _a;
1177
+ if (!this.isOpen)
1178
+ return; // Don't do anything if the modal is closed.
1179
+ const relatedTarget = e.relatedTarget;
1180
+ // If the focus is moving outside of the modal
1181
+ if (!this.container.contains(relatedTarget) && !this.el.contains(relatedTarget)) {
1182
+ e.preventDefault();
1183
+ // If the focus is moving away from the dismiss button, focus the last focusable element in the modal.
1184
+ if (e.target === this.dismissButton) {
1185
+ const focusableElements = getAllFocusableElements(this.el);
1186
+ (_a = focusableElements[focusableElements.length - 1]) === null || _a === void 0 ? void 0 : _a.focus();
1190
1187
  }
1191
- else if (e.target === lastFocusable && !e.shiftKey) {
1192
- e.preventDefault();
1193
- firstFocusable === null || firstFocusable === void 0 ? void 0 : firstFocusable.focus();
1188
+ else {
1189
+ // Otherwise, focus the dismiss button.
1190
+ this.dismissButton.focus();
1194
1191
  }
1195
1192
  }
1196
1193
  }
@@ -1227,6 +1224,7 @@ const UofgModal = class {
1227
1224
  }
1228
1225
  }
1229
1226
  current = parent;
1227
+ this.opened.emit();
1230
1228
  }
1231
1229
  }
1232
1230
  else {
@@ -1236,12 +1234,13 @@ const UofgModal = class {
1236
1234
  }
1237
1235
  // 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.
1238
1236
  this.inertElements = [];
1237
+ this.closed.emit();
1239
1238
  }
1240
1239
  // Prevent scrolling of the body when the modal is open.
1241
1240
  document.body.style.overflow = newValue ? 'hidden' : '';
1242
1241
  }
1243
1242
  render() {
1244
- return (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) }, h("div", { id: "uofg-modal-content", part: "content", class: { centered: this.centered } }, h("button", { id: "uofg-modal-dismiss", part: "dismiss-button", "aria-label": "Close modal", ref: (el) => (this.dismissButton = el), onClick: () => (this.isOpen = false) }, h(FontAwesomeIcon, { icon: faTimes })), h("slot", null))));
1243
+ return (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, onFocusout: this.handleFocusOut, ref: (el) => (this.container = el) }, h("div", { id: "uofg-modal-content", part: "content", class: { centered: this.centered } }, h("button", { id: "uofg-modal-dismiss", part: "dismiss-button", "aria-label": "Close modal", ref: (el) => (this.dismissButton = el), onClick: () => (this.isOpen = false) }, h(FontAwesomeIcon, { icon: faTimes })), h("slot", null))));
1245
1244
  }
1246
1245
  /**
1247
1246
  * Get the current state of the modal.
@@ -1,3 +1,4 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
1
2
  export declare class UofgModal {
2
3
  /**
3
4
  * The label for the modal. It is recommended that you set this to describe the modal's content.
@@ -24,6 +25,14 @@ export declare class UofgModal {
24
25
  * It is important to ensure this is only set to true for ONE modal on the page.
25
26
  */
26
27
  autoOpen: boolean;
28
+ /**
29
+ * Dispatched whenever the modal is opened whether by user interaction or or programmatically (e.g. open()).
30
+ */
31
+ opened: EventEmitter<void>;
32
+ /**
33
+ * Dispatched whenever the modal is closed whether by user interaction or programmatically (e.g. close()).
34
+ */
35
+ closed: EventEmitter<void>;
27
36
  isOpen: boolean;
28
37
  el: HTMLUofgModalElement;
29
38
  private container;
@@ -33,7 +42,7 @@ export declare class UofgModal {
33
42
  disconnectedCallback(): void;
34
43
  handleClick(e: MouseEvent): void;
35
44
  handleKeyUp(e: KeyboardEvent): void;
36
- handleKeyDown(e: KeyboardEvent): void;
45
+ handleFocusOut(e: FocusEvent): void;
37
46
  handleIsOpenChange(newValue: boolean): void;
38
47
  render(): any;
39
48
  /**
@@ -109,6 +109,10 @@ export interface UofgMenuCustomEvent<T> extends CustomEvent<T> {
109
109
  detail: T;
110
110
  target: HTMLUofgMenuElement;
111
111
  }
112
+ export interface UofgModalCustomEvent<T> extends CustomEvent<T> {
113
+ detail: T;
114
+ target: HTMLUofgModalElement;
115
+ }
112
116
  declare global {
113
117
  interface HTMLUofgAlertElement extends Components.UofgAlert, HTMLStencilElement {
114
118
  }
@@ -215,6 +219,14 @@ declare namespace LocalJSX {
215
219
  * The label for the modal. It is recommended that you set this to describe the modal's content. This is required for accessibility.
216
220
  */
217
221
  "label"?: string;
222
+ /**
223
+ * Dispatched whenever the modal is closed whether by user interaction or programmatically (e.g. close()).
224
+ */
225
+ "onClosed"?: (event: UofgModalCustomEvent<void>) => void;
226
+ /**
227
+ * Dispatched whenever the modal is opened whether by user interaction or or programmatically (e.g. open()).
228
+ */
229
+ "onOpened"?: (event: UofgModalCustomEvent<void>) => void;
218
230
  /**
219
231
  * Used to determine whether clicking on the backdrop of the modal will close the modal. If this is set to true, clicking on the backdrop will NOT close the modal.
220
232
  */
@@ -1 +1 @@
1
- import{h as e,r as o,g as t,c as n,H as i}from"./p-bc82feb9.js";const a=o=>{const t=o.icon.icon[4];return e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${o.icon.icon[0]} ${o.icon.icon[1]}`},Array.isArray(t)?t.map((o=>e("path",{d:o}))):e("path",{d:t}))};var r={prefix:"fas",iconName:"circle-exclamation",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"]},s={prefix:"fas",iconName:"chevron-up",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"]},c={prefix:"fas",iconName:"xmark",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"]};const l=class{constructor(e){o(this,e)}render(){return e("div",{id:"uofg-alert"},e("div",{id:"uofg-alert-title"},e(a,{icon:r}),e("slot",{name:"title"})),e("div",{id:"uofg-alert-body"},e("slot",{name:"subtitle"}),e("slot",{name:"message"})),e("div",{id:"uofg-alert-footer"},e("slot",{name:"footer"})))}};l.style=":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}";const u=class{constructor(e){o(this,e),this.threshold=50,this.isVisible=!1}connectedCallback(){this.onScroll()}onScroll(){this.isVisible=window.scrollY>=this.threshold}render(){return e("button",{id:"uofg-back-to-top","aria-label":"Go back to the top",class:{visible:this.isVisible},onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})}},e(a,{icon:s}))}};function d(e,o,t){return e(t={path:o,exports:{},require:function(){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}()}},t.exports),t.exports}u.style=":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}";var f=d((function(e,o){Object.defineProperty(o,"__esModule",{value:!0});var t="briefcase",n=[128188],i="f0b1",a="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";o.definition={prefix:"fas",iconName:t,icon:[512,512,n,i,a]},o.faBriefcase=o.definition,o.prefix="fas",o.iconName=t,o.width=512,o.height=512,o.ligatures=n,o.unicode=i,o.svgPathData=a,o.aliases=n})),h=d((function(e,o){Object.defineProperty(o,"__esModule",{value:!0});var t="calendar",n=[128197,128198],i="f133",a="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";o.definition={prefix:"fas",iconName:t,icon:[448,512,n,i,a]},o.faCalendar=o.definition,o.prefix="fas",o.iconName=t,o.width=448,o.height=512,o.ligatures=n,o.unicode=i,o.svgPathData=a,o.aliases=n})),g=d((function(e,o){Object.defineProperty(o,"__esModule",{value:!0});var t="circle-check",n=[61533,"check-circle"],i="f058",a="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";o.definition={prefix:"fas",iconName:t,icon:[512,512,n,i,a]},o.faCircleCheck=o.definition,o.prefix="fas",o.iconName=t,o.width=512,o.height=512,o.ligatures=n,o.unicode=i,o.svgPathData=a,o.aliases=n})),m=d((function(e,o){Object.defineProperty(o,"__esModule",{value:!0});var t="hand-holding-heart",n=[],i="f4be",a="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";o.definition={prefix:"fas",iconName:t,icon:[576,512,n,i,a]},o.faHandHoldingHeart=o.definition,o.prefix="fas",o.iconName=t,o.width=576,o.height=512,o.ligatures=n,o.unicode=i,o.svgPathData=a,o.aliases=n})),p=d((function(e,o){Object.defineProperty(o,"__esModule",{value:!0});var t=[128273],n="f084",i="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";o.definition={prefix:"fas",iconName:"key",icon:[512,512,t,n,i]},o.faKey=o.definition,o.prefix="fas",o.iconName="key",o.width=512,o.height=512,o.ligatures=t,o.unicode=n,o.svgPathData=i,o.aliases=t})),b=d((function(e,o){Object.defineProperty(o,"__esModule",{value:!0});var t="list",n=["list-squares"],i="f03a",a="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";o.definition={prefix:"fas",iconName:t,icon:[512,512,n,i,a]},o.faList=o.definition,o.prefix="fas",o.iconName=t,o.width=512,o.height=512,o.ligatures=n,o.unicode=i,o.svgPathData=a,o.aliases=n})),v=d((function(e,o){Object.defineProperty(o,"__esModule",{value:!0});var t="sitemap",n=[],i="f0e8",a="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";o.definition={prefix:"fas",iconName:t,icon:[576,512,n,i,a]},o.faSitemap=o.definition,o.prefix="fas",o.iconName=t,o.width=576,o.height=512,o.ligatures=n,o.unicode=i,o.svgPathData=a,o.aliases=n})),w=d((function(e,o){Object.defineProperty(o,"__esModule",{value:!0});var t="tree",n=[127794],i="f1bb",a="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";o.definition={prefix:"fas",iconName:t,icon:[448,512,n,i,a]},o.faTree=o.definition,o.prefix="fas",o.iconName=t,o.width=448,o.height=512,o.ligatures=n,o.unicode=i,o.svgPathData=a,o.aliases=n})),x=d((function(e,o){Object.defineProperty(o,"__esModule",{value:!0});var t="universal-access",n=[],i="f29a",a="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";o.definition={prefix:"fas",iconName:t,icon:[512,512,n,i,a]},o.faUniversalAccess=o.definition,o.prefix="fas",o.iconName=t,o.width=512,o.height=512,o.ligatures=n,o.unicode=i,o.svgPathData=a,o.aliases=n})),y=d((function(e,o){Object.defineProperty(o,"__esModule",{value:!0});var t="phone-flip",n=[128381,"phone-alt"],i="f879",a="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";o.definition={prefix:"fas",iconName:t,icon:[512,512,n,i,a]},o.faPhoneFlip=o.definition,o.prefix="fas",o.iconName=t,o.width=512,o.height=512,o.ligatures=n,o.unicode=i,o.svgPathData=a,o.aliases=n})),k=d((function(e,o){Object.defineProperty(o,"__esModule",{value:!0});var t="square-facebook",n=["facebook-square"],i="f082",a="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";o.definition={prefix:"fab",iconName:t,icon:[448,512,n,i,a]},o.faSquareFacebook=o.definition,o.prefix="fab",o.iconName=t,o.width=448,o.height=512,o.ligatures=n,o.unicode=i,o.svgPathData=a,o.aliases=n})),M=d((function(e,o){Object.defineProperty(o,"__esModule",{value:!0}),o.definition={prefix:k.prefix,iconName:k.iconName,icon:[k.width,k.height,k.aliases,k.unicode,k.svgPathData]},o.faFacebookSquare=o.definition,o.prefix=k.prefix,o.iconName=k.iconName,o.width=k.width,o.height=k.height,o.ligatures=k.aliases,o.unicode=k.unicode,o.svgPathData=k.svgPathData,o.aliases=k.aliases})),z=d((function(e,o){Object.defineProperty(o,"__esModule",{value:!0});var t="instagram",n=[],i="f16d",a="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";o.definition={prefix:"fab",iconName:t,icon:[448,512,n,i,a]},o.faInstagram=o.definition,o.prefix="fab",o.iconName=t,o.width=448,o.height=512,o.ligatures=n,o.unicode=i,o.svgPathData=a,o.aliases=n})),H=d((function(e,o){Object.defineProperty(o,"__esModule",{value:!0});var t="linkedin",n=[],i="f08c",a="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";o.definition={prefix:"fab",iconName:t,icon:[448,512,n,i,a]},o.faLinkedin=o.definition,o.prefix="fab",o.iconName=t,o.width=448,o.height=512,o.ligatures=n,o.unicode=i,o.svgPathData=a,o.aliases=n})),V=d((function(e,o){Object.defineProperty(o,"__esModule",{value:!0});var t="tiktok",n=[],i="e07b",a="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";o.definition={prefix:"fab",iconName:t,icon:[448,512,n,i,a]},o.faTiktok=o.definition,o.prefix="fab",o.iconName=t,o.width=448,o.height=512,o.ligatures=n,o.unicode=i,o.svgPathData=a,o.aliases=n})),C=d((function(e,o){Object.defineProperty(o,"__esModule",{value:!0});var t="square-twitter",n=["twitter-square"],i="f081",a="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";o.definition={prefix:"fab",iconName:t,icon:[448,512,n,i,a]},o.faSquareTwitter=o.definition,o.prefix="fab",o.iconName=t,o.width=448,o.height=512,o.ligatures=n,o.unicode=i,o.svgPathData=a,o.aliases=n})),_=d((function(e,o){Object.defineProperty(o,"__esModule",{value:!0}),o.definition={prefix:C.prefix,iconName:C.iconName,icon:[C.width,C.height,C.aliases,C.unicode,C.svgPathData]},o.faTwitterSquare=o.definition,o.prefix=C.prefix,o.iconName=C.iconName,o.width=C.width,o.height=C.height,o.ligatures=C.aliases,o.unicode=C.unicode,o.svgPathData=C.svgPathData,o.aliases=C.aliases})),L=d((function(e,o){Object.defineProperty(o,"__esModule",{value:!0});var t="youtube",n=[61802],i="f167",a="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";o.definition={prefix:"fab",iconName:t,icon:[576,512,n,i,a]},o.faYoutube=o.definition,o.prefix="fab",o.iconName=t,o.width=576,o.height=512,o.ligatures=n,o.unicode=i,o.svgPathData=a,o.aliases=n}));const j=o=>e("li",null,e("a",{href:o.url,"aria-label":o.name},e(a,{icon:o.icon}))),O=o=>e("li",null,e("a",{href:o.url,title:o.title},e(a,{icon:o.icon}),e("span",null,o.text))),N=class{constructor(e){o(this,e)}render(){return e("footer",{id:"uofg-footer"},e("div",{id:"uofg-footer-content"},e("div",{id:"uofg-footer-social",class:"uofg-footer-content-separator"},e("a",{id:"uofg-footer-improve-life",href:"//www.uoguelph.ca/improve-life","aria-label":"Improve Life",innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" fill="#fff" viewBox="0 0 107.4 12">\n <path\n d="M0 0h5.3v.5C4 .5 3.6.8 3.6 2.1v7.3c0 1.4.3 1.8 1.6 1.8v.5H0v-.5c1.5 0 1.5-.5 1.5-1.6V1.9C1.5.9 1.3.5 0 .5ZM6.1 11.4c.9 0 1.1-.2 1.2-1.4l.3-5.1c.1-1.2-.1-1.4-.9-1.4v-.4h2.6l3 6.5 2.8-6.5h2.6v.4c-.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twitter.com/uofg",icon:_.faTwitterSquare}),e(j,{name:"Facebook",url:"https://www.facebook.com/uofguelph",icon:M.faFacebookSquare}),e(j,{name:"Instagram",url:"https://www.instagram.com/uofguelph/",icon:z.faInstagram}),e(j,{name:"Youtube",url:"https://www.youtube.com/user/uofguelph",icon:L.faYoutube}),e(j,{name:"LinkedIn",url:"https://www.linkedin.com/school/university-of-guelph/",icon:H.faLinkedin}),e(j,{name:"TikTok",url:"https://www.tiktok.com/@uofguelph",icon:V.faTiktok})),e("a",{href:"https://www.uoguelph.ca/web/socialmedia/"},"Social Media Directory"),e("a",{href:"//www.uoguelph.ca/web/"},"© ",(new Date).getFullYear()," University of Guelph")),e("ul",{id:"uofg-footer-links",class:"uofg-footer-content-separator"},e(O,{text:"Accessibility",url:"https://www.uoguelph.ca/diversity-human-rights/accessibility-u-g",icon:x.faUniversalAccess}),e(O,{text:"Privacy",url:"https://www.uoguelph.ca/web/privacy/",icon:p.faKey}),e(O,{text:"Site Map",url:"https://www.uoguelph.ca/site-map/",icon:v.faSitemap}),e(O,{text:"Status Page",url:"https://uoguelph.statuspage.io/",icon:g.faCircleCheck}),e(O,{text:"Land Acknowledgement",url:"https://www.uoguelph.ca/land-acknowledgement/",icon:w.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étis peoples and acknowledging them reminds us of our collective responsibility to the land where we learn and work."}),e(O,{text:"Careers",url:"https://www.uoguelph.ca/hr/careers-guelph/current-opportunities",icon:f.faBriefcase}),e(O,{text:"Undergraduate Calendar",url:"https://www.uoguelph.ca/registrar/calendars/undergraduate/current/",icon:h.faCalendar}),e(O,{text:"Graduate Calendar",url:"https://www.uoguelph.ca/registrar/calendars/graduate/current/",icon:h.faCalendar}),e(O,{text:"Program Plans",url:"https://admission.uoguelph.ca/programs",icon:b.faList}),e(O,{text:"Give to U of G",url:"https://www.alumni.uoguelph.ca/give-to-guelph/how-to-give",icon:m.faHandHoldingHeart})),e("address",{id:"uofg-footer-address",class:"uofg-footer-content-separator"},e("strong",null,"University of Guelph"),e("span",null,"50 Stone Road East,"),e("span",null,"Guelph, Ontario, Canada"),e("span",null,"N1G 2W1"),e("a",{href:"tel:1-519-824-4120"},e(a,{icon:y.faPhoneFlip}),e("span",null,"519-824-4120")))))}};N.style=":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}}";var S=d((function(e,o){Object.defineProperty(o,"__esModule",{value:!0});var t="bars",n=["navicon"],i="f0c9",a="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";o.definition={prefix:"fas",iconName:t,icon:[448,512,n,i,a]},o.faBars=o.definition,o.prefix="fas",o.iconName=t,o.width=448,o.height=512,o.ligatures=n,o.unicode=i,o.svgPathData=a,o.aliases=n})),A=d((function(e,o){Object.defineProperty(o,"__esModule",{value:!0});var t="right-to-bracket",n=["sign-in-alt"],i="f2f6",a="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";o.definition={prefix:"fas",iconName:t,icon:[512,512,n,i,a]},o.faRightToBracket=o.definition,o.prefix="fas",o.iconName=t,o.width=512,o.height=512,o.ligatures=n,o.unicode=i,o.svgPathData=a,o.aliases=n})),T=d((function(e,o){Object.defineProperty(o,"__esModule",{value:!0});var t="magnifying-glass",n=[128269,"search"],i="f002",a="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";o.definition={prefix:"fas",iconName:t,icon:[512,512,n,i,a]},o.faMagnifyingGlass=o.definition,o.prefix="fas",o.iconName=t,o.width=512,o.height=512,o.ligatures=n,o.unicode=i,o.svgPathData=a,o.aliases=n})),U=d((function(e,o){Object.defineProperty(o,"__esModule",{value:!0}),o.definition={prefix:T.prefix,iconName:T.iconName,icon:[T.width,T.height,T.aliases,T.unicode,T.svgPathData]},o.faSearch=o.definition,o.prefix=T.prefix,o.iconName=T.iconName,o.width=T.width,o.height=T.height,o.ligatures=T.aliases,o.unicode=T.unicode,o.svgPathData=T.svgPathData,o.aliases=T.aliases})),E=d((function(e,o){Object.defineProperty(o,"__esModule",{value:!0});var t="caret-down",n=[],i="f0d7",a="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";o.definition={prefix:"fas",iconName:t,icon:[320,512,n,i,a]},o.faCaretDown=o.definition,o.prefix="fas",o.iconName=t,o.width=320,o.height=512,o.ligatures=n,o.unicode=i,o.svgPathData=a,o.aliases=n}));const I=()=>e("ul",null,e("li",null,e("a",{href:"https://bbis.alumni.uoguelph.ca/BBIS_Cannon/give/uofg"},"GIVE")),e("li",null,e("a",{href:"https://uoguelph.ca/apply"},"APPLY")),e("li",null,e("a",{href:"https://news.uoguelph.ca/"},"NEWS"))),Z=o=>e("uofg-menu",{class:"uofg-header-hello-you-menu","auto-collapse":o.autoCollapse},e("button",{slot:"button","aria-label":"Hello, YOU! menu"},e("span",null,"Hello, YOU!"),e(a,{icon:E.faCaretDown})),e("ul",{slot:"content"},e("li",null,e("a",{href:"https://uoguelph.ca/future-students"},"Future Students")),e("li",null,e("a",{href:"https://uoguelph.ca/current-students"},"Current Students")),e("li",null,e("a",{href:"https://uoguelph.ca/alumni-and-donors"},"Alumni & Donors")),e("li",null,e("a",{href:"https://uoguelph.ca/staff-and-faculty"},"Staff & Faculty")),e("li",null,e("a",{href:"https://uoguelph.ca/parents-and-visitors"},"Parents & Visitors")),e("li",null,e("a",{href:"https://uoguelph.ca/employers-and-partners"},"Employers & Partners")))),G=()=>e("ul",{class:"uofg-header-global-links"},e("li",null,e("a",{href:"https://uoguelph.ca/about"},"About")),e("li",null,e("a",{href:"https://uoguelph.ca/academics"},"Academics")),e("li",null,e("a",{href:"https://uoguelph.ca/admissions"},"Admissions")),e("li",null,e("a",{href:"https://uoguelph.ca/research"},"Research")),e("li",null,e("a",{href:"https://uoguelph.ca/student-life"},"Student Life"))),B=()=>e("a",{href:"https://uoguelph.ca/intranet","aria-label":"University of Guelph Intranet"},e(a,{icon:A.faRightToBracket})),P=()=>e("a",{href:"https://uoguelph.ca/search","aria-label":"Search University of Guelph"},e(a,{icon:U.faSearch})),F=o=>{var t;return e("ul",{class:"uofg-header-page-specific"},null===(t=o.content)||void 0===t?void 0:t.map((t=>t?e("li",null,"text"in t?e("a",Object.assign({href:t.href},t.attributes),t.text):e("uofg-menu",{autoCollapse:o.autoCollapse},e("button",{slot:"button"},e("span",null,t.title),e(a,{icon:E.faCaretDown})),e("ul",{slot:"content",role:"menu"},t.links.map((o=>e("li",null,e("a",Object.assign({href:o.href},o.attributes),o.text))))))):null)).filter(Boolean))},q=class{constructor(e){o(this,e),this.pageTitle="",this.pageUrl="",this.isFullSize=!1,this.pageSpecificContent=void 0}connectedCallback(){var e;this.updateFullSize(),this.updatePageSpecificContent(),null!==(e=this.observer)&&void 0!==e||(this.observer=new MutationObserver((()=>{this.updatePageSpecificContent()}))),this.observer.observe(this.el,{childList:!0,subtree:!0})}updateFullSize(){this.isFullSize=window.innerWidth>=1024}updatePageSpecificContent(){var e;const o=e=>{const o={};return e.getAttributeNames().filter((e=>"href"!==e)).forEach((t=>o[t]=e.getAttribute(t))),{href:e.getAttribute("href"),text:e.textContent,attributes:o}};this.pageSpecificContent=Array.from(null===(e=this.el)||void 0===e?void 0:e.children).filter((e=>"A"===e.tagName||"UL"===e.tagName)).map((e=>{switch(e.tagName){case"A":return o(e);case"UL":return{title:e.getAttribute("data-title"),links:Array.from(e.querySelectorAll("a")).map(o)}}}))}render(){return e("header",{id:"uofg-header"},this.isFullSize&&e("div",{id:"uofg-header-top-content-container"},e(I,null),e(Z,{autoCollapse:!0})),e("div",{id:"uofg-header-main-content-container",class:{"full-height":this.isFullSize}},e("div",{id:"uofg-header-logo-container"},this.isFullSize&&e("div",{id:"uofg-header-decorative-img",innerHTML:'<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>'}),e("a",{id:"uofg-header-logo",href:"https://www.uoguelph.ca",innerHTML:this.isFullSize?'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 150 90"><path d="M0 0h150v90H0V0z"/><path fill="#fff" d="M116 25.5s-1.3-.4-1.3 2.6V39c0 1.7.4 2.6 1.7 2.6v.9h-5.6v-.9c0-.4 1.8 0 1.8-1.7V28.6c0-3-2.6-3-2.6-3s-.5-1 .8-1h5.2l.4.5-.4.4m-57.8 19l-6-15.5c-1.4-3.5-2.7-3.5-2.7-3.5s0-.8 1.3-.8h5.6l-.4.8c-.9 0-1.7.9-.9 3L58.6 39l3.5-8.6c.8-3 .4-3.9-1-4.3-1.2-.9-.3-1.3-.3-1.3h5.1v.8c-1.3 0-2.1 3.5-2.6 4.8L58.6 44l-.4.4m19 7c-.5.8-1 .8-2.2.8l-3 .4v-5.2h4.7s1.8 0 2.2 1.8c.4 1.7 1.7.4 1.3-.5l-.5-3H68.1c-1.7 0-.9.9-.9.9s2.2 0 2.2 3v10.8c0 1.7-1.3 1.7-1.7 2.2-.5.4 0 .4.4.4h12l.5-3.9s0-1.3-.9 0c-.8 1.3-.8 2.6-3.8 2.6s-4-.4-4-1.3v-6s.5-1 1.4-1H75s1.7.5 2.2 2.3l.4-.5V52l-.4-.5M91 24.7c1.7 0 3.4 1.7 3.4 3.9 0 2.5-3 4.3-4.7 4.3 0 0 2.1 1.3 4.7 5.6 2.6 3.9 5.2 4.7 7.8 5.2 1.3 0 3.4-.5 5.6-1.8 1.7-.8.4.5.4.5 0 .4-3 2.6-6.9 2.6-5.2 0-8.2-4-9.9-6.5l-3.5-4.8c-.8-.8-2.1-.4-2.1-.4v6.5s0 1.3 1.3 1.3c1.3.4.4.8.4.8H82v-.4c0-.4 1.7 0 1.7-1.7V28.6c.5-3-2.1-3.5-2.1-3.5l1.3-.4H91M89.2 26l-3.4.4v5.2l3 .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5.9-1.3 1.8-1.3 3-.9 3.5 1.7 3.5 3 3.5 1.7-.4 3.9-2.6 4.3-5.6.4-3.9-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>':'<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>',"aria-label":"University of Guelph Home Page"})),this.isFullSize?e("div",{id:"uofg-header-full-main-content",class:"uofg-header-main-content"},e(G,null),e(B,null),e(P,null)):e("div",{id:"uofg-header-reduced-main-content",class:"uofg-header-main-content"},e(B,null),e(P,null),e("uofg-menu",{id:"uofg-header-main-menu","auto-collapse":!0},e("button",{slot:"button","aria-label":"Main Menu"},e(a,{icon:S.faBars})),e("div",{slot:"content"},e("span",null,"University of Guelph"),e(G,null),e(Z,{autoCollapse:!1}))))),this.pageSpecificContent.length>0&&e("div",{id:"uofg-header-sub-content-container"},this.pageTitle&&(this.pageUrl?e("a",{id:"uofg-header-page-title",href:this.pageUrl},this.pageTitle):e("span",{id:"uofg-header-page-title"},this.pageTitle)),this.isFullSize?e("div",{id:"uofg-header-full-sub-content",class:"uofg-header-sub-content"},e(F,{content:this.pageSpecificContent,autoCollapse:!0})):e("div",{id:"uofg-header-reduced-sub-content",class:"uofg-header-sub-content"},e("uofg-menu",{id:"uofg-header-sub-menu","auto-collapse":!0},e("button",{slot:"button","aria-label":this.pageTitle+" Menu"},e(a,{icon:S.faBars})),e("div",{slot:"content"},e(F,{content:this.pageSpecificContent}))))))}get el(){return t(this)}};q.style=':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}';const D=/^(\d*\.?\d+)(s|ms)$/,K=/^cubic-bezier\((\s*-?\d*\.?\d+\s*,){3}\s*-?\d*\.?\d+\s*\)$|^steps\(\s*\d+\s*(,\s*(start|end))?\s*\)$/,Y=class{constructor(e){o(this,e),this.expanded=n(this,"expanded",2),this.collapsed=n(this,"collapsed",2),this.animationStarted=n(this,"animationStarted",2),this.animationEnded=n(this,"animationEnded",2),this.computedStyle=null,this.button=null,this.content=null,this.contentComputedStyle=null,this.observer=new MutationObserver(this.handleMutation),this.isExpanded=!1,this.autoCollapse=!1}connectedCallback(){this.handleMutation=this.handleMutation.bind(this),this.handleClick=this.handleClick.bind(this),this.handleFocusout=this.handleFocusout.bind(this),this.handleKeyUp=this.handleKeyUp.bind(this),this.computedStyle=window.getComputedStyle(this.el),this.handleMutation(),this.observer.observe(this.el,{childList:!0})}disconnectedCallback(){this.observer.disconnect()}handleMutation(){const e=this.el.querySelector('[slot="button"]');null==e||e.setAttribute("aria-expanded",this.isExpanded?"true":"false"),null==e||e.setAttribute("aria-haspopup","true"),this.button=e;const o=this.el.querySelector('[slot="content"]');null==o?(this.content=null,this.contentComputedStyle=null):(this.content=o,this.content.style.display=this.isExpanded?"":"none",this.contentComputedStyle=window.getComputedStyle(this.content))}handleKeyUp(e){"Escape"===e.key&&(this.isExpanded=!1,e.target!==this.button&&(e.stopPropagation(),this.isExpanded=!1,this.button&&this.button.focus()))}handleClick(e){this.button&&this.button.contains(e.target)&&(this.isExpanded=!this.isExpanded)}handleFocusout(e){this.autoCollapse&&!this.el.contains(e.relatedTarget)&&(this.isExpanded=!1)}handleIsExpandedChange(e){var o,t,n;if(null===(o=this.button)||void 0===o||o.setAttribute("aria-expanded",e?"true":"false"),e?this.expanded.emit():this.collapsed.emit(),null==this.content)return;const i=this.getAnimationType();if("undefined"==typeof window||!("animate"in HTMLElement.prototype)||"undefined"!=typeof window&&window.matchMedia("(prefers-reduced-motion: reduce)").matches||"none"===i)return void(this.content.style.display=e?"":"none");const a=null===(t=this.content)||void 0===t?void 0:t.getAnimations().filter((e=>"uofg-menu-animation"===e.id));if(a.length>0)return void(null==a||a.forEach((e=>e.reverse())));let r;const s={id:"uofg-menu-animation",duration:this.getAnimationDuration(),fill:"none",easing:this.getAnimationEasing(),direction:e?"normal":"reverse"};switch(this.content.style.display="",i){case"fade":default:r=this.fadeAnimation();break;case"slide":r=this.slideAnimation()}this.animationStarted.emit(e),null===(n=this.content)||void 0===n||n.animate(r.keyframes,s).finished.finally((()=>{var e;this.content&&(this.content.style.display=this.isExpanded?"":"none",null===(e=r.callback)||void 0===e||e.call(r),this.animationEnded.emit(this.isExpanded))}))}getAnimationType(){var e;const o=(null===(e=this.computedStyle)||void 0===e?void 0:e.getPropertyValue("--uofg-menu-animation-type"))||"";switch(o){case"slide":case"fade":return o;default:return"none"}}getAnimationDuration(){var e;const o=(null===(e=this.computedStyle)||void 0===e?void 0:e.getPropertyValue("--uofg-menu-animation-duration"))||"",t=D.exec(o);return null==t?200:Number.parseFloat(t[1])*("s"==t[2]?1e3:1)}getAnimationEasing(){var e;const o=(null===(e=this.computedStyle)||void 0===e?void 0:e.getPropertyValue("--uofg-menu-animation-easing"))||"";switch(o){case"linear":case"ease":case"ease-in":case"ease-out":case"ease-in-out":case"step-start":case"step-end":return o;default:return K.test(o)?o:"ease-in-out"}}fadeAnimation(){return{keyframes:[{opacity:0},{opacity:1}]}}slideAnimation(){var e,o,t,n,i;return this.content&&(this.content.style.overflowY="hidden"),{keyframes:[{height:0,paddingTop:0,paddingBottom:0,marginTop:0,marginBottom:0},{height:(null===(e=this.contentComputedStyle)||void 0===e?void 0:e.height)||0,paddingTop:(null===(o=this.contentComputedStyle)||void 0===o?void 0:o.paddingTop)||0,paddingBottom:(null===(t=this.contentComputedStyle)||void 0===t?void 0:t.paddingBottom)||0,marginTop:(null===(n=this.contentComputedStyle)||void 0===n?void 0:n.marginTop)||0,marginBottom:(null===(i=this.contentComputedStyle)||void 0===i?void 0:i.marginBottom)||0}],callback:()=>{this.content&&(this.content.style.overflowY="")}}}render(){return e(i,{"data-expanded":this.isExpanded,tabindex:-1,onFocusout:this.handleFocusout,onKeyUp:this.handleKeyUp,onClick:this.handleClick})}async getExpanded(){return this.isExpanded}async setExpanded(e){this.isExpanded=e}async toggle(){return this.isExpanded=!this.isExpanded,this.isExpanded}async collapse(){this.isExpanded=!1}async expand(){this.isExpanded=!0}get el(){return t(this)}static get watchers(){return{isExpanded:["handleIsExpandedChange"]}}},$=class{constructor(e){o(this,e),this.inertElements=[],this.label=void 0,this.alertDialog=!1,this.centered=!1,this.staticBackdrop=!1,this.autoOpen=!1,this.isOpen=!1}connectedCallback(){this.handleClick=this.handleClick.bind(this),this.handleKeyUp=this.handleKeyUp.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this),this.autoOpen&&(this.isOpen=!0)}disconnectedCallback(){for(const e of this.inertElements)e.removeAttribute("inert")}handleClick(e){this.staticBackdrop||e.target!==e.currentTarget||(this.isOpen=!1)}handleKeyUp(e){"Escape"===e.key&&(this.isOpen=!1)}handleKeyDown(e){if("Tab"===e.key&&this.isOpen){const o=Array.from(this.el.querySelectorAll('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"])'));0===o.length&&(e.preventDefault(),this.dismissButton.focus());const t=this.dismissButton,n=o[o.length-1];e.target===t&&e.shiftKey?(e.preventDefault(),null==n||n.focus()):e.target!==n||e.shiftKey||(e.preventDefault(),null==t||t.focus())}}handleIsOpenChange(e){if(!0===e){window.requestAnimationFrame((()=>{window.requestAnimationFrame((()=>{window.requestAnimationFrame((()=>{this.container.focus()}))}))}));let e=this.el;for(;null!==e&&e!==document.body;){const o=e.parentElement;if(null===o){const o=e.getRootNode();if(o instanceof ShadowRoot){e=o.host;continue}}if(null!==o)for(const t of o.children)t===e||t.inert||(t.inert=!0,this.inertElements.push(t));e=o}}else{for(const e of this.inertElements)e.removeAttribute("inert");this.inertElements=[]}document.body.style.overflow=e?"hidden":""}render(){return e("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:"undefined"!=typeof window&&"inert"in HTMLElement.prototype?void 0:this.handleKeyDown,ref:e=>this.container=e},e("div",{id:"uofg-modal-content",part:"content",class:{centered:this.centered}},e("button",{id:"uofg-modal-dismiss",part:"dismiss-button","aria-label":"Close modal",ref:e=>this.dismissButton=e,onClick:()=>this.isOpen=!1},e(a,{icon:c})),e("slot",null)))}async getState(){return this.isOpen}async setState(e){this.isOpen=e}async toggle(){return this.isOpen=!this.isOpen,this.isOpen}async close(){this.isOpen=!1}async open(){this.isOpen=!0}get el(){return t(this)}static get watchers(){return{isOpen:["handleIsOpenChange"]}}};$.style=":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%)}";export{l as uofg_alert,u as uofg_back_to_top,N as uofg_footer,q as uofg_header,Y as uofg_menu,$ as uofg_modal}
1
+ import{h as e,r as o,g as t,c as n,H as i}from"./p-bc82feb9.js";const a=o=>{const t=o.icon.icon[4];return e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${o.icon.icon[0]} ${o.icon.icon[1]}`},Array.isArray(t)?t.map((o=>e("path",{d:o}))):e("path",{d:t}))};var r={prefix:"fas",iconName:"circle-exclamation",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"]},s={prefix:"fas",iconName:"chevron-up",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"]},c={prefix:"fas",iconName:"xmark",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"]};const l=class{constructor(e){o(this,e)}render(){return e("div",{id:"uofg-alert"},e("div",{id:"uofg-alert-title"},e(a,{icon:r}),e("slot",{name:"title"})),e("div",{id:"uofg-alert-body"},e("slot",{name:"subtitle"}),e("slot",{name:"message"})),e("div",{id:"uofg-alert-footer"},e("slot",{name:"footer"})))}};l.style=":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}";const u=class{constructor(e){o(this,e),this.threshold=50,this.isVisible=!1}connectedCallback(){this.onScroll()}onScroll(){this.isVisible=window.scrollY>=this.threshold}render(){return e("button",{id:"uofg-back-to-top","aria-label":"Go back to the top",class:{visible:this.isVisible},onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})}},e(a,{icon:s}))}};function d(e,o,t){return e(t={path:o,exports:{},require:function(){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}()}},t.exports),t.exports}u.style=":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}";var f=d((function(e,o){Object.defineProperty(o,"__esModule",{value:!0});var t="briefcase",n=[128188],i="f0b1",a="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";o.definition={prefix:"fas",iconName:t,icon:[512,512,n,i,a]},o.faBriefcase=o.definition,o.prefix="fas",o.iconName=t,o.width=512,o.height=512,o.ligatures=n,o.unicode=i,o.svgPathData=a,o.aliases=n})),h=d((function(e,o){Object.defineProperty(o,"__esModule",{value:!0});var t="calendar",n=[128197,128198],i="f133",a="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";o.definition={prefix:"fas",iconName:t,icon:[448,512,n,i,a]},o.faCalendar=o.definition,o.prefix="fas",o.iconName=t,o.width=448,o.height=512,o.ligatures=n,o.unicode=i,o.svgPathData=a,o.aliases=n})),g=d((function(e,o){Object.defineProperty(o,"__esModule",{value:!0});var t="circle-check",n=[61533,"check-circle"],i="f058",a="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";o.definition={prefix:"fas",iconName:t,icon:[512,512,n,i,a]},o.faCircleCheck=o.definition,o.prefix="fas",o.iconName=t,o.width=512,o.height=512,o.ligatures=n,o.unicode=i,o.svgPathData=a,o.aliases=n})),m=d((function(e,o){Object.defineProperty(o,"__esModule",{value:!0});var t="hand-holding-heart",n=[],i="f4be",a="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";o.definition={prefix:"fas",iconName:t,icon:[576,512,n,i,a]},o.faHandHoldingHeart=o.definition,o.prefix="fas",o.iconName=t,o.width=576,o.height=512,o.ligatures=n,o.unicode=i,o.svgPathData=a,o.aliases=n})),p=d((function(e,o){Object.defineProperty(o,"__esModule",{value:!0});var t=[128273],n="f084",i="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";o.definition={prefix:"fas",iconName:"key",icon:[512,512,t,n,i]},o.faKey=o.definition,o.prefix="fas",o.iconName="key",o.width=512,o.height=512,o.ligatures=t,o.unicode=n,o.svgPathData=i,o.aliases=t})),b=d((function(e,o){Object.defineProperty(o,"__esModule",{value:!0});var t="list",n=["list-squares"],i="f03a",a="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";o.definition={prefix:"fas",iconName:t,icon:[512,512,n,i,a]},o.faList=o.definition,o.prefix="fas",o.iconName=t,o.width=512,o.height=512,o.ligatures=n,o.unicode=i,o.svgPathData=a,o.aliases=n})),v=d((function(e,o){Object.defineProperty(o,"__esModule",{value:!0});var t="sitemap",n=[],i="f0e8",a="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";o.definition={prefix:"fas",iconName:t,icon:[576,512,n,i,a]},o.faSitemap=o.definition,o.prefix="fas",o.iconName=t,o.width=576,o.height=512,o.ligatures=n,o.unicode=i,o.svgPathData=a,o.aliases=n})),w=d((function(e,o){Object.defineProperty(o,"__esModule",{value:!0});var t="tree",n=[127794],i="f1bb",a="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";o.definition={prefix:"fas",iconName:t,icon:[448,512,n,i,a]},o.faTree=o.definition,o.prefix="fas",o.iconName=t,o.width=448,o.height=512,o.ligatures=n,o.unicode=i,o.svgPathData=a,o.aliases=n})),x=d((function(e,o){Object.defineProperty(o,"__esModule",{value:!0});var t="universal-access",n=[],i="f29a",a="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";o.definition={prefix:"fas",iconName:t,icon:[512,512,n,i,a]},o.faUniversalAccess=o.definition,o.prefix="fas",o.iconName=t,o.width=512,o.height=512,o.ligatures=n,o.unicode=i,o.svgPathData=a,o.aliases=n})),y=d((function(e,o){Object.defineProperty(o,"__esModule",{value:!0});var t="phone-flip",n=[128381,"phone-alt"],i="f879",a="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";o.definition={prefix:"fas",iconName:t,icon:[512,512,n,i,a]},o.faPhoneFlip=o.definition,o.prefix="fas",o.iconName=t,o.width=512,o.height=512,o.ligatures=n,o.unicode=i,o.svgPathData=a,o.aliases=n})),k=d((function(e,o){Object.defineProperty(o,"__esModule",{value:!0});var t="square-facebook",n=["facebook-square"],i="f082",a="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";o.definition={prefix:"fab",iconName:t,icon:[448,512,n,i,a]},o.faSquareFacebook=o.definition,o.prefix="fab",o.iconName=t,o.width=448,o.height=512,o.ligatures=n,o.unicode=i,o.svgPathData=a,o.aliases=n})),M=d((function(e,o){Object.defineProperty(o,"__esModule",{value:!0}),o.definition={prefix:k.prefix,iconName:k.iconName,icon:[k.width,k.height,k.aliases,k.unicode,k.svgPathData]},o.faFacebookSquare=o.definition,o.prefix=k.prefix,o.iconName=k.iconName,o.width=k.width,o.height=k.height,o.ligatures=k.aliases,o.unicode=k.unicode,o.svgPathData=k.svgPathData,o.aliases=k.aliases})),z=d((function(e,o){Object.defineProperty(o,"__esModule",{value:!0});var t="instagram",n=[],i="f16d",a="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";o.definition={prefix:"fab",iconName:t,icon:[448,512,n,i,a]},o.faInstagram=o.definition,o.prefix="fab",o.iconName=t,o.width=448,o.height=512,o.ligatures=n,o.unicode=i,o.svgPathData=a,o.aliases=n})),H=d((function(e,o){Object.defineProperty(o,"__esModule",{value:!0});var t="linkedin",n=[],i="f08c",a="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";o.definition={prefix:"fab",iconName:t,icon:[448,512,n,i,a]},o.faLinkedin=o.definition,o.prefix="fab",o.iconName=t,o.width=448,o.height=512,o.ligatures=n,o.unicode=i,o.svgPathData=a,o.aliases=n})),V=d((function(e,o){Object.defineProperty(o,"__esModule",{value:!0});var t="tiktok",n=[],i="e07b",a="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";o.definition={prefix:"fab",iconName:t,icon:[448,512,n,i,a]},o.faTiktok=o.definition,o.prefix="fab",o.iconName=t,o.width=448,o.height=512,o.ligatures=n,o.unicode=i,o.svgPathData=a,o.aliases=n})),C=d((function(e,o){Object.defineProperty(o,"__esModule",{value:!0});var t="square-twitter",n=["twitter-square"],i="f081",a="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";o.definition={prefix:"fab",iconName:t,icon:[448,512,n,i,a]},o.faSquareTwitter=o.definition,o.prefix="fab",o.iconName=t,o.width=448,o.height=512,o.ligatures=n,o.unicode=i,o.svgPathData=a,o.aliases=n})),_=d((function(e,o){Object.defineProperty(o,"__esModule",{value:!0}),o.definition={prefix:C.prefix,iconName:C.iconName,icon:[C.width,C.height,C.aliases,C.unicode,C.svgPathData]},o.faTwitterSquare=o.definition,o.prefix=C.prefix,o.iconName=C.iconName,o.width=C.width,o.height=C.height,o.ligatures=C.aliases,o.unicode=C.unicode,o.svgPathData=C.svgPathData,o.aliases=C.aliases})),L=d((function(e,o){Object.defineProperty(o,"__esModule",{value:!0});var t="youtube",n=[61802],i="f167",a="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";o.definition={prefix:"fab",iconName:t,icon:[576,512,n,i,a]},o.faYoutube=o.definition,o.prefix="fab",o.iconName=t,o.width=576,o.height=512,o.ligatures=n,o.unicode=i,o.svgPathData=a,o.aliases=n}));const j=o=>e("li",null,e("a",{href:o.url,"aria-label":o.name},e(a,{icon:o.icon}))),O=o=>e("li",null,e("a",{href:o.url,title:o.title},e(a,{icon:o.icon}),e("span",null,o.text))),N=class{constructor(e){o(this,e)}render(){return e("footer",{id:"uofg-footer"},e("div",{id:"uofg-footer-content"},e("div",{id:"uofg-footer-social",class:"uofg-footer-content-separator"},e("a",{id:"uofg-footer-improve-life",href:"//www.uoguelph.ca/improve-life","aria-label":"Improve Life",innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" fill="#fff" viewBox="0 0 107.4 12">\n <path\n d="M0 0h5.3v.5C4 .5 3.6.8 3.6 2.1v7.3c0 1.4.3 1.8 1.6 1.8v.5H0v-.5c1.5 0 1.5-.5 1.5-1.6V1.9C1.5.9 1.3.5 0 .5ZM6.1 11.4c.9 0 1.1-.2 1.2-1.4l.3-5.1c.1-1.2-.1-1.4-.9-1.4v-.4h2.6l3 6.5 2.8-6.5h2.6v.4c-.8 0-.9.2-.9.8l.5 6.3c.1.7.3.8 1.1.8v.4h-4v-.4c1.1 0 1.3-.3 1.2-1.8l-.4-5.1-3.2 7.3h-.5L8.4 4.7l-.3 5.1c-.1 1.5.2 1.5 1.1 1.6v.4H6.1ZM19.2 11.4c1 0 1.2-.2 1.2-1.5v-5c0-1.4-.2-1.5-1.3-1.5v-.3h1.4a14.4 14.4 0 0 1 1.8-.1c2.6 0 4.1.6 4.1 2.5 0 1.6-1.4 2.8-3.3 2.8a3.8 3.8 0 0 1-1.1-.1v1.9c0 1.1.3 1.3 1.6 1.3v.4h-4.3v-.4Zm2.7-3.7.6.1a2.2 2.2 0 0 0 2.2-2.3 2 2 0 0 0-2.1-2.1h-.7ZM29.7 10c0 1.2.2 1.4 1.4 1.4v.4h-4.3v-.4c1.2 0 1.3-.3 1.3-1.2V4.6c0-.9-.2-1.1-1.3-1.1v-.4l2-.1h1.7c2.8 0 3.8 1.2 3.8 2.5a2.5 2.5 0 0 1-1.8 2.3 9.4 9.4 0 0 1 1 1l.9.9a5.4 5.4 0 0 0 3.3 1.9v.4c-2.7.1-3.4-.4-4.7-1.7l-.7-.7a8 8 0 0 0-1.5-1.3h-1.2V10Zm0-2.2h.4c1.9-.1 2.5-.8 2.5-2.2a2 2 0 0 0-2.3-2.2 1.7 1.7 0 0 0-.7.1v4.3ZM42.4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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"/>\n</svg>\n'}),e("ul",{id:"uofg-footer-social-links"},e(j,{name:"Twitter",url:"https://twitter.com/uofg",icon:_.faTwitterSquare}),e(j,{name:"Facebook",url:"https://www.facebook.com/uofguelph",icon:M.faFacebookSquare}),e(j,{name:"Instagram",url:"https://www.instagram.com/uofguelph/",icon:z.faInstagram}),e(j,{name:"Youtube",url:"https://www.youtube.com/user/uofguelph",icon:L.faYoutube}),e(j,{name:"LinkedIn",url:"https://www.linkedin.com/school/university-of-guelph/",icon:H.faLinkedin}),e(j,{name:"TikTok",url:"https://www.tiktok.com/@uofguelph",icon:V.faTiktok})),e("a",{href:"https://www.uoguelph.ca/web/socialmedia/"},"Social Media Directory"),e("a",{href:"//www.uoguelph.ca/web/"},"© ",(new Date).getFullYear()," University of Guelph")),e("ul",{id:"uofg-footer-links",class:"uofg-footer-content-separator"},e(O,{text:"Accessibility",url:"https://www.uoguelph.ca/diversity-human-rights/accessibility-u-g",icon:x.faUniversalAccess}),e(O,{text:"Privacy",url:"https://www.uoguelph.ca/web/privacy/",icon:p.faKey}),e(O,{text:"Site Map",url:"https://www.uoguelph.ca/site-map/",icon:v.faSitemap}),e(O,{text:"Status Page",url:"https://uoguelph.statuspage.io/",icon:g.faCircleCheck}),e(O,{text:"Land Acknowledgement",url:"https://www.uoguelph.ca/land-acknowledgement/",icon:w.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étis peoples and acknowledging them reminds us of our collective responsibility to the land where we learn and work."}),e(O,{text:"Careers",url:"https://www.uoguelph.ca/hr/careers-guelph/current-opportunities",icon:f.faBriefcase}),e(O,{text:"Undergraduate Calendar",url:"https://www.uoguelph.ca/registrar/calendars/undergraduate/current/",icon:h.faCalendar}),e(O,{text:"Graduate Calendar",url:"https://www.uoguelph.ca/registrar/calendars/graduate/current/",icon:h.faCalendar}),e(O,{text:"Program Plans",url:"https://admission.uoguelph.ca/programs",icon:b.faList}),e(O,{text:"Give to U of G",url:"https://www.alumni.uoguelph.ca/give-to-guelph/how-to-give",icon:m.faHandHoldingHeart})),e("address",{id:"uofg-footer-address",class:"uofg-footer-content-separator"},e("strong",null,"University of Guelph"),e("span",null,"50 Stone Road East,"),e("span",null,"Guelph, Ontario, Canada"),e("span",null,"N1G 2W1"),e("a",{href:"tel:1-519-824-4120"},e(a,{icon:y.faPhoneFlip}),e("span",null,"519-824-4120")))))}};N.style=":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}}";var S=d((function(e,o){Object.defineProperty(o,"__esModule",{value:!0});var t="bars",n=["navicon"],i="f0c9",a="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";o.definition={prefix:"fas",iconName:t,icon:[448,512,n,i,a]},o.faBars=o.definition,o.prefix="fas",o.iconName=t,o.width=448,o.height=512,o.ligatures=n,o.unicode=i,o.svgPathData=a,o.aliases=n})),A=d((function(e,o){Object.defineProperty(o,"__esModule",{value:!0});var t="right-to-bracket",n=["sign-in-alt"],i="f2f6",a="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";o.definition={prefix:"fas",iconName:t,icon:[512,512,n,i,a]},o.faRightToBracket=o.definition,o.prefix="fas",o.iconName=t,o.width=512,o.height=512,o.ligatures=n,o.unicode=i,o.svgPathData=a,o.aliases=n})),T=d((function(e,o){Object.defineProperty(o,"__esModule",{value:!0});var t="magnifying-glass",n=[128269,"search"],i="f002",a="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";o.definition={prefix:"fas",iconName:t,icon:[512,512,n,i,a]},o.faMagnifyingGlass=o.definition,o.prefix="fas",o.iconName=t,o.width=512,o.height=512,o.ligatures=n,o.unicode=i,o.svgPathData=a,o.aliases=n})),U=d((function(e,o){Object.defineProperty(o,"__esModule",{value:!0}),o.definition={prefix:T.prefix,iconName:T.iconName,icon:[T.width,T.height,T.aliases,T.unicode,T.svgPathData]},o.faSearch=o.definition,o.prefix=T.prefix,o.iconName=T.iconName,o.width=T.width,o.height=T.height,o.ligatures=T.aliases,o.unicode=T.unicode,o.svgPathData=T.svgPathData,o.aliases=T.aliases})),I=d((function(e,o){Object.defineProperty(o,"__esModule",{value:!0});var t="caret-down",n=[],i="f0d7",a="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";o.definition={prefix:"fas",iconName:t,icon:[320,512,n,i,a]},o.faCaretDown=o.definition,o.prefix="fas",o.iconName=t,o.width=320,o.height=512,o.ligatures=n,o.unicode=i,o.svgPathData=a,o.aliases=n}));const Z=()=>e("ul",null,e("li",null,e("a",{href:"https://bbis.alumni.uoguelph.ca/BBIS_Cannon/give/uofg"},"GIVE")),e("li",null,e("a",{href:"https://uoguelph.ca/apply"},"APPLY")),e("li",null,e("a",{href:"https://news.uoguelph.ca/"},"NEWS"))),E=o=>e("uofg-menu",{class:"uofg-header-hello-you-menu","auto-collapse":o.autoCollapse},e("button",{slot:"button","aria-label":"Hello, YOU! menu"},e("span",null,"Hello, YOU!"),e(a,{icon:I.faCaretDown})),e("ul",{slot:"content"},e("li",null,e("a",{href:"https://uoguelph.ca/future-students"},"Future Students")),e("li",null,e("a",{href:"https://uoguelph.ca/current-students"},"Current Students")),e("li",null,e("a",{href:"https://uoguelph.ca/alumni-and-donors"},"Alumni & Donors")),e("li",null,e("a",{href:"https://uoguelph.ca/staff-and-faculty"},"Staff & Faculty")),e("li",null,e("a",{href:"https://uoguelph.ca/parents-and-visitors"},"Parents & Visitors")),e("li",null,e("a",{href:"https://uoguelph.ca/employers-and-partners"},"Employers & Partners")))),G=()=>e("ul",{class:"uofg-header-global-links"},e("li",null,e("a",{href:"https://uoguelph.ca/about"},"About")),e("li",null,e("a",{href:"https://uoguelph.ca/academics"},"Academics")),e("li",null,e("a",{href:"https://uoguelph.ca/admissions"},"Admissions")),e("li",null,e("a",{href:"https://uoguelph.ca/research"},"Research")),e("li",null,e("a",{href:"https://uoguelph.ca/student-life"},"Student Life"))),B=()=>e("a",{href:"https://uoguelph.ca/intranet","aria-label":"University of Guelph Intranet"},e(a,{icon:A.faRightToBracket})),F=()=>e("a",{href:"https://uoguelph.ca/search","aria-label":"Search University of Guelph"},e(a,{icon:U.faSearch})),P=o=>{var t;return e("ul",{class:"uofg-header-page-specific"},null===(t=o.content)||void 0===t?void 0:t.map((t=>t?e("li",null,"text"in t?e("a",Object.assign({href:t.href},t.attributes),t.text):e("uofg-menu",{autoCollapse:o.autoCollapse},e("button",{slot:"button"},e("span",null,t.title),e(a,{icon:I.faCaretDown})),e("ul",{slot:"content",role:"menu"},t.links.map((o=>e("li",null,e("a",Object.assign({href:o.href},o.attributes),o.text))))))):null)).filter(Boolean))},q=class{constructor(e){o(this,e),this.pageTitle="",this.pageUrl="",this.isFullSize=!1,this.pageSpecificContent=void 0}connectedCallback(){var e;this.updateFullSize(),this.updatePageSpecificContent(),null!==(e=this.observer)&&void 0!==e||(this.observer=new MutationObserver((()=>{this.updatePageSpecificContent()}))),this.observer.observe(this.el,{childList:!0,subtree:!0})}updateFullSize(){this.isFullSize=window.innerWidth>=1024}updatePageSpecificContent(){var e;const o=e=>{const o={};return e.getAttributeNames().filter((e=>"href"!==e)).forEach((t=>o[t]=e.getAttribute(t))),{href:e.getAttribute("href"),text:e.textContent,attributes:o}};this.pageSpecificContent=Array.from(null===(e=this.el)||void 0===e?void 0:e.children).filter((e=>"A"===e.tagName||"UL"===e.tagName)).map((e=>{switch(e.tagName){case"A":return o(e);case"UL":return{title:e.getAttribute("data-title"),links:Array.from(e.querySelectorAll("a")).map(o)}}}))}render(){return e("header",{id:"uofg-header"},this.isFullSize&&e("div",{id:"uofg-header-top-content-container"},e(Z,null),e(E,{autoCollapse:!0})),e("div",{id:"uofg-header-main-content-container",class:{"full-height":this.isFullSize}},e("div",{id:"uofg-header-logo-container"},this.isFullSize&&e("div",{id:"uofg-header-decorative-img",innerHTML:'<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>'}),e("a",{id:"uofg-header-logo",href:"https://www.uoguelph.ca",innerHTML:this.isFullSize?'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 150 90"><path d="M0 0h150v90H0V0z"/><path fill="#fff" d="M116 25.5s-1.3-.4-1.3 2.6V39c0 1.7.4 2.6 1.7 2.6v.9h-5.6v-.9c0-.4 1.8 0 1.8-1.7V28.6c0-3-2.6-3-2.6-3s-.5-1 .8-1h5.2l.4.5-.4.4m-57.8 19l-6-15.5c-1.4-3.5-2.7-3.5-2.7-3.5s0-.8 1.3-.8h5.6l-.4.8c-.9 0-1.7.9-.9 3L58.6 39l3.5-8.6c.8-3 .4-3.9-1-4.3-1.2-.9-.3-1.3-.3-1.3h5.1v.8c-1.3 0-2.1 3.5-2.6 4.8L58.6 44l-.4.4m19 7c-.5.8-1 .8-2.2.8l-3 .4v-5.2h4.7s1.8 0 2.2 1.8c.4 1.7 1.7.4 1.3-.5l-.5-3H68.1c-1.7 0-.9.9-.9.9s2.2 0 2.2 3v10.8c0 1.7-1.3 1.7-1.7 2.2-.5.4 0 .4.4.4h12l.5-3.9s0-1.3-.9 0c-.8 1.3-.8 2.6-3.8 2.6s-4-.4-4-1.3v-6s.5-1 1.4-1H75s1.7.5 2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.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>',"aria-label":"University of Guelph Home Page"})),this.isFullSize?e("div",{id:"uofg-header-full-main-content",class:"uofg-header-main-content"},e(G,null),e(B,null),e(F,null)):e("div",{id:"uofg-header-reduced-main-content",class:"uofg-header-main-content"},e(B,null),e(F,null),e("uofg-menu",{id:"uofg-header-main-menu","auto-collapse":!0},e("button",{slot:"button","aria-label":"Main Menu"},e(a,{icon:S.faBars})),e("div",{slot:"content"},e("span",null,"University of Guelph"),e(G,null),e(E,{autoCollapse:!1}))))),this.pageSpecificContent.length>0&&e("div",{id:"uofg-header-sub-content-container"},this.pageTitle&&(this.pageUrl?e("a",{id:"uofg-header-page-title",href:this.pageUrl},this.pageTitle):e("span",{id:"uofg-header-page-title"},this.pageTitle)),this.isFullSize?e("div",{id:"uofg-header-full-sub-content",class:"uofg-header-sub-content"},e(P,{content:this.pageSpecificContent,autoCollapse:!0})):e("div",{id:"uofg-header-reduced-sub-content",class:"uofg-header-sub-content"},e("uofg-menu",{id:"uofg-header-sub-menu","auto-collapse":!0},e("button",{slot:"button","aria-label":this.pageTitle+" Menu"},e(a,{icon:S.faBars})),e("div",{slot:"content"},e(P,{content:this.pageSpecificContent}))))))}get el(){return t(this)}};q.style=':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}';const Y=/^(\d*\.?\d+)(s|ms)$/,D=/^cubic-bezier\((\s*-?\d*\.?\d+\s*,){3}\s*-?\d*\.?\d+\s*\)$|^steps\(\s*\d+\s*(,\s*(start|end))?\s*\)$/,$=class{constructor(e){o(this,e),this.expanded=n(this,"expanded",2),this.collapsed=n(this,"collapsed",2),this.animationStarted=n(this,"animationStarted",2),this.animationEnded=n(this,"animationEnded",2),this.computedStyle=null,this.button=null,this.content=null,this.contentComputedStyle=null,this.observer=new MutationObserver(this.handleMutation),this.isExpanded=!1,this.autoCollapse=!1}connectedCallback(){this.handleMutation=this.handleMutation.bind(this),this.handleClick=this.handleClick.bind(this),this.handleFocusout=this.handleFocusout.bind(this),this.handleKeyUp=this.handleKeyUp.bind(this),this.computedStyle=window.getComputedStyle(this.el),this.handleMutation(),this.observer.observe(this.el,{childList:!0})}disconnectedCallback(){this.observer.disconnect()}handleMutation(){const e=this.el.querySelector('[slot="button"]');null==e||e.setAttribute("aria-expanded",this.isExpanded?"true":"false"),null==e||e.setAttribute("aria-haspopup","true"),this.button=e;const o=this.el.querySelector('[slot="content"]');null==o?(this.content=null,this.contentComputedStyle=null):(this.content=o,this.content.style.display=this.isExpanded?"":"none",this.contentComputedStyle=window.getComputedStyle(this.content))}handleKeyUp(e){"Escape"===e.key&&(this.isExpanded=!1,e.target!==this.button&&(e.stopPropagation(),this.isExpanded=!1,this.button&&this.button.focus()))}handleClick(e){this.button&&this.button.contains(e.target)&&(this.isExpanded=!this.isExpanded)}handleFocusout(e){this.autoCollapse&&!this.el.contains(e.relatedTarget)&&(this.isExpanded=!1)}handleIsExpandedChange(e){var o,t,n;if(null===(o=this.button)||void 0===o||o.setAttribute("aria-expanded",e?"true":"false"),e?this.expanded.emit():this.collapsed.emit(),null==this.content)return;const i=this.getAnimationType();if("undefined"==typeof window||!("animate"in HTMLElement.prototype)||"undefined"!=typeof window&&window.matchMedia("(prefers-reduced-motion: reduce)").matches||"none"===i)return void(this.content.style.display=e?"":"none");const a=null===(t=this.content)||void 0===t?void 0:t.getAnimations().filter((e=>"uofg-menu-animation"===e.id));if(a.length>0)return void(null==a||a.forEach((e=>e.reverse())));let r;const s={id:"uofg-menu-animation",duration:this.getAnimationDuration(),fill:"none",easing:this.getAnimationEasing(),direction:e?"normal":"reverse"};switch(this.content.style.display="",i){case"fade":default:r=this.fadeAnimation();break;case"slide":r=this.slideAnimation()}this.animationStarted.emit(e),null===(n=this.content)||void 0===n||n.animate(r.keyframes,s).finished.finally((()=>{var e;this.content&&(this.content.style.display=this.isExpanded?"":"none",null===(e=r.callback)||void 0===e||e.call(r),this.animationEnded.emit(this.isExpanded))}))}getAnimationType(){var e;const o=(null===(e=this.computedStyle)||void 0===e?void 0:e.getPropertyValue("--uofg-menu-animation-type"))||"";switch(o){case"slide":case"fade":return o;default:return"none"}}getAnimationDuration(){var e;const o=(null===(e=this.computedStyle)||void 0===e?void 0:e.getPropertyValue("--uofg-menu-animation-duration"))||"",t=Y.exec(o);return null==t?200:Number.parseFloat(t[1])*("s"==t[2]?1e3:1)}getAnimationEasing(){var e;const o=(null===(e=this.computedStyle)||void 0===e?void 0:e.getPropertyValue("--uofg-menu-animation-easing"))||"";switch(o){case"linear":case"ease":case"ease-in":case"ease-out":case"ease-in-out":case"step-start":case"step-end":return o;default:return D.test(o)?o:"ease-in-out"}}fadeAnimation(){return{keyframes:[{opacity:0},{opacity:1}]}}slideAnimation(){var e,o,t,n,i;return this.content&&(this.content.style.overflowY="hidden"),{keyframes:[{height:0,paddingTop:0,paddingBottom:0,marginTop:0,marginBottom:0},{height:(null===(e=this.contentComputedStyle)||void 0===e?void 0:e.height)||0,paddingTop:(null===(o=this.contentComputedStyle)||void 0===o?void 0:o.paddingTop)||0,paddingBottom:(null===(t=this.contentComputedStyle)||void 0===t?void 0:t.paddingBottom)||0,marginTop:(null===(n=this.contentComputedStyle)||void 0===n?void 0:n.marginTop)||0,marginBottom:(null===(i=this.contentComputedStyle)||void 0===i?void 0:i.marginBottom)||0}],callback:()=>{this.content&&(this.content.style.overflowY="")}}}render(){return e(i,{"data-expanded":this.isExpanded,tabindex:-1,onFocusout:this.handleFocusout,onKeyUp:this.handleKeyUp,onClick:this.handleClick})}async getExpanded(){return this.isExpanded}async setExpanded(e){this.isExpanded=e}async toggle(){return this.isExpanded=!this.isExpanded,this.isExpanded}async collapse(){this.isExpanded=!1}async expand(){this.isExpanded=!0}get el(){return t(this)}static get watchers(){return{isExpanded:["handleIsExpandedChange"]}}},K=class{constructor(e){o(this,e),this.opened=n(this,"opened",2),this.closed=n(this,"closed",2),this.inertElements=[],this.label=void 0,this.alertDialog=!1,this.centered=!1,this.staticBackdrop=!1,this.autoOpen=!1,this.isOpen=!1}connectedCallback(){this.handleClick=this.handleClick.bind(this),this.handleKeyUp=this.handleKeyUp.bind(this),this.handleFocusOut=this.handleFocusOut.bind(this),this.autoOpen&&(this.isOpen=!0)}disconnectedCallback(){for(const e of this.inertElements)e.removeAttribute("inert")}handleClick(e){this.staticBackdrop||e.target!==e.currentTarget||(this.isOpen=!1)}handleKeyUp(e){"Escape"===e.key&&(this.isOpen=!1)}handleFocusOut(e){var o;if(!this.isOpen)return;const t=e.relatedTarget;if(!this.container.contains(t)&&!this.el.contains(t))if(e.preventDefault(),e.target===this.dismissButton){const e=Array.from(this.el.querySelectorAll('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"])'));null===(o=e[e.length-1])||void 0===o||o.focus()}else this.dismissButton.focus()}handleIsOpenChange(e){if(!0===e){window.requestAnimationFrame((()=>{window.requestAnimationFrame((()=>{window.requestAnimationFrame((()=>{this.container.focus()}))}))}));let e=this.el;for(;null!==e&&e!==document.body;){const o=e.parentElement;if(null===o){const o=e.getRootNode();if(o instanceof ShadowRoot){e=o.host;continue}}if(null!==o)for(const t of o.children)t===e||t.inert||(t.inert=!0,this.inertElements.push(t));e=o,this.opened.emit()}}else{for(const e of this.inertElements)e.removeAttribute("inert");this.inertElements=[],this.closed.emit()}document.body.style.overflow=e?"hidden":""}render(){return e("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,onFocusout:this.handleFocusOut,ref:e=>this.container=e},e("div",{id:"uofg-modal-content",part:"content",class:{centered:this.centered}},e("button",{id:"uofg-modal-dismiss",part:"dismiss-button","aria-label":"Close modal",ref:e=>this.dismissButton=e,onClick:()=>this.isOpen=!1},e(a,{icon:c})),e("slot",null)))}async getState(){return this.isOpen}async setState(e){this.isOpen=e}async toggle(){return this.isOpen=!this.isOpen,this.isOpen}async close(){this.isOpen=!1}async open(){this.isOpen=!0}get el(){return t(this)}static get watchers(){return{isOpen:["handleIsOpenChange"]}}};K.style=":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%)}";export{l as uofg_alert,u as uofg_back_to_top,N as uofg_footer,q as uofg_header,$ as uofg_menu,K as uofg_modal}
@@ -1 +1 @@
1
- import{p as e,b as o}from"./p-bc82feb9.js";export{s as setNonce}from"./p-bc82feb9.js";(()=>{const o=import.meta.url,t={};return""!==o&&(t.resourcesUrl=new URL(".",o).href),e(t)})().then((e=>o([["p-d1e2ecf9",[[1,"uofg-header",{pageTitle:[1,"page-title"],pageUrl:[1,"page-url"],isFullSize:[32],pageSpecificContent:[32]},[[9,"resize","updateFullSize"]]],[1,"uofg-alert"],[1,"uofg-back-to-top",{threshold:[2],isVisible:[32]},[[9,"scroll","onScroll"]]],[1,"uofg-footer"],[1,"uofg-modal",{label:[1],alertDialog:[4,"alert-dialog"],centered:[4],staticBackdrop:[4,"static-backdrop"],autoOpen:[4,"auto-open"],isOpen:[32],getState:[64],setState:[64],toggle:[64],close:[64],open:[64]}],[0,"uofg-menu",{autoCollapse:[4,"auto-collapse"],isExpanded:[32],getExpanded:[64],setExpanded:[64],toggle:[64],collapse:[64],expand:[64]}]]]],e)));
1
+ import{p as e,b as o}from"./p-bc82feb9.js";export{s as setNonce}from"./p-bc82feb9.js";(()=>{const o=import.meta.url,t={};return""!==o&&(t.resourcesUrl=new URL(".",o).href),e(t)})().then((e=>o([["p-f37c9107",[[1,"uofg-header",{pageTitle:[1,"page-title"],pageUrl:[1,"page-url"],isFullSize:[32],pageSpecificContent:[32]},[[9,"resize","updateFullSize"]]],[1,"uofg-alert"],[1,"uofg-back-to-top",{threshold:[2],isVisible:[32]},[[9,"scroll","onScroll"]]],[1,"uofg-footer"],[1,"uofg-modal",{label:[1],alertDialog:[4,"alert-dialog"],centered:[4],staticBackdrop:[4,"static-backdrop"],autoOpen:[4,"auto-open"],isOpen:[32],getState:[64],setState:[64],toggle:[64],close:[64],open:[64]}],[0,"uofg-menu",{autoCollapse:[4,"auto-collapse"],isExpanded:[32],getExpanded:[64],setExpanded:[64],toggle:[64],collapse:[64],expand:[64]}]]]],e)));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uoguelph/web-components",
3
- "version": "0.0.27",
3
+ "version": "0.0.28",
4
4
  "description": "University of Guelph Web Components Library",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",