1window.base={initOutlineToggle:function(){document.body.addEventListener("keydown",function(){document.body.classList.remove("hide-focus-outline")}),document.body.addEventListener("mousedown",function(){document.body.classList.add("hide-focus-outline")})},getOffset:function(e){return e instanceof HTMLElement?{top:(e=e.getBoundingClientRect()).top+window.pageYOffset,left:e.left+window.pageXOffset}:{top:null,left:null}},findParents:function(e,o){var n=[];return function e(t){t=t.parentNode;t instanceof HTMLElement&&(t.matches(o)&&n.push(t),e(t))}(e),n},toggleAttribute:function(e,t,o,n){void 0===o&&(o=!0),void 0===n&&(n=!1),e.getAttribute(t)!==o?e.setAttribute(t,o):e.setAttribute(t,n)},initNavToggleSubmenus:function(){var e=document.querySelectorAll(".nav--toggle-sub");if(e.length)for(var t=0;t<e.length;t++)window.base.initEachNavToggleSubmenu(e[t]),window.base.initEachNavToggleSubmenuInside(e[t])},initEachNavToggleSubmenu:function(e){var n=e.querySelectorAll(".menu ul");if(n.length)for(var i,t,a,o=0;o<n.length;o++)!function(o){(i=n[o].parentNode).querySelector(".dropdown-nav-toggle")&&(t=i.querySelector(".nav-drop-title-wrap").firstChild.textContent.trim(),(a=document.createElement("BUTTON")).setAttribute("aria-label",t?baseConfig.screenReader.expandOf+" "+t:baseConfig.screenReader.expand),a.classList.add("dropdown-nav-special-toggle"),i.insertBefore(a,i.childNodes[1]),a.addEventListener("click",function(e){e.preventDefault(),window.base.toggleSubMenu(e.target.closest("li"))}),i.addEventListener("mouseleave",function(e){window.base.toggleSubMenu(e.target,!1)}),i.querySelector("a").addEventListener("focus",function(e){for(var t=e.target.parentNode.parentNode.querySelectorAll("li.menu-item--toggled-on"),o=0;o<t.length;o++)i!==t[o]&&window.base.toggleSubMenu(t[o],!1)}),n[o].addEventListener("keydown",function(e){var t="ul.toggle-show > li > a, ul.toggle-show > li > .dropdown-nav-special-toggle";9===e.keyCode&&(e.shiftKey?window.base.isfirstFocusableElement(n[o],document.activeElement,t)&&window.base.toggleSubMenu(n[o].parentNode,!1):window.base.islastFocusableElement(n[o],document.activeElement,t)&&window.base.toggleSubMenu(n[o].parentNode,!1)),27===e.keyCode&&window.base.toggleSubMenu(n[o].parentNode,!1)}),n[o].parentNode.classList.add("menu-item--has-toggle"))}(o)},initEachNavToggleSubmenuInside:function(e){var n=e.querySelectorAll(".menu-item-has-children");if(n.length)for(var t=0;t<n.length;t++)!function(o){n[o].addEventListener("mouseenter",function(e){var t;n[o].querySelector("ul.sub-menu")&&(t=n[o].querySelector("ul.sub-menu"),window.base.getOffset(t).left+t.offsetWidth<=window.innerWidth||t.classList.add("sub-menu-edge"))})}(t)},toggleSubMenu:function(e,t){var o=e.querySelector(".dropdown-nav-special-toggle"),n=e.querySelector("ul"),i=e.classList.contains("menu-item--toggled-on"),a=e.querySelector(".nav-drop-title-wrap").firstChild.textContent.trim();if(o.setAttribute("aria-expanded",(!(i=void 0!==t&&"boolean"==typeof t?!t:i)).toString()),i){e.classList.remove("menu-item--toggled-on"),n.classList.remove("toggle-show"),o.setAttribute("aria-label",a?baseConfig.screenReader.expandOf+" "+a:baseConfig.screenReader.expand);for(var s=e.querySelectorAll(".menu-item--toggled-on"),r=0;r<s.length;r++)window.base.toggleSubMenu(s[r],!1)}else{for(var l=e.parentNode.querySelectorAll("li.menu-item--toggled-on"),d=0;d<l.length;d++)window.base.toggleSubMenu(l[d],!1);e.classList.add("menu-item--toggled-on"),n.classList.add("toggle-show"),o.setAttribute("aria-label",a?baseConfig.screenReader.collapseOf+" "+a:baseConfig.screenReader.collapse)}},isfirstFocusableElement:function(e,t,o){e=e.querySelectorAll(o);return 0<e.length&&t===e[0]},islastFocusableElement:function(e,t,o){e=e.querySelectorAll(o);return 0<e.length&&t===e[e.length-1]},toggleDrawer:function(e,o){o=void 0===o||o;var t,n,i,a=e,s=document.querySelector(a.dataset.toggleTarget);s&&(e=window.innerWidth-document.documentElement.clientWidth,t=a.dataset.toggleDuration||250,window.base.toggleAttribute(a,"aria-expanded","true","false"),s.classList.contains("show-drawer")?(a.dataset.toggleBodyClass&&document.body.classList.remove(a.dataset.toggleBodyClass),s.classList.remove("active"),s.classList.remove("pop-animated"),document.body.classList.remove("base-scrollbar-fixer"),setTimeout(function(){s.classList.remove("show-drawer");var e=new Event("base-drawer-closed");window.dispatchEvent(e),a.dataset.setFocus&&o&&(e=document.querySelector(a.dataset.setFocus))&&(e.focus(),e.hasAttribute("aria-expanded"))&&window.base.toggleAttribute(e,"aria-expanded","true","false")},t)):(s.classList.add("show-drawer"),a.dataset.toggleBodyClass&&(document.body.classList.toggle(a.dataset.toggleBodyClass),a.dataset.toggleBodyClass.includes("showing-popup-drawer-"))&&(document.body.style.setProperty("--scrollbar-offset",e+"px"),document.body.classList.add("base-scrollbar-fixer")),setTimeout(function(){s.classList.add("active");var e,t=new Event("base-drawer-opened");window.dispatchEvent(t),a.dataset.setFocus&&o&&(t=document.querySelector(a.dataset.setFocus))&&(t.hasAttribute("aria-expanded")&&window.base.toggleAttribute(t,"aria-expanded","true","false"),e=t.value,t.value="",t.focus(),t.value=e)},10),setTimeout(function(){s.classList.add("pop-animated")},t),s.classList.contains("popup-drawer")&&(e=s.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not
1([tabindex="-1"])'),n=e[0],i=e[e.length-1],document.addEventListener("keydown",function(e){"Tab"!==e.key&&9!==e.keyCode||(e.shiftKey?document.activeElement===n&&(i.focus(),e.preventDefault()):document.activeElement===i&&(n.focus(),e.preventDefault()))}))))},initToggleDrawer:function(){var o=document.querySelectorAll(".drawer-toggle");if(o.length){for(var e=0;e<o.length;e++)!function(t){o[t].addEventListener("click",function(e){e.preventDefault(),window.base.toggleDrawer(o[t])})}(e);document.addEventListener("keyup",function(e){27===e.keyCode&&document.querySelectorAll(".popup-drawer.show-drawer.active")&&(e.preventDefault(),document.querySelectorAll(".popup-drawer.show-drawer.active").forEach(function(e){window.base.toggleDrawer(document.querySelector('*[data-toggle-target="'+e.dataset.drawerTargetString+'"]'))}))}),document.addEventListener("click",function(e){var e=e.target,t=(e===(o=document.querySelector(".show-drawer.active .drawer-overlay"))&&window.base.toggleDrawer(document.querySelector('*[data-toggle-target="'+o.dataset.drawerTargetString+'"]')),document.querySelector("#search-drawer.show-drawer.active .drawer-content")),o=document.querySelector("#search-drawer.show-drawer.active .drawer-overlay");e===t&&window.base.toggleDrawer(document.querySelector('*[data-toggle-target="'+o.dataset.drawerTargetString+'"]'))})}},initMobileToggleSub:function(){document.querySelectorAll(".has-collapse-sub-nav").forEach(function(e){e=e.querySelector(".current-menu-item");e&&window.base.findParents(e,"li").forEach(function(e){e=e.querySelector(".drawer-sub-toggle");e&&window.base.toggleDrawer(e,!0)})});var o=document.querySelectorAll(".drawer-sub-toggle");if(o.length)for(var e=0;e<o.length;e++)!function(t){o[t].addEventListener("click",function(e){e.preventDefault(),window.base.toggleDrawer(o[t])})}(e)},initMobileToggleAnchor:function(){var t=document.getElementById("mobile-drawer");if(t){var e=t.querySelectorAll("a:not(.bt-tab-title)");if(e.length)for(var o=0;o<e.length;o++)e[o].addEventListener("click",function(e){window.base.toggleDrawer(t.querySelector(".menu-toggle-close"),!1)})}},initTransHeaderPadding:function(){var t,o,e;document.body.classList.contains("no-header")||document.body.classList.contains("transparent-header")&&document.body.classList.contains("mobile-transparent-header")&&(t=document.querySelector(".entry-hero-container-inner"),o=document.querySelector("#masthead"),e=function(e){baseConfig.breakPoints.desktop<=window.innerWidth?document.body.classList.contains("transparent-header")?t.style.paddingTop=o.offsetHeight+"px":t.style.paddingTop=0:document.body.classList.contains("mobile-transparent-header")?t.style.paddingTop=o.offsetHeight+"px":t.style.paddingTop=0},t)&&(window.addEventListener("resize",e,!1),window.addEventListener("scroll",e,!1),window.addEventListener("load",e,!1),e())},initStickyHeader:function(){function t(e){var t,o=window.base.getOffset(v).top;if(document.body.classList.toString().includes("boom_bar-static-top")&&(c=document.querySelector(".boom_bar"),o=window.base.getOffset(v).top-c.offsetHeight),S.length){for(var n=0,i=0;i<S.length;i++)n+=S[i].offsetHeight;o=window.base.getOffset(v).top-n}if(L.length){for(var a=0,s=0;s<L.length;s++)a+=L[s].offsetHeight;o=window.base.getOffset(v).top+a}if(t=baseConfig.breakPoints.desktop<=window.innerWidth?p:y){baseConfig.breakPoints.desktop<=window.innerWidth?"mobile"===x?(k=window.base.getOffset(t).top,x="desktop"):e&&"updateActive"===e&&(t.style.top="auto",k=window.base.getOffset(t).top,x="desktop"):"desktop"===x?(k=window.base.getOffset(t).top,x="mobile"):e&&"updateActive"===e&&(t.style.top="auto",k=window.base.getOffset(t).top,x="mobile");var r,l,d=t.parentNode,c=t.getAttribute("data-shrink"),u=t.getAttribute("data-reveal-scroll-up"),g=parseInt(t.getAttribute("data-start-height"));if((!g||e&&void 0!==e.type&&"orientationchange"===e.type)&&(t.setAttribute("data-start-height",t.offsetHeight),g=t.offsetHeight,d.classList.contains("site-header-upper-inner-wrap")?(d.style.height=null,e&&void 0!==e.type&&"orientationchange"===e.type?t.classList.contains("item-is-fixed")?setTimeout(function(){d.style.height=Math.floor(d.offsetHeight+t.offsetHeight)+"px"},21):setTimeout(function(){d.style.height=d.offsetHeight+"px"},21):d.style.height=d.offsetHeight+"px"):d.classList.contains("site-header-inner-wrap")?(d.style.height=null,d.style.height=d.offsetHeight+"px"):d.style.height=t.offsetHeight+"px"),"true"===c){var e=t.getAttribute("data-shrink-height");if(e){c="true"===u&&window.scrollY>E?Math.floor(Math.floor(k)-Math.floor(o)+Math.floor(g)):Math.floor(k-o);var f=t.querySelectorAll(".custom-logo"),g=t.querySelector(".site-main-header-inner-wrap"),w=parseInt(g.getAttribute("data-start-height"));if(w||(g.setAttribute("data-start-height",g.offsetHeight),w=g.offsetHeight),window.scrollY<=c){if(g.style.height=w+"px",g.style.minHeight=w+"px",g.style.maxHeight=w+"px",f)for(var h=0;h<f.length;h++)f[h].style.maxHeight="100%"}else if(c<window.scrollY){var b=Math.max(e,w-(window.scrollY-(k-o)));if(g.style.height=b+"px",g.style.minHeight=b+"px",g.style.maxHeight=b+"px",f)for(var m=0;m<f.length;m++)f[m].style.maxHeight=b+"px"}}}"true"===u?(l=Math.floor(k-o),c=window.scrollY,r=t.offsetHeight,e=E-c,g=(w=window.getComputedStyle(t).getPropertyValue("transform").match(/(-?[0-9\.]+)/g))&&void 0!==w[5
1]&&w[5]?parseInt(w[5])+e:0,w=E<c,c<=l?t.style.transform="translateY(0px)":w?(t.classList.add("item-hidden-above"),t.style.transform="translateY("+(Math.abs(g)>r?-r:g)+"px)"):(l=Math.floor(k-o),t.style.transform="translateY("+(0<g?0:g)+"px)",t.classList.remove("item-hidden-above")),E=c):l=Math.floor(k-o),window.scrollY==l?(t.style.top=o+"px",t.classList.add("item-is-fixed"),t.classList.add("item-at-start"),t.classList.remove("item-is-stuck"),d.classList.add("child-is-fixed"),document.body.classList.add("header-is-fixed")):l<window.scrollY?("true"===u?window.scrollY<r+60&&t.classList.contains("item-at-start")?(t.style.height=null,t.style.top=o+"px",t.classList.add("item-is-fixed"),t.classList.add("item-is-stuck")):(t.style.top=o+"px",t.classList.add("item-is-fixed"),t.classList.add("item-is-stuck"),t.classList.remove("item-at-start")):(t.style.top=o+"px",t.classList.add("item-is-fixed"),t.classList.remove("item-at-start"),t.classList.add("item-is-stuck")),d.classList.add("child-is-fixed"),document.body.classList.add("header-is-fixed")):t.classList.contains("item-is-fixed")&&(t.classList.remove("item-is-fixed"),t.classList.remove("item-at-start"),t.classList.remove("item-is-stuck"),t.style.height=null,t.style.top=null,d.classList.remove("child-is-fixed"),document.body.classList.remove("header-is-fixed"))}}var e,o,n,p=document.querySelector("#main-header .base-sticky-header"),y=document.querySelector("#mobile-header .base-sticky-header"),v=document.getElementById("wrapper"),L=document.querySelectorAll(".base-pro-fixed-above"),S=document.querySelectorAll(".base-before-wrapper-item"),x="mobile",E=0,k=0;parseInt(baseConfig.breakPoints.desktop)<window.innerWidth?(x="desktop",p&&(p.style.position="static",k=window.base.getOffset(p).top,p.style.position=null)):y&&(y.style.position="static",k=window.base.getOffset(y).top,y.style.position=null);(p||y)&&(window.addEventListener("resize",t,!1),window.addEventListener("scroll",t,!1),window.addEventListener("load",t,!1),window.addEventListener("orientationchange",t),"complete"===document.readyState&&t("updateActive"),document.body.classList.contains("woocommerce-demo-store"))&&document.body.classList.contains("base-store-notice-placement-above")&&(e=document.querySelector(".woocommerce-store-notice"),o=function(e){t("updateActive")},n={root:document.documentElement},new IntersectionObserver(function(e,t){e.forEach(function(e){o(0<e.intersectionRatio)})},n).observe(e))},getTopOffset:function(){t="load"===(0<arguments.length&&void 0!==arguments[0]?arguments[0]:"scroll")?(e=document.querySelector("#main-header .base-sticky-header"),document.querySelector("#mobile-header .base-sticky-header")):(e=document.querySelector('#main-header .base-sticky-header:not([data-reveal-scroll-up="true"])'),document.querySelector('#mobile-header .base-sticky-header:not([data-reveal-scroll-up="true"])'));var e,t,o=0,n=0;return baseConfig.breakPoints.desktop<=window.innerWidth?(o=e?"true"!==e.getAttribute("data-shrink")||e.classList.contains("site-header-inner-wrap")?Math.floor(e.offsetHeight):Math.floor(e.getAttribute("data-shrink-height")):0,document.body.classList.contains("admin-bar")&&(n=32)):(o=t?"true"===t.getAttribute("data-shrink")?Math.floor(t.getAttribute("data-shrink-height")):Math.floor(t.offsetHeight):0,document.body.classList.contains("admin-bar")&&(n=46)),Math.floor(o+n+Math.floor(baseConfig.scrollOffset))},scrollToElement:function(e,t){t=void 0===t||t;var o=window.base.getTopOffset(2<arguments.length&&void 0!==arguments[2]?arguments[2]:"scroll"),o=Math.floor(e.getBoundingClientRect().top)-o;window.scrollBy({top:o,left:0,behavior:"smooth"}),e.tabIndex="-1",e.focus({preventScroll:!0}),e.classList.contains("bt-title-item")&&e.firstElementChild.click(),t&&window.history.pushState("","","#"+e.id)},anchorScrollToCheck:function(e,t){if(t=void 0!==t?t:null,e.target.getAttribute("href"))var o=e.target;else{if(!(o=e.target.closest("a")))return;if(!o.getAttribute("href"))return}o.parentNode&&o.parentNode.hasAttribute("role")&&"tab"===o.parentNode.getAttribute("role")||(t=t?t.getAttribute("href").substring(t.getAttribute("href").indexOf("#")):o.getAttribute("href").substring(o.getAttribute("href").indexOf("#")),(o=document.getElementById(t.replace("#","")))&&(e.preventDefault(),window.base.scrollToElement(o)))},initStickySidebarWidget:function(){var e,t;document.body.classList.contains("has-sticky-sidebar-widget")&&(e=window.base.getTopOffset(),t=document.querySelector("#secondary .sidebar-inner-wrap .widget:last-child"))&&(t.style.top=Math.floor(e+20)+"px",t.style.maxHeight="calc( 100vh - "+Math.floor(e+20)+"px )")},initStickySidebar:function(){var e,t;document.body.classList.contains("has-sticky-sidebar")&&(e=window.base.getTopOffset(),t=document.querySelector("#secondary .sidebar-inner-wrap"))&&(t.style.top=Math.floor(e+20)+"px",t.style.maxHeight="calc( 100vh - "+Math.floor(e+20)+"px )")},initAnchorScrollTo:function(){if(!document.body.classList.contains("no-anchor-scroll")){if(window.onhashchange=function(){""===window.location.hash&&(window.scrollTo({top:0,behavior:"smooth"}),document.activeElement.blur())},""!=window.location.hash){var e,t=location.hash.substring(1);if(!/^[A-z0-9_-]+$/.test(t))return;(e=document.getElementById(t))&&window.setTimeout(function(){window.base.scrollToElement(e,!1,"load")},100)}t=document.querySelectorAll("a[href*=\\#]:not([href=\\#]):not(.scroll-ignore):not([data-tab]):not([data-toggle])");t.length&&t.forEach(function(t){try{new URL(t.href).pathname===window.location.pathname&&t.addEventListener("click",function(e){window.base.anchorScrollToCheck(e)})}catch(e){console.log("ClassList: "+t.classList,"Invalid URL")}})}},initScrollToTop:function(){var e=document.getElementById("bt-scroll-up"),t=(e&&(t=function(){100<window.scrollY?e.classList.add("scroll-visible"):e.classList.remove("scroll-visible")},window.addEventListener("scroll",t),t(),e.addEventListener("click",function(e){e.preventDefault(),window.scrollTo({top:0,behavior:"smooth"}),document.activeElement.blur()})),document.getElementById("bt-scroll-up-reader"));t&&t.addEventListener("click",function(e){e.preventDefault(),window.scrollTo({top:0,behavior:"smooth"}),document.querySelector(".skip-link").focus()})},init:function(){window.base.initNavToggleSubmenus(),window.base.initToggleDrawer(),window.base.initMobileToggleAnchor(),window.base.initMobileToggleSub(),window.base.initOutlineToggle(),window.base.initStickyHeader(),window.base.initStickySidebar(),window.base.initStickySidebarWidget(),window.base.initTransHeaderPadding(),window.base.initAnchorScrollTo(),window.base.initScrollToTop()}},"loading"===document.readyState?document.addEventListener("DOMContentLoaded",window.base.init):window.base.init();
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.