PageSourceSearch

https://www.aamc.org/sites/default/files/js/js_rwkfRDjYyQABLO5TcVX…vKKjMEcZe20oZaiorbnldZXoJFx77RXe7aJpF-09umi

js aamc.org collected 2026-09-24 08:29:45 UTC 311,682 bytes, 38 lines download raw bytes

1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
2document.addEventListener("DOMContentLoaded",function(){});;
3var nonSupportedBrowsers=[{name:"IE",version:11}],supportWarningCtr=document.getElementById("non_supported_browser"),getBrowser=function(){var r=navigator.userAgent,e=function(e){return e.test(r);},o=function(e){return r.match(e)?r.match(e)[2]:null;};switch(!0){case e(/ucbrowser/i):return {name:"UCBrowser",version:o(/(ucbrowser)\/([\d\.]+)/i)};case e(/edg/i):return {name:"Edge",version:o(/(edge|edga|edgios|edg)\/([\d\.]+)/i)};case e(/googlebot/i):return {name:"GoogleBot",version:o(/(googlebot)\/([\d\.]+)/i)};case e(/chromium/i):return {name:"Chromium",version:o(/(chromium)\/([\d\.]+)/i)};case e(/firefox|fxios/i)&&!e(/seamonkey/i):return {name:"Firefox",version:o(/(firefox|fxios)\/([\d\.]+)/i)};case e(/chrome|crios/i)&&!e(/opr|opera|chromium|edg|ucbrowser|googlebot/i):return {name:"Chrome",version:o(/(chrome|crios)\/([\d\.]+)/i)};case e(/safari/i)&&!e(/chromium|edg|ucbrowser|chrome|crios|opr|opera|fxios|firefox/i):return {name:"Safari",version:o(/(version)\/([\d\.]+)/i)};case e(/opr|opera/i):return {name:"Opera",version:o(/(opera|opr)\/([\d\.]+)/i)};case e(/; msie|trident/i)&&!e(/ucbrowser/i):var n=o(/(trident)\/([\d\.]+)/i);return n?{name:"IE",version:parseFloat(n)+4}:{name:"IE",version:7};default:return {name:"Unknown",version:"0"};}},currentBrowser=getBrowser(),isNonSupportedBrowser=nonSupportedBrowsers.some(function(r){return r.name===currentBrowser.name&&parseInt(r.version)>=parseInt(currentBrowser.version);});isNonSupportedBrowser?supportWarningCtr.className="alert--items":supportWarningCtr.remove();;
4function _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,o=Array(t);n<t;n++)o[n]=e[n];return o;}document.documentElement.classList.replace("noscript","js");var MOBILE_MIN=375,MOBILE_MAX=767,IPAD_MIN=768,DESKTOP_MIN=1024,LARGE_MIN=1400,TAB_KEY=new Array("Tab",9),RETURN_KEY=new Array("Enter",13),ESC_KEY=new Array("Escape","UIKeyInputEscape",27),SPACE_KEY=new Array(" ",32),PAGE_UP_KEY=new Array("PageUp","UIKeyInputPageUp",33),PAGE_DOWN_KEY=new Array("PageDown","UIKeyInputPageDown",34),END_KEY=new Array("End",35),HOME_KEY=new Array("Home",36),LEFT_ARROW_KEY=new Array("ArrowLeft","UIKeyInputLeftArrow",37),UP_ARROW_KEY=new Array("ArrowUp","UIKeyInputUpArrow",38),RIGHT_ARROW_KEY=new Array("ArrowRight","UIKeyInputRightArrow",39),DOWN_ARROW_KEY=new Array("ArrowDown","UIKeyInputDownArrow",40),keyCheck=function(e){return e.some(function(e){return e===event.key||e===event.which;});},getClosest=function(e,t){for(;e&&e!==document;e=e.parentNode)if(e.nodeName===t)return e;return null;},getClosestByClass=function(e,t){for(;e&&e!==document;e=e.parentNode)if(e.classList.contains(t))return e;return null;},fnMultiListener=function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];t.split(" ").forEach(function(t){return e.addEventListener(t,n,o);});},focusAfterTransition=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=function(e){"function"==typeof t?t():t.focus(),e.target.removeEventListener("transitionend",n);};e.addEventListener("transitionend",n);},focusByPrintableChars=function(){var e="",t="",n=[],o="";return function(r){e+=event.key;var i=!1;if(function(e){return 1===e.length&&e.match(/\S/);}){t!==e&&(n=[]),clearTimeout(o),o=setTimeout(function(){e="",o=null;},300);var a=[];_toConsumableArray(r).forEach(function(t){var n=t.innerText;n&&0===n.toLowerCase().indexOf(e)&&a.push(t);}
4),a.some(function(o){if(n.every(function(e){return e!==o;})&&document.activeElement!==o)return event.stopPropagation(),o.focus(),i=o,n.push(o),t=e,!0;}),t===e&&n.length>=a.length&&n.shift();}return i;};}(),basicKeyDownListTraversalFn=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e.forEach(function(o){o.addEventListener("keydown",function(r){switch(!0){case keyCheck(RIGHT_ARROW_KEY)||keyCheck(DOWN_ARROW_KEY)||keyCheck(HOME_KEY):var i=o.nextElementSibling;if(null===i||keyCheck(HOME_KEY))if(window.matchMedia("(max-width: ".concat(DESKTOP_MIN-1,"px)")).matches||n){if(keyCheck(DOWN_ARROW_KEY)||keyCheck(HOME_KEY)){var a=e[0].firstElementChild;null!==a&&(r.preventDefault(),r.stopPropagation(),a.focus());}}else{if(!t&&(keyCheck(RIGHT_ARROW_KEY)||keyCheck(HOME_KEY))){var c=e[0].firstElementChild;null!==c&&(r.preventDefault(),c.focus());}}else window.matchMedia("(max-width: ".concat(DESKTOP_MIN-1,"px)")).matches||n?keyCheck(DOWN_ARROW_KEY)&&(r.preventDefault(),r.stopPropagation(),i.firstElementChild.focus()):t||keyCheck(RIGHT_ARROW_KEY)&&(r.preventDefault(),i.firstElementChild.focus());break;case keyCheck(LEFT_ARROW_KEY)||keyCheck(UP_ARROW_KEY)||keyCheck(END_KEY):var l=o.previousElementSibling;if(null===l||keyCheck(END_KEY))if(window.matchMedia("(max-width: ".concat(DESKTOP_MIN-1,"px)")).matches||n){if(keyCheck(UP_ARROW_KEY)||keyCheck(END_KEY)){var u=e[e.length-1].firstElementChild;null!==u&&(r.preventDefault(),r.stopPropagation(),u.focus());}}else{if(!t&&(keyCheck(LEFT_ARROW_KEY)||keyCheck(END_KEY))){var s=e[e.length-1].firstElementChild;null!==s&&(r.preventDefault(),s.focus());}}else window.matchMedia("(max-width: ".concat(DESKTOP_MIN-1,"px)")).matches||n?keyCheck(UP_ARROW_KEY)&&(r.preventDefault(),r.stopPropagation(),l.firstElementChild.focus()):t||keyCheck(LEFT_ARROW_KEY)&&(r.preventDefault(),l.firstElementChild.focus());}});});},toBeHiddenInVO=function(e,t){var n=document.querySelector("footer");e.forEach(function(e){var n=document.querySelector(e);null!==n&&(t?(n.setAttribute("tabindex","-1"),n.setAttribute("aria-hidden",!0)):(n.removeAttribute("tabindex"),n.removeAttribute("aria-hidden")));}),null!==n&&(t?n.setAttribute("hidden","hidden"):n.removeAttribute("hidden","hidden"));},anchorScroll=function(){if(window.innerWidth<768)window.addEventListener("hashchange",function(){var e=window.location.hash.slice(1);document.getElementById(e)&&(window.scrollBy(0,-60),window.history.replaceState(null,null,window.location.pathname));});},offset=function(e){var t=e.getBoundingClientRect(),n=window.innerHeight||document.documentElement.clientHeight,o=t.top,r=t.bottom;if(o>=0&&r<=n)return !0;},onscrollanimate=function(e,t){Array.prototype.slice.call(document.querySelectorAll("."+e)).forEach(function(e){window.addEventListener("scroll",function(n){1==offset(e)?e.classList.add(t):e.classList.remove(t);});});},scrollToElement=function(e){var t=Array.prototype.slice.call(document.querySelectorAll("."+e)),n=function(e,t,o){if(!(o<=0)){var r=(t-e.scrollTop)/o*10;setTimeout(function(){e.scrollTop=e.scrollTop+r,e.scrollTop!==t&&n(e,t,o-10);},10);}};t&&t.forEach(function(e){e.addEventListener("click",function(t){t.preventDefault();var o=e.getAttribute("href"),r=document.querySelector(o).offsetTop-30,i="";i=document.documentElement&&document.documentElement.scrollTop?document.documentElement:document.body,n(i,r,800);});});},svgIconLinkButton=function(){var e=document.querySelectorAll(".button-icon-caret-right"),t=document.querySelectorAll(".button-icon-download"),n=document.querySelector("div .caretsolid"),o=(document.querySelector("div .envelope"),document.querySelector("div .download"));function r(e,t){var n=e.innerHTML;if(t.length>0)for(var o=0;o<t.length;o++)t[o].innerHTML.match(/(<svg)([^<]*|[^>]*)/g)||(t[o].innerHTML+=n);}null!==n&&r(n,e),null!==o&&r(o,t);},alertOffsetActions=function(){var e=document.querySelector("header .utility-nav");if(null!==e){var t=document.getElementById("non_supported_browser"),n=document.querySelector(".block-aamc-utility-alert-block .alert-items");if(window.outerWidth>=DESKTOP_MIN){var o=0;null!==n?o=offSet.top(n)+outerHeight(n):null!==t&&(o=offSet.top(t)+outerHeight(t));var r=offSet.top(document.querySelector("header"));e.style.top="".concat(o-r,"px");}else e.removeAttribute("style"),e.classList.remove("utility_onscroll");}},alertbox=function(){var e=document.querySelector("header .utility-nav");if(null!==e){var t,n=document.getElementById("non_supported_browser"),o=document.querySelector(".block-aamc-utility-alert-block .alert-items"),r=0;window.onload=alertOffsetActions(),window.addEventListener("resize",function(){clearTimeout(t),t=setTimeout(alertOffsetActions,500);}),window.addEventListener("scroll",function(){var t=window.pageYOffset||document.documentElement.scrollTop,i=!1;null!==o?i=outerHeight(o)>t:null!==n&&(i=outerHeight(n)>t),t>r||i||0===t?e.classList.remove("utility_onscroll"):window.outerWidth>=DESKTOP_MIN&&e.classList.add("utility_onscroll"),r=t<=0?0:t;},!1);}},triggerEvent=function(e,t){var n;document.createEvent?(n=document.createEvent("MouseEvent")).initMouseEvent(t,!0,!0,window,0,0,0,0,0,!1,!1,
4!1,!1,0,null):n=new MouseEvent(t,{bubbles:!0,cancelable:!0}),e.dispatchEvent(n);},setFocus=function(e,t){setTimeout(function(){e.focus();},t);},normalizeString=function(e){return e.replace(/[-\s]+/g,"-").toLowerCase();};function clearQueryParam(e){if(e){var t=new URL(window.location.href);"hash"===e?t.hash&&(t.hash="",window.history.replaceState({},"",t)):t.searchParams.has(e)&&(t.searchParams.delete(e),window.history.replaceState({},"",t));}}function addQueryParam(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(e&&null!=t){var o=new URL(window.location.href);"hash"===e?o.hash=t:o.searchParams.set(e,t);var r=n?"pushState":"replaceState";window.history[r]({},"",o.toString());}}var removeQueryParam=function(e,t){var n=new URL(e);n.hash&&(n=processHash(n));var o=new URLSearchParams(n.search);return o.delete(t),n.search=o.toString(),n.toString();},hasQueryParam=function(e,t){var n=new URL(e);return n.hash&&(n=processHash(n)),new URLSearchParams(n.search).has(t);},processHash=function(e){var t=e.hash.split("?");return e.hash="",e.search=t[1],e;};function aamc_debounce(e,t,n){var o;return function(){var r=this,i=arguments,a=n&&!o;clearTimeout(o),o=setTimeout(function(){o=null,n||e.apply(r,i);},t),a&&e.apply(r,i);};}var alterCanvasPosition=aamc_debounce(function(){Array.prototype.slice.call(document.querySelectorAll('div[aria-describedby="drupal-off-canvas"]')||document.querySelectorAll('div[aria-describedby="drupal-off-canvas-wrapper"]')).forEach(function(e,t){0===e.classList.length&&(e.style.left="0px");});},350),globalCustomWindowEvents=function(){window.addEventListener("resize",function(e){alterCanvasPosition();});},onclickCkeditor=function(){document.querySelector("body").addEventListener("click",function(e){var t=e.target;if(t.classList.contains("cke_button__maximize")||t.classList.contains("cke_button__maximize_icon")){var n=document.getElementById("drupal-off-canvas")||document.getElementById("drupal-off-canvas-wrapper"),o=n.getBoundingClientRect(),r=window.innerHeight-o.top;n.style.height=r+"px",n.style["background-color"]="#444";}});},iframeResize=function(){window.addEventListener("message",function(e){var t=document.getElementById("newsletter-iframe");t&&e.data.iframeHeight&&(t.style.height=e.data.iframeHeight+"px");});},offSet={top:function(e){var t=e.getBoundingClientRect(),n=window.pageYOffset||document.documentElement.scrollTop;return t.top+n;},left:function(e){var t=e.getBoundingClientRect(),n=window.pageXOffset||document.documentElement.scrollLeft;return t.left+n;}},outerHeight=function(e){var t=e.offsetHeight,n=getComputedStyle(e);return t+=parseInt(n.marginTop)+parseInt(n.marginBottom);},setSerachFocus=function(e){document.getElementsByClassName("adminimal-admin-toolbar").length||setTimeout(function(){for(var t=0;t<e.length;t++)"search"!==e[t].getAttribute("type")&&"text"!==e[t].getAttribute("type")||e[t].focus();},500);},aamcScrollTop=function(e,t){var n=document.getElementsByClassName("main_container"),o=document.getElementsByClassName(e);if(o.length){var r=o[0].getElementsByTagName("input");if(window.outerWidth>=DESKTOP_MIN)return o[0].scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"}),setSerachFocus(r),!0;var i=0;if(null!==t){var a=document.getElementsByClassName(t);a.length&&window.outerWidth<=MOBILE_MAX&&(i=outerHeight(a[0])+20);}var c=o[0].offsetTop-(outerHeight(o[0])-i);return window.scrollTo({top:c,left:0,behavior:"smooth"}),setSerachFocus(r),!0;}return n.length&&n[0].scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"}),!0;},skipLink=function(e){keyCheck(SPACE_KEY)&&(e.stopPropagation(),e.preventDefault(),window.location.hash="#main-content");},permissionIconDemo=function(){for(var e=[].slice.call(document.querySelectorAll(".kss-modifier__example [data-public-role]")),t=0;t<e.length;t++){var n="",o="";null!==(o=e[t].classList.contains("flexible-permission-icon")?e[t]:e[t].querySelector(".permissions-icon"))&&"undefined"!==o&&(n=t%2==0?'<svg class="icon icon--unlock" aria-hidden="true" focusable="false"><use xlink:href="#unlock"></use></svg>':'<svg class="icon icon--lock" aria-hidden="true" focusable="false"><use xlink:href="#lock"></use></svg>',o.innerHTML=n);}};function isWindows(){return navigator.userAgent.toLowerCase().indexOf("windows")>-1;}function customFontWeightBehavior(){isWindows()&&document.querySelectorAll("b, strong").forEach(function(e){window.getComputedStyle(e).fontFamily.toLowerCase().includes("robotobold")&&(e.style.fontWeight="500");});}permissionIconDemo();var setAttributes=function(e,t){for(var n in t)e.setAttribute(n,t[n]);},removeAttributes=function(e,t){t.forEach(function(t){return e.removeAttribute(t);});};!function(e,t,n,o){t.behaviors.alertBox={attach:function(e,t){o("alertBox","body").forEach(alertbox);}},t.behaviors.svgIconLinkButton={attach:function(t,n){e(o("svgIconLinkButton",t===document?"html":t)).each(function(){e(document).on("ajaxComplete ready",svgIconLinkButton());});}},t.behaviors.clickCkeditor={attach:function(t,n){e(o("clickCkeditor",t===document?"html":t)).each(function(){onclickCkeditor();});}},t.behaviors.anchorlinks={attach:function(t,n){e(o("anchorlinks",t===document?"html":t)).each(function(){anchorScroll();var e=document.querySelector(".skip-link");e&&e.addEventListener("keydown",skipLink);});}},t.behaviors.customViewFilterSubmit={attach:function(t,n){e(o("customViewFilterSubmit",t===document?"html":t)).each(function(){if(e(".embedded-form").length){var t=e("#landing-search"),n=e(t).find("select");e(n).each(function(){e(this).on("change",function(){this.closest("form").reportValidity()&&e(this).closest("form").find(":submit").click();});});}});}},t.behaviors.searchApiAutocompleter={attach:function(t,n){e(o("search-api-autocompleter",".ui-autocomplete-input[data-search-api-autocomplete-search]",t)).each(function(){var t=e(this).data("ui-autocomplete");if(t){var n=e(this),o=n.parent(),r=n.parents().eq(2),i=e(t.menu.element[0]),a=i.attr("id");o.attr({role:"combobox","aria-owns":a,"aria-haspopup":"listbox","aria-expanded":!1}),n.attr({"aria-autocomplete":"list","aria-controls":a}),i.attr({role:"listbox"}),t._resizeMenu=function(){var t=this.menu.element,o=n.offset().left-r.offset().left;t.outerWidth(r.outerWidth()).find(".search-api-autocomplete-suggestion").each(function(){e(this).css("padding-left",o);});},t.options.close=function(e){n.removeAttr("aria-activedescendant"),o.attr({"aria-expanded":!1}),!0===keyCheck(ESC_KEY)&&e.stopImmediatePropagation();},t.options.focus=function(e,t){i.find("[aria-selected]").removeAttr("aria-selected");var o=i.find(".ui-state-active");return o.parent().attr({"aria-selected":"true"}),n.attr({"aria-activedescendant":o.parent().attr("id")}),!1;},t.options.open=function(t){o.attr({"aria-expanded":!0}),i.find("li").each(function(){var t=e(this);t.attr({id:"".concat(t.find(".ui-menu-item-wrapper").attr("id"),"-wrap"),role:"option"});});},t.options.position={my:"left top+".concat(15),at:"left bottom",of:r,collision:"none"},t.options.messages={results:function(e){return e+" results are available.";}};}});}},t.behaviors.iframeResize={attach:function(t,n){e(o("iframeResize",t===document?"html":t)).each(function(){iframeResize();});}},t.behaviors.customFontWeightBehavior={attach:function(t,n){e(o("customFontWeightBehavior",t===document?"html":t)).each(function(){customFontWeightBehavior();});}};}(jQuery,Drupal,drupalSettings,once);;
5function _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,a=Array(t);n<t;n++)a[n]=e[n];return a;}var megaMenuInit=function(e){if(null!==e){var t=e.querySelector(".mega-menu__bar"),n=e.querySelectorAll(".mega-menu__bar__item"),a=e.querySelectorAll(".mega-menu__panel"),i=e.querySelectorAll(".mega-menu__panel__column__block__list"),o=document.querySelector(".header__menu-btn"),c=document.querySelector(".universal-navigation__signin"),r=document.querySelector(".minimal-header"),s=document.querySelector(".content_area__wrapper"),_=[".skip-link",".universal-navigation",".universal-navigation__signin .universal-navigation__menu-item__link",".header__logo-link",".header__search-btn"],l=function(){var e=document.body.classList.contains("header-search--is-open"),t=document.body.classList.contains("mega-menu--is-open"),n=null!==document.querySelector(".timeline");t&&n||e&&n?document.body.classList.add("timeline-z-index"):document.body.classList.remove("timeline-z-index");};null===c&&document.body.classList.add("no-signin"),null!==t&&t.addEventListener("keydown",function(){window.matchMedia("(max-width: ".concat(DESKTOP_MIN-1,"px)")).matches||window.matchMedia("(min-width: ".concat(DESKTOP_MIN,"px)")).matches&&r?focusByPrintableChars(t.querySelectorAll(".mega-menu__bar__item__link")):focusByPrintableChars(t.querySelectorAll(".mega-menu__bar__item:not(.mega-menu__bar__item--uni-nav) .mega-menu__bar__item__link"));}
5),null!==n&&(basicKeyDownListTraversalFn(n),n.forEach(function(e){e.firstElementChild.addEventListener("keydown",function(){(window.matchMedia("(max-width: ".concat(DESKTOP_MIN-1,"px)")).matches||window.matchMedia("(min-width: ".concat(DESKTOP_MIN,"px)")).matches&&r)&&(event.shiftKey&&keyCheck(TAB_KEY)?null!==e.previousElementSibling||e.classList.contains("mega-menu__bar__item--open")||(event.preventDefault(),o.focus()):keyCheck(ESC_KEY)&&(m(!1),o.focus()));});}));var m=function(e){e?(document.body.classList.add("mega-menu--is-open"),o.querySelector("span").textContent="CLOSE",o.setAttribute("aria-expanded","true"),o.classList.add("header__menu-btn--close"),window.matchMedia("(min-width: ".concat(DESKTOP_MIN,"px)")).matches&&r&&null!==s&&s.classList.add("content_area__wrapper--overlay-active"),window.matchMedia("(max-width: ".concat(DESKTOP_MIN-1,"px)")).matches||window.matchMedia("(min-width: ".concat(DESKTOP_MIN,"px)")).matches&&r?(null!==n&&n.forEach(function(e){e.firstElementChild.setAttribute("tabindex",0);}),toBeHiddenInVO(_,e)):d()):(d(),document.body.classList.remove("mega-menu--is-open"),o.querySelector("span").textContent="MENU",o.setAttribute("aria-expanded","false"),o.classList.remove("header__menu-btn--close"),window.matchMedia("(min-width: ".concat(DESKTOP_MIN,"px)")).matches&&r&&s.classList.remove("content_area__wrapper--overlay-active"),(window.matchMedia("(max-width: ".concat(DESKTOP_MIN-1,"px)")).matches||window.matchMedia("(min-width: ".concat(DESKTOP_MIN,"px)")).matches&&r)&&(null!==n&&n.forEach(function(e){e.firstElementChild.setAttribute("tabindex",-1);}),window.scrollTo({top:0,behavior:"smooth"})),toBeHiddenInVO(_,e)),setTimeout(l,100);};fnMultiListener(o,"click keydown keyup",function(){("click"===event.type||"ke
5ydown"===event.type&&keyCheck(RETURN_KEY)||"keyup"===event.type&&keyCheck(SPACE_KEY))&&(event.preventDefault(),document.body.classList.contains("mega-menu--is-open")?m(!1):(m(!0),n[0].querySelector(".mega-menu__bar__item__link").focus()));});var u=function(e,t){t?e.classList.add("mega-menu__panel__column__block__list--open"):e.classList.remove("mega-menu__panel__column__block__list--open"),e.firstElementChild.setAttribute("aria-expanded",t);},d=function(){var t=e.querySelectorAll(".mega-menu__bar__item--open");null!==t&&t.forEach(function(e){var t=e.querySelectorAll(".mega-menu__panel__column__block__list--open");e.classList.remove("mega-menu__bar__item--open"),e.firstElementChild.setAttribute("aria-expanded","false"),null!==t&&t.forEach(function(e){u(e,!1);});});},h=function(e,t){if(t)m(!0),e.classList.add("mega-menu__bar__item--open"),e.firstElementChild.setAttribute("aria-expanded","true");else{var n=e.querySelectorAll(".mega-menu__panel__column__block__list--open");e.classList.remove("mega-menu__bar__item--open"),e.firstElementChild.setAttribute("aria-expanded","false"),null!==n&&n.forEach(function(e){u(e,!1);}),window.matchMedia("(min-width: ".concat(DESKTOP_MIN,"px)")).matches&&!r&&m(!1);}},y=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=function(){t&&n.forEach(function(e){var t=e.firstElementChild;window.matchMedia("(max-width: ".concat(DESKTOP_MIN-1,"px)")).matches||window.matchMedia("(min-width: ".concat(DESKTOP_MIN,"px)")).matches&&r?document.body.classList.contains("mega-menu--is-open")&&e.classList.contains("mega-menu__bar__item")?t.setAttribute("tabindex",0):e.classList.contains("mega-menu__bar__item")?t.setAttribute("tabindex",-1):t.setAttribute("tabindex",0):t.removeAttribute("tabindex");}),e.forEach(function(e){var n=e.firstElementChild,a=e.lastElementChild;if(window.matchMedia("(max-width: ".concat(DESKTOP_MIN-1,"px)")).matches||window.matchMedia("(min-width: ".concat(DESKTOP_MIN,"px)")).matches&&r){var i=e.classList[0];n.setAttribute("role","button"),n.setAttribute("aria-controls",a.getAttribute("id")),n.setAttribute("aria-haspopup",!0),t||n.setAttribute("tabindex",0),e.classList.contains("".concat(i,"--open"))?n.setAttribute("aria-expanded",!0):n.setAttribute("aria-expanded",!1);}else n.removeAttribute("role"),n.removeAttribute("aria-controls"),n.removeAttribute("aria-haspopup"),n.removeAttribute("aria-expanded"),t||n.removeAttribute("tabindex");});};a(),window.addEventListener("resize",function(){a();});};null!==a&&(y(_toConsumableArray(a).map(function(e){return getClosestByClass(e,"mega-menu__bar__item");}),!0),a.forEach(function(e){var t=getClosestByClass(e,"mega-menu__bar__item"),n=t.firstElementChild;e.querySelectorAll(".mega-menu__panel__column__block").forEach(function(e){basicKeyDownListTraversalFn(e.querySelectorAll(".mega-menu__panel__column__block__list"),!0),e.addEventListener("keydown",function(){(window.matchMedia("(max-width: ".concat(DESKTOP_MIN-1,"px)")).matches||window.matchMedia("(min-width: ".concat(DESKTOP_MIN,"px)")).matches&&r)&&focusByPrintableChars(e.querySelectorAll(".mega-menu__panel__column__block__list__title"));});}),n.addEventListener("click",function(){event.preventDefault(),event.stopPropagation(),t.classList.contains("mega-menu__bar__item--open")?h(t,!1):h(t,!0);}),n.addEventListener("keydown",function(){keyCheck(RETURN_KEY)||keyCheck(SPACE_KEY)||keyCheck(DOWN_ARROW_KEY)?window.matchMedia("(min-width: ".concat(DESKTOP_MIN,"px)")).matches&&!r?(keyCheck(RETURN_KEY)||keyCheck(SPACE_KEY)||keyCheck(DOWN_ARROW_KEY))&&(event.preventDefault(),t.classList.contains("mega-menu__bar__item--open")&&!keyCheck(DOWN_ARROW_KEY)?h(t,!1):(keyCheck(RETURN_KEY)||keyCheck(SPACE_KEY)||keyCheck(DOWN_ARROW_KEY))&&(h(t,!0),e.firstElementChild.firstElementChild.focus())):(keyCheck(RETURN_KEY)||keyCheck(SPACE_KEY))&&(event.preventDefault(),t.classList.contains("mega-menu__bar__item--open")?h(t,!1):(keyCheck(RETURN_KEY)||keyCheck(SPACE_KEY))&&h(t,!0)):keyCheck(ESC_KEY)&&window.matchMedia("(min-width: ".concat(DESKTOP_MIN,"px)")).matches&&!r&&t.classList.contains("mega-menu__bar__item--open")&&(event.stopPropagation(),h(t,!1));}),e.addEventListener("keydown",function(){if(window.matchMedia("(min-width: ".concat(DESKTOP_MIN,"px)")).matches&&!r){var a=e.querySelectorAll("A");keyCheck(DOWN_ARROW_KEY)||keyCheck(UP_ARROW_KEY)||keyCheck(RIGHT_ARROW_KEY)||keyCheck(LEFT_ARROW_KEY)||keyCheck(TAB_KEY)?null!==a&&_toConsumableArray(a).some(function(e,i){if(event.target===e)if(keyCheck(UP_ARROW_KEY)||keyCheck(LEFT_ARROW_KEY)||event.shiftKey&&keyCheck(TAB_KEY)){var o=a[i-1];void 0!==o?(event.preventDefault(),event.stopPropagation(),o.focus()):event.shiftKey&&keyCheck(TAB_KEY)||keyCheck(UP_ARROW_KEY)?(event.preventDefault(),h(t,!1),n.focus()):keyCheck(LEFT_ARROW_KEY)&&h(t,!1);}else{if(keyCheck(DOWN_ARROW_KEY)||keyCheck(RIGHT_ARROW_KEY)||keyCheck(TAB_KEY)){var c=a[i+1];void 0!==c?(event.preventDefault(),event.stopPropagation(),c.focus()):(keyCheck(TAB_KEY)||keyCheck(RIGHT_ARROW_KEY))&&h(t,!1);}}}):keyCheck(ESC_KEY)?(h(t,!1),n.focus()):focusByPrintableChars(a);}else keyCheck(ESC_KEY)&&(event.stopPropagation(),h(t,!1),n.focus());});}
5)),null!==i&&(y(i),i.forEach(function(e){var t=e.firstElementChild,n=e.lastElementChild;fnMultiListener(t,"click keydown",function(){(window.matchMedia("(max-width: ".concat(DESKTOP_MIN-1,"px)")).matches||window.matchMedia("(min-width: ".concat(DESKTOP_MIN,"px)")).matches&&r)&&("click"===event.type||keyCheck(RETURN_KEY)||keyCheck(SPACE_KEY))&&(event.preventDefault(),e.classList.contains("mega-menu__panel__column__block__list--open")?u(e,!1):u(e,!0));}),n.addEventListener("keydown",function(){(window.matchMedia("(max-width: ".concat(DESKTOP_MIN-1,"px)")).matches||window.matchMedia("(min-width: ".concat(DESKTOP_MIN,"px)")).matches&&r)&&keyCheck(ESC_KEY)&&(event.stopPropagation(),u(e,!1),t.focus());});})),fnMultiListener(document,"click focusin",function(){if(document.body.classList.contains("mega-menu--is-open")){var e=getClosestByClass(event.target,"mega-menu__bar__item");if("click"===event.type){if(null===e)null===getClosestByClass(event.target,"header__menu-btn")&&m(!1);}else window.matchMedia("(min-width: ".concat(DESKTOP_MIN,"px)")).matches&&!r&&(null===e||null!==e&&!e.classList.contains("mega-menu__bar__item--open"))&&m(!1);}setTimeout(l,100);},!0),p=!0,(E=function(){window.matchMedia("(max-width: ".concat(DESKTOP_MIN-1,"px)")).matches&&document.body.classList.contains("mega-menu--is-open")||window.matchMedia("(min-width: ".concat(DESKTOP_MIN,"px)")).matches&&r&&document.body.classList.contains("mega-menu--is-open")?(toBeHiddenInVO(_,!0),p=!1):p||(toBeHiddenInVO(_,!1),m(!1),p=!0);})(),window.addEventListener("resize",function(){E();});}var p,E;};!function(e,t){e.behaviors.megaMenu={attach:function(e,n){t("megaMenu",".mega-menu",e).forEach(function(e){megaMenuInit(e);});}};}(Drupal,once);;
6function _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 o={}.toString.call(e).slice(8,-1);return "Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?_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 o=0,r=Array(t);o<t;o++)r[o]=e[o];return r;}var footerMenuAccordionSetAttribute=function(e,t){var o=e.parentNode.querySelector(".footer-menu-columns__block__menu");window.matchMedia("(max-width: ".concat(DESKTOP_MIN-1,"px)")).matches?(e.setAttribute("aria-expanded",t),e.setAttribute("role","button"),e.setAttribute("tabindex",0),o.setAttribute("role","region")):(e.removeAttribute("aria-expanded"),e.removeAttribute("role"),e.removeAttribute("tabindex"),o.setAttribute("role","list"));},footerMenuAccordionClose=function(e){var t=e.parentNode.querySelector(".footer-menu-columns__block__menu");t.classList.contains("activelist")&&t.classList.remove("activelist");},footerMenuAccordionHeadingEvents=function(e){var t=_toConsumableArray(document.querySelectorAll(".footer-menu-columns .footer-menu-columns__block__title")),o=Array.prototype.slice.call(document.querySelectorAll(".footer-menu-columns .footer-menu-columns__block__title"));window.addEventListener("resize",function(){window.matchMedia("(max-width: ".concat(DESKTOP_MIN-1,"px)")).matches&&e.classList.contains("footer-menu-columns__block__title--active")?footerMenuAccordionSetAttribute(e,!0):footerMenuAccordionSetAttribute(e,!1);});var r=function(){e.classList.contains("footer-menu-columns__block__title--active")?(e.classList.remove("footer-menu-columns__block__title--active"),footerMenuAccordionSetAttribute(e,!1),footerMenuAccordionClose(e)):(t.forEach(function(e){e.classList.contains("footer-menu-columns__block__title--active")&&(e.classList.remove("footer-menu-columns__block__title--active"),footerMenuAccordionSetAttribute(e,!1)),footerMenuAccordionClose(e);}),e.classList.add("footer-menu-columns__block__title--active"),footerMenuAccordionSetAttribute(e,!0),e.parentNode.querySelector(".footer-menu-columns__block__menu").classList.add("activelist"));};e.addEventListener("click",r),e.addEventListener("keydown",function(e){var t=e.target,n=e.ctrlKey&&(keyCheck(PAGE_UP_KEY)||keyCheck(PAGE_DOWN_KEY));if(t.classList.contains("footer-menu-columns__block__title"))if(n||keyCheck(UP_ARROW_KEY)||keyCheck(DOWN_ARROW_KEY)){e.preventDefault();var c=o.indexOf(t),i=keyCheck(PAGE_DOWN_KEY)||keyCheck(DOWN_ARROW_KEY)?1:-1,a=o.length;o[(c+a+i)%a].focus();}else{if(keyCheck(END_KEY)||keyCheck(HOME_KEY))switch(!0){case keyCheck(HOME_KEY):e.preventDefault(),o[0].focus();break;case keyCheck(END_KEY):e.preventDefault(),o[o.length-1].focus();}}
6else n&&panels.forEach(function(r,n){r.contains(t)&&(e.preventDefault(),o[n].focus());});(keyCheck(RETURN_KEY)||keyCheck(SPACE_KEY))&&(e.preventDefault(),r());});};!function(e,t,o,r){t.behaviors.footerMenuAccordionLinks={attach:function(t,o){e(r("footerMenuAccordionLinks",".footer-menu-columns .footer-menu-columns__block__title",t)).each(function(){var t=e(this)[0];footerMenuAccordionHeadingEvents(t),footerMenuAccordionSetAttribute(t,!1);});}};}(jQuery,Drupal,drupalSettings,once);;
7function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t;}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t;},_typeof(t);}function _createForOfIteratorHelper(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=_unsupportedIterableToArray(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,o=function(){};return {s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]};},e:function(t){throw t;},f:o};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var s,r=!0,a=!1;return {s:function(){n=n.call(t);},n:function(){var t=n.next();return r=t.done,t;},e:function(t){a=!0,s=t;},f:function(){try{r||null==n.return||n.return();}finally{if(a)throw s;}}};}function _unsupportedIterableToArray(t,e){if(t){if("string"==typeof t)return _arrayLikeToArray(t,e);var n={}.toString.call(t).slice(8,-1);return "Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(t,e):void 0;}}function _arrayLikeToArray(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i;}var peoplecarousel=function(t,e){var n={touchstartX:0,touchendX:0},i=-1;n.init=function(){if(this.options=e,this.disableEvent=!1,this.index=0,this.autoplayDelay=this.options.delay+this.options.speed,this.transitionDuration=n.isWebkit("transitionDuration"),this.transform=n.isWebkit("transform"),this.timer,this.container=t,this.wrapper=this.container.querySelector(".".concat(this.options.class.wrapper)),this.navigationbuttons=this.container.querySelectorAll(".".concat(this.options.class.navigationbuttons)),this.buttons=this.container.querySelectorAll(".".concat(this.options.class.buttons)),this.slides=this.container.querySelectorAll(".".concat(this.options.class.slide)),this.pagination=this.container.querySelector(".".concat(this.options.class.pagination)),this.infoSection=this.container.querySelector(".".concat(this.options.class.infoSection)),this.blockWrapper=document.querySelector(".".concat(this.options.class.blockWrapper)),this.slides.length>1)n.setWidth(),n.moveWrapper(),this.pagination&&n.createPagination(),this.options.autoplay&&n.autoplay(),2==this.buttons.length&&(n.prevBtn(),n.nextBtn()),this.wrapper&&(n.mobiletouchStart(),n.mobiletouchEnd()),n.resize(),n.tabOrderNavigation();else{var i,o=_createForOfIteratorHelper(this.navigationbuttons);try{for(o.s();!(i=o.n()).done;)i.value.classList.add("people-carousel__btn-hidden");}catch(t){o.e(t);}finally{o.f();}}},n.resize=function(){window.addEventListener("resize",function(){n.setWidth(),n.moveWrapper(),n.setTransition(0,!1);});},n.createPagination=function(){for(var t,e=document.createDocumentFragment(),o=0;o<this.slides.length;o++){var s=o+1;(t=document.createElement("button")).tabIndex=0,t.role="none",t.innerHTML=t.innerHTML+'<sp
7an class="people-carousel__btn-hidden">Button dots</span>',t.classList.add(this.options.class.paginationItem),t.setAttribute("aria-label","Item "+s+" of "+this.slides.length),0==o&&(t.classList.add("active"),t.setAttribute("aria-label","Current Item "+(this.index+1)+" of "+this.slides.length),i=this.index+1),e.appendChild(t);}this.pagination.appendChild(e),n.bullets();},n.bullets=function(){for(var t=this,e=this.pagination.querySelectorAll(".".concat(this.options.class.paginationItem)),i=function(i){e[i].addEventListener("click",function(){t.disableEvent||(t.index=i-1),n.buttonsAction();});},o=0;o<e.length;o++)i(o);},n.highlightBullet=function(){var t=this.pagination.querySelector(".active");t.classList.remove("active"),t.setAttribute("aria-label","Item "+i+" of "+this.slides.length);var e=this.pagination.querySelectorAll(".".concat(this.options.class.paginationItem)),o=n.updateIndex(this.index);e[o].classList.add("active"),i=o+1,e[o].setAttribute("aria-label","Current Item "+(o+1)+" of "+e.length);},n.prevBtn=function(){var t=this;this.buttons[0].addEventListener("click",function(){n.buttonsAction("left");}),this.buttons[0].addEventListener("keydown",function(e){if(keyCheck(LEFT_ARROW_KEY))n.buttonsAction("left");else{if(!e.shiftKey&&keyCheck(TAB_KEY)){var i=t.slides[t.index].querySelector(".".concat(t.options.class.information)),o=t.slides[t.index].querySelector(".".concat(t.options.class.ctaLink));null!=i?(e.preventDefault(),i.focus()):null!=o&&(e.preventDefault(),o.focus());}}});},n.nextBtn=function(){var t=this;this.buttons[1].addEventListener("click",function(){n.buttonsAction();}),this.buttons[1].addEventListener("keydown",function(e){if(keyCheck(RIGHT_ARROW_KEY))n.buttonsAction();else{if(e.shiftKey&&keyCheck(TAB_KEY)){var i=t.slides[t.index].querySelector(".".concat(t.options.class.information)),o=t.slides[t.index].querySelector(".".concat(t.options.class.ctaLink));null!=o?(e.preventDefault(),o.focus()):null!=i&&(e.preventDefault(),i.focus());}}});},n.tabOrderNavigation=function(){var t,e=this,n=_createForOfIteratorHelper(this.slides);try{var i=function(){var n=t.value;if(void 0!==n){var i=n.querySelector(".".concat(e.options.class.information)),o=n.querySelector(".".concat(e.options.class.ctaLink));null!=i&&i.addEventListener("keydown",function(t){t.shiftKey&&keyCheck(TAB_KEY)?(t.preventDefault(),e.buttons[0].focus()):keyCheck(TAB_KEY)&&(null!=o?(t.preventDefault(),o.focus()):(t.preventDefault(),e.buttons[1].focus()));}),null!=o&&o.addEventListener("keydown",function(t){t.shiftKey&&keyCheck(TAB_KEY)?null!=i?(t.preventDefault(),i.focus()):(t.preventDefault(),e.buttons[0].focus()):keyCheck(TAB_KEY)&&(t.preventDefault(),e.buttons[1].focus());});}};for(n.s();!(t=n.n()).done;)i();}catch(t){n.e(t);}finally{n.f();}},n.buttonsAction=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"right";this.disableEvent||(n.moveSlider(t),this.options.autoplay&&(n.resetAutoplay(),n.autoplay()));},n.moveSlider=function(){"right"==(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"right")&&this.index<this.slides.length?this.index++:this.index--,this.pagination&&n.highlightBullet(),this.index=n.updateIndex(this.index),n.setTransition(this.options.speed),n.moveWrapper();},n.setTransition=function(t){var e=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.wrapper.style[this.transitionDuration]=t+"ms",n&&Drupal.announce("Current item "+(this.index+1)+" of "+this.slides.length);var i=this.slides[this.index];if(void 0!==i){var o=i.querySelector(".".concat(this.options.class.information));focusAfterTransition(this.wrapper,function(){setTimeout(function(){o.focus(),e.infoSection.scrollLeft=0;},1e3);});}},n.moveWrapper=function(){for(var t=0,e=this.slides,n=this.container.querySelector(".".concat(this.options.class.activeClass)),i=e[this.index],o=1;o<=this.index;o++)void 0!==e[o]&&null!==_typeof(e[o])&&(t+=e[o].offsetWidth);"undefined"!==n&&null!==n&&n.classList.remove(this.options.class.activeClass),this.wrapper.style[this.transform]="translate3d(-".concat(t,"px, 0, 0)"),"undefined"!==i&&null!==i&&i.classList.add(this.options.class.activeClass);}
7,n.setWidth=function(){for(var t=0,e=this.slides,n=0;n<e.length;n++)e[n].style.width=this.container.offsetWidth+"px",t+=e[n].offsetWidth;this.wrapper.style.width=t+"px";},n.createClones=function(){var t=this.wrapper.firstElementChild.cloneNode(!0),e=this.wrapper.lastElementChild.cloneNode(!0),n=this.slides.length;this.wrapper.appendChild(t),this.wrapper.insertBefore(e,this.slides[n]);},n.updateIndex=function(t){return t>=this.slides.length&&(t=0),t<0&&(t=this.slides.length-1),t;},n.isWebkit=function(t){return "string"==typeof document.documentElement.style[t]?t:(t=n.capitalizeFirstLetter(t),t="webkit".concat(t));},n.extendDefaults=function(t,e){var n,i;if(null!=e&&"undefined"!=e)for(n in e)if("object"===_typeof(e[n]))for(i in e[n])t[n][i]=e[n][i];else t[n]=e[n];return t;},n.handleGesture=function(){var t=Math.abs(n.touchstartX-n.touchendX);n.touchstartX>=n.touchendX&&t>150&&n.buttonsAction("right"),n.touchstartX<=n.touchendX&&t>150&&n.buttonsAction("left");},n.mobiletouchStart=function(){this.wrapper.addEventListener("touchstart",function(t){n.touchstartX=t.changedTouches[0].screenX;},{passive:!0});},n.mobiletouchEnd=function(){this.wrapper.addEventListener("touchend",function(t){n.touchendX=t.changedTouches[0].screenX,n.handleGesture();},!1);},n.init();};!function(t,e,n,i){e.behaviors.peopleCarousel={attach:function(e,n){t(i("peopleCarousel","html")).each(function(){var t,e={speed:600,delay:6e3,autoplay:!1,class:{wrapper:"people-carousel__content-wrapper",slide:"people-carousel__author-details",activeClass:"people-carousel__active-slide",information:"people-carousel__author-information",buttons:"people-carousel__btn",navigationbuttons:"people-carousel__navigation-buttons",pagination:"people-carousel__dots-navigation",paginationItem:"people-carousel__dots-navigation__dots",infoSection:"people-carousel__profile-info",blockWrapper:"block-inline-blockcarousel-block",ctaLink:"people-carousel__read-more__url"}},n=_createForOfIteratorHelper(document.querySelectorAll(".people-carousel-container"));try{for(n.s();!(t=n.n()).done;){var i=t.value;peoplecarousel(i,e);}}catch(t){n.e(t);}finally{n.f();}});}};}(jQuery,Drupal,drupalSettings,once);;
8function _createForOfIteratorHelper(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0,r=function(){};return {s:r,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]};},e:function(e){throw e;},f:r};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var i,c=!0,a=!1;return {s:function(){n=n.call(e);},n:function(){var e=n.next();return c=e.done,e;},e:function(e){a=!0,i=e;},f:function(){try{c||null==n.return||n.return();}finally{if(a)throw i;}}};}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 _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o;}var accordionOnWindowEvents=function(){var e=Array.prototype.slice.call(document.querySelectorAll(".js-accordion-item .accordion__item-heading"));window.addEventListener("keydown",function(t){var n=t.target,o=t.ctrlKey&&(keyCheck(PAGE_UP_KEY)||keyCheck(PAGE_DOWN_KEY));if(n.classList.contains("accordion__item-heading"))if(o||keyCheck(UP_ARROW_KEY)||keyCheck(DOWN_ARROW_KEY)){t.preventDefault();var r=e.indexOf(n),i=keyCheck(PAGE_DOWN_KEY)||keyCheck(DOWN_ARROW_KEY)?1:-1,c=e.length;e[(r+c+i)%c].focus();}else{if(keyCheck(END_KEY)||keyCheck(HOME_KEY))switch(!0){case keyCheck(HOME_KEY):t.preventDefault(),e[0].focus();break;case keyCheck(END_KEY):t.preventDefault(),e[e.length-1].focus();}}else o&&panels.forEach(function(o,r){o.contains(n)&&(t.preventDefault(),e[r].focus());});});},isMobileDevice=function(){return window.innerWidth<=1023;},accordionHeadingClickEvents=function(e,t){fnMultiListener(e,"click keydown",function(t){if("click"===t.type||"ke
8ydown"===t.type&&(keyCheck(SPACE_KEY)||keyCheck(RETURN_KEY))){t.preventDefault(),accPanelActivate(e);var n=e.parentNode.getAttribute("data-accordion-image-url"),o=e.parentNode.getAttribute("data-accordion-image-alt"),r=document.querySelector(".accordion-item-image"),i=document.querySelector(".extra-image-container"),c=document.querySelectorAll(".js-accordion-item-image.accordion__item--open");if(i)if(n&&r&&c.length>0){r.style.opacity=0;var a=new Image();a.onload=function(){r.src=n,r.alt=o,r.style.display="block",r.style.opacity=1,i.style.display="none";},a.src=n;}else i.style.display="block",r.style.display="none";}});},closeOtherAccordion=function(e){e.parentNode.classList.contains("js-accordion-item-image")&&document.querySelectorAll(".js-accordion-item-image").forEach(function(t){t!==e.parentNode&&(t.classList.remove("accordion__item--open"),t.setAttribute("aria-expanded","false"),sessionStorage.removeItem("firstAccordionClicked"));});};document.addEventListener("DOMContentLoaded",function(){var e=document.querySelectorAll(".js-accordion-item-image");if(e&&e.length>0){var t=e[0];t.querySelector("h3").click(),sessionStorage.getItem("firstAccordionClicked")||t.classList.add("remove-transition");t.addEventListener("click",function(){t.classList.contains("remove-transition")?(t.classList.remove("remove-transition"),sessionStorage.setItem("firstAccordionClicked",!0)):sessionStorage.removeItem("firstAccordionClicked");});var n=document.querySelector(".extra-image-container"),o=function(){if(n){var e=document.querySelectorAll(".js-accordion-item-image.accordion__item--open");isMobileDevice()&&0===e.length?n.style.display="none":n.style.display="block";}};o();var r=function(){var t;n&&(!function(){var t,n=_createForOfIteratorHelper(e);try{for(n.s();!(t=n.n()).done;)if(t.value.classList.contains("accordion__item--open"))return !1;}catch(e){n.e(e);}finally{n.f();}return !0;}()&&isMobileDevice?n.style.display="none":(n.style.display="block",(t=document.querySelector(".accordion-item-image")).style.display=t&&!n?"block":"none",o()));};e.forEach(function(e){e.addEventListener("click",r);}),r();}});var accPanelActivate=function(e){closeOtherAccordion(e),e.parentNode.classList.contains("accordion__item--open")?(e.parentNode.classList.remove("accordion__item--open"),e.parentNode.querySelector(".accordion__item-heading").setAttribute("aria-expanded","false")):(e.parentNode.classList.add("accordion__item--open"),e.parentNode.querySelector(".accordion__item-heading").setAttribute("aria-expanded","true"));};!function(e,t){e.behaviors.accordionHeading={attach:function(e,n){t("accordionHeading",".js-accordion-item .accordion__item-heading",e).forEach(function(e){accordionHeadingClickEvents(e);});}},e.behaviors.accordionWindowEvents={attach:function(e,n){t("accordionWindowEvents","body").forEach(accordionOnWindowEvents);}};}(Drupal,once);;
9function _toConsumableArray(r){return _arrayWithoutHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_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(r,e){if(r){if("string"==typeof r)return _arrayLikeToArray(r,e);var t={}.toString.call(r).slice(8,-1);return "Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,e):void 0;}}function _iterableToArray(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r);}function _arrayWithoutHoles(r){if(Array.isArray(r))return _arrayLikeToArray(r);}function _arrayLikeToArray(r,e){(null==e||e>r.length)&&(e=r.length);for(var t=0,o=Array(e);t<e;t++)o[t]=r[t];return o;}var id,setCookies=function(r,e,t){var o=new Date();o.setTime(o.getTime()+24*t*60*60*1e3),document.cookie=r+" = "+escape(e)+";expires = "+o.toGMTString()+"; path=/";},getCookies=function(r){var e=[];e=document.cookie.split(";");for(var t=0;t<e.length;t++){var o=e[t].trim();if(0===o.indexOf(r))return o.split("=")[1];}},closeAlert=function(r){var e=document.getElementById(r),t=e.value;getCookies(r)!=t&&setCookies(r,t,30),getClosestByClass(e,"alert").remove();},showAlert=function(){var r=_toConsumableArray(document.getElementsByName("cookies_id[]"));if(r.length>0)for(var e=0;e<r.length;e++){var t=r[e].id;getCookies(t)===r[e].value&&closeAlert(t);}};;
10var landingFilterDropdown=function(){var t=document.querySelector(".filter-button");t&&t.addEventListener("click",function(e){var n="landing-search__filter--show",r="filter-button--is-open",a=document.querySelector(".filter-button__text-col"),i=document.querySelector(".landing-search__filter");e.preventDefault(),t.classList.contains(r)&&null!==i&&i.classList.contains(n)?(a.textContent="Show Filters",t.classList.remove(r),i.classList.remove(n)):(a.textContent="Hide Filters",t.classList.add(r),null!==i&&i.classList.add(n)),t.setAttribute("aria-label",a.textContent);});};!function(t,e,n){e.behaviors.landingSearch={attach:function(e,r){t(n("landingSearch",e===document?"html":e)).each(function(){landingFilterDropdown(),t(".ajax-progress").remove();});}};}(jQuery,Drupal,once);;
11var initPagerSearchLink=function(e){var n=document.querySelector(".search-filter"),a=document.querySelector(".global-search-results"),i=document.querySelector(".landing-search");e.preventDefault(),n&&"none"!==n.style.display?aamcScrollTop("search-filter",null):a&&"none"!==a.style.display?aamcScrollTop("global-search-results",null):i&&"none"!==i.style.display&&aamcScrollTop("landing-search",null);};!function(e,n,a,i){n.behaviors.paginationRefine={attach:function(n,l){var c=!1;void 0!==a.check_views&&(c=a.check_views.is_ajax_enabled),e(i("paginationRefine",".pagination__refine-search-link",n)).on("click",function(e){e.stopImmediatePropagation(),initPagerSearchLink(e);}
11),e(i("paginationNumbers",".pagination__link",n)).on("click",function(e){c&&initPagerSearchLink(e);});}};}(jQuery,Drupal,drupalSettings,once);;
12var dataReportSearch,filterButton,selectFiltersWrap,filterButtonText,selectedOptionValue,dataReportFilterLink,selectboxElement=".selectbox-wrap__selected-option",selectOpen="selectbox-wrap--is-open",subSelectboxElement=".selectbox-wrap__option--subdropdown > .selectbox-wrap__dropdown-label",subSelectOpen="selectbox-wrap__option--is-open",selectHideClassName="datareport-search__select-container--is-open",filterButtonOpenClass="filter-button--is-open",windowWidth=document.body.clientWidth,ATTR_EXPANDED="aria-expanded",closeSelectbox=function(e,t){for(var s=0;s<e.length;s++){var n=e[s];n!==event.target&&!n.contains(event.target)&&n.classList.contains(t)&&n.classList.remove(t);}},selectboxComponent=function(){if(null!==(dataReportSearch=document.querySelector(".datareport-search"))){filterButton=dataReportSearch.querySelector(".filter-button"),filterButtonText=dataReportSearch.querySelector(".filter-button__text-col"),selectFiltersWrap=dataReportSearch.getElementsByClassName("datareport-search__select-container")[0],dataReportFilterLink=dataReportSearch.querySelectorAll(".search-link-list");var e=function(){filterButton.classList.contains(filterButtonOpenClass)&&selectFiltersWrap.classList.contains(selectHideClassName)?(filterButtonText.textContent="Show Filters",filterButton.classList.remove(filterButtonOpenClass),selectFiltersWrap.classList.remove(selectHideClassName)):(filterButtonText.textContent="Hide Filters",filterButton.classList.add(filterButtonOpenClass),selectFiltersWrap.classList.add(selectHideClassName));};null!==filterButton&&(filterButton.addEventListener("click",function(t){e(),t.preventDefault();}),filterButton.addEventListener("keydown",function(t){keyCheck(RETURN_KEY)&&e();var s=selectFiltersWrap.querySelector(selectboxElement),n=dataReportSearch.querySelector(".button-secondary");keyCheck(TAB_KEY)&&(null!==s&&selectFiltersWrap.classList.contains(selectHideClassName)?setFocus(s,100):setFocus(dataReportFilterLink[1].getElementsByTagName("a").item(0),100)),t.shiftKey&&keyCheck(TAB_KEY)&&setFocus(n,100),t.preventDefault();})),Array.prototype.slice.call(document.querySelectorAll(subSelectboxElement)).forEach(function(e,t){var s=function(){e.parentNode.querySelectorAll(".selectbox-wrap__sub-selected-option").forEach(function(t){t.textContent=e.textContent;});};e.addEventListener("click",function(){s();}),e.addEventListener("keydown",function(e){s(),e.preventDefault();});}),window.addEventListener("resize",function(){(windowWidth=document.body.clientWidth)>767&&null!==filterButtonText&&null!==filterButton&&null!==selectFiltersWrap&&(filterButtonText.textContent="Show Filters",filterButton.classList.remove(filterButtonOpenClass),selectFiltersWrap.classList.remove(selectHideClassName),displaySelectedDropdownVal());});}},displaySelectedDropdownVal=function(e){Array.prototype.slice.call(document.querySelectorAll(".datareport-search .selectbox-wrap")).forEach(function(t,s){if(t.classList.contains(selectOpen)){var n=document.querySelector(".selectbox-wrap--is-open .selectbox-wrap__text-col");if(!e.classList.contains("selectbox-wrap__dropdown-label--sub-selected-wrap")&&void 0!==selectedOptionValue){n.textContent=selectedOptionValue;var l=getClosestByClass(t,"selectbox-wrap").getAttribute("data-select-type"),o=document.querySelector("#edit-field-site-section-target-id"),a=document.querySelector("#edit-field-topic-target-id"),c=document.querySelector("#edit-field-subject-target-id");"section"===l&&null!==o&&(o.value=e.getAttribute("value"),triggerEvent(o,"click"),triggerEvent(o,"change")),"topic"===l&&null!==a&&(a.value=e.getAttribute("value"),triggerEvent(a,"click"),triggerEvent(a,"change")),"subject"===l&&null!==c&&(c.value=e.getAttribute("value"),triggerEvent(c,"click"),triggerEvent(c,"change"));}t.classList.remove(selectOpen),setFocus(t.getElementsByTagName("button").item(0),100);}}),Array.prototype.slice.call(document.querySelectorAll(".selectbox-wrap__option--subdropdown")).forEac
12h(function(e,t){e.classList.contains(subSelectOpen)&&e.classList.remove(subSelectOpen);});},selectboxBindEvent=function(e){var t=function(){e.parentNode.classList.contains(selectOpen)?(e.parentNode.classList.remove(selectOpen),e.setAttribute(ATTR_EXPANDED,!1)):(e.parentNode.classList.add(selectOpen),e.setAttribute(ATTR_EXPANDED,!0),setFocus(e.nextElementSibling.getElementsByTagName("span").item(0),100));};e.addEventListener("click",function(e){t(),e.preventDefault();}),e.addEventListener("keydown",function(s){keyCheck(RETURN_KEY)&&(t(),s.preventDefault()),keyCheck(DOWN_ARROW_KEY)&&e.parentNode.classList.contains(selectOpen)&&setFocus(e.nextElementSibling.getElementsByTagName("span").item(0),100);});var s=Array.prototype.slice.call(e.parentNode.querySelectorAll(".selectbox-wrap__dropdown-label"));s.forEach(function(e,t){e.addEventListener("click",function(t){e.parentNode.classList.contains("selectbox-wrap__option--subdropdown")?e.parentNode.classList.contains(subSelectOpen)?(s.forEach(function(e){e.parentNode.classList.contains(subSelectOpen)&&e.parentNode.classList.remove(subSelectOpen);}),e.parentNode.classList.remove(subSelectOpen)):(s.forEach(function(e){e.parentNode.classList.contains(subSelectOpen)&&e.parentNode.classList.remove(subSelectOpen);}),e.parentNode.classList.add(subSelectOpen),setFocus(e.nextElementSibling.getElementsByTagName("span").item(0),100)):(e.classList.contains("selectbox-wrap__dropdown-label--sub-selected-wrap")||(selectedOptionValue=e.textContent),displaySelectedDropdownVal(e)),t.stopPropagation();}),e.addEventListener("keydown",function(t){if(keyCheck(RETURN_KEY)&&(e.parentNode.classList.contains("selectbox-wrap__option--subdropdown")?(s.forEach(function(e){e.parentNode.classList.contains(subSelectOpen)&&e.parentNode.classList.remove(subSelectOpen);}),e.parentNode.classList.contains(subSelectOpen)?e.parentNode.classList.remove(subSelectOpen):(e.parentNode.classList.add(subSelectOpen),setFocus(e.nextElementSibling.getElementsByTagName("span").item(0),100))):(e.classList.contains("selectbox-wrap__dropdown-label--sub-selected-wrap")||(selectedOptionValue=e.textContent),displaySelectedDropdownVal(e))),keyCheck(RIGHT_ARROW_KEY)&&e.parentNode.classList.contains("selectbox-wrap__option--subdropdown")){var n;document.createEvent?(n=document.createEvent("MouseEvent")).initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null):n=new MouseEvent("click",{bubbles:!0,cancelable:!0});e.parentNode.getElementsByTagName("span").item(0).dispatchEvent(n);}var l=e.parentNode.previousElementSibling,o=e.parentNode.nextElementSibling,a=e.parentNode.parentNode,c=a.getElementsByTagName("div").item(0),r=a.lastElementChild.getElementsByTagName("span").item(0);if((keyCheck(TAB_KEY)||keyCheck(DOWN_ARROW_KEY))&&(a.parentNode.classList.contains("selectbox-wrap__option--subdropdown")?null!==o?setFocus(o.getElementsByTagName("span").item(0),100):null!==c&&(windowWidth<767?setFocus(c,100):null!==a&&setFocus(a.getElementsByTagName("span").item(0),100)):null!==o&&setFocus(o.getElementsByTagName("span").item(0),100),t.preventDefault()),(t.shiftKey&&keyCheck(TAB_KEY)||keyCheck(UP_ARROW_KEY))&&(a.parentNode.classList.contains("selectbox-wrap__option--subdropdown")?null!==l?windowWidth<767?!0===l.classList.contains("js-select-dropdown-close")?setFocus(c,100):setFocus(l.getElementsByTagName("span").item(0),100):!0===l.classList.contains("js-select-dropdown-close")?setFocus(r,100):setFocus(l.getElementsByTagName("span").item(0),100):setFocus(r,100):null!==l&&setFocus(l.getElementsByTagName("span").item(0),100),t.preventDefault()),keyCheck(LEFT_ARROW_KEY)){if(!e.parentNode.classList.contains("selectbox-wrap__option--subdropdown")){var i=e.parentNode.parentNode.parentNode;if(!i.classList.contains("selectbox-wrap")){var p=i.getElementsByTagName("span").item(0);triggerEvent(p,"click"),setFocus(p,100);}}t.preventDefault();}if(keyCheck(ESC_KEY)){var d=document.getElementsByClassName(selectOpen)[0],u=d.getElementsByClassName(subSelectOpen)[0];null!==d&&d.classList.remove(selectOpen),null!=u&&u.classList.remove(subSelectOpen),setFocus(d.getElementsByTagName("button").item(0),100),t.preventDefault();}});});};!function(e,t,s){t.behaviors.closeDropdown={attach:function(t,n){e(s("closeDropdown","html")).each(function(){document.addEventListener("click",function(){var e=document.getElementsByClassName(selectOpen),t=document.getElementsByClassName(subSelectOpen);closeSelectbox(e,selectOpen),closeSelectbox(t,subSelectOpen);});});}},t.behaviors.dataReportSearch={attach:function(e,t){s("dataReportSearch",".datareport-search .selectbox-wrap__selected-option",e).forEach(function(e){selectboxBindEvent(e);});}},t.behaviors.selectBoxWindowEvent={attach:function(e,t){s("selectBoxWindowEvent","body").forEach(selectboxComponent);}};}(jQuery,Drupal,once);;
13var tabsPanel=function(e){if(void 0!==e&&e){var t=Array.prototype.slice.call(e.querySelectorAll(".tab")),a=e.querySelector(".panels"),c=e.querySelector(".tab.tab--active");t.length>0&&(t.indexOf(c)>-1?t[t.indexOf(c)].removeAttribute("tabindex"):(t[0].removeAttribute("tabindex"),t[0].setAttribute("non-active",!0)),t.forEach(function(c){fnMultiListener(c,"click keydown focus",function(i){if("click"===i.t
13ype)setFocus(c,0),c.classList.contains("tab--active")||tabActivate(c,e,a);else if("keydown"===i.type)switch(i.preventDefault(),!0){case keyCheck(END_KEY):tabActivate(t[t.length-1],e,a);break;case keyCheck(HOME_KEY):tabActivate(t[0],e,a);break;case keyCheck(LEFT_ARROW_KEY):tabActivate(c.previousElementSibling,e,a);break;case keyCheck(RIGHT_ARROW_KEY):tabActivate(c.nextElementSibling,e,a);}else c.hasAttribute("non-active")&&(t[0].removeAttribute("non-active"),tabActivate(c,e,a));});}));}};function tabActivate(e,t,a){if(null!=e){var c=Array.prototype.slice.call(t.querySelectorAll(".tab")),i=t.querySelector(".tab.tab--active");if(c.indexOf(i)>-1&&(i.setAttribute("tabindex","-1"),i.setAttribute("aria-selected","false"),i.classList.remove("tab--active"),null!=a)){var r=a.querySelector(".panel.panel--active");null!=r&&r.classList.remove("panel--active");}if(e.classList.add("tab--active"),e.removeAttribute("tabindex"),e.setAttribute("aria-selected","true"),null!=a){i=t.querySelector(".tab.tab--active");var l=a.querySelectorAll(".panel")[c.indexOf(i)];null!=l&&l.classList.add("panel--active");}setFocus(e,0);}}!function(e,t){e.behaviors.tabsTabPanel={attach:function(e,a){t("reportOccurrencesTabPanel",".report-occurrence",e).forEach(function(e){tabsPanel(e);});}};}(Drupal,once);;
14!function(e,t,n){t.behaviors.responsiveTableCards={attach:function(e,t){function a(e){var t=[];[].slice.call(e.querySelectorAll("tr th")).forEach(function(n){n.hasAttribute("rowspan")||n.hasAttribute("colspan")?e.classList.add("simple-responsive-table-no-style"):t.push(function(e){var t=document.createElement("div");t.innerHTML=e;var n=t.textContent||t.innerText||"";return (n.includes("<")||n.includes("&lt;"))&&(t.innerHTML=n,n=t.textContent||t.innerText||""),n.replace(/<[^>]*>?/gm,"").trim();}(n.innerHTML));}),[].slice.call(e.querySelectorAll("tr")).forEach(function(n){"TBODY"===n.parentNode.tagName&&"TH"===n.firstElementChild.tagName?e.classList.add("simple-responsive-table-no-style"):[].slice.call(n.querySelectorAll("td")).forEach(function(n,a){if(!n.hasAttribute("rowspan")&&!n.hasAttribute("colspan")&&!e.classList.contains("simple-responsive-table-no-style")){if(!n.querySelector(".td__wrap")){var r=n.innerHTML,i=document.createElement("span");i.innerHTML=r,i.classList.add("td__wrap"),n.innerHTML="",n.appendChild(i);}void 0!==t[a]&&n.setAttribute("data-title",t[a]),""===n.innerHTML.trim()&&(n.innerHTML='<div class="simple-responsive-table-empty-row-data"></div>');}});});}n("table-to-card-processed","table.table-to-card",e).forEach(function(e){a(e);});}};}(jQuery,Drupal,once);;
15var reportNavigation=function(e){var t=".report-navigation__button",n="report-navigation__occurrence--active",i="report-navigation__occurrence--button-active",r=Array.prototype.slice.call(e.querySelectorAll(t)),a=Array.prototype.slice.call(e.querySelectorAll(".report-navigation__occurrence")),c=Array.prototype.slice.call(e.querySelectorAll(".report-navigation__link"));a.forEach(function(e){e.addEventListener("keydown",function(){var t=focusByPrintableChars(c);t&&e.classList.contains(n)&&f(t);});}),r.forEach(function(e,t){fnMultiListener(e,"click keydown",function(t){var i=e.nextElementSibling.firstElementChild,r=i.firstElementChild;"click"===t.type?(d(e),setFocus(r,0),f(i)):"keydown"===t.type&&(keyCheck(TAB_KEY)&&e.parentNode.classList.contains("report-navigation__occurrence--active")?f(i):keyCheck(RETURN_KEY)||keyCheck(DOWN_ARROW_KEY)||keyCheck(SPACE_KEY)?(t.preventDefault(),setFocus(r,0),f(i),e.parentNode.classList.contains(n)||d(e)):keyCheck(UP_ARROW_KEY)&&(t.preventDefault(),e.parentNode.classList.contains(n)&&u(e)));});}),document.addEventListener("keydown",function(e){keyCheck(ESC_KEY)&&s();}),fnMultiListener(document,"click",function(t){var n=t.target;do{if(n===e)return;n=n.parentNode;}while(n);l();}),c.forEach(function(e,t){fnMultiListener(e,"keydown",function(t){var n=e.parentNode.previousElementSibling,i=e.parentNode.nextElementSibling,r=e.parentNode,a=e.closest(".report-navigation__list"),c=a.firstElementChild,o=a.lastElementChild,s="Tab"===t.key;if(!s||t.shiftKey||r!==o)if(s&&t.shiftKey&&r===c)l();else{if("keydown"===t.type)if(keyCheck(UP_ARROW_KEY)||t.shiftKey&&keyCheck(TAB_KEY))t.preventDefault(),null!==n&&(setFocus(n.children[0],0),f(e,n));else if(keyCheck(DOWN_ARROW_KEY)||keyCheck(TAB_KEY))t.preventDefault(),null!==i&&(setFocus(i.children[0],0),f(e,i));else if(keyCheck(HOME_KEY)||keyCheck(END_KEY)){t.preventDefault();var u=getClosestByClass(e,"report-navigation__list");switch(!0){case keyCheck(HOME_KEY):u.firstElementChild.children[0].focus(),f(e,u.firstElementChild);break;case keyCheck(END_KEY):u.lastElementChild.children[0].focus(),f(e,u.lastElementChild);}}else{if(keyCheck(ESC_KEY))getClosestByClass(e,"report-navigation__occurrence").querySelector(".report-navigation__button").focus();}}else l();});});var o=function(e,t){e.setAttribute("aria-expanded",t);},s=function(){a.forEach(function(e,r){e.classList.contains(n)&&(e.classList.remove(n),e.querySelector(t).setAttribute("aria-expanded",!1));e.classList.contains(i)&&e.classList.remove(i);});},l=function(){a.forEach(function(e,i){e.classList.contains(n)&&(e.classList.remove(n),e.querySelector(t).setAttribute("aria-expanded",!1));});},u=function(e){e.parentNode.classList.remove(n),e.parentNode.classList.contains(i)&&e.parentNode.classList.remove(i),o(e,!1);},d=function(e){e.parentNode.classList.contains(n)?u(e):(s(),function(e){e.parentNode.classList.add(n),o(e,!0);var t=e.nextElementSibling,i=t.querySelector('[aria-selected="true"]'),r=t.firstElementChild;null!==i?t.setAttribute("aria-activedescendant",i.id):t.hasAttribute("aria-activedescendant")||f(r.firstElementChild,r.firstElementChild);}(e));},f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=getClosestByClass(e,"report-navigation__list").querySelector('[aria-selected="true"]'),i=getClosestByClass(e,"report-navigation__list");null!==n&&n.removeAttribute("aria-selected"),t.setAttribute("aria-selected",!0),i.setAttribute("aria-activedescendant",t.getAttribute("id"));};};!function(e,t){e.behaviors.reportOccurrenceNavigation={attach:function(e,n){t("reportOccurrenceNavigation",".report-navigation__occurrence-wrap",e).forEach(function(e){reportNavigation(e);});}};}(Drupal,once);;
16function _createForOfIteratorHelper(r,t){var n="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];
16if(!n){if(Array.isArray(r)||(n=_unsupportedIterableToArray(r))||t&&r&&"number"==typeof r.length){n&&(r=n);var e=0,o=function(){};return {s:o,n:function(){return e>=r.length?{done:!0}:{done:!1,value:r[e++]};},e:function(r){throw r;},f:o};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var a,i=!0,u=!1;return {s:function(){n=n.call(r);},n:function(){var r=n.next();return i=r.done,r;},e:function(r){u=!0,a=r;},f:function(){try{i||null==n.return||n.return();}finally{if(u)throw a;}}};}function _unsupportedIterableToArray(r,t){if(r){if("string"==typeof r)return _arrayLikeToArray(r,t);var n={}.toString.call(r).slice(8,-1);return "Object"===n&&r.constructor&&(n=r.constructor.name),"Map"===n||"Set"===n?Array.from(r):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(r,t):void 0;}}function _arrayLikeToArray(r,t){(null==t||t>r.length)&&(t=r.length);for(var n=0,e=Array(t);n<t;n++)e[n]=r[n];return e;}var restrictedContent=function(r){if(null!==r.children){var t=r.getElementsByTagName("*");blurContentChildern(t);}},blurContentChildern=function(r){var t,n=_createForOfIteratorHelper(r);try{for(n.s();!(t=n.n()).done;){var e=t.value;e.localName.match(/br|b|strong/g)||e.setAttribute("tabindex","-1");}}catch(r){n.e(r);}finally{n.f();}};!function(r,t){r.behaviors.contentBlur={attach:function(r,n){t("contentBlur",".content-blur",r).forEach(function(r){restrictedContent(r);});}};}(Drupal,once);;
17function _createForOfIteratorHelper(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,l=function(){};return {s:l,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]};},e:function(e){throw e;},f:l};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var o,c=!0,s=!1;return {s:function(){n=n.call(e);},n:function(){var e=n.next();return c=e.done,e;},e:function(e){s=!0,o=e;},f:function(){try{c||null==n.return||n.return();}finally{if(s)throw o;}}};}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 _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;}var selectedDdValues=[],scrollToElem=function(e,t){if(e.scrollHeight>e.clientHeight){var n=e.clientHeight+e.scrollTop,r=t.offsetTop+outerHeight(t);r>n?e.scrollTop=r-e.clientHeight:t.offsetTop<e.scrollTop&&(e.scrollTop=t.offsetTop);}},customSelectBox=function(){var e="custom-select-box--is-open",t=Array.prototype.slice.call(document.querySelectorAll(".custom-select-box__selected-option")),n=Array.prototype.slice.call(document.querySelectorAll(".custom-select-box")),r=Array.prototype.slice.call(document.querySelectorAll(".custom-select-box__option")),l=Array.prototype.slice.call(document.querySelectorAll('[type="reset"]')),o=document.querySelectorAll(".custom-select-box__dropdown");n.forEach(function(t){t.addEventListener("keydown",function(){var n=focusByPrintableChars(r);n&&t.classList.contains(e)&&d(n);});}),t.forEach(function(t){fnMultiListener(t,"click keydown",function(n){var r=t.nextElementSibling;r.firstElementChild;"click"===n.type?t.parentNode.classList.contains(e)||(u(t),r.focus()):"keydown"===n.type&&(keyCheck(RETURN_KEY)||keyCheck(DOWN_ARROW_KEY)||keyCheck(SPACE_KEY)?(n.preventDefault(),setFocus(r,0),t.parentNode.classList.contains(e)||u(t)):keyCheck(ESC_KEY)&&(n.preventDefault(),t.parentNode.classList.contains(e)&&i(t)));});}),fnMultiListener(document,"click",function(t){var r,l=_createForOfIteratorHelper(n);try{for(l.s();!(r=l.n()).done;){var o=r.value;
17o!==t.target&&!o.contains(t.target)&&o.classList.contains(e)&&a();}}catch(e){l.e(e);}finally{l.f();}}),o.forEach(function(t){fnMultiListener(t,"click keydown",function(r){var l="",o=t.getAttribute("aria-activedescendant"),s=document.getElementById(o),i=s.previousElementSibling,u=s.nextElementSibling;if("click"===r.type)l=document.getElementById(r.target.getAttribute("id")),c(l),d(t,l);else{if("keydown"===r.type)if(keyCheck(RETURN_KEY)||keyCheck(SPACE_KEY))r.preventDefault(),c(s);else if(keyCheck(UP_ARROW_KEY)||r.shiftKey&&keyCheck(TAB_KEY))r.preventDefault(),null!==i?d(t,i):a(t);else if(keyCheck(DOWN_ARROW_KEY)||keyCheck(TAB_KEY))r.preventDefault(),null!==u?d(t,u):a(t);else if(keyCheck(ESC_KEY))n.forEach(function(t,n){t.classList.contains(e)&&t.children[0].focus();}),a();else{if(keyCheck(HOME_KEY)||keyCheck(END_KEY))switch(r.preventDefault(),!0){case keyCheck(HOME_KEY):d(t,t.firstElementChild);break;case keyCheck(END_KEY):d(t,t.lastElementChild);}}}});}),null!=l&&l.forEach(function(e){return e.addEventListener("click",function(){var t,n=getClosestByClass(e,"form-scope"),r=getClosest(e,"FORM"),l="undefined"!==n&&null!==n?n:null,o="undefined"!==r&&null!==r?r:null;if(null!==(t=null!==l?l:null!==o?o:null)){var s=t.querySelectorAll(".custom-select-box__dropdown");null!=s&&s.forEach(function(e){var t=e.firstElementChild;c(t),d(e,t),e.previousElementSibling.selectedIndex=0;});}});});var c=function(t){var r=t.textContent,l=t.getAttribute("value"),o=getClosestByClass(t,"custom-select-box").querySelector(".custom-select-box__default-option"),c=t.parentElement.querySelector("[data-selected]");null!==c&&(c.removeAttribute("data-selected"),t.setAttribute("data-selected","")),n.forEac
17h(function(t,n){if(o.textContent=r,t.classList.contains(e)){t.children[0].focus();var c={};c.dropdownId=n,c.dropdownValue=r,selectedDdValues.push(c);var s=t.previousElementSibling;s.value=l,triggerEvent(s,"click"),triggerEvent(s,"change");}}),a();},s=function(e,t){e.setAttribute("aria-expanded",t);},a=function(){n.forEach(function(t,n){f(t,!1),t.classList.contains(e)&&t.classList.remove(e);}),t.forEach(function(e,t){s(e,!1);});},i=function(t){f(t,!1),t.parentNode.classList.remove(e),s(t,!1);},u=function(t){t.parentNode.classList.contains(e)?i(t):(a(),d(t.parentElement.querySelector("[data-selected]")),function(t){f(t,!0),t.parentNode.classList.add(e),s(t,!0);var n=t.nextElementSibling,r=n.querySelector('[aria-selected="true"]'),l=n.firstElementChild;null!==r?n.setAttribute("aria-activedescendant",r.id):n.hasAttribute("aria-activedescendant")||d(l);}(t));},d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=getClosestByClass(e,"custom-select-box__dropdown").querySelector('[aria-selected="true"]'),r=getClosestByClass(e,"custom-select-box__dropdown");null!==n&&n.removeAttribute("aria-selected"),t.setAttribute("aria-selected",!0),r.setAttribute("aria-activedescendant",t.getAttribute("id")),scrollToElem(r,t);},f=function(e,t){var n=getClosestByClass(e,"selectbox-wrap");null!==n&&(t?n.classList.add("selectbox-wrap--isopen"):n.classList.remove("selectbox-wrap--isopen"));};},facetsCustomSelectBox=function(e){var t="facet-select-box--is-open",n=e.querySelector(".facet-select-box__selected-option"),r=e.querySelector(".facet-select-box__dropdown");e.addEventListener("keydown",function(){var n=focusByPrintableChars(e.querySelectorAll(".facet-select-box__option"));n&&e.classList.contains(t)&&i(n);}),e.querySelector(".facet-select-box__default-option").textContent=e.querySelector("[selected]").textContent,fnMultiListener(n,"click keydown",function(e){var r=n.parentNode.querySelector(".facet-select-box__dropdown"),l=r.querySelector("[aria-selected]"),o=l.previousElementSibling,c=l.nextElementSibling;"click"===e.type?(a(n),r.focus()):"keydown"===e.type&&(keyCheck(RETURN_KEY)||keyCheck(SPACE_KEY)||keyCheck(UP_ARROW_KEY)||keyCheck(DOWN_ARROW_KEY)?(e.preventDefault(),keyCheck(UP_ARROW_KEY)||keyCheck(DOWN_ARROW_KEY)?(setFocus(r,0),a(n),keyCheck(UP_ARROW_KEY)?null!==o?i(l,o):i(l):keyCheck(DOWN_ARROW_KEY)&&(null!==c?i(l,c):i(l))):(setFocus(r,0),a(n))):keyCheck(ESC_KEY)&&(e.preventDefault(),n.parentNode.classList.contains(t)&&s(n)));}),fnMultiListener(document,"click",function(n){e!==n.target&&!e.contains(n.target)&&e.classList.contains(t)&&c();}),fnMultiListener(r,"click keydown",function(n){var o="",s=r.querySelector("[aria-selected]"),a=r.getAttribute("aria-activedescendant"),u=document.getElementById(a),d=u.previousElementSibling,f=u.nextElementSibling;if("click"===n.type)o=document.getElementById(n.target.getAttribute("id")),l(o);else{if("keydown"===n.type)if(keyCheck(RETURN_KEY)||keyCheck(SPACE_KEY))n.preventDefault(),l(u);else if(keyCheck(UP_ARROW_KEY)||n.shiftKey&&keyCheck(TAB_KEY))n.preventDefault(),null!==d?i(s,d):c();else if(keyCheck(DOWN_ARROW_KEY)||keyCheck(TAB_KEY))n.preventDefault(),null!==f?i(s,f):c();else if(keyCheck(ESC_KEY)){if(e.classList.contains(t))e.children[0].focus();c();}else{if(keyCheck(HOME_KEY)||keyCheck(END_KEY))switch(n.preventDefault(),!0){case keyCheck(HOME_KEY):i(s,r.firstElementChild);break;case keyCheck(END_KEY):i(s,r.lastElementChild);}}}});var l=function(n){var r=getClosestByClass(n,"facets-widget-datepicker");if(null!==r&&(r.querySelector(".custom-date-range-wrapper").style.display="none","custom-date-range"===n.getAttribute("id")&&(r.querySelector(".custom-date-range-wrapper").style.display="block")),!n.hasAttribute("selected")){var l=n.parentElement.querySelector("[data-selected]");"custom-date-range"!==n.getAttribute("id")&&jQuery(n.parentElement).trigger("facets_filter",[n.getAttribute("value")]),i(n),null!==l&&(l.removeAttribute("data-selected"),n.setAttribute("data-selected",""));}if(e.classList.contains(t)){var o=e.children[0];o.querySelector(".facet-select-box__default-option").textContent=n.textContent,o.focus();}c();},o=function(e,t){e.setAttribute("aria-expanded",t);},c=function(){u(e,!1),e.classList.contains(t)&&e.classList.remove(t),o(n,!1);},s=function(e){u(e,!1),e.parentNode.classList.remove(t),o(e,!1);},a=function(e){e.parentNode.classList.contains(t)?s(e):(c(),i(e.parentElement.querySelector("[data-selected]")),function(e){u(e,!0),e.parentNode.classList.add(t),o(e,!0);var n=e.parentNode.querySelector(".facet-select-box__dropdown"),r=n.querySelector('[aria-selected="true"]'),l=n.firstElementChild;null!==r?n.setAttribute("aria-activedescendant",r.id):n.hasAttribute("aria-activedescendant")||i(l);}(e));},i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=e.parentElement,r=n.querySelector("[aria-selected]");null!==r&&r.removeAttribute("aria-selected"),t.setAttribute("aria-selected",!0),n.setAttribute("aria-activedescendant",t.getAttribute("id")),scrollToElem(n,t);},u=function(e,t){var n=getClosestByClass(e,"selectbox-wrap");null!==n&&(t?n.classList.add("selectbox-wrap--isopen"):n.classList.remove("selectbox-wrap--isopen"));};},facetFilterGrp=function(){var e=document.querySelector(".facet-button");null!==e&&e.addEventListener("click",function(){var t="facet-search__filter--show",n="facet-button--is-open",r=e.querySelector(".facet-button__text-col"),l=document.querySelector(".facet-search__filter");event.preventDefault(),e.classList.contains(n)&&null!==l?(r.textContent="Show Filters",e.classList.remove(n),l.classList.remove(t)):(r.textContent="Hide Filters",e.classList.add(n),null!==l&&l.classList.add(t)),e.setAttribute("aria-label",r.textContent);}),document.querySelector("main").classList.contains("kss-main")&&customSelectBox();};!function(e,t,n){t.behaviors.customSelect={attach:function(t,r){var l="";selectedDdValues.length>
170&&(selectedDdValues.forEach(function(e,t){if(e.hasOwnProperty("dropdownId")&&e.hasOwnProperty("dropdownValue")){var n=Array.prototype.slice.call(document.querySelectorAll(".custom-select-box"));n.forEach(function(t,r){var l=new URLSearchParams(window.location.search);l.has("sort_by")?n[r].querySelectorAll(".custom-select-box__dropdown li").forEach(function(e){l.get("sort_by")==e.getAttribute("value")&&(n[r].querySelectorAll(".custom-select-box__selected-option .custom-select-box__default-option")[0].innerHTML=e.innerHTML);}):r===e.dropdownId&&(n[r].querySelectorAll(".custom-select-box__selected-option .custom-select-box__default-option")[0].innerHTML=e.dropdownValue);});}}),e(".ajax-progress").remove()),0==e(t).find(".affinity-filter").length?0==(l=e(n("customSelect",".views-exposed-form",t))).length&&(l=e(n("customSelect","form.views-exposed-form",document))):l=e(t),l.each(function(){customSelectBox();});}},facetFilterGrp();}(jQuery,Drupal,once);;
18var uniNav=function(e){if(null!==e){var n=e.querySelectorAll(".universal-navigation__button"),t=e.querySelectorAll(".universal-navigation__dropdown-list .universal-navigation__dropdown-item"),i=function(e,n,t){t?(n.classList.add("universal-navigation__menu--open"),e.setAttribute("aria-expanded","true")):(n.classList.remove("universal-navigation__menu--open"),e.setAttribute("aria-expanded","false"));};if(null!==n)for(var a=function(){var t=n[l],a=n[l].parentNode;t.addEventListener("click",function(n){n.preventDefault(),n.stopPropagation();var l=e.querySelectorAll(".universal-navigation__menu--open");if(a.classList.contains("universal-navigation__menu--open")?i(t,a,!1):i(t,a,!0),null!==l)for(var r=0;r<l.length;r++){var o=l[r].querySelector(".universal-navigation__button");i(o,l[r],!1);}}),t.addEventListener("keydown",function(e){keyCheck(RETURN_KEY)||keyCheck(SPACE_KEY)||keyCheck(UP_ARROW_KEY)||keyCheck(DOWN_ARROW_KEY)?(e.preventDefault(),e.stopPropagation(),!a.classList.contains("universal-navigation__menu--open")||keyCheck(UP_ARROW_KEY)||keyCheck(DOWN_ARROW_KEY)?keyCheck(RETURN_KEY)||keyCheck(SPACE_KEY)||keyCheck(DOWN_ARROW_KEY)?(i(t,a,!0),t.nextElementSibling.firstElementChild.firstElementChild.focus()):keyCheck(UP_ARROW_KEY)&&(i(t,a,!0),t.nextElementSibling.lastElementChild.firstElementChild.focus()):(e.preventDefault(),i(t,a,!1))):(keyCheck(TAB_KEY)||keyCheck(ESC_KEY))&&a.classList.contains("universal-navigation__menu--open")&&i(t,a,!1);});},l=0;l<n.length;l++)a();if(null!==t)for(var r=function(){var e=t[o],n=t[o].parentNode.parentNode,a=n.querySelector(".universal-navigation__button");e.addEventListener("keydown",function(t){if(keyCheck(UP_ARROW_KEY)||t.shiftKey&&keyCheck(TAB_KEY)){var l=t.target.parentNode.previousElementSibling;if(null!==l){if(!keyCheck(TAB_KEY)){var r=l.firstElementChild;null!==r&&r.focus();}}else if(keyCheck(TAB_KEY))i(a,n,!1);else{if(keyCheck(UP_ARROW_KEY))t.preventDefault(),t.target.parentNode.parentNode.lastElementChild.firstElementChild.focus();}}else if(keyCheck(DOWN_ARROW_KEY)||keyCheck(TAB_KEY)){var o=t.target.parentNode.nextElementSibling;if(null!==o){t.preventDefault();var s=o.firstElementChild;null!==s&&s.focus();}else if(keyCheck(TAB_KEY))i(a,n,!1);else{if(keyCheck(DOWN_ARROW_KEY))t.preventDefault(),t.target.parentNode.parentNode.firstElementChild.firstElementChild.focus();}}else{if(keyCheck(ESC_KEY)){var u=e.parentNode.parentNode;i(u.firstElementChild,u,!1),u.firstElementChild.focus();}}});},o=0;o<t.length;o++)r();e.addEventListener("focusout",function(n){var t=e.querySelectorAll(".universal-navigation__menu--open");if(null!==t)for(var a=0;a<t.length;a++)if(t[a]!==getClosestByClass(n.target,"universal-navigation__menu--open")){var l=t[a].querySelector(".universal-navigation__button");i(l,t[a],!1);}}),document.addEventListener("click",function(e){var t=getClosestByClass(e.target,"universal-navigation__dropdown-list"),a=e.target.classList.contains("universal-navigation__dropdown-link");if(null===t||a)for(var l=0;l<n.length;l++){var r=n[l].parentNode;r.classList.contains("universal-navigation__menu--open")&&i(n[l],r,!1);}});}};uniNav(document.querySelector(".kss-modifier__example .universal-navigation"));;
19function _createForOfIteratorHelper(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var a=0,n=function(){};return {s:n,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]};},e:function(e){throw e;},f:n};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var o,i=!0,c=!1;return {s:function(){r=r.call(e);},n:function(){var e=r.next();return i=e.done,e;},e:function(e){c=!0,o=e;},f:function(){try{i||null==r.return||r.return();}finally{if(c)throw o;}}};}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var r={}.toString.call(e).slice(8,-1);return "Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(e,t):void 0;}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=Array(t);r<t;r++)a[r]=e[r];return a;}var toggleButton=function(e,t){e?t.classList.add("header-search__form__close-btn--s
19how"):t.classList.remove("header-search__form__close-btn--show");},headerSearchEvents=function(e){if(null!==e){var t=document.querySelector(".content_area__wrapper"),r=document.querySelector(".header__search-btn"),a=(e.querySelector(".header-search__form__close-btn"),e.querySelector(".header-search__form__input-field")),n=(e.querySelector(".header-search__form__error"),document.querySelector(".minimal-header")),o=e.querySelector("[type=submit]"),i=document.querySelector(".mega-menu"),c=document.querySelector(".minimal-header .search-sidebar-form");null!==c&&(c.style.display="none");var s=function(n){var o=document.body.classList,s=[".skip-link",".universal-navigation",".universal-navigation__signin .universal-navigation__menu-item__link",".header__logo-link",".header__menu-btn",".content_area__wrapper",".people-carousel"];n?(e.removeAttribute("aria-hidden"),e.classList.add("header-search--open"),r.classList.add("header__search-btn--open"),r.setAttribute("aria-label","Close Search"),r.setAttribute("aria-expanded",n),toBeHiddenInVO(s,n),a.focus(),o.add("header-search--is-open"),null!==i&&i.setAttribute("hidden","hidden"),null!==t&&t.classList.add("content_area__wrapper--overlay-active"),null!==c&&(c.style.display="block")):(e.setAttribute("aria-hidden",!0),e.classList.remove("header-search--open"),r.classList.remove("header__search-btn--open"),r.setAttribute("aria-label","Search"),r.setAttribute("aria-expanded",n),toBeHiddenInVO(s,n),o.remove("header-search--is-open"),null!==i&&i.removeAttribute("hidden","hidden"),null!==t&&t.classList.remove("content_area__wrapper--overlay-active"),null!==c&&(c.style.display="none"));};null!==r&&(fnMultiListener(r,"click keydown keyup",function(){"click"===event.type||"ke
19ydown"===event.type&&keyCheck(RETURN_KEY)||"keyup"===event.type&&keyCheck(SPACE_KEY)?(event.preventDefault(),window.scrollTo({top:0,behavior:"smooth"}),e.classList.contains("header-search--open")?s(!1):s(!0)):"keydown"===event.type&&event.shiftKey&&keyCheck(TAB_KEY)&&e.classList.contains("header-search--open")&&null!==o&&(event.preventDefault(),o.focus());}),null!==o&&o.addEventListener("keydown",function(){(window.matchMedia("(max-width: ".concat(DESKTOP_MIN-1,"px)")).matches||window.matchMedia("(min-width: ".concat(DESKTOP_MIN,"px)")).matches&&n)&&!event.shiftKey&&keyCheck(TAB_KEY)&&(event.preventDefault(),r.focus());})),e.addEventListener("keydown",function(){keyCheck(ESC_KEY)&&(window.matchMedia("(max-width: ".concat(DESKTOP_MIN-1,"px)")).matches||window.matchMedia("(min-width: ".concat(DESKTOP_MIN,"px)")).matches&&n)&&(s(!1),r.focus());}),document.addEventListener("click",function(){if(window.matchMedia("(max-width: ".concat(DESKTOP_MIN-1,"px)")).matches||window.matchMedia("(min-width: ".concat(DESKTOP_MIN,"px)")).matches&&n){var t=getClosestByClass(event.target,"header__search-btn"),r=getClosestByClass(event.target,"header-search");null===t&&null===r&&e.classList.contains("header-search--open")&&s(!1);}},!0),window.addEventListener("resize",function(){window.matchMedia("(min-width: ".concat(DESKTOP_MIN,"px)")).matches&&!n?(e.classList.contains("header-search--open")&&s(!1),e.removeAttribute("aria-hidden")):/(android)/i.test(navigator.userAgent)||e.setAttribute("aria-hidden",!0);});}},headerSearchCommon=function(e,t){if(null!==e){var r=e.querySelector(".header-search__form__input-field"),a=e.querySelector(".header-search__form__error"),n=e.querySelector(".header-search__form__close-btn");if(!r)return;""!==r.value&&toggleButton(!0,n),fnMultiListener(r,"focus keyup",function(){""===r.value?toggleButton(!1,n):toggleButton(!0,n);}),r.addEventListener("invalid",function(){event.preventDefault(),a.classList.remove("hidden"),a.innerHTML=r.validationMessage,r.focus();}),r.addEventListener("input",function(e){r.validity.valid&&(a.innerHTML="",a.classList.add("hidden"));}),fnMultiListener(n,"click keydown",function(){if(("click"===event.type||"ke
19ydown"===event.type&&keyCheck(RETURN_KEY))&&""!==r.value&&n.classList.contains("header-search__form__close-btn--show")&&(event.preventDefault(),r.value="",toggleButton(!1,n),r.focus(),hasQueryParam(window.location.href,"keys"))){var e=removeQueryParam(window.location.href,"keys"),t=document.querySelector(".section-custom-on-page-search-block .section-heading__title ");if(t&&t.id)e=e+"#"+t.id;document.querySelector('form[data-drupal-selector="views-exposed-form-directory-biography-listing-view-solr-cod-full-bio-with-image"] .header-search__form__close-btn')&&(e=removeQueryParam(e,"sort_by")),window.location.href=e;}}),document.addEventListener("click",function(){a.classList.add("hidden");},!0),t(document).ajaxComplete(function(e,t,a){r.setAttribute("data-bef-auto-submit-exclude","");});}},accessibilityImprovement=function(){if(document.getElementsByClassName("accessibility-search").length>0){var e=document.querySelectorAll(".listing_plage_block__title.acc-search-heading")&&document.querySelectorAll(".listing_plage_block__title.acc-search-heading").length>0?document.querySelectorAll(".listing_plage_block__title.acc-search-heading"):document.querySelectorAll(".acc-search-heading");e.length>0&&e.forEach(function(e,t){var r=e.innerText,a=document.querySelectorAll(".accessibility-search .js-form-submit")[t],n=document.querySelectorAll(".accessibility-search .header-search__form__input-field")[t],o="Search ".concat(r);a&&a.setAttribute("aria-label",o),n&&n.setAttribute("aria-label",o);});}};!function(e,t,r){t.behaviors.headerSearch={attach:function(t,a){r("headerSearch","header .header-search",t).forEach(function(t){headerSearchEvents(t),headerSearchCommon(t,e);}),r("mainHeaderSearch","main .header-search",t).forEach(function(t){headerSearchCommon(t,e);}),accessibilityImprovement();var n=document.getElementsByClassName("header-search__form__input-field");if(n&&n.length>0){var o,i=_createForOfIteratorHelper(n);try{var c=function(){var e=o.value;e.addEventListener("focus",function(){e.removeAttribute("placeholder");}),e.addEventListener("blur",function(){e.setAttribute("placeholder","Search");});};for(i.s();!(o=i.n()).done;)c();}catch(e){i.e(e);}finally{i.f();}}}};}(jQuery,Drupal,once);;
20var leftNavInit=function(e){if(null!==e){addAttribute();var t=e.querySelectorAll(".left-nav__columns__menu__item__panel"),n=function(t,n){var l,i=t.firstElementChild,a=t.classList;null!==(l=e.querySelectorAll(".left-nav__columns__menu__item--open"))&&l.forEach(function(e){e.classList.remove("left-nav__columns__menu__item--open"),e.firstElementChild.setAttribute("aria-expanded","false");}),n&&(a.add("left-nav__columns__menu__item--open"),i.setAttribute("aria-expanded","true"));};null!==t&&(basicKeyDownListTraversalFn(e.querySelectorAll(".left-nav__columns__menu__item"),!1,!0),t.forEach(function(e){var t=e.parentElement,l=t.querySelector(".left-nav-expand-child-menu"),i=e.querySelector(".left-nav__columns__menu__item__panel__list__link--active");fnMultiListener(l,"click keydown",function(){("click"===event.type||keyCheck(RETURN_KEY)||keyCheck(SPACE_KEY))&&(event.preventDefault(),t.classList.contains("left-nav__columns__menu__item--open")?n(t,!1):n(t,!0));}),i&&n(t,!0);}));}},addAttribute=function(){document.querySelectorAll("svg").forEach(function(e){(e.classList.contains("icon--chevron-down")||e.classList.contains("icon--inner-chevron-down"))&&(e.setAttribute("tabindex",0),e.setAttribute("role","button"),e.setAttribute("aria-expanded","true"));});};!function(e,t){e.behaviors.leftNav={attach:function(e,n){t("leftNav",".left-nav",e).forEach(function(e){leftNavInit(e);});}};}(Drupal,once);;
21var customLeftNavMobileInit=function(e){if(null!==e){var t=e.querySelectorAll(".custom-left-nav__select .custom-left-nav__columns__menu__item__panel"),n=e.querySelectorAll(".custom-left-nav__select .custom-left-inner-nav__columns__menu__item__panel"),l=e.querySelector(".custom-left-nav__select .custom-left-nav__columns__title"),_=function(t,n){var l,_=t.firstElementChild,c=t.classList;null!==(l=e.querySelectorAll(".custom-left-nav__select .custom-left-nav__columns__menu__item--open"))&&l.forEach(function(e){e.classList.remove("custom-left-nav__columns__menu__item--open"),e.firstElementChild.setAttribute("aria-expanded","fal
21se");}),n&&(c.add("custom-left-nav__columns__menu__item--open"),_.setAttribute("aria-expanded","true"));},c=function(t,n){var l,_=t.firstElementChild,c=t.classList;null!==(l=e.querySelectorAll(".custom-left-nav__select .custom-left-inner-nav__columns__menu__item--open"))&&l.forEach(function(e){e.classList.remove("custom-left-inner-nav__columns__menu__item--open"),e.firstElementChild.setAttribute("aria-expanded","false");}),n&&(c.add("custom-left-inner-nav__columns__menu__item--open"),_.setAttribute("aria-expanded","true"));};null!==t&&(basicKeyDownListTraversalFn(e.querySelectorAll(".custom-left-nav__select .custom-left-nav__columns__menu__item"),!1,!0),t.forEach(function(e){var t=e.parentElement,n=t.querySelector(".custom-left-nav__select .custom-left-nav-expand-child-menu"),l=t.querySelector(".custom-left-nav__select .custom-left-inner-nav__columns__menu__item__panel__list__link--active");n&&fnMultiListener(n,"click keydown",function(){("click"===event.type||keyCheck(RETURN_KEY)||keyCheck(SPACE_KEY))&&(event.preventDefault(),t.classList.contains("custom-left-nav__columns__menu__item--open")?_(t,!1):_(t,!0));}),l&&_(t,!0);})),null!==n&&(basicKeyDownListTraversalFn(e.querySelectorAll(".custom-left-nav__select .custom-left-inner-nav__columns__menu__item"),!1,!0),n.forEac
21h(function(e){var t=e.parentElement,n=t.querySelector(".custom-left-nav__select .custom-left-inner-nav-expand-child-menu"),l=e.querySelector(".custom-left-nav__select .custom-left-inner-nav__columns__menu__item__panel__list__link--active"),_=t.querySelector(".custom-left-nav__select .custom-left-inner-nav__columns__menu__item__panel__list__link--active");n&&fnMultiListener(n,"click keydown",function(){("click"===event.type||keyCheck(RETURN_KEY)||keyCheck(SPACE_KEY))&&(event.preventDefault(),t.classList.contains("custom-left-inner-nav__columns__menu__item--open")?c(t,!1):c(t,!0));}),l&&c(t,!0),_&&c(t,!0);})),l.addEventListener("click",function(){var t=e.querySelector(".custom-left-nav__select .custom-left-nav__columns__title .icon"),n=e.querySelector(".custom-left-nav__select .custom-left-nav__columns__menu"),l=e.querySelector(".custom-left-nav__select .custom-left-nav__columns__title");n&&n.classList.contains("mobile--hide")?(n.classList.remove("mobile--hide"),t.classList.add("icon--chevron-down-open"),l.classList.add("dd-expand"),l.style.borderBottom="none"):(n.classList.add("mobile--hide"),t.classList.remove("icon--chevron-down-open"),l.classList.remove("dd-expand"),l.style.borderBottom="");}),l.addEventListener("keypress",function(t){if("Enter"===t.key){var n=e.querySelector(".custom-left-nav__select .custom-left-nav__columns__title .icon"),l=e.querySelector(".custom-left-nav__select .custom-left-nav__columns__menu"),_=e.querySelector(".custom-left-nav__select .custom-left-nav__columns__title");l&&l.classList.contains("mobile--hide")?(l.classList.remove("mobile--hide"),n.classList.add("icon--chevron-down-open"),_.classList.add("dd-expand"),_.style.borderBottom="none"):(l.classList.add("mobile--hide"),n.classList.remove("icon--chevron-down-open"),_.classList.remove("dd-expand"),_.style.borderBottom="");}});(s=e.querySelector(".custom-left-nav__select .js-active .active__span"))&&(e.querySelector(".custom-left-nav__select .custom-left-nav__columns__title .custom-left-nav__columns__title__span").innerHTML=s.innerHTML);}var s;};!function(e,t,n){t.behaviors.customLeftNavMobile={attach:function(e,t){n("customLeftNavMobile",".custom-left-nav__select",e).forEach(function(e){customLeftNavMobileInit(e);});}};}(jQuery,Drupal,once);;
22var facetsFilterToggle=function(e){var t=e.querySelector(".facet-block__filter-btn"),a=e.querySelectorAll(".facet-block__title__btn"),n=e.querySelector(".js-facet-block__title");e.querySelector(".kss-main .facets-widget-datepicker .base_select");null!==t&&fnMultiListener(t,"click keydown keyup",function(){if(("click"===event.type||"ke
22ydown"===event.type&&keyCheck(RETURN_KEY)||"keyup"===event.type&&keyCheck(SPACE_KEY))&&window.matchMedia("(max-width: ".concat(DESKTOP_MIN-1,"px)")).matches){if(event.preventDefault(),null!==n){var a=n.parentElement.parentElement.classList.contains("initially-open"),c=n.parentElement.parentElement;a?c.classList.add("facet-block--lastname--open"):c.classList.remove("initially-open");}e.classList.contains("facet-block__wrap--open")?(e.classList.remove("facet-block__wrap--open"),t.setAttribute("aria-expanded",!1)):(e.classList.add("facet-block__wrap--open"),t.setAttribute("aria-expanded",!0));}}),null!==a&&a.forEach(function(e){fnMultiListener(e,"click keydown keyup",function(){if(("click"===event.type||"keydown"===event.type&&keyCheck(RETURN_KEY)||"keyup"===event.type&&keyCheck(SPACE_KEY))&&window.matchMedia("(max-width: ".concat(DESKTOP_MIN-1,"px)")).matches){var t=getClosestByClass(e,"facet-block--checkbox");event.preventDefault(),t&&(t.classList.contains("facet-block--checkbox--open")?(t.classList.remove("facet-block--checkbox--open"),e.setAttribute("aria-expanded",!1)):(t.classList.add("facet-block--checkbox--open"),e.setAttribute("aria-expanded",!0)));}});}),null!==n&&fnMultiListener(n,"click keydown keyup",function(){if(("click"===event.type||"ke
22ydown"===event.type&&keyCheck(RETURN_KEY)||"keyup"===event.type&&keyCheck(SPACE_KEY))&&window.matchMedia("(max-width: ".concat(DESKTOP_MIN-1,"px)")).matches){var e=getClosestByClass(n,"facet-block--lastname");event.preventDefault(),n&&(e.classList.contains("facet-block--lastname--open")?(e.classList.remove("facet-block--lastname--open"),n.setAttribute("aria-expanded",!1)):(e.classList.add("facet-block--lastname--open"),n.setAttribute("aria-expanded",!0)));}});},searchHighlight=function(e){var t=e.querySelector(".facet-item__value"),a=event.target.value,n=t.innerHTML.replace(/(<strong class="highlight">|<\/strong>)/gim,"");if(a.length>=3){var c=new RegExp(a.replace(/([.+*?:\[\](){}|\\])/g,"\\$1"),"gim");t.innerHTML=n.replace(c,'<strong class="highlight">'.concat(n.match(c),"</strong>"));}else null!==t.querySelector(".highlight")&&(t.innerHTML=n);},facetCBoxToggle=function(e){null!==e&&fnMultiListener(e,"click keydown keyup",function(){if("click"===event.type||"keydown"===event.type&&keyCheck(RETURN_KEY)||"keyup"===event.type&&keyCheck(SPACE_KEY)){var t=e.parentElement;event.preventDefault(),t.classList.contains("facet-item--open")?(t.classList.remove("facet-item--open"),e.setAttribute("aria-expanded",!1)):(t.classList.add("facet-item--open"),e.setAttribute("aria-expanded",!0));}else "keydown"===event.type&&keyCheck(SPACE_KEY)&&event.preventDefault();});},parentCheckBoxToggle=function(e){null!==e&&e.forEach(function(e){var t=e.parentElement.querySelectorAll(".facet-item--expanded .facet-item input[type=checkbox]");fnMultiListener(e,"change",function(){e.checked?t.forEach(function(e){e.checked=!0;}):t.forEach(function(e){e.checked=!1;});}),t.forEach(function(a){fnMultiListener(a,"change",function(){var n=a.parentElement.parentElement.querySelectorAll(":checked").length;t.length===n?(e.indeterminate=!1,e.checked=!0):0===n?(e.indeterminate=!1,e.checked=!1):t.length>n&&(e.indeterminate=!0);});});});},checkBoxLabels=document.querySelectorAll(".kss-modifier__example .facet-item--expanded > label"),parentCheckBoxes=document.querySelectorAll(".kss-modifier__example .facet-item--expanded > input[type=checkbox]");
22null!==checkBoxLabels&&checkBoxLabels.forEach(function(e){facetCBoxToggle(e);});var indeterminateCBoxInit=function(e){e.forEach(function(t){var a=t.parentElement.parentElement.querySelectorAll(":checked").length,n=getClosestByClass(t,"facet-item--expanded").querySelector("input[type=checkbox]");e.length===a?(n.indeterminate=!1,n.checked=!0):0===a?(n.indeterminate=!1,n.checked=!1):e.length>a&&(n.indeterminate=!0);});};indeterminateCBoxInit(document.querySelectorAll(".kss-modifier__example .facet-item--expanded .facet-item input[type=checkbox]")),parentCheckBoxToggle(parentCheckBoxes),function(e,t){e.behaviors.facetsFilterToggle={attach:function(e){t("facetsFilter",".facet-block__wrap",e).forEach(function(e){facetsFilterToggle(e);});}};}(Drupal,once),function(e,t,a,n){"use strict";var c="parent-item-matched",i="search-custom-show";function l(e,t,a,n){t.find("ul").eq(0).children().each(function(){s(e(this).children(":nth-child(3)").find(".facet-item__value").text(),a)&&!e(this).children(":nth-child(1)").prop("disabled")?(e(this).show(),e(this).find(".facet-item").show(),e(this).find("input:disabled").parent().hide(),searchHighlight(e(this)[0]),e.each(n,function(e,t){t.show(),t.addClass(c),t.hasClass("facet-item--expanded")&&t.addClass("facet-item--open");}),n=[]):(e(this).hide(),e(this).removeClass("facet-item--open"+c),e(this).hasClass("facet-item--expanded")&&(function(e,t,a){var n=!1;return t.find(".facet-item__value").each(function(){if(s(e(this).text(),a))return n=!0,!1;}),n;}(e,e(this),a)&&n.push(e(this)),l(e,e(this),a,n)));});}function s(e,t){return e.search(new RegExp(t.replace(/([.+*?:\[\](){}|\\])/g,"\\$1"),"gim"))>=0;}function r(e,t,a,n,l){a.children("."+c).length>n?(l.text(t.attr("data-drupal-view-more")).removeClass("open").attr("aria-expanded","false"),a.children("."+c+":gt("+(n-1)+")").addClass(i),a.css("max-height","200px")):(a.children("."+c).removeClass(i),t.hasClass("search-valid")?l.hide():l.show(),l.hasClass("open")?l.text(t.attr("data-drupal-view-less")).attr("aria-expanded","true"):l.text(t.attr("data-drupal-view-more")).attr("aria-expanded","false"));}t.behaviors.facetsSearchTerm={attach:function(t){e(n("searchTermFacet",".input-facet-search-term")).on("input",function(){var t=e(this).attr("data-drupal-soft-limit"),a=e(this).closest(".facets-widget-checkbox").find(".facets-soft-limit-link"),n=e(this).attr("data-drupal-facet-id"),o=e(this).val().trim(),d=e("."+n+"-facet-items .facet-item"),h=e("."+n+"-facet-items").find(".no-terms-found"),f=e("."+n+"-facet-items>ul");o&&o.length>=3?(e(this).addClass("search-valid"),function(e,t,a){t.each(function(){var t=[],n=e(this);s(n.children(":nth-child(3)").find(".facet-item__value").text(),a)&&!n.children(":nth-child(1)").prop("disabled")?(n.show(),n.addClass(c),n.find(".facet-item").show(),n.find("input:disabled").parent().hide(),searchHighlight(n[0])):(n.hide(),n.removeClass("facet-item--open "+c),n.hasClass("facet-item--expanded")&&(t.push(n),l(e,n,a,t)));});}(e,f.children(),o),r(e,e(this),f,t,a)):(e(this).removeClass("search-valid"),d.show(),f.children().removeClass(c+" "+i+" facet-item--open"),r(e,e(this),f,t,a),e("ul.topic-facet-list li.facet-item--expanded.facet-item--active-trail").addClass("facet-item--open"),f.hasClass("topic-facet-list")&&f.children().hasClass("facet-item--active-trail")&&(a.addClass("open").text(e(this).attr("data-drupal-view-less")).attr("aria-expanded","true"),f.css("max-height","none"),f.children("li:gt("+(t-1)+")").removeClass("custom-show search-custom-show")),d.each(function(){searchHighlight(e(this)[0]);})),d.length===d.not(":visible").length?h.removeClass(i):h.addClass(i);});}},t.behaviors.lastnamefilter={attach:function(e,t){var a=document.querySelectorAll(".alpha-key-wrapper .facets-checkbox");a.forEach(function(e){e.addEventListener("click",function(){a.forEach(function(t){t!==e&&(t.checked=!1,t.parentNode.classList.remove("active"));}),e.parentNode.classList.toggle("active",e.checked);}),e.addEventListener("keypress",function(t){"Enter"===t.key&&e.click();});var t=e.parentNode;if(t){t.addEventListener("keypress",function(t){"Enter"===t.key&&(t.preventDefault(),e.click());});var n=t.getElementsByTagName("label")[0],c=t.getElementsByClassName("facet-item__value")[0].innerHTML;setAttributes(n,{"aria-label":"filter by last name starting with letter ".concat(c),role:"button"});}});}},t.behaviors.directoryStateAndSpecialtyFacet={attach:function(t,a){e(n("hide-
22disabled-facets","body")).length&&e(document).ajaxStop(function(e,t,a){document.querySelectorAll(".block-inline-blockdirectory-biography-list-block .facet-block--checkbox").forEach(function(e){var t=0,a=0;if(e.querySelectorAll(".facet-block--checkbox .facets-checkbox").forEach(function(e){e.disabled&&(e.parentNode.style.display="none",a++),t++;}),t-a<5){var n=e.querySelector(".facets-soft-limit-link");n&&(n.style.display="none");}t==a&&(e.style.display="none");});});}};}(jQuery,Drupal,drupalSettings,once);;
23function _toConsumableArray(t){return _arrayWithoutHoles(t)||_iterableToArray(t)||_unsupportedIterableToArray(t)||_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(t,e){if(t){if("string"==typeof t)return _arrayLikeToArray(t,e);var r={}.toString.call(t).slice(8,-1);return "Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(t,e):void 0;}}function _iterableToArray(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t);}function _arrayWithoutHoles(t){if(Array.isArray(t))return _arrayLikeToArray(t);}function _arrayLikeToArray(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,o=Array(e);r<e;r++)o[r]=t[r];return o;}!function(t,e){function r(t){if(t){var e=document.querySelector(".publication-toc"),r=(null==e?void 0:e.offsetHeight)||75,o=getComputedStyle(document.documentElement).getPropertyValue("--drupal-displace-offset-top").trim(),a=(o?parseInt(o,10):0)+(o?25:0);o||(a=50);var n=-(r+a),i=window.matchMedia("(prefers-reduced-motion: reduce)").matches;requestAnimationFrame(function(){var e=t.getBoundingClientRect().top+window.pageYOffset+n;window.scrollTo({top:e,behavior:i?"auto":"smooth"}),t.setAttribute("tabindex","-1"),t.focus({preventScroll:!0});});}}e.behaviors.footnoteAction={attach:function(t,e){var o=_toConsumableArray(document.getElementsByClassName("see-footnote")),a=_toConsumableArray(document.getElementsByClassName("back-to-top"));o.length>0&&o.forEach(function(t){var e="onTouchstart" in window||navigator.msMaxTouchPoints;t.addEventListener(e?"touchstart":"click",function(o){e&&o.preventDefault();var a=t.id,n=t.getAttribute("href"),i=document.querySelector(".footnote".concat(n));if(i){var u=i.querySelector("a");u&&(u.setAttribute("href","#".concat(a)),i.setAttribute("tabindex","0"),u.setAttribute("aria-live","polite"),u.setAttribute("aria-atomic","true"),r(i));}});}),a.length>0&&a.forEach(function(t){t.addEventListener("click",function(e){e.preventDefault();var o=t.getAttribute("href");if(o&&o.startsWith("#")){var a=o.slice(1),n=document.getElementById(a);n&&r(n);}});});}};}(jQuery,Drupal);;
24let CODAccordionHeadingClickEvents=(item)=>{setAccessibility(item);CODhandleResize(item);fnMultiListener(item,"click keydown",function(event){if(event.type==="click"||(event.type==="keydown"&&(keyCheck(SPACE_KEY)||keyCheck(RETURN_KEY)))){event.preventDefault();item.parentNode.classList.toggle('cod-full-bio-with-image__detailswrapper--expanded');setAccessibility(item);}});};((Drupal,once)=>{Drupal.behaviors.CODaccordionHeading={attach:function(context,settings){once('CODaccordionHeading','.cod-full-bio-with-image__detailAccordian',context).forEach((element)=>{CODAccordionHeadingClickEvents(element);});}};})(Drupal,once);const setAccessibility=(item)=>{const parentClassList=item.parentNode.classList;if(isMobileAndExpanded(parentClassList)){setAttributes(item.nextElementSibling,{'aria-expanded':true,'tabindex':0});item.setAttribute('aria-expanded',true);}else if(window.matchMedia(`(max-width: ${DESKTOP_MIN-1}px)`).matches){setAttributes(item.nextElementSibling,{'aria-expanded':false,'tabindex':-1});setAttributes(item,{'aria-expanded':false,'tabindex':0});}else{removeAttributes(item.nextElementSibling,['tabindex','aria-expanded']);removeAttributes(item,['tabindex','aria-expanded']);}};function isMobileAndExpanded(parentClassList){return (parentClassList.contains('cod-full-bio-with-image__detailswrapper--expanded')&&window.matchMedia(`(max-width: ${DESKTOP_MIN-1}px)`).matches);}function CODhandleResize(item){window.addEventListener('resize',()=>{setAccessibility(item);});};
25function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t;}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t;},_typeof(t);}function _createForOfIteratorHelper(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];
25if(!n){if(Array.isArray(t)||(n=_unsupportedIterableToArray(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,o=function(){};return {s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]};},e:function(t){throw t;},f:o};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var r,s=!0,a=!1;return {s:function(){n=n.call(t);},n:function(){var t=n.next();return s=t.done,t;},e:function(t){a=!0,r=t;},f:function(){try{s||null==n.return||n.return();}finally{if(a)throw r;}}};}function _unsupportedIterableToArray(t,e){if(t){if("string"==typeof t)return _arrayLikeToArray(t,e);var n={}.toString.call(t).slice(8,-1);return "Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(t,e):void 0;}}function _arrayLikeToArray(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i;}var carousel=function(t,e){var n={touchstartX:0,touchendX:0},i=-1;n.init=function(){if(this.options=e,this.disableEvent=!1,this.index=0,this.autoplayDelay=this.options.delay+this.options.speed,this.transitionDuration=n.isWebkit("transitionDuration"),this.transform=n.isWebkit("transform"),this.timer,this.container=t,this.wrapper=this.container.querySelector(".".concat(this.options.class.wrapper)),this.navigationbuttons=this.container.querySelectorAll(".".concat(this.options.class.navigationbuttons)),this.buttons=this.container.querySelectorAll(".".concat(this.options.class.buttons)),this.slides=this.container.querySelectorAll(".".concat(this.options.class.slide)),this.pagination=this.container.querySelector(".".concat(this.options.class.pagination)),this.infoSection=this.container.querySelector(".".concat(this.options.class.infoSection)),this.blockWrapper=document.querySelector(".".concat(this.options.class.blockWrapper)),this.slides.length>1)n.setWidth(),n.moveWrapper(this.slides),this.pagination&&n.createPagination(),this.options.autoplay&&n.autoplay(),2==this.buttons.length&&(n.prevBtn(),n.nextBtn()),this.wrapper&&(n.mobiletouchStart(),n.mobiletouchEnd()),n.resize(),n.tabOrderNavigation();else{var i,o=_createForOfIteratorHelper(this.navigationbuttons);try{for(o.s();!(i=o.n()).done;)i.value.classList.add("carousel__btn-hidden");}catch(t){o.e(t);}finally{o.f();}}},n.resize=function(){var t=this;window.addEventListener("resize",function(){n.setWidth(),n.moveWrapper(t.slides),n.setTransition(0,!1),initializeCarousel();});},n.createPagination=function(){for(var t,e=document.createDocumentFragment(),o=0;o<this.slides.length;o++){var r=o+1;(t=document.createElement("button")).tabIndex=0,t.role="none",t.innerHTML=t.innerHTML+'<sp
25an class="carousel__btn-hidden">Button dots</span>',t.classList.add(this.options.class.paginationItem),t.setAttribute("aria-label","Item "+r+" of "+this.slides.length),0==o&&(t.classList.add("active"),t.setAttribute("aria-label","Current Item "+(this.index+1)+" of "+this.slides.length),i=this.index+1),e.appendChild(t);}this.pagination.appendChild(e),n.bullets();},n.bullets=function(){for(var t=this,e=this.pagination.querySelectorAll(".".concat(this.options.class.paginationItem)),i=function(i){e[i].addEventListener("click",function(){t.disableEvent||(t.index=i-1),n.buttonsAction();});},o=0;o<e.length;o++)i(o);},n.highlightBullet=function(){var t=this.pagination.querySelector(".active");t.classList.remove("active"),t.setAttribute("aria-label","Item "+i+" of "+this.slides.length);var e=this.pagination.querySelectorAll(".".concat(this.options.class.paginationItem)),o=n.updateIndex(this.index);e[o].classList.add("active"),i=o+1,e[o].setAttribute("aria-label","Current Item "+(o+1)+" of "+e.length);},n.prevBtn=function(){var t=this;this.buttons[0].addEventListener("click",function(){n.buttonsAction("left");}),this.buttons[0].addEventListener("keydown",function(e){if(keyCheck(LEFT_ARROW_KEY))n.buttonsAction("left");else{if(!e.shiftKey&&keyCheck(TAB_KEY)){var i=t.slides[t.index].querySelector(".".concat(t.options.class.information)),o=t.slides[t.index].querySelector(".".concat(t.options.class.ctaLink));null!=i?(e.preventDefault(),i.focus()):null!=o&&(e.preventDefault(),o.focus());}}});},n.nextBtn=function(){var t=this;this.buttons[1].addEventListener("click",function(){n.buttonsAction();}),this.buttons[1].addEventListener("keydown",function(e){if(keyCheck(RIGHT_ARROW_KEY))n.buttonsAction();else{if(e.shiftKey&&keyCheck(TAB_KEY)){var i=t.slides[t.index].querySelector(".".concat(t.options.class.information)),o=t.slides[t.index].querySelector(".".concat(t.options.class.ctaLink));null!=o?(e.preventDefault(),o.focus()):null!=i&&(e.preventDefault(),i.focus());}}});},n.tabOrderNavigation=function(){var t,e=this,n=_createForOfIteratorHelper(this.slides);try{var i=function(){var n=t.value;if(void 0!==n){var i=n.querySelector(".".concat(e.options.class.information)),o=n.querySelector(".".concat(e.options.class.ctaLink));null!=i&&i.addEventListener("keydown",function(t){t.shiftKey&&keyCheck(TAB_KEY)?(t.preventDefault(),e.buttons[0].focus()):keyCheck(TAB_KEY)&&(null!=o?(t.preventDefault(),o.focus()):(t.preventDefault(),e.buttons[1].focus()));}),null!=o&&o.addEventListener("keydown",function(t){t.shiftKey&&keyCheck(TAB_KEY)?null!=i?(t.preventDefault(),i.focus()):(t.preventDefault(),e.buttons[0].focus()):keyCheck(TAB_KEY)&&(t.preventDefault(),e.buttons[1].focus());});}};for(n.s();!(t=n.n()).done;)i();}catch(t){n.e(t);}finally{n.f();}},n.buttonsAction=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"right";this.disableEvent||(n.moveSlider(t),this.options.autoplay&&(n.resetAutoplay(),n.autoplay()));},n.moveSlider=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"right";"right"==t&&this.index<this.slides.length?this.index++:this.index--,this.pagination&&n.highlightBullet(),this.index=n.updateIndex(this.index),n.setTransition(this.options.speed),n.moveWrapper(this.slides,n.index,t);},n.setTransition=function(t){var e=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.wrapper.style[this.transitionDuration]=t+"ms",n&&Drupal.announce("Current item "+(this.index+1)+" of "+this.slides.length);var i=this.slides[this.index];if(void 0!==i){var o=i.querySelector(".".concat(this.options.class.information));focusAfterTransition(this.wrapper,function(){setTimeout(function(){o.focus(),e.infoSection.scrollLeft=0;},1e3);});}},n.moveWrapper=function(t,e,n){var i=t.length,o=e||0;t.forEach(function(t){t.parentNode.classList.remove("prev"),t.parentNode.classList.remove("active"),t.parentNode.classList.remove("left"),t.parentNode.classList.remove("right"),t.parentNode.classList.remove("undefined");}),t.forEach(function(t,e){e==o-1?(t.parentNode.classList.add("prev"),t.parentNode.classList.add(n)):e==o?(t.parentNode.classList.add("active"),t.parentNode.classList.add(n)):0==o&&e==i-1&&(t.parentNode.classList.add("prev"),t.parentNode.classList.add(n));});}
25,n.setWidth=function(){for(var t=0,e=this.slides,n=0;n<e.length;n++)e[n].style.width=this.container.offsetWidth+"px",t+=e[n].offsetWidth;this.wrapper.style.width=t+"px";},n.createClones=function(){var t=this.wrapper.firstElementChild.cloneNode(!0),e=this.wrapper.lastElementChild.cloneNode(!0),n=this.slides.length;this.wrapper.appendChild(t),this.wrapper.insertBefore(e,this.slides[n]);},n.updateIndex=function(t){return t>=this.slides.length&&(t=0),t<0&&(t=this.slides.length-1),t;},n.isWebkit=function(t){return "string"==typeof document.documentElement.style[t]?t:(t=n.capitalizeFirstLetter(t),t="webkit".concat(t));},n.extendDefaults=function(t,e){var n,i;if(null!=e&&"undefined"!=e)for(n in e)if("object"===_typeof(e[n]))for(i in e[n])t[n][i]=e[n][i];else t[n]=e[n];return t;},n.handleGesture=function(){var t=Math.abs(n.touchstartX-n.touchendX);n.touchstartX>=n.touchendX&&t>150&&n.buttonsAction("right"),n.touchstartX<=n.touchendX&&t>150&&n.buttonsAction("left");},n.mobiletouchStart=function(){this.wrapper.addEventListener("touchstart",function(t){n.touchstartX=t.changedTouches[0].screenX;},{passive:!0});},n.mobiletouchEnd=function(){this.wrapper.addEventListener("touchend",function(t){n.touchendX=t.changedTouches[0].screenX,n.handleGesture();},!1);},n.init();},wrapperEL=document.querySelectorAll(".carousel__content-wrapper"),initializeCarousel=function(){wrapperEL.forEach(function(t){var e=t.querySelectorAll(".carousel__card-container");if(e&&!(e.length<1)){var n,i=[];e.forEach(function(t){i.push(t.offsetHeight);}),n=Math.max.apply(Math,i);var o,r=_createForOfIteratorHelper(t.children);try{for(r.s();!(o=r.n()).done;)o.value.style.height="".concat(n,"px");}catch(t){r.e(t);}finally{r.f();}t.style.minHeight="".concat(n,"px");}});};document.addEventListener("DOMContentLoaded",function(){setTimeout(function(){initializeCarousel();},2e3);}),function(t,e,n,i){e.behaviors.Carousel={attach:function(e,n){t(i("Carousel","html")).each(function(){var t,e={speed:600,delay:6e3,autoplay:!1,class:{wrapper:"carousel__content-wrapper",slide:"carousel__card-details",activeClass:"carousel__active-slide",information:"carousel__card-information",buttons:"carousel__btn",navigationbuttons:"carousel__navigation-buttons",pagination:"carousel__dots-navigation",paginationItem:"carousel__dots-navigation__dots",infoSection:"carousel__profile-info",blockWrapper:"block-inline-blockcarousel-block",ctaLink:"carousel__read-more__url"}},n=_createForOfIteratorHelper(document.querySelectorAll(".carousel-container"));try{for(n.s();!(t=n.n()).done;){var i=t.value;carousel(i,e);}}catch(t){n.e(t);}finally{n.f();}});}};}(jQuery,Drupal,drupalSettings,once);;
26var allHeroWrapper=document.querySelectorAll(".feature-hero-wrapper");allHeroWrapper&&allHeroWrapper.length>0&&allHeroWrapper.forEach(function(e){document.addEventListener("DOMContentLoaded",function(){loadFeatureHeroBlock(e);});});var loadFeatureHeroBlock=function(e){var l=e.querySelector("#media-video"),t=e.querySelector("#media-image"),o=e.querySelector("#controls"),r=e.querySelector("#playBtn"),a=e.querySelector("#pauseBtn"),n=window.innerWidth<=767||/iPad|Android/.test(navigator.userAgent)&&!/Mobile/.test(navigator.userAgent);if(l){var s=l.querySelectorAll("source"),i=!1;s.forEach(function(e){e.getAttribute("src")&&(i=!0);}),i?(l.classList.remove("no-valid-source"),n||(l.muted=!0,l.setAttribute("autoplay","true"),l.setAttribute("playsinline","true"),l.play().catch(function(e){console.error("Autoplay failed:",e);}),l.style.background="none",l.style.opacity="1",l.style.display="block"),t&&!n?t.style.display="none":(t.style.display="block",l.style.display="none"),o&&!n&&(o.style.display="flex"),r&&a&&(r.addEventListener("click",function(){l.play(),r.style.display="none",a.style.display="flex",a.focus();}),a.addEventListener("click",function(){l.pause(),r.style.display="flex",a.style.display="none",r.focus();}),r.style.display="none",a.style.display="flex",a.blur())):(l.classList.add("no-valid-source"),t&&(t.style.display="block"),o&&(o.style.display="none"));}e&&null===t&&null===l&&(e.style.backgroundColor="#404145");};;
27var truncateDescription=function(e,t){if(e.length>t){var n=e.substring(0,t-3),i=n.lastIndexOf(" ");i>0&&(n=n.substring(0,i));return '<div class="truncate-container" aria-live="assertive"><span class="truncated">'.concat(n+"..."," ").concat('<a href="#" class="more-link" aria-label="show more text">More</a>','</span><span class="full-description" style="display:none;">').concat(e," ").concat('<a href="#" class="less-link" aria-label="show less text">Less</a>',"</span></div>");}return e;},handleDescriptionClick=function(e){e.preventDefault();var t=e.target;if(t.classList.contains("more-link")){var n=t.closest(".description-container"),i=n.querySelector(".truncated"),s=n.querySelector(".full-description"),r=s.querySelector(".less-link");s&&i&&(i.style.display="none",s.style.display="inline",i.setAttribute("tabindex","-1"),s.setAttribute("tabindex","0"),setTimeout(function(){r.setAttribute("tabindex","0"),r.style.display="inline",r.focu
27s();},100));}else{if(t.classList.contains("less-link")){var a=t.closest(".description-container"),l=a.querySelector(".truncated"),c=a.querySelector(".full-description"),o=l.querySelector(".more-link");c&&l&&(l.style.display="inline",c.style.display="none",c.setAttribute("tabindex","-1"),l.setAttribute("tabindex","0"),setTimeout(function(){o.setAttribute("tabindex","0"),o.style.display="inline",o.focus();},100));}}},descriptionContainers=function(e){var t=e.textContent.trim(),n=truncateDescription(t,250);e.innerHTML=n,e.addEventListener("click",handleDescriptionClick);};!function(e,t,n){t.behaviors.facetedFilterEventDescription={attach:function(e,t){n("EventDescriptionContainer",".flexible-display .description-container",e).forEach(function(e){descriptionContainers(e);});}};}(jQuery,Drupal,once);;
28function _createForOfIteratorHelper(e,r){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=_unsupportedIterableToArray(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var o=0,n=function(){};return {s:n,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]};},e:function(e){throw e;},f:n};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var a,i=!0,u=!1;return {s:function(){t=t.call(e);},n:function(){var e=t.next();return i=e.done,e;},e:function(e){u=!0,a=e;},f:function(){try{i||null==t.return||t.return();}finally{if(u)throw a;}}};}function _unsupportedIterableToArray(e,r){if(e){if("string"==typeof e)return _arrayLikeToArray(e,r);var t={}.toString.call(e).slice(8,-1);return "Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(e,r):void 0;}}function _arrayLikeToArray(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,o=Array(r);t<r;t++)o[t]=e[t];return o;}function setupHeroVideo(e){var r,t,o,n=null===(r=document.querySelector(".hero-video"))||void 0===r?void 0:r.id,a=document.querySelector(".hero-video__controls-btn"),i=!1,u=0,c=parseInt(document.querySelector(".hero-video__video-wrapper").dataset.videoLoopCount),l=c||5;function d(){a.setAttribute("aria-pressed",i.toString()),i?(a.classList.remove("hero-video__controls-btn--showPlay"),a.setAttribute("aria-label","Pause")):(a.classList.add("hero-video__controls-btn--showPlay"),a.setAttribute("aria-label","Play"));}function s(e,r,t){var o=new Date();o.setTime(o.getTime()+24*t*60*60*1e3),document.cookie="".concat(e,"=").concat(r,";expires=").concat(o.toGMTString(),";path=/");}a.addEventListener("click",function(){(i=!i)?(e.play(),s(n,"false",30)):(e.pause(),s(n,"true",30)),d();}),e.addEventListener("ended",function(){++u<l?(i=!0,e.play()):(i=!1,e.pause(),e.load()),d();}),t=window.matchMedia("(prefers-reduced-motion: reduce)").matches,o="true"===function(e){var r,t=_createForOfIteratorHelper(document.cookie.split(";"));try{for(t.s();!(r=t.n()).done;){var o=r.value;if((o=o.trim()).startsWith(e+"="))return o.split("=")[1];}}catch(e){t.e(e);}finally{t.f();}return null;}(n),t||o||(i=!0,e.play()),d();}!function(e,r,t){r.behaviors.heroVideoBehavior={attach:function(e,r){var o=t("hero-video",".hero-video__video",e);0!==o.length&&o.forEach(function(e){setupHeroVideo(e);});}};}(jQuery,Drupal,once);;
29!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).window=t.window||{});}(this,function(e){"use strict";function _inheritsLoose(t,e){t.prototype=Object.create(e.prototype),(t.prototype.constructor=t).__proto__=e;}function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t;}function r(t){return "string"==typeof t;}function s(t){return "function"==typeof t;}function t(t){return "number"==typeof t;}function u(t){return void 0===t;}function v(t){return "object"==typeof t;}function w(t){return !1!==t;}function x(){return "undefined"!=typeof window;}function y(t){return s(t)||r(t);}function P(t){return (i=yt(t,ot))&&ze;}function Q(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()");}function R(t,e){return !e&&console.warn(t);}function S(t,e){return t&&(ot[t]=e)&&i&&(i[t]=e)||ot;}function T(){return 0;}function ea(t){var e,r,i=t[0];if(v(i)||s(i)||(t=[t]),!(e=(i._gsap||{}).harness)){for(r=gt.length;r--&&!gt[r].targetTest(i););e=gt[r];}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new Zt(t[r],e)))||t.splice(r,1);return t;}function fa(t){return t._gsap||ea(Ot(t))[0]._gsap;}function ga(t,e,r){return (r=t[e])&&s(r)?t[e]():u(r)&&t.getAttribute&&t.getAttribute(e)||r;}
29function ha(t,e){return (t=t.split(",")).forEach(e)||t;}function ia(t){return Math.round(1e5*t)/1e5||0;}function ja(t){return Math.round(1e7*t)/1e7||0;}function ka(t,e){var r=e.charAt(0),i=parseFloat(e.substr(2));return t=parseFloat(t),"+"===r?t+i:"-"===r?t-i:"*"===r?t*i:t/i;}function la(t,e){for(var r=e.length,i=0;t.indexOf(e[i])<0&&++i<r;);return i<r;}function ma(){var t,e,r=dt.length,i=dt.slice(0);for(ct={},t=dt.length=0;t<r;t++)(e=i[t])&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0)._lazy=0);}function na(t){return !!(t._initted||t._startAt||t.add);}function oa(t,e,r,i){dt.length&&!L&&ma(),t.render(e,r,i||!!(L&&e<0&&na(t))),dt.length&&!L&&ma();}function pa(t){var e=parseFloat(t);return (e||0===e)&&(t+"").match(at).length<2?e:r(t)?t.trim():t;}function qa(t){return t;}function ra(t,e){for(var r in e)r in t||(t[r]=e[r]);return t;}function ua(t,e){for(var r in e)"__proto__"!==r&&"constructor"!==r&&"prototype"!==r&&(t[r]=v(e[r])?ua(t[r]||(t[r]={}),e[r]):e[r]);return t;}function va(t,e){var r,i={};for(r in t)r in e||(i[r]=t[r]);return i;}function wa(t){var e=t.parent||I,r=t.keyframes?function _setKeyframeDefaults(i){return function(t,e){for(var r in e)r in t||"duration"===r&&i||"ease"===r||(t[r]=e[r]);};}($(t.keyframes)):ra;if(w(t.inherit))for(;e;)r(t,e.vars.defaults),e=e.parent||e._dp;return t;}function ya(t,e,r,i,n){void 0===r&&(r="_first"),void 0===i&&(i="_last");var a,s=t[i];if(n)for(a=e[n];s&&s[n]>a;)s=s._prev;return s?(e._next=s._next,s._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[i]=e,e._prev=s,e.parent=e._dp=t,e;}function za(t,e,r,i){void 0===r&&(r="_first"),void 0===i&&(i="_last");var n=e._prev,a=e._next;n?n._next=a:t[r]===e&&(t[r]=a),a?a._prev=n:t[i]===e&&(t[i]=n),e._next=e._prev=e.parent=null;}function Aa(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0;}function Ba(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var r=t;r;)r._dirty=1,r=r.parent;return t;}function Da(t,e,r,i){return t._startAt&&(L?t._startAt.revert(ht):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,i));}function Fa(t){return t._repeat?Tt(t._tTime,t=t.duration()+t._rDelay)*t:0;}function Ha(t,e){return (t-e._start)*e._ts+(0<=e._ts?0:e._dirty?e.totalDuration():e._tDur);}function Ia(t){return t._end=ja(t._start+(t._tDur/Math.abs(t._ts||t._rts||U)||0));}function Ja(t,e){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=ja(r._time-(0<t._ts?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Ia(t),r._dirty||Ba(r,t)),t;}function Ka(t,e){var r;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(r=Ha(t.rawTime(),e),(!e._dur||Mt(0,e.totalDuration(),r)-e._tTime>U)&&e.render(r,!0)),Ba(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(r=t;r._dp;)0<=r.rawTime()&&r.totalTime(r._tTime),r=r._dp;t._zTime=-U;}}function La(e,r,i,n){return r.parent&&Aa(r),r._start=ja((t(i)?i:i||e!==I?xt(e,i,r):e._time)+r._delay),r._end=ja(r._start+(r.totalDuration()/Math.abs(r.timeScale())||0)),ya(e,r,"_first","_last",e._sort?"_start":0),bt(r)||(e._recent=r),n||Ka(e,r),e._ts<0&&Ja(e,e._tTime),e;}function Ma(t,e){return (ot.ScrollTrigger||Q("scrollTrigger",e))&&ot.ScrollTrigger.create(e,t);}function Na(t,e,r,i,n){return Wt(t,e,n),t._initted?!r&&t._pt&&!L&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&f!==Rt.frame?(dt.push(t),t._lazy=[n,i],1):void 0:1;}function Sa(t,e,r,i){var n=t._repeat,a=ja(e)||0,s=t._tTime/t._tDur;return s&&!i&&(t._time*=a/t._dur),t._dur=a,t._tDur=n?n<0?1e10:ja(a*(n+1)+t._rDelay*n):a,0<s&&!i&&Ja(t,t._tTime=t._tDur*s),t.parent&&Ia(t),r||Ba(t.parent,t),t;}function Ta(t){return t instanceof Qt?Ba(t):Sa(t,t._dur);}function Wa(e,r,i){var n,a,s=t(r[1]),o=(s?2:1)+(e<2?0:1),u=r[o];if(s&&(u.duration=r[1]),u.parent=i,e){for(n=u,a=i;a&&!("immediateRender" in n);)n=a.vars.defaults||{},a=w(a.vars.inherit)&&a.parent;u.immediateRender=w(n.immediateRender),e<2?u.runBackwards=1:u.startAt=r[o-1];}return new Jt(r[0],u,r[1+o]);}function Xa(t,e){return t||0===t?e(t):e;}function Za(t,e){return r(t)&&(e=st.exec(t))?e[1]:"";}function ab(t,e){return t&&v(t)&&"length" in t&&(!e&&!t.length||t.length-1 
vendor: 7,218 bytes, line 29
29in t&&v(t[0]))&&!t.nodeType&&t!==h;}function db(r){return r=Ot(r)[0]||R("Invalid scope")||{},function(t){var e=r.current||r.nativeElement||r;return Ot(t,e.querySelectorAll?e:e===r?R("Invalid scope")||a.createElement("div"):r);};}function eb(t){return t.sort(function(){return .5-Math.random();});}function fb(t){if(s(t))return t;var p=v(t)?t:{each:t},_=Yt(p.ease),m=p.from||0,g=parseFloat(p.base)||0,y={},e=0<m&&m<1,T=isNaN(m)||e,b=p.axis,w=m,x=m;return r(m)?w=x={center:.5,edges:.5,end:1}[m]||0:!e&&T&&(w=m[0],x=m[1]),function(t,e,r){var i,n,a,s,o,u,h,l,f,d=(r||p).length,c=y[d];if(!c){if(!(f="auto"===p.grid?0:(p.grid||[1,N])[1])){for(h=-N;h<(h=r[f++].getBoundingClientRect().left)&&f<d;);f<d&&f--;}for(c=y[d]=[],i=T?Math.min(f,d)*w-.5:m%f,n=f===N?0:T?d*x/f-.5:m/f|0,l=N,u=h=0;u<d;u++)a=u%f-i,s=n-(u/f|0),c[u]=o=b?Math.abs("y"===b?s:a):G(a*a+s*s),h<o&&(h=o),o<l&&(l=o);"random"===m&&eb(c),c.max=h-l,c.min=l,c.v=d=(parseFloat(p.amount)||parseFloat(p.each)*(d<f?d-1:b?"y"===b?d/f:f:Math.max(f,d/f))||0)*("edges"===m?-1:1),c.b=d<0?g-d:g,c.u=Za(p.amount||p.each)||0,_=_&&d<0?jt(_):_;}return d=(c[t]-c.min)/c.max||0,ja(c.b+(_?_(d):d)*c.v)+c.u;};}function gb(i){var n=Math.pow(10,((i+"").split(".")[1]||"").length);return function(e){var r=ja(Math.round(parseFloat(e)/i)*i*n);return (r-r%1)/n+(t(e)?0:Za(e));};}function hb(h,e){var l,f,r=$(h);return !r&&v(h)&&(l=r=h.radius||N,h.values?(h=Ot(h.values),(f=!t(h[0]))&&(l*=l)):h=gb(h.increment)),Xa(e,r?s(h)?function(t){return f=h(t),Math.abs(f-t)<=l?f:t;}:function(e){for(var r,i,n=parseFloat(f?e.x:e),a=parseFloat(f?e.y:0),s=N,o=0,u=h.length;u--;)(r=f?(r=h[u].x-n)*r+(i=h[u].y-a)*i:Math.abs(h[u]-n))<s&&(s=r,o=u);return o=!l||s<=l?h[o]:e,f||o===e||t(e)?o:o+Za(e);}:gb(h));}function ib(t,e,r,i){return Xa($(t)?!e:!0===r?!!(r=0):!i,function(){return $(t)?t[~~(Math.random()*t.length)]:(r=r||1e-5)&&(i=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((t-r/2+Math.random()*(e-t+.99*r))/r)*r*i)/i;});}function mb(e,r,t){return Xa(t,function(t){return e[~~r(t)];});}function pb(t){for(var e,r,i,n,a=0,s="";~(e=t.indexOf("random(",a));)i=t.indexOf(")",e),n="["===t.charAt(e+7),r=t.substr(e+7,i-e-7).match(n?at:tt),s+=t.substr(a,e-a)+ib(n?r:+r[0],n?0:+r[1],+r[2]||1e-5),a=i+1;return s+t.substr(a,t.length-a);}function sb(t,e,r){var i,n,a,s=t.labels,o=N;for(i in s)(n=s[i]-e)<0==!!r&&n&&o>(n=Math.abs(n))&&(a=i,o=n);return a;}function ub(t){return Aa(t),t.scrollTrigger&&t.scrollTrigger.kill(!!L),t.progress()<1&&Pt(t,"onInterrupt"),t;}function xb(t){if(t)if(t=!t.name&&t.default||t,x()||t.headless){var e=t.name,r=s(t),i=e&&!r&&t.init?function(){this._props=[];}:t,n={init:T,render:ue,add:Vt,kill:de,modifier:he,rawVars:0},a={targetTest:0,get:0,getSetter:ie,aliases:{},register:0};if(Ft(),t!==i){if(pt[e])return;ra(i,ra(va(t,n),a)),yt(i.prototype,yt(n,va(t,a))),pt[i.prop=e]=i,t.targetTest&&(gt.push(i),ft[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin";}S(e,i),t.register&&t.register(ze,i,ge);}else Ct.push(t);}function Ab(t,e,r){return (6*(t+=t<0?1:1<t?-1:0)<1?e+(r-e)*t*6:t<.5?r:3*t<2?e+(r-e)*(2/3-t)*6:e)*St+.5|0;}function Bb(e,r,i){var n,a,s,o,u,h,l,f,d,c,p=e?t(e)?[e>>16,e>>8&St,e&St]:0:Dt.black;if(!p){if(","===e.substr(-1)&&(e=e.substr(0,e.length-1)),Dt[e])p=Dt[e];else if("#"===e.charAt(0)){if(e.length<6&&(e="#"+(n=e.charAt(1))+n+(a=e.charAt(2))+a+(s=e.charAt(3))+s+(5===e.length?e.charAt(4)+e.charAt(4):"")),9===e.length)return [(p=parseInt(e.substr(1,6),16))>>16,p>>8&St,p&St,parseInt(e.substr(7),16)/255];p=[(e=parseInt(e.substr(1),16))>>16,e>>8&St,e&St];}else if("hsl"===e.substr(0,3))if(p=c=e.match(tt),r){if(~e.indexOf("="))return p=e.match(et),i&&p.length<4&&(p[3]=1),p;}else o=+p[0]%360/360,u=p[1]/100,n=2*(h=p[2]/100)-(a=h<=.5?h*(u+1):h+u-h*u),3<p.length&&(p[3]*=1),p[0]=Ab(o+1/3,n,a),p[1]=Ab(o,n,a),p[2]=Ab(o-1/3,n,a);else p=e.match(tt)||Dt.transparent;p=p.map(Number);}return r&&!c&&(n=p[0]/St,a=p[1]/St,s=p[2]/St,h=((l=Math.max(n,a,s))+(f=Math.min(n,a,s)))/2,l===f?o=u=0:(d=l-f,u=.5<h?d/(2-l-f):d/(l+f),o=l===n?(a-s)/d+(a<s?6:0):l===a?(s-n)/d+2:(n-a)/d+4,o*=60),p[0]=~~(o+.5),p[1]=~~(100*u+.5),p[2]=~~(100*h+.5)),i&&p.length<4&&(p[3]=1),p;}function Cb(t){var r=[],i=[],n=-1;return t.split(zt).forEach(function(t){var e=t.match(rt)||[];r.push.apply(r,e),i.push(n+=e.length+1);}),r.c=i,r;}function Db(t,e,r){var i,n,a,s,o="",u=(t+o).match(zt),h=e?"hsla(":"rgba(",l=0;if(!u)return t;if(u=u.map(function(t){return (t=Bb(t,e,1))&&h+(e?t[0]+","+t[1]+"%,"+t[2]+"%,"+t[3]:t.join(","))+")";}),r&&(a=Cb(t),(i=r.c).join(o)!==a.c.join(o)))for(s=(n=t.replace(zt,"1").split(rt)).length-1;l<s;l++)o+=n[l]+(~i.indexOf(l)?u.shift()||h+"0,0,0,0)":(a.length?a:u.length?u:r).shift());if(!n)for(s=(n=t.split(zt)).length-1;l<s;l++)o+=n[l]+u[l];return o+n[s];}function Gb(t){var e,r=t.join(" ");if(zt.lastIndex=0,zt.test(r))return e=Et.test(r),t[1]=Db(t[1],e),t[0]=Db(t[0],e,Cb(t[1])),!0;}function Pb(t){var e=(t+"").split("("),r=Lt[e[0]];return r&&1<e.length&&r.config?r.config.apply(null,~t.indexOf("{")?[function _parseObjectInString(t){for(var e,r,i,n={},a=t.substr(1,t.length-3).split(":"),s=a[0],o=1,u=a.length;o<u;o++)r=a[o],e=o!==u-1?r.lastIndexOf(","):r.length,i=r.substr(0,e),n[s]=isNaN(i)?i.replace(Bt,"").trim():+i,s=r.substr(e+1).trim();return n;}(e[1])]:function _valueInParentheses(t){var e=t.indexOf("(")+1,r=t.indexOf(")"),i=t.indexOf("(",e);return t.substring(e,~i&&i<r?t.indexOf(")",r+1):r);}(t).split(",").map(pa)):Lt._CE&&It.test(t)?Lt._CE("",t):r;}function Rb(t,e){for(var r,i=t._first;i;)i instanceof Qt?Rb(i,e):!i.vars.yoyoEase||i._yoyo&&i._repeat||i._yoyo===e||(i.timeline?Rb(i.timeline,e):(r=i._ease,i._ease=i._yEase,i._yEase=r,i._yoyo=e)),i=i._next;}function Tb(t,e,r,i){void 0===r&&(r=function easeOut(t){return 1-e(1-t);}),void 0===i&&(i=function easeInOut(t){return t<.5?e(2*t)/2:1-e(2*(1-t))/2;});var n,a={easeIn:e,easeOut:r,easeInOut:i};return ha(t,function(t){for(var e in Lt[t]=ot[t]=a,Lt[n=t.toLowerCase()]=r,a)Lt[n+("easeIn"===e?".in":"easeOut"===e?".out":".inOut")]=Lt[t+"."+e]=a[e];}),a;}function Ub(e){return function(t){return t<.5?(1-e(1-2*t))/2:.5+e(2*(t-.5))/2;};}function Vb(r,t,e){function Lm(t){return 1===t?1:i*Math.pow(2,-10*t)*K((t-a)*n)+1;}var i=1<=t?t:1,n=(e||(r?.3:.45))/(t<1?t:1),a=n/q*(Math.asin(1/i)||0),s="out"===r?Lm:"in"===r?function(t){return 1-Lm(1-t);}:Ub(Lm);return n=q/n,s.config=function(t,e){return Vb(r,t,e);},s;}function Wb(e,r){function Tm(t){return t?--t*t*((r+1)*t+r)+1:0;}void 0===r&&(r=1.70158);var t="out"===e?Tm:"in"===e?function(t){return 1-Tm(1-t);}:Ub(Tm);return t.config=function(t){return Wb(e,t);},t;}var F,L,l,I,h,n,a,i,o,f,d,c,p,_,m,g,b,M,k,O,A,C,D,z,E,B,j,Y,X={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Z={duration:.5,overwrite:!1,delay:0},N=1e8,U=1/N,q=2*Math.PI,V=q/4,W=0,G=Math.sqrt,H=Math.cos,K=Math.sin,J="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},$=Array.isArray,tt=/(?:-?\.?\d|\.)+/gi,et=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,rt=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,it=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,nt=/[+-]=-?[.\d]+/,at=/[^,'"\[\]\s]+/gi,st=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,ot={},ut={suppressEvents:!0,isStart:!0,kill:!1},ht={suppressEvents:!0,kill:!1},lt={suppressEvents:!0},ft={},dt=[],ct={},pt={},_t={}
29,mt=30,gt=[],vt="",yt=function _merge(t,e){for(var r in e)t[r]=e[r];return t;},Tt=function _animationCycle(t,e){var r=Math.floor(t=ja(t/e));return t&&r===t?r-1:r;},bt=function _isFromOrFromStart(t){var e=t.data;return "isFromStart"===e||"isStart"===e;},wt={_start:0,endTime:T,totalDuration:T},xt=function _parsePosition(t,e,i){var n,a,s,o=t.labels,u=t._recent||wt,h=t.duration()>=N?u.endTime(!1):t._dur;return r(e)&&(isNaN(e)||e in o)?(a=e.charAt(0),s="%"===e.substr(-1),n=e.indexOf("="),"<"===a||">"===a?(0<=n&&(e=e.replace(/=/,"")),("<"===a?u._start:u.endTime(0<=u._repeat))+(parseFloat(e.substr(1))||0)*(s?(n<0?u:i).totalDuration()/100:1)):n<0?(e in o||(o[e]=h),o[e]):(a=parseFloat(e.charAt(n-1)+e.substr(n+1)),s&&i&&(a=a/100*($(i)?i[0]:i).totalDuration()),1<n?_parsePosition(t,e.substr(0,n-1),i)+a:h+a)):null==e?h:+e;},Mt=function _clamp(t,e,r){return r<t?t:e<r?e:r;},kt=[].slice,Ot=function toArray(t,e,i){return l&&!e&&l.selector?l.selector(t):!r(t)||i||!n&&Ft()?$(t)?function _flatten(t,e,i){return void 0===i&&(i=[]),t.forEach(function(t){return r(t)&&!e||ab(t,1)?i.push.apply(i,Ot(t)):i.push(t);})||i;}(t,i):ab(t)?kt.call(t,0):t?[t]:[]:kt.call((e||a).querySelectorAll(t),0);},At=function mapRange(e,t,r,i,n){var a=t-e,s=i-r;return Xa(n,function(t){return r+((t-e)/a*s||0);});},Pt=function _callback(t,e,r){var i,n,a,s=t.vars,o=s[e],u=l,h=t._ctx;if(o)return i=s[e+"Params"],n=s.callbackScope||t,r&&dt.length&&ma(),h&&(l=h),a=i?o.apply(n,i):o.call(n),l=u,a;},Ct=[],St=255,Dt={aqua:[0,St,St],lime:[0,St,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,St],navy:[0,0,128],white:[St,St,St],olive:[128,128,0],yellow:[St,St,0],orange:[St,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[St,0,0],pink:[St,192,203],cyan:[0,St,St],transparent:[St,St,St,0]},zt=function(){var t,e="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(t in Dt)e+="|"+t+"\\b";return new RegExp(e+")","gi");}(),Et=/hsl[a]?\(/,Rt=(k=Date.now,O=500,A=33,C=k(),D=C,E=z=1e3/240,g={time:0,frame:0,tick:function tick(){Al(!0);},deltaRatio:function deltaRatio(t){return b/(1e3/(t||60));},wake:function wake(){o&&(!n&&x()&&(h=n=window,a=h.document||{},ot.gsap=ze,(h.gsapVersions||(h.gsapVersions=[])).push(ze.version),P(i||h.GreenSockGlobals||!h.gsap&&h||{}),Ct.forEach(xb)),m="undefined"!=typeof requestAnimationFrame&&requestAnimationFrame,p&&g.sleep(),_=m||function(t){return setTimeout(t,E-1e3*g.time+1|0);},c=1,Al(2));},sleep:function sleep(){(m?cancelAnimationFrame:clearTimeout)(p),c=0,_=T;},lagSmoothing:function lagSmoothing(t,e){O=t||1/0,A=Math.min(e||33,O);},fps:function fps(t){z=1e3/(t||240),E=1e3*g.time+z;},add:function add(n,t,e){var a=t?function(t,e,r,i){n(t,e,r,i),g.remove(a);}:n;return g.remove(n),B[e?"unshift":"push"](a),Ft(),a;},remove:function remove(t,e){~(e=B.indexOf(t))&&B.splice(e,1)&&e<=M&&M--;},_listeners:B=[]}),Ft=function _wake(){return !c&&Rt.wake();},Lt={},It=/^[\d.\-M][\d.\-,\s]/,Bt=/["']/g,jt=function _invertEase(e){return function(t){return 1-e(1-t);};},Yt=function _parseEase(t,e){return t&&(s(t)?t:Lt[t]||Pb(t))||e;};function Al(t){var e,r,i,n,a=k()-D,s=!0===t;if((O<a||a<0)&&(C+=a-A),(0<(e=(i=(D+=a)-C)-E)||s)&&(n=++g.frame,b=i-1e3*g.time,g.time=i/=1e3,E+=e+(z<=e?4:z-e),r=1),s||(p=_(Al)),r)for(M=0;M<B.length;M++)B[M](i,b,n,t);}function jn(t){return t<Y?j*t*t:t<.7272727272727273?j*Math.pow(t-1.5/2.75,2)+.75:t<.9090909090909092?j*(t-=2.25/2.75)*t+.9375:j*Math.pow(t-2.625/2.75,2)+.984375;}ha("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var r=e<5?e+1:e;Tb(t+",Power"+(r-1),e?function(t){return Math.pow(t,r);}:function(t){return t;},function(t){return 1-Math.pow(1-t,r);},function(t){return t<.5?Math.pow(2*t,r)/2:1-Math.pow(2*(1-t),r)/2;});}),Lt.Linear.easeNone=Lt.none=Lt.Linear.easeIn,Tb("Elastic",Vb("in"),Vb("out"),Vb()),j=7.5625,Y=1/2.75,Tb("Bounce",function(t){return 1-jn(1-t);},jn),Tb("Expo",function(t){return Math.pow(2,10*(t-1))*t+t*t*t*t*t*t*(1-t);}),Tb("Circ",function(t){return -(G(1-t*t)-1);}),Tb("Sine",function(t){return 1===t?1:1-H(t*V);}),Tb("Back",Wb("in"),Wb("out"),Wb()),Lt.SteppedEase=Lt.steps=ot.SteppedEase={config:function config(t,e){void 0===t&&(t=1);var r=1/t,i=t+(e?0:1),n=e?1:0;return function(t){return ((i*Mt(0,.99999999,t)|0)+n)*r;};}},Z.ease=Lt["quad.out"],ha("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return vt+=t+","+t+"Param
29s,";});var Xt,Zt=function GSCache(t,e){this.id=W++,(t._gsap=this).target=t,this.harness=e,this.get=e?e.get:ga,this.set=e?e.getSetter:ie;},Nt=((Xt=Animation.prototype).delay=function delay(t){return t||0===t?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+t-this._delay),this._delay=t,this):this._delay;},Xt.duration=function duration(t){return arguments.length?this.totalDuration(0<this._repeat?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur;},Xt.totalDuration=function totalDuration(t){return arguments.length?(this._dirty=0,Sa(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur;},Xt.totalTime=function totalTime(t,e){if(Ft(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for(Ja(this,t),!r._dp||r.parent||Ka(r,this);r&&r.parent;)r.parent._time!==r._start+(0<=r._ts?r._tTime/r._ts:(r.totalDuration()-r._tTime)/-r._ts)&&r.totalTime(r._tTime,!0),r=r.parent;!this.parent&&this._dp.autoRemoveChildren&&(0<this._ts&&t<this._tDur||this._ts<0&&0<t||!this._tDur&&!t)&&La(this._dp,this,this._start-this._delay);}return (this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===U||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),oa(this,t,e)),this;},Xt.time=function time(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+Fa(this))%(this._dur+this._rDelay)||(t?this._dur:0),e):this._time;},Xt.totalProgress=function totalProgress(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):0<=this.rawTime()&&this._initted?1:0;},Xt.progress=function progress(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+Fa(this),e):this.duration()?Math.min(1,this._time/this._dur):0<this.rawTime()?1:0;},Xt.iteration=function iteration(t,e){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*r,e):this._repeat?Tt(this._tTime,r)+1:1;},Xt.timeScale=function timeScale(t,e){if(!arguments.length)return this._rts===-U?0:this._rts;if(this._rts===t)return this;var r=this.parent&&this._ts?Ha(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||t===-U?0:this._rts,this.totalTime(Mt(-Math.abs(this._delay),this.totalDuration(),r),!1!==e),Ia(this),function _recacheAncestors(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t;}(this);},Xt.paused=function paused(t){return arguments.length?(this._ps!==t&&((this._ps=t)?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Ft(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==U&&(this._tTime-=U)))),this):this._ps;},Xt.startTime=function startTime(t){if(arguments.length){this._start=t;var e=this.parent||this._dp;return !e||!e._sort&&this.parent||La(e,this,t-this._delay),this;}return this._start;},Xt.endTime=function endTime(t){return this._start+(w(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1);},Xt.rawTime=function rawTime(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Ha(e.rawTime(t),this):this._tTime:this._tTime;},Xt.revert=function revert(t){void 0===t&&(t=lt);var e=L;return L=t,na(this)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),"nested"!==this.data&&!1!==t.kill&&this.kill(),L=e,this;},Xt.globalTime=function globalTime(t){for(var e=this,r=arguments.length?t:e.rawTime();e;)r=e._start+r/(Math.abs(e._ts)||1),e=e._dp;return !this.parent&&this._sat?this._sat.globalTime(t):r;},Xt.repeat=function repeat(t){return arguments.length?(this._repeat=t===1/0?-2:t,Ta(this)):-2===this._repeat?1/0:this._repeat;},Xt.repeatDelay=function repeatDelay(t){if(arguments.length){var e=this._time;return this._rDelay=t,Ta(this),e?this.time(e):this;}return this._rDelay;},Xt.yoyo=function yoyo(t){return arguments.length?(this._yoyo=t,this):this._yoyo;},Xt.seek=function seek(t,e){return this.totalTime(xt(this,t),w(e));},Xt.restart=function restart(t,e){return this.play().totalTime(t?-this._delay:0,w(e)),this._dur||(this._zTime=-U),this;},Xt.play=function play(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1);}
29,Xt.reverse=function reverse(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1);},Xt.pause=function pause(t,e){return null!=t&&this.seek(t,e),this.paused(!0);},Xt.resume=function resume(){return this.paused(!1);},Xt.reversed=function reversed(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-U:0)),this):this._rts<0;},Xt.invalidate=function invalidate(){return this._initted=this._act=0,this._zTime=-U,this;},Xt.isActive=function isActive(){var t,e=this.parent||this._dp,r=this._start;return !(e&&!(this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=r&&t<this.endTime(!0)-U));},Xt.eventCallback=function eventCallback(t,e,r){var i=this.vars;return 1<arguments.length?(e?(i[t]=e,r&&(i[t+"Params"]=r),"onUpdate"===t&&(this._onUpdate=e)):delete i[t],this):i[t];},Xt.then=function then(t){var i=this;return new Promise(function(e){function Eo(){var t=i.then;i.then=null,s(r)&&(r=r(i))&&(r.then||r===i)&&(i.then=t),e(r),i.then=t;}var r=s(t)?t:qa;i._initted&&1===i.totalProgress()&&0<=i._ts||!i._tTime&&i._ts<0?Eo():i._prom=Eo;});},Xt.kill=function kill(){ub(this);},Animation);function Animation(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,Sa(this,+t.duration,1,1),this.data=t.data,l&&(this._ctx=l).data.push(this),c||Rt.wake();}ra(Nt.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-U,_prom:0,_ps:!1,_rts:1});var Qt=function(i){function Timeline(t,e){var r;return void 0===t&&(t={}),(r=i.call(this,t)||this).labels={},r.smoothChildTiming=!!t.smoothChildTiming,r.autoRemoveChildren=!!t.autoRemoveChildren,r._sort=w(t.sortChildren),I&&La(t.parent||I,_assertThisInitialized(r),e),t.reversed&&r.reverse(),t.paused&&r.paused(!0),t.scrollTrigger&&Ma(_assertThisInitialized(r),t.scrollTrigger),r;}_inheritsLoose(Timeline,i);var e=Timeline.prototype;return e.to=function to(t,e,r){return Wa(0,arguments,this),this;},e.from=function from(t,e,r){return Wa(1,arguments,this),this;},e.fromTo=function fromTo(t,e,r,i){return Wa(2,arguments,this),this;},e.set=function set(t,e,r){return e.duration=0,e.parent=this,wa(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new Jt(t,e,xt(this,r),1),this;},e.call=function call(t,e,r){return La(this,Jt.delayedCall(0,t,e),r);},e.staggerTo=function staggerTo(t,e,r,i,n,a,s){return r.duration=e,r.stagger=r.stagger||i,r.onComplete=a,r.onCompleteParams=s,r.parent=this,new Jt(t,r,xt(this,n)),this;},e.staggerFrom=function staggerFrom(t,e,r,i,n,a,s){return r.runBackwards=1,wa(r).immediateRender=w(r.immediateRender),this.staggerTo(t,e,r,i,n,a,s);},e.staggerFromTo=function staggerFromTo(t,e,r,i,n,a,s,o){return i.startAt=r,wa(i).immediateRender=w(i.immediateRender),this.staggerTo(t,e,i,n,a,s,o);},e.render=function render(t,e,r){var i,n,a,s,o,u,h,l,f,d,c,p,_=this._time,m=this._dirty?this.totalDuration():this._tDur,g=this._dur,v=t<=0?0:ja(t),y=this._zTime<0!=t<0&&(this._initted||!g);if(this!==I&&m<v&&0<=t&&(v=m),v!==this._tTime||r||y){if(_!==this._time&&g&&(v+=this._time-_,t+=this._time-_),i=v,f=this._start,u=!(l=this._ts),y&&(g||(_=this._zTime),!t&&e||(this._zTime=t)),this._repeat){if(c=this._yoyo,o=g+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*o+t,e,r);if(i=ja(v%o),v===m?(s=this._repeat,i=g):((s=~~(d=ja(v/o)))&&s===d&&(i=g,s--),g<i&&(i=g)),d=Tt(this._tTime,o),!_&&this._tTime&&d!==s&&this._tTime-d*o-this._dur<=0&&(d=s),c&&1&s&&(i=g-i,p=1),s!==d&&!this._lock){var T=c&&1&d,b=T===(c&&
vendor: 15,060 bytes, line 29
291&s);if(s<d&&(T=!T),_=T?0:v%g?g:v,this._lock=1,this.render(_||(p?0:ja(s*o)),e,!g)._lock=0,this._tTime=v,!e&&this.parent&&Pt(this,"onRepeat"),this.vars.repeatRefresh&&!p&&(this.invalidate()._lock=1),_&&_!==this._time||u!=!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(g=this._dur,m=this._tDur,b&&(this._lock=2,_=T?g:-1e-4,this.render(_,!0),this.vars.repeatRefresh&&!p&&this.invalidate()),this._lock=0,!this._ts&&!u)return this;Rb(this,p);}}if(this._hasPause&&!this._forcing&&this._lock<2&&(h=function _findNextPauseTween(t,e,r){var i;if(e<r)for(i=t._first;i&&i._start<=r;){if("isPause"===i.data&&i._start>e)return i;i=i._next;}else for(i=t._last;i&&i._start>=r;){if("isPause"===i.data&&i._start<e)return i;i=i._prev;}}(this,ja(_),ja(i)))&&(v-=i-(i=h._start)),this._tTime=v,this._time=i,this._act=!l,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=t,_=0),!_&&v&&!e&&!d&&(Pt(this,"onStart"),this._tTime!==v))return this;if(_<=i&&0<=t)for(n=this._first;n;){if(a=n._next,(n._act||i>=n._start)&&n._ts&&h!==n){if(n.parent!==this)return this.render(t,e,r);if(n.render(0<n._ts?(i-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(i-n._start)*n._ts,e,r),i!==this._time||!this._ts&&!u){h=0,a&&(v+=this._zTime=-U);break;}}n=a;}else{n=this._last;for(var w=t<0?t:i;n;){if(a=n._prev,(n._act||w<=n._end)&&n._ts&&h!==n){if(n.parent!==this)return this.render(t,e,r);if(n.render(0<n._ts?(w-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(w-n._start)*n._ts,e,r||L&&na(n)),i!==this._time||!this._ts&&!u){h=0,a&&(v+=this._zTime=w?-U:U);break;}}n=a;}}if(h&&!e&&(this.pause(),h.render(_<=i?0:-U)._zTime=_<=i?1:-1,this._ts))return this._start=f,Ia(this),this.render(t,e,r);this._onUpdate&&!e&&Pt(this,"onUpdate",!0),(v===m&&this._tTime>=this.totalDuration()||!v&&_)&&(f!==this._start&&Math.abs(l)===Math.abs(this._ts)||this._lock||(!t&&g||!(v===m&&0<this._ts||!v&&this._ts<0)||Aa(this,1),e||t<0&&!_||!v&&!_&&m||(Pt(this,v===m&&0<=t?"onComplete":"onReverseComplete",!0),!this._prom||v<m&&0<this.timeScale()||this._prom())));}return this;},e.add=function add(e,i){var n=this;if(t(i)||(i=xt(this,i,e)),!(e instanceof Nt)){if($(e))return e.forEach(function(t){return n.add(t,i);}),this;if(r(e))return this.addLabel(e,i);if(!s(e))return this;e=Jt.delayedCall(0,e);}return this!==e?La(this,e,i):this;},e.getChildren=function getChildren(t,e,r,i){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===r&&(r=!0),void 0===i&&(i=-N);for(var n=[],a=this._first;a;)a._start>=i&&(a instanceof Jt?e&&n.push(a):(r&&n.push(a),t&&n.push.apply(n,a.getChildren(!0,e,r)))),a=a._next;return n;},e.getById=function getById(t){for(var e=this.getChildren(1,1,1),r=e.length;r--;)if(e[r].vars.id===t)return e[r];},e.remove=function remove(t){return r(t)?this.removeLabel(t):s(t)?this.killTweensOf(t):(t.parent===this&&za(this,t),t===this._recent&&(this._recent=this._last),Ba(this));},e.totalTime=function totalTime(t,e){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=ja(Rt.time-(0<this._ts?t/this._ts:(this.totalDuration()-t)/-this._ts))),i.prototype.totalTime.call(this,t,e),this._forcing=0,this):this._tTime;},e.addLabel=function addLabel(t,e){return this.labels[t]=xt(this,e),this;},e.removeLabel=function removeLabel(t){return delete this.labels[t],this;},e.addPause=function addPause(t,e,r){var i=Jt.delayedCall(0,e||T,r);return i.data="isPause",this._hasPause=1,La(this,i,xt(this,t));},e.removePause=function removePause(t){var e=this._first;for(t=xt(this,t);e;)e._start===t&&"isPause"===e.data&&Aa(e),e=e._next;},e.killTweensOf=function killTweensOf(t,e,r){for(var i=this.getTweensOf(t,r),n=i.length;n--;)Ut!==i[n]&&i[n].kill(t,e);return this;},e.getTweensOf=function getTweensOf(e,r){for(var i,n=[],a=Ot(e),s=this._first,o=t(r);s;)s instanceof Jt?la(s._targets,a)&&(o?(!Ut||s._initted&&s._ts)&&s.globalTime(0)<=r&&s.globalTime(s.totalDuration())>r:!r||s.isActive())&&n.push(s):(i=s.getTweensOf(a,r)).length&&n.push.apply(n,i),s=s._next;return n;},e.tweenTo=function tweenTo(t,e){e=e||{};var r,i=this,n=xt(i,t),a=e.startAt,s=e.onStart,o=e.onStartParams,u=e.immediateRender,h=Jt.to(i,ra({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:n,overwrite:"auto",duration:e.duration||Math.abs((n-(a&&"time" in a?a.time:i._time))/i.timeScale())||U,onStart:function onStart(){if(i.pause(),!r){var t=e.duration||Math.abs((n-(a&&"time" in a?a.time:i._time))/i.timeScale());h._dur!==t&&Sa(h,t,0,1).render(h._time,!0,!0),r=1;}s&&s.apply(h,o||[]);}},e));return u?h.render(0):h;},e.tweenFromTo=function tweenFromTo(t,e,r){return this.tweenTo(e,ra({startAt:{time:xt(this,t)}},r));},e.recent=function recent(){return this._recent;},e.nextLabel=function nextLabel(t){return void 0===t&&(t=this._time),sb(this,xt(this,t));},e.previousLabel=function previousLabel(t){return void 0===t&&(t=this._time),sb(this,xt(this,t),1);},e.currentLabel=function currentLabel(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+U);},e.shiftChildren=function shiftChildren(t,e,r){void 0===r&&(r=0);for(var i,n=this._first,a=this.labels;n;)n._start>=r&&(n._start+=t,n._end+=t),n=n._next;if(e)for(i in a)a[i]>=r&&(a[i]+=t);return Ba(this);},e.invalidate=function invalidate(t){var e=this._first;for(this._lock=0;e;)e.invalidate(t),e=e._next;return i.prototype.invalidate.call(this,t);},e.clear=function clear(t){void 0===t&&(t=!0);for(var e,r=this._first;r;)e=r._next,this.remove(r),r=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),Ba(this);},e.totalDuration=function totalDuration(t){var e,r,i,n=0,a=this,s=a._last,o=N;if(arguments.length)return a.timeScale((a._repeat<0?a.duration():a.totalDuration())/(a.reversed()?-t:t));if(a._dirty){for(i=a.parent;s;)e=s._prev,s._dirty&&s.totalDuration(),o<(r=s._start)&&a._sort&&s._ts&&!a._lock?(a._lock=1,La(a,s,r-s._delay,1)._lock=0):o=r,r<0&&s._ts&&(n-=r,(!i&&!a._dp||i&&i.smoothChildTiming)&&(a._start+=r/a._ts,a._time-=r,a._tTime-=r),a.shiftChildren(-r,!1,-Infinity),o=0),s._end>n&&s._ts&&(n=s._end),s=e;Sa(a,a===I&&a._time>n?a._time:n,1,1),a._dirty=0;}return a._tDur;},Timeline.updateRoot=function updateRoot(t){if(I._ts&&(oa(I,Ha(t,I)),f=Rt.frame),Rt.frame>=mt){mt+=X.autoSleep||120;var e=I._first;if((!e||!e._ts)&&X.autoSleep&&Rt._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||Rt.sleep();}}},Timeline;}(Nt);ra(Qt.prototype,{_lock:0,_hasPause:0,_forcing:0});function bc(t,e,i,n,a,o){var u,h,l,f;if(pt[t]&&!1!==(u=new pt[t]()).init(a,u.rawVars?e[t]:function _processVars(t,e,i,n,a){if(s(t)&&(t=Gt(t,a,e,i,n)),!v(t)||t.style&&t.nodeType||$(t)||J(t))return r(t)?Gt(t,a,e,i,n):t;var o,u={};for(o in t)u[o]=Gt(t[o],a,e,i,n);return u;}(e[t],n,a,o,i),i,n,o)&&(i._pt=h=new ge(i._pt,a,t,0,1,u.render,u,0,u.priority),i!==d))for(l=i._ptLookup[i._targets.indexOf(a)],f=u._props.length;f--;)l[u._props[f]]=h;return u;}function hc(t,r,e,i){var n,a,s=r.ease||i||"power1.inOut";if($(r))a=e[t]||(e[t]=[]),r.forEach(function(t,e){return a.push({t:e/(r.length-1)*100,v:t,e:s});});else for(n in r)a=e[n]||(e[n]=[]),"ease"===n||a.push({t:parseFloat(t),v:r[n],e:s});}var Ut,qt,Vt=function _addPropTween(t,e,i,n,a,o,u,h,l,f){s(n)&&(n=n(a||0,t,o));var d,c=t[e],p="get"!==i?i:s(c)?l?t[e.indexOf("set")||!s(t["get"+e.substr(3)])?e:"get"+e.substr(3)](l):t[e]():c,_=s(c)?l?re:te:$t;if(r(n)&&(~n.indexOf("random(")&&(n=pb(n)),"="===n.charAt(1)&&(!(d=ka(p,n)+(Za(p)||0))&&0!==d||(n=d))),!f||p!==n||qt)return isNaN(p*n)||""===n?(c||e in t||Q(e,n),function _addComplexStringPropTween(t,e,r,i,n,a,s){var o,u,h,l,f,d,c,p,_=new ge(this._pt,t,e,0,1,oe,null,n),m=0,g=0;for(_.b=r,_.e=i,r+="",(c=~(i+="").indexOf("random("))&&(i=pb(i)),a&&(a(p=[r,i],t,e),r=p[0],i=p[1]),u=r.match(it)||[];o=it.exec(i);)l=o[0],f=i.substring(m,o.index),h?h=(h+1)%5:"rgba("===f.substr(-5)&&(h=1),l!==u[g++]&&(d=parseFloat(u[g-1])||0,_._pt={_next:_._pt,p:f||1===g?f:",",s:d,c:"="===l.charAt(1)?ka(d,l)-d:parseFloat(l)-d,m:h&&h<4?Math.round:0},m=it.lastIndex);return _.c=m<i.length?i.substring(m,i.length):"",_.fp=s,(nt.test(i)||c)&&(_.e=0),this._pt=_;}.call(this,t,e,p,n,_,h||X.stringFilter,l)):(d=new ge(this._pt,t,e,+p||0,n-(p||0),"boolean"==typeof c?se:ne,0,_),l&&(d.fp=l),u&&d.modifier(u,this,t),this._pt=d);},Wt=function _initTween(t,e,r){var i,n,a,s,o,u,h,l,f,d,c,p,_,m=t.vars,g=m.ease,v=m.startAt,y=m.immediateRender,T=m.lazy,b=m.onUpdate,x=m.runBackwards,M=m.yoyoEase,k=m.keyframes,O=m.autoRevert,A=t._dur,P=t._startAt,C=t._targets,S=t.parent,D=S&&"nested"===S.data?S.vars.targets:C,z="auto"===t._overwrite&&!F,E=t.timeline;if(!E||k&&g||(g="none"),t._ease=Yt(g,Z.ease),t._yEase=M?jt(Yt(!0===M?g:M,Z.ease)):0,M&&t._yoyo&&!t._repeat&&(M=t._yEase,t._yEase=t._ease,t._ease=M),t._from=!E&&!!m.runBackwards,!E||k&&!m.stagger){if(p=(l=C[0]?fa(C[0]).harness:0)&&m[l.prop],i=va(m,ft),P&&(P._zTime<0&&P.progress(1),e<0&&x&&y&&!O?P.render(-1,!0):P.revert(x&&A?ht:ut),P._lazy=0),v){if(Aa(t._startAt=Jt.set(C,ra({data:"isStart",overwrite:!1,parent:S,immediateRender:!0,lazy:!P&&w(T),startAt:null,delay:0,onUpdate:b&&function(){return Pt(t,"onUpdate");},stagger:0},v))),t._startAt._dp=0,t._startAt._sat=t,e<0&&(L||!y&&!O)&&t._startAt.revert(ht),y&&A&&e<=0&&r<=0)return void (e&&(t._zTime=e));}else{if(x&&A&&!P)if(e&&(y=!1),a=ra({overwrite:!1,data:"isFromStart",lazy:y&&!P&&w(T),immediateRender:y,stagger:0,parent:S},i),p&&(a[l.prop]=p),Aa(t._startAt=Jt.set(C,a)),t._startAt._dp=0,t._startAt._sat=t,e<0&&(L?t._startAt.revert(ht):t._startAt.render(-1,!0)),t._zTime=e,y){if(!e)return;}else _initTween(t._startAt,U,U);}for(t._pt=t._ptCache=0,T=A&&w(T)||T&&!A,n=0;n<C.length;n++){if(h=(o=C[n])._gsap||ea(C)[n]._gsap,t._ptLookup[n]=d={},ct[h.id]&&dt.length&&ma(),c=D===C?n:D.indexOf(o),l&&!1!==(f=new l()).init(o,p||i,t,c,D)&&(t._pt=s=new ge(t._pt,o,f.name,0,1,f.render,f,0,f.priority),f._props.forEach(function(t){d[t]=s;}),f.priority&&(u=1)),!l||p)for(a in i)pt[a]&&(f=bc(a,i,t,c,o,D))?f.priority&&(u=1):d[a]=s=Vt.call(t,o,a,"get",i[a],c,D,0,m.stringFilter);t._op&&t._op[n]&&t.kill(o,t._op[n]),z&&t._pt&&(Ut=t,I.killTweensOf(o,d,t.globalTime(e)),_=!t.parent,Ut=0),t._pt&&T&&(ct[h.id]=1);}u&&_e(t),t._onInit&&t._onInit(t);}t._onUpdate=b,t._initted=(!t._op||t._pt)&&!_,k&&e<=0&&E.render(N,!0,!0);},Gt=function _parseFuncOrString(t,e,i,n,a){return s(t)?t.call(e,i,n,a):r(t)&&~t.indexOf("random(")?pb(t):t;},Ht=vt+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Kt={};ha(Ht+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return Kt[t]=1;});var Jt=function(E){function Tween(e,r,i,n){var a;"number"==typeof r&&(i.duration=r,r=i,i=null);var s,o,u,h,l,f,d,c,p=(a=E.call(this,n?r:wa(r))||this).vars,_=p.duration,m=p.delay,g=p.immediateRender,T=p.stagger,b=p.overwrite,x=p.keyframes,M=p.defaults,k=p.scrollTrigger,O=p.yoyoEase,A=r.parent||I,P=($(e)||J(e)?t(e[0]):"length" in r)?[e]:Ot(e);if(a._targets=P.length?ea(P):R("GSAP target "+e+" not found. https://gsap.com",!X.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=b,x||T||y(_)||y(m)){if(r=a.vars,(s=a.timeline=new Qt({data:"nested",defaults:M||{},targets:A&&"nested"===A.data?A.vars.targets:P})).kill(),s.parent=s._dp=_assertThisInitialized(a),s._start=0,T||y(_)||y(m)){if(h=P.length,d=T&&fb(T),v(T))for(l in T)~Ht.indexOf(l)&&((c=c||{})[l]=T[l]);for(o=0;o<h;o++)(u=va(r,Kt)).stagger=0,O&&(u.yoyoEase=O),c&&yt(u,c),f=P[o],u.duration=+Gt(_,_assertThisInitialized(a),o,f,P),u.delay=(+Gt(m,_assertThisInitialized(a),o,f,P)||0)-a._delay,!T&&1===h&&u.delay&&(a._delay=m=u.delay,a._start+=m,u.delay=0),s.to(f,u,d?d(o,f,P):0),s._ease=Lt.none;s.duration()?_=m=0:a.timeline=0;}else{if(x){wa(ra(s.vars.defaults,{ease:"none"})),s._ease=Yt(x.ease||r.ease||"none");var C,S,D,z=0;if($(x))x.forEach(function(t){return s.to(P,t,">");}),s.duration();else{for(l in u={},x)"ease"===l||"easeEach"===l||hc(l,x[l],u,x.easeEach);for(l in u)for(C=u[l].sort(function(t,e){return t.t-e.t;}),o=z=0;o<C.length;o++)(D={ease:(S=C[o]).e,duration:(S.t-(o?C[o-1].t:0))/100*_})[l]=S.v,s.to(P,D,z),z+=D.duration;s.duration()<_&&s.to({},{duration:_-s.duration()});}}}_||a.duration(_=s.duration());}else a.timeline=0;return !0!==b||F||(Ut=_assertThisInitialized(a),I.killTweensOf(P),Ut=0),La(A,_assertThisInitialized(a),i),r.reversed&&a.reverse(),r.paused&&a.paused(!0),(g||!_&&!x&&a._start===ja(A._time)&&w(g)&&function _hasNoPausedAncestors(t){return !t||t._ts&&_hasNoPausedAncestors(t.parent);}(_assertThisInitialized(a))&&"nested"!==A.data)&&(a._tTime=-U,a.render(Math.max(0,-m)||0)),k&&Ma(_assertThisInitialized(a),k),a;}_inheritsLoose(Tween,E);var e=Tween.prototype;return e.render=function render(t,e,r){var i,n,a,s,o,u,h,l,f,d=this._time,c=this._tDur,p=this._dur,_=t<0,m=c-U<t&&!_?c:t<U?0:t;if(p){if(m!==this._tTime||!t||r||!this._initted&&this._tTime||this._startAt&&this._zTime<0!=_||this._lazy){if(i=m,l=this.timeline,this._repeat){if(s=p+this._rDelay,this._repeat<-1&&_)return this.totalTime(100*s+t,e,r);if(i=ja(m%s),m===c?(a=this._repeat,i=p):(a=~~(o=ja(m/s)))&&a===o?(i=p,a--):p<i&&(i=p),(u=this._yoyo&&1&a)&&(f=this._yEase,i=p-i),o=Tt(this._tTime,s),i===d&&!r&&this._initted&&a===o)return this._tTime=m,this;a!==o&&(l&&this._yEase&&Rb(l,u),this.vars.repeatRefresh&&!u&&!this._lock&&i!==s&&this._initted&&(this._lock=r=1,this.render(ja(s*a),!0).invalidate()._lock=0));}if(!this._initted){if(Na(this,_?t:i,r,e,m))return this._tTime=0,this;if(!(d===this._time||r&&this.vars.repeatRefresh&&a!==o))return this;if(p!==this._dur)return this.render(t,e,r);}if(this._tTime=m,this._time=i,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=h=(f||this._ease)(i/p),this._from&&(this.ratio=h=1-h),!d&&m&&!e&&!o&&(Pt(this,"onStart"),this._tTime!==m))return this;for(n=this._pt;n;)n.r(h,n.d),n=n._next;l&&l.render(t<0?t:l._dur*l._ease(i/this._dur),e,r)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(_&&Da(this,t,0,r),Pt(this,"onUpdate")),this._repeat&&a!==o&&this.vars.onRepeat&&!e&&this.parent&&Pt(this,"onRepeat"),m!==this._tDur&&m||this._tTime!==m||(_&&!this._onUpdate&&Da(this,t,0,!0),!t&&p||!(m===this._tDur&&0<this._ts||!m&&this._ts<0)||Aa(this,1),e||_&&!d||!(m||d||u)||(Pt(this,m===c?"onComplete":"onReverseComplete",!0),!this._prom||m<c&&0<this.timeScale()||this._prom()));}}else !function _renderZeroDurationTween(t,e,r,i){var n,a,s,o=t.ratio,u=e<0||!e&&(!t._start&&function _parentPlayheadIsBeforeStart(t){var e=t.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||_parentPlayheadIsBeforeStart(e));}(t)&&(t._initted||!bt(t))||(t._ts<0||t._dp._ts<0)&&!bt(t))?0:1,h=t._rDelay,l=0;if(h&&t._repeat&&(l=Mt(0,t._tDur,e),a=Tt(l,h),t._yoyo&&1&a&&(u=1-u),a!==Tt(t._tTime,h)&&(o=1-u,t.vars.repeatRefresh&&t._initted&&t.invalidate())),u!==o||L||i||t._zTime===U||!e&&t._zTime){if(!t._initted&&Na(t,e,i,r,l))return;for(s=t._zTime,t._zTime=e||(r?U:0),r=r||e&&!s,t.ratio=u,t._from&&(u=1-u),t._time=0,t._tTime=l,n=t._pt;n;)n.r(u,n.d),n=n._next;e<0&&Da(t,e,0,!0),t._onUpdate&&!r&&Pt(t,"onUpdate"),l&&t._repeat&&!r&&t.parent&&Pt(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===u&&(u&&Aa(t,1),r||L||(Pt(t,u?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()));}else t._zTime||(t._zTime=e);}(this,t,e,r);return this;},e.targets=function targets(){return this._targets;}
29,e.invalidate=function invalidate(t){return t&&this.vars.runBackwards||(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(t),E.prototype.invalidate.call(this,t);},e.resetTo=function resetTo(t,e,r,i,n){c||Rt.wake(),this._ts||this.play();var a,s=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||Wt(this,s),a=this._ease(s/this._dur),function _updatePropTweens(t,e,r,i,n,a,s,o){var u,h,l,f,d=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!d)for(d=t._ptCache[e]=[],l=t._ptLookup,f=t._targets.length;f--;){if((u=l[f][e])&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==e&&u.fp!==e;)u=u._next;if(!u)return qt=1,t.vars[e]="+=0",Wt(t,s),qt=0,o?R(e+" not eligible for reset"):1;d.push(u);}for(f=d.length;f--;)(u=(h=d[f])._pt||h).s=!i&&0!==i||n?u.s+(i||0)+a*u.c:i,u.c=r-u.s,h.e&&(h.e=ia(r)+Za(h.e)),h.b&&(h.b=u.s+Za(h.b));}(this,t,e,r,i,a,s,n)?this.resetTo(t,e,r,i,1):(Ja(this,0),this.parent||ya(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0));},e.kill=function kill(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e))return this._lazy=this._pt=0,this.parent?ub(this):this.scrollTrigger&&this.scrollTrigger.kill(!!L),this;if(this.timeline){var i=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,Ut&&!0!==Ut.vars.overwrite)._first||ub(this),this.parent&&i!==this.timeline.totalDuration()&&Sa(this,this._dur*this.timeline._tDur/i,0,1),this;}var n,a,s,o,u,h,l,f=this._targets,d=t?Ot(t):f,c=this._ptLookup,p=this._pt;if((!e||"all"===e)&&function _arraysMatch(t,e){for(var r=t.length,i=r===e.length;i&&r--&&t[r]===e[r];);return r<0;}(f,d))return "all"===e&&(this._pt=0),ub(this);for(n=this._op=this._op||[],"all"!==e&&(r(e)&&(u={},ha(e,function(t){return u[t]=1;}),e=u),e=function _addAliasesToVars(t,e){var r,i,n,a,s=t[0]?fa(t[0]).harness:0,o=s&&s.aliases;if(!o)return e;for(i in r=yt({},e),o)if(i in r)for(n=(a=o[i].split(",")).length;n--;)r[a[n]]=r[i];return r;}(f,e)),l=f.length;l--;)if(~d.indexOf(f[l]))for(u in a=c[l],"all"===e?(n[l]=e,o=a,s={}):(s=n[l]=n[l]||{},o=e),o)(h=a&&a[u])&&("kill" in h.d&&!0!==h.d.kill(u)||za(this,h,"_pt"),delete a[u]),"all"!==s&&(s[u]=1);return this._initted&&!this._pt&&p&&ub(this),this;},Tween.to=function to(t,e,r){return new Tween(t,e,r);},Tween.from=function from(t,e){return Wa(1,arguments);},Tween.delayedCall=function delayedCall(t,e,r,i){return new Tween(e,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:e,onReverseComplete:e,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i});},Tween.fromTo=function fromTo(t,e,r){return Wa(2,arguments);},Tween.set=function set(t,e){return e.duration=0,e.repeatDelay||(e.repeat=0),new Tween(t,e);},Tween.killTweensOf=function killTweensOf(t,e,r){return I.killTweensOf(t,e,r);},Tween;}(Nt);ra(Jt.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),ha("staggerTo,staggerFrom,staggerFromTo",function(r){Jt[r]=function(){var t=new Qt(),e=kt.call(arguments,0);return e.splice("staggerFromTo"===r?5:4,0,0),t[r].apply(t,e);};});function pc(t,e,r){return t.setAttribute(e,r);}function xc(t,e,r,i){i.mSet(t,e,i.m.call(i.tween,r,i.mt),i);}var $t=function _setterPlain(t,e,r){return t[e]=r;},te=function _setterFunc(t,e,r){return t[e](r);},re=function _setterFuncWithParam(t,e,r,i){return t[e](i.fp,r);},ie=function _getSetter(t,e){return s(t[e])?te:u(t[e])&&t.setAttribute?pc:$t;},ne=function _renderPlain(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e);},se=function _renderBoolean(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e);},oe=function _renderComplexString(t,e){var r=e._pt,i="";if(!t&&e.b)i=e.b;else if(1===t&&e.e)i=e.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*t):Math.round(1e4*(r.s+r.c*t))/1e4)+i,r=r._next;i+=e.c;}e.set(e.t,e.p,i,e);},ue=function _renderPropTweens(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next;},he=function _addPluginModifier(t,e,r,i){for(var n,a=this._pt;a;)n=a._next,a.p===i&&a.modifier(t,e,r),a=n;},de=function _killPropTweensOf(t){for(var e,r,i=this._pt;i;)r=i._next,i.p===t&&!i.op||i.op===t?za(this,i,"_pt"):i.dep||(e=1),i=r;return !e;},_e=function _sortPropTweensByPriority(t){for(var e,r,i,n,a=t._pt;a;){for(e=a._next,r=i;r&&r.pr>a.pr;)r=r._next;(a._prev=r?r._prev:n)?a._prev._next=a:i=a,(a._next=r)?r._prev=a:n=a,a=e;}t._pt=i;},ge=(PropTween.prototype.modifier=function modifier(t,e,r){this.mSet=this.mSet||this.set,this.set=xc,this.m=t,this.mt=r,this.tween=e;},PropTween);function PropTween(t,e,r,i,n,a,s,o,u){this.t=e,this.s=i,this.c=n,this.p=r,this.r=a||ne,this.d=s||this,this.set=o||$t,this.pr=u||0,(this._next=t)&&(t._prev=this);}ha(vt+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(t){return ft[t]=1;}),ot.TweenMax=ot.TweenLite=Jt,ot.TimelineLite=ot.TimelineMax=Qt,I=new Qt({sortChildren:!1,defaults:Z,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),X.stringFilter=Gb;function Fc(t){return (be[t]||Me).map(function(t){return t();});}function Gc(){var t=Date.now(),o=[];2<t-Oe&&(Fc("matchMediaInit"),Te.forEach(function(t){var e,r,i,n,a=t.queries,s=t.conditions;for(r in a)(e=h.matchMedia(a[r]).matches)&&(i=1),e!==s[r]&&(s[r]=e,n=1);n&&(t.revert(),i&&o.push(t));}),Fc("matchMediaRevert"),o.forEach(function(e){return e.onMatch(e,function(t){return e.add(null,t);});}),Oe=t,Fc("matchMedia"));}var ve,Te=[],be={},Me=[],Oe=0,Ae=0,Pe=((ve=Context.prototype).add=function add(t,i,n){function Iw(){var t,e=l,r=a.selector;return e&&e!==a&&e.data.push(a),n&&(a.selector=db(n)),l=a,t=i.apply(a,arguments),s(t)&&a._r.push(t),l=e,a.selector=r,a.isReverted=!1,t;}s(t)&&(n=i,i=t,t=s);var a=this;
29return a.last=Iw,t===s?Iw(a,function(t){return a.add(null,t);}):t?a[t]=Iw:Iw;},ve.ignore=function ignore(t){var e=l;l=null,t(this),l=e;},ve.getTweens=function getTweens(){var e=[];return this.data.forEach(function(t){return t instanceof Context?e.push.apply(e,t.getTweens()):t instanceof Jt&&!(t.parent&&"nested"===t.parent.data)&&e.push(t);}),e;},ve.clear=function clear(){this._r.length=this.data.length=0;},ve.kill=function kill(i,t){var n=this;if(i?function(){for(var t,e=n.getTweens(),r=n.data.length;r--;)"isFlip"===(t=n.data[r]).data&&(t.revert(),t.getChildren(!0,!0,!1).forEach(function(t){return e.splice(e.indexOf(t),1);}));for(e.map(function(t){return {g:t._dur||t._delay||t._sat&&!t._sat.vars.immediateRender?t.globalTime(0):-1/0,t};}).sort(function(t,e){return e.g-t.g||-1/0;}).forEach(function(t){return t.t.revert(i);}),r=n.data.length;r--;)(t=n.data[r]) instanceof Qt?"nested"!==t.data&&(t.scrollTrigger&&t.scrollTrigger.revert(),t.kill()):t instanceof Jt||!t.revert||t.revert(i);n._r.forEach(function(t){return t(i,n);}),n.isReverted=!0;}():this.data.forEach(function(t){return t.kill&&t.kill();}),this.clear(),t)for(var e=Te.length;e--;)Te[e].id===this.id&&Te.splice(e,1);},ve.revert=function revert(t){this.kill(t||{});},Context);function Context(t,e){this.selector=e&&db(e),this.data=[],this._r=[],this.isReverted=!1,this.id=Ae++,t&&this.add(t);}var Ce,Se=((Ce=MatchMedia.prototype).add=function add(t,e,r){v(t)||(t={matches:t});var i,n,a,s=new Pe(0,r||this.scope),o=s.conditions={};for(n in l&&!s.selector&&(s.selector=l.selector),this.contexts.push(s),e=s.add("onMatch",e),s.queries=t)"all"===n?a=1:(i=h.matchMedia(t[n]))&&(Te.indexOf(s)<0&&Te.push(s),(o[n]=i.matches)&&(a=1),i.addListener?i.addListener(Gc):i.addEventListener("change",Gc));return a&&e(s,function(t){return s.add(null,t);}),this;},Ce.revert=function revert(t){this.kill(t||{});}
29,Ce.kill=function kill(e){this.contexts.forEach(function(t){return t.kill(e,!0);});},MatchMedia);function MatchMedia(t){this.contexts=[],this.scope=t,l&&l.data.push(this);}var De={registerPlugin:function registerPlugin(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];e.forEach(function(t){return xb(t);});},timeline:function timeline(t){return new Qt(t);},getTweensOf:function getTweensOf(t,e){return I.getTweensOf(t,e);},getProperty:function getProperty(i,t,e,n){r(i)&&(i=Ot(i)[0]);var a=fa(i||{}).get,s=e?qa:pa;return "native"===e&&(e=""),i?t?s((pt[t]&&pt[t].get||a)(i,t,e,n)):function(t,e,r){return s((pt[t]&&pt[t].get||a)(i,t,e,r));}:i;},quickSetter:function quickSetter(r,e,i){if(1<(r=Ot(r)).length){var n=r.map(function(t){return ze.quickSetter(t,e,i);}),a=n.length;return function(t){for(var e=a;e--;)n[e](t);};}r=r[0]||{};var s=pt[e],o=fa(r),u=o.harness&&(o.harness.aliases||{})[e]||e,h=s?function(t){var e=new s();d._pt=0,e.init(r,i?t+i:t,d,0,[r]),e.render(1,e),d._pt&&ue(1,d);}:o.set(r,u);return s?h:function(t){return h(r,u,i?t+i:t,o,1);};},quickTo:function quickTo(t,i,e){function ay(t,e,r){return n.resetTo(i,t,e,r);}var r,n=ze.to(t,ra(((r={})[i]="+=0.1",r.paused=!0,r.stagger=0,r),e||{}));return ay.tween=n,ay;},isTweening:function isTweening(t){return 0<I.getTweensOf(t,!0).length;},defaults:function defaults(t){return t&&t.ease&&(t.ease=Yt(t.ease,Z.ease)),ua(Z,t||{});},config:function config(t){return ua(X,t||{});},registerEffect:function registerEffect(t){var i=t.name,n=t.effect,e=t.plugins,a=t.defaults,r=t.extendTimeline;(e||"").split(",").forEach(function(t){return t&&!pt[t]&&!ot[t]&&R(i+" effect requires "+t+" plugin.");}),_t[i]=function(t,e,r){return n(Ot(t),ra(e||{},a),r);},r&&(Qt.prototype[i]=function(t,e,r){return this.add(_t[i](t,v(e)?e:(r=e)&&{},this),r);});},registerEase:function registerEase(t,e){Lt[t]=Yt(e);},parseEase:function parseEase(t,e){return arguments.length?Yt(t,e):Lt;},getById:function getById(t){return I.getById(t);},exportRoot:function exportRoot(t,e){void 0===t&&(t={});var r,i,n=new Qt(t);for(n.smoothChildTiming=w(t.smoothChildTiming),I.remove(n),n._dp=0,n._time=n._tTime=I._time,r=I._first;r;)i=r._next,!e&&!r._dur&&r instanceof Jt&&r.vars.onComplete===r._targets[0]||La(n,r,r._start-r._delay),r=i;return La(I,n,0),n;},context:function context(t,e){return t?new Pe(t,e):l;},matchMedia:function matchMedia(t){return new Se(t);},matchMediaRefresh:function matchMediaRefresh(){return Te.forEach(function(t){var e,r,i=t.conditions;for(r in i)i[r]&&(i[r]=!1,e=1);e&&t.revert();})||Gc();},addEventListener:function addEventListener(t,e){var r=be[t]||(be[t]=[]);~r.indexOf(e)||r.push(e);},removeEventListener:function removeEventListener(t,e){var r=be[t],i=r&&r.indexOf(e);0<=i&&r.splice(i,1);},utils:{wrap:function wrap(e,t,r){var i=t-e;return $(e)?mb(e,wrap(0,e.length),t):Xa(r,function(t){return (i+(t-e)%i)%i+e;});},wrapYoyo:function wrapYoyo(e,t,r){var i=t-e,n=2*i;return $(e)?mb(e,wrapYoyo(0,e.length-1),t):Xa(r,function(t){return e+(i<(t=(n+(t-e)%n)%n||0)?n-t:t);});},distribute:fb,random:ib,snap:hb,normalize:function normalize(t,e,r){return At(t,e,0,1,r);},getUnit:Za,clamp:function clamp(e,r,t){return Xa(t,function(t){return Mt(e,r,t);});},splitColor:Bb,toArray:Ot,selector:db,mapRange:At,pipe:function pipe(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(t){return e.reduce(function(t,e){return e(t);},t);};},unitize:function unitize(e,r){return function(t){return e(parseFloat(t))+(r||Za(t));};},interpolate:function interpolate(e,i,t,n){var a=isNaN(e+i)?0:function(t){return (1-t)*e+t*i;};if(!a){var s,o,u,h,l,f=r(e),d={};if(!0===t&&(n=1)&&(t=null),f)e={p:e},i={p:i};else if($(e)&&!$(i)){for(u=[],h=e.length,l=h-2,o=1;o<h;o++)u.push(interpolate(e[o-1],e[o]));h--,a=function func(t){t*=h;var e=Math.min(l,~~t);return u[e](t-e);},t=i;}else n||(e=yt($(e)?[]:{},e));if(!u){for(s in i)Vt.call(d,e,s,"get",i[s]);a=function func(t){return ue(t,d)||(f?e.p:e);};}}return Xa(t,a);},shuffle:eb},install:P,effects:_t,ticker:Rt,updateRoot:Qt.updateRoot,plugins:pt,globalTimeline:I,core:{PropTween:ge,globals:S,Tween:Jt,Timeline:Qt,Animation:Nt,getCache:fa,_removeLinkedListItem:za,reverting:function reverting(){return L;},context:function context(t){return t&&l&&(l.data.push(t),t._ctx=l),l;},suppressOverwrites:function suppressOverwrites(t){return F=t;}}};ha("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return De[t]=Jt[t];}),Rt.add(Qt.updateRoot),d=De.to({},{duration:0});function Kc(t,e){for(var r=t._pt;r&&r.p!==e&&r.op!==e&&r.fp!==e;)r=r._next;return r;}function Mc(t,a){return {name:t,headless:1,rawVars:1,init:function init(t,n,e){e._onInit=function(t){var e,i;if(r(n)&&(e={},ha(n,function(t){return e[t]=1;}),n=e),a){for(i in e={},n)e[i]=a(n[i]);n=e;}!function _addModifiers(t,e){var r,i,n,a=t._targets;for(r in e)for(i=a.length;i--;)(n=(n=t._ptLookup[i][r])&&n.d)&&(n._pt&&(n=Kc(n,r)),n&&n.modifier&&n.modifier(e[r],t,a[i],r));}(t,n);};}};}var ze=De.registerPlugin({name:"attr",init:function init(t,e,r,i,n){var a,s,o;for(a in this.tween=r,e)o=t.getAttribute(a)||"",(s=this.add(t,"setAttribute",(o||0)+"",e[a],i,n,0,0,a)).op=a,s.b=o,this._props.push(a);},render:function render(t,e){for(var r=e._pt;r;)L?r.set(r.t,r.p,r.b,r):r.r(t,r.d),r=r._next;}},{name:"endArray",headless:1,init:function init(t,e){for(var r=e.length;r--;)this.add(t,r,t[r]||0,e[r],0,0,0,0,0,1);}}
vendor: 9,915 bytes, line 29
29,Mc("roundProps",gb),Mc("modifiers"),Mc("snap",hb))||De;Jt.version=Qt.version=ze.version="3.13.0",o=1,x()&&Ft();function wd(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e);}function xd(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e);}function yd(t,e){return e.set(e.t,e.p,t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e);}function zd(t,e){var r=e.s+e.c*t;e.set(e.t,e.p,~~(r+(r<0?-.5:.5))+e.u,e);}function Ad(t,e){return e.set(e.t,e.p,t?e.e:e.b,e);}function Bd(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e);}function Cd(t,e,r){return t.style[e]=r;}function Dd(t,e,r){return t.style.setProperty(e,r);}function Ed(t,e,r){return t._gsap[e]=r;}function Fd(t,e,r){return t._gsap.scaleX=t._gsap.scaleY=r;}function Gd(t,e,r,i,n){var a=t._gsap;a.scaleX=a.scaleY=r,a.renderTransform(n,a);}function Hd(t,e,r,i,n){var a=t._gsap;a[e]=r,a.renderTransform(n,a);}function Kd(t,e){var r=this,i=this.target,n=i.style,a=i._gsap;if(t in sr&&n){if(this.tfm=this.tfm||{},"transform"===t)return cr.transform.split(",").forEach(function(t){return Kd.call(r,t,e);});if(~(t=cr[t]||t).indexOf(",")?t.split(",").forEach(function(t){return r.tfm[t]=Tr(i,t);}):this.tfm[t]=a.x?a[t]:Tr(i,t),t===_r&&(this.tfm.zOrigin=a.zOrigin),0<=this.props.indexOf(pr))return;a.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(_r,e,"")),t=pr;}(n||e)&&this.props.push(t,e,n[t]);}function Ld(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"));}function Md(){var t,e,r=this.props,i=this.target,n=i.style,a=i._gsap;for(t=0;t<r.length;t+=3)r[t+1]?2===r[t+1]?i[r[t]](r[t+2]):i[r[t]]=r[t+2]:r[t+2]?n[r[t]]=r[t+2]:n.removeProperty("--"===r[t].substr(0,2)?r[t]:r[t].replace(lr,"-$1").toLowerCase());if(this.tfm){for(e in this.tfm)a[e]=this.tfm[e];a.svg&&(a.renderTransform(),i.setAttribute("data-svg-origin",this.svgo||"")),(t=Ye())&&t.isStart||n[pr]||(Ld(n),a.zOrigin&&n[_r]&&(n[_r]+=" "+a.zOrigin+"px",a.zOrigin=0,a.renderTransform()),a.uncache=1);}}function Nd(t,e){var r={target:t,props:[],revert:Md,save:Kd};return t._gsap||ze.core.getCache(t),e&&t.style&&t.nodeType&&e.split(",").forEach(function(t){return r.save(t);}),r;}function Pd(t,e){var r=Re.createElementNS?Re.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):Re.createElement(t);return r&&r.style?r:Re.createElement(t);}function Qd(t,e,r){var i=getComputedStyle(t);return i[e]||i.getPropertyValue(e.replace(lr,"-$1").toLowerCase())||i.getPropertyValue(e)||!r&&Qd(t,gr(e)||e,1)||"";}function Td(){(function _windowExists(){return "undefined"!=typeof window;})()&&window.document&&(Ee=window,Re=Ee.document,Fe=Re.documentElement,Ie=Pd("div")||{style:{}},Pd("div"),pr=gr(pr),_r=pr+"Origin",Ie.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Xe=!!gr("perspective"),Ye=ze.core.reverting,Le=1);}function Ud(t){var e,r=t.ownerSVGElement,i=Pd("svg",r&&r.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=t.cloneNode(!0);n.style.display="block",i.appendChild(n),Fe.appendChild(i);try{e=n.getBBox();}catch(t){}return i.removeChild(n),Fe.removeChild(i),e;}function Vd(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r]);}function Wd(e){var r,i;try{r=e.getBBox();}catch(t){r=Ud(e),i=1;}return r&&(r.width||r.height)||i||(r=Ud(e)),!r||r.width||r.x||r.y?r:{x:+Vd(e,["x","cx","x1"])||0,y:+Vd(e,["y","cy","y1"])||0,width:0,height:0};}function Xd(t){return !(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!Wd(t));}function Yd(t,e){if(e){var r,i=t.style;e in sr&&e!==_r&&(e=pr),i.removeProperty?("ms"!==(r=e.substr(0,2))&&"webkit"!==e.substr(0,6)||(e="-"+e),i.removeProperty("--"===r?e:e.replace(lr,"-$1").toLowerCase())):i.removeAttribute(e);}}function Zd(t,e,r,i,n,a){var s=new ge(t._pt,e,r,0,1,a?Bd:Ad);return (t._pt=s).b=i,s.e=n,t._props.push(r),s;}function ae(t,e,r,i){var n,a,s,o,u=parseFloat(r)||0,h=(r+"").trim().substr((u+"").length)||"px",l=Ie.style,f=fr.test(e),d="svg"===t.tagName.toLowerCase(),c=(d?"client":"offset")+(f?"Width":"Height"),p="px"===i,_="%"===i;if(i===h||!u||vr[i]||vr[h])return u;if("px"===h||p||(u=ae(t,e,r,"px")),o=t.getCTM&&Xd(t),(_||"%"===h)&&(sr[e]||~e.indexOf("adius")))return n=o?t.getBBox()[f?"width":"height"]:t[c],ia(_?u/n*100:u/100*n);if(l[f?"width":"height"]=100+(p?h:i),a="rem"!==i&&~e.indexOf("adius")||"em"===i&&t.appendChild&&!d?t:t.parentNode,o&&(a=(t.ownerSVGElement||{}).parentNode),a&&a!==Re&&a.appendChild||(a=Re.body),(s=a._gsap)&&_&&s.width&&f&&s.time===Rt.time&&!s.uncache)return ia(u/s.width*100);if(!_||"height"!==e&&"width"!==e)!_&&"%"!==h||yr[Qd(a,"display")]||(l.position=Qd(t,"position")),a===t&&(l.position="static"),a.appendChild(Ie),n=Ie[c],a.removeChild(Ie),l.position="absolute";else{var m=t.style[e];t.style[e]=100+i,n=t[c],m?t.style[e]=m:Yd(t,e);}return f&&_&&((s=fa(a)).time=Rt.time,s.width=a[c]),ia(p?n*u/100:n&&u?100/n*u:0);}function ce(t,e,r,i){if(!r||"none"===r){var n=gr(e,t,1),a=n&&Qd(t,n,1);a&&a!==r?(e=n,r=a):"borderColor"===e&&(r=Qd(t,"borderTopColor"));}var s,o,u,h,l,f,d,c,p,_,m,g=new ge(this._pt,t.style,e,0,1,oe),v=0,y=0;if(g.b=r,g.e=i,r+="","var(--"===(i+="").substring(0,6)&&(i=Qd(t,i.substring(4,i.indexOf(")")))),"auto"===i&&(f=t.style[e],t.style[e]=i,i=Qd(t,e)||i,f?t.style[e]=f:Yd(t,e)),Gb(s=[r,i]),i=s[1],u=(r=s[0]).match(rt)||[],(i.match(rt)||[]).length){for(;o=rt.exec(i);)d=o[0],p=i.substring(v,o.index),l?l=(l+1)%5:"rgba("!==p.substr(-5)&&"hsla("!==p.substr(-5)||(l=1),d!==(f=u[y++]||"")&&(h=parseFloat(f)||0,m=f.substr((h+"").length),"="===d.charAt(1)&&(d=ka(h,d)+m),c=parseFloat(d),_=d.substr((c+"").length),v=rt.lastIndex-_.length,_||(_=_||X.units[e]||m,v===i.length&&(i+=_,g.e+=_)),m!==_&&(h=ae(t,e,f,_)||0),g._pt={_next:g._pt,p:p||1===y?p:",",s:h,c:c-h,m:l&&l<4||"zIndex"===e?Math.round:0});g.c=v<i.length?i.substring(v,i.length):"";}else g.r="display"===e&&"none"===i?Bd:Ad;return nt.test(i)&&(g.e=0),this._pt=g;}function ee(t){var e=t.split(" "),r=e[0],i=e[1]||"50%";return "top"!==r&&"bottom"!==r&&"left"!==i&&"right"!==i||(t=r,r=i,i=t),e[0]=br[r]||r,e[1]=br[i]||i,e.join(" ");}function fe(t,e){if(e.tween&&e.tween._time===e.tween._dur){var r,i,n,a=e.t,s=a.style,o=e.u,u=a._gsap;if("all"===o||!0===o)s.cssText="",i=1;else for(n=(o=o.split(",")).length;-1<--n;)r=o[n],sr[r]&&(i=1,r="transformOrigin"===r?_r:pr),Yd(a,r);i&&(Yd(a,pr),u&&(u.svg&&a.removeAttribute("transform"),s.scale=s.rotate=s.translate="none",kr(a,1),u.uncache=1,Ld(s)));}}function je(t){return "matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t;}function ke(t){var e=Qd(t,pr);return je(e)?xr:e.substr(7).match(et).map(ia);}function le(t,e){var r,i,n,a,s=t._gsap||fa(t),o=t.style,u=ke(t);return s.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(u=[(n=t.transform.baseVal.consolidate().matrix).a,n.b,n.c,n.d,n.e,n.f]).join(",")?xr:u:(u!==xr||t.offsetParent||t===Fe||s.svg||(n=o.display,o.display="block",(r=t.parentNode)&&(t.offsetParent||t.getBoundingClientRect().width)||(a=1,i=t.nextElementSibling,Fe.appendChild(t)),u=ke(t),n?o.display=n:Yd(t,"display"),a&&(i?r.insertBefore(t,i):r?r.appendChild(t):Fe.removeChild(t))),e&&6<u.length?[u[0],u[1],u[4],u[5],u[12],u[13]]:u);}function me(t,e,r,i,n,a){var s,o,u,h=t._gsap,l=n||le(t,!0),f=h.xOrigin||0,d=h.yOrigin||0,c=h.xOffset||0,p=h.yOffset||0,_=l[0],m=l[1],g=l[2],v=l[3],y=l[4],T=l[5],b=e.split(" "),w=parseFloat(b[0])||0,x=parseFloat(b[1])||0;r?l!==xr&&(o=_*v-m*g)&&(u=w*(-m/o)+x*(_/o)-(_*T-m*y)/o,w=w*(v/o)+x*(-g/o)+(g*T-v*y)/o,x=u):(w=(s=Wd(t)).x+(~b[0].indexOf("%")?w/100*s.width:w),x=s.y+(~(b[1]||b[0]).indexOf("%")?x/100*s.height:x)),i||!1!==i&&h.smooth?(y=w-f,T=x-d,h.xOffset=c+(y*_+T*g)-y,h.yOffset=p+(y*m+T*v)-T):h.xOffset=h.yOffset=0,h.xOrigin=w,h.yOrigin=x,h.smooth=!!i,h.origin=e,h.originIsAbsolute=!!r,t.style[_r]="0px 0px",a&&(Zd(a,h,"xOrigin",f,w),Zd(a,h,"yOrigin",d,x),Zd(a,h,"xOffset",c,h.xOffset),Zd(a,h,"yOffset",p,h.yOffset)),t.setAttribute("data-svg-origin",w+" "+x);}function pe(t,e,r){var i=Za(e);return ia(parseFloat(e)+parseFloat(ae(t,"x",r+"px",i)))+i;}function we(t,e,i,n,a){var s,o,u=360,h=r(a),l=parseFloat(a)*(h&&~a.indexOf("rad")?or:1)-n,f=n+l+"deg";return h&&("short"===(s=a.split("_")[1])&&(l%=u)!==l%180&&(l+=l<0?u:-u),"cw"===s&&l<0?l=(l+36e9)%u-~~(l/u)*u:"ccw"===s&&0<l&&(l=(l-36e9)%u-~~(l/u)*u)),t._pt=o=new ge(t._pt,e,i,n,l,xd),o.e=f,o.u="deg",t._props.push(i),o;}function xe(t,e){for(var r in e)t[r]=e[r];return t;}function ye(t,e,r){var i,n,a,s,o,u,h,l=xe({},r._gsap),f=r.style;for(n in l.svg?(a=r.getAttribute("transform"),r.setAttribute("transform",""),f[pr]=e,i=kr(r,1),Yd(r,pr),r.setAttribute("transform",a)):(a=getComputedStyle(r)[pr],f[pr]=e,i=kr(r,1),f[pr]=a),sr)(a=l[n])!==(s=i[n])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(n)<0&&(o=Za(a)!==(h=Za(s))?ae(r,n,a,h):parseFloat(a),u=parseFloat(s),t._pt=new ge(t._pt,i,n,o,u-o,wd),t._pt.u=h||0,t._props.push(n));xe(i,l);}var Ee,Re,Fe,Le,Ie,Be,Ye,Xe,Ze=Lt.Power0,Ne=Lt.Power1,Qe=Lt.Power2,Ue=Lt.Power3,qe=Lt.Power4,Ve=Lt.Linear,We=Lt.Quad,Ge=Lt.Cubic,He=Lt.Quart,Ke=Lt.Quint,Je=Lt.Strong,$e=Lt.Elastic,tr=Lt.Back,er=Lt.SteppedEase,rr=Lt.Bounce,ir=Lt.Sine,nr=Lt.Expo,ar=Lt.Circ,sr={},or=180/Math.PI,ur=Math.PI/180,hr=Math.atan2,lr=/([A-Z])/g,fr=/(left|right|width|margin|padding|x)/i,dr=/[\s,\(]\S/,cr={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},pr="transform",_r=pr+"Origin",mr="O,Moz,ms,Ms,Webkit".split(","),gr=function _checkPropPrefix(t,e,r){var i=(e||Ie).style,n=5;if(t in i&&!r)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);n--&&!(mr[n]+t in i););return n<0?null:(3===n?"ms":0<=n?mr[n]:"")+t;},vr={deg:1,rad:1,turn:1},yr={grid:1,flex:1},Tr=function _get(t,e,r,i){var n;return Le||Td(),e in cr&&"transform"!==e&&~(e=cr[e]).indexOf(",")&&(e=e.split(",")[0]),sr[e]&&"transform"!==e?(n=kr(t,i),n="transformOrigin"!==e?n[e]:n.svg?n.origin:Or(Qd(t,_r))+" "+n.zOrigin+"px"):(n=t.style[e])&&"auto"!==n&&!i&&!~(n+"").indexOf("calc(")||(n=wr[e]&&wr[e](t,e,r)||Qd(t,e)||ga(t,e)||("op
29acity"===e?1:0)),r&&!~(n+"").trim().indexOf(" ")?ae(t,e,n,r)+r:n;},br={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},wr={clearProps:function clearProps(t,e,r,i,n){if("isFromStart"!==n.data){var a=t._pt=new ge(t._pt,e,r,0,0,fe);return a.u=i,a.pr=-10,a.tween=n,t._props.push(r),1;}}},xr=[1,0,0,1,0,0],Mr={},kr=function _parseTransform(t,e){var r=t._gsap||new Zt(t);if("x" in r&&!e&&!r.uncache)return r;var i,n,a,s,o,u,h,l,f,d,c,p,_,m,g,v,y,T,b,w,x,M,k,O,A,P,C,S,D,z,E,R,F=t.style,L=r.scaleX<0,I="deg",B=getComputedStyle(t),j=Qd(t,_r)||"0";return i=n=a=u=h=l=f=d=c=0,s=o=1,r.svg=!(!t.getCTM||!Xd(t)),B.translate&&("none"===B.translate&&"none"===B.scale&&"none"===B.rotate||(F[pr]=("none"!==B.translate?"translate3d("+(B.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==B.rotate?"rotate("+B.rotate+") ":"")+("none"!==B.scale?"scale("+B.scale.split(" ").join(",")+") ":"")+("none"!==B[pr]?B[pr]:"")),F.scale=F.rotate=F.translate="none"),m=le(t,r.svg),r.svg&&(O=r.uncache?(A=t.getBBox(),j=r.xOrigin-A.x+"px "+(r.yOrigin-A.y)+"px",""):!e&&t.getAttribute("data-svg-origin"),me(t,O||j,!!O||r.originIsAbsolute,!1!==r.smooth,m)),p=r.xOrigin||0,_=r.yOrigin||0,m!==xr&&(T=m[0],b=m[1],w=m[2],x=m[3],i=M=m[4],n=k=m[5],6===m.length?(s=Math.sqrt(T*T+b*b),o=Math.sqrt(x*x+w*w),u=T||b?hr(b,T)*or:0,(f=w||x?hr(w,x)*or+u:0)&&(o*=Math.abs(Math.cos(f*ur))),r.svg&&(i-=p-(p*T+_*w),n-=_-(p*b+_*x))):(R=m[6],z=m[7],C=m[8],S=m[9],D=m[10],E=m[11],i=m[12],n=m[13],a=m[14],h=(g=hr(R,D))*or,g&&(O=M*(v=Math.cos(-g))+C*(y=Math.sin(-g)),A=k*v+S*y,P=R*v+D*y,C=M*-y+C*v,S=k*-y+S*v,D=R*-y+D*v,E=z*-y+E*v,M=O,k=A,R=P),l=(g=hr(-w,D))*or,g&&(v=Math.cos(-g),E=x*(y=Math.sin(-g))+E*v,T=O=T*v-C*y,b=A=b*v-S*y,w=P=w*v-D*y),u=(g=hr(b,T))*or,g&&(O=T*(v=Math.cos(g))+b*(y=Math.sin(g)),A=M*v+k*y,b=b*v-T*y,k=k*v-M*y,T=O,M=A),h&&359.9<Math.abs(h)+Math.abs(u)&&(h=u=0,l=180-l),s=ia(Math.sqrt(T*T+b*b+w*w)),o=ia(Math.sqrt(k*k+R*R)),g=hr(M,k),f=2e-4<Math.abs(g)?g*or:0,c=E?1/(E<0?-E:E):0),r.svg&&(O=t.getAttribute("transform"),r.forceCSS=t.setAttribute("transform","")||!je(Qd(t,pr)),O&&t.setAttribute("transform",O))),90<Math.abs(f)&&Math.abs(f)<270&&(L?(s*=-1,f+=u<=0?180:-180,u+=u<=0?180:-180):(o*=-1,f+=f<=0?180:-180)),e=e||r.uncache,r.x=i-((r.xPercent=i&&(!e&&r.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-i)?-50:0)))?t.offsetWidth*r.xPercent/100:0)+"px",r.y=n-((r.yPercent=n&&(!e&&r.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-n)?-50:0)))?t.offsetHeight*r.yPercent/100:0)+"px",r.z=a+"px",r.scaleX=ia(s),r.scaleY=ia(o),r.rotation=ia(u)+I,r.rotationX=ia(h)+I,r.rotationY=ia(l)+I,r.skewX=f+I,r.skewY=d+I,r.transformPerspective=c+"px",(r.zOrigin=parseFloat(j.split(" ")[2])||!e&&r.zOrigin||0)&&(F[_r]=Or(j)),r.xOffset=r.yOffset=0,r.force3D=X.force3D,r.renderTransform=r.svg?zr:Xe?Dr:Ar,r.uncache=0,r;},Or=function _firstTwoOnly(t){return (t=t.split(" "))[0]+" "+t[1];},Ar=function _renderNon3DTransforms(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Dr(t,e);},Pr="0deg",Cr="0px",Sr=") ",Dr=function _renderCSSTransforms(t,e){var r=e||this,i=r.xPercent,n=r.yPercent,a=r.x,s=r.y,o=r.z,u=r.rotation,h=r.rotationY,l=r.rotationX,f=r.skewX,d=r.skewY,c=r.scaleX,p=r.scaleY,_=r.transformPerspective,m=r.force3D,g=r.target,v=r.zOrigin,y="",T="auto"===m&&t&&1!==t||!0===m;if(v&&(l!==Pr||h!==Pr)){var b,w=parseFloat(h)*ur,x=Math.sin(w),M=Math.cos(w);w=parseFloat(l)*ur,b=Math.cos(w),a=pe(g,a,x*b*-v),s=pe(g,s,-Math.sin(w)*-v),o=pe(g,o,M*b*-v+v);}_!==Cr&&(y+="perspective("+_+Sr),(i||n)&&(y+="translate("+i+"%, "+n+"%) "),!T&&a===Cr&&s===Cr&&o===Cr||(y+=o!==Cr||T?"translate3d("+a+", "+s+", "+o+") ":"translate("+a+", "+s+Sr),u!==Pr&&(y+="rotate("+u+Sr),h!==Pr&&(y+="rotateY("+h+Sr),l!==Pr&&(y+="rotateX("+l+Sr),f===Pr&&d===Pr||(y+="skew("+f+", "+d+Sr),1===c&&1===p||(y+="scale("+c+", "+p+Sr),g.style[pr]=y||"translate(0, 0)";},zr=function _renderSVGTransforms(t,e){var r,i,n,a,s,o=e||this,u=o.xPercent,h=o.yPercent,l=o.x,f=o.y,d=o.rotation,c=o.skewX,p=o.skewY,_=o.scaleX,m=o.scaleY,g=o.target,v=o.xOrigin,y=o.yOrigin,T=o.xOffset,b=o.yOffset,w=o.forceCSS,x=parseFloat(l),M=parseFloat(f);d=parseFloat(d),c=parseFloat(c),(p=parseFloat(p))&&(c+=p=parseFloat(p),d+=p),d||c?(d*=ur,c*=ur,r=Math.cos(d)*_,i=Math.sin(d)*_,n=Math.sin(d-c)*-m,a=Math.cos(d-c)*m,c&&(p*=ur,s=Math.tan(c-p),n*=s=Math.sqrt(1+s*s),a*=s,p&&(s=Math.tan(p),r*=s=Math.sqrt(1+s*s),i*=s)),r=ia(r),i=ia(i),n=ia(n),a=ia(a)):(r=_,a=m,i=n=0),(x&&!~(l+"").indexOf("px")||M&&!~(f+"").indexOf("px"))&&(x=ae(g,"x",l,"px"),M=ae(g,"y",f,"px")),(v||y||T||b)&&(x=ia(x+v-(v*r+y*n)+T),M=ia(M+y-(v*i+y*a)+b)),(u||h)&&(s=g.getBBox(),x=ia(x+u/100*s.width),M=ia(M+h/100*s.height)),s="matrix("+r+","+i+","+n+","+a+","+x+","+M+")",g.setAttribute("transform",s),w&&(g.style[pr]=s);};ha("padding,margin,Width,Radius",function(e,r){var t="Right",i="Bottom",n="Left",o=(r<3?["Top",t,i,n]:["Top"+n,"Top"+t,i+t,i+n]).map(function(t){return r<2?e+t:"border"+t+e;});wr[1<r?"border"+e:e]=function(e,t,r,i,n){var a,s;if(arguments.length<4)return a=o.map(function(t){return Tr(e,t,r);}),5===(s=a.join(" ")).split(a[0]).length?a[0]:s;a=(i+"").split(" "),s={},o.forEach(function(t,e){return s[t]=a[e]=a[e]||a[(e-1)/2|0];}),e.init(t,s,n);};});var Er,Rr,Fr,Lr={name:"css",register:Td,targetTest:function targetTest(t){return t.style&&t.nodeType;},init:function init(t,e,i,n,a){var s,o,u,h,l,f,d,c,p,_,m,g,v,y,T,b,w=this._props,x=t.style,M=i.vars.startAt;for(d in Le||Td(),this.styles=this.styles||Nd(t),b=this.styles.props,this.tween=i,e)if("autoRound"!==d&&(o=e[d],!pt[d]||!bc(d,e,i,n,t,a)))if(l=typeof o,f=wr[d
vendor: 1,641 bytes, line 29
29],"function"===l&&(l=typeof (o=o.call(i,n,t,a))),"string"===l&&~o.indexOf("random(")&&(o=pb(o)),f)f(this,t,d,o,i)&&(T=1);else if("--"===d.substr(0,2))s=(getComputedStyle(t).getPropertyValue(d)+"").trim(),o+="",zt.lastIndex=0,zt.test(s)||(c=Za(s),p=Za(o)),p?c!==p&&(s=ae(t,d,s,p)+p):c&&(o+=c),this.add(x,"setProperty",s,o,n,a,0,0,d),w.push(d),b.push(d,0,x[d]);else{if("undefined"!==l){if(M&&d in M?(s="function"==typeof M[d]?M[d].call(i,n,t,a):M[d],r(s)&&~s.indexOf("random(")&&(s=pb(s)),Za(s+"")||"auto"===s||(s+=X.units[d]||Za(Tr(t,d))||""),"="===(s+"").charAt(1)&&(s=Tr(t,d))):s=Tr(t,d),h=parseFloat(s),(_="string"===l&&"="===o.charAt(1)&&o.substr(0,2))&&(o=o.substr(2)),u=parseFloat(o),d in cr&&("autoAlpha"===d&&(1===h&&"hidden"===Tr(t,"visibility")&&u&&(h=0),b.push("visibility",0,x.visibility),Zd(this,x,"visibility",h?"inherit":"hidden",u?"inherit":"hidden",!u)),"scale"!==d&&"transform"!==d&&~(d=cr[d]).indexOf(",")&&(d=d.split(",")[0])),m=d in sr)if(this.styles.save(d),"string"===l&&"var(--"===o.substring(0,6)&&(o=Qd(t,o.substring(4,o.indexOf(")"))),u=parseFloat(o)),g||((v=t._gsap).renderTransform&&!e.parseTransform||kr(t,e.parseTransform),y=!1!==e.smoothOrigin&&v.smooth,(g=this._pt=new ge(this._pt,x,pr,0,1,v.renderTransform,v,0,-1)).dep=1),"scale"===d)this._pt=new ge(this._pt,v,"scaleY",v.scaleY,(_?ka(v.scaleY,_+u):u)-v.scaleY||0,wd),this._pt.u=0,w.push("scaleY",d),d+="X";else{if("transformOrigin"===d){b.push(_r,0,x[_r]),o=ee(o),v.svg?me(t,o,0,y,0,this):((p=parseFloat(o.split(" ")[2])||0)!==v.zOrigin&&Zd(this,v,"zOrigin",v.zOrigin,p),Zd(this,x,d,Or(s),Or(o)));continue;}if("svgOrigin"===d){me(t,o,1,y,0,this);continue;}
29if(d in Mr){we(this,v,d,h,_?ka(h,_+o):o);continue;}if("smoothOrigin"===d){Zd(this,v,"smooth",v.smooth,o);continue;}if("force3D"===d){v[d]=o;continue;}if("transform"===d){ye(this,o,t);continue;}}else d in x||(d=gr(d)||d);if(m||(u||0===u)&&(h||0===h)&&!dr.test(o)&&d in x)u=u||0,(c=(s+"").substr((h+"").length))!==(p=Za(o)||(d in X.units?X.units[d]:c))&&(h=ae(t,d,s,p)),this._pt=new ge(this._pt,m?v:x,d,h,(_?ka(h,_+u):u)-h,m||"px"!==p&&"zIndex"!==d||!1===e.autoRound?wd:zd),this._pt.u=p||0,c!==p&&"%"!==p&&(this._pt.b=s,this._pt.r=yd);else if(d in x)ce.call(this,t,d,s,_?_+o:o);else if(d in t)this.add(t,d,s||t[d],_?_+o:o,n,a);else{if("parseTransform"!==d){Q(d,o);continue;}}m||(d in x?b.push(d,0,x[d]):"function"==typeof t[d]?b.push(d,2,t[d]()):b.push(d,1,s||t[d])),w.push(d);}}T&&_e(this);},render:function render(t,e){if(e.tween._time||!Ye())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert();},get:Tr,aliases:cr,getSetter:function getSetter(t,e,r){var i=cr[e];return i&&i.indexOf(",")<0&&(e=i),e in sr&&e!==_r&&(t._gsap.x||Tr(t,"x"))?r&&Be===r?"scale"===e?Fd:Ed:(Be=r||{})&&("scale"===e?Gd:Hd):t.style&&!u(t.style[e])?Cd:~e.indexOf("-")?Dd:ie(t,e);},core:{_removeProperty:Yd,_getMatrix:le}};ze.utils.checkPrefix=gr,ze.core.getStyleSaver=Nd,Fr=ha((Er="x,y,z,scale,scaleX,scaleY,xPercent,yPercent")+","+(Rr="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",function(t){sr[t]=1;}),ha(Rr,function(t){X.units[t]="deg",Mr[t]=1;}),cr[Fr[13]]=Er+","+Rr,ha("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",function(t){var e=t.split(":");cr[e[1]]=Fr[e[0]];}),ha("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){X.units[t]="px";}),ze.registerPlugin(Lr);var Ir=ze.registerPlugin(Lr)||ze,Br=Ir.core.Tween;e.Back=tr,e.Bounce=rr,e.CSSPlugin=Lr,e.Circ=ar,e.Cubic=Ge,e.Elastic=$e,e.Expo=nr,e.Linear=Ve,e.Power0=Ze,e.Power1=Ne,e.Power2=Qe,e.Power3=Ue,e.Power4=qe,e.Quad=We,e.Quart=He,e.Quint=Ke,e.Sine=ir,e.SteppedEase=er,e.Strong=Je,e.TimelineLite=Qt,e.TimelineMax=Qt,e.TweenLite=Jt,e.TweenMax=Br,e.default=Ir,e.gsap=Ir;if(typeof (window)==="undefined"||window!==e)Object.defineProperty(e,"__esModule",{value:!0});else delete e.default;});;
30!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{});}(this,function(e){"use strict";function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e;}function w(e,t){if(e.parentNode&&(h||M(e))){var n=P(e),o=n?n.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",r=n?t?"rect":"g":"div",i=2!==t?0:100,a=3===t?100:0,l="position:absolute;display:block;pointer-events:none;margin:0;padding:0;",s=h.createElementNS?h.createElementNS(o.replace(/^https/,"http"),r):h.createElement(r);return t&&(n?(x=x||w(e),s.setAttribute("width",.01),s.setAttribute("height",.01),s.setAttribute("transform","translate("+i+","+a+")"),x.appendChild(s)):(g||((g=w(e)).style.cssText=l),s.style.cssText=l+"width:0.1px;height:0.1px;top:"+a+"px;left:"+i+"px",g.appendChild(s))),s;}throw "Need document and parent.";}function A(e,t,n,o,r,i,a){return e.a=t,e.b=n,e.c=o,e.d=r,e.e=i,e.f=a,e;}var h,f,i,a,g,x,m,v,y,t,b="transform",T=b+"Origin",M=function _setDoc(e){var t=e.ownerDocument||e;!(b in e.style)&&"msTransform" in e.style&&(T=(b="msTransform")+"Origin");for(;t.parentNode&&(t=t.parentNode););if(f=window,m=new ge(),t){i=(h=t).documentElement,a=t.body,(v=h.createElementNS("http://www.w3.org/2000/svg","g")).style.transform="none";var n=t.createElement("div"),o=t.createElement("div"),r=t&&(t.body||t.firstElementChild);r&&r.appendChild&&(r.appendChild(n),n.appendChild(o),n.setAttribute("style","position:static;transform:translate3d(0,0,1px)"),y=o.offsetParent!==n,r.removeChild(n));}return t;},E=function _forceNonZeroScale(e){for(var t,n;e&&e!==a;)(n=e._gsap)&&n.uncache&&n.get(e,"x"),n&&!n.scaleX&&!n.scaleY&&n.renderTransform&&(n.scaleX=n.scaleY=1e-4,n.renderTransform(1,n),t?t.push(n):t=[n]),e=e.parentNode;return t;},D=[],S=[],L=function _getDocScrollTop(){return f.pageYOffset||h.scrollTop||i.scrollTop||a.scrollTop||0;},C=function _getDocScrollLeft(){return f.pageXOffset||h.scrollLeft||i.scrollLeft||a.scrollLeft||0;},P=function _svgOwner(e){return e.ownerSVGElement||("svg"===(e.tagName+"").toLowerCase()?e:null);},N=function _isFixed(e){return "fixed"===f.getComputedStyle(e).position||((e=e.parentNode)&&1===e.nodeType?_isFixed(e):void 0);},k=function _placeSiblings(e,t){var n,o,r,i,a,l,s=P(e),c=e===s,d=s?D:S,p=e.parentNode,u=p&&!s&&p.shadowRoot&&p.shadowRoot.appendChild?p.shadowRoot:p;if(e===f)return e;if(d.length||d.push(w(e,1),w(e,2),w(e,3)),n=s?x:g,s)c?(i=-(r=function _getCTM(e){var t,n=e.getCTM();return n||(t=e.style[b],e.style[b]="none",e.appendChild(v),n=v.getCTM(),e.removeChild(v),t?e.style[b]=t:e.style.removeProperty(b.replace(/([A-Z])/g,"-$1").toLowerCase())),n||m.clone();}(e)).e/r.a,a=-r.f/r.d,o=m):e.getBBox?(r=e.getBBox(),i=(o=(o=e.transform?e.transform.baseVal:{}).numberOfItems?1<o.numberOfItems?function _consolidate(e){for(var t=new ge(),n=0;n<e.numberOfItems;n++)t.multiply(e.getItem(n).matrix);return t;}(o):o.getItem(0).matrix:m).a*r.x+o.c*r.y,a=o.b*r.x+o.d*r.y):(o=new ge(),i=a=0),t&&"g"===e.tagName.toLowerCase()&&(i=a=0),(c?s:p).appendChild(n),n.setAttribute("transform","matrix("+o.a+","+o.b+","+o.c+","+o.d+","+(o.e+i)+","+(o.f+a)+")");else{if(i=a=0,y)for(o=e.offsetParent,r=e;(r=r&&r.parentNode)&&r!==o&&r.parentNode;)4<(f.getComputedStyle(r)[b]+"").length&&(i=r.offsetLeft,a=r.offsetTop,r=0);if("absolute"!==(l=f.getComputedStyle(e)).position&&"fixed"!==l.position)for(o=e.offsetParent;p&&p!==o;)i+=p.scrollLeft||0,a+=p.scrollTop||0,p=p.parentNode;(r=n.style).top=e.offsetTop-a+"px",r.left=e.offsetLeft-i+"px",r[b]=l[b],r[T]=l[T],r.position="fixed"===l.position?"fixed":"absolute",u.appendChild(n);}return n;},ge=((t=Matrix2D.prototype).inverse=function inverse(){var e=this.a,t=this.b,n=this.c,o=this.d,r=this.e,i=this.f,a=e*o-t*n||1e-10;return A(this,o/a,-t/a,-n/a,e/a,(n*i-o*r)/a,-(e*i-t*r)/a);},t.multiply=function multiply(e){var t=this.a,n=this.b,o=this.c,r=this.d,i=this.e,a=this.f,l=e.a,s=e.c,c=e.b,d=e.d,p=e.e,u=e.f;return A(this,l*t+c*o,l*n+c*r,s*t+d*o,s*n+d*r,i+p*t+u*o,a+p*n+u*r);},t.clone=function clone(){return new Matrix2D(this.a,this.b,this.c,this.d,this.e,this.f);},t.equals=function equals(e){var t=this.a,n=this.b,o=this.c,r=this.d,i=this.e,a=this.f;return t===e.a&&n===e.b&&o===e.c&&r===e.d&&i===e.e&&a===e.f;},t.apply=function apply(e,t){void 0===t&&(t={});var n=e.x,o=e.y,r=this.a,i=this.b,a=this.c,l=this.d,s=this.e,c=this.f;
vendor: 27,848 bytes, line 30
30return t.x=n*r+o*a+s||0,t.y=n*i+o*l+c||0,t;},Matrix2D);function Matrix2D(e,t,n,o,r,i){void 0===e&&(e=1),void 0===t&&(t=0),void 0===n&&(n=0),void 0===o&&(o=1),void 0===r&&(r=0),void 0===i&&(i=0),A(this,e,t,n,o,r,i);}function getGlobalMatrix(e,t,n,o){if(!e||!e.parentNode||(h||M(e)).documentElement===e)return new ge();var r=E(e),i=P(e)?D:S,a=k(e,n),l=i[0].getBoundingClientRect(),s=i[1].getBoundingClientRect(),c=i[2].getBoundingClientRect(),d=a.parentNode,p=!o&&N(e),u=new ge((s.left-l.left)/100,(s.top-l.top)/100,(c.left-l.left)/100,(c.top-l.top)/100,l.left+(p?0:C()),l.top+(p?0:L()));if(d.removeChild(a),r)for(l=r.length;l--;)(s=r[l]).scaleX=s.scaleY=0,s.renderTransform(1,s);return t?u.inverse():u;}function X(){return "undefined"!=typeof window;}function Y(){return xe||X()&&(xe=window.gsap)&&xe.registerPlugin&&xe;}function Z(e){return "function"==typeof e;}function $(e){return "object"==typeof e;}function _(e){return void 0===e;}function aa(){return !1;}function da(e){return Math.round(1e4*e)/1e4;}function fa(e,t){var n=ve.createElementNS?ve.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):ve.createElement(e);return n.style?n:ve.createElement(e);}function ra(e,t){var n,o={};for(n in e)o[n]=t?e[n]*t:e[n];return o;}function ta(e,t){for(var n,o=e.length;o--;)t?e[o].style.touchAction=t:e[o].style.removeProperty("touch-action"),(n=e[o].children)&&n.length&&ta(n,t);}function ua(){return Oe.forEach(function(e){return e();});}function wa(){return !Oe.length&&xe.ticker.remove(ua);}function xa(e){for(var t=Oe.length;t--;)Oe[t]===e&&Oe.splice(t,1);xe.to(wa,{overwrite:!0,delay:15,duration:0,onComplete:wa,data:"_draggable"});}function za(e,t,n,o){if(e.addEventListener){var r=Ee[t];o=o||(d?{passive:!1}:null),e.addEventListener(r||t,n,o),r&&t!==r&&e.addEventListener(t,n,o);}}function Aa(e,t,n,o){if(e.removeEventListener){var r=Ee[t];e.removeEventListener(r||t,n,o),r&&t!==r&&e.removeEventListener(t,n,o);}}function Ba(e){e.preventDefault&&e.preventDefault(),e.preventManipulation&&e.preventManipulation();}function Da(e){De=e.touches&&Pe<e.touches.length,Aa(e.target,"touchend",Da);}function Ea(e){De=e.touches&&Pe<e.touches.length,za(e.target,"touchend",Da);}function Fa(e){return me.pageYOffset||e.scrollTop||e.documentElement.scrollTop||e.body.scrollTop||0;}function Ga(e){return me.pageXOffset||e.scrollLeft||e.documentElement.scrollLeft||e.body.scrollLeft||0;}function Ha(e,t){za(e,"scroll",t),Qe(e.parentNode)||Ha(e.parentNode,t);}function Ia(e,t){Aa(e,"scroll",t),Qe(e.parentNode)||Ia(e.parentNode,t);}function Ka(e,t){var n="x"===t?"Width":"Height",o="scroll"+n,r="client"+n;return Math.max(0,Qe(e)?Math.max(ye[o],l[o])-(me["inner"+n]||ye[r]||l[r]):e[o]-e[r]);}function La(e,t){var n=Ka(e,"x"),o=Ka(e,"y");Qe(e)?e=We:La(e.parentNode,t),e._gsMaxScrollX=n,e._gsMaxScrollY=o,t||(e._gsScrollX=e.scrollLeft||0,e._gsScrollY=e.scrollTop||0);}function Ma(e,t,n){var o=e.style;o&&(_(o[t])&&(t=c(t,e)||t),null==n?o.removeProperty&&o.removeProperty(t.replace(/([A-Z])/g,"-$1").toLowerCase()):o[t]=n);}function Na(e){return me.getComputedStyle(e instanceof Element?e:e.host||(e.parentNode||{}).host||e);}function Pa(e){if(e===me)return p.left=p.top=0,p.width=p.right=ye.clientWidth||e.innerWidth||l.clientWidth||0,p.height=p.bottom=(e.innerHeight||0)-20<ye.clientHeight?ye.clientHeight:e.innerHeight||l.clientHeight||0,p;var t=e.ownerDocument||ve,n=_(e.pageX)?e.nodeType||_(e.left)||_(e.top)?Te(e)[0].getBoundingClientRect():e:{left:e.pageX-Ga(t),top:e.pageY-Fa(t),right:e.pageX-Ga(t)+1,bottom:e.pageY-Fa(t)+1};return _(n.right)&&!_(n.width)?(n.right=n.left+n.width,n.bottom=n.top+n.height):_(n.width)&&(n={width:n.right-n.left,height:n.bottom-n.top,right:n.right,left:n.left,bottom:n.bottom,top:n.top}),n;}function Qa(e,t,n){var o,r=e.vars,i=r[n],a=e._listeners[t];return Z(i)&&(o=i.apply(r.callbackScope||e,r[n+"Params"]||[e.pointerEvent])),a&&!1===e.dispatchEvent(t)&&(o=!1),o;}function Ra(e,t){var n,o,r,i=Te(e)[0];return i.nodeType||i===me?u(i,t):_(e.left)?{left:o=e.min||e.minX||e.minRotation||0,top:n=e.min||e.minY||0,width:(e.max||e.maxX||e.maxRotation||0)-o,height:(e.max||e.maxY||0)-n}:(r={x:0,y:0},{left:e.left-r.x,top:e.top-r.y,width:e.width,height:e.height});}function Ua(r,i,e,t,a,n){var o,l,s,c={};if(i)if(1!==a&&i instanceof Array){if(c.end=o=[],s=i.length,$(i[0]))for(l=0;l<s;l++)o[l]=ra(i[l],a);else for(l=0;l<s;l++)o[l]=i[l]*a;e+=1.1,t-=1.1;}else Z(i)?c.end=function(e){var t,n,o=i.call(r,e);if(1!==a)if($(o)){for(n in t={},o)t[n]=o[n]*a;o=t;}else o*=a;return o;}:c.end=i;return !e&&0!==e||(c.max=e),!t&&0!==t||(c.min=t),n&&(c.velocity=0),c;}function Va(e){var t;return !(!e||!e.getAttribute||e===l)&&(!("true"!==(t=e.getAttribute("data-clickable"))&&("false"===t||!o.test(e.nodeName+"")&&"true"!==e.getAttribute("contentEditable")))||Va(e.parentNode));}function Wa(e,t){for(var n,o=e.length;o--;)(n=e[o]).ondragstart=n.onselectstart=t?null:aa,xe.set(n,{lazy:!0,userSelect:t?"text":"none"});}function $a(i,r){i=xe.utils.toArray(i)[0],r=r||{};var a,l,s,e,c,d,p=document.createElement("div"),u=p.style,t=i.firstChild,h=0,f=0,g=i.scrollTop,x=i.scrollLeft,m=i.scrollWidth,v=i.scrollHeight,y=0,w=0,b=0;B&&!1!==r.force3D?(c="translate3d(",d="px,0px)"):O&&(c="translate(",d="px)"),this.scrollTop=function(e,t){if(!arguments.length)return -this.top();this.top(-e,t);},this.scrollLeft=function(e,t){if(!arguments.length)return -this.left();this.left(-e,t);},this.left=function(e,t){if(!arguments.length)return -(i.scrollLeft+f);var n=i.scrollLeft-x,o=f;if((2<n||n<-2)&&!t)return x=i.scrollLeft,xe.killTweensOf(this,{left:1,scrollLeft:1}),this.left(-x),void (r.onKill&&r.onKill());(e=-e)<0?(f=e-.5|0,e=0):w<e?(f=e-w|0,e=w):f=0,(f||o)&&(this._skip||(u[O]=c+-f+"px,"+-h+d),0<=f+y&&(u.paddingRight=f+y+"px")),i.scrollLeft=0|e,x=i.scrollLeft;},this.top=function(e,t){if(!arguments.length)return -(i.scrollTop+h);var n=i.scrollTop-g,o=h;if((2<n||n<-2)&&!t)return g=i.scrollTop,xe.killTweensOf(this,{top:1,scrollTop:1}),this.top(-g),void (r.onKill&&r.onKill());(e=-e)<0?(h=e-.5|0,e=0):b<e?(h=e-b|0,e=b):h=0,(h||o)&&(this._skip||(u[O]=c+-f+"px,"+-h+d)),i.scrollTop=0|e,g=i.scrollTop;},this.maxScrollTop=function(){return b;},this.maxScrollLeft=function(){return w;},this.disable=function(){for(t=p.firstChild;t;)e=t.nextSibling,i.appendChild(t),t=e;i===p.parentNode&&i.removeChild(p);},this.enable=function(){if((t=i.firstChild)!==p){for(;t;)e=t.nextSibling,p.appendChild(t),t=e;i.appendChild(p),this.calibrate();}},this.calibrate=function(e){var t,n,o,r=i.clientWidth===a;g=i.scrollTop,x=i.scrollLeft,r&&i.clientHeight===l&&p.offsetHeight===s&&m===i.scrollWidth&&v===i.scrollHeight&&!e||((h||f)&&(n=this.left(),o=this.top(),this.left(-i.scrollLeft),this.top(-i.scrollTop)),t=Na(i),r&&!e||(u.display="block",u.width="auto",u.paddingRight="0px",(y=Math.max(0,i.scrollWidth-i.clientWidth))&&(y+=parseFloat(t.paddingLeft)+(R?parseFloat(t.paddingRight):0))),u.display="inline-block",u.position="relative",u.overflow="visible",u.verticalAlign="top",u.boxSizing="content-box",u.width="100%",u.paddingRight=y+"px",R&&(u.paddingBottom=t.paddingBottom),a=i.clientWidth,l=i.clientHeight,m=i.scrollWidth,v=i.scrollHeight,w=i.scrollWidth-a,b=i.scrollHeight-l,s=p.offsetHeight,u.display="block",(n||o)&&(this.left(n),this.top(o)));},this.content=p,this.element=i,this._skip=!1,this.enable();}function _a(e){if(X()&&document.body){var t=window&&window.navigator;me=window,ve=document,ye=ve.documentElement,l=ve.body,s=fa("div"),Ae=!!window.PointerEvent,(we=fa("div")).style.cssText="visibility:hidden;height:1px;top:-1px;pointer-events:none;position:relative;clear:both;cursor:grab",Xe="grab"===we.style.cursor?"grab":"move",Se=t&&-1!==t.userAgent.toLowerCase().indexOf("android"),Me="ontouchstart" in ye&&"orientation" in me||t&&(0<t.MaxTouchPoints||0<t.msMaxTouchPoints),o=fa("div"),r=fa("div"),i=r.style,a=l,i.display="inline-block",i.position="relative",o.style.cssText="width:90px;height:40px;padding:10px;overflow:auto;visibility:hidden",o.appendChild(r),a.appendChild(o),n=r.offsetHeight+18>o.scrollHeight,a.removeChild(o),R=n,Ee=function(e){for(var t=e.split(","),n=(("onpointerdown" in s?"pointerdown,pointermove,pointerup,pointercancel":"onmspointerdown" in s?"MSPointerDown,MSPointerMove,MSPointerUp,MSPointerCancel":e).split(",")),o={},r=4;-1<--r;)o[t[r]]=n[r],o[n[r]]=t[r];try{ye.addEventListener("test",null,Object.defineProperty({},"passive",{get:function get(){d=1;}}));}catch(e){}return o;}("touchstart,touchmove,touchend,touchcancel"),za(ve,"touchcancel",aa),za(me,"touchmove",aa),l&&l.addEventListener("touchstart",aa),za(ve,"contextmenu",function(){for(var e in Ie)Ie[e].isPressed&&Ie[e].endDrag();}),xe=be=Y();}var n,o,r,i,a;xe?(_e=xe.plugins.inertia,Le=xe.core.context||function(){},c=xe.utils.checkPrefix,O=c(O),Ye=c(Ye),Te=xe.utils.toArray,Ce=xe.core.getStyleSaver,B=!!c("perspective")):e&&console.warn("Please gsap.registerPlugin(Draggable)");}var xe,me,ve,ye,l,s,we,be,c,Te,d,Me,Ee,De,Se,_e,Xe,Ae,Le,Ce,B,R,n,Pe=0,O="transform",Ye="transformOrigin",Ne=Array.isArray,ke=180/Math.PI,Be=1e20,r=new ge(),Re=Date.now||function(){return (new Date()).getTime();},Oe=[],Ie={},Fe=0,o=/^(?:a|input|textarea|button|select)$/i,ze=0,He={},We={},Qe=function _isRoot(e){return !(e&&e!==ye&&9!==e.nodeType&&e!==ve.body&&e!==me&&e.nodeType&&e.parentNode);},p={},Ge={},u=function _getElementBounds(e,t){t=Te(t)[0];var n,o,r,i,a,l,s,c,d,p,u,h,f,g=e.getBBox&&e.ownerSVGElement,x=e.ownerDocument||ve;if(e===me)r=Fa(x),o=(n=Ga(x))+(x.documentElement.clientWidth||e.innerWidth||x.body.clientWidth||0),i=r+((e.innerHeight||0)-20<x.documentElement.clientHeight?x.documentElement.clientHeight:e.innerHeight||x.body.clientHeight||0);else{if(t===me||_(t))return e.getBoundingClientRect();n=r=0,g?(u=(p=e.getBBox()).width,h=p.height):(e.viewBox&&(p=e.viewBox.baseVal)&&(n=p.x||0,r=p.y||0,u=p.width,h=p.height),u||(p="border-box"===(f=Na(e)).boxSizing,u=(parseFloat(f.width)||e.clientWidth||0)+(p?0:parseFloat(f.borderLeftWidth)+parseFloat(f.borderRightWidth)),h=(parseFloat(f.height)||e.clientHeight||0)+(p?0:parseFloat(f.borderTopWidth)+parseFloat(f.borderBottomWidth)))),o=u,i=h;}return e===t?{left:n,top:r,width:o-n,height:i-r}:(l=(a=getGlobalMatrix(t,!0).multiply(getGlobalMatrix(e))).apply({x:n,y:r}),s=a.apply({x:o,y:r}),c=a.apply({x:o,y:i}),d=a.apply({x:n,y:i}),{left:n=Math.min(l.x,s.x,c.x,d.x),top:r=Math.min(l.y,s.y,c.y,d.y),width:Math.max(l.x,s.x,c.x,d.x)-n,height:Math.max(l.y,s.y,c.y,d.y)-r});},I=((n=EventDispatcher.prototype).addEventListener=function addEventListener(e,t){var n=this._listeners[e]||(this._listeners[e]=[]);~n.indexOf(t)||n.push(t);},n.removeEventListener=function removeEventListener(e,t){var n=this._listeners[e],o=n&&n.indexOf(t);0<=o&&n.splice(o,1);},n.dispatchEvent=function dispatchEvent(t){var n,o=this;return (this._listeners[t]||[]).forEach(function(e){return !1===e.call(o,{type:t,target:o.target})&&(n=!1);}),n;},EventDispatcher);function EventDispatcher(e){this._listeners={},this.target=e||this;}var Ve,F=(function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype),(e.prototype.constructor=e).__proto__=t;}(Draggable,Ve=I),Draggable.register=function register(e){xe=e,_a();},Draggable.create=function create(e,t){return be||_a(!0),Te(e).map(function(e){return new Draggable(e,t);});},Draggable.get=function get(e){return Ie[(Te(e)[0]||{})._gsDragID];},Draggable.timeSinceDrag=function timeSinceDrag(){return (Re()-ze)/1e3;},Draggable.hitTest=function hitTest(e,t,n){if(e===t)return !1;var o,r,i,a=Pa(e),l=Pa(t),s=a.top,c=a.left,d=a.right,p=a.bottom,u=a.width,h=a.height,f=l.left>d||l.right<c||l.top>p||l.bottom<s;return f||!n?!f:(i=-1!==(n+"").indexOf("%"),n=parseFloat(n)||0,(o={left:Math.max(c,l.left),top:Math.max(s,l.top)}).width=Math.min(d,l.right)-o.left,o.height=Math.min(p,l.bottom)-o.top,!(o.width<0||o.height<0)&&(i?u*h*(n*=.01)<=(r=o.width*o.height)||r>=l.width*l.height*n:o.width>n&&o.height>n));},Draggable);function Draggable(h,p){var e;e=Ve.call(this)||this,be||_a(1),h=Te(h)[0],e.styles=Ce&&Ce(h,"transform,left,top"),_e=_e||xe.plugins.inertia,e.vars=p=ra(p||{}),e.target=h,e.x=e.y=e.rotation=0,e.dragResistance=parseFloat(p.dragResistance)||0,e.edgeResistance=isNaN(p.edgeResistance)?1:parseFloat(p.edgeResistance)||0,e.lockAxis=p.lockAxis,e.autoScroll=p.autoScroll||0,e.lockedAxis=null,e.allowEventDefault=!!p.allowEventDefault,xe.getProperty(h,"x");function Sg(e,t){return parseFloat(se.get(h,e,t));}function zh(e){return Ba(e),e.stopImmediatePropagation&&e.stopImmediatePropagation(),!1;}function Ah(e){if(J.autoScroll&&J.isDragging&&(te||C)){var t,n,o,r,i,a,l,s,c=h,d=15*J.autoScroll;for(te=!1,We.scrollTop=null!=me.pageYOffset?me.pageYOffset:null!=de.documentElement.scrollTop?de.documentElement.scrollTop:de.body.scrollTop,We.scrollLeft=null!=me.pageXOffset?me.pageXOffset:null!=de.documentElement.scrollLeft?de.documentElement.scrollLeft:de.body.scrollLeft,r=J.pointerX-We.scrollLeft,i=J.pointerY-We.scrollTop;c&&!n;)t=(n=Qe(c.parentNode))?We:c.parentNode,o=n?{bottom:Math.max(ye.clientHeight,me.innerHeight||0),right:Math.max(ye.clientWidth,me.innerWidth||0),left:0,top:0}:t.getBoundingClientRect(),a=l=0,U&&((s=t._gsMaxScrollY-t.scrollTop)<0?l=s:i>o.bottom-re&&s?(te=!0,l=Math.min(s,d*(1-Math.max(0,o.bottom-i)/re)|0)):i<o.top+ne&&t.scrollTop&&(te=!0,l=-Math.min(t.scrollTop,d*(1-Math.max(0,i-o.top)/ne)|0)),l&&(t.scrollTop+=l)),K&&((s=t._gsMaxScrollX-t.scrollLeft)<0?a=s:r>o.right-oe&&s?(te=!0,a=Math.min(s,d*(1-Math.max(0,o.right-r)/oe)|0)):r<o.left+ie&&t.scrollLeft&&(te=!0,a=-Math.min(t.scrollLeft,d*(1-Math.max(0,r-o.left)/ie)|0)),a&&(t.scrollLeft+=a)),n&&(a||l)&&(me.scrollTo(t.scrollLeft,t.scrollTop),he(J.pointerX+a,J.pointerY+l)),c=t;}if(C){var p=J.x,u=J.y;Q?(J.deltaX=p-parseFloat(se.rotation),J.rotation=p,se.rotation=p+"deg",se.renderTransform(1,se)):f?(U&&(J.deltaY=u-f.top(),f.top(u)),K&&(J.deltaX=p-f.left(),f.left(p))):W?(U&&(J.deltaY=u-parseFloat(se.y),se.y=u+"px"),K&&(J.deltaX=p-parseFloat(se.x),se.x=p+"px"),se.renderTransform(1,se)):(U&&(J.deltaY=u-parseFloat(h.style.top||0),h.style.top=u+"px"),K&&(J.deltaX=p-parseFloat(h.style.left||0),h.style.left=p+"px")),!g||e||I||(!(I=!0)===Qa(J,"drag","onDrag")&&(K&&(J.x-=J.deltaX),U&&(J.y-=J.deltaY),Ah(!0)),I=!1);}C=!1;}function Bh(e,t){var n,o,r=J.x,i=J.y;h._gsap||(se=xe.core.getCache(h)),se.uncache&&xe.getProperty(h,"x"),W?(J.x=parseFloat(se.x),J.y=parseFloat(se.y)):Q?J.x=J.rotation=parseFloat(se.rotation):f?(J.y=f.top(),J.x=f.left()):(J.y=parseFloat(h.style.top||(o=Na(h))&&o.top)||0,J.x=parseFloat(h.style.left||(o||{}).left)||0),(P||Y||N)&&!t&&(J.isDragging||J.isThrowing)&&(N&&(He.x=J.x,He.y=J.y,(n=N(He)).x!==J.x&&(J.x=n.x,C=!0),n.y!==J.y&&(J.y=n.y,C=!0)),P&&(n=P(J.x))!==J.x&&(J.x=n,Q&&(J.rotation=n),C=!0),Y&&((n=Y(J.y))!==J.y&&(J.y=n),C=!0)),C&&Ah(!0),e||(J.deltaX=J.x-r,J.deltaY=J.y-i,Qa(J,"throwupdate","onThrowUpdate"));}function Ch(a,l,s,n){return null==l&&(l=-Be),null==s&&(s=Be),Z(a)?function(e){var t=J.isPressed?1-J.edgeResistance:1;return a.call(J,(s<e?s+(e-s)*t:e<l?l+(e-l)*t:e)*n)*n;}:Ne(a)?function(e){for(var t,n,o=a.length,r=0,i=Be;-1<--o;)(n=(t=a[o])-e)<0&&(n=-n),n<i&&l<=t&&t<=s&&(r=o,i=n);return a[r];}:isNaN(a)?function(e){return e;}:function(){return a*n;};}function Eh(){var e,t,n,o;E=!1,f?(f.calibrate(),J.minX=S=-f.maxScrollLeft(),J.minY=A=-f.maxScrollTop(),J.maxX=D=J.maxY=X=0,E=!0):p.bounds&&(e=Ra(p.bounds,h.parentNode),Q?(J.minX=S=e.left,J.maxX=D=e.left+e.width,J.minY=A=J.maxY=X=0):_(p.bounds.maxX)&&_(p.bounds.maxY)?(t=Ra(h,h.parentNode),J.minX=S=Math.round(Sg(G,"px")+e.left-t.left),J.minY=A=Math.round(Sg(V,"px")+e.top-t.top),J.maxX=D=Math.round(S+(e.width-t.width)),J.maxY=X=Math.round(A+(e.height-t.height))):(e=p.bounds,J.minX=S=e.minX,J.minY=A=e.minY,J.maxX=D=e.maxX,J.maxY=X=e.maxY),D<S&&(J.minX=D,J.maxX=D=S,S=J.minX),X<A&&(J.minY=X,J.maxY=X=A,A=J.minY),Q&&(J.minRotation=S,J.maxRotation=D),E=!0),p.liveSnap&&(n=!0===p.liveSnap?p.snap||{}:p.liveSnap,o=Ne(n)||Z(n),Q?(P=Ch(o?n:n.rotation,S,D,1),Y=null):n.points?N=function buildPointSnapFunc(s,l,c,d,p,u,h){return u=u&&u<Be?u*u:Be,Z(s)?function(e){var t,n,o,r=J.isPressed?1-J.edgeResistance:1,i=e.x,a=e.y;return e.x=i=c<i?c+(i-c)*r:i<l?l+(i-l)*r:i,e.y=a=p<a?p+(a-p)*r:a<d?d+(a-d)*r:a,(t=s.call(J,e))!==e&&(e.x=t.x,e.y=t.y),1!==h&&(e.x*=h,e.y*=h),u<Be&&(n=e.x-i,o=e.y-a,u<n*n+o*o&&(e.x=i,e.y=a)),e;}:Ne(s)?function(e){for(var t,n,o,r,i=s.length,a=0,l=Be;-1<--i;)(r=(t=(o=s[i]).x-e.x)*t+(n=o.y-e.y)*n)<l&&(a=i,l=r);return l<=u?s[a]:e;}:function(e){return e;};}(o?n:n.points,S,D,A,X,n.radius,f?-1:1):(K&&(P=Ch(o?n:n.x||n.left||n.scrollLeft,S,D,f?-1:1)),U&&(Y=Ch(o?n:n.y||n.top||n.scrollTop,A,X,f?-1:1))));}function Fh(){J.isThrowing=!1,Qa(J,"throwcomplete","onThrowComplete");}function Gh(){J.isThrowing=!1;}function Hh(e,t){var n,o,r,i;e&&_e?(!0===e&&(n=p.snap||p.liveSnap||{},o=Ne(n)||Z(n),e={resistance:(p.throwResistance||p.resistance||1e3)/(Q?10:1)},Q?e.rotation=Ua(J,o?n:n.rotation,D,S,1,t):(K&&(e[G]=Ua(J,o?n:n.points||n.x||n.left,D,S,f?-1:1,t||"x"===J.lockedAxis)),U&&(e[V]=Ua(J,o?n:n.points||n.y||n.top,X,A,f?-1:1,t||"y"===J.lockedAxis)),(n.points||Ne(n)&&$(n[0]))&&(e.linkedProps=G+","+V,e.radius=n.radius))),J.isThrowing=!0,i=isNaN(p.overshootTolerance)?1===p.edgeResistance?0:1-J.edgeResistance+.2:p.overshootTolerance,e.duration||(e.duration={max:Math.max(p.minDuration||0,"maxDuration" in p?p.maxDuration:2),min:isNaN(p.minDuration)?0===i||$(e)&&1e3<e.resistance?0:.5:p.minDuration,overshoot:i}),J.tween=r=xe.to(f||h,{inertia:e,data:"_draggable",inherit:!1,onComplete:Fh,onInterrupt:Gh,onUpdate:p.fastMode?Qa:Bh,onUpdateParams:p.fastMode?[J,"onthrowupdate","onThrowUpdate"]:n&&n.radius?[!1,!0]:[]}),p.fastMode||(f&&(f._skip=!0),r.render(1e9,!0,!0),Bh(!0,!0),J.endX=J.x,J.endY=J.y,Q&&(J.endRotation=J.x),r.play(0),Bh(!0,!0),f&&(f._skip=!1))):E&&J.applyBounds();}function Ih(e){var t,n=k;k=getGlobalMatrix(h.parentNode,!0),e&&J.isPressed&&!k.equals(n||new ge())&&(t=n.inverse().apply({x:w,y:b}),k.apply(t,t),w=t.x,b=t.y),k.equals(r)&&(k=null);}function Jh(){var e,t,n,o=1-J.edgeResistance,r=ce?Ga(de):0,i=ce?Fa(de):0;W&&(se.x=Sg(G,"px")+"px",se.y=Sg(V,"px")+"px",se.renderTransform()),Ih(!1),Ge.x=J.pointerX-r,Ge.y=J.pointerY-i,k&&k.apply(Ge,Ge),w=Ge.x,b=Ge.y,C&&(he(J.pointerX,J.pointerY),Ah(!0)),d=getGlobalMatrix(h),f?(Eh(),M=f.top(),T=f.left()):(pe()?(Bh(!0,!0),Eh()):J.applyBounds(),Q?(e=h.ownerSVGElement?[se.xOrigin-h.getBBox().x,se.yOrigin-h.getBBox().y]:(Na(h)[Ye]||"0 0").split(" "),L=J.rotationOrigin=getGlobalMatrix(h).apply({x:parseFloat(e[0])||0,y:parseFloat(e[1])||0}),Bh(!0,!0),t=J.pointerX-L.x-r,n=L.y-J.pointerY+i,T=J.x,M=J.y=Math.atan2(n,t)*ke):(M=Sg(V,"px"),T=Sg(G,"px"))),E&&o&&(D<T?T=D+(T-D)/o:T<S&&(T=S-(S-T)/o),Q||(X<M?M=X+(M-X)/o:M<A&&(M=A-(A-M)/o))),J.startX=T=da(T),J.startY=M=da(M);}function Lh(){!we.parentNode||pe()||J.isDragging||we.parentNode.removeChild(we);}function Mh(e,t){var n;if(!u||J.isPressed||!e||!("mousedown"!==e.type&&"pointerdown"!==e.type||t)&&Re()-le<30&&Ee[J.pointerEvent.type])z&&e&&u&&Ba(e);else{if(B=pe(),H=!1,J.pointerEvent=e,Ee[e.type]?(y=~e.type.indexOf("touch")?e.currentTarget||e.target:de,za(y,"touchend",fe),za(y,"touchmove",ue),za(y,"touchcancel",fe),za(de,"touchstart",Ea)):(y=null,za(de,"mousemove",ue)),O=null,Ae&&y||(za(de,"mouseup",fe),e&&e.target&&za(e.target,"mouseup",fe)),v=ae.call(J,e.target)&&!1===p.dragClickables&&!t)return za(e.target,"change",fe),Qa(J,"pressInit","onPressInit"),Qa(J,"press","onPress"),Wa(q,!0),void (z=!1);if(R=!(!y||K==U||!1===J.vars.allowNativeTouchScrolling||J.vars.allowContextMenu&&e&&(e.ctrlKey||2<e.which))&&(K?"y":"x"),(z=!R&&!J.allowEventDefault)&&(Ba(e),za(me,"touchforcechange",Ba)),e.changedTouches?(e=x=e.changedTouches[0],m=e.identifier):e.pointerId?m=e.pointerId:x=m=null,Pe++,function _addToRenderQueue(e){Oe.push(e),1===Oe.length&&xe.ticker.add(ua);}(Ah),b=J.pointerY=e.pageY,w=J.pointerX=e.pageX,Qa(J,"pressInit","onPressInit"),(R||J.autoScroll)&&La(h.parentNode),!h.parentNode||!J.autoScroll||f||Q||!h.parentNode._gsMaxScrollX||we.parentNode||h.getBBox||(we.style.width=h.parentNode.scrollWidth+"px",h.parentNode.appendChild(we)),Jh(),J.tween&&J.tween.kill(),J.isThrowing=!1,xe.killTweensOf(f||h,o,!0),f&&xe.killTweensOf(h,{scrollTo:1},!0),J.tween=J.lockedAxis=null,!p.zIndexBoost&&(Q||f||!1===p.zIndexBoost)||(h.style.zIndex=Draggable.zIndex++),J.isPressed=!0,g=!(!p.onDrag&&!J._listeners.drag),s=!(!p.onMove&&!J._listeners.move),!1!==p.cursor||p.activeCursor)for(n=q.length;-1<--n;)xe.set(q[n],{cursor:p.activeCursor||p.cursor||("grab"===Xe?"grabbing":Xe)});Qa(J,"press","onPress");}}function Qh(e){if(e&&J.isDragging&&!f){var t=e.target||h.parentNode,n=t.scrollLeft-t._gsScrollX,o=t.scrollTop-t._gsScrollY;(n||o)&&(k?(w-=n*k.a+o*k.c,b-=o*k.d+n*k.b):(w-=n,b-=o),t._gsScrollX+=n,t._gsScrollY+=o,he(J.pointerX,J.pointerY));}}function Rh(e){var t=Re(),n=t-le<100,o=t-ee<50,r=n&&F===le,i=J.pointerEvent&&J.pointerEvent.defaultPrevented,a=n&&c===le,l=e.isTrusted||null==e.isTrusted&&n&&r;if((r||o&&!1!==J.vars.suppressClickOnDrag)&&e.stopImmediatePropagation&&e.stopImmediatePropagation(),n&&(!J.pointerEvent||!J.pointerEvent.defaultPrevented)&&(!r||l&&!a))return l&&r&&(c=le),void (F=le);(J.isPressed||o||n)&&(l&&e.detail&&n&&!i||Ba(e)),n||o||H||(e&&e.target&&(J.pointerEvent=e),Qa(J,"click","onClick"));}function Sh(e){return k?{x:e.x*k.a+e.y*k.c+k.e,y:e.x*k.b+e.y*k.d+k.f}:{x:e.x,y:e.y};}var u,f,w,b,T,M,E,g,s,D,S,X,A,x,m,L,C,t,P,Y,N,v,y,k,B,R,O,I,F,c,z,d,H,n=(p.type||"x,y").toLowerCase(),W=~n.indexOf("x")||~n.indexOf("y"),Q=-1!==n.indexOf("rotation"),G=Q?"rotation":W?"x":"left",V=W?"y":"top",K=!(!~n.indexOf("x")&&!~n.indexOf("left")&&"scroll"!==n),U=!(!~n.indexOf("y")&&!~n.indexOf("top")&&"scroll"!==n),j=p.minimumMovement||2,J=_assertThisInitialized(e),q=Te(p.trigger||p.handle||h),o={},ee=0,te=!1,ne=p.autoScrollMarginTop||40,oe=p.autoScrollMarginRight||40,re=p.autoScrollMarginBottom||40,ie=p.autoScrollMarginLeft||40,ae=p.clickableTest||Va,le=0,se=h._gsap||xe.core.getCache(h),ce=function _isFixed(e){return "fixed"===Na(e).position||((e=e.parentNode)&&1===e.nodeType?_isFixed(e):void 0);}(h),de=h.ownerDocument||ve,pe=function isTweening(){return J.tween&&J.tween.isActive();},ue=function onMove(e){var t,n,o,r,i,a,l=e;if(u&&!De&&J.isPressed&&e){if(t=(J.pointerEvent=e).changedTouches){if((e=t[0])!==x&&e.identifier!==m){for(r=t.length;-1<--r&&(e=t[r]).identifier!==m&&e.target!==h;);if(r<0)return;}}else{if(e.pointerId&&m&&e.pointerId!==m)return;}y&&R&&!O&&(Ge.x=e.pageX-(ce?Ga(de):0),Ge.y=e.pageY-(ce?Fa(de):0),k&&k.apply(Ge,Ge),n=Ge.x,o=Ge.y,((i=Math.abs(n-w))!==(a=Math.abs(o-b))&&(j<i||j<a)||Se&&R===O)&&(O=a<i&&K?"x":"y",R&&O!==R&&za(me,"touchforcechange",Ba),!1!==J.vars.lockAxisOnTouchScroll&&K&&U&&(J.lockedAxis="x"===O?"y":"x",Z(J.vars.onLockAxis)&&J.vars.onLockAxis.call(J,l)),Se&&R===O))?fe(l):(z=J.allowEventDefault||R&&(!O||R===O)||!1===l.cancelable?z&&!1:(Ba(l),!0),J.autoScroll&&(te=!0),he(e.pageX,e.pageY,s));}else z&&e&&u&&Ba(e);},he=function setPointerPosition(e,t,n){var o,r,i,a,l,s,c=1-J.dragResistance,d=1-J.edgeResistance,p=J.pointerX,u=J.pointerY,h=M,f=J.x,g=J.y,x=J.endX,m=J.endY,v=J.endRotation,y=C;J.pointerX=e,J.pointerY=t,ce&&(e-=Ga(de),t-=Fa(de)),Q?(a=Math.atan2(L.y-t,e-L.x)*ke,180<(l=J.y-a)?(M-=360,J.y=a):l<-180&&(M+=360,J.y=a),i=J.x!==T||Math.max(Math.abs(w-e),Math.abs(b-t))>j?(J.y=a,T+(M-a)*c):T):(k&&(s=e*k.a+t*k.c+k.e,t=e*k.b+t*k.d+k.f,e=s),(r=t-b)<j&&-j<r&&(r=0),(o=e-w)<j&&-j<o&&(o=0),(J.lockAxis||J.lockedAxis)&&(o||r)&&((s=J.lockedAxis)||(J.lockedAxis=s=K&&Math.abs(o)>Math.abs(r)?"y":U?"x":null,s&&Z(J.vars.onLockAxis)&&J.vars.onLockAxis.call(J,J.pointerEvent)),"y"===s?r=0:"x"===s&&(o=0)),i=da(T+o*c),a=da(M+r*c)),(P||Y||N)&&(J.x!==i||J.y!==a&&!Q)&&(N&&(He.x=i,He.y=a,s=N(He),i=da(s.x),a=da(s.y)),P&&(i=da(P(i))),Y&&(a=da(Y(a)))),E&&(D<i?i=D+Math.round((i-D)*d):i<S&&(i=S+Math.round((i-S)*d)),Q||(X<a?a=Math.round(X+(a-X)*d):a<A&&(a=Math.round(A+(a-A)*d)))),J.x===i&&(J.y===a||Q)||(Q?(J.endRotation=J.x=J.endX=i,C=!0):(U&&(J.y=J.endY=a,C=!0),K&&(J.x=J.endX=i,C=!0)),n&&!1===Qa(J,"move","onMove")?(J.pointerX=p,J.pointerY=u,M=h,J.x=f,J.y=g,J.endX=x,J.endY=m,J.endRotation=v,C=y):!J.isDragging&&J.isPressed&&(J.isDragging=H=!0,Qa(J,"dragstart","onDragStart")));},fe=function onRelease(e,t){if(u&&J.isPressed&&(!e||null==m||t||!(e.pointerId&&e.pointerId!==m&&e.target!==h||e.changedTouches&&!function _hasTouchID(e,t){for(var n=e.length;n--;)if(e[n].identifier===t)return !0;}(e.changedTouches,m)))){J.isPressed=!1;var n,o,r,i,a,l=e,s=J.isDragging,c=J.vars.allowContextMenu&&e&&(e.ctrlKey||2<e.which),d=xe.delayedCall(.001,Lh);if(y?(Aa(y,"touchend",onRelease),Aa(y,"touchmove",ue),Aa(y,"touchcancel",onRelease),Aa(de,"touchstart",Ea)):Aa(de,"mousemove",ue),Aa(me,"touchforcechange",Ba),Ae&&y||(Aa(de,"mouseup",onRelease),e&&e.target&&Aa(e.target,"mouseup",onRelease)),C=!1,s&&(ee=ze=Re(),J.isDragging=!1),xa(Ah),v&&!c)return e&&(Aa(e.target,"change",onRelease),J.pointerEvent=l),Wa(q,!1),Qa(J,"release","onRelease"),Qa(J,"click","onClick"),void (v=!1);for(o=q.length;-1<--o;)Ma(q[o],"cursor",p.cursor||(!1!==p.cursor?Xe:null));if(Pe--,e){if((n=e.changedTouches)&&(e=n[0])!==x&&e.identifier!==m){for(o=n.length;-1<--o&&(e=n[o]).identifier!==m&&e.target!==h;);if(o<0&&!t)return;}J.pointerEvent=l,J.pointerX=e.pageX,J.pointerY=e.pageY;}return c&&l?(Ba(l),z=!0,Qa(J,"release","onRelease")):l&&!s?(z=!1,B&&(p.snap||p.bounds)&&Hh(p.inertia||p.throwProps),Qa(J,"release","onRelease"),Se&&"touchmove"===l.type||-1!==l.type.indexOf("cancel")||(Qa(J,"click","onClick"),Re()-le<300&&Qa(J,"doubleclick","onDoubleClick"),i=l.target||h,le=Re(),a=function syntheticClick(){le===F||!J.enabled()||J.isPressed||l.defaultPrevented||(i.click?i.click():de.createEvent&&((r=de.createEvent("MouseEvents")).initMouseEvent("click",!0,!0,me,1,J.pointerEvent.screenX,J.pointerEvent.screenY,J.pointerX,J.pointerY,!1,!1,!1,!1,0,null),i.dispatchEvent(r)));},Se||l.defaultPrevented||xe.delayedCall(.05,a))):(Hh(p.inertia||p.throwProps),J.allowEventDefault||!l||!1===p.dragClickables&&ae.call(J,l.target)||!s||R&&(!O||R!==O)||!1===l.cancelable?z=!1:(z=!0,Ba(l)),Qa(J,"release","onRelease")),pe()&&d.duration(J.tween.duration()),s&&Qa(J,"dragend","onDragEnd"),!0;}z&&e&&u&&Ba(e);};return (t=Draggable.get(h))&&t.kill(),e.startDrag=function(e,t){var n,o,r,i;Mh(e||J.pointerEvent,!0),t&&!J.hitTest(e||J.pointerEvent)&&(n=Pa(e||J.pointerEvent),o=Pa(h),r=Sh({x:n.left+n.width/2,y:n.top+n.height/2}),i=Sh({x:o.left+o.width/2,y:o.top+o.height/2}),w-=r.x-i.x,b-=r.y-i.y),J.isDragging||(J.isDragging=H=!0,Qa(J,"dragstart","onDragStart"));},e.drag=ue,e.endDrag=function(e){return fe(e||J.pointerEvent,!0);},e.timeSinceDrag=function(){return J.isDragging?0:(Re()-ee)/1e3;},e.timeSinceClick=function(){return (Re()-le)/1e3;},e.hitTest=function(e,t){return Draggable.hitTest(J.target,e,t);},e.getDirection=function(e,t){var n,o,r,i,a,l,s="velocity"===e&&_e?e:$(e)&&!Q?"element":"start";return "element"===s&&(a=Pa(J.target),l=Pa(e)),n="start"===s?J.x-T:"velocity"===s?_e.getVelocity(h,G):a.left+a.width/2-(l.left+l.width/2),Q?n<0?"counter-clockwise":"clockwise":(t=t||2,o="start"===s?J.y-M:"velocity"===s?_e.getVelocity(h,V):a.top+a.height/2-(l.top+l.height/2),i=(r=Math.abs(n/o))<1/t?"":n<0?"left":"right",r<t&&(""!==i&&(i+="-"),i+=o<0?"up":"down"),i);},e.applyBounds=function(e,t){var n,o,r,i,a,l;if(e&&p.bounds!==e)return p.bounds=e,J.update(!0,t);if(Bh(!0),Eh(),E&&!pe()){if(n=J.x,o=J.y,D<n?n=D:n<S&&(n=S),X<o?o=X:o<A&&(o=A),(J.x!==n||J.y!==o)&&(r=!0,J.x=J.endX=n,Q?J.endRotation=n:J.y=J.endY=o,Ah(C=!0),J.autoScroll&&!J.isDragging))for(La(h.parentNode),i=h,We.scrollTop=null!=me.pageYOffset?me.pageYOffset:null!=de.documentElement.scrollTop?de.documentElement.scrollTop:de.body.scrollTop,We.scrollLeft=null!=me.pageXOffset?me.pageXOffset:null!=de.documentElement.scrollLeft?de.documentElement.scrollLeft:de.body.scrollLeft;i&&!l;)a=(l=Qe(i.parentNode))?We:i.parentNode,U&&a.scrollTop>a._gsMaxScrollY&&(a.scrollTop=a._gsMaxScrollY),K&&a.scrollLeft>
30a._gsMaxScrollX&&(a.scrollLeft=a._gsMaxScrollX),i=a;J.isThrowing&&(r||J.endX>D||J.endX<S||J.endY>X||J.endY<A)&&Hh(p.inertia||p.throwProps,r);}return J;},e.update=function(e,t,n){if(t&&J.isPressed){var o=getGlobalMatrix(h),r=d.apply({x:J.x-T,y:J.y-M}),i=getGlobalMatrix(h.parentNode,!0);i.apply({x:o.e-r.x,y:o.f-r.y},r),J.x-=r.x-i.e,J.y-=r.y-i.f,Ah(!0),Jh();}var a=J.x,l=J.y;return Ih(!t),e?J.applyBounds():(C&&n&&Ah(!0),Bh(!0)),t&&(he(J.pointerX,J.pointerY),C&&Ah(!0)),J.isPressed&&!t&&(K&&.01<Math.abs(a-J.x)||U&&.01<Math.abs(l-J.y)&&!Q)&&Jh(),J.autoScroll&&(La(h.parentNode,J.isDragging),te=J.isDragging,Ah(!0),Ia(h,Qh),Ha(h,Qh)),J;},e.enable=function(e){var t,n,o,r={lazy:!0};if(!1!==p.cursor&&(r.cursor=p.cursor||Xe),xe.utils.checkPrefix("touchCallout")&&(r.touchCallout="none"),"soft"!==e){for(ta(q,K==U?"none":p.allowNativeTouchScrolling&&h.scrollHeight===h.clientHeight==(h.scrollWidth===h.clientHeight)||p.allowEventDefault?"manipulation":K?"pan-y":"pan-x"),n=q.length;-1<--n;)o=q[n],Ae||za(o,"mousedown",Mh),za(o,"touchstart",Mh),za(o,"click",Rh,!0),xe.set(o,r),o.getBBox&&o.ownerSVGElement&&K!=U&&xe.set(o.ownerSVGElement,{touchAction:p.allowNativeTouchScrolling||p.allowEventDefault?"manipulation":K?"pan-y":"pan-x"}),p.allowContextMenu||za(o,"contextmenu",zh);Wa(q,!1);}return Ha(h,Qh),u=!0,_e&&"soft"!==e&&_e.track(f||h,W?"x,y":Q?"rotation":"top,left"),h._gsDragID=t=h._gsDragID||"d"+Fe++,Ie[t]=J,f&&(f.enable(),f.element._gsDragID=t),(p.bounds||Q)&&Jh(),p.bounds&&J.applyBounds(),J;},e.disable=function(e){for(var t,n=J.isDragging,o=q.length;-1<--o;)Ma(q[o],"cursor",null);if("soft"!==e){for(ta(q,null),o=q.length;-1<--o;)t=q[o],Ma(t,"touchCallout",null),Aa(t,"mousedown",Mh),Aa(t,"touchstart",Mh),Aa(t,"click",Rh,!0),Aa(t,"contextmenu",zh);Wa(q,!0),y&&(Aa(y,"touchcancel",fe),Aa(y,"touchend",fe),Aa(y,"touchmove",ue)),Aa(de,"mouseup",fe),Aa(de,"mousemove",ue);}return Ia(h,Qh),u=!1,_e&&"soft"!==e&&(_e.untrack(f||h,W?"x,y":Q?"rotation":"top,left"),J.tween&&J.tween.kill()),f&&f.disable(),xa(Ah),J.isDragging=J.isPressed=v=!1,n&&Qa(J,"dragend","onDragEnd"),J;},e.enabled=function(e,t){return arguments.length?e?J.enable(t):J.disable(t):u;},e.kill=function(){return J.isThrowing=!1,J.tween&&J.tween.kill(),J.disable(),xe.set(q,{clearProps:"userSelect"}),delete Ie[h._gsDragID],J;},e.revert=function(){this.kill(),this.styles&&this.styles.revert();},~n.indexOf("scroll")&&(f=e.scrollProxy=new $a(h,function _extend(e,t){for(var n in t)n in e||(e[n]=t[n]);return e;}({onKill:function onKill(){J.isPressed&&fe(null);}},p)),h.style.overflowY=U&&!Me?"auto":"hidden",h.style.overflowX=K&&!Me?"auto":"hidden",h=f.content),Q?o.rotation=1:(K&&(o[G]=1),U&&(o[V]=1)),se.force3D=!("force3D" in p)||p.force3D,Le(_assertThisInitialized(e)),e.enable(),e;}!function _setDefaults(e,t){for(var n in t)n in e||(e[n]=t[n]);}(F.prototype,{pointerX:0,pointerY:0,startX:0,startY:0,deltaX:0,deltaY:0,isDragging:!1,isPressed:!1}),F.zIndex=1e3,F.version="3.13.0",Y()&&xe.registerPlugin(F),e.Draggable=F,e.default=F;if(typeof (window)==="undefined"||window!==e)Object.defineProperty(e,"__esModule",{value:!0});else delete e.default;});;
31!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).window=t.window||{});}(this,function(e){"use strict";function m(){return i||"undefined"!=typeof window&&(i=window.gsap);}function p(t){return c(t).id;}function q(t){return f[p("string"==typeof t?g(t)[0]:t)];}function r(t){var e,r=o;if(.05<=t-s)for(s=t;r;)((e=r.g(r.t,r.p))!==r.v1||.2<t-r.t1)&&(r.v2=r.v1,r.v1=e,r.t2=r.t1,r.t1=t),r=r._next;}function t(){(i=m())&&(g=i.utils.toArray,n=i.utils.getUnit,c=i.core.getCache,a=i.ticker,l=1);}function u(t,e,r,i){this.t=t,this.p=e,this.g=t._gsap.get,this.rCap=v[r||n(this.g(t,e))],this.v1=this.v2=0,this.t1=this.t2=a.time,i&&((this._next=i)._prev=this);}var i,l,g,n,o,a,s,c,f={},v={deg:360,rad:2*Math.PI},d=function(){function VelocityTracker(e,r){l||t(),this.target=g(e)[0],(f[p(this.target)]=this)._props={},r&&this.add(r);}VelocityTracker.register=function register(e){i=e,t();};var e=VelocityTracker.prototype;return e.get=function get(t,e){var r,i,n=this._props[t]||console.warn("Not tracking "+t+" velocity.");return r=parseFloat(e?n.v1:n.g(n.t,n.p))-parseFloat(n.v2),(i=n.rCap)&&(r%=i)!==r%(i/2)&&(r=r<0?r+i:r-i),function _round(t){return Math.round(1e4*t)/1e4;}(r/((e?n.t1:a.time)-n.t2));},e.getAll=function getAll(){var t,e={},r=this._props;for(t in r)e[t]=this.get(t);return e;},e.isTracking=function isTracking(t){return t in this._props;},e.add=function add(t,e){t in this._props||(o||(a.add(r),s=a.time),o=this._props[t]=new u(this.target,t,e,o));},e.remove=function remove(t){var e,i,n=this._props[t];n&&(e=n._prev,i=n._next,e&&(e._next=i),i?i._prev=e:o===n&&(a.remove(r),o=0),delete this._props[t]);},e.kill=function kill(t){for(var e in this._props)this.remove(e);t||delete f[p(this.target)];},VelocityTracker.track=function track(e,r,i){l||t();for(var n,o,a=[],s=g(e),c=r.split(","),u=(i||"").split(","),f=s.length;f--;){for(n=q(s[f])||new VelocityTracker(s[f]),o=c.length;o--;)n.add(c[o],u[o]||u[0]);a.push(n);}return a;},VelocityTracker.untrack=function untrack(t,e){var r=(e||"").split(",");g(t).forEach(function(t){var e=q(t);e&&(r.length?r.forEach(function(t){return e.remove(t);}):e.kill(1));});},VelocityTracker.isTracking=function isTracking(t,e){var r=q(t);return r&&r.isTracking(e);},VelocityTracker.getVelocity=function getVelocity(t,e){var r=q(t);return r&&r.isTracking(e)?r.get(e):console.warn("Not tracking velocity of "+e);},VelocityTracker;}();
vendor: 4,221 bytes, line 31
31d.getByTarget=q,m()&&i.registerPlugin(d);function L(){return h||"undefined"!=typeof window&&(h=window.gsap)&&h.registerPlugin&&h;}function N(t){return "number"==typeof t;}function O(t){return "object"==typeof t;}function P(t){return "function"==typeof t;}function S(t){return t;}function W(t){return Math.round(1e4*t)/1e4;}function X(t,e,r){for(var i in e)i in t||i===r||(t[i]=e[i]);return t;}function Y(t){var e,r,i={};for(e in t)i[e]=O(r=t[e])&&!I(r)?Y(r):r;return i;}function Z(t,e,r,i,n){var o,a,s,c,u=e.length,f=0,l=R;if(O(t)){for(;u--;){for(s in o=e[u],a=0,t)a+=(c=o[s]-t[s])*c;a<l&&(f=u,l=a);}if((n||R)<R&&n<Math.sqrt(l))return t;}else for(;u--;)(a=(o=e[u])-t)<0&&(a=-a),a<l&&i<=o&&o<=r&&(f=u,l=a);return e[f];}function $(t,e,r,i,n,o,a){if("auto"===t.end)return t;var s,c,u=t.end;if(r=isNaN(r)?R:r,i=isNaN(i)?-R:i,O(e)){if(s=e.calculated?e:(P(u)?u(e,a):Z(e,u,r,i,o))||e,!e.calculated){for(c in s)e[c]=s[c];e.calculated=!0;}s=s[n];}else s=P(u)?u(e,a):I(u)?Z(e,u,r,i,o):parseFloat(u);return r<s?s=r:s<i&&(s=i),{max:s,min:s,unitFactor:t.unitFactor};}function _(t,e,r){return isNaN(t[e])?r:+t[e];}function aa(t,e){return .05*e*t/T;}function ba(t,e,r){return Math.abs((e-t)*T/r/.05);}function da(t,e,r,i){if(e.linkedProps){var n,o,a,s,c,u,f=e.linkedProps.split(","),l={};for(n=0;n<f.length;n++)(a=e[o=f[n]])&&(s=N(a.velocity)?a.velocity:(c=c||B(t))&&c.isTracking(o)?c.get(o):0,u=Math.abs(s/_(a,"resistance",i)),l[o]=parseFloat(r(t,o))+aa(s,u));return l;}}function fa(){(h=L())&&(y=h.parseEase,F=h.utils.toArray,b=h.utils.getUnit,A=h.core.getCache,E=h.utils.clamp,C=h.core.getStyleSaver,w=h.core.reverting||function(){},k=y("power3"),T=k(.05),M=h.core.PropTween,h.config({resistance:100,unitFactors:{time:1e3,totalTime:1e3,progress:1e3,totalProgress:1e3}}),V=h.config(),h.registerPlugin(d),x=1);}var h,x,y,F,k,V,b,M,A,T,E,j,C,w,B=d.getByTarget,I=Array.isArray,R=1e10,U={resistance:1,checkpoint:1,preventOvershoot:1,linkedProps:1,radius:1,duration:1},D={version:"3.13.0",name:"inertia",register:function register(t){h=t,fa();},init:function init(t,e,r,i,n){x||fa();var o=B(t);if("auto"===e){if(!o)return void console.warn("No inertia tracking on "+t+". InertiaPlugin.track(target) first.");e=o.getAll();}this.styles=C&&"object"==typeof t.style&&C(t),this.target=t,this.tween=r,j=e;var a,s,c,u,f,l,p,g,v,d=t._gsap,h=d.get,y=e.duration,m=O(y),k=e.preventOvershoot||m&&0===y.overshoot,T=_(e,"resistance",V.resistance),w=N(y)?y:function _calculateTweenDuration(t,e,r,i,n,o){if(void 0===r&&(r=10),void 0===i&&(i=.2),void 0===n&&(n=1),void 0===o&&(o=0),function _isString(t){return "string"==typeof t;}(t)&&(t=F(t)[0]),!t)return 0;var a,s,c,u,f,l,p,g,v,d,h=0,y=R,m=e.inertia||e,k=A(t).get,T=_(m,"resistance",V.resistance);for(a in d=da(t,m,k,T),m)U[a]||(s=m[a],O(s)||((g=g||B(t))&&g.isTracking(a)?s=N(s)?{velocity:s}:{velocity:g.get(a)}:(u=+s||0,c=Math.abs(u/T))),O(s)&&(u=N(s.velocity)?s.velocity:(g=g||B(t))&&g.isTracking(a)?g.get(a):0,c=E(i,r,Math.abs(u/_(s,"resistance",T))),l=(f=parseFloat(k(t,a))||0)+aa(u,c),"end" in s&&(s=$(s,d&&a in d?d:l,s.max,s.min,a,m.radius,u),o&&(j===e&&(j=m=Y(e)),m[a]=X(s,m[a],"end"))),"max" in s&&l>+s.max+1e-10?(v=s.unitFactor||V.unitFactors[a]||1,(p=f>s.max&&s.min!==s.max||-15<u*v&&u*v<45?i+.1*(r-i):ba(f,s.max,u))+n<y&&(y=p+n)):"min" in s&&l<s.min-1e-10&&(v=s.unitFactor||V.unitFactors[a]||1,(p=f<s.min&&s.min!==s.max||-45<u*v&&u*v<15?i+.1*(r-i):ba(f,s.min,u))+n<y&&(y=p+n)),h<p&&(h=p)),h<c&&(h=c));return y<h&&(h=y),r<h?r:h<i?i:h;}(t,e,m&&y.max||10,m&&y.min||.2,m&&"overshoot" in y?+y.overshoot:k?0:1,!0);for(a in e=j,j=0,v=da(t,e,h,T),e)U[a]||(s=e[a],P(s)&&(s=s(i,t,n)),N(s)?f=s:O(s)&&!isNaN(s.velocity)?f=+s.velocity:o&&o.isTracking(a)?f=o.get(a):console.warn("ERROR: No velocity was defined for "+t+" property: "+a),l=aa(f,w),g=0,c=h(t,a),u=b(c),c=parseFloat(c),O(s)&&(p=c+l,"end" in s&&(s=$(s,v&&a in v?v:p,s.max,s.min,a,e.radius,f)),"max" in s&&+s.max<p?k||s.preventOvershoot?l=s.max-c:g=s.max-c-l:"min" in s&&+s.min>p&&(k||s.preventOvershoot?l=s.min-c:g=s.min-c-l)),this._props.push(a),this.styles&&this.styles.save(a),this._pt=new M(this._pt,t,a,c,0,S,0,d.set(t,a,this)),this._pt.u=u||0,this._pt.c1=l,this._pt.c2=g);return r.duration(w),1;},render:function render(t,e){var r=e._pt;
31if((t=k(e.tween._time/e.tween._dur))||!w())for(;r;)r.set(r.t,r.p,W(r.s+r.c1*t+r.c2*t*t)+r.u,r.d,t),r=r._next;else e.styles.revert();}};"track,untrack,isTracking,getVelocity,getByTarget".split(",").forEach(function(t){return D[t]=d[t];}),L()&&h.registerPlugin(D),e.InertiaPlugin=D,e.VelocityTracker=d,e.default=D;if(typeof (window)==="undefined"||window!==e)Object.defineProperty(e,"__esModule",{value:!0});else delete e.default;});;
32!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{});}(this,function(e){"use strict";function _defineProperties(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value" in n&&(n.writable=!0),Object.defineProperty(e,n.key,n);}}function r(){return Se||"undefined"!=typeof window&&(Se=window.gsap)&&Se.registerPlugin&&Se;}function z(e,t){return ~Ye.indexOf(e)&&Ye[Ye.indexOf(e)+1][t];}function A(e){return !!~t.indexOf(e);}function B(e,t,r,n,i){return e.addEventListener(t,r,{passive:!1!==n,capture:!!i});}function C(e,t,r,n){return e.removeEventListener(t,r,!!n);}function F(){return Re&&Re.isPressed||ze.cache++;}function G(r,n){function ed(e){if(e||0===e){i&&(Te.history.scrollRestoration="manual");var t=Re&&Re.isPressed;e=ed.v=Math.round(e)||(Re&&Re.iOS?1:0),r(e),ed.cacheID=ze.cache,t&&o("ss",e);}else (n||ze.cache!==ed.cacheID||o("ref"))&&(ed.cacheID=ze.cache,ed.v=r());return ed.v+ed.offset;}return ed.offset=0,r&&ed;}function J(e,t){return (t&&t._ctx&&t._ctx.selector||Se.utils.toArray)(e)[0]||("string"==typeof e&&!1!==Se.config().nullTargetWarn?console.warn("Element not found:",e):null);}function L(t,e){var r=e.s,n=e.sc;A(t)&&(t=Ce.scrollingElement||Me);var i=ze.indexOf(t),o=n===qe.sc?1:2;~i||(i=ze.push(t)-1),ze[i+o]||B(t,"scroll",F);var a=ze[i+o],s=a||(ze[i+o]=G(z(t,r),!0)||(A(t)?n:G(function(e){return arguments.length?t[r]=e:t[r];})));return s.target=t,a||(s.smooth="smooth"===Se.getProperty(t,"scrollBehavior")),s;}function M(e,t,i){function Gd(e,t){var r=Le();t||n<r-s?(a=o,o=e,l=s,s=r):i?o+=e:o=a+(e-a)/(r-l)*(s-l);}var o=e,a=e,s=Le(),l=s,n=t||50,c=Math.max(500,3*n);return {update:Gd,reset:function reset(){a=o=i?0:o,l=s=0;},getVelocity:function getVelocity(e){var t=l,r=a,n=Le();return !e&&0!==e||e===o||Gd(e),s===l||c<n-l?0:(o+(i?r:-r))/((i?n:s)-t)*1e3;}};}function N(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e;}function O(e){var t=Math.max.apply(Math,e),r=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(r)?t:r;}function P(){(Ae=Se.core.globals().ScrollTrigger)&&Ae.core&&function _integrate(){var e=Ae.core,r=e.bridge||{},t=e._scrollers,n=e._proxies;t.push.apply(t,ze),n.push.apply(n,Ye),ze=t,Ye=n,o=function _bridge(e,t){return r[e](t);};}();}function Q(e){return Se=e||r(),!ke&&Se&&"undefined"!=typeof document&&document.body&&(Te=window,Me=(Ce=document).documentElement,Ee=Ce.body,t=[Te,Ce,Me,Ee],Se.utils.clamp,Be=Se.core.context||function(){},Oe="onpointerenter" in Ee?"pointer":"mouse",Pe=E.isTouch=Te.matchMedia&&Te.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart" in Te||0<navigator.maxTouchPoints||0<navigator.msMaxTouchPoints?2:0,De=E.eventTypes=("ontouchstart" in Me?"touchstart,touchmove,touchcancel,touchend":"onpointerdown" in Me?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return i=0;},500),P(),ke=1),ke;}var Se,ke,Te,Ce,Me,Ee,Pe,Oe,Ae,t,Re,De,Be,i=1,Ie=[],ze=[],Ye=[],Le=Date.now,o=function _bridge(e,t){return t;},n="scrollLeft",a="scrollTop",He={s:n,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:G(function(e){return arguments.length?Te.scrollTo(e,qe.sc()):Te.pageXOffset||Ce[n]||Me[n]||Ee[n]||0;})},qe={s:a,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:He,sc:G(function(e){return arguments.length?Te.scrollTo(He.sc(),e):Te.pageYOffset||Ce[a]||Me[a]||Ee[a]||0;})};He.op=qe,ze.cache=0;var E=(Observer.prototype.init=function init(e){ke||Q(Se)||console.warn("Please gsap.registerPlugin(Observer)"),Ae||P();var i=e.tolerance,a=e.dragMinimum,t=e.type,o=e.target,r=e.lineHeight,n=e.debounce,s=e.preventDefault,l=e.onStop,c=e.onStopDelay,u=e.ignore,f=e.wheelSpeed,d=e.event,p=e.onDragStart,g=e.onDragEnd,h=e.onDrag,v=e.onPress,b=e.onRelease,m=e.onRight,y=e.onLeft,x=e.onUp,_=e.onDown,w=e.onCh
vendor: 4,183 bytes, line 32
32angeX,S=e.onChangeY,k=e.onChange,T=e.onToggleX,E=e.onToggleY,R=e.onHover,D=e.onHoverEnd,I=e.onMove,z=e.ignoreCheck,Y=e.isNormalizer,H=e.onGestureStart,q=e.onGestureEnd,X=e.onWheel,U=e.onEnable,W=e.onDisable,G=e.onClick,V=e.scrollSpeed,K=e.capture,j=e.allowClicks,Z=e.lockAxis,$=e.onLockAxis;function gf(){return xe=Le();}function hf(e,t){return (se.event=e)&&u&&function _isWithin(e,t){for(var r=t.length;r--;)if(t[r]===e||t[r].contains(e))return !0;return !1;}(e.target,u)||t&&he&&"touch"!==e.pointerType||z&&z(e,t);}function kf(){var e=se.deltaX=O(me),t=se.deltaY=O(ye),r=Math.abs(e)>=i,n=Math.abs(t)>=i;k&&(r||n)&&k(se,e,t,me,ye),r&&(m&&0<se.deltaX&&m(se),y&&se.deltaX<0&&y(se),w&&w(se),T&&se.deltaX<0!=le<0&&T(se),le=se.deltaX,me[0]=me[1]=me[2]=0),n&&(_&&0<se.deltaY&&_(se),x&&se.deltaY<0&&x(se),S&&S(se),E&&se.deltaY<0!=ce<0&&E(se),ce=se.deltaY,ye[0]=ye[1]=ye[2]=0),(ne||re)&&(I&&I(se),re&&(p&&1===re&&p(se),h&&h(se),re=0),ne=!1),oe&&!(oe=!1)&&$&&$(se),ie&&(X(se),ie=!1),ee=0;}function lf(e,t,r){me[r]+=e,ye[r]+=t,se._vx.update(e),se._vy.update(t),n?ee=ee||requestAnimationFrame(kf):kf();}function mf(e,t){Z&&!ae&&(se.axis=ae=Math.abs(e)>Math.abs(t)?"x":"y",oe=!0),"y"!==ae&&(me[2]+=e,se._vx.update(e,!0)),"x"!==ae&&(ye[2]+=t,se._vy.update(t,!0)),n?ee=ee||requestAnimationFrame(kf):kf();}function nf(e){if(!hf(e,1)){var t=(e=N(e,s)).clientX,r=e.clientY,n=t-se.x,i=r-se.y,o=se.isDragging;se.x=t,se.y=r,(o||(n||i)&&(Math.abs(se.startX-t)>=a||Math.abs(se.startY-r)>=a))&&(re=o?2:1,o||(se.isDragging=!0),mf(n,i));}}function qf(e){return e.touches&&1<e.touches.length&&(se.isGesturing=!0)&&H(e,se.isDragging);}function rf(){return (se.isGesturing=!1)||q(se);}function sf(e){if(!hf(e)){var t=fe(),r=de();lf((t-pe)*V,(r-ge)*V,1),pe=t,ge=r,l&&te.restart(!0);}}function tf(e){if(!hf(e)){e=N(e,s),X&&(ie=!0);var t=(1===e.deltaMode?r:2===e.deltaMode?Te.innerHeight:1)*f;lf(e.deltaX*t,e.deltaY*t,0),l&&!Y&&te.restart(!0);}}function uf(e){if(!hf(e)){var t=e.clientX,r=e.clientY,n=t-se.x,i=r-se.y;se.x=t,se.y=r,ne=!0,l&&te.restart(!0),(n||i)&&mf(n,i);}}function vf(e){se.event=e,R(se);}function wf(e){se.event=e,D(se);}function xf(e){return hf(e)||N(e,s)&&G(se);}this.target=o=J(o)||Me,this.vars=e,u=u&&Se.utils.toArray(u),i=i||1e-9,a=a||0,f=f||1,V=V||1,t=t||"wheel,touch,pointer",n=!1!==n,r=r||parseFloat(Te.getComputedStyle(Ee).lineHeight)||22;var ee,te,re,ne,ie,oe,ae,se=this,le=0,ce=0,ue=e.passive||!s&&!1!==e.passive,fe=L(o,He),de=L(o,qe),pe=fe(),ge=de(),he=~t.indexOf("touch")&&!~t.indexOf("pointer")&&"pointerdown"===De[0],ve=A(o),be=o.ownerDocument||Ce,me=[0,0,0],ye=[0,0,0],xe=0,_e=se.onPress=function(e){hf(e,1)||e&&e.button||(se.axis=ae=null,te.pause(),se.isPressed=!0,e=N(e),le=ce=0,se.startX=se.x=e.clientX,se.startY=se.y=e.clientY,se._vx.reset(),se._vy.reset(),B(Y?o:be,De[1],nf,ue,!0),se.deltaX=se.deltaY=0,v&&v(se));},we=se.onRelease=function(t){if(!hf(t,1)){C(Y?o:be,De[1],nf,!0);var e=!isNaN(se.y-se.startY),r=se.isDragging,n=r&&(3<Math.abs(se.x-se.startX)||3<Math.abs(se.y-se.startY)),i=N(t);!n&&e&&(se._vx.reset(),se._vy.reset(),s&&j&&Se.delayedCall(.08,function(){if(300<Le()-xe&&!t.defaultPrevented)if(t.target.click)t.target.click();else{if(be.createEvent){var e=be.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,Te,1,i.screenX,i.screenY,i.clientX,i.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(e);}}})),se.isDragging=se.isGesturing=se.isPressed=!1,l&&r&&!Y&&te.restart(!0),re&&kf(),g&&r&&g(se),b&&b(se,n);}};te=se._dc=Se.delayedCall(c||.25,function onStopFunc(){se._vx.reset(),se._vy.reset(),te.pause(),l&&l(se);}).pause(),se.deltaX=se.deltaY=0,se._vx=M(0,50,!0),se._vy=M(0,50,!0),se.scrollX=fe,se.scrollY=de,se.isDragging=se.isGesturing=se.isPressed=!1,Be(this),se.enable=function(e){return se.isEnabled||(B(ve?be:o,"scroll",F),0<=t.indexOf("scroll")&&B(ve?be:o,"scroll",sf,ue,K),0<=t.indexOf("wheel")&&B(o,"wheel",tf,ue,K),(0<=t.indexOf("touch")&&Pe||0<=t.indexOf("pointer"))&&(B(o,De[0],_e,ue,K),B(be,De[2],we),B(be,De[3],we),j&&B(o,"click",gf,!0,!0),G&&B(o,"click",xf),H&&B(be,"gesturestart",qf),q&&B(be,"gestureend",rf),R&&B(o,Oe+"enter",vf),D&&B(o,Oe+"leave",wf),I&&B(o,Oe+"move",uf)),se.isEnabled=!0,se.isDragging=se.isGesturing=se.isPressed=ne
32=re=!1,se._vx.reset(),se._vy.reset(),pe=fe(),ge=de(),e&&e.type&&_e(e),U&&U(se)),se;},se.disable=function(){se.isEnabled&&(Ie.filter(function(e){return e!==se&&A(e.target);}).length||C(ve?be:o,"scroll",F),se.isPressed&&(se._vx.reset(),se._vy.reset(),C(Y?o:be,De[1],nf,!0)),C(ve?be:o,"scroll",sf,K),C(o,"wheel",tf,K),C(o,De[0],_e,K),C(be,De[2],we),C(be,De[3],we),C(o,"click",gf,!0),C(o,"click",xf),C(be,"gesturestart",qf),C(be,"gestureend",rf),C(o,Oe+"enter",vf),C(o,Oe+"leave",wf),C(o,Oe+"move",uf),se.isEnabled=se.isPressed=se.isDragging=!1,W&&W(se));},se.kill=se.revert=function(){se.disable();var e=Ie.indexOf(se);0<=e&&Ie.splice(e,1),Re===se&&(Re=0);},Ie.push(se),Y&&A(o)&&(Re=se),se.enable(d);},function _createClass(e,t,r){return t&&_defineProperties(e.prototype,t),r&&_defineProperties(e,r),e;}(Observer,[{key:"velocityX",get:function get(){return this._vx.getVelocity();}},{key:"velocityY",get:function get(){return this._vy.getVelocity();}}]),Observer);function Observer(e){this.init(e);}E.version="3.13.0",E.create=function(e){return new E(e);},E.register=Q,E.getAll=function(){return Ie.slice();},E.getById=function(t){return Ie.filter(function(e){return e.vars.id===t;})[0];},r()&&Se.registerPlugin(E);function Da(e,t,r){var n=ct(e)&&("clamp("===e.substr(0,6)||-1<e.indexOf("max"));return (r["_"+t+"Clamp"]=n)?e.substr(6,e.length-7):e;}function Ea(e,t){return !t||ct(e)&&"clamp("===e.substr(0,6)?e:"clamp("+e+")";}function Ga(){return Qe=1;}function Ha(){return Qe=0;}function Ia(e){return e;}function Ja(e){return Math.round(1e5*e)/1e5||0;}function Ka(){return "undefined"!=typeof window;}function La(){return Ne||Ka()&&(Ne=window.gsap)&&Ne.registerPlugin&&Ne;}function Ma(e){return !!~l.indexOf(e);}function Na(e){return ("Height"===e?S:Xe["inner"+e])||Ue["client"+e]||We["client"+e];}function Oa(e){return z(e,"getBoundingClientRect")||(Ma(e)?function(){return Ot.width=Xe.innerWidth,Ot.height=S,Ot;}:function(){return _t(e);});}function Ra(e,t){var r=t.s,n=t.d2,i=t.d,o=t.a;return Math.max(0,(r="scroll"+n)&&(o=z(e,r))?o()-Oa(e)()[i]:Ma(e)?(Ue[r]||We[r])-Na(n):e[r]-e["offset"+n]);}function Sa(e,t){for(var r=0;r<g.length;r+=3)t&&!~t.indexOf(g[r+1])||e(g[r],g[r+1],g[r+2]);}function Ua(e){return "function"==typeof e;}function Va(e){return "number"==typeof e;}function Wa(e){return "object"==typeof e;}function Xa(e,t,r){return e&&e.progress(t?0:1)&&r&&e.pause();}function Ya(e,t){if(e.enabled){var r=e._ctx?e._ctx.add(function(){return t(e);}):t(e);r&&r.totalTime&&(e.callbackAnimation=r);}}function nb(e){return Xe.getComputedStyle(e);}function pb(e,t){for(var r in t)r in e||(e[r]=t[r]);return e;}function rb(e,t){var r=t.d2;return e["offset"+r]||e["client"+r]||0;}function sb(e){var t,r=[],n=e.labels,i=e.duration();for(t in n)r.push(n[t]/i);return r;}function ub(i){var o=Ne.utils.snap(i),a=Array.isArray(i)&&i.slice(0).sort(function(e,t){return e-t;});return a?function(e,t,r){var n;if(void 0===r&&(r=.001),!t)return o(e);if(0<t){for(e-=r,n=0;n<a.length;n++)if(a[n]>=e)return a[n];return a[n-1];}for(n=a.length,e+=r;n--;)if(a[n]<=e)return a[n];return a[0];}:function(e,t,r){void 0===r&&(r=.001);var n=o(e);return !t||Math.abs(n-e)<r||n-e<0==t<0?n:o(t<0?e-i:e+i);};}function wb(t,r,e,n){return e.split(",").forEach(function(e){return t(r,e,n);});}function xb(e,t,r,n,i){return e.addEventListener(t,r,{passive:!n,capture:!!i});}function yb(e,t,r,n){return e.removeEventListener(t,r,!!n);}function zb(e,t,r){(r=r&&r.wheelHandler)&&(e(t,"wheel",r),e(t,"touchmove",r));}function Db(e,t){if(ct(e)){var r=e.indexOf("="),n=~r?(e.charAt(r-1)+1)*parseFloat(e.substr(r+1)):0;~r&&(e.indexOf("%")>r&&(n*=t/100),e=e.substr(0,r-1)),e=n+(e in q?q[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0);}return e;}function Eb(e,t,r,n,i,o,a,s){var l=i.startColor,c=i.endColor,u=i.fontSize,f=i.indent,d=i.fontWeight,p=Fe.createElement("div"),g=Ma(r)||"fixed"===z(r,"pinType"),h=-1!==e.indexOf("scroller"),v=g?We:r,b=-1!==e.indexOf("start"),m=b?l:c,y="border-color:"+m+";font-size:"+u+";color:"+m+";font-weight:"+d+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return y+="position:"+((h||s)&&g?"fixed;":"absolute;"),!h&&!s&&g||(y+=(n===qe?I:Y)+":"+(o+parseFloat(f))+"px;"),a&&(y+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),p._isStart=b,p.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),p.style.cssText=y,p.innerText=t||0===t?e+"-"+t:e,v.children[0]?v.insertBefore(p,v.children[0]):v.appendChild(p),p._offset=p["offset"+n.op.d2],X(p,0,n,b),p;}function Jb(){return 34<at()-st&&(T=T||requestAnimationFrame(Z));}function Kb(){v&&v.isPressed&&!(v.startX>We.clientWidth)||(ze.cache++,v?T=T||requestAnimationFrame(Z):Z(),st||V("scrollStart"),st=at());}
vendor: 2,008 bytes, line 32
32function Lb(){y=Xe.innerWidth,m=Xe.innerHeight;}function Mb(e){ze.cache++,!0!==e&&(Ke||h||Fe.fullscreenElement||Fe.webkitFullscreenElement||b&&y===Xe.innerWidth&&!(Math.abs(Xe.innerHeight-m)>.25*Xe.innerHeight))||c.restart(!0);}function Pb(){return yb(ne,"scrollEnd",Pb)||Mt(!0);}function Sb(e){for(var t=0;t<K.length;t+=5)(!e||K[t+4]&&K[t+4].query===e)&&(K[t].style.cssText=K[t+1],K[t].getBBox&&K[t].setAttribute("transform",K[t+2]||""),K[t+3].uncache=1);}function Tb(e,t){var r;for(je=0;je<kt.length;je++)!(r=kt[je])||t&&r._ctx!==t||(e?r.kill(1):r.revert(!0,!0));k=!0,t&&Sb(t),t||V("revert");}function Ub(e,t){ze.cache++,!t&&rt||ze.forEach(function(e){return Ua(e)&&e.cacheID++&&(e.rec=0);}),ct(e)&&(Xe.history.scrollRestoration=_=e);}function Zb(){We.appendChild(w),S=!v&&w.offsetHeight||Xe.innerHeight,We.removeChild(w);}function $b(t){return Je(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(e){return e.style.display=t?"none":"block";});}function hc(e,t,r,n){if(!e._gsap.swappedIn){for(var i,o=$.length,a=t.style,s=e.style;o--;)a[i=$[o]]=r[i];a.position="absolute"===r.position?"absolute":"relative","inline"===r.display&&(a.display="inline-block"),s[Y]=s[I]="auto",a.flexBasis=r.flexBasis||"auto",a.overflow="visible",a.boxSizing="border-box",a[ft]=rb(e,He)+xt,a[dt]=rb(e,qe)+xt,a[bt]=s[mt]=s.top=s.left="0",Pt(n),s[ft]=s.maxWidth=r[ft],s[dt]=s.maxHeight=r[dt],s[bt]=r[bt],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0;}}function kc(e){for(var t=ee.length,r=e.style,n=[],i=0;i<t;i++)n.push(ee[i],r[ee[i]]);return n.t=e,n;}function nc(e,t,r,n,i,o,a,s,l,c,u,f,d,p){Ua(e)&&(e=e(s)),ct(e)&&"max"===e.substr(0,3)&&(e=f+("="===e.charAt(4)?Db("0"+e.substr(3),r):0));var g,h,v,b=d?d.time():0;if(d&&d.seek(0),isNaN(e)||(e=+e),Va(e))d&&(e=Ne.utils.mapRange(d.scrollTrigger.start,d.scrollTrigger.end,0,f,e)),a&&X(a,r,n,!0);else{Ua(t)&&(t=t(s));var m,y,x,_,w=(e||"0").split(" ");v=J(t,s)||We,(m=_t(v)||{}
32)&&(m.left||m.top)||"none"!==nb(v).display||(_=v.style.display,v.style.display="block",m=_t(v),_?v.style.display=_:v.style.removeProperty("display")),y=Db(w[0],m[n.d]),x=Db(w[1]||"0",r),e=m[n.p]-l[n.p]-c+y+i-x,a&&X(a,x,n,r-x<20||a._isStart&&20<x),r-=r-x;}if(p&&(s[p]=e||-.001,e<0&&(e=0)),o){var S=e+r,k=o._isStart;g="scroll"+n.d2,X(o,S,n,k&&20<S||!k&&(u?Math.max(We[g],Ue[g]):o.parentNode[g])<=S+1),u&&(l=_t(a),u&&(o.style[n.op.p]=l[n.op.p]-n.op.m-o._offset+xt));}return d&&v&&(g=_t(v),d.seek(f),h=_t(v),d._caScrollDist=g[n.p]-h[n.p],e=e/d._caScrollDist*f),d&&d.seek(b),d?e:Math.round(e);}function pc(e,t,r,n){if(e.parentNode!==t){var i,o,a=e.style;if(t===We){for(i in e._stOrig=a.cssText,o=nb(e))+i||re.test(i)||!o[i]||"string"!=typeof a[i]||"0"===i||(a[i]=o[i]);a.top=r,a.left=n;}else a.cssText=e._stOrig;Ne.core.getCache(e).uncache=1,t.appendChild(e);}}function qc(r,e,n){var i=e,o=i;return function(e){var t=Math.round(r());return t!==i&&t!==o&&3<Math.abs(t-i)&&3<Math.abs(t-o)&&(e=t,n&&n()),o=i,i=Math.round(e);};}function rc(e,t,r){var n={};n[t.p]="+="+r,Ne.set(e,n);}function sc(c,e){function Hk(e,t,r,n,i){var o=Hk.tween,a=t.onComplete,s={};r=r||u();var l=qc(u,r,function(){o.kill(),Hk.tween=0;});return i=n&&i||0,n=n||e-r,o&&o.kill(),t[f]=e,t.inherit=!1,(t.modifiers=s)[f]=function(){return l(r+n*o.ratio+i*o.ratio*o.ratio);},t.onUpdate=function(){ze.cache++,Hk.tween&&Z();},t.onComplete=function(){Hk.tween=0,a&&a.call(o);},o=Hk.tween=Ne.to(c,t);}var u=L(c,e),f="_scroll"+e.p2;return (c[f]=u).wheelHandler=function(){return Hk.tween&&Hk.tween.kill()&&(Hk.tween=0);},xb(c,"wheel",u.wheelHandler),ne.isTouch&&xb(c,"touchmove",u.wheelHandler),Hk;}var Ne,s,Xe,Fe,Ue,We,l,c,Je,Ge,Ve,u,Ke,Qe,f,je,d,p,g,Ze,$e,h,v,b,m,y,R,x,_,w,S,k,et,tt,T,rt,nt,it,ot=1,at=Date.now,D=at(),st=0,lt=0,ct=function _isString(e){return "string"==typeof e;},ut=Math.abs,I="right",Y="bottom",ft="width",dt="height",pt="Right",gt="Left",ht="Top",vt="Bottom",bt="padding",mt="margin",yt="Width",H="Height",xt="px",_t=function _getBounds(e,t){var r=t&&"matrix(1, 0, 0, 1, 0, 0)"!==nb(e)[f]&&Ne.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),n=e.getBoundingClientRect();return r&&r.progress(0).kill(),n;},wt={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},St={toggleActions:"play",anticipatePin:0},q={top:0,left:0,center:.5,bottom:1,right:1},X=function _positionMarker(e,t,r,n){var i={display:"block"},o=r[n?"os2":"p2"],a=r[n?"p2":"os2"];e._isFlipped=n,i[r.a+"Percent"]=n?-100:0,i[r.a]=n?"1px":0,i["border"+o+yt]=1,i["border"+a+yt]=0,i[r.p]=t+"px",Ne.set(e,i);},kt=[],Tt={},U={},W=[],V=function _dispatch(e){return U[e]&&U[e].map(function(e){return e();})||W;},K=[],Ct=0,Mt=function _refreshAll(e,t){if(Ue=Fe.documentElement,We=Fe.body,l=[Xe,Fe,Ue,We],!st||e||k){Zb(),rt=ne.isRefreshing=!0,ze.forEach(function(e){return Ua(e)&&++e.cacheID&&(e.rec=e());});var r=V("refreshInit");Ze&&ne.sort(),t||Tb(),ze.forEach(function(e){Ua(e)&&(e.smooth&&(e.target.style.scrollBehavior="auto"),e(0));}),kt.slice(0).forEach(function(e){return e.refresh();}),k=!1,kt.forEach(function(e){if(e._subPinOffset&&e.pin){var t=e.vars.horizontal?"offsetWidth":"offsetHeight",r=e.pin[t];e.revert(!0,1),e.adjustPinSpacing(e.pin[t]-r),e.refresh();}}),et=1,$b(!0),kt.forEach(function(e){var t=Ra(e.scroller,e._dir),r="max"===e.vars.end||e._endClamp&&e.end>t,n=e._startClamp&&e.start>=t;(r||n)&&e.setPositions(n?t-1:e.start,r?Math.max(n?t:e.start+1,t):e.end,!0);}),$b(!1),et=0,r.forEach(function(e){return e&&e.render&&e.render(-1);}),ze.forEach(function(e){Ua(e)&&(e.smooth&&requestAnimationFrame(function(){return e.target.style.scrollBehavior="smooth";}),e.rec&&e(e.rec));}),Ub(_,1),c.pause(),Ct++,Z(rt=2),kt.forEach(function(e){return Ua(e.vars.onRefresh)&&e.vars.onRefresh(e);}),rt=ne.isRefreshing=!1,V("refresh");}else xb(ne,"scrollEnd",Pb);},j=0,Et=1,Z=function _updateAll(e){if(2===e||!rt&&!k){ne.isUpdating=!0,it&&it.update(0);var t=kt.length,r=at(),n=50<=r-D,i=t&&kt[0].scroll();if(Et=i<j?-1:1,rt||(j=i),n&&(st&&!Qe&&200<r-st&&(st=0,V("scrollEnd")),Ve=D,D=r),Et<0){for(je=t;0<je--;)kt[je]&&kt[je].update(0,n);Et=1;}else for(je=0;je<t;je++)kt[je]&&kt[je].update(0,n);ne.isUpdating=!1;}T=0;},$=["left","top",Y,I,mt+vt,mt+pt,mt+ht,mt+gt,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],ee=$.concat([ft,dt,"boxSizing","max"+yt,"max"+H,"position",mt,bt,bt+ht,bt+pt,bt+vt,bt+gt]),te=/([A-Z])/g,Pt=function _setState(e){if(e){var t,r,n=e.t.style,i=e.length,o=0;for((e.t._gsap||Ne.core.getCache(e.t)).uncache=1;o<i;o+=2)r=e[o+1],t=e[o],r?n[t]=r:n[t]&&n.removeProperty(t.replace(te,"-$1").toLowerCase());}},Ot={left:0,top:0},re=/(webkit|moz|length|cssText|inset)/i,ne=(ScrollTrigger.prototype.init=function init(P,O){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),lt){var A,n,p,R,D,B,I,Y,H,q,N,e,X,F,U,W,G,V,t,K,b,Q,j,m,Z,y,$,x,r,_,w,ee,i,g,te,re,ne,S,o,k=(P=pb(ct(P)||Va(P)||P.nodeType?{trigger:P}
vendor: 13,402 bytes, line 32
32:P,St)).onUpdate,T=P.toggleClass,a=P.id,C=P.onToggle,ie=P.onRefresh,M=P.scrub,oe=P.trigger,ae=P.pin,se=P.pinSpacing,le=P.invalidateOnRefresh,E=P.anticipatePin,s=P.onScrubComplete,h=P.onSnapComplete,ce=P.once,ue=P.snap,fe=P.pinReparent,l=P.pinSpacer,de=P.containerAnimation,pe=P.fastScrollEnd,ge=P.preventOverlaps,he=P.horizontal||P.containerAnimation&&!1!==P.horizontal?He:qe,ve=!M&&0!==M,be=J(P.scroller||Xe),c=Ne.core.getCache(be),me=Ma(be),ye="fixed"===("pinType" in P?P.pinType:z(be,"pinType")||me&&"fixed"),xe=[P.onEnter,P.onLeave,P.onEnterBack,P.onLeaveBack],_e=ve&&P.toggleActions.split(" "),we="markers" in P?P.markers:St.markers,Se=me?0:parseFloat(nb(be)["border"+he.p2+yt])||0,ke=this,Te=P.onRefreshInit&&function(){return P.onRefreshInit(ke);},Ce=function _getSizeFunc(e,t,r){var n=r.d,i=r.d2,o=r.a;return (o=z(e,"getBoundingClientRect"))?function(){return o()[n];}:function(){return (t?Na(i):e["client"+i])||0;};}(be,me,he),Me=function _getOffsetsFunc(e,t){return !t||~Ye.indexOf(e)?Oa(e):function(){return Ot;};}(be,me),Ee=0,Pe=0,Oe=0,Ae=L(be,he);if(ke._startClamp=ke._endClamp=!1,ke._dir=he,E*=45,ke.scroller=be,ke.scroll=de?de.time.bind(de):Ae,R=Ae(),ke.vars=P,O=O||P.animation,"refreshPriority" in P&&(Ze=1,-9999===P.refreshPriority&&(it=ke)),c.tweenScroll=c.tweenScroll||{top:sc(be,qe),left:sc(be,He)},ke.tweenTo=A=c.tweenScroll[he.p],ke.scrubDuration=function(e){(i=Va(e)&&e)?ee?ee.duration(e):ee=Ne.to(O,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:i,paused:!0,onComplete:function onComplete(){return s&&s(ke);}}):(ee&&ee.progress(1).kill(),ee=0);},O&&(O.vars.lazy=!1,O._initted&&!ke.isReverted||!1!==O.vars.immediateRender&&!1!==P.immediateRender&&O.duration()&&O.render(0,!0,!0),ke.animation=O.pause(),(O.scrollTrigger=ke).scrubDuration(M),_=0,a=a||O.vars.id),ue&&(Wa(ue)&&!ue.push||(ue={snapTo:ue}),"scrollBehavior" in We.style&&Ne.set(me?[We,Ue]:be,{scrollBehavior:"auto"}),ze.forEach(function(e){return Ua(e)&&e.target===(me?Fe.scrollingElement||Ue:be)&&(e.smooth=!1);}),p=Ua(ue.snapTo)?ue.snapTo:"labels"===ue.snapTo?function _getClosestLabel(t){return function(e){return Ne.utils.snap(sb(t),e);};}(O):"labelsDirectional"===ue.snapTo?function _getLabelAtDirection(r){return function(e,t){return ub(sb(r))(e,t.direction);};}(O):!1!==ue.directional?function(e,t){return ub(ue.snapTo)(e,at()-Pe<500?0:t.direction);}:Ne.utils.snap(ue.snapTo),g=ue.duration||{min:.1,max:2},g=Wa(g)?Ge(g.min,g.max):Ge(g,g),te=Ne.delayedCall(ue.delay||i/2||.1,function(){var e=Ae(),t=at()-Pe<500,r=A.tween;if(!(t||Math.abs(ke.getVelocity())<10)||r||Qe||Ee===e)ke.isActive&&Ee!==e&&te.restart(!0);else{var n,i,o=(e-B)/F,a=O&&!ve?O.totalProgress():o,s=t?0:(a-w)/(at()-Ve)*1e3||0,l=Ne.utils.clamp(-o,1-o,ut(s/2)*s/.185),c=o+(!1===ue.inertia?0:l),u=ue.onStart,f=ue.onInterrupt,d=ue.onComplete;if(n=p(c,ke),Va(n)||(n=c),i=Math.max(0,Math.round(B+n*F)),e<=I&&B<=e&&i!==e){if(r&&!r._initted&&r.data<=ut(i-e))return;!1===ue.inertia&&(l=n-o),A(i,{duration:g(ut(.185*Math.max(ut(c-a),ut(n-a))/s/.05||0)),ease:ue.ease||"power3",data:ut(i-e),onInterrupt:function onInterrupt(){return te.restart(!0)&&f&&f(ke);},onComplete:function onComplete(){ke.update(),Ee=Ae(),O&&!ve&&(ee?ee.resetTo("totalProgress",n,O._tTime/O._tDur):O.progress(n)),_=w=O&&!ve?O.totalProgress():ke.progress,h&&h(ke),d&&d(ke);}},e,l*F,i-e-l*F),u&&u(ke,A.tween);}}}).pause()),a&&(Tt[a]=ke),o=(o=(oe=ke.trigger=J(oe||!0!==ae&&ae))&&oe._gsap&&oe._gsap.stRevert)&&o(ke),ae=!0===ae?oe:J(ae),ct(T)&&(T={targets:oe,className:T}),ae&&(!1===se||se===mt||(se=!(!se&&ae.parentNode&&ae.parentNode.style&&"flex"===nb(ae.parentNode).display)&&bt),ke.pin=ae,(n=Ne.core.getCache(ae)).spacer?U=n.pinState:(l&&((l=J(l))&&!l.nodeType&&(l=l.current||l.nativeElement),n.spacerIsNative=!!l,l&&(n.spacerState=kc(l))),n.spacer=V=l||Fe.createElement("div"),V.classList.add("pin-spacer"),a&&V.classList.add("pin-spacer-"+a),n.pinState=U=kc(ae)),!1!==P.force3D&&Ne.set(ae,{force3D:!0}),ke.spacer=V=n.spacer,r=nb(ae),m=r[se+he.os2],K=Ne.getProperty(ae),b=Ne.quickSetter(ae,he.a,xt),hc(ae,V,r),G=kc(ae)),we){e=Wa(we)?pb(we,wt):wt,q=Eb("scroller-start",a,be,he,e,0),N=Eb("scroller-end",a,be,he,e,0,q),t=q["offset"+he.op.d2];var u=J(z(be,"content")||be);Y=this.markerStart=Eb("start",a,u,he,e,t,0,de),H=this.markerEnd=Eb("end",a,u,he,e,t,0,de),de&&(S=Ne.quickSetter([Y,H],he.a,xt)),ye||Ye.length&&!0===z(be,"fixedMarkers")||(function _makePositionable(e){var t=nb(e).position;e.style.position="absolute"===t||"fixed"===t?t:"relative";}(me?We:be),Ne.set([q,N],{force3D:!0}),y=Ne.quickSetter(q,he.a,xt),x=Ne.quickSetter(N,he.a,xt));}if(de){var f=de.vars.onUpdate,d=de.vars.onUpdateParams;de.eventCallback("onUpdate",function(){ke.update(0,0,1),f&&f.apply(de,d||[]);});}if(ke.previous=function(){return kt[kt.indexOf(ke)-1];},ke.next=function(){return kt[kt.indexOf(ke)+1];},ke.revert=function(e,t){if(!t)return ke.kill(!0);var r=!1!==e||!ke.enabled,n=Ke;r!==ke.isReverted&&(r&&(re=Math.max(Ae(),ke.scroll.rec||0),Oe=ke.progress,ne=O&&O.progress()),Y&&[Y,H,q,N].forEach(function(e){return e.style.display=r?"none":"block";}),r&&(Ke=ke).update(r),!ae||fe&&ke.isActive||(r?function _swapPinOut(e,t,r){Pt(r);var n=e._gsap;if(n.spacerIsNative)Pt(n.spacerState);else{if(e._gsap.swappedIn){var i=t.parentNode;i&&(i.insertBefore(e,t),i.removeChild(t));}}e._gsap.swappedIn=!1;}(ae,V,U):hc(ae,V,nb(ae),Z)),r||ke.update(r),Ke=n,ke.isReverted=r);},ke.refresh=function(e,t,r,n){if(!Ke&&ke.enabled||t)if(ae&&e&&st)xb(ScrollTrigger,"scrollEnd",Pb);else{!rt&&Te&&Te(ke),Ke=ke,A.tween&&!r&&(A.tween.kill(),A.tween=0),ee&&ee.pause(),le&&O&&(O.revert({kill:!1}).invalidate(),O.getChildren&&O.getChildren(!0,!0,!1).forEach(function(e){return e.vars.immediateRender&&e.render(0,!0,!0);})),ke.isReverted||ke.revert(!0,!0),ke._subPinOffset=!1;var i,o,a,s,l,c,u,f,d,p,g,h,v,b=Ce(),m=Me(),y=de?de.duration():Ra(be,he),x=F<=.01||!F,_=0,w=n||0,S=Wa(r)?r.end:P.end,k=P.endTrigger||oe,T=Wa(r)?r.start:P.start||(0!==P.start&&oe?ae?"0 0":"0 100%":0),C=ke.pinnedContainer=P.pinnedContainer&&J(P.pinnedContainer,ke),M=oe&&Math.max(0,kt.indexOf(ke))||0,E=M;for(we&&Wa(r)&&(h=Ne.getProperty(q,he.p),v=Ne.getProperty(N,he.p));0<E--;)(c=kt[E]).end||c.refresh(0,1)||(Ke=ke),!(u=c.pin)||u!==oe&&u!==ae&&u!==C||c.isReverted||((p=p||[]).unshift(c),c.revert(!0,!0)),c!==kt[E]&&(M--,E--);for(Ua(T)&&(T=T(ke)),T=Da(T,"start",ke),B=nc(T,oe,b,he,Ae(),Y,q,ke,m,Se,ye,y,de,ke._startClamp&&"_startClamp")||(ae?-.001:0),Ua(S)&&(S=S(ke)),ct(S)&&!S.indexOf("+=")&&(~S.indexOf(" ")?S=(ct(T)?T.split(" ")[0]:"")+S:(_=Db(S.substr(2),b),S=ct(T)?T:(de?Ne.utils.mapRange(0,de.duration(),de.scrollTrigger.start,de.scrollTrigger.end,B):B)+_,k=oe)),S=Da(S,"end",ke),I=Math.max(B,nc(S||(k?"100% 0":y),k,b,he,Ae()+_,H,N,ke,m,Se,ye,y,de,ke._endClamp&&"_endClamp"))||-.001,_=0,E=M;E--;)(u=(c=kt[E]).pin)&&c.start-c._pinPush<=B&&!de&&0<c.end&&(i=c.end-(ke._startClamp?Math.max(0,c.start):c.start),(u===oe&&c.start-c._pinPush<B||u===C)&&isNaN(T)&&(_+=i*(1-c.progress)),u===ae&&(w+=i));if(B+=_,I+=_,ke._startClamp&&(ke._startClamp+=_),ke._endClamp&&!rt&&(ke._endClamp=I||-.001,I=Math.min(I,Ra(be,he))),F=I-B||(B-=.01)&&.001,x&&(Oe=Ne.utils.clamp(0,1,Ne.utils.normalize(B,I,re))),ke._pinPush=w,Y&&_&&((i={})[he.a]="+="+_,C&&(i[he.p]="-="+Ae()),Ne.set([Y,H],i)),!ae||et&&ke.end>=Ra(be,he)){if(oe&&Ae()&&!de)for(o=oe.parentNode;o&&o!==We;)o._pinOffset&&(B-=o._pinOffset,I-=o._pinOffset),o=o.parentNode;}else i=nb(ae),s=he===qe,a=Ae(),Q=parseFloat(K(he.a))+w,!y&&1<I&&(g={style:g=(me?Fe.scrollingElement||Ue:be).style,value:g["overflow"+he.a.toUpperCase()]},me&&"scroll"!==nb(We)["overflow"+he.a.toUpperCase()]&&(g.style["overflow"+he.a.toUpperCase()]="scroll")),hc(ae,V,i),G=kc(ae),o=_t(ae,!0),f=ye&&L(be,s?He:qe)(),se?((Z=[se+he.os2,F+w+xt]).t=V,(E=se===bt?rb(ae,he)+F+w:0)&&(Z.push(he.d,E+xt),"auto"!==V.style.flexBasis&&(V.style.flexBasis=E+xt)),Pt(Z),C&&kt.forEach(function(e){e.pin===C&&!1!==e.vars.pinSpacing&&(e._subPinOffset=!0);}),ye&&Ae(re)):(E=rb(ae,he))&&"auto"!==V.style.flexBasis&&(V.style.flexBasis=E+xt),ye&&((l={top:o.top+(s?a-B:f)+xt,left:o.left+(s?f:a-B)+xt,boxSizing:"border-box",position:"fixed"})[ft]=l.maxWidth=Math.ceil(o.width)+xt,l[dt]=l.maxHeight=Math.ceil(o.height)+xt,l[mt]=l[mt+ht]=l[mt+pt]=l[mt+vt]=l[mt+gt]="0",l[bt]=i[bt],l[bt+ht]=i[bt+ht],l[bt+pt]=i[bt+pt],l[bt+vt]=i[bt+vt],l[bt+gt]=i[bt+gt],W=function _copyState(e,t,r){for(var n,i=[],o=e.length,a=r?8:0;a<o;a+=2)n=e[a],i.push(n,n in t?t[n]:e[a+1]);return i.t=e.t,i;}(U,l,fe),rt&&Ae(0)),O?(d=O._initted,$e(1),O.render(O.duration(),!0,!0),j=K(he.a)-Q+F+w,$=1<Math.abs(F-j),ye&&$&&W.splice(W.length-2,2),O.render(0,!0,!0),d||O.invalidate(!0),O.parent||O.totalTime(O.totalTime()),$e(0)):j=F,g&&(g.value?g.style["overflow"+he.a.toUpperCase()]=g.value:g.style.removeProperty("overflow-"+he.a));p&&p.forEach(function(e){return e.revert(!1,!0);}),ke.start=B,ke.end=I,R=D=rt?re:Ae(),de||rt||(R<re&&Ae(re),ke.scroll.rec=0),ke.revert(!1,!0),Pe=at(),te&&(Ee=-1,te.restart(!0)),Ke=0,O&&ve&&(O._initted||ne)&&O.progress()!==ne&&O.progress(ne||0,!0).render(O.time(),!0,!0),(x||Oe!==ke.progress||de||le||O&&!O._initted)&&(O&&!ve&&(O._initted||Oe||!1!==O.vars.immediateRender)&&O.totalProgress(de&&B<-.001&&!Oe?Ne.utils.normalize(B,I,0):Oe,!0),ke.progress=x||(R-B)/F===Oe?0:Oe),ae&&se&&(V._pinOffset=Math.round(ke.progress*j)),ee&&ee.invalidate(),isNaN(h)||(h-=Ne.getProperty(q,he.p),v-=Ne.getProperty(N,he.p),rc(q,he,h),rc(Y,he,h-(n||0)),rc(N,he,v),rc(H,he,v-(n||0))),x&&!rt&&ke.update(),!ie||rt||X||(X=!0,ie(ke),X=!1);}},ke.getVelocity=function(){return (Ae()-D)/(at()-Ve)*1e3||0;},ke.endAnimation=function(){Xa(ke.callbackAnimation),O&&(ee?ee.progress(1):O.paused()?ve||Xa(O,ke.direction<0,1):Xa(O,O.reversed()));},ke.labelToScroll=function(e){return O&&O.labels&&(B||ke.refresh()||B)+O.labels[e]/O.duration()*F||0;},ke.getTrailing=function(t){var e=kt.indexOf(ke),r=0<ke.direction?kt.slice(0,e).reverse():kt.slice(e+1);return (ct(t)?r.filter(function(e){return e.vars.preventOverlaps===t;}):r).filter(function(e){return 0<ke.direction?e.end<=B:e.start>=I;});},ke.update=function(e,t,r){if(!de||r||e){var n,i,o,a,s,l,c,u=!0===rt?re:ke.scroll(),f=e?0:(u-B)/F,d=f<0?0:1<f?1:f||0,p=ke.progress;if(t&&(D=R,R=de?Ae():u,ue&&(w=_,_=O&&!ve?O.totalProgress():d)),E&&ae&&!Ke&&!ot&&st&&(!d&&B<u+(u-D)/(at()-Ve)*E?d=1e-4:1===d&&I>u+(u-D)/(at()-Ve)*E&&(d=.9999)),d!==p&&ke.enabled){if(a=(s=(n=ke.isActive=!!d&&d<1)!=(!!p&&p<1))||!!d!=!!p,ke.direction=p<d?1:-1,ke.progress=d,a&&!Ke&&(i=d&&!p?0:1===d?1:1===p?2:3,ve&&(o=!s&&"none"!==_e[i+1]&&_e[i+1]||_e[i],c=O&&("complete"===o||"reset"===o||o in O))),ge&&(s||c)&&(c||M||!O)&&(Ua(ge)?ge(ke):ke.getTrailing(ge).forEach(function(e){return e.endAnimation();})),ve||(!ee||Ke||ot?O&&O.totalProgress(d,!(!Ke||!Pe&&!e)):(ee._dp._time-ee._start!==ee._time&&ee.render(ee._dp._time-ee._start),ee.resetTo?ee.resetTo("totalProgress",d,O._tTime/O._tDur):(ee.vars.totalProgress=d,ee.invalidate().restart()))),ae)if(e&&se&&(V.style[se+he.os2]=m),ye){if(a){if(l=!e&&p<d&&u<I+1&&u+1>=Ra(be,he),fe)if(e||!n&&!l)pc(ae,V);else{var g=_t(ae,!0),h=u-B;pc(ae,We,g.top+(he===qe?h:0)+xt,g.left+(he===qe?0:h)+xt);}Pt(n||l?W:G),$&&d<1&&n||b(Q+(1!==d||l?0:j));}}else b(Ja(Q+j*d));!ue||A.tween||Ke||ot||te.restart(!0),T&&(s||ce&&d&&(d<1||!tt))&&Je(T.targets).forEach(function(e){return e.classList[n||ce?"add":"remove"](T.className);}),!k||ve||e||k(ke),a&&!Ke?(ve&&(c&&("complete"===o?O.pause().totalProgress(1):"reset"===o?O.restart(!0).pause():"restart"===o?O.restart(!0):O[o]()),k&&k(ke)),!s&&tt||(C&&s&&Ya(ke,C),xe[i]&&Ya(ke,xe[i]),ce&&(1===d?ke.kill(!1,1):xe[i]=0),s||xe[i=1===d?1:3]&&Ya(ke,xe[i])),pe&&!n&&Math.abs(ke.getVelocity())>(Va(pe)?pe:2500)&&(Xa(ke.callbackAnimation),ee?ee.progress(1):Xa(O,"reverse"===o?1:!d,1))):ve&&k&&!Ke&&k(ke);}if(x){var v=de?u/de.duration()*(de._caScrollDist||0):u;y(v+(q._isFlipped?1:0)),x(v);}S&&S(-u/de.duration()*(de._caScrollDist||0));}},ke.enable=function(e,t){ke.enabled||(ke.enabled=!0,xb(be,"resize",Mb),me||xb(be,"scroll",Kb),Te&&xb(ScrollTrigger,"refreshInit",Te),!1!==e&&(ke.progress=Oe=0,R=D=Ee=Ae()),!1!==t&&ke.refresh());},ke.getTween=function(e){return e&&A?A.tween:ee;},ke.setPositions=function(e,t,r,n){if(de){var i=de.scrollTrigger,o=de.duration(),a=i.end-i.start;e=i.start+a*e/o,t=i.start+a*t/o;}ke.refresh(!1,!1,{start:Ea(e,r&&!!ke._startClamp),end:Ea(t,r&&!!ke._endClamp)},n),ke.update();},ke.adjustPinSpacing=function(e){if(Z&&e){var t=Z.indexOf(he.d)+1;Z[t]=parseFloat(Z[t])+e+xt,Z[1]=parseFloat(Z[1])+e+xt,Pt(Z);}},ke.disable=function(e,t){if(ke.enabled&&(!1!==e&&ke.revert(!0,!0),ke.enabled=ke.isActive=!1,t||ee&&ee.pause(),re=0,n&&(n.uncache=1),Te&&yb(ScrollTrigger,"refreshInit",Te),te&&(te.pause(),A.tween&&A.tween.kill()&&(A.tween=0)),!me)){for(var r=kt.length;r--;)if(kt[r].scroller===be&&kt[r]!==ke)return;yb(be,"resize",Mb),me||yb(be,"scroll",Kb);}},ke.kill=function(e,t){ke.disable(e,t),ee&&!t&&ee.kill(),a&&delete Tt[a];var r=kt.indexOf(ke);0<=r&&kt.splice(r,1),r===je&&0<Et&&je--,r=0,kt.forEach(function(e){return e.scroller===ke.scroller&&(r=1);}),r||rt||(ke.scroll.rec=0),O&&(O.scrollTrigger=null,e&&O.revert({kill:!1}),t||O.kill()),Y&&[Y,H,q,N].forEach(function(e){return e.parentNode&&e.parentNode.removeChild(e);}),it===ke&&(it=0),ae&&(n&&(n.uncache=1),r=0,kt.forEach(function(e){return e.pin===ae&&r++;}),r||(n.spacer=0)),P.onKill&&P.onKill(ke);},kt.push(ke),ke.enable(!1,!1),o&&o(ke),O&&O.add&&!F){var v=ke.update;ke.update=function(){ke.update=v,ze.cache++,B||I||ke.refresh();}
32,Ne.delayedCall(.01,ke.update),F=.01,B=I=0;}else ke.refresh();ae&&function _queueRefreshAll(){if(nt!==Ct){var e=nt=Ct;requestAnimationFrame(function(){return e===Ct&&Mt(!0);});}}();}else this.update=this.refresh=this.kill=Ia;},ScrollTrigger.register=function register(e){return s||(Ne=e||La(),Ka()&&window.document&&ScrollTrigger.enable(),s=lt),s;},ScrollTrigger.defaults=function defaults(e){if(e)for(var t in e)St[t]=e[t];return St;},ScrollTrigger.disable=function disable(t,r){lt=0,kt.forEach(function(e){return e[r?"kill":"disable"](t);}),yb(Xe,"wheel",Kb),yb(Fe,"scroll",Kb),clearInterval(u),yb(Fe,"touchcancel",Ia),yb(We,"touchstart",Ia),wb(yb,Fe,"pointerdown,touchstart,mousedown",Ga),wb(yb,Fe,"pointerup,touchend,mouseup",Ha),c.kill(),Sa(yb);for(var e=0;e<ze.length;e+=3)zb(yb,ze[e],ze[e+1]),zb(yb,ze[e],ze[e+2]);},ScrollTrigger.enable=function enable(){if(Xe=window,Fe=document,Ue=Fe.documentElement,We=Fe.body,Ne&&(Je=Ne.utils.toArray,Ge=Ne.utils.clamp,x=Ne.core.context||Ia,$e=Ne.core.suppressOverwrites||Ia,_=Xe.history.scrollRestoration||"auto",j=Xe.pageYOffset||0,Ne.core.globals("ScrollTrigger",ScrollTrigger),We)){lt=1,(w=document.createElement("div")).style.height="100vh",w.style.position="absolute",Zb(),function _rafBugFix(){return lt&&requestAnimationFrame(_rafBugFix);}(),E.register(Ne),ScrollTrigger.isTouch=E.isTouch,R=E.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),b=1===E.isTouch,xb(Xe,"wheel",Kb),l=[Xe,Fe,Ue,We],Ne.matchMedia?(ScrollTrigger.matchMedia=function(e){var t,r=Ne.matchMedia();for(t in e)r.add(t,e[t]);return r;},Ne.addEventListener("matchMediaInit",function(){return Tb();}),Ne.addEventListener("matchMediaRevert",function(){return Sb();}),Ne.addEventListener("matchMedia",function(){Mt(0,1),V("matchMedia");}),Ne.matchMedia().add("(orientation: portrait)",function(){return Lb(),Lb;})):console.warn("Requires GSAP 3.11.0 or later"),Lb(),xb(Fe,"scroll",Kb);var e,t,r=We.hasAttribute("style"),n=We.style,i=n.borderTopStyle,o=Ne.core.Animation.prototype;for(o.revert||Object.defineProperty(o,"revert",{value:function value(){return this.time(-.01,!0);}}),n.borderTopStyle="solid",e=_t(We),qe.m=Math.round(e.top+qe.sc())||0,He.m=Math.round(e.left+He.sc())||0,i?n.borderTopStyle=i:n.removeProperty("border-top-style"),r||(We.setAttribute("style",""),We.removeAttribute("style")),u=setInterval(Jb,250),Ne.delayedCall(.5,function(){return ot=0;}),xb(Fe,"touchcancel",Ia),xb(We,"touchstart",Ia),wb(xb,Fe,"pointerdown,touchstart,mousedown",Ga),wb(xb,Fe,"pointerup,touchend,mouseup",Ha),f=Ne.utils.checkPrefix("transform"),ee.push(f),s=at(),c=Ne.delayedCall(.2,Mt).pause(),g=[Fe,"visibilitychange",function(){var e=Xe.innerWidth,t=Xe.innerHeight;Fe.hidden?(d=e,p=t):d===e&&p===t||Mb();},Fe,"DOMContentLoaded",Mt,Xe,"load",Mt,Xe,"resize",Mb],Sa(xb),kt.forEach(function(e){return e.enable(0,1);}),t=0;t<ze.length;t+=3)zb(yb,ze[t],ze[t+1]),zb(yb,ze[t],ze[t+2]);}},ScrollTrigger.config=function config(e){"limitCallbacks" in e&&(tt=!!e.limitCallbacks);var t=e.syncInterval;t&&clearInterval(u)||(u=t)&&setInterval(Jb,t),"ignoreMobileResize" in e&&(b=1===ScrollTrigger.isTouch&&e.ignoreMobileResize),"autoRefreshEvents" in e&&(Sa(yb)||Sa(xb,e.autoRefreshEvents||"none"),h=-1===(e.autoRefreshEvents+"").indexOf("resize"));},ScrollTrigger.scrollerProxy=function scrollerProxy(e,t){var r=J(e),n=ze.indexOf(r),i=Ma(r);~n&&ze.splice(n,i?6:2),t&&(i?Ye.unshift(Xe,t,We,t,Ue,t):Ye.unshift(r,t));},ScrollTrigger.clearMatchMedia=function clearMatchMedia(t){kt.forEach(function(e){return e._ctx&&e._ctx.query===t&&e._ctx.kill(!0,!0);});},ScrollTrigger.isInViewport=function isInViewport(e,t,r){var n=(ct(e)?J(e):e).getBoundingClientRect(),i=n[r?ft:dt]*t||0;return r?0<n.right-i&&n.left+i<Xe.innerWidth:0<n.bottom-i&&n.top+i<Xe.innerHeight;},ScrollTrigger.positionInViewport=function positionInViewport(e,t,r){ct(e)&&(e=J(e));var n=e.getBoundingClientRect(),i=n[r?ft:dt],o=null==t?i/2:t in q?q[t]*i:~t.indexOf("%")?parseFloat(t)*i/100:parseFloat(t)||0;return r?(n.left+o)/Xe.innerWidth:(n.top+o)/Xe.innerHeight;},ScrollTrigger.killAll=function killAll(e){if(kt.slice(0).forEac
32h(function(e){return "ScrollSmoother"!==e.vars.id&&e.kill();}),!0!==e){var t=U.killAll||[];U={},t.forEach(function(e){return e();});}},ScrollTrigger);function ScrollTrigger(e,t){s||ScrollTrigger.register(Ne)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),x(this),this.init(e,t);}ne.version="3.13.0",ne.saveStyles=function(e){return e?Je(e).forEach(function(e){if(e&&e.style){var t=K.indexOf(e);0<=t&&K.splice(t,5),K.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),Ne.core.getCache(e),x());}}):K;},ne.revert=function(e,t){return Tb(!e,t);},ne.create=function(e,t){return new ne(e,t);},ne.refresh=function(e){return e?Mb(!0):(s||ne.register())&&Mt(!0);},ne.update=function(e){return ++ze.cache&&Z(!0===e?2:0);},ne.clearScrollMemory=Ub,ne.maxScroll=function(e,t){return Ra(e,t?He:qe);},ne.getScrollFunc=function(e,t){return L(J(e),t?He:qe);},ne.getById=function(e){return Tt[e];},ne.getAll=function(){return kt.filter(function(e){return "ScrollSmoother"!==e.vars.id;});},ne.isScrolling=function(){return !!st;},ne.snapDirectional=ub,ne.addEventListener=function(e,t){var r=U[e]||(U[e]=[]);~r.indexOf(t)||r.push(t);},ne.removeEventListener=function(e,t){var r=U[e],n=r&&r.indexOf(t);0<=n&&r.splice(n,1);},ne.batch=function(e,t){function Jp(e,t){var r=[],n=[],i=Ne.delayedCall(o,function(){t(r,n),r=[],n=[];}).pause();return function(e){r.length||i.restart(!0),r.push(e.trigger),n.push(e),a<=r.length&&i.progress(1);};}var r,n=[],i={},o=t.interval||.016,a=t.batchMax||1e9;for(r in t)i[r]="on"===r.substr(0,2)&&Ua(t[r])&&"onRefreshInit"!==r?Jp(0,t[r]):t[r];return Ua(a)&&(a=a(),xb(ne,"refresh",function(){return a=t.batchMax();})),Je(e).forEach(function(e){var t={};for(r in i)t[r]=i[r];t.trigger=e,n.push(ne.create(t));}),n;};function uc(e,t,r,n){return n<t?e(n):t<0&&e(0),n<r?(n-t)/(r-t):r<0?t/(t-r):1;}function vc(e,t){!0===t?e.style.removeProperty("touch-action"):e.style.touchAction=!0===t?"auto":t?"pan-"+t+(E.isTouch?" pinch-zoom":""):"none",e===Ue&&vc(We,t);}function xc(e){var t,r=e.event,n=e.target,i=e.axis,o=(r.changedTouches?r.changedTouches[0]:r).target,a=o._gsap||Ne.core.getCache(o),s=at();if(!a._isScrollT||2e3<s-a._isScrollT){for(;o&&o!==We&&(o.scrollHeight<=o.clientHeight&&o.scrollWidth<=o.clientWidth||!oe[(t=nb(o)).overflowY]&&!oe[t.overflowX]);)o=o.parentNode;a._isScroll=o&&o!==n&&!Ma(o)&&(oe[(t=nb(o)).overflowY]||oe[t.overflowX]),a._isScrollT=s;}!a._isScroll&&"x"!==i||(r.stopPropagation(),r._gsapAllow=!0);}function yc(e,t,r,n){return E.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:n=n&&xc,onPress:n,onDrag:n,onScroll:n,onEnable:function onEnable(){return r&&xb(Fe,E.eventTypes[0],se,!1,!0);},onDisable:function onDisable(){return yb(Fe,E.eventTypes[0],se,!0);}});}function Cc(e){function Gq(){return i=!1;}function Jq(){o=Ra(p,qe),T=Ge(R?1:0,o),f&&(k=Ge(0,Ra(p,He))),l=Ct;}function Kq(){v._gsap.y=Ja(parseFloat(v._gsap.y)+b.offset)+"px",v.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(v._gsap.y)+", 0, 1)",b.offset=b.cacheID=0;}function Qq(){Jq(),a.isActive()&&a.vars.scrollY>o&&(b()>o?a.progress(1)&&b(o):a.resetTo("scrollY",o));}Wa(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var n,o,l,i,a,c,u,s,f=e.normalizeScrollX,t=e.momentum,r=e.allowNestedScroll,d=e.onRelease,p=J(e.target)||Ue,g=Ne.core.globals().ScrollSmoother,h=g&&g.get(),v=R&&(e.content&&J(e.content)||h&&!1!==e.content&&!h.smooth()&&h.content()),b=L(p,qe),m=L(p,He),y=1,x=(E.isTouch&&Xe.visualViewport?Xe.visualViewport.scale*Xe.visualVie
32wport.width:Xe.outerWidth)/Xe.innerWidth,_=0,w=Ua(t)?function(){return t(n);}:function(){return t||2.8;},S=yc(p,e.type,!0,r),k=Ia,T=Ia;return v&&Ne.set(v,{y:"+=0"}),e.ignoreCheck=function(e){return R&&"touchmove"===e.type&&function ignoreDrag(){if(i){requestAnimationFrame(Gq);var e=Ja(n.deltaY/2),t=T(b.v-e);if(v&&t!==b.v+b.offset){b.offset=t-b.v;var r=Ja((parseFloat(v&&v._gsap.y)||0)-b.offset);v.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+r+", 0, 1)",v._gsap.y=r+"px",b.cacheID=ze.cache,Z();}return !0;}b.offset&&Kq(),i=!0;}()||1.05<y&&"touchstart"!==e.type||n.isGesturing||e.touches&&1<e.touches.length;},e.onPress=function(){i=!1;var e=y;y=Ja((Xe.visualViewport&&Xe.visualViewport.scale||1)/x),a.pause(),e!==y&&vc(p,1.01<y||!f&&"x"),c=m(),u=b(),Jq(),l=Ct;},e.onRelease=e.onGestureStart=function(e,t){if(b.offset&&Kq(),t){ze.cache++;var r,n,i=w();f&&(n=(r=m())+.05*i*-e.velocityX/.227,i*=uc(m,r,n,Ra(p,He)),a.vars.scrollX=k(n)),n=(r=b())+.05*i*-e.velocityY/.227,i*=uc(b,r,n,Ra(p,qe)),a.vars.scrollY=T(n),a.invalidate().duration(i).play(.01),(R&&a.vars.scrollY>=o||o-1<=r)&&Ne.to({},{onUpdate:Qq,duration:i});}else s.restart(!0);d&&d(e);},e.onWheel=function(){a._ts&&a.pause(),1e3<at()-_&&(l=0,_=at());},e.onChange=function(e,t,r,n,i){if(Ct!==l&&Jq(),t&&f&&m(k(n[2]===t?c+(e.startX-e.x):m()+t-n[1])),r){b.offset&&Kq();var o=i[2]===r,a=o?u+e.startY-e.y:b()+r-i[1],s=T(a);o&&a!==s&&(u+=s-a),b(s);}(r||t)&&Z();},e.onEnable=function(){vc(p,!f&&"x"),ne.addEventListener("refresh",Qq),xb(Xe,"resize",Qq),b.smooth&&(b.target.style.scrollBehavior="auto",b.smooth=m.smooth=!1),S.enable();},e.onDisable=function(){vc(p,!0),yb(Xe,"resize",Qq),ne.removeEventListener("refresh",Qq),S.kill();},e.lockAxis=!1!==e.lockAxis,((n=new E(e)).iOS=R)&&!b()&&b(1),R&&Ne.ticker.add(Ia),s=n._dc,a=Ne.to(n,{ease:"power4",paused:!0,inherit:!1,scrollX:f?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:qc(b,b(),function(){return a.pause();})},onUpdate:Z,onComplete:s.vars.onComplete}),n;}var ie,oe={auto:1,scroll:1},ae=/(input|label|select|textarea)/i,se=function _captureInputs(e){var t=ae.test(e.target.tagName);(t||ie)&&(e._gsapAllow=!0,ie=t);};ne.sort=function(e){if(Ua(e))return kt.sort(e);var t=Xe.pageYOffset||0;return ne.getAll().forEach(function(e){return e._sortY=e.trigger?t+e.trigger.getBoundingClientRect().top:e.start+Xe.innerHeight;}),kt.sort(e||function(e,t){return -1e6*(e.vars.refreshPriority||0)+(e.vars.containerAnimation?1e6:e._sortY)-((t.vars.containerAnimation?1e6:t._sortY)+-1e6*(t.vars.refreshPriority||0));});},ne.observe=function(e){return new E(e);},ne.normalizeScroll=function(e){if(void 0===e)return v;if(!0===e&&v)return v.enable();if(!1===e)return v&&v.kill(),void (v=e);var t=e instanceof E?e:Cc(e);return v&&v.target===t.target&&v.kill(),Ma(t.target)&&(v=t),t;},ne.core={_getVelocityProp:M,_inputObserver:yc,_scrollers:ze,_proxies:Ye,bridge:{ss:function ss(){st||V("scrollStart"),st=at();},ref:function ref(){return Ke;}}},La()&&Ne.registerPlugin(ne),e.ScrollTrigger=ne,e.default=ne;if(typeof (window)==="undefined"||window!==e)Object.defineProperty(e,"__esModule",{value:!0});else delete e.default;});;
33function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t;}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t;},_typeof(t);}function ownKeys(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable;})),n.push.apply(n,r);}return n;}function _objectSpread(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ownKeys(Object(n),!0).forEach(function(e){_defineProperty(t,e,n[e]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e));});}return t;}function _defineProperty(t,e,n){return (e=_toPropertyKey(e)) in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t;}function _toPropertyKey(t){var e=_toPrimitive(t,"string");return "symbol"==_typeof(e)?e:e+"";}function _toPrimitive(t,e){if("object"!=_typeof(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=_typeof(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.");}return ("string"===e?String:Number)(t);}function horizontalStatsInit(t){var e,n,r;if(t){gsap.registerPlugin(Draggable,InertiaPlugin);var i,o=t.querySelector(".horizontal-stats__track"),a=Array.from(t.querySelectorAll(".horizontal-stats__list-group-title")),s=Array.from(t.querySelectorAll(".horizontal-stats__items")),l=Array.from(t.querySelectorAll(".horizontal-stats__item")),c=t.querySelector(".horizontal-stats__button-controls"),f=c.querySelector(".horizontal-stats__left-button"),u=c.querySelector(".horizontal-stats__right-button"),d=!1,p=!1,h=0,y=t.offsetWidth,b=[],g="",v="",m=!1,_=gsap.matchMedia(),w=null===(e=t.dataset)||void 0===e?void 0:e.animationType,S=null===(n=t.dataset)||void 0===n?void 0:n.animationEase,P=parseFloat(null===(r=t.dataset)||void 0===r?void 0:r.animationDuration),x="transform,filter",z=function(){b=l.map(function(t){return t.offsetLeft;}),y=t.offsetWidth;},O=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=t.offsetLeft+e,r=n+t.offsetWidth;return n<y&&r>0;},j=function(t){var e=gsap.getProperty(o,"x")||0;if("right"===t){var n=l[l.length-1];return n.offsetLeft+n.offsetWidth+e>y;}return "left"===t&&e<0;},A={fade_in:{show:{opacity:1,x:0,visibility:"visible",clearProps:x},hide:{opacity:0,x:75,visibility:"hidden"}},scale_in:{show:{opacity:1,scale:1,visibility:"visible",clearProps:x},hide:{opacity:0,scale:.75,visibility:"hidden"}},blur_in:{show:{opacity:1,filter:"blur(0px)",visibility:"visible",clearProps:x},hide:{opacity:0,filter:"blur(8px)",visibility:"hidden"}}},E=function(t,e){var n=d?"none":w||"fade_in",r=A[n]||A.fade_in,i=e?r.show:r.hide;
33"none"===n||void 0===w?gsap.set(t,i):gsap.to(t,_objectSpread(_objectSpread({},i),{},{duration:P,ease:S}));},L=function(){var t=gsap.getProperty(o,"x"),e=o.parentElement.getBoundingClientRect();a.forEach(function(t){var n=t.closest(".horizontal-stats__list-group"),r=n.getBoundingClientRect(),i=e.left-r.left,o=n.offsetWidth-t.offsetWidth,a=Math.max(0,Math.min(i,o));gsap.set(t,{x:a});}),l.forEach(function(e,n){var r=O(e,t),i=e.querySelector(".horizontal-stats__link");r?(E(e,!0),e.setAttribute("aria-hidden","false"),null==i||i.setAttribute("tabindex","0")):(E(e,!1),e.setAttribute("aria-hidden","true"),null==i||i.setAttribute("tabindex","-1"));}),s.forEach(function(t){var e=t.querySelectorAll(".horizontal-stats__item"),n=Array.from(e).some(function(t){return "false"===t.getAttribute("aria-hidden");});t.setAttribute("aria-hidden",!n);});},D=function(){if(0!==l.length){var t=j("left"),e=j("right");f.disabled=!t,u.disabled=!e,f.classList.toggle("disabled",!t),u.classList.toggle("disabled",!e);var n=!t&&!e;c.classList.toggle("horizontal-stats__button-controls--hidden",n);var r=gsap.getProperty(o,"x"),i=l.findIndex(function(t){return O(t,r);}),a=l.findLastIndex(function(t){return O(t,r);});v=window.innerWidth<768?"Showing ".concat(i+1," of ").concat(l.length):"Showing items ".concat(i+1," to ").concat(a+1," of ").concat(l.length),m&&v!==g&&Drupal.announce(v),g=v,m=!0;}else c.classList.add("horizontal-stats__button-controls--hidden");},W=function(t){if(!p&&j(t)){if("left"===t&&h>0)h--;else{if(!("right"===t&&h<l.length-1))return;h++;}p=!0,gsap.to(o,{x:-b[h],onUpdate:function(){L();},onComplete:function(){p=!1,D(),L();}});}},q=function(){z(),void 0!==b[h=0]&&gsap.set(o,{x:-b[h]}),L(),D();},I=function(){clearTimeout(i),i=setTimeout(q,100);};_.add("(prefers-reduced-motion: reduce)",function(){d=!0;}),_.add("(prefers-reduced-motion: no-preference)",function(){d=!1;}),z(),L(),D(),t.draggableInstance=Draggable.create(o,{type:"x",bounds:t,zIndexBoost:!1,inertia:!0,lockAxis:!0,snap:{x:function(t){return -function(t){return b.reduce(function(e,n){return Math.abs(t-n)<Math.abs(t-e)?n:e;},b[0]);}(-t);}},onDrag:function(){L();},onThrowUpdate:function(){L();},onThrowComplete:function(){var t=gsap.getProperty(o,"x")||0,e=b.findIndex(function(e){return Math.abs(-e-t)<1;});-1!==e&&(h=e),D();}})[0],f.addEventListener("click",function(){return W("left");}),u.addEventListener("click",function(){return W("right");});var k=window.innerWidth;window.addEventListener("resize",function(){window.innerWidth!==k&&(k=window.innerWidth,window.addEventListener("resize",I));});}}!function(t,e){t.behaviors.horizontalStats={attach:function(t,n){e("horizontalStats",".horizontal-stats",t).forEach(horizontalStatsInit);}};}(Drupal,once);;
34function _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 ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable;})),r.push.apply(r,o);}return r;}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(r),!0).forEach(function(t){_defineProperty(e,t,r[t]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t));});}return e;}function _defineProperty(e,t,r){return (t=_toPropertyKey(t)) in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,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 r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=_typeof(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.");}return ("string"===t?String:Number)(e);}function themeBlockInit(e){var t,r,o,n;if(e){gsap.registerPlugin(ScrollTrigger);var i=e.querySelectorAll(".stats__value"),a=e.querySelector(".stats"),c=gsap.matchMedia(),l=null===(t=e.dataset)||void 0===t?void 0:t.animationType,u=null===(r=e.dataset)||void 0===r?void 0:r.animationEase,p=parseFloat(null===(o=e.dataset)||void 0===o?void 0:o.animationDuration),f=parseFloat(null==a||null===(n=a.dataset)||void 0===n?void 0:n.counterDuration),d="top 100%",s={fade_in:{begin:{autoAlpha:0,y:80},end:{autoAlpha:1,y:0}},scale_in:{begin:{autoAlpha:0,scale:.9},end:{autoAlpha:1,scale:1}},blur_in:{begin:{autoAlpha:0,filter:"blur(8px)"},end:{autoAlpha:1,filter:"blur(0px)"}}}[l];c.add("(prefers-reduced-motion: no-preference)",function(){s&&(gsap.set(e,s.end),gsap.fromTo(e,_objectSpread({},s.begin),_objectSpread(_objectSpread({},s.end),{},{ease:u,duration:p,overwrite:"auto",scrollTrigger:{trigger:e,start:"top 95%"}}
34))),f&&0!==i.length&&i.forEach(function(e){return function(e){var t,r,o=e.textContent.trim(),n=function(e){var t=e.replace(/[^\d.,]/g,"").replace(/,/g,"");return /^(\d{1,3}(,\d{3})*|\d+)?(\.\d+)?$/.test(t)?parseFloat(t):NaN;}(o);if(isNaN(n))return;var i=(null===(t=o.match(/^[^\d]+/))||void 0===t?void 0:t[0])||"",a=(null===(r=o.match(/[^\d]+$/))||void 0===r?void 0:r[0])||"";c.add("(prefers-reduced-motion: no-preference)",function(){var t={val:0};gsap.to(t,{val:n,duration:f,scrollTrigger:{trigger:e,start:d},onUpdate:function(){var r=(n.toString().split(".")[1]||"").length,o=r>0?t.val.toFixed(r):Math.floor(t.val),c=Number(o).toLocaleString(void 0,{minimumFractionDigits:r,maximumFractionDigits:r});e.textContent="".concat(i).concat(c).concat(a);}});}),c.add("(prefers-reduced-motion: reduce)",function(){e.textContent="".concat(i).concat(n.toLocaleString()).concat(a);});}(e);});}),y(),window.addEventListener("resize",y);}function y(){e.querySelectorAll(".bento-box__label, .promo-box__label").forEach(function(e){if(e){var t=e.offsetHeight;e.parentNode.style.setProperty("--label-height","".concat(t,"px"));}});}}!function(e,t){e.behaviors.themeBlock={attach:function(e,r){t("themeBlock",".theme-block",e).forEach(themeBlockInit);}};}(Drupal,once);;
35function _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 ownKeys(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable;})),o.push.apply(o,n);}return o;}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(o),!0).forEach(function(t){_defineProperty(e,t,o[t]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ownKeys(Object(o)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t));});}return e;}function _defineProperty(e,t,o){return (t=_toPropertyKey(t)) in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,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 o=e[Symbol.toPrimitive];if(void 0!==o){var n=o.call(e,t||"default");if("object"!=_typeof(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.");}return ("string"===t?String:Number)(e);}function tocThemeBlockInit(e){gsap.registerPlugin(ScrollTrigger);var t=e.querySelector(".toc-theme-block__content"),o=e.querySelector(".toc-theme-block__list-wrapper"),n=o.querySelector("ul"),r=[e],i=document.querySelector(".section-toc-theme-block"),c=document.querySelector(".header"),a=document.querySelector(".minimal-header"),l=document.querySelector("main"),s=n.querySelector("li:first-child a"),u=n.querySelector("li:last-child a"),f="toc-theme-block__list-wrapper--open",p=gsap.matchMedia();if(r.length){!function(){fnMultiListener(t,"click keydown",function(e){var t=o.classList.contains(f);"click"===e.type&&b(t),(keyCheck(SPACE_KEY)||keyCheck(RETURN_KEY))&&(e.stopPropagation(),e.preventDefault(),b(t),s&&s.focus());}),o.addEventListener("keydown",function(e){keyCheck(ESC_KEY)&&(e.preventDefault(),b(!0),t.focus());}),s&&s.addEventListener("keydown",function(e){keyCheck(TAB_KEY)&&e.shiftKey&&(e.preventDefault(),b(!0),t.focus());});u&&u.addEventListener("keydown",function(e){keyCheck(TAB_KEY)&&!e.shiftKey&&(e.preventDefault(),b(!0),t.focus());});function r(){if(i){if(l&&o.classList.contains(f)){var e=l.getBoundingClientRect().bottom;o.getBoundingClientRect().bottom>=e&&b(!0);}if(!(document.body.classList.contains("mega-menu--is-open")||window.innerWidth>=1024)){var t=a||c,n=i.getBoundingClientRect(),r=t.offsetHeight,s=Math.max(-r,Math.round(n.top-r)),u=Math.round(n.top);t.style.transform=s<0&&u>=-32?"translateY(".concat(s,"px)"):"none";}}}n.querySelectorAll("a[href^='#']").forEach(function(e){e.addEventListener("click",function(t){t.preventDefault();var o=e.getAttribute("href").substring(1),n=document.getElementById(o),r=n?n.closest(".section-theme-block"):null;if(r){var i=r.getBoundingClientRect().top+window.scrollY;window.scrollTo({top:i-48,behavior:"smooth"});}b(!0);});}),document.addEventListener("click",function(t){o.classList.contains(f)&&("click"!==t.type||e.contains(t.target)||b(!0));}),r(),window.addEventListener("resize",function(){r();}),window.addEventListener("scroll",r);}();var d="transform,filter",y={fade_in:{begin:{autoAlpha:1,y:0,visibility:"visible",clearProps:d},end:{autoAlpha:0,y:40,visibility:"hidden"}},blur_in:{begin:{autoAlpha:1,filter:"blur(0px)",visibility:"visible",clearProps:d},end:{autoAlpha:0,filter:"blur(8px)",visibility:"hidden"}},scale_in:{begin:{autoAlpha:1,scale:1,visibility:"visible",clearProps:d},end:{autoAlpha:0,scale:.75,visibility:"hidden"}}};p.add("(prefers-reduced-motion: no-preference)",function(){r.forEach(function(e){var t=e.dataset.animationType;if(t){var o=e.dataset.animationEase,n=parseFloat(e.dataset.animationDuration);y[t]&&(gsap.set(e,y[t].end),ScrollTrigger.create({trigger:e,start:"top 100%",once:!0,onEnter:function(){gsap.to(e,_objectSpread(_objectSpread({},y[t].begin),{},{duration:n,ease:o}));}}));}});});}function b(e){e?(o.classList.remove(f),t.setAttribute("aria-expanded","fal
35se")):(o.classList.add(f),t.setAttribute("aria-expanded","true"));}}!function(e,t){e.behaviors.tocThemeBlock={attach:function(e,o){t("tocThemeBlock",".toc-theme-block",e).forEach(tocThemeBlockInit);}};}(Drupal,once);;
36;
37(function($,Drupal,once){'use strict';Drupal.behaviors.improved_multi_select={detach:function(context,settings,trigger){const options=settings.improved_multi_select;remoteListeners(context);options.selectors.forEach(function(selector){$(once('improvedselect',selector,context)).each(function(){let $select=$(this);let imsSelectId=$select.attr('id');$('#improvedselect-'+imsSelectId).remove();$('#'+imsSelectId+'-cloned').remove();});});},attach:function(context,settings){$(document).ready(function(){let searchBox=$('input.improvedselect_filter');if(searchBox&&settings.improved_multi_select&&settings.improved_multi_select.placeholder_text)searchBox.attr("placeholder",settings.improved_multi_select.placeholder_text);});if(!settings.improved_multi_select||!settings.improved_multi_select.selectors){$.event.trigger('improvedMultiSelectAttached');return;}const options=settings.improved_multi_select;options.selectors.forEach(function(selector){improvedselectAttach(selector,options,context);});remoteListeners(context);$('.improvedselect_filter',context).bind('input',function(){improvedselectFilter($(this).attr('sid'),options,context);});$('.improvedselect .add',context).click(function(){let sid=$(this).attr('sid');$('#improvedselect-'+sid+' .improvedselect_all .selected',context).each(function(){let $opt=$(this);$opt.removeClass('selected');improvedselectUpdateGroupVisibility($opt,1);$('#improvedselect-'+sid+' .improvedselect_sel',context).append($opt);});improvedselectUpdate(sid,context);});$('.improvedselect .del',context).click(function(){let sid=$(this).attr('sid');$('#improvedselect-'+sid+' .improvedselect_sel .selected',context).each(function(){let $opt=$(this);$opt.removeClass('selected');$('#improvedselect-'+sid+' .improvedselect_all',context).append($opt);improvedselectUpdateGroupVisibility($opt,0);});$('#improvedselect-'+sid+' .improvedselect_filter',context).attr('prev','');improvedselectFilter(sid,options,context);improvedselectUpdate(sid,context);});$('.improvedselect .add_all',context).click(function(){let sid=$(this).attr('sid');$('#improvedselect-'+sid+' .improvedselect_all li[isgroup!=isgroup]',context).each(function(){let $opt=$(this);if($opt.css('display')!=='none'){$opt.removeClass('selected');improvedselectUpdateGroupVisibility($opt,1);$('#improvedselect-'+sid+' .improvedselect_sel',context).append($opt);}});improvedselectUpdate(sid,context);});$('.improvedselect .del_all',context).click(function(){let sid=$(this).attr('sid');$('#improvedselect-'+sid+' .improvedselect_sel li',context).each(function(){let $opt=$(this);$opt.removeClass('selected');$('#improvedselect-'+sid+' .improvedselect_all',context).append($opt);improvedselectUpdateGroupVisibility($opt,0);});$('#improvedselect-'+sid+' .improvedselect_filter',context).attr('prev','');improvedselectFilter(sid,options,context);improvedselectUpdate(sid,context);});$('.improvedselect .move_up',context).click(function(){let sid=$(this).attr('sid');$('#improvedselect-'+sid+' .improvedselect_sel .selected',context).each(function(){let $selected=$(this);$selected.prev(':not(.selected)').before($selected);});improvedselectUpdate(sid,context);});$('.improvedselect .move_down',context).click(function(){let sid=$(this).attr('sid');$($('#improvedselect-'+sid+' .improvedselect_sel .selected',context).get().reverse()).each(function(){let $selected=$(this);$selected.next(':not(.selected)').after($selected);});improvedselectUpdate(sid,context);});$.event.trigger('improvedMultiSelectInitialized',[$(this)]);$.event.trigger('improvedMultiSelectAttached');}};function remoteListeners(context){$('.improvedselect_filter',context).off('input');$('.improvedselect .add',context).off('click');$('.improvedselect .del',context).off('click');$('.improvedselect .add_all',context).off('click');$('.improvedselect .del_all',context).off('click');$('.improvedselect .move_up',context).off('click');$('.improvedselect .move_down',context).off('click');}function improvedselectFilter(sid,options,context){let $filter=$('#improvedselect-'+sid+' .improvedselect_filter',context);let $selectedGroup=$('#improvedselect-'+sid+' .improvedselect_tabs li.selected:not(.all) a',context);let text=$filter.val();let pattern;let regex;let words;if(text.length&&text!==$filter.attr('prev')){$filter.attr('prev',text);if(!options.js_regex)text=text.replace(/[[\]^$.\\()|?*+]/g,"\\$&").replace(/{([0-9]+,?[0-9]*)}/g,'\\{$1\\}');switch(options.filtertype){case 'partial':default:pattern=text;break;case 'exact':pattern='^'+text+'$';break;case 'anywords':{words=text.split(' ');pattern='';for(let i=0;i<words.length;i++)if(words[i])pattern+=(pattern)?'|\\b'+words[i]+'\\b':'\\b'+words[i]+'\\b';break;}case 'anywords_partial':{words=text.split(' ');pattern='';for(let i=0;i<words.length;i++)if(words[i])pattern+=(pattern)?'|'+words[i]+'':words[i];break;}case 'allwords':{words=text.split(' ');pattern='^';for(let i=0;i<words.length;i++)if(words[i])pattern+='(?=.*?\\b'+words[i]+'\\b)';break;}case 'allwords_partial':{words=text.split(' ');pattern='^';for(let i=0;i<words.length;i++)if(words[i])pattern+='(?=.*?'+words[i]+')';break;}}try{regex=new RegExp(pattern,'i');}catch(e){return;}$('#improvedselect-'+sid+' .improvedselect_all li',context).each(function(){let $opt=$(this);if($opt.attr('isgroup')!=='isgroup'){let str=$opt.text();if(str.match(regex)&&(!$selectedGroup.length||$selectedGroup.text()===$opt.attr('group'))){$opt.show();if($opt.attr('group'))if(!$selectedGroup.length)$opt.siblings('li[isgroup="isgroup"][so="---'+$opt.attr('group')+'---"]').show();else $opt.siblings('li[isgroup="isgroup"][so="---'+$opt.attr('group')+'---"]').hide();}else{$opt.hide();if($opt.attr('group'))if($opt.siblings('li[isgroup!="isgroup"][group="'+$opt.attr('group')+'"]:visible').length===0)$opt.siblings('li[isgroup="isgroup"][so="---'+$opt.attr('group')+'---"]').hide();}}});}else{if(!text.length)$filter.attr('prev','');$('#improvedselect-'+sid+' .improvedselect_all li',context).each(function(){let $opt=$(this);if($opt.attr('isgroup')!=='isgroup'){if(!$selectedGroup.length||$selectedGroup.text()===$opt.attr('group'))$opt.show();else $opt.hide();improvedselectUpdateGroupVisibility($opt,0);}}
37);}}function improvedselectAttach(selector,options,context){$(once('improvedselect',selector,context)).each(function(){let $select=$(this);let moveButtons='';let imsSelectId=$select.attr('id');let imsSelectClass=$select.attr('class');let $cloned_select=null;let regex=new RegExp('.+-cloned$','i');if(imsSelectId.match(regex))return;if(options.remove_required_attr)$select.removeAttr('required');if(options.orderable){$cloned_select=$select.clone();$cloned_select.attr('id',imsSelectId+'-cloned');$cloned_select.attr('name','cloned-'+$select.attr('name'));$cloned_select.appendTo($select.parent()).hide();moveButtons='<span class="move_up" sid="'+imsSelectId+'">'+Drupal.checkPlain(options.buttontext_moveup)+'</span>'+'<span class="move_down" sid="'+imsSelectId+'">'+Drupal.checkPlain(options.buttontext_movedown)+'</span>';}$select.parent().append('<div class="improvedselect" sid="'+imsSelectId+'" id="improvedselect-'+imsSelectId+'">'+'<div class="improvedselect-text-wrapper">'+'<input type="text" class="improvedselect_filter" sid="'+imsSelectId+'" prev="" />'+'</div><ul class="improvedselect_sel"></ul><ul class="improvedselect_all"></ul><div class="improvedselect_control">'+'<span class="add" sid="'+imsSelectId+'">'+Drupal.checkPlain(options.buttontext_add)+'</span>'+'<span class="del" sid="'+imsSelectId+'">'+Drupal.checkPlain(options.buttontext_del)+'</span>'+'<span class="add_all" sid="'+imsSelectId+'">'+Drupal.checkPlain(options.buttontext_addall)+'</span>'+'<span class="del_all" sid="'+imsSelectId+'">'+Drupal.checkPlain(options.buttontext_delall)+'</span>'+moveButtons+'</div><div class="clear"></div></div>');if(imsSelectClass.search("error")>0)$select.parent().find('.improvedselect').addClass('error');if($select.find('optgroup').has('option').length>0){$select.parent().find('.improvedselect').addClass('has_group');$('#improvedselect-'+imsSelectId+' .improvedselect-text-wrapper',context).after('<div class="improvedselect_tabs-wrapper" sid="'+imsSelectId+'"><ul class="improvedselect_tabs"></ul></div>');$select.find('optgroup').has('option').each(function(){$('#improvedselect-'+imsSelectId+' .improvedselect_tabs',context).append('<li><a href="">'+$(this).attr('label')+'</a></li>');});$('#improvedselect-'+imsSelectId+' .improvedselect_tabs',context).prepend('<li class="all"><a href="">'+Drupal.t('All')+'</a></li>');$('#improvedselect-'+imsSelectId+' .improvedselect_tabs li a',context).click(function(e){let $group=$(this);let sid=$group.parent().parent().parent().attr('sid');$('#improvedselect-'+imsSelectId+' .improvedselect_tabs li.selected',context).removeClass('selected').find('a').unwrap();$group.wrap('<div>').parents('li').first().addClass('selected');if(!$group.hasClass('all'))$('#improvedselect-'+imsSelectId+' .improvedselect_all li.selected[group!="'+$group.text()+'"]',context).removeClass('selected');if(options.groupresetfilter)$('#improvedselect-'+imsSelectId+' .improvedselect_filter',context).val('');$('#improvedselect-'+imsSelectId+' .improvedselect_filter',context).attr('prev','');improvedselectFilter(sid,options,context);e.preventDefault();});$('#improvedselect-'+imsSelectId+' .improvedselect_tabs li.all a',context).click();}$select.find('option, optgroup').each(function(){let $opt=$(this);let group='';if($opt[0].tagName==='OPTGROUP'){if($opt.has('option').length)$('#improvedselect-'+imsSelectId+' .improvedselect_all',context).append('<li isgroup="isgroup" so="---'+$opt.attr('label')+'---">--- '+$opt.attr('label')+' ---</li>');}else{group=$opt.parent('optgroup').attr('label');if(group)group=' group="'+group+'"';else group='';if($opt.attr('value')!=='_none')if($opt.attr('selected'))$('#improvedselect-'+imsSelectId+' .improvedselect_sel',context).append('<li so="'+$opt.attr('value')+'"'+group+'>'+$opt.html()+'</li>');else $('#improvedselect-'+imsSelectId+' .improvedselect_all',context).append('<li so="'+$opt.attr('value')+'"'+group+'>'+$opt.html()+'</li>');}});$('#improvedselect-'+imsSelectId+' .improvedselect_sel li, #improvedselect-'+imsSelectId+' .improvedselect_all li[isgroup!="isgroup"]',context).click(function(){$(this).toggleClass('selected');});$select.hide();$('#improvedselect-'+imsSelectId+' .improvedselect_sel li, #improvedselect-'+imsSelectId+' .improvedselect_all li[isgroup!="isgroup"]',context).dblclick(function(){let selected=$(this).parent().find('li.selected');let current_class=$(this).parent().attr('class');if(current_class==='improvedselect_all'){$(this).parent().find('li.selected').removeClass('selected');$(this).addClass('selected');$(this).parent().parent().find('.add').click();}else{$(this).parent().find('li.selected').removeClass('selected');$(this).addClass('selected');$(this).parent().parent().find('.del').click();}if(selected.length){for(let k=0;k<selected.length;k++)if($(selected[k]).parent().attr('class')===current_class)$(selected[k]).addClass('selected');}});$('.improvedselect_sel, .improvedselect_all').each(function(){if($(this).parent().height()>0)$(this).height($(this).parent().height()-35);});});}function improvedselectUpdateGroupVisibility($opt,numItems){let $selectedGroup=$opt.parents('.improvedselect').first().find('.improvedselect_tabs li.selected:not(.all) a');if($opt.parent().children('li[isgroup!="isgroup"][group="'+$opt.attr('group')+'"]:visible').length<=numItems||$selectedGroup.length)$opt.siblings('li[isgroup="isgroup"][so="---'+$opt.attr('group')+'---"]').hide();else $opt.siblings('li[isgroup="isgroup"][so="---'+$opt.attr('group')+'---"]').show();}function improvedselectUpdate(sid,context){let $select=$('#'+sid);
37let $cloned_select=$('#'+sid+'-cloned');if($cloned_select.length){$select.find('option, optgroup').remove();$cloned_select.find('option:selected').prop('selected',false);$('#improvedselect-'+sid+' .improvedselect_sel li',context).each(function(){let $li=$(this);$select.append($('<option></option>').attr('value',$li.attr('so')).prop('selected',true).text($li.text()));$('#'+sid+'-cloned [value="'+$(this).attr('so')+'"]',context).prop('selected',true);});}else{$select.find('option:selected').prop('selected',false);$('#improvedselect-'+sid+' .improvedselect_sel li',context).each(function(){$('#'+sid+' [value="'+$(this).attr('so')+'"]',context).prop('selected',true);});}$select.find('option, optgroup').each(function(){let $opt=$(this);if($opt[0].tagName==='OPTGROUP'){if($opt.has('option').length)$('#improvedselect-'+sid+' .improvedselect_all',context).append($('#improvedselect-'+sid+' .improvedselect_all [so="---'+$opt.attr('label')+'---"]',context));}else if($opt.attr('selected'))$('#improvedselect-'+sid+' .improvedselect_sel',context).append($('#improvedselect-'+sid+' .improvedselect_sel [so="'+$opt.attr('value')+'"]',context));else $('#improvedselect-'+sid+' .improvedselect_all',context).append($('#improvedselect-'+sid+' .improvedselect_all [so="'+$opt.attr('value')+'"]',context));});$('#'+sid,context).trigger('change');}})(jQuery,Drupal,once);;
38var maxWidth=drupalSettings.simpleResponsiveTable.maxWidth;var table=[].slice.call(document.querySelectorAll('table.table-to-card'));if(table!==null)table.forEach(function(element){var headers=[];var trth=[].slice.call(element.querySelectorAll('tr th'));trth.forEach(function(trthElement){var header=trthElement.innerHTML;header=header.replace(Drupal.t('Sort descending'),'');header=header.replace(Drupal.t('Sort ascending'),'');header=header.replace(/(<p[^>]+?>|<p>|<\/p>)/img,'');headers.push(header.trim());});var tr=[].slice.call(element.querySelectorAll('tr'));var td=[].slice.call(element.querySelectorAll('td'));tr.forEach(function(trElement){td.forEach(function(item,key){if(headers[key]){var temp=headers[key].replace(/(<p[^>]+?>|<p>|<\/p>)/img,'');item.setAttribute('data-title',temp);if(item.innerHTML.trim()==''&&item.innerHTML.trim()=='')item.innerHTML='<div class="simple-responsive-table-empty-row-data"></div>';}});});});var applyResponsiveTable=function applyResponsiveTable(){if(table!==null)if(window.innerWidth<=maxWidth)table.forEach(function(tableElement){var tableHeader=[];var tableTrTh=[].slice.call(tableElement.querySelectorAll('tr th'));tableTrTh.forEach(function(trthElement){var trthHeader=trthElement.innerHTML;tableHeader.push(trthHeader.trim());});if(tableHeader.length<=0)tableElement.classList.add("simple-responsive-table-without-th");tableElement.classList.add("simple-responsive-table");tableElement.classList.remove("sticky-enabled");});else table.forEach(function(tableElement){if(tableElement.getAttribute('class')=='simple-responsive-table'||tableElement.getAttribute('class')=='simple-responsive-table-without-th')tableElement.removeAttribute('class');else{tableElement.classList.remove('simple-responsive-table');tableElement.classList.remove('simple-responsive-table-without-th');}});};if(table!==null)table.forEach(function(){applyResponsiveTable();});document.addEventListener("DOMContentLoaded",applyResponsiveTable);window.addEventListener("resize",function(){applyResponsiveTable();});if(table!==null)table.forEach(function(incSizeElement){var incSizeHeaders=[];var incSizetrth=[].slice.call(incSizeElement.querySelectorAll('tr th'));incSizetrth.forEach(function(incSizetrthElement){var incSizeTemp=incSizetrthElement.innerHTML;incSizeHeaders.push(incSizeTemp.trim());});if(incSizeElement.clientWidth>=incSizeElement.parentElement.clientWidth){incSizeElement.classList.add("simple-responsive-table");if(incSizeHeaders.length<=0)incSizeElement.classList.add("simple-responsive-table-without-th");}else{incSizeElement.classList.remove("simple-responsive-table");if(incSizeHeaders.length<=0)incSizeElement.classList.add("simple-responsive-table-without-th");}});window.addEventListener("orientationchange",function(){var orientation=window.orientation;switch(orientation){case 0:case 90:case -90:window.location.reload();break;}});;

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.