"use strict";document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll(".js-accordion-toggle").forEach(function(a){a.addEventListener("click",function(){var t=a.nextElementSibling,o=a,e="0px"!==window.getComputedStyle(t).maxHeight,n=document.querySelectorAll(".accordion-content"),c=document.querySelectorAll(".js-accordion-toggle");n.forEach(function(e){e!==t&&(e.style.maxHeight="0")}),c.forEach(function(e){e!==o&&e.classList.remove("active")}),e?(t.style.maxHeight="0",o.classList.remove("active")):(t.style.maxHeight=t.scrollHeight+"px",o.classList.add("active"))})})}),function(t){t(document).on("click",'a[href^="#"]',function(e){e.preventDefault(),t("html, body").animate({scrollTop:t(t.attr(this,"href")).offset().top-100},500)})}(jQuery),$("#accordion").children(".group").on("show.bs.collapse",function(){$(this).find("span").html("-")}),$("#accordion").children(".group").on("hidden.bs.collapse",function(){$(this).find("span").html("+")}),function(l){l(document).ready(function(){for(var e=l("#menu-menu-1 li").children(),i=[],t=0;t<e.length;t++){var o=e[t],o=l(o).attr("href");i.push(o)}var r=l(".indicator").width(),s=l(".indicator").offset().left;l(window).scroll(function(){for(var e=l(window).scrollTop(),t=(l(window).height(),l(document).height(),0);t<i.length;t++){var o,n=i[t],c=l(n).offset().top,a=(c-=135,l(n).height());a+=90,c<=e&&e<c+a?(l("a[href='"+n+"']").parent().addClass("active"),c=l("a[href='"+n+"']").offset().left,a=l("a[href='"+n+"']").width(),o=c-s+((a-r)/2-1)):l("a[href='"+n+"']").parent().removeClass("active")}l(".indicator").css("transform","translateX("+o+"px)")})})}(jQuery),window.onscroll=function(){myFunction()};var header=document.querySelector(".nav-wrapper"),hero=document.querySelector(".hero-wrapper"),sticky=200;function myFunction(){window.pageYOffset>=sticky?(header.classList.add("sticky"),hero.classList.add("sticky")):(header.classList.remove("sticky"),hero.classList.remove("sticky"))}$(".wp-facebook-reviews").children().each(function(){$(this).find(".wp-facebook-name").attr("href","#")});var rating=$(".wp-facebook-place").find(".wp-facebook-rating"),stars=$(".wp-facebook-place").find(".wp-facebook-stars");$(".wp-facebook-place").find(".wp-facebook-rating").clone().appendTo(".rating"),$(".wp-facebook-place").find(".wp-facebook-stars").clone().appendTo(".rating"),$(".sidebar-button").click(function(){$(".sidebar-wrapper").toggleClass("active")}),$(".close-widget").click(function(){$(".sidebar-wrapper").removeClass("active")});