"use strict";!function(){var e=document.querySelectorAll(".svg-shim > svg");/MSIE \d|Trident.*rv:/.test(navigator.userAgent)&&[].forEach.call(e,function(e){!function(e){var t=window.getComputedStyle(e,null).getPropertyValue("color"),o=(new XMLSerializer).serializeToString(e);o="data:image/svg+xml,"+(o=(o=(o=(o=(o=(o=o.replace(/currentColor/g,t)).replace(/\s\s+/g," ")).replace(/</g,"%3C")).replace(/>/g,"%3E")).replace(/#/g,"%23")).replace(/"/g,"'"));var n=document.createElement("img");n.src=o,n.alt="...";var a=e.parentNode;a.appendChild(n),a.removeChild(e)}(e)})}(),"undefined"!=typeof AOS&&AOS.init({duration:700,easing:"ease-out-quad",once:!0,startEvent:"load"}),function(){var e=document.querySelectorAll('[data-toggle="countup"]');function o(e){var t=e.dataset.from?+e.dataset.from:null,o=e.dataset.to?+e.dataset.to:null,n=e.dataset.decimals?+e.dataset.decimals:null,a=e.dataset.duration?+e.dataset.duration:null,l=e.dataset.options?JSON.parse(e.dataset.options):null,r=new CountUp(e,t,o,n,a,l);r.error?console.error(r.error):(r.start(),e.classList.add("counted"))}"undefined"!=typeof CountUp&&e&&[].forEach.call(e,function(e){"countup:in"!==e.getAttribute("data-aos-id")&&o(e)}),document.addEventListener("aos:in:countup:in",function(e){if(e.detail instanceof Element)o(e.detail);else{var t=document.querySelectorAll('.aos-animate[data-aos-id="countup:in"]:not(.counted)');[].forEach.call(t,function(e){o(e)})}})}(),function(){var e=document.querySelectorAll(".navbar-nav .dropdown, .navbar-nav .dropright");[].forEach.call(e,function(o){"mouseenter mouseleave click".split(" ").forEach(function(t){o.addEventListener(t,function(){if(991<window.innerWidth){var e=o.querySelector('[data-toggle="dropdown"]');"mouseenter"===t?(o.classList.add("hovered"),$(e).dropdown("show")):($(e).dropdown("hide"),e.blur())}})})})}(),jQuery().fancybox&&($.fancybox.defaults.image.preload=!1,$.fancybox.defaults.toolbar=!1,$.fancybox.defaults.clickContent=!1),function(){var e=document.querySelectorAll(".highlight");"undefined"!=typeof hljs&&e&&[].forEach.call(e,function(e){!function(e){hljs.highlightBlock(e)}(e)})}(),function(){var e=$("[data-isotope]");$("[data-filter]").on("click",function(){var e=$(this),t=e.data("filter"),o=e.data("target");$(o).isotope({filter:t})}),e.imagesLoaded().progress(function(){e.isotope("layout")})}(),function(){var e=document.querySelectorAll('[data-toggle="map"]');"undefined"!=typeof mapboxgl&&e&&[].forEach.call(e,function(e){!function(e){var t=e.dataset.options;t=t?JSON.parse(t):{};var o={container:e,style:"mapbox://styles/mapbox/light-v9",scrollZoom:!1,interactive:!1},n=Object.assign(o,t);mapboxgl.accessToken="pk.eyJ1IjoiZ29vZHRoZW1lcyIsImEiOiJjanU5eHR4N2cybDU5NGVwOHZwNGprb3E0In0.msdw9q16dh8v4azJXUdiXg",new mapboxgl.Map(n)}(e)})}(),function(){var e=document.querySelectorAll(".modal");function t(){var e=window.innerWidth-document.documentElement.clientWidth;document.documentElement.style.overflow="hidden",document.body.style.paddingRight=e+"px"}$(e).on({"show.bs.modal":function(){t()},"hidden.bs.modal":function(){document.documentElement.style.overflow="",document.body.style.paddingRight=""}})}(),function(){var e=document.querySelectorAll(".navbar-togglable"),t=document.querySelectorAll(".navbar-collapse"),o=["load","scroll"],n=!1;function a(e){var t=window.pageYOffset;t&&!n&&function(e){e.classList.remove("navbar-dark"),e.classList.add("navbar-light"),e.classList.add("bg-white"),n=!0}(e),t||function(e){e.classList.remove("navbar-light"),e.classList.remove("bg-white"),e.classList.add("navbar-dark"),n=!1}(e)}function l(){var e=window.innerWidth-document.documentElement.clientWidth;document.documentElement.style.overflow="hidden",document.body.style.paddingRight=e+"px"}[].forEach.call(e,function(t){o.forEach(function(e){window.addEventListener(e,function(){a(t)})})}),[].forEach.call(t,function(e){$(e).on({"show.bs.collapse":function(){l()},"hidden.bs.collapse":function(){document.documentElement.style.overflow=""}})})}(),function(){var e=document.querySelectorAll('[data-toggle="popover"]');e&&$(e).popover({template:'<div class="popover" role="tooltip"><div class="arrow"></div><h6 class="popover-header text-uppercase"></h6><div class="popover-body"></div></div>'})}(),function(){var e=document.querySelector('[data-toggle="price"]');"undefined"!=typeof CountUp&&e&&e.addEventListener("change",function(e){!function(e){var t=e.target,d=t.checked,o=t.dataset.target,n=document.querySelectorAll(o);[].forEach.call(n,function(e){var t=e.dataset.annual,o=e.dataset.monthly,n=e.dataset.decimals?e.dataset.decimals:null,a=e.dataset.duration?e.dataset.duration:1,l=e.dataset.options?JSON.parse(e.dataset.options):null,r=d?new CountUp(e,t,o,n,a,l):new CountUp(e,o,t,n,a,l);r.error?console.error(r.error):r.start()})}(e)})}(),function(){var e='[data-toggle="smooth-scroll"]';"undefined"!=typeof SmoothScroll&&new SmoothScroll(e,{header:".navbar.fixed-top",offset:function(e,t){return t.dataset.offset?t.dataset.offset:24}})}(),function(){var e=document.querySelectorAll('[data-toggle="tooltip"]');e&&$(e).tooltip()}(),function(){var e=document.querySelectorAll('[data-toggle="typed"]');"undefined"!=typeof Typed&&e&&[].forEach.call(e,function(e){!function(e){var t=e.dataset.options;t=t?JSON.parse(t):{};var o=Object.assign({typeSpeed:40,backSpeed:40,backDelay:1e3,loop:!0},t);new Typed(e,o)}(e)})}();