PageSourceSearch

https://www.panopto.com/wp-content/themes/panopto-theme/dist/js/frontend.js?ver=28abd549542e2454bd5b

js panopto.com collected 2026-10-01 08:04:38 UTC 6,743 bytes, 1 lines download raw bytes

1!function(){"use strict";const e=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[tabindex]:not([tabindex="-1"])'].join(", "),t=e=>{if(e.hidden)return!1;const t=window.getComputedStyle(e);return"none"!==t.display&&"hidden"!==t.visibility};const n=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[tabindex]:not([tabindex="-1"])'].join(", "),r=e=>Array.from(e.querySelectorAll(n));const o=e=>{const t=e.offsetWidth,n=e.offsetHeight;if(!t||!n)return;const r=e.querySelector(".button__icon"),o=r?.offsetWidth||36,i=Math.ceil(2*Math.hypot(t,n/2)/o)+1;e.style.setProperty("--button-fill-scale",`${i}`)};!function(){const e=document.querySelector(".site-header");if(!e)return;const t=e.closest(".wp-block-template-part--header")||e,n=e.querySelector(".site-header__top-nav");let r=0,o=0;const i=()=>{const e=r>0&&window.scrollY>r;t.classList.toggle("is-scrolled",e),document.documentElement.style.setProperty("--site-header-block-size",o-(e?r:0)+"px")},a=()=>{r=(()=>{if(!n)return 0;const e=window.getComputedStyle(n);return"none"===e.display?0:n.offsetHeight+parseFloat(e.marginBlockEnd||"0")})(),o=e.offsetHeight,t.style.setProperty("--site-header-top-nav-block-size",`${r}px`),i()};a();let s=!1;window.addEventListener("scroll",()=>{s||(s=!0,window.requestAnimationFrame(()=>{i(),s=!1}))},{passive:!0}),window.addEventListener("resize",a),"ResizeObserver"in window&&new ResizeObserver(a).observe(e)}(),function(){const e=document.querySelectorAll(".mobile-nav__button[aria-controls]");if(!e.length)return;const t=document.querySelector(".mobile-nav"),n=(t,n)=>{const r=document.getElementById(t.getAttribute("aria-controls"));r&&(r.setAttribute("aria-hidden",n?"false":"true"),t.setAttribute("aria-expanded",n?"true":"false"),(()=>{const t=Array.from(e).some(e=>"true"===e.getAttribute("aria-expanded"));document.body.classList.toggle("is-mobile-nav-sublist-open",t)})())};e.forEach(e=>{const t=document.getElementById(e.getAttribute("aria-controls"));if(!t)return;e.setAttribute("aria-expanded","false"),e.addEventListener("click",()=>{n(e,!0);const r=t.querySelector(".mobile-nav__sublist-back-button");r&&r.focus()});const r=t.querySelector(".mobile-nav__sublist-back-button");r&&r.addEventListener("click",()=>{n(e,!1),e.focus()})}),t&&t.addEventListener("mobile-nav:close",()=>{e.forEach(e=>n(e,!1))}),document.addEventListener("keydown",t=>{if("Escape"!==t.key)return;const r=Array.from(e).findLast(e=>"true"===e.getAttribute("aria-expanded"));r&&(n(r,!1),r.focus(),t.stopImmediatePropagation())})}(),function(){const e=document.querySelector(".mobile-nav"),t=document.querySelectorAll(".mobile-nav-toggle");if(!e||!t.length)return;e.id||(e.id="mobile-nav");let n=0;const r=r=>{e.setAttribute("aria-hidden",r?"false":"true"),t.forEach(e=>e.setAttribute("aria-expanded",r?"true":"false")),document.body.classList.toggle("mobile-nav-open",r),r?(()=>{n=window.scrollY;const{style:e}=document.body;e.setProperty("position","fixed"),e.setProperty("inset-block-start",`-${n}px`),e.setProperty("inset-inline","0"),e.setProperty("inline-size","100%")})():(()=>{const{style:e}=document.body;e.removeProperty("position"),e.removeProperty("inset-block-start"),e.removeProperty("inset-inline"),e.removeProperty("inline-size"),window.scrollTo(0,n)})(),e.dispatchEvent(new CustomEvent(r?"mobile-nav:open":"mobile-nav:close"))};t.forEach(t=>{t.setAttribute("aria-controls",e.id),t.setAttribute("aria-expanded","false"===e.getAttribute("aria-hidden")?"true":"false"),t.addEventListener("click",()=>{r("false"!==e.getAttribute("aria-hidden"))})}),document.addEventListener("keydown",t=>{if("Escape"!==t.key)return;if("false"!==e.getAttribute("aria-hidden"))return;r(!1);const n=document.querySelector(".site-header__mobile-nav-toggle .mobile-nav-toggle");n&&n.focus()})}(),function(){const n=document.querySelector(".mobile-nav");if(!n)return;const r=document.querySelectorAll(".mobile-nav__button[aria-controls]"),o=document.querySelector(".mobile-nav__toggle .mobile-nav-toggle");document.addEventListener("keydown",i=>{if("Tab"!==i.key)return;const a=(()=>{const e=Array.from(r).findLast(e=>"true"===e.getAttribute("aria-expanded"));return e?document.getElementById(e.getAttribute("aria-controls")):"false"===n.getAttribute("aria-hidden")?n:null})();if(!a)return;const s=(d=a,Array.from(d.querySelectorAll(e)).filter(t));var d;if(o&&t(o)&&s.push(o),!s.length)return;const c=s[0],u=s[s.length-1],l=n.ownerDocument.activeElement;if(!(a.contains(l)||l===o))return i.preventDefault(),void c.focus();
1i.shiftKey&&l===c?(i.preventDefault(),u.focus()):i.shiftKey||l!==u||(i.preventDefault(),c.focus())})}(),function(){const e=document.querySelectorAll(".desktop-nav__button[aria-controls]");if(!e.length)return;const t=document.querySelector('.desktop-nav__list[data-level="1"]'),n=(e,t)=>{const n=document.getElementById(e.getAttribute("aria-controls"));n&&(n.setAttribute("aria-hidden",t?"false":"true"),e.setAttribute("aria-expanded",t?"true":"false"))},o=()=>{e.forEach(e=>n(e,!1))};e.forEach(e=>{const i=document.getElementById(e.getAttribute("aria-controls"));if(!i)return;e.setAttribute("aria-expanded","false"),i.setAttribute("aria-hidden","true"),e.addEventListener("click",()=>{const t="true"===e.getAttribute("aria-expanded");o(),t||n(e,!0)}),e.addEventListener("keydown",t=>{if("Tab"!==t.key||t.shiftKey)return;if("true"!==e.getAttribute("aria-expanded"))return;const n=r(i)[0];n&&(t.preventDefault(),n.focus())}),i.addEventListener("keydown",o=>{if("Tab"!==o.key)return;const a=r(i);if(!a.length)return;const s=a[0],d=a[a.length-1],c=i.ownerDocument.activeElement;if(o.shiftKey&&c===s)return o.preventDefault(),void e.focus();o.shiftKey||c!==d||(e=>{if(!t)return!1;const n=r(t),o=n.indexOf(e),i=n[o+1];return!!i&&(i.focus(),!0)})(e)&&(o.preventDefault(),n(e,!1))});const a=()=>{window.requestAnimationFrame(()=>{const t=i.ownerDocument.activeElement;e.contains(t)||i.contains(t)||n(e,!1)})};e.addEventListener("focusout",a),i.addEventListener("focusout",a)}),document.addEventListener("click",t=>{if(!Array.from(e).some(e=>"true"===e.getAttribute("aria-expanded")))return;if(Array.from(e).some(e=>e.contains(t.target)))return;Array.from(e).some(e=>{const n=document.getElementById(e.getAttribute("aria-controls"));return n&&n.contains(t.target)})||o()}),document.addEventListener("keydown",t=>{if("Escape"!==t.key)return;const n=Array.from(e).find(e=>"true"===e.getAttribute("aria-expanded"));n&&(o(),n.focus(),t.stopImmediatePropagation())})}(),function(){const e=new ResizeObserver(e=>{e.forEach(e=>o(e.target))});document.querySelectorAll(".button--primary, .button--secondary").forEach(t=>{o(t),e.observe(t)})}()}();

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.