"use strict";(self.webpackChunkkcc_gem_theme=self.webpackChunkkcc_gem_theme||[]).push([[709],{709:function(e,t,n){n.d(t,{default:function(){return v}});function o(){if(window.innerWidth>=992){(e=document.getElementById("headerGlobalNavbarContent")).classList.contains("show")&&$(e).collapse("hide")}var e}var c=function(){window.addEventListener("resize",o)};const s="headerGlobalNavbarContent",a=document.getElementById("headerGlobalNavbar"),r="show";function i(){const e=document.getElementById("navGlobalBottom").querySelectorAll(".dropdown-toggle");window.innerWidth<=992?function(e){let t=e.length;for(var n=0;n{const n=document.createElement("script");n.type="text/javascript",n.async=!0,n.src="https://cse.google.com/cse.js?cx=006320264078644364913:sy48bet-lr8",n.onload=()=>e(n),document.head.append(n)})).then((e=>new Promise(((e,t)=>{const n=document.getElementById("searchCollapse");new MutationObserver((function(t,n){for(const s of t)if("childList"==s.type){document.querySelector(".gsst_a").setAttribute("id","xIcon");let t=d.length;for(var o=0;o{!function(){let e=!1;return function(){e||(e=!0,"display: none;"===document.getElementById("xIcon").getAttribute("style")?g():u())}}()();const e=document.getElementById("xIcon");new MutationObserver((function(t,n){for(const n of t)"attributes"==n.type&&("display: none;"===e.getAttribute("style")?g():u())})).observe(e,{attributes:!0,childList:!0,subtree:!0}),n.e(282).then(n.bind(n,282)).then((e=>{let{default:t}=e;return t()}))}))};const h=$("#headerGlobalNavbarContent");function m(e){e.target.matches(".nav-link:not(.dropdown-toggle)")&&!e.target.classList.contains("dropdown-toggle")&&document.getElementById("headerGlobalNavbarContent").classList.contains("show")&&h.collapse("hide")}var f=function(){document.addEventListener("click",m)};function v(){b(),"/"==window.location.pathname&&n.e(126).then(n.bind(n,126)).then((e=>{let{default:t}=e;return t()})),c(),l(),f()}}}]);