PageSourceSearch

https://www.clubpilates.com/hubfs/hub_generated/module_assets/1/15…/module_global-footer-main.min.js

js clubpilates.com collected 2026-09-25 00:11:19 UTC 3,244 bytes, 2 lines download raw bytes

1var module_9533059=void $((()=>{const $globalFooterLinks=$(".global-footer__links"),$globalFooterLegalLinks=$(".global-footer__legal"),$globalFooterSocialLinks=$(".global-footer__social");let $cookieConfirmationContainer,$focusableEls,$elToFocus,maxTrialCount=5;$(window).on("load",(()=>{$globalFooterLinks.find('ul[role="menu"], li[role="none"], a[role="menuitem"]').each(((index,elem)=>{$(elem).removeAttr("role"),$(elem).removeAttr("aria-haspopup"),$(elem).removeAttr("aria-expanded")})),$globalFooterLinks.find('div[role="navigation"]').each(((index,elem)=>{$(elem).removeAttr("role"),$(elem).removeAttr("aria-label")})),$globalFooterLegalLinks.find('div[role="navigation"]').each(((index,elem)=>{$(elem).removeAttr("role"),$(elem).removeAttr("aria-label")})),$globalFooterLinks.find('a[href*="javascript:;"]').each(((index,elem)=>{const newHeading=document.createElement("div");for($(elem).attr({role:"heading","aria-level":"3"}),elem.removeAttribute("aria-haspopup"),elem.removeAttribute("aria-expanded"),index=elem.attributes.length-1;index>-1;--index){const attribute=elem.attributes[index];newHeading.setAttribute(attribute.name,attribute.value)}newHeading.removeAttribute("href"),newHeading.textContent=elem.textContent,elem.parentNode.insertBefore(newHeading,elem.nextSibling),elem.remove()})),$globalFooterLinks.find('ul[class="hs-menu-children-wrapper"]').each(((index,elem)=>{$(elem).attr({role:"presentation"})})),$globalFooterLegalLinks.find('ul[role="menu"], a[role="menuitem"], li[role="none"]').each(((index,elem)=>{$(elem).removeAttr("role")})),$globalFooterSocialLinks.find(".global-footer__social-text").attr({role:"heading","aria-level":"3"}),$focusableEls=$(".hs-site-page").find("a, button, input, select, textarea")}));const handleCookieLastElKeydown=e=>{("Tab"===e.key||9===e.keyCode)&&!e.shiftKey&&(e.preventDefault(),$focusableEls.each(((index,elem)=>{elem.innerHTML===e.target.innerHTML&&($elToFocus=$focusableEls[index+1])})),$elToFocus.focus())},checkInterval=setInterval((()=>{if($cookieConfirmationContainer=$("#hs-eu-cookie-confirmation"),$cookieConfirmationContainer.length>0){const $focusableCookieEls=$cookieConfirmationContainer.find("a, button, input, select, textarea"),$lastFocusableCookieEl=$($focusableCookieEls[$focusableCookieEls.length-1]);$cookieConfirmationContainer.attr({role:"region","aria-label":"Cookie consent banner"}),$cookieConfirmationContainer.removeAttr("aria-describedby"),$cookieConfirmationContainer.removeAttr("tabindex"),$lastFocusableCookieEl.on("keydown",handleCookieLastElKeydown),clearInterval(checkInterval)}else 0==--maxTrialCount&&clearInterval(checkInterval)}),1e3);if(document.getElementById("global-footer-main").dataset.showBadges){const badges=document.querySelector(".global-footer__badges");badges.classList.remove("d-none"),badges.classList.add("d-flex"),document.querySelectorAll(".global-footer__links-content ul:first-child").forEach(((linksContainer,index)=>{if(0===index)linksContainer.appendChild(badges);else{const badgesClone=badges.cloneNode(!0);linksContainer.appendChild(badgesClone)}}))}}));
2//# sourceURL=https://3928543.fs1.hubspotusercontent-na1.net/hubfs/3928543/hub_generated/module_assets/1/15334720802/1740794053826/module_global-footer-main.js

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.