1/*! For license information please see fwds_main.js.LICENSE.txt */ 2(()=>{"use strict";const t=function(){var t=document.querySelector(".site-header"),e=document.querySelectorAll(".anchor-divider");if(t&&e.length){var n=t.offsetHeight;e.forEach(function(t){t.style.top="-".concat(n,"px")})}};function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function n(t,n){if(t){if("string"==typeof t)return e(t,n);var r=Object.prototype.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)?e(t,n):void 0}}function r(t){return function(t){if(Array.isArray(t))return e(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||n(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var o={bounds:{}},i=function(){var t=document.querySelectorAll(".anchor-divider"),e=t.length;t.forEach(function(n,r){var i=n.getAttribute("name"),a=r===e-1,c=Math.floor(n.offsetTop);if(o.bounds[i]={start:c,end:!1},!a){var s=t[r+1],l=Math.floor(s.offsetTop-1);o.bounds[i]={start:c,end:l}}})};const s=i;function u(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(t){c=!0,o=t}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(t,e)||n(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const v=function(){document.body.parentElement.classList.remove("scroll-lock"),document.body.classList.remove("scroll-lock")},h=function(){document.body.parentElement.classList.add("scroll-lock"),document.body.classList.add("scroll-lock")};var p=function(){document.querySelector(".mobile-menu")&&document.querySelector(".site-header").offsetHeight};const y=function(){var t=document.querySelector(".mobile-menu"),e=document.querySelector(".mobile-menu__inner-content"),n=t.dataset.colorMode,r=t.dataset.menuStyle,o=document.querySelector(".site-header__main-menu > div"),i=document.querySelector(".site-header__secondary-menu > div"),a=document.querySelector(".site-header__action-items"),c=document.querySelector(".menu-trigger__container"),s=o.innerHTML.replace("mega-menu","mobile-menu");if(i&&i.innerHTML,a.innerHTML,e.innerHTML='\n <div class="mobile-menu__main">'.concat(s,"</div>\n "),"accordion"===r)t.querySelectorAll(".mobile-menu__main .dropdown").forEach(function(t){var e=t.querySelector(":scope > a"),n=document.createElement("div");n.classList.add("mobile-menu__panel-trigger"),e.parentNode.insertBefore(n,e),e.classList.remove("dropdown__trigger"),n.innerHTML='<button class="mobile-menu__panel-trigger-button dropdown__trigger"></button>'});else if("multiple-screens"===r){t.querySelectorAll(".mobile-menu__main .dropdown").forEach(function(t){var e=t.querySelector(":scope > a"),n=document.createElement("div");n.classList.add("mobile-menu__panel-trigger"),e.parentNode.insertBefore(n,e),e.classList.remove("dropdown__trigger"),n.innerHTML='<button class="mobile-menu__panel-trigger-button dropdown__trigger"></button>'});var l=document.createElement("button");l.classList.add("mobile-menu__back-btn"),l.textContent="Return to Main",t.querySelector(".mobile-menu__main").prepend(l),l.addEventListener("click",function(){var e=t.querySelector(".open");e&&(e.classList.remove("open"),t.classList.remove("panel-open"))}),t.querySelectorAll(".mobile-menu__panel-trigger").forEach(function(e){e.addEventListener("click",function(){t.querySelector(".open")?t.classList.add("panel-open"):t.classList.remove("panel-open")})})}c.addEventListener("click",function(){c.classList.contains("open")?function(t){var e=document.querySelector(".menu-trigger__container"),n=document.querySelector(".menu-trigger__label"),r=document.querySelector(".menu-trigger__button"),o=document.querySelector(".mobile-menu"),i=document.querySelector("body");e.classList.remove("open"),n.textContent="Menu",r.setAttribute("aria-expanded","fal
2se"),o.classList.remove("open"),i.classList.remove("menu-open"),i.classList.remove("menu-open--".concat(t)),v()}(n):function(t){var e=document.querySelector(".menu-trigger__container"),n=document.querySelector(".menu-trigger__label"),r=document.querySelector(".menu-trigger__button"),o=document.querySelector(".mobile-menu"),i=document.querySelector("body");e.classList.add("open"),n.textContent="Close",r.setAttribute("aria-expanded","true"),o.classList.add("open"),i.classList.add("menu-open"),i.classList.add("menu-open--".concat(t)),h(),p()}(n)})},b=p,q=function(){document.querySelectorAll(".overflow").forEach(function(t){var e=t.querySelectorAll(".overflow__item"),n=t.querySelector(".overflow__more-item"),r=t.querySelector(".overflow__more-list"),o=t.offsetWidth-n.offsetWidth,i=t.dataset.overflowMobile;if(!i&&window.innerWidth>768||i||void 0===i){var a=0;e.forEach(function(e){t.appendChild(e),(a+=e.offsetWidth)>o?(r.appendChild(e),n.classList.add("active")):n.classList.remove("active")}),t.appendChild(n)}else e.forEach(function(t){r.appendChild(t)}),n.classList.add("active")})};var k={bounds:{}},H=function(){var t=document.querySelectorAll(".pillars__anchor"),e=t.length;t.forEach(function(n,r){var o=n.getAttribute("name"),i=r===e-1,a=Math.floor(n.offsetTop);if(k.bounds[o]={start:a,end:!1},!i){var c=t[r+1],s=Math.floor(c.offsetTop-1);k.bounds[o]={start:a,end:s}}})};const C=function(){var t=document.querySelector(".site-header"),e=document.querySelectorAll(".pillars__anchor");if(t){var n=t.offsetHeight;e.forEach(function(t){t.style.top="-".concat(n+0,"px")})}},O=H,R=function(t,e,n,r){var o=document.createElement("dialog");o.classList.add("modal");var i=document.createElement("button");i.classList.add("modal__close-btn"),i.attributes.autofocus=!0,i.attributes.ariaLabel="Close modal",o.appendChild(i);var a=document.createElement("div");a.classList.add("modal__inner"),n.split(" ").forEach(function(t){a.classList.add(t)}),r||(a.innerHTML=e),o.appendChild(a),document.body.appendChild(o);var c=function(){r&&(a.innerHTML=""),o.close(),v()};t.addEventListener("click",function(){r&&(a.innerHTML=e),o.showModal(),h()}),i.addEventListener("click",function(){c()}),o.addEventListener("keydown",function(t){"Escape"===t.key&&c()}),o.addEventListener("click",function(t){var e=o.getBoundingClientRect();e.top<=t.clientY&&t.clientY<=e.top+e.height&&e.left<=t.clientX&&t.clientX<=e.left+e.width||c()})},I=function(){document.querySelectorAll(".sticky-image-sections").forEach(function(t){var e=t.querySelectorAll(".cb"),n=t.querySelector(".sticky-image-sections__container");function r(){var t=null,r=window.innerHeight/2-100,o=window.innerHeight/2+100;if(e.forEach(function(e){var n=e.getBoundingClientRect(),i=n.top+n.height/2;i>=r&&i<=o&&(t=e)}),t){var i=t.dataset.swap;if(i){n.querySelector(".active");var a=n.querySelector(".".concat(i));a.classList.contains("active")||(n.querySelectorAll(".active").forEach(function(t){return t.classList.remove("active")}),a.classList.add("active"))}}}"IntersectionObserver"in window&&new IntersectionObserver(function(e){u(e,1)[0].isIntersecting?t.classList.add("in-view"):t.classList.remove("in-view")},{root:null,threshold:.1}).observe(t),window.addEventListener("scroll",r),window.addEventListener("resize",r),r()})};function z(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 B(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?z(Object(n),!0).forEach(function(e){Y(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function N(t){return N="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},N(t)}function W(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Z(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function U(t,e,n){return e&&Z(t.prototype,e),n&&Z(t,n),t}function Y(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function G(t){return G=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},G(t)}
vendor: 15,624 bytes, line 2
2function F(t,e){return F=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},F(t,e)}function J(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}();return function(){var n,r=G(t);if(e){var o=G(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,n)}}function Q(){return Q="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=G(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(arguments.length<3?t:n):o.value}},Q.apply(this,arguments)}var tt={type:"slider",startAt:0,perView:1,focusAt:0,gap:10,autoplay:!1,hoverpause:!0,keyboard:!0,bound:!1,swipeThreshold:80,dragThreshold:120,perSwipe:"",touchRatio:.5,touchAngle:45,animationDuration:400,rewind:!0,rewindDuration:800,animationTimingFunc:"cubic-bezier(.165, .840, .440, 1)",waitForTransition:!0,throttle:10,direction:"ltr",peek:0,cloningRatio:1,breakpoints:{},classes:{swipeable:"glide--swipeable",dragging:"glide--dragging",direction:{ltr:"glide--ltr",rtl:"glide--rtl"},type:{slider:"glide--slider",carousel:"glide--carousel"},slide:{clone:"glide__slide--clone",active:"glide__slide--active"},arrow:{disabled:"glide__arrow--disabled"},nav:{active:"glide__bullet--active"}}};function et(t){console.error("[Glide warn]: ".concat(t))}function nt(t){return parseInt(t)}function rt(t){return"string"==typeof t}function ot(t){var e=N(t);return"function"===e||"object"===e&&!!t}function it(t){return"function"==typeof t}function at(t){return void 0===t}function ct(t){return t.constructor===Array}function lt(t,e,n){Object.defineProperty(t,e,n)}function ut(t,e){var n=Object.assign({},t,e);return e.hasOwnProperty("classes")&&(n.classes=Object.assign({},t.classes,e.classes),["direction","type","slide","arrow","nav"].forEach(function(r){e.classes.hasOwnProperty(r)&&(n.classes[r]=B(B({},t.classes[r]),e.classes[r]))})),e.hasOwnProperty("breakpoints")&&(n.breakpoints=Object.assign({},t.breakpoints,e.breakpoints)),n}var dt=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};W(this,t),this.events=e,this.hop=e.hasOwnProperty}return U(t,[{key:"on",value:function(t,e){if(!ct(t)){this.hop.call(this.events,t)||(this.events[t]=[]);var n=this.events[t].push(e)-1;return{remove:function(){delete this.events[t][n]}}}for(var r=0;r<t.length;r++)this.on(t[r],e)}},{key:"emit",value:function(t,e){if(ct(t))for(var n=0;n<t.length;n++)this.emit(t[n],e);else this.hop.call(this.events,t)&&this.events[t].forEach(function(t){t(e||{})})}}]),t}(),ft=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};W(this,t),this._c={},this._t=[],this._e=new dt,this.disabled=!1,this.selector=e,this.settings=ut(tt,n),this.index=this.settings.startAt}return U(t,[{key:"mount",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this._e.emit("mount.before"),ot(t)?this._c=function(t,e,n){var r={};for(var o in e)it(e[o])?r[o]=e[o](t,r,n):et("Extension must be a function");for(var i in r)it(r[i].mount)&&r[i].mount();return r}(this,t,this._e):et("You need to provide a object on `mount()`"),this._e.emit("mount.after"),this}},{key:"mutate",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return ct(t)?this._t=t:et("You need to provide a array on `mutate()`"),this}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.settings=ut(this.settings,t),t.hasOwnProperty("startAt")&&(this.index=t.startAt),this._e.emit("update"),this}},{key:"go",value:function(t){return this._c.Run.make(t),this}},{key:"move",value:function(t){return this._c.Transition.disable(),this._c.Move.make(t),this}},{key:"destroy",value:function(){return this._e.emit("destroy"),this}},{key:"play",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return t&&(this.settings.autoplay=t),this._e.emit("play"),this}},{key:"pause",value:function(){return this._e.emit("pause"),this}},{key:"disable",value:function(){return this.disabled=!0,this}},{key:"enable",value:function(){return this.disabled=!1,this}},{key:"on",value:function(t,e){return this._e.on(t,e),this}},{key:"isType",value:function(t){return this.settings.type===t}},{key:"settings",get:function(){return this._o},set:function(t){ot(t)?this._o=t:et("Options must be an `object` instance.")}},{key:"index",get:function(){return this._i},set:function(t){this._i=nt(t)}},{key:"type",get:function(){return this.settings.type}},{key:"disabled",get:function(){return this._d},set:function(t){this._d=!!t}}]),t}();function vt(){return(new Date).getTime()}function ht(t,e){var n,r,o,i,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},c=0,s=function(){c=!1===a.leading?0:vt(),n=null,i=t.apply(r,o),n||(r=o=null)},l=function(){var l=vt();c||!1!==a.leading||(c=l);var u=e-(l-c);return r=this,o=arguments,u<=0||u>e?(n&&(clearTimeout(n),n=null),c=l,i=t.apply(r,o),n||(r=o=null)):n||!1===a.trailing||(n=setTimeout(s,u)),i};return l.cancel=function(){clearTimeout(n),c=0,n=r=o=null},l}var pt={ltr:["marginLeft","marginRight"],rtl:["marginRight","marginLeft"]};function mt(t){if(t&&t.parentNode){for(var e=t.parentNode.firstChild,n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}return[]}function gt(t){return Array.prototype.slice.call(t)}var yt=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};W(this,t),this.listeners=e}return U(t,[{key:"on",value:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];rt(t)&&(t=[t]);for(var o=0;o<t.length;o++)this.listeners[t[o]]=n,e.addEventListener(t[o],this.listeners[t[o]],r)}},{key:"off",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];rt(t)&&(t=[t]);for(var r=0;r<t.length;r++)e.removeEventListener(t[r],this.listeners[t[r]],n)}},{key:"destroy",value:function(){delete this.listeners}}]),t}(),bt=["ltr","rtl"],_t={">":"<","<":">","=":"="};function wt(t,e){return{modify:function(t){return e.Direction.is("rtl")?-t:t}}}function St(t,e){return{modify:function(t){var n=Math.floor(t/e.Sizes.slideWidth);return t+e.Gaps.value*n}}}function At(t,e){return{modify:function(t){return t+e.Clones.grow/2}}}function Lt(t,e){return{modify:function(n){if(t.settings.focusAt>=0){var r=e.Peek.value;return ot(r)?n-r.before:n-r}return n}}}function Et(t,e){return{modify:function(n){var r=e.Gaps.value,o=e.Sizes.width,i=t.settings.focusAt,a=e.Sizes.slideWidth;return"center"===i?n-(o/2-a/2):n-a*i-r*i}}}var qt=!1;try{var kt=Object.defineProperty({},"passive",{get:function(){qt=!0}});window.addEventListener("testPassive",null,kt),window.removeEventListener("testPassive",null,kt)}catch(t){}var Ht=qt,xt=["touchstart","mousedown"],Ct=["touchmove","mousemove"],Ot=["touchend","touchcancel","mouseup","mouseleave"],Tt=["mousedown","mousemove","mouseup","mouseleave"],jt='[data-glide-el^="controls"]',Mt="".concat(jt,' [data-glide-dir*="<"]'),Rt="".concat(jt,' [data-glide-dir*=">"]');function Pt(t){return ot(t)?(e=t,Object.keys(e).sort().reduce(function(t,n){return t[n]=e[n],t[n],t},{})):(et("Breakpoints option must be an object"),{});var e}var Vt={Html:function(t,e,n){var r={mount:function(){this.root=t.selector,this.track=this.root.querySelector('[data-glide-el="track"]'),this.collectSlides()},collectSlides:function(){this.slides=gt(this.wrapper.children).filter(function(e){return!e.classList.contains(t.settings.classes.slide.clone)})}};return lt(r,"root",{get:function(){return r._r},set:function(t){rt(t)&&(t=document.querySelector(t)),null!==t?r._r=t:et("Root element must be a existing Html node")}}),lt(r,"track",{get:function(){return r._t},set:function(t){r._t=t}}),lt(r,"wrapper",{get:function(){return r.track.children[0]}}),n.on("update",function(){r.collectSlides()}),r},Translate:function(t,e,n){var r={set:function(n){var r=function(t,e){var r=[St,At,Lt,Et].concat(t._t,[wt]);return{mutate:function(o){for(var i=0;i<r.length;i++){var a=r[i];it(a)&&it(a().modify)?o=a(t,e,void 0).modify(o):et("Transformer should be a function that returns an object with `modify()` method")}return o}}}(t,e).mutate(n),o="translate3d(".concat(-1*r,"px, 0px, 0px)");e.Html.wrapper.style.mozTransform=o,e.Html.wrapper.style.webkitTransform=o,e.Html.wrapper.style.transform=o},remove:function(){e.Html.wrapper.style.transform=""},getStartIndex:function(){var n=e.Sizes.length,r=t.index,o=t.settings.perView;return e.Run.isOffset(">")||e.Run.isOffset("|>")?n+(r-o):(r+o)%n},getTravelDistance:function(){var n=e.Sizes.slideWidth*t.settings.perView;return e.Run.isOffset(">")||e.Run.isOffset("|>")?-1*n:n}};return n.on("move",function(o){if(!t.isType("carousel")||!e.Run.isOffset())return r.set(o.movement);e.Transition.after(function(){n.emit("translate.jump"),r.set(e.Sizes.slideWidth*t.index)});var i=e.Sizes.slideWidth*e.Translate.getStartIndex();return r.set(i-e.Translate.getTravelDistance())}),n.on("destroy",function(){r.remove()}),r},Transition:function(t,e,n){var r=!1,o={compose:function(e){var n=t.settings;return r?"".concat(e," 0ms ").concat(n.animationTimingFunc):"".concat(e," ").concat(this.duration,"ms ").concat(n.animationTimingFunc)},set:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform";e.Html.wrapper.style.transition=this.compose(t)},remove:function(){e.Html.wrapper.style.transition=""},after:function(t){setTimeout(function(){t()},this.duration)},enable:function(){r=!1,this.set()},disable:function(){r=!0,this.set()}};return lt(o,"duration",{get:function(){var n=t.settings;return t.isType("slider")&&e.Run.offset?n.rewindDuration:n.animationDuration}}),n.on("move",function(){o.set()}),n.on(["build.before","resize","translate.jump"],function(){o.disable()}),n.on("run",function(){o.enable()}),n.on("destroy",function(){o.remove()}),o},Direction:function(t,e,n){var r={mount:function(){this.value=t.settings.direction},resolve:function(t){var e=t.slice(0,1);return this.is("rtl")?t.split(e).join(_t[e]):t},is:function(t){return this.value===t},addClass:function(){e.Html.root.classList.add(t.settings.classes.direction[this.value])},removeClass:function(){e.Html.root.classList.remove(t.settings.classes.direction[this.value])}};return lt(r,"value",{get:function(){return r._v},set:function(t){bt.indexOf(t)>-1?r._v=t:et("Direction value must be `ltr` or `rtl`")}}),n.on(["destroy","update"],function(){r.removeClass()}),n.on("update",function(){r.mount()}),n.on(["build.before","update"],function(){r.addClass()}),r},Peek:function(t,e,n){var r={mount:function(){this.value=t.settings.peek}};return lt(r,"value",{get:function(){return r._v},set:function(t){ot(t)?(t.before=nt(t.before),t.after=nt(t.after)):t=nt(t),r._v=t}}),lt(r,"reductor",{get:function(){var e=r.value,n=t.settings.perView;return ot(e)?e.before/n+e.after/n:2*e/n}}),n.on(["resize","update"],function(){r.mount()}),r},Sizes:function(t,e,n){var r={setupSlides:function(){for(var t="".concat(this.slideWidth,"px"),n=e.Html.slides,r=0;r<n.length;r++)n[r].style.width=t},setupWrapper:function(){e.Html.wrapper.style.width="".concat(this.wrapperSize,"px")},remove:function(){for(var t=e.Html.slides,n=0;n<t.length;n++)t[n].style.width="";e.Html.wrapper.style.width=""}};return lt(r,"length",{get:function(){return e.Html.slides.length}}),lt(r,"width",{get:function(){return e.Html.track.offsetWidth}}),lt(r,"wrapperSize",{get:function(){return r.slideWidth*r.length+e.Gaps.grow+e.Clones.grow}}),lt(r,"slideWidth",{get:function(){return r.width/t.settings.perView-e.Peek.reductor-e.Gaps.reductor}}),n.on(["build.before","resize","update"],function(){r.setupSlides(),r.setupWrapper()}),n.on("destroy",function(){r.remove()}),r},Gaps:function(t,e,n){var r={apply:function(t){for(var n=0,r=t.length;n<r;n++){var o=t[n].style,i=e.Direction.value;o[pt[i][0]]=0!==n?"".concat(this.value/2,"px"):"",n!==t.length-1?o[pt[i][1]]="".concat(this.value/2,"px"):o[pt[i][1]]=""}},remove:function(t){for(var e=0,n=t.length;e<n;e++){var r=t[e].style;r.marginLeft="",r.marginRight=""}}};return lt(r,"value",{get:function(){return nt(t.settings.gap)}}),lt(r,"grow",{get:function(){return r.value*e.Sizes.length}}),lt(r,"reductor",{get:function(){var e=t.settings.perView;return r.value*(e-1)/e}}),n.on(["build.after","update"],ht(function(){r.apply(e.Html.wrapper.children)},30)),n.on("destroy",function(){r.remove(e.Html.wrapper.children)}),r},Move:function(t,e,n){var r={mount:function(){this._o=0},make:function(){var t=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.offset=r,n.emit("move",{movement:this.value}),e.Transition.after(function(){n.emit("move.after",{movement:t.value})})}};return lt(r,"offset",{get:function(){return r._o},set:function(t){r._o=at(t)?0:nt(t)}}),lt(r,"translate",{get:function(){return e.Sizes.slideWidth*t.index}}),lt(r,"value",{get:function(){var t=this.offset,n=this.translate;return e.Direction.is("rtl")?n+t:n-t}}),n.on(["build.before","run"],function(){r.make()}),r},Clones:function(t,e,n){var r={mount:function(){this.items=[],t.isType("carousel")&&(this.items=this.collect())},collect:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=e.Html.slides,o=t.settings,i=o.perView,a=o.classes,c=o.cloningRatio;if(r.length>0)for(var l=i+ +!!t.settings.peek+Math.round(i/2),u=r.slice(0,l).reverse(),d=r.slice(-1*l),f=0;f<Math.max(c,Math.floor(i/r.length));f++){for(var v=0;v<u.length;v++){var h=u[v].cloneNode(!0);h.classList.add(a.slide.clone),n.push(h)}for(var p=0;p<d.length;p++){var m=d[p].cloneNode(!0);m.classList.add(a.slide.clone),n.unshift(m)}}return n},append:function(){for(var t=this.items,n=e.Html,r=n.wrapper,o=n.slides,i=Math.floor(t.length/2),a=t.slice(0,i).reverse(),c=t.slice(-1*i).reverse(),s="".concat(e.Sizes.slideWidth,"px"),l=0;l<c.length;l++)r.appendChild(c[l]);for(var u=0;u<a.length;u++)r.insertBefore(a[u],o[0]);for(var d=0;d<t.length;d++)t[d].style.width=s},remove:function(){for(var t=this.items,n=0;n<t.length;n++)e.Html.wrapper.removeChild(t[n])}};return lt(r,"grow",{get:function(){return(e.Sizes.slideWidth+e.Gaps.value)*r.items.length}}),n.on("update",function(){r.remove(),r.mount(),r.append()}),n.on("build.before",function(){t.isType("carousel")&&r.append()}),n.on("destroy",function(){r.remove()}),r},Resize:function(t,e,n){var r=new yt,o={mount:function(){this.bind()},bind:function(){r.on("resize",window,ht(function(){n.emit("resize")},t.settings.throttle))},unbind:function(){r.off("resize",window)}};return n.on("destroy",function(){o.unbind(),r.destroy()}),o},Build:function(t,e,n){var r={mount:function(){n.emit("build.before"),this.typeClass(),this.activeClass(),n.emit("build.after")},typeClass:function(){e.Html.root.classList.add(t.settings.classes.type[t.settings.type])},activeClass:function(){var n=t.settings.classes,r=e.Html.slides[t.index];r&&(r.classList.add(n.slide.active),mt(r).forEach(function(t){t.classList.remove(n.slide.active)}))},removeClasses:function(){var n=t.settings.classes,r=n.type,o=n.slide;e.Html.root.classList.remove(r[t.settings.type]),e.Html.slides.forEac
2h(function(t){t.classList.remove(o.active)})}};return n.on(["destroy","update"],function(){r.removeClasses()}),n.on(["resize","update"],function(){r.mount()}),n.on("move.after",function(){r.activeClass()}),r},Run:function(t,e,n){var r={mount:function(){this._o=!1},make:function(r){var o=this;t.disabled||(!t.settings.waitForTransition||t.disable(),this.move=r,n.emit("run.before",this.move),this.calculate(),n.emit("run",this.move),e.Transition.after(function(){o.isStart()&&n.emit("run.start",o.move),o.isEnd()&&n.emit("run.end",o.move),o.isOffset()&&(o._o=!1,n.emit("run.offset",o.move)),n.emit("run.after",o.move),t.enable()}))},calculate:function(){var e=this.move,n=this.length,o=e.steps,i=e.direction,a=1;if("="===i)return t.settings.bound&&nt(o)>n?void(t.index=n):void(t.index=o);if(">"!==i||">"!==o)if("<"!==i||"<"!==o){if("|"===i&&(a=t.settings.perView||1),">"===i||"|"===i&&">"===o){var c=function(e){var n=t.index;return t.isType("carousel")?n+e:n+(e-n%e)}(a);return c>n&&(this._o=!0),void(t.index=function(e,n){var o=r.length;return e<=o?e:t.isType("carousel")?e-(o+1):t.settings.rewind?r.isBound()&&!r.isEnd()?o:0:r.isBound()?o:Math.floor(o/n)*n}(c,a))}if("<"===i||"|"===i&&"<"===o){var s=function(e){var n=t.index;return t.isType("carousel")?n-e:(Math.ceil(n/e)-1)*e}(a);return s<0&&(this._o=!0),void(t.index=function(e,n){var o=r.length;return e>=0?e:t.isType("carousel")?e+(o+1):t.settings.rewind?r.isBound()&&r.isStart()?o:Math.floor(o/n)*n:0}(s,a))}et("Invalid direction pattern [".concat(i).concat(o,"] has been used"))}else t.index=0;else t.index=n},isStart:function(){return t.index<=0},isEnd:function(){return t.index>=this.length},isOffset:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return t?!!this._o&&("|>"===t?"|"===this.move.direction&&">"===this.move.steps:"|<"===t?"|"===this.move.direction&&"<"===this.move.steps:this.move.direction===t):this._o},isBound:function(){return t.isType("slider")&&"center"!==t.settings.focusAt&&t.settings.bound}};return lt(r,"move",{get:function(){return this._m},set:function(t){var e=t.substr(1);this._m={direction:t.substr(0,1),steps:e?nt(e)?nt(e):e:0}}}),lt(r,"length",{get:function(){var n=t.settings,r=e.Html.slides.length;return this.isBound()?r-1-(nt(n.perView)-1)+nt(n.focusAt):r-1}}),lt(r,"offset",{get:function(){return this._o}}),r},Swipe:function(t,e,n){var r=new yt,o=0,i=0,a=0,c=!1,s=!!Ht&&{passive:!0},l={mount:function(){this.bindSwipeStart()},start:function(e){if(!c&&!t.disabled){this.disable();var r=this.touches(e);o=null,i=nt(r.pageX),a=nt(r.pageY),this.bindSwipeMove(),this.bindSwipeEnd(),n.emit("swipe.start")}},move:function(r){if(!t.disabled){var c=t.settings,s=c.touchAngle,l=c.touchRatio,u=c.classes,d=this.touches(r),f=nt(d.pageX)-i,v=nt(d.pageY)-a,h=Math.abs(f<<2),p=Math.abs(v<<2),m=Math.sqrt(h+p),g=Math.sqrt(p);if(!(180*(o=Math.asin(g/m))/Math.PI<s))return!1;r.stopPropagation(),e.Move.make(f*parseFloat(l)),e.Html.root.classList.add(u.dragging),n.emit("swipe.move")}},end:function(r){if(!t.disabled){var a=t.settings,c=a.perSwipe,s=a.touchAngle,l=a.classes,u=this.touches(r),d=this.threshold(r),f=u.pageX-i,v=180*o/Math.PI;this.enable(),f>d&&v<s?e.Run.make(e.Direction.resolve("".concat(c,"<"))):f<-d&&v<s?e.Run.make(e.Direction.resolve("".concat(c,">"))):e.Move.make(),e.Html.root.classList.remove(l.dragging),this.unbindSwipeMove(),this.unbindSwipeEnd(),n.emit("swipe.end")}},bindSwipeStart:function(){var n=this,o=t.settings,i=o.swipeThreshold,a=o.dragThreshold;i&&r.on(xt[0],e.Html.wrapper,function(t){n.start(t)},s),a&&r.on(xt[1],e.Html.wrapper,function(t){n.start(t)},s)},unbindSwipeStart:function(){r.off(xt[0],e.Html.wrapper,s),r.off(xt[1],e.Html.wrapper,s)},bindSwipeMove:function(){var n=this;r.on(Ct,e.Html.wrapper,ht(function(t){n.move(t)},t.settings.throttle),s)},unbindSwipeMove:function(){r.off(Ct,e.Html.wrapper,s)},bindSwipeEnd:function(){var t=this;r.on(Ot,e.Html.wrapper,function(e){t.end(e)})},unbindSwipeEnd:function(){r.off(Ot,e.Html.wrapper)},touches:function(t){return Tt.indexOf(t.type)>-1?t:t.touches[0]||t.changedTouches[0]},threshold:function(e){var n=t.settings;return Tt.indexOf(e.type)>-1?n.dragThreshold:n.swipeThreshold},enable:function(){return c=!1,e.Transition.enable(),this},disable:function(){return c=!0,e.Transition.disable(),this}};return n.on("build.after",function(){e.Html.root.classList.add(t.settings.classes.swipeable)}),n.on("destroy",function(){l.unbindSwipeStart(),l.unbindSwipeMove(),l.unbindSwipeEnd(),r.destroy()}),l},Images:function(t,e,n){var r=new yt,o={mount:function(){this.bind()},bind:function(){r.on("dragstart",e.Html.wrapper,this.dragstart)},unbind:function(){r.off("dragstart",e.Html.wrapper)},dragstart:function(t){t.preventDefault()}};return n.on("destroy",function(){o.unbind(),r.destroy()}),o},Anchors:function(t,e,n){var r=new yt,o=!1,i=!1,a={mount:function(){this._a=e.Html.wrapper.querySelectorAll("a"),this.bind()},bind:function(){r.on("click",e.Html.wrapper,this.click)},unbind:function(){r.off("click",e.Html.wrapper)},click:function(t){i&&(t.stopPropagation(),t.preventDefault())},detach:function(){if(i=!0,!o){for(var t=0;t<this.items.length;t++)this.items[t].draggable=!1;o=!0}return this},attach:function(){if(i=!1,o){for(var t=0;t<this.items.length;t++)this.items[t].draggable=!0;o=!1}return this}};return lt(a,"items",{get:function(){return a._a}}),n.on("swipe.move",function(){a.detach()}),n.on("swipe.end",function(){e.Transition.after(function(){a.attach()})}),n.on("destroy",function(){a.attach(),a.unbind(),r.destroy()}),a},Controls:function(t,e,n){var r=new yt,o=!!Ht&&{passive:!0},i={mount:function(){this._n=e.Html.root.querySelectorAll('[data-glide-el="
2controls[nav]"]'),this._c=e.Html.root.querySelectorAll(jt),this._arrowControls={previous:e.Html.root.querySelectorAll(Mt),next:e.Html.root.querySelectorAll(Rt)},this.addBindings()},setActive:function(){for(var t=0;t<this._n.length;t++)this.addClass(this._n[t].children)},removeActive:function(){for(var t=0;t<this._n.length;t++)this.removeClass(this._n[t].children)},addClass:function(e){var n=t.settings,r=e[t.index];r&&(r.classList.add(n.classes.nav.active),mt(r).forEach(function(t){t.classList.remove(n.classes.nav.active)}))},removeClass:function(e){var n=e[t.index];null==n||n.classList.remove(t.settings.classes.nav.active)},setArrowState:function(){if(!t.settings.rewind){var n=i._arrowControls.next,r=i._arrowControls.previous;this.resetArrowState(n,r),0===t.index&&this.disableArrow(r),t.index===e.Run.length&&this.disableArrow(n)}},resetArrowState:function(){for(var e=t.settings,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];r.forEach(function(t){gt(t).forEach(function(t){t.classList.remove(e.classes.arrow.disabled)})})},disableArrow:function(){for(var e=t.settings,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];r.forEach(function(t){gt(t).forEach(function(t){t.classList.add(e.classes.arrow.disabled)})})},addBindings:function(){for(var t=0;t<this._c.length;t++)this.bind(this._c[t].children)},removeBindings:function(){for(var t=0;t<this._c.length;t++)this.unbind(this._c[t].children)},bind:function(t){for(var e=0;e<t.length;e++)r.on("click",t[e],this.click),r.on("touchstart",t[e],this.click,o)},unbind:function(t){for(var e=0;e<t.length;e++)r.off(["click","touchstart"],t[e])},click:function(t){Ht||"touchstart"!==t.type||t.preventDefault();var n=t.currentTarget.getAttribute("data-glide-dir");e.Run.make(e.Direction.resolve(n))}};return lt(i,"items",{get:function(){return i._c}}),n.on(["mount.after","move.after"],function(){i.setActive()}),n.on(["mount.after","run"],function(){i.setArrowState()}),n.on("destroy",function(){i.removeBindings(),i.removeActive(),r.destroy()}),i},Keyboard:function(t,e,n){var r=new yt,o={mount:function(){t.settings.keyboard&&this.bind()},bind:function(){r.on("keyup",document,this.press)},unbind:function(){r.off("keyup",document)},press:function(n){var r=t.settings.perSwipe;["ArrowRight","ArrowLeft"].includes(n.code)&&e.Run.make(e.Direction.resolve("".concat(r).concat({ArrowRight:">",ArrowLeft:"<"}[n.code])))}};return n.on(["destroy","update"],function(){o.unbind()}),n.on("update",function(){o.mount()}),n.on("destroy",function(){r.destroy()}),o},Autoplay:function(t,e,n){var r=new yt,o={mount:function(){this.enable(),this.start(),t.settings.hoverpause&&this.bind()},enable:function(){this._e=!0},disable:function(){this._e=!1},start:function(){var r=this;this._e&&(this.enable(),t.settings.autoplay&&at(this._i)&&(this._i=setInterval(function(){r.stop(),e.Run.make(">"),r.start(),n.emit("autoplay")},this.time)))},stop:function(){this._i=clearInterval(this._i)},bind:function(){var t=this;r.on("mouseover",e.Html.root,function(){t._e&&t.stop()}),r.on("mouseout",e.Html.root,function(){t._e&&t.start()})},unbind:function(){r.off(["mouseover","mouseout"],e.Html.root)}};return lt(o,"time",{get:function(){return nt(e.Html.slides[t.index].getAttribute("data-glide-autoplay")||t.settings.autoplay)}}),n.on(["destroy","update"],function(){o.unbind()}),n.on(["run.before","swipe.start","update"],function(){o.stop()}),n.on(["pause","destroy"],function(){o.disable(),o.stop()}),n.on(["run.after","swipe.end"],function(){o.start()}),n.on(["play"],function(){o.enable(),o.start()}),n.on("update",function(){o.mount()}),n.on("destroy",function(){r.destroy()}),o},Breakpoints:function(t,e,n){var r=new yt,o=t.settings,i=Pt(o.breakpoints),a=Object.assign({},o),c={match:function(t){if(void 0!==window.matchMedia)for(var e in t)if(t.hasOwnProperty(e)&&window.matchMedia("(max-width: ".concat(e,"px)")).matches)return t[e];return a}};return Object.assign(o,c.match(i)),r.on("resize",window,ht(function(){t.settings=ut(o,c.match(i))},t.settings.throttle)),n.on("update",function(){i=Pt(i),a=Object.assign({},o)}),n.on("destroy",function(){r.off("resize",window)}),c}},Dt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&F(t,e)}(n,t);var e=J(n);function n(){return W(this,n),e.apply(this,arguments)}return U(n,[{key:"mount",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Q(G(n.prototype),"mount",this).call(this,Object.assign({},Vt,t))}}]),n}(ft);const Nt=function(){document.querySelectorAll(".multi-column").forEach(function(t){t.querySelectorAll(".multi-column__column");var e=t.querySelectorAll("h2"),n=t.querySelectorAll("h3"),r=t.querySelectorAll("h4"),o=0,i=0,a=0;e.forEach(function(t){var e=t.offsetHeight;e>o&&(o=e),t.style.height="".concat(o,"px")}
2),n.forEach(function(t){var e=t.offsetHeight;e>i&&(i=e),t.style.height="".concat(i,"px")}),r.forEach(function(t){var e=t.offsetHeight;e>a&&(a=e),t.style.height="".concat(a,"px")})})};function Zt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ut(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 Yt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ut(Object(n),!0).forEach(function(e){Zt(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ut(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}const Gt=function(){var t=["doubleverify","doubleverifyinc"],e=document.querySelectorAll(".careers__listing");document.querySelectorAll(".careers__post").forEach(function(e){var n=e.querySelector(".careers__post-content"),r=e.querySelector(".careers__job-not-found"),o=(e.getAttribute("data-listing-url"),e.getAttribute("data-id")),i=["https://api.greenhouse.io/v1/boards/doubleverify/jobs/".concat(o),"https://api.greenhouse.io/v1/boards/doubleverifyinc/jobs/".concat(o)],a=e.querySelector(".careers__loading"),c=e.querySelector(".careers__modal"),s=e.querySelector(".careers__modal-close-btn"),l=t[0],u=function(t,e){return fetch(t).then(function(t){if(!t.ok)throw new Error("Not found");return t.json()}).then(function(t){if(!t||!t.title)throw new Error("Invalid data");return l=e,t})};u(i[0],t[0]).catch(function(){return u(i[1],t[1])}).then(function(t){var r=c.querySelector(".careers__modal-content");if(r){r.innerHTML="";var i=document.createElement("iframe");i.src="https://job-boards.greenhouse.io/embed/job_app?for=".concat(l,"&token=").concat(o),r.appendChild(i)}var u,d,f=Array.isArray(t.departments)&&t.departments.length>0?t.departments.map(function(t){return t.name}).join(", "):"N/A";n.innerHTML='\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<h1 class="h2">'.concat(t.title,'</h1>\n\t\t\t\t\t\t<ul class="btn-group">\n\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t<p class="h6">\n\t\t\t\t\t\t\t\t\t<svg xmlns="http://www.w3.org/2000/svg" width="24" height="25" viewBox="0 0 24 25" fill="none">\n\t\t\t\t\t\t\t\t\t\t<path d="M12 2.5C8.13 2.5 5 5.63 5 9.5C5 14.75 12 22.5 12 22.5C12 22.5 19 14.75 19 9.5C19 5.63 15.87 2.5 12 2.5ZM7 9.5C7 6.74 9.24 4.5 12 4.5C14.76 4.5 17 6.74 17 9.5C17 12.38 14.12 16.69 12 19.38C9.92 16.71 7 12.35 7 9.5Z" fill="#6E2CB5"></path>\n\t\t\t\t\t\t\t\t\t\t<path d="M12 12C13.3807 12 14.5 10.8807 14.5 9.5C14.5 8.11929 13.3807 7 12 7C10.6193 7 9.5 8.11929 9.5 9.5C9.5 10.8807 10.6193 12 12 12Z" fill="#6E2CB5"></path>\n\t\t\t\t\t\t\t\t\t</svg>\n\t\t\t\t\t\t\t\t\t<span>').concat(t.location.name,'</span>\n\t\t\t\t\t\t\t\t</p>\n\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t<p class="h6">\n\t\t\t\t\t\t\t\t\t<svg xmlns="http://www.w3.org/2000/svg" width="24" height="25" viewBox="0 0 24 25" fill="none">\n\t\t\t\t\t\t\t\t\t\t<path d="M12 7.5V3.5H2V21.5H22V7.5H12ZM6 19.5H4V17.5H6V19.5ZM6 15.5H4V13.5H6V15.5ZM6 11.5H4V9.5H6V11.5ZM6 7.5H4V5.5H6V7.5ZM10 19.5H8V17.5H10V19.5ZM10 15.5H8V13.5H10V15.5ZM10 11.5H8V9.5H10V11.5ZM10 7.5H8V5.5H10V7.5ZM20 19.5H12V17.5H14V15.5H12V13.5H14V11.5H12V9.5H20V19.5ZM18 11.5H16V13.5H18V11.5ZM18 15.5H16V17.5H18V15.5Z" fill="#6E2CB5"></path>\n\t\t\t\t\t\t\t\t\t</svg>\n\t\t\t\t\t\t\t\t\t<span>').concat(f,"</span>\n\t\t\t\t\t\t\t\t</p>\n\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t</ul>\n\n\t\t\t\t\t\t<div>").concat((u=t.content,d={"&":"&","<":"<",">":">",""":'"',"'":"'"},u.replace(/&|<|>|"|'/g,function(t){return d[t]})),'</div>\n\t\t\t\t\t\t<p>\n\t\t\t\t\t\t\t<button class="cta-btn cta-btn--large cta-btn--primary-fill careers__post-modal-trigger">Apply</button>\n\t\t\t\t\t\t</p>\n\t\t\t\t\t</div>\n\t\t\t\t'),e.classList.remove("hidden"),a.classList.add("hidden"),e.querySelector(".careers__post-modal-trigger").addEventListener("click",function(t){h(),c.removeAttribute("hidden"),c.classList.add("active"),document.body.classList.add("job-modal-open")}),s.addEventListener("click",function(t){v(),c.setAttribute("hidden",!0),c.classList.remove("active"),document.body.classList.remove("job-modal-open")})}).catch(function(t){a.classList.add("hidden"),r.classList.remove("hidden")})}),e.forEach(function(e){var n=e.querySelector(".careers__job-listing"),o=e.getAttribute("data-listing-path")?e.getAttribute("data-listing-path"):"/careers",i=e.querySelectorAll(".careers__filter"),a=e.querySelector(".careers__filter--departments"),c=e.querySelector(".careers__filter--locations"),s=e.querySelector(".careers__filter--type"),l=e.querySelector(".careers__results-empty"),u=e.querySelector(".careers__reset-btn"),d=e.querySelector(".careers__loading"),f=0,v=[],h=[],p=[],m={department:"*",location:"*",type:"*"},g=function(){n.innerHTML="",f=0,v.forEach(function(t){var e=t.department,r=t.details.location.name,i=!1;"*"!==m.department&&m.department!==e||"*"!==m.location&&m.location!==r||"*"!==m.type&&"*"!==m.type||(i=!0),i&&(n.innerHTML+=function(t){return'\n\t\t\t\t<div class="job-listing-card" data-department="'.concat(t.department,'" data-location="').concat(t.details.location.name,'" data-type="" data-is-active="true">\n\t\t\t\t\t<div class="job-listing-card__left">\n\t\t\t\t\t\t<div class="h6 module--margin-bottom-2">').concat(t.department,'</div>\n\t\t\t\t\t\t<div class="job-listing-card__title h4">').concat(t.details.title,'</div>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="job-listing-card__right">\n\t\t\t\t\t\t<div class="job-listing-card__location">\n\t\t\t\t\t\t\t<svg xmlns="http://www.w3.org/2000/svg" width="24" height="25" viewB
2ox="0 0 24 25" fill="none">\n\t\t\t\t\t\t\t\t<path d="M12 2.5C8.13 2.5 5 5.63 5 9.5C5 14.75 12 22.5 12 22.5C12 22.5 19 14.75 19 9.5C19 5.63 15.87 2.5 12 2.5ZM7 9.5C7 6.74 9.24 4.5 12 4.5C14.76 4.5 17 6.74 17 9.5C17 12.38 14.12 16.69 12 19.38C9.92 16.71 7 12.35 7 9.5Z" fill="#6E2CB5"></path>\n\t\t\t\t\t\t\t\t<path d="M12 12C13.3807 12 14.5 10.8807 14.5 9.5C14.5 8.11929 13.3807 7 12 7C10.6193 7 9.5 8.11929 9.5 9.5C9.5 10.8807 10.6193 12 12 12Z" fill="#6E2CB5"></path>\n\t\t\t\t\t\t\t</svg>\n\t\t\t\t\t\t\t<span>').concat(t.location.name,'</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class="job-listing-card__cta">\n\t\t\t\t\t\t\t<a class="cta-btn cta-btn--large cta-btn--primary-fill" data-id="').concat(t.details.id,'" href="').concat(o,"/job?id=").concat(t.details.id,"&board=").concat(t.details.boardToken,'">View Position</a>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t')}(t),f++)}),function(t){t>=1?l.classList.add("careers__results-empty--hidden"):l.classList.remove("careers__results-empty--hidden")}(f)};Promise.all(["https://api.greenhouse.io/v1/boards/doubleverify/departments","https://api.greenhouse.io/v1/boards/doubleverifyinc/departments"].map(function(t){return fetch(t).then(function(t){return t.json()}).catch(function(){return{departments:[]}})})).then(function(e){var n={};e.forEach(function(e,o){(e.departments||[]).forEach(function(e){var i,a=e.jobs.map(function(e){return Yt(Yt({},e),{},{boardToken:t[o]})});n[e.name]?(i=n[e.name].jobs).push.apply(i,r(a)):n[e.name]=Yt(Yt({},e),{},{jobs:r(a)})})});var o={departments:Object.values(n)};d.classList.add("hidden"),setTimeout(function(){!function(t){!function(t){t.departments.forEach(function(t){t.jobs.length>0&&(a.querySelector("select").innerHTML+='\n\t\t\t\t\t\t<option value="'.concat(t.name,'">').concat(t.name,"</option>\n\t\t\t\t\t"),t.jobs.forEach(function(e){v.push({department:t.name,location:e.location,details:e}),-1===h.indexOf(e.location.name)&&h.push(e.location.name),-1===p.indexOf(e.location.name)&&p.push(e.location.name)}))})}(t),h.forEach(function(t){c.querySelector("select").innerHTML+='\n\t\t\t\t\t<option value="'.concat(t,'">').concat(t,"</option>\n\t\t\t\t")}),s&&p.forEach(function(t){s.querySelector("select").innerHTML+='\n\t\t\t\t\t\t<option value="'.concat(t,'">').concat(t,"</option>\n\t\t\t\t\t")}
2),g(),i.forEach(function(t){t.querySelector("select").addEventListener("change",function(t){var e=t.target.name,n=t.target.value;m[e]=n,g()})}),u.addEventListener("click",function(t){t.preventDefault(),i.forEach(function(t){t.querySelector("select").value="*"}),m={department:"*",location:"*",type:"*"},g()})}(o)},500)}).catch(function(t){console.log(t)})})};document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll(".attach-to-header-on-scroll").forEach(function(t){t.parentNode.classList.add("sticky-nav")}),y(),t(),function(){var t=document.querySelectorAll(".anchor-divider");document.querySelectorAll(".anchor-menu__menu-list").forEach(function(e){var n=[];t.forEach(function(t){var r=t.getAttribute("name"),o=t.getAttribute("data-label"),i=document.createElement("li");i.className="anchor-menu__menu-item";var a=document.createElement("button");a.className="anchor-menu__menu-button",a.setAttribute("data-target",r),a.textContent=o,i.appendChild(a),e.appendChild(i),n.push(a)}),n.forEach(function(t){t.addEventListener("click",function(){var n=0;document.querySelector(".anchor-menu").parentElement.parentElement.classList.contains("header-attachment--is-scrolling")&&(n+=e.offsetHeight);var r=t.getAttribute("data-target"),o=document.querySelector('.anchor-divider[name="'.concat(r,'"]'));o&&window.scrollTo({top:o.offsetTop-n,behavior:"smooth"})})})}),i()}(),document.querySelectorAll(".submenu").forEach(function(t){var e=t.querySelector(".submenu__menu-trigger"),n=t.querySelector(".submenu__mobile-menu"),r=t.querySelector(".submenu__menu-trigger-label"),o=n.querySelector('.hs-menu-depth-1[class*="active"] > a'),i="submenu__menu-trigger--active",a="submenu__mobile-menu--active",c=t.closest(".dnd-row");c&&c.classList.add("submenu--sticky");var s,l=function(t){t?(e.classList.add(i),n.classList.add(a)):(e.classList.remove(i),n.classList.remove(a))};e.addEventListener("click",function(){n.classList.contains(a)?l(!1):l(!0)}),o&&(s=o.textContent,r.textContent=s)}),function(){var t=document.querySelectorAll(".accordions__list"),e=document.querySelector(".site-header");t.forEach(function(t){var n=t.querySelectorAll(".accordion-item__trigger"),r="true"===t.getAttribute("data-scroll-on-expansion");n.forEach(function(n){n.addEventListener("click",function(){var o="true"===n.getAttribute("aria-expanded"),i=n.getAttribute("id"),a=t.querySelector('.accordion-item__body[aria-labelledby="'.concat(i,'"]'));o?function(t,e){t.setAttribute("aria-expanded","false"),e.setAttribute("data-expanded","false")}(n,a):(function(t,e){t.setAttribute("aria-expanded","true"),e.setAttribute("data-expanded","true")}(n,a),r&&function(t){var n=e.offsetHeight,r=t.getBoundingClientRect().top+window.pageYOffset;window.scrollTo({top:r-n,behavior:"smooth"})}(n))})})})}(),function(){var t=document.querySelectorAll(".tabbed-content");t.forEach(function(t){var i=t,a=null!==i.closest(".privacy-notice"),c=i.querySelectorAll(".tabbed-content__tab"),s=i.querySelectorAll(".tabbed-content__panel"),l=function(t){if(!t)return null;var e=t.getAttribute("aria-controls");return e?i.querySelector("#".concat(e)):null},u=function(t,e){if(t&&e){c.forEach(function(t){t.setAttribute("aria-selected","false"),t.setAttribute("tabindex","-1")}),s.forEach(function(t){t.setAttribute("hidden","")}),t.setAttribute("aria-selected","true"),t.setAttribute("tabindex","0"),t.focus(),e.removeAttribute("hidden");var n=e.dataset.tabPanelId;n&&window.history.replaceState({},"","#".concat(n)),a&&setTimeout(function(){window.scrollTo({top:i.offsetTop,behavior:"smooth"})},200)}};c.forEach(function(t){t.addEventListener("click",function(){var e=l(t);u(t,e)}),t.addEventListener("keydown",function(t){var r=t.keyCode;36!==r&&35!==r||t.preventDefault(),36===r?u(c[0],l(c[0])):35===r&&u(c[c.length-1],l(c[c.length-1]))}),t.addEventListener("keyup",function(e){var n=e.keyCode;if(37===n){var a=t.previousElementSibling||c[c.length-1];u(a,l(a))}else if(39===n){var s=t.nextElementSibling||c[0];u(s,l(s))}})});var d=function(){var t=window.location.hash.replace("#","");if(t){var e=i.querySelector('[data-tab-id="'.concat(t,'"]')),n=l(e);e&&n&&u(e,n)}};d(),window.addEventListener("hashchange",d)})}(),document.querySelectorAll(".resources").forEach(function(t){var e,n={},r={}
2,o=Array.from(t.querySelectorAll(".resources__column")).map(function(t){return{properties:JSON.parse(t.getAttribute("data-column-properties")),element:t,allData:t.getAttribute("data-column-properties").toLowerCase()}}),i=Array.from(t.querySelectorAll(".resources__filter-input")),a=t.querySelector(".resources__inner"),c=t.querySelectorAll(".resources__reset"),s=t.querySelector(".resources__grid"),l="true"===t.getAttribute("data-paginate"),d=Number(t.getAttribute("data-items-per-page")),f=t.querySelector(".resources__pagination"),v=t.querySelectorAll(".resources__pagination-btn--prev"),h=t.querySelectorAll(".resources__pagination-btn--next"),p=t.querySelectorAll(".resources__filter--filters-side"),m=1,g=1,y=d;p.forEach(function(t){var e=t.querySelector(".resources__filter-trigger");e&&e.addEventListener("click",function(){t.classList.toggle("open")})});var b=function(){i.forEach(function(t){var e=t.getAttribute("name");n[e]="checkbox"===t.type?[]:""})},_=function(){window.scrollTo({top:t.offsetTop,behavior:"smooth"})},w=function(t){m=t,q(),m>1?v.classList.remove("disabled"):v.classList.add("disabled"),m<g?h.classList.remove("disabled"):h.classList.add("disabled"),S()},S=function(){var r=[],i=[];o.forEach(function(t){var e=t.element,o=t.properties,a=t.allData,c=!0;Object.keys(n).forEach(function(t){var e=n[t],r=JSON.stringify(o[t]),i="*"===e||""===e||Array.isArray(e)&&0===e.length;"search"===t?-1!==a.indexOf(e.toLowerCase())||i||(c=!1):i?Array.isArray(e)&&e.forEach(function(t){r||(c=!1)}):Array.isArray(e)?e.forEach(function(t){r&&-1!==r.indexOf(t)||(c=!1)}):r&&-1!==r.indexOf(e)||(c=!1)}),c?i.push(e):r.push(e)});for(var a=0;a<r.length;a+=1){var c=r[a];c.classList.remove("is-active"),c.classList.add("is-hidden"),c.setAttribute("data-is-active","false")}for(var u=0;u<i.length;u+=1){var v=i[u];if(l){u>=y&&(v.classList.remove("is-active"),v.classList.add("is-hidden"),v.setAttribute("data-is-active","true"));var h=0,p=d;1==m?(h=0,p=d):(m>1?h=m*d-d:h+=d,p=h+d),u>=h&&u<p?(v.setAttribute("data-is-active","true"),v.setAttribute("data-active-page","true"),v.classList.add("is-active"),v.classList.remove("is-hidden")):(v.setAttribute("data-is-active","false"),v.setAttribute("data-active-page","false"),v.classList.remove("is-active"),v.classList.add("is-hidden"))}else v.setAttribute("data-is-active","true"),v.classList.add("is-active"),v.classList.remove("is-hidden")}if(t&&t.setAttribute("data-page",m),s&&s.setAttribute("data-page",m),l){var b=Math.ceil(i.length/d);f.classList.remove("disabled"),f.querySelector(".resources__pagination-page-btns").innerHTML="",e=function(t,e){for(var n,r=Number(t),o=e,i=Number(r-2),a=r+2+1,c=[],s=[],l=1;l<=o;l++)(1==l||l==o||l>=i&&l<a)&&c.push(l);for(var u=0,d=c;u<d.length;u++){var f=d[u];n&&(f-n==2?s.push(n+1):f-n!=1&&s.push("...")),s.push(f),n=f}return s}(m,b);for(var _=0;_<e.length;_+=1){var S=e[_],A="";S==m&&(A="active"),t.querySelector(".resources__pagination-page-btns").innerHTML+="..."==S?'<span class="resources__pagination-btn resources__page-btn-ellipsis">'.concat(S,"</span>"):'<button class="resources__pagination-btn resources__page-btn '.concat(A,'" data-page="').concat(S,'">').concat(S,"</button>")}g=b,t.querySelectorAll(".resources__page-btn").forEach(function(t){t.addEventListener("click",function(){var e=t.getAttribute("data-page");e&&w(e)})}),l&&i.length>d?f.classList.remove("disabled"):f.classList.add("disabled"),1==g&&f.classList.add("disabled")}},A=function(t){a&&a.setAttribute("data-is-empty",t?"true":"false")},L=function(){location.search.split("&").forEach(function(t){var e=t.replace("?","").split("=");""!==e[0]&&""!==e[1]&&(r[decodeURIComponent(e[0])]=e[1])})},E=function(){L(),Object.entries(n).forEach(function(t){var e=u(t,2),n=e[0],o=e[1];r[n]="string"==typeof o?encodeURI(o.replaceAll(" ","+")):encodeURI(o.join(",").replaceAll(" ","+"))});var t="?";Object.entries(r).forEach(function(e,n){var r=u(e,2),o=r[0],i=r[1];t=i?0===n?"".concat(t).concat(o,"=").concat(i):"".concat(t,"&").concat(o,"=").concat(i):"".concat(t)}),window.history.replaceState({},"","".concat(window.location.origin).concat(window.location.pathname).concat(t))}
2,q=function(){b(),i.forEach(function(t){var e=t.getAttribute("name");"checkbox"===t.type?t.checked&&n[e].push(t.value):"radio"===t.type?t.checked&&(n[e]=t.value):n[e]=t.value}),S();var t=0===o.filter(function(t){return"true"===t.element.getAttribute("data-is-active")}).length;A(t)};i.forEach(function(t){t.addEventListener("change",function(){q(),E()})}),c&&c.forEach(function(t){t.addEventListener("click",function(){var t=i.filter(function(t){return"checkbox"===t.type}),e=i.filter(function(t){return"radio"===t.type&&"*"===t.value}),n=i.filter(function(t){return"select"===t.tagName.toLowerCase()}),r=i.filter(function(t){return"input"===t.tagName.toLowerCase()&&"text"===t.type});t.forEach(function(t){t.checked=!1}),e.forEach(function(t){t.checked=!0}),n.forEach(function(t){t.value="*"}),r.forEach(function(t){t.value=""}),p.forEach(function(t){t.classList.remove("open")}),b(),S(),A(!1),E()})}),q(),L(),i.forEach(function(t){var e=t;r[e.getAttribute("name")]&&("checkbox"===e.type?r[e.getAttribute("name")].split(",").forEach(function(t){decodeURI(t.replaceAll("+"," "))===e.value&&(e.checked=!0)}):"radio"===e.type?decodeURI(r[e.getAttribute("name")].replaceAll("+"," "))===e.value&&(e.checked=!0):e.value=decodeURI(r[e.getAttribute("name")].replaceAll("+"," ")),_())}),q(),v.forEach(function(t){t.addEventListener("click",function(){m>1&&(m--,y=m*d,S(),v.classList.remove("disabled"),w(m)),_()})}),h.forEach(function(t){t.addEventListener("click",function(){m++,y=m*d,S(),w(m),_()})})}),function(){var t=document.querySelector(".style-guide");if(t){var e=document.querySelector(".style-guide__inner"),n=document.querySelector(".style-guide__sheet"),r=document.querySelector(".style-guide__trigger"),o="style-guide--active",i=t.querySelector(".style-guide__close"),a=t.querySelectorAll("[data-target]"),c=t.querySelector(".style-guide__copy-markup");a.forEach(function(r){r.addEventListener("click",function(){var r=this.getAttribute("data-target"),o=t.querySelector('.style-guide__input-box[data-input-target="'.concat(r,'"]')),i="";if("buttons_links"===r)i=this.getAttribute("data-class");else if("typography"===r){var a=this.getAttribute("data-tag"),c=this.getAttribute("data-class"),s=this.getAttribute("data-text"),l=!1;"h"===a.charAt(0)&&(l=!0),i="<".concat(a,">").concat(s,"</").concat(a,">"),c&&(i="<".concat(a,' class="').concat(c,'">').concat(s,"</").concat(a,">")),l&&(i+=' or <p class="'.concat(a,'">').concat(s,"</p>"))}else if("lists"===r){var u=this.getAttribute("data-tag"),d=this.getAttribute("data-class"),f="<li>List Item</li><li>List Item</li><li>List Item</li>";i="<".concat(u,">").concat(f,"</").concat(u,">"),d&&(i="<".concat(u,' class="').concat(d,'">').concat(f,"</").concat(u,">"))}o.textContent=i,e.scrollTo({top:o.offsetTop-n.offsetTop-100,behavior:"smooth"}),o.classList.add("active"),setTimeout(function(){o.classList.remove("active")},2e3)})}),r.addEventListener("click",function(){var t=this.getAttribute("data-name");document.querySelector(".style-guide[data-name=".concat(t,"]")).classList.add(o),h()}),i.addEventListener("click",function(){t.classList.remove(o),v()}),c.addEventListener("click",function(){var t=this.getAttribute("data-copy-target"),e=this,n=document.querySelector('[data-input-target="'.concat(t,'"]')).textContent;navigator.clipboard.writeText(n).then(function(){e.classList.add("copied"),e.textContent="Copied!",setTimeout(function(){e.classList.remove("copied"),e.textContent="Copy"},2e3)},function(){})})}}(),function(){var t=document.querySelector(".system-module");if(t){var e=t.querySelectorAll(".item"),n=document.getElementById("globalunsub");e.forEach(function(t){t.addEventListener("click",function(){var t=this.querySelector("input");this.classList.contains("checked")?(this.classList.remove("checked"),t.checked=!1):(this.classList.add("checked"),t.checked=!0)})}),n&&n.addEventListener("change",function(){n.checked?e.forEach(function(t){return t.classList.add("disabled")}):e.forEach(function(t){return t.classList.remove("disabled")})})}}(),function(){var t=document.querySelectorAll(".social-icon-link--share:not(.social-icon-link--copy):not(.social-icon-link--email)"),e=document.querySelector(".social-icon-link--copy");t.forEach(function(t){t.addEventListener("click",function(t){t.preventDefault(),window.open(this.href,"newwindow","width=640, height=480, top=100")})}),e&&e.addEventListener("click",function(t){t.preventDefault(),navigator.clipboard.writeText(window.location.href),e.classList.add("tooltip"),setTimeout(function(){e.classList.remove("tooltip")},1e3)})}(),function(){var t=document.querySelectorAll(".dropdown");t.forEach(function(e){e.querySelector(".dropdown__trigger").addEventListener("click",function(n){n.preventDefault(),e.classList.contains("open")?e.classList.remove("open"):(t.forEach(function(t){t.classList.remove("open")}),e.classList.add("open"))}),document.addEventListener("mouseup",function(t){e.contains(t.target)||e.classList.remove("open")})})}(),q(),function(){var t=document.querySelector(".notification-bar");if(t){var e=t.querySelector(".notification-bar__close-btn"),n=t.classList.contains("notification-bar--fixed-top"),r=0,o=function(){r=t.offsetHeight,document.body.style.setProperty("--notificationBarOffset","".concat(r,"px"))};o(),n&&(document.body.classList.add("has-notification-bar"),window.addEventListener("load",o),window.addEventListener("resize",o)),e.addEventListener("click",function(){t.style.display="none",t.classList.add("hidden"),document.body.style.setProperty("--notificationBarOffset","0px")})}}(),document.querySelectorAll(".video-trigger").forEach(function(t){var e=t.dataset.src,n=t.dataset.embed,r=t.classList.contains("video-trigger--inline"),o=t.classList.contains("video-trigger--modal"),i='\n <video controls autoplay>\n <source src="'.concat(e,'" type="video/mp4">\n Your browser does not support the video tag.\n </video>\n ');r?t.addEventListener("click",function(){n?t.outerHTML=n:e&&(t.outerHTML=i)}):o&&(n?R(t,n,"modal__inner--video-embed",!0):e&&R(t,i,"modal__inner--video",!0))}),document.querySelectorAll(".team-card--is-linked").forEach(function(t){var e=t.dataset.name,n=t.dataset.title_position,r=t.dataset.image,o=t.dataset.bio,i=t.dataset.image_alt,a=t.dataset.social,c='\n\t\t\t<div class="team-modal two-column__grid two-column__grid--33-66 module--spacing-7 module__grid--gap-8" style="--gap-size: var(--s-8);">\n\t\t\t\t'.concat(r?'<div class="two-column__column"><div class="team-modal__image"><img class="aspect--1-1 module--card-radius-small" src="'.concat(r,'" alt="').concat(i||e,'"></div></div>'):"",'\n\t\t\t\t\n\t\t\t\t<div class="two-column__column team-modal__content">\n\t\t\t\t\t<div class="team-modal__header">\n\t\t\t\t\t\t').concat(e?'<h2 class="team-modal__name h3">'.concat(e,"</h2>"):"","\n\t\t\t\t\t\t").concat(n?'<p class="large">'.concat(n,"</p>"):"",'\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="team-modal__body">\n\t\t\t\t\t\t').concat(o?'<div class="team-modal__bio p large">'.concat(o,"</div>"):"","\n\t\t\t\t\t\t").concat(a?'<div class="team-modal__socials">'.concat(a,"</div>"):"","\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t");R(t,c,"modal__inner--content",!0)}),function(){var t=document.querySelector(".site-footer").querySelector(".site-footer__main-menu");t&&t.querySelectorAll(".hs-menu-depth-1.hs-item-has-children > a").forEach(function(t){t.addEventListener("click",function(e){e.preventDefault(),t.parentNode.classList.toggle("open")})})}(),document.querySelectorAll("[data-menu-label]").forEach(function(t){var e=t.getAttribute("data-menu-label"),n=t.querySelector('[role="navigation"]');n&&n.setAttribute("aria-label",e)}),I(),document.querySelectorAll(".testimonial-carousel")&&document.querySelectorAll(".testimonial-carousel").forEach(function(t){var e=t.querySelector(".testimonial-carousel__slider"),n=t.querySelector(".testimonial-carousel__secondary-slider"),r=new Dt(n),o="carousel";e.getAttribute("data-items")&&"1"===e.getAttribute("data-items")&&(o="slider");
2var i=new Dt(e,{type:o,perView:1,focusAt:0,gap:48,autoplay:!1,hoverpause:!0,breakpoints:{767:{perView:1,focusAt:0}}});function a(){var e=t.querySelector(".glide__slide--active"),n=e?e.offsetHeight:0,r=t.querySelector(".glide__track");if(window.innerWidth>1500){var o=t.querySelector(".glide__slide--active");if(o){var i,a,c=o.previousElementSibling,s=o.nextElementSibling;s&&(a=(i=s.nextElementSibling)?i.offsetHeight:0);var l=c?c.offsetHeight:0,u=s?s.offsetHeight:0,d=Math.max(n,l,u,a);d!==(r?r.offsetHeight:0)&&(r.style.height="".concat(d,"px"))}}else{var f=t.querySelector(".glide__slide--active + .glide__slide"),v=f?f.offsetHeight:0,h=Math.max(n,v),p=r?r.offsetHeight:0;window.innerWidth<768?n!==p&&(r.style.height="".concat(n,"px")):h!==p&&(r.style.height="".concat(h,"px"))}}i.on("build.after",function(){a()}),i.on("run",function(t){n&&r.go("=".concat(i.index))}),i.on("run.after",function(t){a()}),i.mount(),n&&r.mount()}),document.querySelectorAll(".timeline-carousel__slider")&&document.querySelectorAll(".timeline-carousel__slider").forEach(function(t){new Dt(t,{type:"carousel",perView:4,focusAt:0,gap:48,autoplay:!1,hoverpause:!0,breakpoints:{767:{perView:1,focusAt:0}}}).mount()}),document.querySelectorAll(".image-slider__slider")&&document.querySelectorAll(".image-slider__slider").forEach(function(t){t.getAttribute("data-slider-target");var e=new Dt(t,{type:"carousel",perView:1,focusAt:0,gap:0,autoplay:!1,hoverpause:!0});e.mount(),e.on("run.after",function(t){glideHandleHeight()})}),document.querySelectorAll(".hubdb-resource__slider")&&document.querySelectorAll(".hubdb-resource__slider").forEach(function(t){console.log(t);var e=new Dt(t,{type:"slider",perView:1,focusAt:0,gap:48,autoplay:!1,hoverpause:!0});console.log(e),e.mount()}),document.querySelectorAll(".image-video-carousel__slider")&&document.querySelectorAll(".image-video-carousel__slider").forEach(function(t){new Dt(t,{type:"slider",perView:1,focusAt:0,gap:48,autoplay:!1,hoverpause:!0}).mount()}),document.querySelectorAll(".two-column").forEach(function(t){var e=t.querySelectorAll(".column-block--full-size-media"),n=t.querySelectorAll(".column-block--content-repeater");e.forEach(function(e){var r=e.querySelector(".full-size-media--rounded");r&&(t.classList.add("two-column--has-round-image"),n.forEach(function(t){t.clientHeight<400&&r.classList.add("no-transform")}))})}),Nt(),function(){var t=document.querySelector(".site-header__language-switcher"),e=t.getAttribute("data-lang");t.querySelectorAll(".globe_class")[0]&&(t.querySelectorAll(".lang_switcher_link").forEach(function(t){t.getAttribute("lang")==e&&t.classList.add("active")}),t.querySelectorAll(".globe_class")[0].setAttribute("data-lang",e))}(),Gt(),document.querySelectorAll(".privacy-notice").forEach(function(t){var e=t.querySelectorAll(".privacy-notice__tab-panel"),n=t.querySelectorAll(".accordion-item"),r=function(t,e,n){var r=null;e&&(r=e.querySelectorAll(".privacy-notice__tab-submenu")),t.forEach(function(t){t.getAttribute("data-language")===n?t.removeAttribute("hidden"):t.setAttribute("hidden",!0)}),r&&r.forEach(function(t){t.dataset.language===n?t.removeAttribute("hidden"):t.setAttribute("hidden",!0)})},o=function(e){e.querySelectorAll("a").forEach(function(e){e.addEventListener("click",function(e){e.preventDefault();var n=decodeURIComponent(e.target.href.split("#")[1]),r=t.querySelector("#".concat(n));r&&r.scrollIntoView({behavior:"smooth"})})})},i=function(t,e,n,r){var i=n.getAttribute("data-language"),a=document.createElement("ul");a.classList.add("privacy-notice__tab-submenu"),a.dataset.language=n.getAttribute("data-language"),"english"!==a.dataset.language&&null!==a.dataset.language&&a.setAttribute("hidden",!0),n.querySelectorAll(".privacy-notice__panel-content-main h2").forEach(function(n,c){var s="".concat(t,"-").concat(c);r&&(s="".concat(t,"-").concat(i||"english","-").concat(c));var l=document.createElement("div");l.classList.add("privacy-notice__panel-content-anchor"),l.setAttribute("id",s),n.prepend(l);var u=n.textContent.replace(/[0-9]/g,"").replace(".",""),d=document.createElement("li"),f=document.createElement("a");f.href="#".concat(s),f.textContent=u,d.appendChild(f),a.appendChild(d),e.appendChild(a),o(a)})};e.forEach(function(e){var n=e.getAttribute("data-tab-panel-id"),o=t.querySelector('.privacy-notice__tab-menu[data-tab-panel-id="'.concat(n,'"]')),a=e.classList.contains("privacy-notice__tab-panel--language-switcher"),c=(t.querySelector(".privacy-notice__language-switcher"),t.querySelector(".privacy-notice__language-switcher-trigger")),s=t.querySelector(".privacy-notice__language-list"),l=e.querySelectorAll(".privacy-notice__panel-content");a?(c.addEventListener("click",function(t){t.preventDefault(),s.classList.toggle("open")}),s.querySelectorAll("button").forEach(function(t){t.addEventListener("click",function(e){var n=t.getAttribute("data-language"),i=t.getAttribute("data-icon"),a=t.querySelector(".label").innerText;c.innerHTML="".concat(i?'<span class="icon"><img src="'.concat(i,'" alt="').concat(a,'" /></span>'):"",'<span class="label">').concat(a,"</span>"),r(l,o,n),s.classList.remove("open")})}),l.forEach(function(t,e){i(n,o,t,a)})):l.forEach(function(t){i(n,o,t,a)})}
2),n.forEach(function(t){var e=t.getAttribute("data-accordion-panel-id"),n=t.classList.contains("accordion-item--language-switcher"),i=t.querySelector(".privacy-notice__language-switcher"),a=t.querySelector(".privacy-notice__language-switcher-trigger"),c=t.querySelector(".privacy-notice__language-list"),s=t.querySelectorAll(".privacy-notice__panel-content");n&&(a.addEventListener("click",function(t){t.preventDefault(),c.classList.toggle("open")}),c.querySelectorAll("button").forEach(function(t){t.addEventListener("click",function(e){var n=t.getAttribute("data-language"),o=t.getAttribute("data-icon"),i=t.querySelector(".label").innerText;a.innerHTML="".concat(o?'<span class="icon"><img src="'.concat(o,'" alt="').concat(i,'" /></span>'):"",'<span class="label">').concat(i,"</span>"),r(s,null,n),c.classList.remove("open")})})),s.forEach(function(t,n){var r=t.querySelectorAll(".privacy-notice__panel-content-main h2"),a=document.createElement("div");a.classList.add("privacy-notice__quick-links");var c=document.createElement("button");c.classList.add("privacy-notice__quick-links-trigger"),c.innerHTML="Quick Links",a.prepend(c),t.prepend(a);var s=document.createElement("ul");s.classList.add("privacy-notice__accordion-submenu"),c.addEventListener("click",function(t){t.preventDefault(),a.classList.toggle("open")}),r.forEach(function(t,r){var o="".concat(e,"-accordion-").concat(n,"-").concat(r);i&&(o="".concat(e,"-accordion-").concat(n,"-").concat(i.value?i.value:"english","-").concat(r));var a=document.createElement("div");a.classList.add("privacy-notice__panel-content-anchor"),a.setAttribute("id",o),t.prepend(a);var c=t.textContent.replace(/[0-9]/g,"").replace(".",""),l=document.createElement("li"),u=document.createElement("a");u.href="#".concat(o),u.textContent=c,l.appendChild(u),s.appendChild(l)}),t.querySelector(".privacy-notice__panel-content-main").prepend(s),a.appendChild(s),o(s),a.querySelectorAll("a").forEach(function(t){t.addEventListener("click",function(t){a.classList.remove("open")})})})})}),document.querySelectorAll(".resources-v3").forEach(function(t){var e,n={},r={},o=Array.from(t.querySelectorAll(".resources-v3__column")).map(function(t){return{properties:JSON.parse(t.getAttribute("data-column-properties")),element:t,allData:t.getAttribute("data-column-properties").toLowerCase()}}),i=Array.from(t.querySelectorAll(".resources-v3__filter-input")),a=t.querySelector(".resources-v3__inner"),c=t.querySelectorAll(".resources-v3__reset"),s=t.querySelector(".resources-v3__grid"),l="true"===t.getAttribute("data-paginate"),d=Number(t.getAttribute("data-items-per-page")),f=t.querySelector(".resources-v3__pagination"),v=t.querySelectorAll(".resources-v3__pagination-btn--prev"),h=t.querySelectorAll(".resources-v3__pagination-btn--next"),p=t.querySelectorAll(".resources-v3__filter--filters-side"),m=1,g=1,y=d;p.forEach(function(t){var e=t.querySelector(".resources-v3__filter-trigger");e&&e.addEventListener("click",function(){t.classList.toggle("open")})});var b=function(){i.forEach(function(t){var e=t.getAttribute("name");n[e]="checkbox"===t.type?[]:""})},_=function(){window.scrollTo({top:t.offsetTop,behavior:"smooth"})},w=function(t){m=t,q(),m>1?v.classList.remove("disabled"):v.classList.add("disabled"),m<g?h.classList.remove("disabled"):h.classList.add("disabled"),S()},S=function(){var r=[],i=[];o.forEach(function(t){var e=t.element,o=t.properties,a=t.allData,c=!0;Object.keys(n).forEach(function(t){var e=n[t],r=JSON.stringify(o[t]),i="*"===e||""===e||Array.isArray(e)&&0===e.length;"search"===t?-1!==a.indexOf(e.toLowerCase())||i||(c=!1):i?Array.isArray(e)&&e.forEach(function(t){r||(c=!1)}):Array.isArray(e)?e.forEach(function(t){r&&-1!==r.indexOf(t)||(c=!1)}):r&&-1!==r.indexOf(e)||(c=!1)}),c?i.push(e):r.push(e)});for(var a=0;a<r.length;a+=1){var c=r[a];c.classList.remove("is-active"),c.classList.add("is-hidden"),c.setAttribute("data-is-active","false")}for(var u=0;u<i.length;u+=1){var v=i[u];if(l){u>=y&&(v.classList.remove("is-active"),v.classList.add("is-hidden"),v.setAttribute("data-is-active","true"));var h=0,p=d;1==m?(h=0,p=d):(m>1?h=m*d-d:h+=d,p=h+d),u>=h&&u<p?(v.setAttribute("data-is-active","true"),v.setAttribute("data-active-page","true"),v.classList.add("is-active"),v.classList.remove("is-hidden")):(v.setAttribute("data-is-active","false"),v.setAttribute("data-active-page","false"),v.classList.remove("is-active"),v.classList.add("is-hidden"))}else v.setAttribute("data-is-active","true"),v.classList.add("is-active"),v.classList.remove("is-hidden")}if(t&&t.setAttribute("data-page",m),s&&s.setAttribute("data-page",m),l){var b=Math.ceil(i.length/d);f.classList.remove("disabled"),f.querySelector(".resources-v3__pagination-page-btns").innerHTML="",e=function(t,e){for(var n,r=Number(t),o=e,i=Number(r-2),a=r+2+1,c=[],s=[],l=1;l<=o;l++)(1==l||l==o||l>=i&&l<a)&&c.push(l);for(var u=0,d=c;u<d.length;u++){var f=d[u];n&&(f-n==2?s.push(n+1):f-n!=1&&s.push("...")),s.push(f),n=f}return s}(m,b);for(var _=0;_<e.length;_+=1){var S=e[_],A="";S==m&&(A="active"),t.querySelector(".resources-v3__pagination-page-btns").innerHTML+="..."==S?'<span class="resources-v3__pagination-btn resources-v3__page-btn-ellipsis">'.concat(S,"</span>"):'<button class="resources-v3__pagination-btn resources-v3__page-btn '.concat(A,'" data-page="').concat(S,'">').concat(S,"</button>")}g=b,t.querySelectorAll(".resources-v3__page-btn").forEach(function(t){t.addEventListener("click",function(){var e=t.getAttribute("data-page");e&&w(e)})}),l&&i.length>d?f.classList.remove("disabled"):f.classList.add("disabled"),1==g&&f.classList.add("disabled")}},A=function(t){a&&a.setAttribute("data-is-empty",t?"true":"false")},L=function(){location.search.split("&").forEach(function(t){var e=t.replace("?","").split("=");""!==e[0]&&""!==e[1]&&(r[e[0]]=e[1])})}
2,E=function(){L(),Object.entries(n).forEach(function(t){var e=u(t,2),n=e[0],o=e[1];r[n]="string"==typeof o?encodeURI(o.replaceAll(" ","+")):encodeURI(o.join(",").replaceAll(" ","+"))});var t="?";Object.entries(r).forEach(function(e,n){var r=u(e,2),o=r[0],i=r[1];t=i?0===n?"".concat(t).concat(o,"=").concat(i):"".concat(t,"&").concat(o,"=").concat(i):"".concat(t)}),window.history.replaceState({},"","".concat(window.location.origin).concat(window.location.pathname).concat(t))},q=function(){b(),i.forEach(function(t){var e=t.getAttribute("name");"checkbox"===t.type?t.checked&&n[e].push(t.value):"radio"===t.type?t.checked&&(n[e]=t.value):n[e]=t.value}),S();var t=0===o.filter(function(t){return"true"===t.element.getAttribute("data-is-active")}).length;A(t)};i.forEach(function(t){t.addEventListener("change",function(){q(),E()})}),c&&c.forEach(function(t){t.addEventListener("click",function(){var t=i.filter(function(t){return"checkbox"===t.type}),e=i.filter(function(t){return"radio"===t.type&&"*"===t.value}),n=i.filter(function(t){return"select"===t.tagName.toLowerCase()}),r=i.filter(function(t){return"input"===t.tagName.toLowerCase()&&"text"===t.type});t.forEach(function(t){t.checked=!1}),e.forEach(function(t){t.checked=!0}),n.forEach(function(t){t.value="*"}),r.forEach(function(t){t.value=""}),p.forEach(function(t){t.classList.remove("open")}),b(),S(),A(!1),E()})}),q(),L(),i.forEach(function(t){var e=t;r[e.getAttribute("name")]&&("checkbox"===e.type?r[e.getAttribute("name")].split(",").forEach(function(t){decodeURI(t.replaceAll("+"," "))===e.value&&(e.checked=!0)}):"radio"===e.type?decodeURI(r[e.getAttribute("name")].replaceAll("+"," "))===e.value&&(e.checked=!0):e.value=decodeURI(r[e.getAttribute("name")].replaceAll("+"," ")),_())}),q(),v.forEach(function(t){t.addEventListener("click",function(){m>1&&(m--,y=m*d,S(),v.classList.remove("disabled"),w(m)),_()})}),h.forEach(function(t){t.addEventListener("click",function(){m++,y=m*d,S(),w(m),_()})})}),document.querySelectorAll('a[href^="#"]').forEach(function(t){var e=t.getAttribute("href"),n=document.querySelector('.anchor-divider[name="'.concat(e,'"]'));n&&t.addEventListener("click",function(t){t.preventDefault(),window.scrollTo({top:n.offsetTop,behavior:"smooth"})})}),document.querySelectorAll(".cta-link").forEach(function(t){if(!t.querySelector("span")){for(var e=document.createElement("span");t.firstChild;)e.appendChild(t.firstChild);t.appendChild(e)}})}),window.addEventListener("load",function(){t(),s(),function(){var t=document.querySelectorAll(".pillars__menu-list"),e=document.querySelector(".pillars__toc-trigger"),n=document.querySelector(".pillars__toc-dropdown");e&&e.addEventListener("click",function(){n.classList.contains("active")?(n.classList.remove("active"),e.classList.remove("open")):(n.classList.add("active"),e.classList.add("open"))}),t.forEach(function(t){t.querySelectorAll(".pillars__menu-button").forEach(function(t){t.addEventListener("click",function(){var r=document.querySelector(".pillars__floating-menu").offsetHeight;e.classList.remove("open"),n.classList.remove("active");var o=t.getAttribute("data-target"),i=document.querySelector('.pillars__anchor[name="'.concat(o,'"]'));if(i){var a=i.getBoundingClientRect().top+window.scrollY;window.scrollTo({top:a-r+1,behavior:"smooth"})}})})}),H()}(),C(),O(),q(),function(){var t=document.querySelectorAll(".dynamic-content__anchor-menu-trigger"),e=document.querySelector(".dynamic-content__anchor-menu");t.forEach(function(t){t.addEventListener("click",function(){e.classList.contains("active")?e.classList.remove("active"):e.classList.add("active")})})}(),I(),Nt(),document.querySelectorAll(".hs-form").forEach(function(t){t.querySelectorAll("fieldset").forEach(function(t){t.querySelectorAll('div[style*="display: none"]')&&t.classList.add("hidden")})})}),window.addEventListener("resize",function(){b(),t(),s(),C(),O(),q(),Nt()}),window.addEventListener("scroll",function(){var t=window.pageYOffset||document.documentElement.scrollTop;(function(t){document.querySelectorAll(".anchor-menu").forEach(function(e){var n=e.parentElement.parentElement,i=n.classList.contains("header-attachment--is-scrolling"),a="anchor-menu__menu-button--active",c=o.bounds,s=Object.keys(c),l=s.map(function(t){return c[t].start}),u=Math.min.apply(Math,r(l)),d=t;i&&(d+=n.offsetHeight);var f=function(){document.querySelectorAll(".anchor-menu__menu-button").forEach(function(t){return t.classList.remove(a)})};
2d<u&&f(),s.forEach(function(t){var e=c[t];(!1===e.end&&d>=e.start||!1!==e.end&&d>=e.start&&d<=e.end)&&function(){var e=document.querySelector('.anchor-menu__menu-button[data-target="'.concat(t,'"]'));e&&!e.classList.contains(a)&&(f(),e.classList.add(a))}()})})})(t),function(t){var e=document.querySelector(".pillars__floating-menu");if(e){var n="pillars__menu-button--active",o=k.bounds,i=Object.keys(o),a=i.map(function(t){return o[t].start}),c=Math.min.apply(Math,r(a)),s=t+e.offsetHeight,l=function(){document.querySelectorAll(".pillars__menu-button").forEach(function(t){t.classList.remove(n)})};s<c&&l(),i.forEach(function(t){var e=o[t];(!1===e.end&&s>=e.start||!1!==e.end&&s>=e.start&&s<=e.end)&&function(){var e=document.querySelector('.pillars__menu-button[data-target="'.concat(t,'"]')),r=e.dataset.label;e.classList.contains(n)||(l(),e.classList.add(n),document.querySelector(".pillars__current-chapter-title").textContent=r)}()})}}(t)})})(); 3//# sourceURL=https://46126064.fs1.hubspotusercontent-na1.net/hubfs/46126064/hub_generated/template_assets/1/185471142289/1789997335315/template_fwds_main.js
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.