!function(e){var t={};function a(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,a),o.l=!0,o.exports}a.m=e,a.c=t,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)a.d(n,o,function(t){return e[t]}.bind(null,o));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=30)}({30:function(e,t){function a(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?n(e,t):void 0}}(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 n(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a0&&document.getElementById("eael-toc").classList.remove("eael-toc-disable");for(var g=0,p=l.length;g0;if(!r(u,v)&&!y){var b=parseInt(v.tagName.substr(1,1)),C=b-h;if(C>0){var w=m.lastChild;if(w){var E=document.createElement("UL");w.appendChild(E),m=E,h=b}}var A=!1;if(C<0){for(;0!=C++;)m.parentNode.parentNode&&(m=m.parentNode.parentNode);h=b,A=!0}if("UL"!==m.tagName&&(m=d),""!==v.textContent.trim()){var S=document.createElement("LI"),L=document.createElement("A"),I=document.createElement("SPAN");(f===h||A)&&(S.setAttribute("itemscope",""),S.setAttribute("itemtype","http://schema.org/ListItem"),S.setAttribute("itemprop","itemListElement"));var x="#"+g+"-"+s(c,v.textContent);L.className="eael-toc-link",L.setAttribute("itemprop","item"),L.setAttribute("href",x),I.appendChild(document.createTextNode(v.textContent)),L.appendChild(I),S.appendChild(L),m.appendChild(S)}}}}(0,t,d);var m=o("ul.eael-toc-list > li");m.length<1&&document.getElementById("eael-toc").classList.add("eael-toc-disable"),m.each((function(){this.classList.add("eael-first-child")}))}o(document).on("click","ul.eael-toc-list a",(function(e){e.preventDefault(),o(document).off("scroll");var t=this.hash;if(history.pushState("",document.title,window.location.pathname+window.location.search),o(this).parent().is(".eael-highlight-parent.eael-highlight-active"))return o("html, body").animate({scrollTop:o(t).offset().top-n},0),!1;var a=o(this).closest("li");a.hasClass("eael-highlight-active")?(a.removeClass("eael-highlight-active eael-highlight-parent"),a.find(".eael-highlight-active").removeClass("eael-highlight-active ")):(a.closest("ul").find("li.eael-highlight-active").removeClass("eael-highlight-active eael-highlight-parent"),a.addClass("eael-highlight-active eael-highlight-parent")),o("html, body").animate({scrollTop:o(t).offset().top-n},0)})),window.addEventListener("scroll",(function(e){var t;(t=document.getElementById("eael-toc"))&&(i=void 0!==i?i:200,window.pageYOffset>=i&&!t.classList.contains("eael-toc-disable")?(t.classList.add("eael-sticky"),o("#eael-toc-list").hasClass("eael-toc-auto-highlight")&&function(){var e=document.querySelectorAll("#eael-toc-list .eael-toc-link");o("#eael-toc-list .eael-toc-link").removeClass("eael-highlight-active");for(var t=!!o("#eael-toc").hasClass("eael-toc-auto-highlight.eael-toc-highlight-single-item"),a=0;a=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)}function s(e,t){return"true"==e&&""!=t?t.toString().toLowerCase().normalize("NFD").trim().replace(/[^a-z0-9 -]/g,"").replace(/\s+/g,"-").replace(/^-+/,"").replace(/-+$/,"").replace(/-+/g,"-"):"eael-table-of-content"}function d(){var e=document.getElementById("eael-toc");if(e&&e.dataset.contentselector)return e.dataset.contentselector;var t=".site-content";return o(".site-content")[0]?t=".site-content":o(".elementor-inner")[0]?t=".elementor-inner":o("#site-content")[0]?t="#site-content":o(".site-main")&&(t=".site-main"),t}o("body").click((function(e){var t=o(e.target),a=o("#eael-toc");a.hasClass("eael-toc-auto-collapse")&&a.hasClass("eael-sticky")&&!a.hasClass("collapsed")&&0===o(t).closest("#eael-toc").length&&a.toggleClass("collapsed")})),o(document).on("click",".eael-toc-close ,.eael-toc-button",(function(e){e.stopPropagation(),o(".eael-toc").toggleClass("collapsed")})),"undefined"!=typeof eael&&eael.isEditMode&&elementorFrontend.hooks.addAction("frontend/element_ready/widget",(function(e,t){var a=t("#eael-toc #eael-toc-list");if(a.find("li.eael-first-child").length<1&&a.length>=1){var n=t("#eael-toc").data("eaeltoctag");n&&l(d(),n)}}));var u="undefined"!=typeof isEditMode&&isEditMode,h=o("#eael-toc").data("eaeltoctag");function f(){window.innerWidth<=991?document.body.classList.add("eael-toc-mobile"):document.body.classList.remove("eael-toc-mobile")}""===h||u||l(d(),h),f(),window.addEventListener("resize",f)}))}});