1"use strict";function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,t)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArrayLimit(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],u=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(e){c=!0,o=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}function _arrayWithHoles(e){if(Array.isArray(e))return e}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(e,t):void 0}}function _iterableToArray(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function _callSuper(e,t,n){return t=_getPrototypeOf(t),_possibleConstructorReturn(e,_isNativeReflectConstruct()?Reflect.construct(t,n||[],_getPrototypeOf(e).constructor):t.apply(e,n))}function _possibleConstructorReturn(e,t){if(t&&("object"==_typeof(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(e)}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _getPrototypeOf(e){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},_getPrototypeOf(e)}function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_setPrototypeOf(e,t)}function _construct(e,t,n){if(_isNativeReflectConstruct())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var o=new(e.bind.apply(e,r));return n&&_setPrototypeOf(o,n.prototype),o}function _setPrototypeOf(e,t){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_setPrototypeOf(e,t)}function _isNativeReflectConstruct(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(_isNativeReflectConstruct=function(){return!!e})()}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,_toPropertyKey(r.key),r)}}function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function _toPropertyKey(e){var t=_toPrimitive(e,"string");return"symbol"==_typeof(t)?t:t+""}function _toPrimitive(e,t){if("object"!=_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=_typeof(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}!function(){var e,t=function(){function e(t,n){_classCallCheck(this,e),this.el=n,t.instances||(t.instances=[]),t.instances.push(this)}return _createClass(e,[{key:"maybeCall",value:function(e){if("function"==typeof this[e]){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return(t=this[e]).call.apply(t,[this].concat(r)),!0}return!1}},{key:"setElement",value:function(e){this.el=e}},{key:"destroy",value:function(){}}],[{key:"getInstances",value:function(e){return e.instances||[]}},{key:"findInstance",value:function(t,n){var r=e.getInstances(t);for(var o in r)if(n===r[o].el)return r[o];return!1}},{key:"getInstanceById",value:function(t,n){var r=e.getInstances(t);for(var o in r)if(n===r[o].el.id)return r[o];return!1}},{key:"getInstance",value:function(t,n){if(!n)return!1;for(var r=e.findInstance(t,n),o=arguments.length,i=new Array(o>2?o-2:0),a=2;a<o;a++)i[a-2]=arguments[a];return!1===r?_construct(t,[n].concat(i)):r}},{key:"cleanup",value:function(t){var n=e.getInstances(t);for(var r in n)document.contains(n[r].el)||(n[r].destroy(),delete n[r]);t.instances=n.filter((function(){return!0}))}}])}(),n=function(e,t){window.dataLayer=window.dataLayer||[],window.dataLayer.push(Object.assign({event:e},t))},r=function(e){function r(e){var t;_classCallCheck(this,r),(t=_callSuper(this,r,[r,e])).dropdownBtn=document.querySelectorAll(".dropdown-btn"),t.dropdown=document.querySelectorAll(".dropdown"),t.hamburgerBtn=document.getElementById("hamburger"),t.n
1avMenu=document.querySelector(".cp-nav-menu"),t.links=document.querySelectorAll(".dropdown a"),t.headerCta=document.querySelector(".cp-header-cta"),t.checkScroll=!0,t.scrollY=0,t.mouseCoord=[0,0],t.eventLinks=e.querySelectorAll("a");var n=t;return["cp-nav--blue","cp-nav--dark"].forEach((function(t){!n.themeClass&&e.classList.contains(t)&&(n.themeClass=t)})),t.themeClass=t.themeClass||!1,t.init(),t.trackMouse=t.trackMouse.bind(t),t.isDesktop=t.isDesktop.bind(t),t.toggleThemeColor=t.toggleThemeColor.bind(t),t}return _inherits(r,e),_createClass(r,[{key:"init",value:function(){this.initDropdown(),this.initCloseDropdown(),this.hamburgerBtn.addEventListener("click",this.toggleHamburger.bind(this)),this.scrollUpShowMenu(),this.initHoverColor(),this.initHoverDropdown(),this.initGTM()}},{key:"toggleThemeColor",value:function(e){this.themeClass&&(this.el.offsetTop>0?this.el.classList.remove(this.themeClass):this.el.classList.toggle(this.themeClass,e))}},{key:"isDesktop",value:function(){return 0===this.hamburgerBtn.clientHeight}},{key:"trackMouse",value:function(e){this.mouseCoord=[e.clientX,e.clientY]}},{key:"toggletMouseTrack",value:function(){this.el.querySelector(".dropdown.active")?window.addEventListener("mousemove",this.trackMouse):window.removeEventListener("mousemove",this.trackMouse)}},{key:"initHoverColor",value:function(){var e=this;this.themeClass&&(this.el.addEventListener("mouseover",(function(t){return e.isDesktop()&&e.toggleThemeColor(!1)})),this.el.addEventListener("mouseleave",(function(t){return e.isDesktop()&&e.toggleThemeColor(!0)})))}},{key:"initHoverDropdown",value:function(){var e=this;this.dropdownBtn.forEach((function(t){t.addEventListener("mouseover",(function(n){e.isDesktop()&&"false"===t.getAttribute("aria-expanded")&&t.click()}));var n=document.getElementById(t.dataset.dropdown);[n,t].forEach((function(r){r.addEventListener("mouseleave",(function(r){return setTimeout((function(){var r,o=(r=document).elementFromPoint.apply(r,_toConsumableArray(e.mouseCoord));o&&[n,t].includes(o.closest(".dropdown, .dropdown-btn"))||e.isDesktop()&&"true"===t.getAttribute("aria-expanded")&&t.click()}),1e3)}))}))})),this.el.addEventListener("mouseleave",(function(t){return e.el.querySelectorAll('.dropdown-btn[aria-expanded="true"]').forEach((function(t){return e.isDesktop()&&t.click()}))}))}},{key:"initDropdown",value:function(){var e=this;this.dropdownBtn.forEach((function(t){t.addEventListener("click",(function(n){var r=n.currentTarget.dataset.dropdown,o=document.getElementById(r);e.dropdown.forEach((function(e){e.id!==t.dataset.dropdown&&e.classList.remove("active")})),e.dropdownBtn.forEach((function(e){e!==t&&e.setAttribute("aria-expanded","false")})),n.stopPropagation(),t.setAttribute("aria-expanded","false"===t.getAttribute("aria-expanded")?"true":"false"),o.classList.toggle("active","true"===t.getAttribute("aria-expanded")),e.toggletMouseTrack()}))}))}},{key:"initCloseDropdown",value:function(){var e=this;document.documentElement.addEventListener("click",(function(){e.closeDropdownMenu(),e.setAriaExpandedFalse()})),document.addEventListener("keydown",(function(t){"Escape"===t.key&&(e.closeDropdownMenu(),e.setAriaExpandedFalse(),e.closeMainMenu())})),window.addEventListener("resize",(function(){window.innerWidth>1150&&(e.closeDropdownMenu(),e.setAriaExpandedFalse(),e.closeMainMenu())}))}},{key:"setAriaExpandedFalse",value:function(){this.dropdownBtn.forEach((function(e){return e.setAttribute("aria-expanded","false")}))}},{key:"closeDropdownMenu",value:function(){this.dropdown.forEach((function(e){e.classList.remove("active"),e.addEventListener("click",(function(e){return e.stopPropagation()}))}))}},{key:"closeMainMenu",value:function(){this.navMenu.classList.remove("show"),document.documentElement.classList.remove("no-scroll"),this.hamburgerBtn.setAttribute("aria-expanded","false"),this.themeClass&&this.el.classList.add(this.themeClass)}},{key:"toggleHamburger",value:function(){this.hamburgerBtn.setAttribute("aria-expanded","false"===this.hamburgerBtn.getAttribute("aria-expanded")?"true":"false"),this.navMenu.classList.toggle("show","true"===this.hamburgerBtn.getAttribute("aria-expanded")),document.documentElement.classList.toggle("no-scroll","true"===this.hamburgerBtn.getAttribute("aria-expanded")),this.toggleThemeColor("false"===this.hamburgerBtn.getAttribute("aria-expanded"))}},{key:"scrollUpShowMenu",value:function(){var e=this,t=this,n=0,r=function(){var e=!1,t=window.scrollY||document.documentElement.scrollTop;return t>n&&(e=!0),n=t,e};window.addEventListener("scroll",(function(){if(t.checkScroll){var n=window.scrollY||document.documentElement.scrollTop;r()?document.body.classList.remove("cp-header--show"):!1===r()&&n>t.el.offsetHeight?(document.body.classList.add("cp-header--show"),e.toggleThemeColor(!0)):e.toggleThemeColor(!0)}}))}},{key:"initGTM",value:function(){this.eventLinks.forEach((function(e){!function(e,t){var r=e.innerText.trim();""!==r&&e.addEventListener("click",(function(){n("menu_clicks",{menu_item:r,ui_location:t})}))}(e,"main_menu")}))}}],[{key:"getInstance",value:function(e){return t.getInstance(r,e)}},{key:"getInstances",value:function(){return t.getInstances(r)}},{key:"cleanup",value:function(){return t.cleanup(r)}}])}(t);function o(){document.querySelectorAll(".cp-nav").forEach((function(e){r.getInstance(e)})),r.cleanup()}function i(){document.querySelectorAll("[data-scroll-to]").forEach((function(e){e.addEventListener("click",(function(t){t.preventDefault(),function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:95;if(!e)return;var n=e.getBoundingClientRect().top+window.scrollY-t;console.log(t),window.scrollTo({top:n,behavior:"smooth"})}(document.querySelector(e.dataset.scrollTo)),e.blur&&e.blur()}))}))}function a(e){var t=!0,n=!1,r=null;function o(e){e.altKey||e.ctrlKey||e.metaKey||(t=!0)}function i(){t=!1}function a(n){n.target!==e&&"HTML"!==n.target.nodeName&&t&&(n.target.setAttribute("keyboard-focus",""),t=!1)}function s(t){t.target!==e&&"HTML"!==t.target.nodeName&&t.target.hasAttribute("keyboard-focus")&&(n=!0,clearTimeout(r),r=setTimeout((function(){n=!1,clearTimeout(r)}),100),t.target.removeAttribute("keyboard-focus"))}function u(){"hidden"===e.visibilityState&&(n&&(t=!0),c())}function c(){e.addEventListener("mousemove",l),e.addEventListener("mousedown",l),e.addEventListener("mouseup",l),e.addEventListener("pointermove",l),e.addEventListener("pointerdown",l),e.addEventListener("pointerup",l),e.addEventListener("touchmove",l),e.addEventListener("touchstart",l),e.addEventListener("touchend",l)}function l(n){"HTML"!==n.target.nodeName&&(t=!1,e.removeEventListener("mousemove",l),e.removeEventListener("mousedown",l),e.removeEventListener("mouseup",l),e.removeEventListener("pointermove",l),e.removeEventListener("pointerdown",l),e.removeEventListener("pointerup",l),e.removeEventListener("touchmove",l),e.removeEventListener("touchstart",l),e.removeEventListener("touchend",l))}e.addEventListener("keydown",o,!0),e.addEventListener("mousedown",i,!0),e.addEventListener("pointerdown",i,!0),e.addEventListener("touchstart",i,!0),e.addEventListener("focus",a,!0),e.addEventListener("blur",s,!0),e.addEventListener("visibilitychange",u,!0),c()}function s(){a(document),function(){function e(e){e.querySelectorAll(".site-preview").forEach((function(e){var t=e.dataset.title;t||(t=e.parentElement.textContent.trim()),t&&!e.getAttribute("aria-label")&&e.setAttribute("aria-label",t)}))}var t=new MutationObserver((function(t){e(_slicedToArray(t,1)[0].target)}));document.querySelectorAll(".astra-portfolio-shortcode-wrap").forEach((function(e){t.observe(e,{attributes:!1,childList:!0,subtree:!1})}
1))}()}e=function(){var e={initNav:o,Nav:r,initScrollTo:i,initA11y:s};window.CP_SCHOOL=e,e.initNav(),e.initScrollTo(),e.initA11y()},"loading"!==document.readyState?e():document.addEventListener("DOMContentLoaded",e)}();
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.