!function(){var e={2213:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isUnique=function(e,t){if(!Boolean(t))return!1;var n=e.ownerDocument.querySelectorAll(t);return 1===n.length&&n[0]===e}},2584:function(e,t){"use strict";function n(e,t,r,o,i,a,u){if(a!==u)for(var l=o;l<=i&&i-l+1>=u-a;++l)r[a]=t[l],n(e,t,r,l+1,i,a+1,u);else e.push(r.slice(0,a).join(""))}Object.defineProperty(t,"__esModule",{value:!0}),t.getCombinations=function(e,t){for(var r=[],o=e.length,i=[],a=1;a<=t;++a)n(r,e,i,0,o-1,0,a);return r}},3770:function(e,t){"use strict";function n(e){if(!e.hasAttribute("class"))return[];try{return Array.prototype.slice.call(e.classList).filter(function(e){return/^[a-z_-][a-z\d_-]*$/i.test(e)?e:null})}catch(n){var t=e.getAttribute("class");return(t=t.trim().replace(/\s+/g," ")).split(" ")}}Object.defineProperty(t,"__esModule",{value:!0}),t.getClasses=n,t.getClassSelectors=function(e){return n(e).filter(Boolean).map(function(e){return"."+e})}},4561:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAttributes=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["id","class","length"],n=e.attributes;return[].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(n)).reduce(function(e,n){return t.indexOf(n.nodeName)>-1||e.push("["+n.nodeName+'="'+n.value+'"]'),e},[])}},6064:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNthChild=function(e){var t=0,n=void 0,o=void 0,i=e.parentNode;if(Boolean(i)){var a=i.childNodes,u=a.length;for(n=0;n<u;n++)if(o=a[n],(0,r.isElement)(o)&&(t++,o===e))return":nth-child("+t+")"}return null};var r=n(8440)},6105:function(e){e.exports=function(){function e(){return(e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}var t={ignoreId:!1},n="undefined"!=typeof Node,r=n?Node.ELEMENT_NODE:1,o=n?Node.TEXT_NODE:3,i=n?Node.DOCUMENT_TYPE_NODE:10;return function(n,a){var u=e({},t,a),l=n;if(l&&l.id&&!u.ignoreId)return'//*[@id="'+l.id+'"]';for(var c=[];l&&(r===l.nodeType||o===l.nodeType);){for(var s=0,f=!1,d=l.previousSibling;d;)d.nodeType!==i&&d.nodeName===l.nodeName&&s++,d=d.previousSibling;for(d=l.nextSibling;d;){if(d.nodeName===l.nodeName){f=!0;break}d=d.nextSibling}var v=s||f?"["+(s+1)+"]":"";c.push(l.nodeType!=o?(l.prefix?l.prefix+":":"")+l.localName+v:"text()"+(v||"[1]")),l=l.parentNode}return c.length?"/"+c.reverse().join("/"):""}}()},7175:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getParents=function(e){var t=[],n=e;for(;(0,r.isElement)(n);)t.push(n),n=n.parentNode;return t};var r=n(8440)},7924:function(e,t,n){"use strict";t.A=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.selectorTypes,r=void 0===n?["ID","Class","Tag","NthChild"]:n,o=t.attributesToIgnore,i=void 0===o?["id","class","length"]:o,a=t.excludeRegex,u=void 0===a?null:a,l=[],f=(0,s.getParents)(e),d=!0,v=!1,m=void 0;try{for(var p,g=f[Symbol.iterator]();!(d=(p=g.next()).done);d=!0){var b=y(p.value,r,i,u);Boolean(b)&&l.push(b)}}catch(e){v=!0,m=e}finally{try{!d&&g.return&&g.return()}finally{if(v)throw m}}var h=[],_=!0,w=!1,S=void 0;try{for(var N,T=l[Symbol.iterator]();!(_=(N=T.next()).done);_=!0){var C=N.value;h.unshift(C);var j=h.join(" > ");if((0,c.isUnique)(e,j))return j}}catch(e){w=!0,S=e}finally{try{!_&&T.return&&T.return()}finally{if(w)throw S}}return null};var r=n(9169),o=n(3770),i=n(2584),a=n(4561),u=n(6064),l=n(7970),c=n(2213),s=n(7175);function f(e,t){var n=e.parentNode.querySelectorAll(t);return 1===n.length&&n[0]===e}function d(e,t){return t.find(f.bind(null,e))}function v(e,t,n){var r=(0,i.getCombinations)(t,3),o=d(e,r);return Boolean(o)||Boolean(n)&&(o=d(e,r=r.map(function(e){return n+e})),Boolean(o))?o:null}function y(e,t,n,i){var c=void 0,s=function(e,t,n){var i={Tag:l.getTag,NthChild:u.getNthChild,Attributes:function(e){return(0,a.getAttributes)(e,n)},Class:o.getClassSelectors,ID:r.getID};return t.reduce(function(t,n){return t[n]=i[n](e),t},{})}(e,t,n);i&&i instanceof RegExp&&(s.ID=i.test(s.ID)?null:s.ID,s.Class=s.Class.filter(function(e){return!i.test(e)}));var d=!0,y=!1,m=void 0;try{for(var p,g=t[Symbol.iterator]();!(d=(p=g.next()).done);d=!0){var b=p.value,h=s.ID,_=s.Tag,w=s.Class,S=s.Attributes,N=s.NthChild;switch(b){case"ID":if(Boolean(h)&&f(e,h))return h;break;case"Tag":if(Boolean(_)&&f(e,_))return _;break;case"Class":if(Boolean(w)&&w.length&&(c=v(e,w,_)))return c;break;case"Attributes":if(Boolean(S)&&S.length&&(c=v(e,S,_)))return c;break;case"NthChild":if(Boolean(N))return N}}}catch(e){y=!0,m=e}finally{try{!d&&g.return&&g.return()}finally{if(y)throw m}}return"*"}},7970:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTag=function(e){return e.tagName.toLowerCase().replace(/:/g,"\\:")}},8440:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.isElement=function(e){var t=void 0;t="object"===("undefined"==typeof HTMLElement?"undefined":n(HTMLElement))?e instanceof HTMLElement:!!e&&"object"===(void 0===e?"undefined":n(e))&&1===e.nodeType&&"string"==typeof e.nodeName;return t}},9169:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getID=function(e){var t=e.getAttribute("id");if(null!==t&&""!==t)return t.match(/(?:^\d|:)/)?'[id="'+t+'"]':"#"+t;return null}}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";var e=n(7924),t=n(6105),r=n.n(t);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||a(e)||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.")}()}function a(e,t){if(e){if("string"==typeof e)return u(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,c(r.key),r)}}function c(e){var t=function(e,t){if("object"!=o(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==o(t)?t:t+""}var s=function(){return t=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)},(n=[{key:"onLCP",value:function(t){var n,o,i=null==t||null===(n=t.entries[0])||void 0===n?void 0:n.element,a=null==t||null===(o=t.attribution)||void 0===o?void 0:o.url;if(i&&a){var u=(0,e.A)(i),l=r()(i,{ignoreId:!0});this.useRelativeImageURL=this.shouldUseRelativeImageURL(i,a);var c={url:window.location.href,data:JSON.stringify({selector:u,selector_xpath:l,selector_id:null==i?void 0:i.id,selector_class:null==i?void 0:i.className,image_url:this.useRelativeImageURL?this.makeImageURLRelative(a):a,background_data:this.getBackgroundDataForElement(i)}),nonce:smush_detector.nonce,is_mobile:smush_detector.is_mobile,data_store:JSON.stringify(smush_detector.data_store),previous_data_version:smush_detector.previous_data_version,previous_data_hash:smush_detector.previous_data_hash},s=new XMLHttpRequest;s.open("POST",smush_detector.ajax_url+"?action=smush_handle_lcp_data",!0),s.setRequestHeader("Content-Type","application/x-www-form-urlencoded");var f=Object.keys(c).map(function(e){return encodeURIComponent(e)+"="+encodeURIComponent(c[e])}).join("&");s.send(f)}}},{key:"shouldUseRelativeImageURL",value:function(e,t){if(null==e||!e.outerHTML)return!1;var n=e.outerHTML;if(n.includes(t))return!1;var r=this.makeImageURLRelative(t);return n.includes(r)}},{key:"makeImageURLRelative",value:function(e){try{var t=new URL(e,window.location.origin);if(t.hostname===window.location.hostname)return t.pathname+t.search}catch(e){}return e}},{key:"getBackgroundDataForElement",value:function(e){var t=[window.getComputedStyle(e,null).getPropertyValue("background-image"),getComputedStyle(e,":after").getPropertyValue("background-image"),getComputedStyle(e,":before").getPropertyValue("background-image")].filter(function(e){return"none"!==e});return 0===t.length?null:this.getBackgroundDataForPropertyValue(t[0])}},{key:"getBackgroundDataForPropertyValue",value:function(e){var t=this,n="background-image";if(e.includes("image-set(")&&(n="background-image-set"),!e||""===e||e.includes("data:image"))return null;var r=i(e.matchAll(/((?:https?:\/|\.+)?\/[^'",\s()]+\.(jpe?g|png|gif|webp|svg|avif)(?:\?[^\s'",?)]+)?)\b/gi)).map(function(e){var n=e[1].trim();return t.useRelativeImageURL?t.makeImageURLRelative(n):n});return r.length<=0?null:{type:n,urls:r}}}])&&l(t.prototype,n),o&&l(t,o),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n,o}();!function(e){var t=null,n=!1,r=window.innerHeight;if(0===(null===(e=document)||void 0===e||null===(e=e.documentElement)||void 0===e?void 0:e.scrollTop)&&"PerformanceObserver"in window){var o=new PerformanceObserver(function(e){var n,r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=a(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return u=e.done,e},e:function(e){l=!0,i=e},f:function(){try{u||null==n.return||n.return()}finally{if(l)throw i}}}}(e.getEntries());try{for(r.s();!(n=r.n()).done;){var o=n.value;i(o)&&(t=o)}}catch(e){r.e(e)}finally{r.f()}});try{o.observe({type:"largest-contentful-paint",buffered:!0})}catch(e){}["keydown","click","pointerdown","touchstart"].forEach(function(e){addEventListener(e,function(e){e.isTrusted&&(n||(n=!0,t&&(new s).onLCP({entries:[t],attribution:{url:t.url||"",element:t.element||""}}),o&&o.disconnect()))},{once:!0,capture:!0})})}function i(e){var t=e&&e.element;return!t||t.getBoundingClientRect().top+window.scrollY<=r}}()}()}();
!function(){"use strict";var e,t={136:function(e,t,n){n(959)},959:function(){var e;!function(e,t){var n=/:scope\b/gi;function i(t){var i=e[t];e[t]=function(e){var t=this,o=t.id||"qsid"+(new Date).getTime(),s=!t.id,r=n.test(e);try{return r&&(s&&(t.id=o),e=e.replace(n,"#"+o)),i.call(this,e)}finally{s&&(t.id=null)}}}function o(e){var i=t[e];t[e]=function(e){return i.call(this,e.replace(n,""))}}try{document.querySelector(":scope")}catch(e){i("querySelector"),i("querySelectorAll"),o("querySelector"),o("querySelectorAll")}}(Element.prototype,Document.prototype),[Element.prototype,Document.prototype,DocumentFragment.prototype].forEach(function(e){e.hasOwnProperty("append")||Object.defineProperty(e,"append",{configurable:!0,enumerable:!0,writable:!0,value:function(){var e=Array.prototype.slice.call(arguments),t=document.createDocumentFragment();e.forEach(function(e){var n=e instanceof Node;t.appendChild(n?e:document.createTextNode(String(e)))}),this.appendChild(t)}})}),function(){if("function"==typeof NodeList.prototype.forEach)return!1;NodeList.prototype.forEach=Array.prototype.forEach}(),Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;if(!document.documentElement.contains(t))return null;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null}),(e=function(){this.options={menuToggleDuration:300},this.menuSidebarState="closed",this.isPreviewing=document.body.classList.contains("customize-previewing"),this.init()}).prototype.checkTouchScreen=function(){"ontouchstart"in document.documentElement?document.body.classList.add("ontouch-screen"):document.body.classList.add("not-touch-screen")},e.prototype.isMobile=function(){return!!(navigator.userAgent.match(/Android/i)||navigator.userAgent.match(/webOS/i)||navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPad/i)||navigator.userAgent.match(/iPod/i)||navigator.userAgent.match(/BlackBerry/i)||navigator.userAgent.match(/Windows Phone/i))},e.prototype.initMenuSidebar=function(){var e;const t=this;document.body.classList.contains("menu_sidebar_dropdown")||(e=document.getElementById("header-menu-sidebar"))&&document.body.append(e),document.addEventListener("customize_section_opened",function(e){"header_sidebar"===e.detail&&this.toggleMenuSidebar(!1)}.bind(this));var n=document.querySelectorAll(".menu-mobile-toggle");this.addEvent(n,"click",function(e){e.preventDefault(),this.toggleMenuSidebar()}.bind(this));var i=document.querySelectorAll("#header-menu-sidebar .close-panel, .close-sidebar-panel");this.addEvent(i,"click",function(e){e.preventDefault(),this.closeMenuSidebar()}.bind(this)),this.addEvent(document,"click",function(e){if(document.body.classList.contains("is-menu-sidebar")){var t=document.getElementById("header-menu-sidebar"),n=document.querySelectorAll(".menu-mobile-toggle"),i=!1;t.contains(e.target)||(i=!0),e.target.closest("#header-menu-sidebar")||e.target===t||(i=!0);var o=!1;if(n.length)for(var s=0;s<n.length;s++)(e.target.closest(".menu-mobile-toggle")||e.target===n[s])&&(o=!0);i&&!o&&this.closeMenuSidebar()}}.bind(this)),this.addEvent(document,"keyup",function(e){27===e.keyCode&&this.closeMenuSidebar()}.bind(this)),this.addEvent(document.querySelectorAll('.menu a[href*="#"]'),"click",function(e){let n="A"===e.target.tagName?e.target:e.target.closest("a"),i=new URL(n.href);if(i.origin+i.pathname===window.location.origin+window.location.pathname){let n=document.querySelector(i.hash);n&&(e.preventDefault(),t.closeMenuSidebar(),window.scrollTo({top:n.getBoundingClientRect().y,left:0,behavior:"smooth"}),window.history.pushState({},null,i.href))}})},e.prototype.initMobieSearchForm=function(){var e=document.querySelector(".search-form--mobile");e&&(e.classList.add("mobile-search-form-sidebar menu-sidebar-panel"),e.classList.remove("hide-on-mobile hide-on-tablet"),document.body.prepend(e))},e.prototype.toggleMobileSubmenu=function(e){e.preventDefault();var t=e.target.closest("li"),n=t.querySelectorAll(":scope  > .sub-menu, .sub-lv-0");if(t.classList.contains("open-sub")){if(n.length)for(i=0;i<n.length;i++)this.slideUp(n[i],this.options.menuToggleDuration,function(){t.classList.remove("open-sub")})}else if(t.classList.add("open-sub"),n.length)for(var i=0;i<n.length;i++)this.slideDown(n[i],this.options.menuToggleDuration,function(){t.classList.add("open-sub")})},e.prototype.toggleMobileSubmenuEvents=function(e){e.addEventListener("click",this.toggleMobileSubmenu.bind(this))},e.prototype.initMobileSubMenu=function(){var e=document.querySelectorAll("#header-menu-sidebar .nav-menu-mobile .menu-item-has-children");if(e.length)for(var t=0;t<e.length;t++){var n=e[t];if(!n.classList.contains("toggle--added")){n.classList.add("toggle--added");var i=n.querySelector(":scope > a"),o=i.cloneNode(!0);this.isPreviewing;var s=document.createElement("span");s.classList.add("nav-toggle-icon"),s.innerHTML='<i class="nav-icon-angle"></i>',i.parentNode.insertBefore(s,i);var r=n.querySelector(":scope > .sub-menu");"1"!==Customify_JS.sidebar_menu_no_duplicator&&r.prepend(o);var a=n.querySelectorAll(":scope  > .sub-menu, .sub-lv-0");if(a.length)for(var c=0;c<a.length;c++)this.slideUp(a[c],0);if("1"!==Customify_JS.sidebar_menu_no_duplicator){var l=document.createElement("li");o.parentNode.prepend(l),l.appendChild(o)}this.toggleMobileSubmenuEvents(s)}}},e.prototype.slideUp=function(e,t,n){"number"!=typeof t&&(t=0),e._slideDownTimeOut&&(clearTimeout(e._slideDownTimeOut),e._slideDownTimeOut=!1);var i=e.getBoundingClientRect();e.style.overflow="hidden",e.style.height=i.height+"px",e.style.transition="height "+t+"ms linear",setTimeout(function(){e.style.height="0px"},20),e._sideUpTimeOut=setTimeout(function(){e.style.transition="","function"==typeof n&&n.call(this)},t+20)},e.prototype.slideDown=function(e,t,n){"number"!=typeof t&&(t=0),e._sideUpTimeOut&&(clearTimeout(e._sideUpTimeOut),e._sideUpTimeOut=!1),e.style.height="initial",e.style.overflow="initial",e.style.transition="";var i=e.getBoundingClientRect();e.style.height="0px",e.style.overflow="hidden",e.style.transition="height "+t+"ms linear",setTimeout(function(){e.style.height=i.height+"px"},50),e._sideUpTimeOut=setTimeout(function(){e.style.height="",e.style.overflow="",e.style.transition="","function"==typeof n&&n.call(this)},t)},e.prototype.insertMenuOverlayClass=function(){var e=document.querySelector(".nav-menu-mobile");e&&(document.body.classList.contains("menu_sidebar_slide_overlay")?e.classList.add("nav-menu-overlay"):e.classList.remove("nav-menu-overlay"))},e.prototype.setupMobileItemAnimations=function(e){if(window.height,void 0===e&&(e=document.getElementById("header-menu-sidebar")),e){var t=0,n=e.querySelectorAll(".item--inner");if(n.length)for(var i=0;i<n.length;i++)t++,n[i].style.transitionDelay=.2*t+"s"}},e.prototype.toggleClass=function(e,t){if(e instanceof NodeList)for(var n=0;n<e.length;n++)e[n].classList.contains(t)?e[n].classList.remove(t):e[n].classList.add(t);else(e instanceof Node||e instanceof Element)&&(e.classList.contains(t)?e.classList.remove(t):e.classList.add(t))},e.prototype.addClass=function(e,t){if(e instanceof NodeList)for(var n=0;n<e.length;n++)e[n].classList.add(t);else(e instanceof Node||e instanceof Element)&&e.classList.add(t)},e.prototype.removeClass=function(e,t){var n=t.split(" ");if(e instanceof NodeList)for(var i=0;i<e.length;i++)for(var o=0;o<n.length;o++)e[i].classList.remove(n[o]);else if(e instanceof Node||e instanceof Element)for(o=0;o<n.length;o++)e.classList.remove(n[o])},e.prototype.addEvent=function(e,t,n){if(e instanceof NodeList)for(var i=0;i<e.length;i++)e[i].addEventListener(t,n);else(e instanceof Node||e instanceof Element)&&e.addEventListener(t,n)},e.prototype.closeMenuSidebar=function(){document.body.classList.add("hiding-header-menu-sidebar"),document.body.classList.remove("is-menu-sidebar");var e=document.querySelectorAll(".menu-mobile-toggle, .menu-mobile-toggle .hamburger");if(this.removeClass(e,"is-active"),document.body.classList.contains("menu_sidebar_dropdown")){this.removeClass(document.body,"hiding-header-menu-sidebar");var t=document.getElementById("header-menu-sidebar");document.getElementById("header-menu-sidebar-inner").getBoundingClientRect().height,this.slideUp(t,300,function(){t.style.height=0,t.style.display="block"}.bind(this))}else setTimeout(function(){this.removeClass(document.body,"hiding-header-menu-sidebar")}.bind(this),1e3)},e.prototype.toggleMenuSidebar=function(e){if(void 0===e&&(e=!0),document.body.classList.remove("hiding-header-menu-sidebar"),e?this.toggleClass(document.body,"is-menu-sidebar"):document.body.classList.add("is-menu-sidebar"),document.body.classList.contains("menu_sidebar_dropdown")){var t=document.querySelectorAll(".menu-mobile-toggle, .menu-mobile-toggle .hamburger");if(e?this.toggleClass(t,"is-active"):this.addClass(t,"is-active"),document.body.classList.contains("is-menu-sidebar")){var n=document.getElementById("header-menu-sidebar"),i=document.getElementById("header-menu-sidebar-inner").getBoundingClientRect().height;this.slideDown(n,300,function(){n.style.height=i+"px"})}else e&&this.closeMenuSidebar()}},e.prototype.searchFormAutoAlign=function(){for(var e=document.querySelectorAll(".header-search_icon-item"),t=window.innerWidth,n=0;n<e.length;n++){var i=e[n],o=i.querySelector(".search-icon").getBoundingClientRect();this.removeClass(i,"search-right search-left"),o.left>t/2?Customify_JS.is_rtl?(this.removeClass(i,"search-left"),this.addClass(i,"search-right")):(this.removeClass(i,"search-right"),this.addClass(i,"search-left")):Customify_JS.is_rtl?(this.removeClass(i,"search-right"),this.addClass(i,"search-left")):(this.removeClass(i,"search-left"),this.addClass(i,"search-right"))}},e.prototype.initSearchForm=function(){var e=document.querySelectorAll(".header-search_icon-item"),t=this;e.forEach(function(e){if(!e.classList.contains("js-added")){t.addClass(e,"js-added"),t.removeClass(e,"active");var n=e.querySelector(".search-icon"),i=function(t){t.preventDefault();var n=e.querySelector(".search-field");e.classList.contains("active")?(this.removeClass(e,"active"),n.focus()):(e.classList.add("active"),n.blur())};n.removeEventListener("click",i),t.addEvent(n,"click",i.bind(t)),t.addEvent(document,"click",function(n){e===n.target||e.contains(n.target)||t.removeClass(e,"active")}.bind(t))}}),t.searchFormAutoAlign()},e.prototype.wrapper=function(e,t){void 0===t&&(t="div");var n=document.createElement(t);return e.parentNode.replaceChild(n,e),n.appendChild(e),n},e.prototype.responsiveTable=function(){for(var e=document.querySelectorAll(".entry-content table"),t=0;t<e.length;t++)if(!e[t].parentNode.classList.contains("table-wrapper")){var n=document.createElement("div");n.classList.add("table-wrapper"),e[t].parentNode.replaceChild(n,e[t]),n.appendChild(e[t])}},e.prototype.responsiveVideos=function(){},e.prototype.initTransparentHeader=function(){var e=document.getElementById("masthead");if(e&&document.body.classList.contains("is-header-transparent")){var t,n=function(){var t=e.getBoundingClientRect().height;document.body.style.setProperty("--transparent-header-height",Math.round(t)+"px"),document.body.classList.add("has-transparent-offset")};n(),window.addEventListener("resize",function(){clearTimeout(t),t=setTimeout(n,100)})}},e.prototype.init=function(){var e;this.checkTouchScreen(),this.initMobieSearchForm(),this.initMobileSubMenu(),this.insertMenuOverlayClass(),this.setupMobileItemAnimations(),this.initMenuSidebar(),this.initSearchForm(),this.responsiveTable(),this.responsiveVideos(),this.initTransparentHeader(),document.addEventListener("header_builder_panel_changed",function(){this.initMobileSubMenu(),this.insertMenuOverlayClass()}.bind(this)),window.addEventListener("resize",function(){this.setupMobileItemAnimations(),this.removeClass(document.querySelectorAll(".header-search_icon-item"),"active"),e&&clearTimeout(e),e=setTimeout(this.searchFormAutoAlign.bind(this),100)}.bind(this)),document.addEventListener("selective-refresh-content-rendered",function(e){if("customify_customize_render_header"===e.detail){var t=document.querySelector("body > .header-menu-sidebar");null!==t&&t.remove(),this.initMobieSearchForm(),this.initMobileSubMenu(),this.insertMenuOverlayClass(),this.setupMobileItemAnimations(),this.initMenuSidebar(),this.initSearchForm()}"Customify_Builder_Item_Search_Icon__render"===e.detail&&(this.initMobieSearchForm(),this.initSearchForm(),this.setupMobileItemAnimations())}.bind(this))},window.customify_is_mobile=function(){return e.isMobile()},window.Customify=new e,function(){if(window.Customify.isMobile()){var e=.01*window.innerHeight,t=.01*window.innerWidth;document.documentElement.style.setProperty("--vh",e+"px"),document.documentElement.style.setProperty("--vw",t+"px"),window.addEventListener("resize",function(){var e=.01*window.innerHeight,t=.01*window.innerWidth;document.documentElement.style.setProperty("--vh",e+"px"),document.documentElement.style.setProperty("--vw",t+"px")})}}(),function(){var e,t,n,i,o;if((e=document.getElementById("site-navigation-main-desktop"))&&void 0!==(t=e.getElementsByTagName("ul")[0])){for(t.setAttribute("aria-expanded","false"),-1===t.className.indexOf("nav-menu")&&(t.className+=" nav-menu"),i=0,o=(n=t.getElementsByTagName("a")).length;i<o;i++)n[i].addEventListener("focus",s,!0),n[i].addEventListener("blur",s,!0);!function(e){var t,n,i=e.querySelectorAll(".menu-item-has-children > a, .page_item_has_children > a");if("ontouchstart"in window)for(t=function(e){var t,n=this.parentNode;if(n.classList.contains("focus"))n.classList.remove("focus");else{for(e.preventDefault(),t=0;t<n.parentNode.children.length;++t)n!==n.parentNode.children[t]&&n.parentNode.children[t].classList.remove("focus");n.classList.add("focus")}},n=0;n<i.length;++n)i[n].addEventListener("touchstart",t,!1)}(e)}function s(){for(var e=this;-1===e.className.indexOf("nav-menu");)"li"===e.tagName.toLowerCase()&&(-1!==e.className.indexOf("focus")?e.className=e.className.replace(" focus",""):e.className+=" focus"),e=e.parentElement}}(),/(trident|msie)/i.test(navigator.userAgent)&&document.getElementById&&window.addEventListener&&window.addEventListener("hashchange",function(){var e,t=location.hash.substring(1);/^[A-z0-9_-]+$/.test(t)&&(e=document.getElementById(t))&&(/^(?:a|select|input|button|textarea)$/i.test(e.tagName)||(e.tabIndex=-1),e.focus())},!1)}},n={};function i(e){var o=n[e];if(void 0!==o)return o.exports;var s=n[e]={exports:{}};return t[e](s,s.exports,i),s.exports}i.m=t,e=[],i.O=function(t,n,o,s){if(!n){var r=1/0;for(d=0;d<e.length;d++){n=e[d][0],o=e[d][1],s=e[d][2];for(var a=!0,c=0;c<n.length;c++)(!1&s||r>=s)&&Object.keys(i.O).every(function(e){return i.O[e](n[c])})?n.splice(c--,1):(a=!1,s<r&&(r=s));if(a){e.splice(d--,1);var l=o();void 0!==l&&(t=l)}}return t}s=s||0;for(var d=e.length;d>0&&e[d-1][2]>s;d--)e[d]=e[d-1];e[d]=[n,o,s]},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,{a:t}),t},i.d=function(e,t){for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={749:0,897:0};i.O.j=function(t){return 0===e[t]};var t=function(t,n){var o,s,r=n[0],a=n[1],c=n[2],l=0;if(r.some(function(t){return 0!==e[t]})){for(o in a)i.o(a,o)&&(i.m[o]=a[o]);if(c)var d=c(i)}for(t&&t(n);l<r.length;l++)s=r[l],i.o(e,s)&&e[s]&&e[s][0](),e[s]=0;return i.O(d)},n=self.webpackChunkcustomify=self.webpackChunkcustomify||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}();var o=i.O(void 0,[897],function(){return i(136)});o=i.O(o)}();
jQuery(function(i){var c,o,r,d,n,h=i(document),y=i("#masthead"),e=0;function u(){var t;o=c.height(),i("#page-cover").css("padding-top",""),i("body").hasClass("is-header-transparent")?(t=i("#page-cover").css("padding-top"),t=parseInt(t),(isNaN(t)||t<=0)&&i("#page-cover").css("padding-top",o)):i("#page-cover").css("padding-top","")}function p(){u(),y.removeAttr("style"),y.css("min-height","auto"),r=y.length?(o=y.height(),y.css({"min-height":o,display:"block"}),y.offset()):{top:0,left:0},u();var t=0;i("#wpadminbar").length&&(t=i("#wpadminbar").height()),c.css("top",t)}c=i("#masthead-inner"),y=i("#masthead"),u(),p();function l(t){void 0===t&&(t=i(window).scrollTop());var s,e=(r="object"!=typeof r?{top:0,left:0}:r).top+o+100;e<t?(s=0,i("#wpadminbar").length&&(s=i("#wpadminbar").height(),"absolute"==i("#wpadminbar").css("position"))&&(s=0),y.removeClass("sticky-hiding"),y.addClass("sticky"),c.css("top",s),n&&(clearTimeout(n),n=!1),y.hasClass("sticky-active")||d||(i(".header--sticky",y).each(function(){i(this).hasClass("header--transparent")&&i(this).removeClass("header--transparent").attr("data-ht",1)}),d=setTimeout(function(){y.addClass("sticky-active"),i(document.body).trigger("customify_sticky_active"),d=!1},50))):(d&&(clearTimeout(d),d=!1),clearTimeout(n),t>=r.top+o&&t<=e?(y.addClass("sticky-hiding"),n=setTimeout(function(){y.css("top",""),y.removeClass("sticky sticky-active sticky-hiding"),i(document.body).trigger("customify_sticky_active"),i(".header--sticky",y).each(function(){!i(this).attr("data-ht")&&1||i(this).addClass("header--transparent")})},300)):(clearTimeout(n),n=!1,c.css("top",""),y.removeClass("sticky sticky-active sticky-hiding"),i(document.body).trigger("customify_sticky_active"),i(".header--sticky",y).each(function(){!i(this).attr("data-ht")&&1||i(this).addClass("header--transparent")})))}function m(t,s){void 0===s&&(s="down");var e,a=r.top+o+100;a<t?(e=0,i("#wpadminbar").length&&(e=i("#wpadminbar").height(),"absolute"==i("#wpadminbar").css("position"))&&(e=0),y.removeClass("sticky-hiding"),y.addClass("sticky"),c.css("top",e),"up"===s?y.hasClass("sticky-active")||(d=d||setTimeout(function(){y.addClass("sticky-active"),d=!1,i(document.body).trigger("customify_sticky_active")},300)):(d&&(clearTimeout(d),d=!1),y.addClass("sticky-hiding"),n=setTimeout(function(){y.css("top",""),y.removeClass("sticky sticky-active sticky-hiding"),i(document.body).trigger("customify_sticky_active"),i(".header--sticky",y).each(function(){!i(this).attr("data-ht")&&1||i(this).addClass("header--transparent")})},300))):(d&&(clearTimeout(d),d=!1),clearTimeout(n),t>=r.top+o&&t<=a?(y.addClass("sticky-hiding"),n=setTimeout(function(){c.css("top",""),y.removeClass("sticky sticky-active sticky-hiding"),i(document.body).trigger("customify_sticky_active"),i(".header--sticky",y).each(function(){!i(this).attr("data-ht")&&1||i(this).addClass("header--transparent")})},300)):(clearTimeout(n),n=!1,c.css("top",""),y.removeClass("sticky sticky-active sticky-hiding"),i(document.body).trigger("customify_sticky_active"),i(".header--sticky",y).each(function(){!i(this).attr("data-ht")&&1||i(this).addClass("header--transparent")})))}h.on("selective-refresh-content-rendered  after_auto_render_css",function(t,s,e){try{var a;void 0===e&&(e=""),"customify_customize_render_header"===s&&(0<i("#masthead .header--row.header--transparent").length?i("body").addClass("is-header-transparent"):i("body").removeClass("is-header-transparent")),"after_auto_render_css"===s&&"header_cover_padding_top"===e?u():(p(),a=h.scrollTop(),"1"===Customify_Pro_JS.header_sticky_up||1==Customify_Pro_JS.header_sticky_up?m(a,"down"):l(a),h.scroll())}catch(t){}}),i(window).resize(function(){setTimeout(function(){p();var t=h.scrollTop();"1"===Customify_Pro_JS.header_sticky_up?m(t,"down"):l(t),e=t},50)}),console.log("Customify_Pro_JS.header_sticky_up",Customify_Pro_JS.header_sticky_up),h.scroll(function(){var t=h.scrollTop(),s="",s=e<t?"down":"up";"1"===Customify_Pro_JS.header_sticky_up?m(t,s):l(t),e=t})});
jQuery(document).ready(function(t){var l=Customify_Pro_JS.scrolltop_duration,r=Customify_Pro_JS.scrolltop_offset;function o(){var o=t(document).scrollTop();r<o?t(".scrolltop").removeClass("hide"):t(".scrolltop").addClass("hide")}l=parseInt(l),isNaN(l)&&(l=500),r=parseInt(r),isNaN(r)&&(r=100),t(document).on("click",".scrolltop",function(o){o.preventDefault(),t("html, body").animate({scrollTop:0},l)}),o(),t(document).scroll(function(){o()})});
!function(){var e={4885:function(e,t,i){"use strict";i.r(t);var n=i(7857);document.addEventListener("lazybeforeunveil",function(e){var t;(0,n.G)(null==e||null===(t=e.detail)||void 0===t?void 0:t.instance)&&function(e){var t=e.getAttribute("data-bg-image")||e.getAttribute("data-bg"),i=e.hasAttribute("data-bg-image")?"background-image":"background";if(t){var n,r=e.getAttribute("style")||"",a="".concat(i,": ").concat(t,";"),o=new RegExp("".concat(i,"\\s*:\\s*[^;]+;?"));n=o.test(r)?r.replace(o,a):r.length>0?r.replace(/;$/g,"")+";"+a:a,e.setAttribute("style",n.trim())}}(e.target)})},5637:function(e,t,i){"use strict";i.r(t),i.d(t,{AutoResizing:function(){return y},LAZY_BEFORE_SIZES:function(){return l},SMUSH_BEFORE_SIZES:function(){return c}});var n=i(7857);function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var n,r,a,o,s=[],u=!0,l=!1;try{if(a=(i=i.call(e)).next,0===t){if(Object(i)!==i)return;u=!1}else for(;!(u=(n=a.call(i)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(e){l=!0,r=e}finally{try{if(!u&&null!=i.return&&(o=i.return(),Object(o)!==o))return}finally{if(l)throw r}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var i={}.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?o(e,t):void 0}}(e,t)||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.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=Array(t);i<t;i++)n[i]=e[i];return n}function s(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,u(n.key),n)}}function u(e){var t=function(e,t){if("object"!=r(e)||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var n=i.call(e,t||"default");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==r(t)?t:t+""}var l="lazybeforesizes",c="smush:beforeSizes",d="data-original-sizes",f="data-srcset",v=["gif","jpg","jpeg","png","webp"],h="w",y=function(){return e=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=t.precision,n=void 0===i?0:i,r=t.skipAutoWidth,a=void 0!==r&&r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.precision=parseInt(n,10),this.precision=isNaN(this.precision)?0:this.precision,this.skipAutoWidth=a,this.initEventListeners()},t=[{key:"initEventListeners",value:function(){var e=this;document.addEventListener(l,function(t){var i;(0,n.G)(null===(i=t.detail)||void 0===i?void 0:i.instance)&&e.maybeAutoResize(t)})}},{key:"maybeAutoResize",value:function(e){var t,i,n,r=e.target,a=null===(t=e.detail)||void 0===t?void 0:t.width;if("IMG"===(null==r?void 0:r.nodeName)&&a)if(null===(i=e.detail)||void 0===i?void 0:i.dataAttr){if(this.isElementEligibleForResizing(r))if(this.shouldRevertToOriginalSizes(r,a))this.revertToOriginalSizesIfNeeded(r)&&e.preventDefault();else{var o=this.triggerEvent(r,c,{resizeWidth:a});if(o.defaultPrevented)this.revertToOriginalSizesIfNeeded(r)&&e.preventDefault();else{a=(null===(n=o.detail)||void 0===n?void 0:n.resizeWidth)||a;var s=this.getDataSrc(r);this.isFromSmushCDN(s)&&(this.resizeImageWithCDN(r,a),this.isChildOfPicture(r)&&this.resizeSourceElements(r.parentNode.querySelectorAll("source"),a))}}}else this.getOriginalSizesAttr(r)||e.preventDefault()}},{key:"shouldAutoResize",value:function(e,t){var i=e.parentNode;if(i&&this.isInlineElement(i)){if("PICTURE"===i.nodeName)return!1;var n=i.clientWidth,r=e.offsetWidth;if(t===n&&n===r)return!1}return!0}},{key:"isInlineElement",value:function(e){if(!e||1!==e.nodeType)return!1;var t=window.getComputedStyle(e).display;return"inline"===t||"inline-block"===t}},{key:"isChildOfPicture",value:function(e){var t;return e&&"PICTURE"===(null==e||null===(t=e.parentNode)||void 0===t?void 0:t.nodeName)}},{key:"resizeSourceElements",value:function(e,t){var i=this;e&&null!=e&&e.length&&e.forEach(function(e){return i.resizeSourceElement(e,t)})}},{key:"resizeSourceElement",value:function(e,t){var i=e.getAttribute(f);if(i){var n=this.parseSrcSet(i);if(n&&n.length)if(1===n.length&&""===n[0].unit)this.resizeNonResponsiveSource(e,n[0].src,t);else{var r=this.getBaseSourceSrcForResize(n,t);this.isFromSmushCDN(r)&&this.updateSrcsetForResize(e,i,r,t,n)}}}},{key:"resizeNonResponsiveSource",value:function(e,t,i){if(this.isFromSmushCDN(t)&&this.isSourceActive(e)){var n=this.getResizedCDNURL(t,i),r=this.getPixelRatio();if(r>1){var a=Math.ceil(i*r),o=this.getResizedCDNURL(t,a)+" "+a+h;n+=" ".concat(i).concat(h,", ").concat(o)}this.updateElementSrcset(e,null,n)}}},{key:"isSourceActive",value:function(e){var t,i=e.getAttribute("media");return!(i&&(null===(t=window)||void 0===t||null===(t=t.matchMedia(i))||void 0===t||!t.matches))}},{key:"getBaseSourceSrcForResize",value:function(e,t){var i=e[0];return h!==i.unit?null:!this.isThumbnail(i.src)||i.value>=t?i.src:null}},{key:"isElementEligibleForResizing",value:function(e){var t=this.getOriginalSizesAttr(e),i=this.getDataSrc(e),n=this.getDataSrcSet(e);return Boolean(t&&i&&n)}},{key:"shouldRevertToOriginalSizes",value:function(e,t){if("auto"===this.getElementWidth(e))return this.shouldSkipAutoWidth();var i=this.getOriginalSizesAttr(e),n=this.getMaxWidthFromSizes(i);return!(!(n&&t>n)||this.isChildOfPicture(e))||!this.shouldAutoResize(e,t)}},{key:"triggerEvent",value:function(e,t){var i=new CustomEvent(t,{detail:arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},bubbles:!(arguments.length>3&&void 0!==arguments[3])||arguments[3],cancelable:!(arguments.length>4&&void 0!==arguments[4])||arguments[4]});return e.dispatchEvent(i),i}},{key:"shouldSkipAutoWidth",value:function(){return this.skipAutoWidth}},{key:"resizeImageWithCDN",value:function(e,t){var i=this.getDataSrcSet(e),n=this.getDataSrc(e);if(i&&n){var r=this.parseSrcSet(i),a=this.getBaseImageSrcForResize(n,r,t);this.updateSrcsetForResize(e,i,a,t,r)}}},{key:"updateSrcsetForResize",value:function(e,t,i,n,r){var a=this.updateSrcsetWithTargetWidth(t,i,n,r);a=this.updateSrcsetWithRetinaWidth(a,i,n,r),this.updateElementSrcset(e,t,a)}},{key:"getBaseImageSrcForResize",value:function(e,t,i){if(!this.isThumbnail(e))return e;var n=t.find(function(e){return e.value>=i});return n?n.src:e}},{key:"isThumbnail",value:function(e){return new RegExp("(-\\d+x\\d+)\\.(".concat(v.join("|"),")(?:\\?.+)?$"),"i").test(e)}},{key:"updateSrcsetWithTargetWidth",value:function(e,t,i,n){return this.findSimilarSource(n,i)?e:e+", "+this.getResizedCDNURL(t,i)+" "+i+h}},{key:"updateSrcsetWithRetinaWidth",value:function(e,t,i,n){var r=this.getPixelRatio();if(r<=1)return e;var a=Math.ceil(i*r);return this.findSimilarSource(n,r,"x")||this.findSimilarSource(n,a,h)?e:e+", "+this.getResizedCDNURL(t,a)+" "+a+h}},{key:"updateElementSrcset",value:function(e,t,i){i!==t&&e.setAttribute("data-srcset",i)}},{key:"getPixelRatio",value:function(){return window.devicePixelRatio||1}},{key:"findSimilarSource",value:function(e,t){var i=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:h,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.precision;return e.find(function(e){return n===e.unit&&e.value>=t&&i.isFuzzyMatch(e.value,t,r)})}},{key:"getResizedCDNURL",value:function(e,t){var i=this.parseURL(e);if(i){var n=new URLSearchParams(i.search);n.set("size","".concat(t,"x0"));var r=i.origin+i.pathname;return"".concat(r,"?").concat(n.toString())}}},{key:"parseURL",value:function(e){try{return new URL(e)}catch(e){return null}}},{key:"parseSrcSet",value:function(e){var t=this.extractSourcesFromSrcSet(e);return this.sortSources(t)}},{key:"extractSourcesFromSrcSet",value:function(e){return e.split(",").map(function(e){var t=a(e.trim().split(/\s+/),2),i=t[0],n=t[1],r=0,o="";return n&&(n.endsWith(h)?(r=parseInt(n,10),o=h):n.endsWith("x")&&(r=parseFloat(n),o="x")),{markup:e,src:i,value:r,unit:o}})}},{key:"sortSources",value:function(e){return e.sort(function(e,t){return e.value===t.value?0:e.value>t.value?-1:1}),e}},{key:"revertToOriginalSizesIfNeeded",value:function(e){var t=this.getOriginalSizesAttr(e);return!!t&&(e.setAttribute("sizes",t),e.removeAttribute(d),!0)}},{key:"getElementWidth",value:function(e){var t,i=null===(t=e.style)||void 0===t?void 0:t.width;if(i&&"auto"===i.trim())return"auto";var n=window.getComputedStyle(e).width,r=parseInt(n,10);return isNaN(r)?n:r}},{key:"getMaxWidthFromSizes",value:function(e){var t=e.match(/\(max-width:\s*(\d+)px\)\s*100vw,\s*\1px/);return t?parseInt(t[1],10):0}},{key:"getOriginalSizesAttr",value:function(e){return e.getAttribute(d)}},{key:"getDataSrcSet",value:function(e){return e.getAttribute(f)}},{key:"getDataSrc",value:function(e){return e.getAttribute("data-src")}},{key:"isFromSmushCDN",value:function(e){return e&&e.includes("smushcdn.com")}},{key:"isFuzzyMatch",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.abs(e-t)<=i}}],t&&s(e.prototype,t),i&&s(e,i),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,i}();!function(e,t){if(null===(e=window.smushLazyLoadOptions)||void 0===e?void 0:e.autoResizingEnabled){var i=(null===(t=window.smushLazyLoadOptions)||void 0===t?void 0:t.autoResizeOptions)||{};i=Object.assign({precision:5,skipAutoWidth:!0},i),new y(i)}}()},5651:function(e,t,i){"use strict";i.r(t);var n,r,a,o,s,u,l,c=i(7857);function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function f(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,v(n.key),n)}}function v(e){var t=function(e,t){if("object"!=d(e)||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var n=i.call(e,t||"default");if("object"!=d(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==d(t)?t:t+""}r="smush-lazyload-video",a="smush-lazyloaded-video",o="smush-lazyload-autoplay",s="ontouchstart"in window?"touchstart":"pointerdown",u=Number(null===(n=window)||void 0===n?void 0:n.smush_video_render_delay)||0,l=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.shouldDelayVideoRenderingForMobile=this.supportsIntersectionObserver(),this.queuedVideoElements=[],this.isMobileOrSafari=null,this.init()},t=[{key:"init",value:function(){var e=this;document.addEventListener("lazybeforeunveil",function(t){return e.handleVideoLazyLoad(t)}),document.addEventListener(s,function(){return e.enableVideoRenderingForMobile()},{once:!0,passive:!0}),document.addEventListener("DOMContentLoaded",function(){u<=0?document.querySelector(".".concat(r,".").concat(o))&&e.enableVideoRenderingForMobile():setTimeout(function(){return e.enableVideoRenderingForMobile()},u)})}},{key:"handleVideoLazyLoad",value:function(e){var t,i=e.target;(0,c.G)(null==e||null===(t=e.detail)||void 0===t?void 0:t.instance)&&i.classList.contains(r)&&(this.handleButtonPlay(i),this.maybePrepareVideoForPlay(i))}},{key:"handleButtonPlay",value:function(e){var t=this,i=e.querySelector(".".concat("smush-play-btn"));if(i){var n=function(){return t.loadIframeVideoWithAutoPlay(e)};i.addEventListener("click",n),i.addEventListener("keydown",function(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),n())})}else{var r;this.loadIframeVideo(e),null===(r=window.console)||void 0===r||r.warning("Missing play button [.smush-play-btn] for video element:",e)}}},{key:"maybePrepareVideoForPlay",value:function(e){var t=e.classList.contains(o);this.shouldPrepareIframeForPlay()?this.maybePrepareVideoForMobileAndSafari(e,t):t&&this.loadIframeVideoWithAutoPlay(e)}},{key:"enableVideoRenderingForMobile",value:function(){this.shouldDelayVideoRenderingForMobile&&(this.shouldDelayVideoRenderingForMobile=!1,this.maybeObserveQueuedVideoElements())}},{key:"supportsIntersectionObserver",value:function(){return"IntersectionObserver"in window}},{key:"maybeObserveQueuedVideoElements",value:function(){this.queuedVideoElements.length&&this.observeQueuedVideoElements()}},{key:"observeQueuedVideoElements",value:function(){var e=this,t=new IntersectionObserver(function(i){i.forEach(function(i){if(i.isIntersecting){var n=i.target;e.loadIframeVideo(n),t.unobserve(n)}})},{rootMargin:"0px 0px 200px 0px",threshold:.1});this.queuedVideoElements.forEach(function(e){t.observe(e)})}},{key:"maybePrepareVideoForMobileAndSafari",value:function(e,t){this.shouldDelayVideoRenderingForMobile?this.queuedVideoElements.push(e):this.loadIframeVideo(e,t)}},{key:"shouldPrepareIframeForPlay",value:function(){return null===this.isMobileOrSafari&&(this.isMobileOrSafari=this.checkIfMobileOrSafari()),this.isMobileOrSafari}},{key:"checkIfMobileOrSafari",value:function(){var e=navigator.userAgent;return e.includes("Mobi")||e.includes("Safari")&&!e.includes("Chrome")}},{key:"loadIframeVideo",value:function(e){var t,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e.classList.contains(a)){e.classList.add(a,"loading");var n=e.querySelector("iframe");if(n){var r=null===(t=n.dataset)||void 0===t?void 0:t.src;if(r){if(i){var o=new URL(r);o.searchParams.set("autoplay","1"),o.searchParams.set("playsinline","1"),r=o.toString()}var s=n.getAttribute("allow")||"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture";s.includes("autoplay")||(s+="; autoplay"),n.setAttribute("allow",s),n.setAttribute("allowFullscreen","true"),n.setAttribute("src",r),e.classList.remove("loading")}else{var u;null===(u=window.console)||void 0===u||u.error("Missing data-src attribute for iframe:",n)}}else{var l;null===(l=window.console)||void 0===l||l.error("Missing iframe element in video wrapper:",e)}}}},{key:"loadIframeVideoWithAutoPlay",value:function(e){this.loadIframeVideo(e,!0)}}],t&&f(e.prototype,t),i&&f(e,i),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,i}(),new l},6879:function(e){!function(t){var i=function(e,t,i){"use strict";var n,r;if(function(){var t,i={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",fastLoadedClass:"ls-is-cached",iframeLoadMode:0,srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};for(t in r=e.lazySizesConfig||e.lazysizesConfig||{},i)t in r||(r[t]=i[t])}(),!t||!t.getElementsByClassName)return{init:function(){},cfg:r,noSupport:!0};var a=t.documentElement,o=e.HTMLPictureElement,s="addEventListener",u="getAttribute",l=e[s].bind(e),c=e.setTimeout,d=e.requestAnimationFrame||c,f=e.requestIdleCallback,v=/^picture$/i,h=["load","error","lazyincluded","_lazyloaded"],y={},m=Array.prototype.forEach,g=function(e,t){return y[t]||(y[t]=new RegExp("(\\s|^)"+t+"(\\s|$)")),y[t].test(e[u]("class")||"")&&y[t]},p=function(e,t){g(e,t)||e.setAttribute("class",(e[u]("class")||"").trim()+" "+t)},b=function(e,t){var i;(i=g(e,t))&&e.setAttribute("class",(e[u]("class")||"").replace(i," "))},S=function(e,t,i){var n=i?s:"removeEventListener";i&&S(e,t),h.forEach(function(i){e[n](i,t)})},z=function(e,i,r,a,o){var s=t.createEvent("Event");return r||(r={}),r.instance=n,s.initEvent(i,!a,!o),s.detail=r,e.dispatchEvent(s),s},w=function(t,i){var n;!o&&(n=e.picturefill||r.pf)?(i&&i.src&&!t[u]("srcset")&&t.setAttribute("srcset",i.src),n({reevaluate:!0,elements:[t]})):i&&i.src&&(t.src=i.src)},E=function(e,t){return(getComputedStyle(e,null)||{})[t]},A=function(e,t,i){for(i=i||e.offsetWidth;i<r.minSize&&t&&!e._lazysizesWidth;)i=t.offsetWidth,t=t.parentNode;return i},k=(pe=[],be=[],Se=pe,ze=function(){var e=Se;for(Se=pe.length?be:pe,me=!0,ge=!1;e.length;)e.shift()();me=!1},we=function(e,i){me&&!i?e.apply(this,arguments):(Se.push(e),ge||(ge=!0,(t.hidden?c:d)(ze)))},we._lsFlush=ze,we),C=function(e,t){return t?function(){k(e)}:function(){var t=this,i=arguments;k(function(){e.apply(t,i)})}},R=function(e){var t,n=0,a=r.throttleDelay,o=r.ricTimeout,s=function(){t=!1,n=i.now(),e()},u=f&&o>49?function(){f(s,{timeout:o}),o!==r.ricTimeout&&(o=r.ricTimeout)}:C(function(){c(s)},!0);return function(e){var r;(e=!0===e)&&(o=33),t||(t=!0,(r=a-(i.now()-n))<0&&(r=0),e||r<9?u():c(u,r))}},M=function(e){var t,n,r=99,a=function(){t=null,e()},o=function(){var e=i.now()-n;e<r?c(o,r-e):(f||a)(a)};return function(){n=i.now(),t||(t=c(o,r))}},O=(Q=/^img$/i,Z=/^iframe$/i,J="onscroll"in e&&!/(gle|ing)bot/.test(navigator.userAgent),Y=0,K=0,X=0,ee=-1,te=function(e){X--,(!e||X<0||!e.target)&&(X=0)},ie=function(e){return null==G&&(G="hidden"==E(t.body,"visibility")),G||!("hidden"==E(e.parentNode,"visibility")&&"hidden"==E(e,"visibility"))},ne=function(e,i){var n,r=e,o=ie(e);for(U-=i,H+=i,q-=i,$+=i;o&&(r=r.offsetParent)&&r!=t.body&&r!=a;)(o=(E(r,"opacity")||1)>0)&&"visible"!=E(r,"overflow")&&(n=r.getBoundingClientRect(),o=$>n.left&&q<n.right&&H>n.top-1&&U<n.bottom+1);return o},re=function(){var e,i,o,s,l,c,d,f,v,h,y,m,g=n.elements;if((T=r.loadMode)&&X<8&&(e=g.length)){for(i=0,ee++;i<e;i++)if(g[i]&&!g[i]._lazyRace)if(!J||n.prematureUnveil&&n.prematureUnveil(g[i]))fe(g[i]);else if((f=g[i][u]("data-expand"))&&(c=1*f)||(c=K),h||(h=!r.expand||r.expand<1?a.clientHeight>500&&a.clientWidth>500?500:370:r.expand,n._defEx=h,y=h*r.expFactor,m=r.hFac,G=null,K<y&&X<1&&ee>2&&T>2&&!t.hidden?(K=y,ee=0):K=T>1&&ee>1&&X<6?h:Y),v!==c&&(j=innerWidth+c*m,B=innerHeight+c,d=-1*c,v=c),o=g[i].getBoundingClientRect(),(H=o.bottom)>=d&&(U=o.top)<=B&&($=o.right)>=d*m&&(q=o.left)<=j&&(H||$||q||U)&&(r.loadHidden||ie(g[i]))&&(D&&X<3&&!f&&(T<3||ee<4)||ne(g[i],c))){if(fe(g[i]),l=!0,X>9)break}else!l&&D&&!s&&X<4&&ee<4&&T>2&&(x[0]||r.preloadAfterLoad)&&(x[0]||!f&&(H||$||q||U||"auto"!=g[i][u](r.sizesAttr)))&&(s=x[0]||g[i]);s&&!l&&fe(s)}},ae=R(re),oe=function(e){var t=e.target;t._lazyCache?delete t._lazyCache:(te(e),p(t,r.loadedClass),b(t,r.loadingClass),S(t,ue),z(t,"lazyloaded"))},se=C(oe),ue=function(e){se({target:e.target})},le=function(e,t){var i=e.getAttribute("data-load-mode")||r.iframeLoadMode;0==i?e.contentWindow.location.replace(t):1==i&&(e.src=t)},ce=function(e){var t,i=e[u](r.srcsetAttr);(t=r.customMedia[e[u]("data-media")||e[u]("media")])&&e.setAttribute("media",t),i&&e.setAttribute("srcset",i)},de=C(function(e,t,i,n,a){var o,s,l,d,f,h;(f=z(e,"lazybeforeunveil",t)).defaultPrevented||(n&&(i?p(e,r.autosizesClass):e.setAttribute("sizes",n)),s=e[u](r.srcsetAttr),o=e[u](r.srcAttr),a&&(d=(l=e.parentNode)&&v.test(l.nodeName||"")),h=t.firesLoad||"src"in e&&(s||o||d),f={target:e},p(e,r.loadingClass),h&&(clearTimeout(_),_=c(te,2500),S(e,ue,!0)),d&&m.call(l.getElementsByTagName("source"),ce),s?e.setAttribute("srcset",s):o&&!d&&(Z.test(e.nodeName)?le(e,o):e.src=o),a&&(s||d)&&w(e,{src:o})),e._lazyRace&&delete e._lazyRace,b(e,r.lazyClass),k(function(){var t=e.complete&&e.naturalWidth>1;h&&!t||(t&&p(e,r.fastLoadedClass),oe(f),e._lazyCache=!0,c(function(){"_lazyCache"in e&&delete e._lazyCache},9)),"lazy"==e.loading&&X--},!0)}),fe=function(e){if(!e._lazyRace){var t,i=Q.test(e.nodeName),n=i&&(e[u](r.sizesAttr)||e[u]("sizes")),a="auto"==n;(!a&&D||!i||!e[u]("src")&&!e.srcset||e.complete||g(e,r.errorClass)||!g(e,r.lazyClass))&&(t=z(e,"lazyunveilread").detail,a&&L.updateElem(e,!0,e.offsetWidth),e._lazyRace=!0,X++,de(e,t,a,n,i))}},ve=M(function(){r.loadMode=3,ae()}),he=function(){3==r.loadMode&&(r.loadMode=2),ve()},ye=function(){D||(i.now()-V<999?c(ye,999):(D=!0,r.loadMode=3,ae(),l("scroll",he,!0)))},{_:function(){V=i.now(),n.elements=t.getElementsByClassName(r.lazyClass),x=t.getElementsByClassName(r.lazyClass+" "+r.preloadClass),l("scroll",ae,!0),l("resize",ae,!0),l("pageshow",function(e){if(e.persisted){var i=t.querySelectorAll("."+r.loadingClass);i.length&&i.forEach&&d(function(){i.forEach(function(e){e.complete&&fe(e)})})}}),e.MutationObserver?new MutationObserver(ae).observe(a,{childList:!0,subtree:!0,attributes:!0}):(a[s]("DOMNodeInserted",ae,!0),a[s]("DOMAttrModified",ae,!0),setInterval(ae,999)),l("hashchange",ae,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach(function(e){t[s](e,ae,!0)}),/d$|^c/.test(t.readyState)?ye():(l("load",ye),t[s]("DOMContentLoaded",ae),c(ye,2e4)),n.elements.length?(re(),k._lsFlush()):ae()},checkElems:ae,unveil:fe,_aLSL:he}),L=(P=C(function(e,t,i,n){var r,a,o;if(e._lazysizesWidth=n,n+="px",e.setAttribute("sizes",n),v.test(t.nodeName||""))for(a=0,o=(r=t.getElementsByTagName("source")).length;a<o;a++)r[a].setAttribute("sizes",n);i.detail.dataAttr||w(e,i.detail)}),I=function(e,t,i){var n,r=e.parentNode;r&&(i=A(e,r,i),(n=z(e,"lazybeforesizes",{width:i,dataAttr:!!t})).defaultPrevented||(i=n.detail.width)&&i!==e._lazysizesWidth&&P(e,r,n,i))},W=M(function(){var e,t=F.length;if(t)for(e=0;e<t;e++)I(F[e])}),{_:function(){F=t.getElementsByClassName(r.autosizesClass),l("resize",W)},checkElems:W,updateElem:I}),N=function(){!N.i&&t.getElementsByClassName&&(N.i=!0,L._(),O._())};var F,P,I,W;var x,D,_,T,V,j,B,U,q,$,H,G,Q,Z,J,Y,K,X,ee,te,ie,ne,re,ae,oe,se,ue,le,ce,de,fe,ve,he,ye;var me,ge,pe,be,Se,ze,we;return c(function(){r.init&&N()}),n={cfg:r,autoSizer:L,loader:O,init:N,uP:w,aC:p,rC:b,hC:g,fire:z,gW:A,rAF:k}}(t,t.document,Date);t.lazySizes=i,e.exports&&(e.exports=i)}("undefined"!=typeof window?window:{})},7857:function(e,t,i){"use strict";i.d(t,{G:function(){return a}});var n=i(6879),r=i.n(n),a=function(e){return e===r()||JSON.stringify((null==e?void 0:e.cfg)||{})===JSON.stringify((null===r()||void 0===r()?void 0:r().cfg)||{})};t.A=r()}},t={};function i(n){var r=t[n];if(void 0!==r)return r.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,i),a.exports}i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,{a:t}),t},i.d=function(e,t){for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){"use strict";var e=window.lazySizesConfig||null;e&&delete window.lazySizesConfig;var t=i(7857);i(4885),i(5651),i(5637),t.A.init(),e?window.lazySizesConfig=e:"lazySizesConfig"in window&&delete window.lazySizesConfig}()}();