/*! For license information please see iframe-params-populator.min.js.LICENSE.txt */ (()=>{"use strict";function t(e){return t="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},t(e)}function e(){e=function(){return n};var r,n={},o=Object.prototype,i=o.hasOwnProperty,c=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(r){f=function(t,e,r){return t[e]=r}}function d(t,e,r,n){var o=e&&e.prototype instanceof g?e:g,i=Object.create(o.prototype),a=new T(n||[]);return c(i,"_invoke",{value:D(t,r,a)}),i}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}n.wrap=d;var y="suspendedStart",m="suspendedYield",h="executing",v="completed",b={};function g(){}function w(){}function S(){}var O={};f(O,u,(function(){return this}));var E=Object.getPrototypeOf,j=E&&E(E(C([])));j&&j!==o&&i.call(j,u)&&(O=j);var P=S.prototype=g.prototype=Object.create(O);function L(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function x(e,r){function n(o,c,a,u){var l=p(e[o],e,c);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==t(f)&&i.call(f,"__await")?r.resolve(f.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):r.resolve(f).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(l.arg)}var o;c(this,"_invoke",{value:function(t,e){function i(){return new r((function(r,o){n(t,e,r,o)}))}return o=o?o.then(i,i):i()}})}function D(t,e,n){var o=y;return function(i,c){if(o===h)throw Error("Generator is already running");if(o===v){if("throw"===i)throw c;return{value:r,done:!0}}for(n.method=i,n.arg=c;;){var a=n.delegate;if(a){var u=I(a,n);if(u){if(u===b)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=h;var l=p(t,e,n);if("normal"===l.type){if(o=n.done?v:m,l.arg===b)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=v,n.method="throw",n.arg=l.arg)}}}function I(t,e){var n=e.method,o=t.iterator[n];if(o===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=r,I(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=p(o,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,b;var c=i.arg;return c?c.done?(e[t.resultName]=c.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=r),e.delegate=null,b):c:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,b)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function C(e){if(e||""===e){var n=e[u];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,c=function t(){for(;++o=0;--o){var c=this.tryEntries[o],a=c.completion;if("root"===c.tryLoc)return n("end");if(c.tryLoc<=this.prev){var u=i.call(c,"catchLoc"),l=i.call(c,"finallyLoc");if(u&&l){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),b}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:C(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=r),b}},n}function r(t,e,r,n,o,i,c){try{var a=t[i](c),u=a.value}catch(t){return void r(t)}a.done?e(u):Promise.resolve(u).then(n,o)}var n=function(){var t,n=(t=e().mark((function t(r,n){var o,i,c,a,u,l,s;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,fetch(r);case 2:return o=t.sent,t.next=5,o.text();case 5:if(i=t.sent,c=new DOMParser,a=c.parseFromString(i,"image/svg+xml"),(u=a.getElementsByTagName("svg")).length){for(u=u[0],l=u.attributes,s=0;s3&&void 0!==arguments[3]?arguments[3]:{},c=new CustomEvent(e,{detail:arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},bubbles:null===(r=i.bubbles)||void 0===r||r,cancelable:null===(n=i.cancelable)||void 0===n||n,composed:null!==(o=i.composed)&&void 0!==o&&o});t.dispatchEvent(c)},f={};"undefined"!=typeof window&&(window.SinchDS=window.SinchDS||f);var d=function(t,e){f[t]=e};function p(t){return p="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},p(t)}function y(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function m(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=Array(e);r0){var d=(i=s,c=new URLSearchParams(window.location.search),a={},i.forEach((function(t){c.has(t)&&(a[t]=c.get(t))})),a),p=function(t){var e=document.cookie.split(";").map((function(t){return t.trim()})),r={};return e.forEach((function(e){var n=x(e.split("="),2),o=n[0],i=n[1];t.includes(o)&&(r[o]=decodeURIComponent(i))})),r}(s);f=_(d,p)}else f=_(function(){var t,e={},r=function(t){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=D(t))){e&&(t=e);var r=0,n=function(){};return{s:n,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,c=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return i=t.done,t},e:function(t){c=!0,o=t},f:function(){try{i||null==e.return||e.return()}finally{if(c)throw o}}}}(new URLSearchParams(window.location.search).entries());try{for(r.s();!(t=r.n()).done;){var n=x(t.value,2),o=n[0],i=n[1];e[o]=i}}catch(t){r.e(t)}finally{r.f()}return e}(),(n=document.cookie.split(";").map((function(t){return t.trim()})),o={},n.forEach((function(t){var e=x(t.split("="),2),r=e[0],n=e[1];["utm_source","utm_brand","utm_medium","utm_term","utm_campaign","utm_content","transid","gclid","intcmp","aff_id","gspk","gsxid","pscd"].includes(r)&&(o[r]=decodeURIComponent(n))})),o));Object.entries(f).forEach((function(t){var e=x(t,2),r=e[0],n=e[1];l.set(r,n)})),u.search=l.toString();var y=u.toString();"data-src"===e&&t.setAttribute("data-src",y),t.src=y}}}d("scrollDirection",(function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];try{var n=window.scrollY||window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop;if(!r&&null===e&&(t=window.innerHeight,!(S!==t?(S=t,0):O)))return w=n,!1;var o={previousScroll:w,currentScroll:n,forcedDirection:e},i=s(document,g.BEFORE_CHANGE,o,{cancelable:!0});if(i&&i.defaultPrevented)return!1;var c,a=function(t){if(!t)return null;var e=t.toLowerCase().split(",").map((function(t){return t.trim()}));return e.every((function(t){return Object.values(v).includes(t)}))?{direction:e[0],includeTop:e.includes(v.TOP)}:null}(e);return a?(document.body.classList.toggle("scrolling-up",a.direction===v.UP),document.body.classList.toggle("scrolling-down",a.direction===v.DOWN),a.includeTop&&document.body.classList.toggle("is-scrolled-top",n<100)):(n<100?document.body.classList.add("is-scrolled-top"):document.body.classList.remove("is-scrolled-top"),null!==(c=window.SinchDS)&&void 0!==c&&c.__smoothScrollInProgress||Math.abs(n-w)>=1&&(n>w?(document.body.classList.remove("scrolling-up"),document.body.classList.add("scrolling-down")):(document.body.classList.add("scrolling-up"),document.body.classList.remove("scrolling-down")))),w=n,s(document,g.AFTER_CHANGE,m(m({},o),{},{appliedClasses:{isScrolledTop:document.body.classList.contains("is-scrolled-top"),scrollingUp:document.body.classList.contains("scrolling-up"),scrollingDown:document.body.classList.contains("scrolling-down")}})),setTimeout((function(){O=!1}),50),!0}catch(t){return s(document,g.ERROR,{error:t.message,timestamp:(new Date).getTime()}),console.error("Scroll direction error:",t),!1}})),document.getElementById("topSubnavContainer"),document.getElementById("topSubnavIcon"),document.getElementById("topSubnavIconInner"),document.getElementById("topSubnavSiteTitle"),document.getElementById("topSubnavSiteTitleInner"),document.getElementById("topSubnavSectionTitle"),document.getElementById("topSubnavMenuInner"),document.getElementById("topSubnavMoreInner"),document.getElementById("topSubnavExtraContent"),document.getElementById("topSubnavExtraContentInner");d("scrollToElement",(function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;arguments.length>2&&void 0!==arguments[2]&&arguments[2]&&document.querySelectorAll("[data-smoothscroll-offset=true], #wpadminbar").forEach((function(t){r-=t.offsetHeight}));var n=t.getBoundingClientRect().top+window.scrollY+r,o=window.scrollY,i=n-o,c=null;window.SinchDS||(window.SinchDS={}),requestAnimationFrame((function t(r){null===c&&(window.SinchDS.__smoothScrollInProgress=!0,c=r);var n,a,u,l,s=r-c,f=(n=s,a=o,u=i,(n/=e/2)<1?u/2*n*n+a:-u/2*(--n*(n-2)-1)+a);window.scrollTo(0,f),s