PageSourceSearch

https://www.killaloe-hagarty-richards.ca/themes/custom/up3theme/js/libraries/nav/submenu-trigger.min.js?v=1.x

js killaloe-hagarty-richards.ca collected 2026-09-24 13:15:55 UTC 2,469 bytes, 1 lines download raw bytes

1!function(){"use strict";var e=[,function(e,t,n){function r(e){var t=parseInt(window.getComputedStyle(document.getElementsByTagName("html")[0]).fontSize);return e?parseInt(t*e):t}function i(e){return e.getBoundingClientRect().top<=window.innerHeight}function o(e){var t=e.querySelectorAll(".swiper-slide.swiper-slide-active"),n=e.querySelectorAll(".swiper-slide:not(.swiper-slide-active)");t.forEach((function(e){e.querySelectorAll("a").forEach((function(e){return e.removeAttribute("tabindex")})),e.removeAttribute("tabindex")})),n.forEach((function(e){e.querySelectorAll("a").forEach((function(e){return e.setAttribute("tabindex",-1)})),e.setAttribute("tabindex",-1)}))}function u(e,t){e.querySelector(".slider-controls__index .current").innerHTML=null!=t&&t.realIndex?(null==t?void 0:t.realIndex)+1:1}function a(e,t){e.querySelector(".slider-controls__index .total").innerHTML=t,e.classList.remove("slider-controls--hidden")}n.r(t),n.d(t,{inView:function(){return i},rem:function(){return r},sliderStartingData:function(){return a},toggleSlidesAttribute:function(){return o},updateCurrentSlideNumber:function(){return u}})}],t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};!function(){n.r(r);var e=n(1);!function(t){var n;function r(){t(".nav--main .submenu-trigger").length&&(window.innerWidth>(0,e.rem)(64)?t(".nav--main .submenu-trigger").attr("disabled",!0):t(".nav--main .submenu-trigger").attr("disabled",!1))}t(".submenu-trigger").on("click",(function(){t(this).attr("aria-expanded",(function(e,t){return"false"==t?"true":"false"})).attr("aria-label",(function(e,t){return t.indexOf("Open the")>-1?t.replace("Open the","Close the"):t.replace("Close the","Open the")})),t(this).parent().parent().toggleClass("is-open").siblings().find(".submenu-trigger").attr("aria-expanded",!1).attr("aria-label",(function(e,t){if(t.indexOf("Close the")>-1)return t.replace("Close the","Open the")})).parent().parent().removeClass("is-open")})),t(window).on("load resize",(function(){clearTimeout(n),n=setTimeout(r,250)})),r()}(jQuery)}()}();

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.