PageSourceSearch

https://www.verbund.com/nuxtscripts/skipto.min.js

js verbund.com collected 2026-10-01 10:23:56 UTC 38,490 bytes, 18 lines download raw bytes

1/* ========================================================================
2 * Version: 5.3.2
3 * Copyright (c) 2022, 2023, 2024 Jon Gunderson; Licensed BSD
4 * Copyright (c) 2021 PayPal Accessibility Team and University of Illinois; Licensed BSD
5 * All rights reserved.
6 * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
7 * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
8 * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
9 * Neither the name of PayPal or any of its subsidiaries or affiliates, nor the name of the University of Illinois, nor the names of any other contributors contributors may be used to endorse or promote products derived from this software without specific prior written permission.
10 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
11 *
12 * CDN: https://skipto-landmarks-headings.github.io/page-script-5/dist/skipto.min.js
13 * Documentation: https://skipto-landmarks-headings.github.io/page-script-5
14 * Code: https://github.com/skipto-landmarks-headings/page-script-5
15 * Report Issues: https://github.com/skipto-landmarks-headings/page-script-5/issues
16 * ======================================================================== */
17
18!function(){"use strict";class e{constructor(...e){this._flag=!1,this._label="debug";for(const[t,n]of e.entries())if(t<2)switch(typeof n){case"boolean":this._flag=n;break;case"string":this._label=n}}get flag(){return this._flag}set flag(e){"boolean"==typeof e&&(this._flag=e)}get label(){return this._label}set label(e){"string"==typeof e&&(this._label=e)}log(e,t){const n=t?"\n":"";console.log(`${n}[${this._label}] ${e}`)}tag(e,t){if(e&&e.tagName){const n=e.textContent.trim().replace(/\s+/g," ");this.log(`[${e.tagName}]: ${n.substring(0,40)}`,t)}}separator(e){this.log("-----------------------------",e)}}new e("style",!1).flag=!1;const t=document.createElement("template");function n(e,t){if("object"==typeof e[t])return e[t];let n="",o="",i="";const s=new URL(location.href).hostname,r=location.pathname;for(let t in e){const a=e[t].hostnameSelector,l=e[t].pathnameSelector;let d=!1,u=!1;a&&s.indexOf(a)>=0&&(!n||e[n].hostnameSelector.length<a.length?(n=t,d=!0,o=""):e[n].hostnameSelector.length===a.length&&(d=!0)),l&&r.indexOf(l)>=0&&(!o||e[o].pathnameSelector.length<l.length)&&(o=t,u=!0),d&&u&&(i=t)}return i?e[i]:n?e[n]:o?e[o]:e.default}function o(e,n,o,i){let s=i;"string"==typeof n&&n?s=n:"string"==typeof o&&o&&(s=o);let r=t.innerHTML,a=r.indexOf(e),l=a+e.length;for(;a>=0&&l<r.length;)l=(a=(r=r.substring(0,a)+s+r.substring(l)).indexOf(e,l))+e.length;t.innerHTML=r}function i(e,i,s){t.innerHTML=t.innerHTML.replaceAll("$skipToId","#"+s),function(e,t){const i=n(e,t.colorTheme),s=n(e,"default");"string"==typeof i.displayOption&&"fixed popup static".indexOf(i.displayOption.toLowerCase())>=0&&(t.displayOption=i.displayOption),o("$fontFamily",t.fontFamily,i.fontFamily,s.fontFamily),o("$fontSize",t.fontSize,i.fontSize,s.fontSize),o("$positionLeft",t.positionLeft,i.positionLeft,s.positionLeft),o("$smallBreakPoint",t.smallBreakPoint,i.smallBreakPoint,s.smallBreakPoint),o("$mediumBreakPoint",t.mediumBreakPoint,i.mediumBreakPoint,s.mediumBreakPoint),o("$menuTextColor",t.menuTextColor,i.menuTextColor,s.menuTextColor),o("$menuBackgroun
18dColor",t.menuBackgroundColor,i.menuBackgroundColor,s.menuBackgroundColor),o("$menuitemFocusTextColor",t.menuitemFocusTextColor,i.menuitemFocusTextColor,s.menuitemFocusTextColor),o("$menuitemFocusBackgroundColor",t.menuitemFocusBackgroundColor,i.menuitemFocusBackgroundColor,s.menuitemFocusBackgroundColor),o("$focusBorderColor",t.focusBorderColor,i.focusBorderColor,s.focusBorderColor),o("$buttonTextColor",t.buttonTextColor,i.buttonTextColor,s.buttonTextColor),o("$buttonBackgroundColor",t.buttonBackgroundColor,i.buttonBackgroundColor,s.buttonBackgroundColor),o("$zIndex",t.zIndex,i.zIndex,s.zIndex)}(e,i);const r=t.content.cloneNode(!0);r.id=`${s}-style`,document.getElementsByTagName("head")[0].appendChild(r)}function s(e,t){let n=e.getAttribute(t);return null===n?"":r(n)}function r(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"").replace(/\s+/g," ")}function a(e){return"string"==typeof e&&e.length&&e.trim()&&"&nbsp;"!==e}function l(e){let t=window.getComputedStyle(e).getPropertyValue("visibility");return"hidden"!==t&&"collapse"!==t&&!function e(t){if(!t||t.nodeType!==Node.ELEMENT_NODE)return!1;if(t.hasAttribute("hidden"))return!0;return"none"===window.getComputedStyle(t,null).getPropertyValue("display")||!!t.parentNode&&e(t.parentNode)}(e)}function d(e){return function(e){return!!e&&(e.nodeType===Node.TEXT_NODE&&(e=e.parentNode),e.nodeType===Node.ELEMENT_NODE&&e.hasAttribute("aria-hidden")&&"false"===e.getAttribute("aria-hidden").toLowerCase())}(e)||!function(e){if(!e)return!1;if(e.nodeType===Node.TEXT_NODE&&(e=e.parentNode),e.nodeType===Node.ELEMENT_NODE){const t=window.getComputedStyle(e,null).getPropertyValue("visibility");if(t)return"hidden"===t||"collapse"===t}return!1}(e)&&!function(e){if(!e)return!1;if(e.nodeType===Node.TEXT_NODE&&(e=e.parentNode),e.nodeType===Node.ELEMENT_NODE){if(e.hasAttribute("hidden"))return!0;if(e.hasAttribute("aria-hidden")&&"true"===e.getAttribute("aria-hidden").toLowerCase())return!0;const t=window.getComputedStyle(e,null).getPropertyValue("display");if(t)return"none"===t}return!1}(e)}function u(e){let t,n="",o=[];switch(e.nodeType){case Node.ELEMENT_NODE:if(e.hasAttribute("aria-label"))d(e)&&(n=e.getAttribute("aria-label"));else if(e instanceof HTMLSlotElement){(e.assignedNodes().length?e.assignedNodes():e.assignedNodes({flatten:!0})).forEach(e=>{(t=u(e)).length&&o.push(t)}),n=o.length?o.join(" "):""}else if(function(e){switch(e.tagName.toLowerCase()){case"img":case"area":return!0;case"input":return e.type&&"image"===e.type}return!1}(e)&&d(e))n=s(e,"alt");else if(e.hasChildNodes()){Array.from(e.childNodes).forEach(e=>{(t=u(e)).length&&o.push(t)}),n=o.length?o.join(" "):""}n=function(e,t){let n=t,o=getComputedStyle(e,":before").content,i=getComputedStyle(e,":after").content;'"'!==o[0]||o.toLowerCase().includes("moz-")||(n=o.substring(1,o.length-1)+n);'"'!==i[0]||i.toLowerCase().includes("moz-")||(n+=i.substring(1,i.length-1));return n}(e,n);break;
18case Node.TEXT_NODE:d(e)&&(n=r(e.textContent))}return n}function c(e,t,n=!1){let o="";return""===(o=function(e,t,n){const o=s(t,n),i=[];if(o.length){const t=o.split(" ");for(let n=0;n<t.length;n++){const o=e.getElementById(t[n]);if(o){const e=u(o);e&&e.length&&i.push(e)}}}if(i.length)return i.join(" ");return""}(e,t,"aria-labelledby"))&&t.hasAttribute("aria-label")&&(o=t.getAttribute("aria-label").trim()),""===o&&n&&(o=u(t)),""===o&&""!==t.title.trim()&&(o=t.title.trim()),o}t.innerHTML='\n<style type="text/css" id="id-skip-to-css">\n$skipToId.popup {\n  position: absolute;\n  top: -34px;\n  transition: top 0.35s ease;\n}\n\n$skipToId button .skipto-text {\n  padding: 6px 8px 6px 8px;\n  display: inline-block;\n}\n\n$skipToId button .skipto-small {\n  padding: 6px 8px 6px 8px;\n  display: none;\n}\n\n$skipToId button .skipto-medium {\n  padding: 6px 8px 6px 8px;\n  display: none;\n}\n\n$skipToId,\n$skipToId.popup.focus,\n$skipToId.popup:hover {\n  position: absolute;\n  top: 0;\n  left: $positionLeft;\n  font-family: $fontFamily;\n  font-size: $fontSize;\n  display: block;\n  border: none;\n  margin-bottom: 4px;\n  transition: left 1s ease;\n  z-index: $zIndex !important;\n}\n\n$skipToId button {\n  position: relative;\n  margin: 0;\n  padding: 0;\n  border-width: 0px 1px 1px 1px;\n  border-style: solid;\n  border-radius: 0px 0px 6px 6px;\n  border-color: $buttonBackgroundColor;\n  color: $buttonTextColor;\n  background-color: $buttonBackgroundColor;\n  z-index: 100000 !important;\n  font-family: $fontFamily;\n  font-size: $fontSize;\n  z-index: $zIndex !important;\n}\n\n@media screen and (max-width: $smallBreakPointpx) {\n  $skipToId:not(.popup) button .skipto-small {\n    transition: top 0.35s ease;\n    display: inline-block;\n  }\n\n  $skipToId:not(.popup) button .skipto-text,\n  $skipToId:not(.popup) button .skipto-medium {\n    transition: top 0.35s ease;\n    display: none;\n  }\n\n  $skipToId:not(.popup).focus button .skipto-text {\n    transition: top 0.35s ease;\n    display: inline-block;\n  }\n\n  $skipToId:not(.popup).focus button .skipto-small,\n  $skipToId:not(.popup).focus button .skipto-medium {\n    transition: top 0.35s ease;\n    display: none;\n  }\n\n}\n\n@media screen and (min-width: $smallBreakPointpx) and (max-width: $mediumBreakPointpx) {\n  $skipToId:not(.popup) button .skipto-medium {\n    transition: top 0.35s ease;\n    display: inline-block;\n  }\n\n  $skipToId:not(.popup) button .skipto-text,\n  $skipToId:not(.popup) button .skipto-small {\n    transition: top 0.35s ease;\n    display: none;\n  }\n\n  $skipToId:not(.popup).focus button .skipto-text {\n    transition: top 0.35s ease;\n    display: inline-block;\n  }\n\n  $skipToId:not(.popup).focus button .skipto-small,\n  $skipToId:not(.popup).focus button .skipto-medium {\n    transition: top 0.35s ease;\n    display: none;\n  }\n\n}\n\n$skipToId.fixed {\n  position: fixed;\n}\n\n\n$skipToId [role="menu"] {\n  position: absolute;\n  min-width: 17em;\n  display: none;\n  margin: 0;\n  padding: 0.25rem;\n  background-color: $menuBackgroundColor;\n  border-width: 2px;\n  border-style: solid;\n  border-color: $focusBorderColor;\n  border-radius: 5px;\n  overflow-x: hidden;\n  z-index: $zIndex !important;\n}\n\n$skipToId [role="group"] {\n  display: grid;\n  grid-auto-rows: min-content;\n  grid-row-gap: 1px;\n}\n\n$skipToId [role="separator"]:first-child {\n  border-radius: 5px 5px 0 0;\n}\n\n$skipToId [role="menuitem"] {\n  padding: 3px;\n  width: auto;\n  border-width: 0px;\n  border-style: solid;\n  color: $menuTextColor;\n  background-color: $menuBackgroundColor;\n  display: grid;\n  overflow-y: clip;\n  grid-template-columns: repeat(6, 1.2rem) 1fr;\n  grid-column-gap: 2px;\n  font-size: 1em;\n  z-index: $zIndex !important;  \n}\n\n$skipToId [role="menuitem"] .level,\n$skipToId [role="menuitem"] .label {\n  font-size: 100%;\n  font-weight: normal;\n  color: $menuTextColor;\n  background-color: $menuBackgroundColor;\n  display: inline-block;\n  line-height: inherit;\n  display: inline-block;\n  white-space: nowrap;\n}\n\n$skipToId [role="menuitem"] .level {\n  text-align: right;\n  padding-right: 4px;\n}\n\n$skipToId [role="menuitem"] .label {\n  text-align: left;\n  margin: 0;\n  padding: 0;\n  overflow: hidden;\n  text-overflow: ellipsis;\n}\n\n$skipToId [role="menuitem"] .level:first-letter,\n$skipToId [role="menuitem"] .label:first-letter {\n  text-decoration: underline;\n  text-transform: uppercase;\n}\n\n\n$skipToId [role="menuitem"].skip-to-h1 .level { grid-column: 1; }\n$skipToId [role="menuitem"].skip-to-h2 .level { grid-column: 2; }\n$skipToId [role="menuitem"].skip-to-h3 .level { grid-column: 3; }\n$skipToId [role="menuitem"].skip-to-h4 .level { grid-column: 4; }\n$skipToId [role="menuitem"].skip-to-h5 .level { grid-column: 5; }\n$skipToId [role="menuitem"].skip-to-h6 .level { grid-column: 8;}\n\n$skipToId [role="menuitem"].skip-to-h1 .label { grid-column: 2 / 8; }\n$skipToId [role="menuitem"].skip-to-h2 .label { grid-column: 3 / 8; }\n$skipToId [role="menuitem"].skip-to-h3 .label { grid-column: 4 / 8; }\n$skipToId [role="menuitem"].skip-to-h4 .label { grid-column: 5 / 8; }\n$skipToId [role="menuitem"].skip-to-h5 .label { grid-column: 6 / 8; }\n$skipToId [role="menuitem"].skip-to-h6 .label { grid-column: 7 / 8;}\n\n$skipToId [role="menuitem"].skip-to-h1.no-level .label { grid-column: 1 / 8; }\n$skipToId [role="menuitem"].skip-to-h2.no-level .label { grid-column: 2 / 8; }\n$skipToId [role="menuitem"].skip-to-h3.no-level .label { grid-column: 3 / 8; }\n$skipToId [role="menuitem"].skip-to-h4.no-level .label { grid-column: 4 / 8; }\n$skipToId [role="menuitem"].skip-to-h5.no-level .label { grid-column: 5 / 8; }\n$skipToId [role="menuitem"].skip-to-h6.no-level .label { grid-column: 6 / 8; }\n\n$skipToId [role="menuitem"].skip-to-nesting-level-1 .nesting { grid-column: 1; }\n$skipToId [role="menuitem"].skip-to-nesting-level-2 .nesting { grid-column: 2; }\n$skipToId [role="menuitem"].skip-to-nesting-level-3 .nesting { grid-column: 3; }\n\n$skipToId [role="menuitem"].skip-to-nesting-level-0 .label { grid-column: 1 / 8; }\n$skipToId [role="menuitem"].skip-to-nesting-level-1 .label { grid-column: 2 / 8; }\n$skipToId [role="menuitem"].skip-to-nesting-level-2 .label { grid-column: 3 / 8; }\n$skipToId [role="menuitem"].skip-to-nesting-level-3 .label { grid-column: 4 / 8; }\n\n$skipToId [role="menuitem"].no-items .label,\n$skipToId [role="menuitem"].action .label {\n  grid-column: 1 / 8;\n}\n\n$skipToId [role="separator"] {\n  margin: 1px 0px 1px 0px;\n  padding: 3px;\n  display: block;\n  width: auto;\n  font-weight: bold;\n  border-bottom-width: 1px;\n  border-bottom-style: solid;\n  border-bottom-color: $menuTextColor;
18\n  background-color: $menuBackgroundColor;\n  color: $menuTextColor;\n  z-index: $zIndex !important;\n}\n\n$skipToId [role="separator"] .mofn {\n  font-weight: normal;\n  font-size: 85%;\n}\n\n$skipToId [role="separator"]:first-child {\n  border-radius: 5px 5px 0 0;\n}\n\n$skipToId [role="menuitem"].last {\n  border-radius: 0 0 5px 5px;\n}\n\n/* focus styling */\n\n$skipToId.focus {\n  display: block;\n}\n\n$skipToId button:focus,\n$skipToId button:hover {\n  background-color: $menuBackgroundColor;\n  color: $menuTextColor;\n  outline: none;\n  border-width: 0px 2px 2px 2px;\n  border-color: $focusBorderColor;\n}\n\n\n$skipToId button:focus .skipto-text,\n$skipToId button:hover .skipto-text,\n$skipToId button:focus .skipto-small,\n$skipToId button:hover .skipto-small,\n$skipToId button:focus .skipto-medium,\n$skipToId button:hover .skipto-medium {\n  padding: 6px 7px 5px 7px;\n}\n\n$skipToId [role="menuitem"]:focus {\n  padding: 1px;\n  border-width: 2px;\n  border-style: solid;\n  border-color: $focusBorderColor;\n  outline: none;\n}\n\n$skipToId [role="menuitem"].hover,\n$skipToId [role="menuitem"].hover .level,\n$skipToId [role="menuitem"].hover .label {\n  background-color: $menuitemFocusBackgroundColor;\n  color: $menuitemFocusTextColor;\n}\n</style>\n',new e("Utils",!1).flag=!1,new e("nameFrom",!1).flag=!1,new e("accName",!1).flag=!1,new e("landmarksHeadings",!1).flag=!1;const p=["base","content","frame","iframe","input[type=hidden]","link","meta","noscript","script","style","template","shadow","title"],m=["banner","complementary","contentinfo","form","main","navigation","region","search"],h=["article","aside","footer","header","main","nav","region","section"];let f=0;function g(){return f}function b(){f+=1}function k(e){const t=e.tagName.toLowerCase(),n=e.hasAttribute("type")?e.getAttribute("type"):"",o="input"===t&&n.length?`${t}[type=${n}]`:t;return p.includes(o)}function T(e){return e.tagName.indexOf("-")>=0}function C(e){return e instanceof HTMLSlotElement}function x(e){for(e=e&&e.parentNode;e&&e.nodeType===Node.ELEMENT_NODE;){const t=e.tagName.toLowerCase();let n=e.getAttribute("role");if(n&&(n=n.toLowerCase()),h.includes(t)||m.includes(n))return!1;e=e.parentNode}return!0}function N(e){if(e.hasAttribute("role")){const t=e.getAttribute("role").toLowerCase();if(m.indexOf(t)>=0)return t}else{switch(e.tagName.toLowerCase()){case"aside":return"complementary";case"main":return"main";case"nav":return"navigation";case"header":if(x(e))return"banner";break;case"footer":if(x(e))return"contentinfo";break;case"section":if(e.hasAttribute("aria-label")||e.hasAttribute("aria-labelledby"))return"region"}}return""}function y(e,t){function n(e,t){var o=null;for(let i=e.firstChild;null!==i;i=i.nextSibling)if(i.nodeType===Node.ELEMENT_NODE&&!k(i))if(C(i)){const e=i.assignedNodes().length?i.assignedNodes():i.assignedNodes({flatten:!0});for(let i=0;i<e.length;i+=1){const s=e[i];if(s.nodeType===Node.ELEMENT_NODE){if(s.tagName.toLowerCase()===t&&l(s))return s;if(o=n(s,t))return o}}}else if(T(i)){if(i.shadowRoot&&(o=n(i.shadowRoot,t)))return o}else{if(i.tagName.toLowerCase()===t&&l(i))return i;if(o=n(i,t))return o}return!1}let o=!1;for(let i=0;i<t.length&&!(o=n(e,t[i]));i+=1);return o||e}function L(e){let t,n=!1,o=!1;const i=["input","button","a"],s=["a","input","button"],r=["h1","h2","h3","h4","h5","h6","section","article","p","li","a"],a=e.classList.contains("landmark"),d=e.classList.contains("skip-to-search"),u=e.classList.contains("skip-to-nav");var c;c=e.getAttribute("data-id"),(t=function e(t){var n=null;for(let o=t.firstChild;null!==o;o=o.nextSibling)if(o.nodeType===Node.ELEMENT_NODE){if(o.getAttribute("data-skip-to-id")===c)return o;if(!k(o))if(C(o)){const t=o.assignedNodes().length?o.assignedNodes():o.assignedNodes({flatten:!0});for(let o=0;o<t.length;o+=1){const i=t[o];if(i.nodeType===Node.ELEMENT_NODE){if(i.getAttribute("data-skip-to-id")===c)return i;if(n=e(i))return n}}}else if(T(o)){if(o.shadowRoot&&(n=e(o.shadowRoot)))return n}else if(n=e(o))return n}return!1}(document.body))&&(d&&(n=y(t,i)),u&&(n=y(t,s)),n&&l(n)?(n.tabIndex>=0?n.focus():(n.tabIndex=0,n.focus(),n.tabIndex=-1),n.scrollIntoView({block:"center"})):(a&&(o=y(t,r))&&(t=o),t.tabIndex>
18=0?t.focus():(t.tabIndex=0,t.focus(),t.tabIndex=-1),t.scrollIntoView({block:"center"})))}function $(e){const t=e.tagName.toLowerCase(),n=e.hasAttribute("role")?e.getAttribute("role").toLowerCase():"";return"main"===t||"main"===n}function v(e,t){let n=e.landmarks;"string"!=typeof n&&(console.warn("[skipto.js]: Error in landmark configuration"),n="main search navigation");let o=e.headings;"string"!=typeof o&&(console.warn("[skipto.js]: Error in heading configuration"),o="h1 h2");const[i,s]=function(e,t,n){let o=[],i=[],s=function(e){let t=[];return(e=e.toLowerCase()).includes("main")&&t.push("main"),e.includes("search")&&t.push("search"),e.includes("nav")&&t.push("navigation"),(e.includes("complementary")||e.includes("aside"))&&t.push("complementary"),(e.includes("banner")||e.includes("header"))&&t.push("banner"),(e.includes("contentinfo")||e.includes("footer"))&&t.push("contentinfo"),(e.includes("region")||e.includes("section"))&&t.push("region"),t}(e.toLowerCase()),r=function(e){let t=[];return["h1","h2","h3","h4","h5","h6"].forEach(n=>{e.includes(n)&&t.push(n)}),t}(t.toLowerCase()),a=t.includes("main");function l(e,t,d=null,u=!1){for(let p=e.firstChild;null!==p;p=p.nextSibling)if(p.nodeType===Node.ELEMENT_NODE){const e=p.tagName.toLowerCase();if(s.indexOf(N(p))>=0&&p.id!==n&&i.push({node:p,name:c(t,p)}),r.indexOf(e)>=0&&(a&&!u||o.push({node:p,name:c(t,p,!0)})),$(p)&&(u=!0),!k(p))if(C(p)){const e=p.assignedNodes().length>0,n=e?p.assignedNodes():p.assignedNodes({flatten:!0}),m=e?d:t;for(let p=0;p<n.length;p+=1){const h=n[p];if(h.nodeType===Node.ELEMENT_NODE){const f=n[p].tagName.toLowerCase();s.indexOf(N(h))>=0&&i.push({node:h,name:c(m,h)}),r.indexOf(f)>=0&&(a&&!u||o.push({node:h,name:c(m,h,!0)})),e?l(h,d,null,u):l(h,t,d,u)}}}else T(p)?p.shadowRoot&&l(p.shadowRoot,p.shadowRoot,t,u):l(p,t,d,u)}}return l(document.body,document),0===o.length&&a&&(a=!1,i=[],l(document.body,document),0===o.length?console.warn("[skipTo.js]: no headings found on page"):console.warn(`[skipTo.js]: no headings found in main landmark, but ${o.length} found in page.`)),0===i.length&&console.warn("[skipTo.js]: no landmarks found on page"),[i,o]}(n,o,t);return[I(e,i),w(e,s)]}function w(e,t){let n,o,i=[];for(let s=0,r=t.length;s<r;s+=1){let r=t[s],d=r.node.getAttribute("role");if(("string"!=typeof d||"presentation"!==d)&&(l(r.node)&&a(r.node.innerHTML))){r.node.hasAttribute("data-skip-to-id")?n=r.node.getAttribute("data-skip-to-id"):(n=g(),r.node.setAttribute("data-skip-to-id",n)),o=r.node.tagName.substring(1);const t={};t.dataId=n.toString(),t.class="heading",t.name=r.name,t.ariaLabel=t.name+", ",t.ariaLabel+=e.headingLevelLabel+" "+o,t.tagName=r.node.tagName.toLowerCase(),t.role="heading",t.level=o,i.push(t),b()}}return i}function E(e,t,n){let o;switch(t){case"aside":o=e.asideLabel;break;case"footer":o=e.footerLabel;break;case"form":o=e.formLabel;break;case"header":o=e.headerLabel;break;case"main":o=e.mainLabel;break;case"nav":o=e.navLabel;break;case"section":case"region":o=e.regionLabel;break;case"search":o=e.searchLabel;break;default:o=t}return a(n)&&(o+=": "+n),o}function I(e,t){let n=[],o=[],i=[],s=[],r=[],a=[],d=[],u="";for(let c=0,p=t.length;c<p;c+=1){let p=t[c];if("id-skip-to"===p.node.id)continue;let m=p.node.getAttribute("role"),h=p.node.tagName.toLowerCase();if(("string"!=typeof m||"presentation"!==m)&&l(p.node)){switch(m||(m=h),m){case"banner":h="header";break;case"complementary":h="aside";break;case"contentinfo":h="footer";break;case"form":h="form";break;case"main":h="main";break;case"navigation":h="nav";break;case"region":h="section";break;case"search":h="search"}["aside","footer","form","header","main","nav","section","search"].indexOf(h)<0&&(h="main"),p.node.hasAttribute("aria-roledescription")&&(h=p.node.getAttribute("aria-roledescription").trim().replace(" ","-")),p.node.hasAttribute("data-skip-to-id")?u=p.node.getAttribute("data-skip-to-id"):(u=g(),p.node.setAttribute("data-skip-to-id",u));const t={};switch(t.dataId=u.toString(),t.class="landmark",t.hasName=p.name.length>0,t.name=E(e,h,p.name),t.tagName=h,t.nestingLevel=0,b(),h){case"main":n.push(t);break;case"search":o.push(t);break;case"nav":i.push(t);break;case"aside":s.push(t);break;case"footer":r.push(t);break;case"section":t.hasName&&a.push(t);break;default:d.push(t)}}}return[].concat(n,o,i,s,a,r,d)}new e("SkipToButton",!1).flag=!1;class B{constructor(e,t,n){this.config=t,this.skiptoId=n,this.containerNode=document.createElement(t.containerElement),"nav"===t.containerElement&&this.containerNode.setAttribute("aria-label",t.buttonLabel),this.containerNode.id=n,a(t.customClass)&&this.containerNode.classList.add(t.customClass);let o=t.displayOption;if("string"==typeof o&&(o=o.trim().toLowerCase()).length)switch(t.displayOption){case"fixed":this.containerNode.classList.add("fixed");break;case"onfocus":case"popup":this.containerNode.classList.add("popup")}const[i,s]=this.getBrowserSpecificShortcut(t);this.buttonNode=document.createElement("button"),this.buttonNode.setAttribute("aria-label",s),this.buttonNode.addEventListener("keydown",this.handleButtonKeydown.bind(this)),this.buttonNode.addEventListener("click",this.handleButtonClick.bind(this)),this.containerNode.appendChild(this.buttonNode),this.buttonTextNode=document.createElement("span"),this.buttonTextNode.classList.add("skipto-text"),this.buttonTextNode.textContent=i,this.buttonNode.appendChild(this.buttonTextNode);const r=document.createElement("span");r.classList.add("skipto-small"),r.textContent=t.smallButtonLabel,this.buttonNode.appendChild(r);const l=document.createElement("span");l.classList.add("skipto-medium"),l.textContent=t.buttonLabel,this.buttonNode.appendChild(l),this.menuNode=document.createElement("div"),this.menuNode.id="id-skip-to-menu",this.menuNode.setAttribute("role","menu"),this.menuNode.setAttribute("aria-label",t.menuLabel),this.menuNode.setAttribute("aria-busy","true"),this.containerNode.appendChild(this.menuNode);const d=document.createElement("div");d.id="id-skip-to-menu-landmark-group-label",d.setAttribute("role","separator"),d.textContent=this.config.landmarkGroupLabel,this.menuNode.appendChild(d),this.landmarkGroupNode=document.createElement("div"),this.landmarkGroupNode.setAttribute("role","group"),this.landmarkGroupNode.setAttribute("aria-labelledby",d.id),this.landmarkGroupNode.id="#id-skip-to-menu-landmark-group",this.menuNode.appendChild(this.landmarkGroupNode);const u=document.createElement("div");return u.id="id-skip-to-menu-heading-group-label",u.setAttribute("role","separator"),u.textContent=this.config.headingGroupLabel,this.menuNode.appendChild(u),this.headingGroupNode=document.createElement("div"),this.headingGroupNode.setAttribute("role","group"),this.headingGroupNode.setAttribute("aria-labelledby",u.id),this.headingGroupNode.id="#id-skip-to-menu-heading-group",this.menuNode.appendChild(this.headingGroupNode),this.containerNode.addEventListener("focusin",this.handleFocusin.bind(this)),this.containerNode.addEventListener("focusout",this.handleFocusout.bind(this)),window.addEventListener("pointerdown",this.handleBackgroun
18dPointerdown.bind(this),!0),(this.usesAltKey||this.usesOptionKey)&&document.addEventListener("keydown",this.handleDocumentKeydown.bind(this)),e.insertBefore(this.containerNode,e.firstElementChild),this.focusMenuitem=null,this.containerNode}getBrowserSpecificShortcut(e){const t=navigator.platform.toLowerCase(),n=navigator.userAgent.toLowerCase(),o=t.indexOf("win")>=0,i=t.indexOf("mac")>=0,s=t.indexOf("linux")>=0||t.indexOf("bsd")>=0,r=n.indexOf("android")>=0;this.usesAltKey=o||s&&!r,this.usesOptionKey=i;let a,l=e.buttonLabel,d=e.buttonLabel;return e.altShortcut&&e.optionShortcut&&((this.usesAltKey||this.usesOptionKey)&&(a=e.buttonShortcut.replace("$key",e.altShortcut)),this.usesAltKey&&(l+=a=a.replace("$modifier",e.altLabel),d=e.altButtonAriaLabel.replace("$key",e.altShortcut)),this.usesOptionKey&&(l+=a=a.replace("$modifier",e.optionLabel),d=e.optionButtonAriaLabel.replace("$key",e.altShortcut))),[l,d]}getFirstChar(e){const t=e.querySelector(".label");return t&&a(t.textContent)?t.textContent.trim()[0].toLowerCase():""}getHeadingLevelFromAttribute(e){return e.hasAttribute("data-level")?e.getAttribute("data-level"):""}updateKeyboardShortCuts(){let e;this.firstChars=[],this.headingLevels=[];for(let t=0;t<this.menuitemNodes.length;t+=1)e=this.menuitemNodes[t],this.firstChars.push(this.getFirstChar(e)),this.headingLevels.push(this.getHeadingLevelFromAttribute(e))}updateMenuitems(){let e=this.menuNode.querySelectorAll("[role=menuitem");this.menuitemNodes=[];for(let t=0;t<e.length;t+=1)this.menuitemNodes.push(e[t]);this.firstMenuitem=this.menuitemNodes[0],this.lastMenuitem=this.menuitemNodes[this.menuitemNodes.length-1],this.lastMenuitem.classList.add("last"),this.updateKeyboardShortCuts()}renderMenuitemToGroup(e,t){let n,o,i,s,r=document.createElement("div");return r.setAttribute("role","menuitem"),r.classList.add(t.class),a(t.tagName)&&r.classList.add("skip-to-"+t.tagName.toLowerCase()),r.setAttribute("data-id",t.dataId),r.tabIndex=-1,a(t.ariaLabel)&&r.setAttribute("aria-label",t.ariaLabel),r.addEventListener("keydown",this.handleMenuitemKeydown.bind(this)),r.addEventListener("click",this.handleMenuitemClick.bind(this)),r.addEventListener("pointerenter",this.handleMenuitemPointerenter.bind(this)),r.addEventListener("pointerleave",this.handleMenuitemPointerleave.bind(this)),e.appendChild(r),t.class.includes("heading")&&(this.config.enableHeadingLevelShortcuts?(n=document.createElement("span"),(o=document.createElement("span")).appendChild(document.createTextNode(t.level)),n.append(o),n.appendChild(document.createTextNode(")")),n.classList.add("level"),r.append(n)):r.classList.add("no-level"),r.setAttribute("data-level",t.level),a(t.tagName)&&r.classList.add("skip-to-"+t.tagName)),t.class.includes("landmark")&&(r.setAttribute("data-nesting",t.nestingLevel),r.classList.add("skip-to-nesting-level-"+t.nestingLevel),t.nestingLevel>0&&t.nestingLevel>this.lastNestingLevel&&((s=document.createElement("span")).classList.add("nesting"),r.append(s)),this.lastNestingLevel=t.nestingLevel),(i=document.createElement("span")).appendChild(document.createTextNode(t.name)),i.classList.add("label"),r.append(i),r}renderMenuitemsToGroup(e,t,n){if(e.innerHTML="",this.lastNestingLevel=0,0===t.length){const t={};t.name=n,t.tagName="",t.class="no-items",t.dataId="",this.renderMenuitemToGroup(e,t)}else for(let n=0;n<t.length;n+=1)this.renderMenuitemToGroup(e,t[n])}renderMenu(){for(;this.landmarkGroupNode.lastElementChild;)this.landmarkGroupNode.removeChild(this.landmarkGroupNode.lastElementChild);for(;this.headingGroupNode.lastElementChild;)this.headingGroupNode.removeChild(this.headingGroupNode.lastElementChild);const[e,t]=v(this.config,this.skiptoId);this.renderMenuitemsToGroup(this.landmarkGroupNode,e,this.config.msgNoLandmarksFound),this.renderMenuitemsToGroup(this.headingGroupNode,t,this.config.msgNoHeadingsFound),this.updateMenuitems()}setFocusToMenuitem(e){e&&(this.removeHoverClass(),e.classList.add("hover"),e.focus(),this.focusMenuitem=e)}setFocusToFirstMenuitem(){this.setFocusToMenuitem(this.firstMenuitem)}setFocusToLastMenuitem(){this.setFocusToMenuitem(this.lastMenuitem)}setFocusToPreviousMenuitem(e){let t,n;return e===this.firstMenuitem?t=this.lastMenuitem:(n=this.menuitemNodes.indexOf(e),t=this.menuitemNodes[n-1]),this.setFocusToMenuitem(t),t}setFocusToNextMenuitem(e){let t,n;return e===this.lastMenuitem?t=this.firstMenuitem:(n=this.menuitemNodes.indexOf(e),t=this.menuitemNodes[n+1]),this.setFocusToMenuitem(t),t}setFocusByFirstCharacter(e,t){let n,o;t.length>1||(t=t.toLowerCase(),(n=this.menuitemNodes.indexOf(e)+1)>=this.menuitemNodes.length&&(n=0),-1===(o=this.firstChars.indexOf(t,n))&&(o=this.headingLevels.indexOf(t,n)),-1===o&&(o=this.firstChars.indexOf(t,0)),-1===o&&(o=this.headingLevels.indexOf(t,0)),o>-1&&this.setFocusToMenuitem(this.menuitemNodes[o]))}getIndexFirstChars(e,t){for(let n=e;n<this.firstChars.length;n+=1)if(t===this.firstChars[n])return n;return-1}openPopup(){this.menuNode.setAttribute("aria-busy","true");const e=80*window.innerHeight/100;this.menuNode.style.maxHeight=e+"px",this.renderMenu(),this.menuNode.style.display="block";const t=this.buttonNode.getBoundingClientRect(),n=this.menuNode.getBoundingClientRect(),o=window.innerWidth-t.left-n.width-8;o<0&&(t.left+o<0?this.menuNode.style.left=8-t.left+"px":this.menuNode.style.left=o+"px"),this.menuNode.removeAttribute("aria-busy"),this.buttonNode.setAttribute("aria-expanded","true")}
18closePopup(){this.isOpen()&&(this.buttonNode.setAttribute("aria-expanded","false"),this.menuNode.style.display="none")}isOpen(){return"true"===this.buttonNode.getAttribute("aria-expanded")}removeHoverClass(){this.menuitemNodes.forEach(e=>{e.classList.remove("hover")})}handleFocusin(){this.containerNode.classList.add("focus")}handleFocusout(){this.containerNode.classList.remove("focus")}handleButtonKeydown(e){let t=!1;switch(e.key){case" ":case"Enter":case"ArrowDown":case"Down":this.openPopup(),this.setFocusToFirstMenuitem(),t=!0;break;case"Esc":case"Escape":this.closePopup(),this.buttonNode.focus(),t=!0;break;case"Up":case"ArrowUp":this.openPopup(),this.setFocusToLastMenuitem(),t=!0}t&&(e.stopPropagation(),e.preventDefault())}handleButtonClick(e){this.isOpen()?(this.closePopup(),this.buttonNode.focus()):(this.openPopup(),this.setFocusToFirstMenuitem()),e.stopPropagation(),e.preventDefault()}handleDocumentKeydown(e){const t=e.target,n=t.tagName?t.tagName.toLowerCase():"",o="input"===n?t.type.toLowerCase():"";if("textarea"!==n&&("input"!==n||"input"===n&&["button","checkbox","color","file","image","radio","range","reset","submit"].includes(o))){const t=this.usesAltKey&&e.altKey&&!e.ctrlKey&&!e.shiftKey&&!e.metaKey,n=this.usesOptionKey&&e.altKey&&!e.ctrlKey&&!e.shiftKey&&!e.metaKey;(n&&this.config.optionShortcut===e.key||t&&this.config.altShortcut===e.key||(n||t)&&48===e.keyCode)&&(this.openPopup(),this.setFocusToFirstMenuitem(),e.stopPropagation(),e.preventDefault())}}handleMenuitemAction(e){switch(e.getAttribute("data-id")){case"":break;default:this.closePopup(),L(e)}}handleMenuitemKeydown(e){let t=e.currentTarget,n=e.key,o=!1;function i(e){return 1===e.length&&e.match(/\S/)}if(!(e.ctrlKey||e.altKey||e.metaKey)){if(e.shiftKey)i(n)&&(this.setFocusByFirstCharacter(t,n),o=!0),"Tab"===e.key&&(this.buttonNode.focus(),this.closePopup(),o=!0);else switch(n){case"Enter":case" ":this.handleMenuitemAction(t),o=!0;break;case"Esc":case"Escape":this.closePopup(),this.buttonNode.focus(),o=!0;break;case"Up":case"ArrowUp":this.setFocusToPreviousMenuitem(t),o=!0;break;case"ArrowDown":case"Down":this.setFocusToNextMenuitem(t),o=!0;break;case"Home":case"PageUp":this.setFocusToFirstMenuitem(),o=!0;break;case"End":case"PageDown":this.setFocusToLastMenuitem(),o=!0;break;case"Tab":this.closePopup();break;default:i(n)&&(this.setFocusByFirstCharacter(t,n),o=!0)}o&&(e.stopPropagation(),e.preventDefault())}}handleMenuitemClick(e){this.handleMenuitemAction(e.currentTarget),e.stopPropagation(),e.preventDefault()}handleMenuitemPointerenter(e){let t=e.currentTarget;this.removeHoverClass(),t.classList.add("hover")}handleMenuitemPointerleave(e){e.currentTarget.classList.remove("hover")}handleBackgroundPointerdown(e){this.containerNode.contains(e.target)||this.isOpen()&&(this.closePopup(),this.buttonNode.focus())}}new e("skipto",!1).flag=!0,function(){const e={skipToId:"id-skip-to",domNode:null,buttonNode:null,menuNode:null,menuitemNodes:[],firstMenuitem:!1,lastMenuitem:!1,firstChars:[],headingLevels:[],skipToIdIndex:1,config:{enableHeadingLevelShortcuts:!0,altShortcut:"0",optionShortcut:"º",attachElement:"body",displayOption:"static",containerElement:"nav",containerRole:"",customClass:"",buttonLabel:"Skip To Content",smallButtonLabel:"SkipTo",altLabel:"Alt",optionLabel:"Option",buttonShortcut:" ($modifier+$key)",altButtonAriaLabel:"Skip To Content, shortcut Alt plus $key",optionButtonAriaLabel:"Skip To Content, shortcut Option plus $key",menuLabel:"Landmarks and Headings",landmarkGroupLabel:"Landmark Regions",headingGroupLabel:"Headings",headingLevelLabel:"Heading level",mainLabel:"main",searchLabel:"search",navLabel:"navigation",regionLabel:"region",asideLabel:"complementary",footerLabel:"contentinfo",headerLabel:"banner",formLabel:"form",msgNoLandmarksFound:"No landmarks found",msgNoHeadingsFound:"No headings found",landmarks:"main search navigation complementary",headings:"main h1 h2",colorTheme:"",fontFamily:"",fontSize:"",positionLeft:"",smallBreakPoint:"",mediumBreakPoint:"",menuTextColor:"",menuBackgroundColor:"",menuitemFocusTextColor:"",menuitemFocusBackgroun
18dColor:"",focusBorderColor:"",buttonTextColor:"",buttonBackgroundColor:"",zIndex:""},colorThemes:{default:{fontFamily:"inherit",fontSize:"inherit",positionLeft:"46%",smallBreakPoint:"576",mediumBreakPoint:"992",menuTextColor:"#1a1a1a",menuBackgroundColor:"#dcdcdc",menuitemFocusTextColor:"#eeeeee",menuitemFocusBackgroundColor:"#1a1a1a",focusBorderColor:"#1a1a1a",buttonTextColor:"#1a1a1a",buttonBackgroundColor:"#eeeeee",zIndex:"100000"},aria:{hostnameSelector:"w3.org",pathnameSelector:"ARIA/apg",fontFamily:"sans-serif",fontSize:"10pt",positionLeft:"7%",menuTextColor:"#000",menuBackgroundColor:"#def",menuitemFocusTextColor:"#fff",menuitemFocusBackgroundColor:"#005a9c",focusBorderColor:"#005a9c",buttonTextColor:"#005a9c",buttonBackgroundColor:"#ddd"},illinois:{hostnameSelector:"illinois.edu",menuTextColor:"#00132c",menuBackgroundColor:"#cad9ef",menuitemFocusTextColor:"#eeeeee",menuitemFocusBackgroundColor:"#00132c",focusBorderColor:"#ff552e",buttonTextColor:"#444444",buttonBackgroundColor:"#dddede"},skipto:{hostnameSelector:"skipto-landmarks-headings.github.io",fontSize:"14px",menuTextColor:"#00132c",menuBackgroundColor:"#cad9ef",menuitemFocusTextColor:"#eeeeee",menuitemFocusBackgroundColor:"#00132c",focusBorderColor:"#ff552e",buttonTextColor:"#444444",buttonBackgroundColor:"#dddede"},uic:{hostnameSelector:"uic.edu",menuTextColor:"#001e62",menuBackgroundColor:"#f8f8f8",menuitemFocusTextColor:"#ffffff",menuitemFocusBackgroundColor:"#001e62",focusBorderColor:"#d50032",buttonTextColor:"#ffffff",buttonBackgroundColor:"#001e62"},uillinois:{hostnameSelector:"uillinois.edu",menuTextColor:"#001e62",menuBackgroundColor:"#e8e9ea",menuitemFocusTextColor:"#f8f8f8",menuitemFocusBackgroundColor:"#13294b",focusBorderColor:"#dd3403",buttonTextColor:"#e8e9ea",buttonBackgroundColor:"#13294b"},uis:{hostnameSelector:"uis.edu",menuTextColor:"#036",menuBackgroundColor:"#fff",menuitemFocusTextColor:"#fff",menuitemFocusBackgroundColor:"#036",focusBorderColor:"#dd3444",buttonTextColor:"#fff",buttonBackgroundColor:"#036"},openweba11y:{hostnameSelector:"openweba11y.com",buttonTextColor:"#13294B",buttonBackgroundColor:"#dddddd",focusBorderColor:"#C5050C",menuTextColor:"#13294B",menuBackgroundColor:"#dddddd",menuitemFocusTextColor:"#dddddd",menuitemFocusBackgroundColor:"#13294B",fontSize:"90%"}},init:function(e){let t;if(document.skipToHasBeenLoaded)return void console.warn("[skipTo.js] Skipto is already loaded!");document.skipToHasBeenLoaded=!0;let n=document.body;e&&(this.config=this.setupConfigFromGlobal(this.config,e)),this.config=this.setupConfigFromDataAttribute(this.config),"string"==typeof this.config.attachElement&&(t=document.querySelector(this.config.attachElement))&&t.nodeType===Node.ELEMENT_NODE&&(n=t),i(this.colorThemes,this.config,this.skipToId),new B(n,this.config,this.skipToId)},setupConfigFromGlobal:function(e,t){let n={};"object"==typeof t.settings&&"object"==typeof t.settings.skipTo?n=t.settings.skipTo:"object"==typeof t&&(n=t);for(const t in n)void 0!==e[t]&&("string"==typeof n[t]&&n[t].length>0||"boolean"==typeof n[t])?e[t]=n[t]:console.warn("[SkipTo]: Unsupported or deprecated configuration option in global configuration object: "+t);return e},setupConfigFromDataAttribute:function(e){let t={};const n=document.querySelector("[data-skipto]");if(n){const e=n.getAttribute("data-skipto");if(e){e.split(";").forEach(e=>{let[n,o]=e.split(":");n&&(n=n.trim()),o&&(o=o.trim()),n&&o&&(t[n]=o)})}}for(const n in t)void 0!==e[n]&&("string"==typeof t[n]&&t[n].length>0||"boolean"==typeof t[n])?e[n]=t[n]:console.warn("[SkipTo]: Unsupported or deprecated configuration option in data-skipto attribute: "+n);return e}};window.addEventListener("load",function(){e.init(window.SkipToConfig)})}()}();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.