PageSourceSearch

https://www.accion.org/wp-content/themes/accion/dist/assets/js/scripts.min.js?ver=1790751340

js accion.org collected 2026-10-02 04:49:52 UTC 27,327 bytes, 7 lines download raw bytes

1this.wdg=this.wdg||{},this.wdg.scripts=function(){"use strict";"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function e(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var t={exports:{}};
2/*!
3	 * headroom.js v0.12.0 - Give your page some headroom. Hide your header until you need it
4	 * Copyright (c) 2020 Nick Williams - http://wicky.nillia.ms/headroom.js
5	 * License: MIT
6	 */t.exports=function(){function e(){return"undefined"!=typeof window}function t(){var e=!1;try{var t={get passive(){e=!0}};window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(t){e=!1}return e}function s(){return!!(e()&&function(){}.bind&&"classList"in document.documentElement&&Object.assign&&Object.keys&&requestAnimationFrame)}function i(e){return 9===e.nodeType}function n(e){return e&&e.document&&i(e.document)}function a(e){var t=e.document,s=t.body,i=t.documentElement;return{scrollHeight:function(){return Math.max(s.scrollHeight,i.scrollHeight,s.offsetHeight,i.offsetHeight,s.clientHeight,i.clientHeight)},height:function(){return e.innerHeight||i.clientHeight||s.clientHeight},scrollY:function(){return void 0!==e.pageYOffset?e.pageYOffset:(i||s.parentNode||s).scrollTop}}}function o(e){return{scrollHeight:function(){return Math.max(e.scrollHeight,e.offsetHeight,e.clientHeight)},height:function(){return Math.max(e.offsetHeight,e.clientHeight)},scrollY:function(){return e.scrollTop}}}function r(e){return n(e)?a(e):o(e)}function d(e,s,i){var n,a=t(),o=!1,d=r(e),l=d.scrollY(),c={};function h(){var e=Math.round(d.scrollY()),t=d.height(),n=d.scrollHeight();c.scrollY=e,c.lastScrollY=l,c.direction=e>l?"down":"up",c.distance=Math.abs(e-l),c.isOutOfBounds=e<0||e+t>n,c.top=e<=s.offset[c.direction],c.bottom=e+t>=n,c.toleranceExceeded=c.distance>s.tolerance[c.direction],i(c),l=e,o=!1}function u(){o||(o=!0,n=requestAnimationFrame(h))}var m=!!a&&{passive:!0,capture:!1};return e.addEventListener("scroll",u,m),h(),{destroy:function(){cancelAnimationFrame(n),e.removeEventListener("scroll",u,m)}}}function l(e){return e===Object(e)?e:{down:e,up:e}}function c(e,t){t=t||{},Object.assign(this,c.options,t),this.classes=Object.assign({},c.options.classes,t.classes),this.elem=e,this.tolerance=l(this.tolerance),this.offset=l(this.offset),this.initialised=!1,this.frozen=!1}return c.prototype={constructor:c,init:function(){return c.cutsTheMustard&&!this.initialised&&(this.addClass("initial"),this.initialised=!0,setTimeout((function(e){e.scrollTracker=d(e.scroller,{offset:e.offset,tolerance:e.tolerance},e.update.bind(e))}),100,this)),this},destroy:function(){this.initialised=!1,Object.keys(this.classes).forEach(this.removeClass,this),this.scrollTracker.destroy()},unpin:function(){!this.hasClass("pinned")&&this.hasClass("unpinned")||(this.addClass("unpinned"),this.removeClass("pinned"),this.onUnpin&&this.onUnpin.call(this))},pin:function(){this.hasClass("unpinned")&&(this.addClass("pinned"),this.removeClass("unpinned"),this.onPin&&this.onPin.call(this))},freeze:function(){this.frozen=!0,this.addClass("frozen")},unfreeze:function(){this.frozen=!1,this.removeClass("frozen")},top:function(){this.hasClass("top")||(this.addClass("top"),this.removeClass("notTop"),this.onTop&&this.onTop.call(this))},notTop:function(){this.hasClass("notTop")||(this.addClass("notTop"),this.removeClass("top"),this.onNotTop&&this.onNotTop.call(this))},bottom:function(){this.hasClass("bottom")||(this.addClass("bottom"),this.removeClass("notBottom"),this.onBottom&&this.onBottom.call(this))},notBottom:function(){this.hasClass("notBottom")||(this.addClass("notBottom"),this.removeClass("bottom"),this.onNotBottom&&this.onNotBottom.call(this))},shouldUnpin:function(e){return"down"===e.direction&&!e.top&&e.toleranceExceeded},shouldPin:function(e){return"up"===e.direction&&e.toleranceExceeded||e.top},addClass:function(e){this.elem.classList.add.apply(this.elem.classList,this.classes[e].split(" "))},removeClass:function(e){this.elem.classList.remove.apply(this.elem.classList,this.classes[e].split(" "))},hasClass:function(e){return this.classes[e].split(" ").every((function(e){return this.classList.contains(e)}),this.elem)},update:function(e){e.isOutOfBounds||!0!==this.frozen&&(e.top?this.top():this.notTop(),e.bottom?this.bottom():this.notBottom(),this.shouldUnpin(e)?this.unpin():this.shouldPin(e)&&this.pin())}},c.options={tolerance:{up:0,down:0},offset:0,scroller:e()?window:null,classes:{frozen:"headroom--frozen",pinned:"headroom--pinned",unpinned:"headroom--unpinned",top:"headroom--top",notTop:"headroom--not-top",bottom:"headroom--bottom",notBottom:"headroom--not-bottom",initial:"headroom"}},c.cutsTheMustard=s(),c}();var s=e(t.exports);class i{constructor(e,t={}){this.node=e,this.opts={delay:200,activate:()=>{},deactivate:()=>{},activateEvent:"dropdown:activate",deactivateEvent:"dropdown:deactivate"};for(let e in t)t.hasOwnProperty(e)&&(this.opts[e]=t[e]);this.active=!1,this.enterTimeout=null,this.leaveTimeout=null;const s=function(e){e.preventDefault(),e.stopPropagation(),this.removeEventListener("click",
6s)},i=(e,t=!1)=>{if(this.active)return!1;let i=e.target;for(;i.parentNode&&i!==this.node;)"A"===i.tagName&&i.addEventListener("click",s),i=i.parentNode;return this.activate(e,t),!0},n=e=>{if("number"==typeof this.leaveTimeout)return window.clearTimeout(this.leaveTimeout);this.enterTimeout=setTimeout((()=>{this.activate(e)}),this.opts.delay)},a=e=>{if("number"==typeof this.enterTimeout)return window.clearTimeout(this.enterTimeout);this.leaveTimeout=window.setTimeout((()=>{this.deactivate(e)}),this.opts.delay)},o=e=>i(e,!0),r=e=>"touch"===e.pointerType?o(e):n(e),d=e=>"touch"===e.pointerType?o(e):a(e);window.PointerEvent?(this.node.addEventListener("pointerenter",r),this.node.addEventListener("pointerleave",d)):(this.node.addEventListener("touchstart",o),this.node.addEventListener("mouseenter",n),this.node.addEventListener("mouseleave",a)),this.node.addEventListener("keypress",(e=>"enter"===e.key.toLowerCase()?i(e):null)),this.node.addEventListener("blur",(()=>{this.active&&window.setTimeout((()=>{let e=document.activeElement;for(;e&&e.parentNode;){if(e===this.node)return;e=e.parentNode}this.deactivate()}),0)}),!0)}activate(e={},t=!1){this.active=!0,"number"==typeof this.enterTimeout&&(window.clearTimeout(this.enterTimeout),this.enterTimeout=null),t&&function(e){const t=e.querySelector(["a[href]","[contenteditable]","input:not([disabled])","select:not([disabled])","button:not([disabled])","textarea:not([disabled])",'[tabIndex]:not([tabIndex="-1"])'].join(", "));t&&t.focus()}(this.node),"function"==typeof this.opts.activate&&this.opts.activate.call(this.node,e),"string"==typeof this.opts.activateEvent&&this.dispatchEvent(this.opts.activateEvent)}deactivate(e={}){this.active=!1,"number"==typeof this.leaveTimeout&&(window.clearTimeout(this.leaveTimeout),this.leaveTimeout=null),"function"==typeof this.opts.deactivate&&this.opts.deactivate.call(this.node,e),"string"==typeof this.opts.deactivateEvent&&this.dispatchEvent(this.opts.deactivateEvent)}dispatchEvent(e,t=this.node){let s;"function"==typeof window.Event?s=new Event(e):(s=document.createEvent("Event"),s.initEvent(e,!0,!1)),t.dispatchEvent(s)}}"function"==typeof window.jQuery&&(window.jQuery.fn.dropdownEvent=function(e){return this.each((function(){window.jQuery(this).data("dropdownEvent",new i(this,e))}))});
6class n{constructor(e=".masthead"){if(this.node="string"==typeof e?document.querySelector(e):e,!this.node instanceof HTMLElement)return;this.menu=this.node.querySelector(".masthead__menu"),this.items=this.node.querySelector(".masthead__items"),this.back=this.node.querySelector(".masthead__back"),this.searchToggler=this.node.querySelector(".masthead__search-toggler"),this.search=this.node.querySelector(".masthead__search"),this.searchInput=this.search.querySelector(".masthead__search-input"),this.searchForm=this.search.querySelector(".masthead__search-form"),this.searchCloser=this.search.querySelector(".masthead__search-closer"),this.searchOpenClass="masthead__search--opened",this.opened=!1,this.headroom=new s(this.node,{tolerance:{up:7,down:5},classes:{initial:"masthead",pinned:"masthead--pinned",unpinned:"masthead--unpinned",top:"masthead--top",notTop:"masthead--not-top",bottom:"masthead--bottom",notBottom:"masthead--not-bottom",frozen:"masthead--frozen"}}),this.headroom.init(),this.headroom.update(this.headroom);const t=e=>{if(this.isDesktop()){e.target.classList.add("masthead__item--active");const t=e.target.querySelector(".masthead__mega");t&&t.classList.add("masthead__mega--active")}},n=e=>{if(this.isDesktop()){e.target.classList.remove("masthead__item--active");const t=e.target.querySelector(".masthead__mega");t&&t.classList.remove("masthead__mega--active")}},a=e=>{this.isDesktop()||(e.target.matches(".masthead__item--mega > .masthead__link")||e.target.closest(".masthead__item--mega > .masthead__link"))&&(e.preventDefault(),e.target.closest(".masthead__item--mega").querySelector(".masthead__mega").classList.add("masthead__mega--active"),this.back.classList.add("masthead__back--active"),this.items.classList.add("masthead__items--active"))};this.node.querySelectorAll(".masthead__item--mega").forEach((e=>{!function(e,t={}){if(e instanceof HTMLElement)return new i(e,t);const s="string"==typeof e?Array.from(document.querySelectorAll(e)):e.length?Array.from(e):[];!!Array.isArray(s)&&s.map((e=>new i(e,t)))}(e),e.addEventListener("click",a),e.addEventListener("dropdown:activate",t),e.addEventListener("dropdown:deactivate",n)})),this.back.addEventListener("click",(e=>{this.isDesktop()||(e.preventDefault(),this.back.classList.remove("masthead__back--active"),this.items.classList.remove("masthead__items--active"),this.node.querySelectorAll(".masthead__mega--active").forEach((e=>e.classList.remove("masthead__mega--active"))))})),this.searchToggler.addEventListener("click",(e=>{e.preventDefault(),this.node.classList.contains("masthead--search-open")?(this.close(),this.node.classList.remove("masthead--search-open")):(this.open(),this.node.classList.toggle("masthead--search-open"))})),this.menu.addEventListener("click",(e=>{e.preventDefault(),this.node.classList.contains("masthead--search-open")?this.node.classList.remove("masthead--search-open"):this.toggle()})),this.node.classList.contains("masthead--immersive")&&setTimeout((()=>this.node.classList.add("masthead--immersive-in")),1750)}isDesktop(){return!!window.matchMedia("(min-width:62em)").matches}open(){this.node.classList.add("masthead--menu-open"),document.body.classList.add("masthead-fixed"),this.opened=!0}close(){this.node.classList.remove("masthead--menu-open"),document.body.classList.remove("masthead-fixed"),this.opened=!1}toggle(){return this.opened?this.close():this.open()}}class a{constructor(){"loading"===document.readyState?document.addEventListener("DOMContentLoaded",this.ready.bind(this)):this.ready()}ready(){const e=document.querySelector(".section-nav");if(this.node=e,!e)return;if(this.opts={prev:e.querySelector(".section-nav__link--prev"),next:e.querySelector(".section-nav__link--next"),link:e.querySelector(".section-nav__link"),container:e.querySelector(".section-nav__body"),navs:e.querySelectorAll(".section-nav__nav"),primaryNav:document.querySelector(".masthead"),listPadding:100,classes:{navActive:"section-nav__nav--active",pinned:"section-nav--pinned",activeLink:"section-nav__link--active",animationActive:"animated-block--active"}},!this.opts.container)return;if(this.previousY=0,this.list=this.opts.container.querySelector("ul"),!this.list)return;this.navStartPosition=0,this.touchPreviousX=0,this.passed=!1,this.buffer=5,this.opts.prev.addEventListener("mousedown",(e=>this.reverse(e))),this.opts.prev.addEventListener("touchstart",(e=>this.reverse(e))),this.opts.next.addEventListener("mousedown",(e=>this.forward(e))),this.opts.next.addEventListener("touchstart",(e=>this.forward(e))),this.opts.prev.addEventListener("mouseup",(()=>this.stop())),this.opts.prev.addEventListener("touchend",(()=>this.stop())),this.opts.prev.addEventListener("touchcancel",(()=>this.stop())),this.opts.next.addEventListener("mouseup",(()=>this.stop())),this.opts.next.addEventListener("touchend",(()=>this.stop())),this.opts.next.addEventListener("touchcancel",(()=>this.stop())),this.maybeHideNav(),addEventListener("resize",(()=>this.maybeHideNav())),this.menuLinks=this.list.querySelectorAll("button"),this.menuLinks.forEach((e=>{e.addEventListener("click",(e=>{document.getElementById(e.target.dataset.href).scrollIntoView({behavior:"smooth",block:"center"})}))}));const t=[...[...this.menuLinks].map((e=>e.dataset.href))].filter((e=>document.getElementById(e))).map((e=>document.getElementById(e)));this.observers={sectionNavInView:new IntersectionObserver((e=>this.sectionNavInView(e)),{threshold:[.1,.13,.14,.2,.3,.4,.5,.6,.7,.8,.9,.99,1]}),sectionInView:new IntersectionObserver((e=>this.sectionInView(e)),{threshold:1})},t.forEach((e=>{this.observers.sectionInView.observe(e)})),this.observers.sectionNavInView.observe(this.node),setTimeout((()=>{this.node.classList.add(this.opts.classes.animationActive)}),1750)}sectionInView(e){e.forEach((e=>{const t=this.list.querySelector(`[data-href="${e.target.id}"]`);if(e.isIntersecting){if(!t)return;this.menuLinks.forEach((e=>{e.classList.remove(this.opts.classes.activeLink)})),t.classList.add(this.opts.classes.activeLink)}else t.classList.remove(this.opts.classes.activeLink)}))}show(){this.opts.primaryNav.style.setProperty("transform","translateY(-100%)"),this.node.classList.add(this.opts.classes.pinned)}hide(){this.node.classList.remove(this.opts.classes.pinned),this.opts.primaryNav.style.setProperty("transform","translateY(0)")}sectionNavInView(e){e.forEach((e=>{e.isIntersecting?this.interval=setInterval((()=>{const e=this.node.getBoundingClientRect().y;window.scrollY<this.previousY?this.hide():e<this.buffer&&window.scrollY>this.previousY&&(this.navStartPosition||(this.navStartPosition=window.scrollY),this.show()),this.navStartPosition&&window.scrollY-this.navStartPosition<=this.buffer&&this.hide(),this.previousY=window.scrollY}),333):(window.onscroll=!1,clearInterval(this.interval))}))}maybeHideNav(){this.list.offsetWidth-this.opts.listPadding>
6this.opts.container.offsetWidth?[...this.opts.navs].forEach((e=>e.classList.add(this.opts.classes.navActive))):[...this.opts.navs].forEach((e=>e.classList.remove(this.opts.classes.navActive)))}reverse(){this.interval=setInterval((()=>{this.opts.container.scrollLeft-=10,this.opts.container.scrollLeft<=5&&this.stop()}),10),this.maybeDisable()}forward(){this.interval=setInterval((()=>{this.opts.container.scrollLeft+=3}),5),this.opts.prev.disabled=!1,this.maybeDisable()}stop(){clearInterval(this.interval),this.maybeDisable()}maybeDisable(){this.opts.container.scrollLeft<=30?(this.opts.prev.disabled=!0,this.opts.next.disabled=!1):this.opts.prev.disabled=!1}}function o(e){let t=[];return Array.isArray(e)?t=e:e instanceof NodeList?t=Array.from(e):e instanceof HTMLElement?t=[e]:"string"==typeof e?t=Array.from(document.querySelectorAll(e)):null!==e&&console.error("Invalid node selector",e),t=t.filter((e=>e instanceof HTMLElement)),t}function r(e,t={threshold:50}){return new Promise(((s,i)=>{let n=parseFloat(t.threshold);isNaN(n)&&(n=50),n=Math.min(100,Math.max(0,n))/100;const a=new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting&&(s(e),a.disconnect())}))}),{threshold:n});a.observe(e)}))}function d(e){return Number.isInteger(e)||!isNaN(parseFloat(e))?`${e}ms`:e}class l{constructor(e,t={}){this.node=e,this.opts={delay:1,duration:null,interval:125,threshold:50,...t},this.node.classList.add("animated-lines"),this.words=this.node.textContent.split(" "),this.wordQueue=[],this.placeholder=document.createElement("span"),this.placeholder.classList.add("animated-lines__placeholder"),Array.from(this.node.childNodes).forEach((e=>this.placeholder.appendChild(e))),this.node.appendChild(this.placeholder);const s=getComputedStyle(this.node);this.lines=document.createElement("span"),this.lines.classList.add("animated-lines__lines"),this.lines.setAttribute("aria-hidden",!0),["paddingTop","paddingBottom","borderTopWidth","borderBottomWidth"].forEach((e=>{parseInt(s[e],10)>0&&(this.lines.style[e]=s[e])})),this.node.appendChild(this.lines),r(this.node,{threshold:this.opts.threshold}).then((()=>{this.prepare().then((()=>{setTimeout((()=>this.animate()),this.opts.delay)}))}))}lineItems(){return this.node.querySelectorAll(".animated-lines__line")}prepare(){const e=[...this.words];for(;this.lines.firstChild;)this.lines.removeChild(this.lines.firstChild);const t=()=>new Promise(((s,i)=>{const n=e.shift(),a=document.createElement("span");a.classList.add("animated-lines__word"),a.appendChild(document.createTextNode(n)),setTimeout((()=>{this.lines.lastElementChild||this.appendLine(),this.lines.lastElementChild.appendChild(document.createTextNode(" ")),this.lines.lastElementChild.appendChild(a),a.offsetParent&&a.offsetLeft+a.offsetWidth>a.offsetParent.offsetWidth&&(this.appendLine(),this.lines.lastElementChild.appendChild(a)),e.length?s(t()):s()}),1)}));return t()}appendLine(){const e=document.createElement("span");e.classList.add("animated-lines__line"),this.lines.appendChild(e)}reset(){const e=this.node.querySelector(".animated-lines__lines");return e&&e.parentNode.removeChild(e),this.placeholder&&this.placeholder.parentNode&&(this.placeholder.childNodes.forEach((e=>this.node.appendChild(e))),this.placeholder.parentNode.removeChild(this.placeholder)),this.node.classList.remove("animated-lines"),this.node.dataset.animated=!0,this}animate(){return new Promise((e=>
6{this.lineItems().forEach(((t,s,i)=>{setTimeout((()=>{if(t.classList.add("animated-lines__line--active"),s===i.length-1){let s=this.opts.duration;s||(s=1e3*parseFloat(getComputedStyle(t).animationDuration)),setTimeout((()=>e(this.reset())),2*s)}}),this.opts.interval*(s+1))}))}))}}function c(e,t={}){return t={delay:200,interval:100,duration:null,threshold:50,...t},o(e).map((e=>{!function(e){e.classList.add("animated-words"),e.childNodes.forEach((t=>{if(3===t.nodeType){const s=t.textContent.split(" ").reduce(((e,t,s)=>{s>0&&e.push(document.createTextNode(" "));const i=document.createElement("span");i.classList.add("animated-words__mask");const n=document.createElement("span");return n.classList.add("animated-words__word"),n.appendChild(document.createTextNode(t)),i.appendChild(n),e.push(i),e}),[]);e.removeChild(t),s.forEach((t=>e.appendChild(t)))}else prepareWordsNode(t)}))}(e);const s=e.querySelectorAll(".animated-words__word");return t.duration&&(t.duration=d(t.duration),s.forEach((e=>e.style.animationDuration=t.duration))),r(e,{threshold:t.threshold}).then((()=>{setTimeout((()=>{s.forEach(((e,s)=>{setTimeout((()=>e.classList.add("animated-words__word--visible")),t.interval*(s+1))}))}),t.delay)}))}))}function h(e){e.classList.add("animated-letters"),e.childNodes.forEach((t=>{if(3===t.nodeType){const s=t.textContent.split(" ").reduce(((e,t,s)=>{s>0&&e.push(document.createTextNode(" "));const i=document.createElement("span");return i.classList.add("animated-letters__word"),t.split("").forEach((e=>{const t=document.createElement("span");t.classList.add("animated-letters__mask");const s=document.createElement("span");s.classList.add("animated-letters__letter"),s.appendChild(document.createTextNode(e)),t.appendChild(s),i.appendChild(t)})),e.push(i),e}),[]);e.removeChild(t),s.forEach((t=>e.appendChild(t)))}else h(t)}))}function u(e,t={}){return t={delay:100,interval:50,duration:null,threshold:50,...t},o(e).forEach((e=>{h(e);const s=e.querySelectorAll(".animated-letters__letter");t.duration&&(t.duration=d(t.duration),s.forEach((e=>e.style.animationDuration=t.duration))),r(e,{threshold:t.threshold}).then((()=>{setTimeout((()=>{s.forEach(((e,s)=>{setTimeout((()=>e.classList.add("animated-letters__letter--visible")),t.interval*(s+1))}))}),t.delay)}))}))}function m(e,t={}){if(e.dataset.animation){switch(!t.delay&&e.dataset.animationDelay&&(t.delay=e.dataset.animationDelay),!t.duration&&e.dataset.animationDuration&&(t.duration=e.dataset.animationDuration),!t.threshold&&e.dataset.animationThreshold&&(t.threshold=e.dataset.animationThreshold),e.dataset.animation){case"ken-burns":!function(e,t={}){o(e).forEach((e=>{e.classList.add("animated-ken-burns"),t.duration&&(e.style.animationDuration=d(t.duration)),r(e,{threshold:t.threshold}).then((()=>setTimeout((()=>e.classList.add("animated-ken-burns--active")),t.delay)))}))}(e,t);break;case"lines":!function(e,t={}){o(e).map((e=>new l(e,t)))}(e,t);break;case"letters":u(e,t);break;case"words":c(e,t);break;case"image":!function(e,t={}){t={delay:1,duration:null,...t},o(e).forEach((e=>{e.classList.add("animated-image");let s=e.querySelector(".animated-image__wash");s||(s=document.createElement("div"),s.classList.add("animated-image__wash"),e.appendChild(s)),t.duration&&(e.style.animationDuration=d(t.duration)),r(e).then((()=>setTimeout((()=>e.classList.add("animated-image--active")),t.delay)))}))}(e,t);break;case"block":!function(e,t={}){t={delay:10,duration:null,...t},o(e).forEach((e=>{e.classList.add("animated-block"),t.duration&&(e.style.animationDuration=d(t.duration)),r(e).then((()=>setTimeout((()=>e.classList.add("animated-block--active")),t.delay)))}))}(e,t);break;case"fade":!function(e,t={}){t={delay:1,duration:null,...t},o(e).forEach((e=>{e.classList.add("animated-fade"),t.duration&&(e.style.animationDuration=d(t.duration)),r(e).then((()=>setTimeout((()=>e.classList.add("animated-fade--active")),t.delay)))}))}(e,t);break;case"scale":!function(e,t={}){t={delay:1,duration:null,...t},o(e).forEach((e=>{e.classList.add("animated-scale"),t.duration&&(e.style.animationDuration=d(t.duration)),r(e).then((()=>setTimeout((()=>e.classList.add("animated-scale--active")),t.delay)))}))}(e,t);break;case"reveal":!function(e,t={}){t={delay:10,duration:null,...t},o(e).forEach((e=>{e.classList.add("animated-reveal"),t.duration&&(e.style.animationDuration=d(t.duration)),t.threshold&&(e.style.animationDuration=d(t.threshold)),r(e).then((()=>setTimeout((()=>e.classList.add("animated-reveal--active")),t.delay)))}))}(e,t)}return e}}function p(e=".object-fit-cover",t="img",s="center"){if("string"==typeof e&&(e=Array.from(document.querySelectorAll(e))),e.length)for(let i=0,n=e.length;i<n;i++){let n=e[i].querySelector(t);n&&(e[i].style.backgroundPosition=s,e[i].style.backgroundSize="cover",e[i].style.backgroundImage=`url(${n.currentSrc||n.src})`,n.style.display="none")}}!function(e=".share__link--copy"){document.querySelectorAll(e).forEach((e=>e.addEventListener("click",(t=>{t.preventDefault(),function(e){const t=e.dataset.href||window.location;try{navigator.clipboard.writeText(t);const s=document.createElement("div");s.classList.add("share__confirm"),s.appendChild(document.createTextNode("Copied!")),e.classList.add("share__link--copied"),e.appendChild(s),setTimeout((()=>{e.classList.remove("share__link--copied"),s.parentNode.removeChild(s)}),4e3)}catch(e){console.error(e)}}(e)}))))}(),document.readyState.match(/complete|loaded/)?p():document.addEventListener("DOMContentLoaded",p);class f{constructor(e){if(this.node=e,this.sessionStorageKey=`announcement${this.node.dataset.key}`,this.node&&!sessionStorage.getItem(this.sessionStorageKey)){if(this.closer=this.node.querySelector(".announcement__close"),this.display=this.node.dataset.display||"immediate",this.delay=parseInt(this.node.dataset.delay,10)||8,this.scroll=parseInt(this.node.dataset.scroll,10)||30,"immediate"===this.display)this.open();else if("delay"===this.display)setTimeout((()=>this.open()),1e3*this.delay);else if("scroll"===this.display){const e=()=>{Math.round(document.documentElement.scrollTop/document.documentElement.scrollHeight*100)>=this.scroll&&(this.open(),window.removeEventListener("scroll",e))};window.addEventListener("scroll",e),e()}this.closer.addEventListener("click",(()=>this.close())),this.node.addEventListener("click",(e=>{let t=e.target;for(;t&&t!==this.node;)t.matches("a")&&this.close(),t=t.parentNode})),setTimeout((()=>{console.log("Time limit reached. No longer showing Global or Premium Announcements."),sessionStorage.setItem(this.sessionStorageKey,"1")}),7e3)}}open(){this.node.removeAttribute("hidden"),requestAnimationFrame((()=>requestAnimationFrame((()=>this.node.classList.add("announcement--open")))))}close(){const e=()=>{this.node.removeEventListener("transitionend",e),this.node.parentNode.removeChild(this.node)};this.node.addEventListener("transitionend",e),this.node.classList.remove("announcement--open"),sessionStorage.setItem(this.sessionStorageKey,"1")}}function v(){document.querySelectorAll(".announcements > .announcement").forEach((e=>{new f(e)}))}"loading"===document.readyState?document.addEventListener("DOMContentLoaded",v):v();var y=new class{constructor(){"loading"===document.readyState?document.addEventListener("DOMContentLoaded",this.ready.bind(this)):this.ready(),window.addEventListener("resize",function(e,t=50){let s=null;function i(...i){s||(s=setTimeout((()=>{e(...i),s=null}),t))}return i.cancel=()=>{clearTimeout(s),s=null},i}(this.resize.bind(this),25)),this.resize()}ready(){this.sectionnav=new a,this.masthead=new n,this.prepareFeaturedCaseStudy(),document.querySelectorAll("[data-animation]").forEach((e=>{m(e)})),function(e){const t={selectors:['iframe[src*="player.vimeo.com"]','
6iframe[src*="youtube.com"]','iframe[src*="youtube-nocookie.com"]',"object","embed"]};e&&(Array.isArray(e)||(e=[e]),t.selectors=t.selectors.concat(opts.selectors).filter(((e,t,s)=>s.indexOf(e)===t)));const s=[...document.querySelectorAll(t.selectors.join(","))].filter((e=>!e.classList.contains("tableauViz"))),i=Array.prototype.slice.call(s);i.length>0&&i.forEach((e=>{if(e.getAttribute("data-fitvid")||e.parentNode&&e.parentNode.classList.contains("wp-block-embed__wrapper"))return;const t=document.createElement("div"),s=window.getComputedStyle(e),i=100*(s.height>0&&s.width>0?s.height/s.width:9/16);t.className="fitvid",t.style.width="100%",t.style.height=0,t.style.position="relative",t.style.paddingTop=`${i}%`,e.style.position="absolute",e.style.top=0,e.style.left=0,e.style.width="100%",e.style.height="100%",e.setAttribute("data-fitvid",i),e.parentNode.insertBefore(t,e),t.appendChild(e)}))}()}resize(){document.body&&(window.innerWidth===document.body.clientWidth?document.documentElement.classList.remove("has-scrollbar"):document.documentElement.classList.add("has-scrollbar"))}prepareFeaturedCaseStudy(){document.querySelectorAll(".featured-case-study").forEach((e=>{const t=e.querySelector(".featured-case-study__column-left .wp-block-heading:first-child"),s=e.querySelectorAll(".featured-case-study__column-left .excerpt");t&&(t.dataset.animation="block");let i=0;const n=150;s.forEach((e=>{const t=e.querySelector(".excerpt__image"),s=e.querySelector(".excerpt__types"),a=e.querySelector(".excerpt__title a"),o=e.querySelector(".excerpt__footer");t&&(t.dataset.animation="image",t.dataset.animationDelay=i*n,i++),s&&(s.dataset.animation="block",s.dataset.animationDelay=i*n,i++),a&&(a.dataset.animation="lines",a.dataset.animationDelay=i*n,i++),o&&(o.dataset.animation="block",o.dataset.animationDelay=i*n,i++)}))}))}};return y}();
7//# sourceMappingURL=scripts.min.js.map

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.