!function(){for(var e=document.getElementsByClassName("pre-code"),t=e.length,n=0;n'+e[n].innerHTML;for(var o=e[n].innerHTML.split(/\n/).length,a=0;a"+(a+1)+""}}}(),jQuery(document).ready(function(e){e(document).ready(function(){e(".check-table").on("click",function(){e("#index-table").toggle(200)})}),e('a[href*="#"]').not('[href="#"]').not('[href="#0"]').not('[href^="#tab"]').click(function(t){if(location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname){var n=e(this.hash);(n=n.length?n:e("[name="+this.hash.slice(1)+"]")).length&&(t.preventDefault(),e("html, body").animate({scrollTop:n.offset().top},1e3,function(){var t=e(n);if(t.focus(),t.is(":focus"))return!1;t.attr("tabindex","-1"),t.focus()}))}})}),document.body.classList.contains("woocommerce-cart")||document.body.classList.contains("woocommerce-checkout")||window.innerWidth<768||!document.getElementById("site-header-cart")||window.addEventListener("load",function(){document.querySelector(".site-header-cart").addEventListener("mouseover",function(){var e=window.outerHeight,t=this.querySelector(".widget_shopping_cart_content").getBoundingClientRect().bottom+this.offsetHeight,n=this.querySelector(".cart_list");t>e&&(n.style.maxHeight="15em",n.style.overflowY="auto")})});