(self.webpackChunkkcc_gem_theme=self.webpackChunkkcc_gem_theme||[]).push([[279],{7279:function(e,t,n){"use strict";function r(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var c,l=!0,i=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return l=e.done,e},e:function(e){i=!0,c=e},f:function(){try{l||null==n.return||n.return()}finally{if(i)throw c}}}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n(current)')}n.r(t),n.d(t,{default:function(){return v}}),n(4916),n(5306),n(7042),n(1539),n(8309),n(1038),n(8783),n(2526),n(1817),n(2165),n(6992),n(3948);var c=$("#mainNavContent");function l(e){e.target.matches(".nav-link:not(.dropdown-toggle)")&&(e.target.classList.contains("dropdown-toggle")||!!document.getElementById("mainNavContent").classList.contains("show")&&c.collapse("hide"))}function i(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){l=!0,o=e},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=992){var e=document.getElementById("searchCollapse"),t=document.getElementById("globalNav"),n=document.getElementById("mainNav"),r=document.getElementById("searchIcon");f(e,"nav-global__search-collapse--visible"),f(t,"nav-global__search-toggle"),f(n,"nav-local__search-toggle"),"Toggle Close"!==!(a=r).getAttribute("aria-label")&&function(e){var t=e.querySelector("#searchImg");e.setAttribute("aria-label","Toggle Search"),t.setAttribute("alt","Open icon"),t.setAttribute("style",'background-image: url("/assets/img/search.svg")')}(a)}var a}function v(){var e;(function(){var e=window.location.pathname,t="#contact"===window.location.hash,n="/"===window.location.pathname;document.getElementById("subNavNav")&&function(e){var t,n=r(document.querySelectorAll(".js-sub-nav-item"));try{for(n.s();!(t=n.n()).done;){var a=t.value,c=a.querySelector("a"),l=c.getAttribute("href").replace(/\.\.\//g,"");c.textContent,-1!==e.indexOf(l)&&o(a)}}catch(e){n.e(e)}finally{n.f()}}(e);var a,c=r(document.querySelectorAll(".js-nav-item"));try{for(c.s();!(a=c.n()).done;){var l=a.value,i=l.querySelector("a"),s=i.getAttribute("href").replace(/\.\.\//g,""),u="home"===i.textContent.toLowerCase(),d=-1!==e.indexOf(s);n||t?u&&o(l):d&&!u&&o(l)}}catch(e){c.e(e)}finally{c.f()}})(),(e=document.getElementById("searchIcon"))&&document.addEventListener("click",(function(t){var n=document.getElementById("searchImg"),r=document.getElementById("searchCollapse"),a=document.getElementById("mainNav"),o=document.getElementById("globalNav"),c=-1!=n.style.backgroundImage.indexOf("assets/img/search.svg"),l=r.getAttribute("aria-hidden"),i=document.getElementById("gsc-i-id1");t.target.closest("#searchIcon")&&(t.preventDefault(),c?(n.style.backgroundImage='url("/assets/img/x.svg")',n.setAttribute("alt","Close icon"),e.setAttribute("aria-label","Toggle Close")):(n.style.backgroundImage='url("/assets/img/search.svg")',n.setAttribute("alt","Search icon"),e.setAttribute("aria-label","Toggle Search"),i.focus()),r.classList.toggle("nav-global__search-collapse--visible"),"true"===l?r.setAttribute("aria-hidden","false"):r.setAttribute("aria-hidden","true"),a.classList.toggle("nav-local__search-toggle"),o.classList.toggle("nav-global__search-toggle"))}),!1),document.getElementById("searchCollapse")&&new Promise((function(e,t){!function(){var e=document.createElement("script");e.type="text/javascript",e.async=!0,e.src="https://cse.google.com/cse.js?cx=006320264078644364913:sy48bet-lr8";var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)}(),e()})).then((function(){new Promise((function(e,t){var n=document.getElementById("searchCollapse");new MutationObserver((function(t,n){var r,a=i(t);try{for(a.s();!(r=a.n()).done;)"childList"==r.value.type&&(document.querySelector(".gsst_a").setAttribute("id","xIcon"),e())}catch(e){a.e(e)}finally{a.f()}})).observe(n,{attributes:!0,childList:!0,subtree:!0})})).then((function(){var e;(e=!1,function(){e||(e=!0,"display: none;"===document.getElementById("xIcon").getAttribute("style")?d():u())})();var t=document.getElementById("xIcon");new MutationObserver((function(e,n){var r,a=i(e);try{for(a.s();!(r=a.n()).done;)"attributes"==r.value.type&&("display: none;"===t.getAttribute("style")?d():u())}catch(e){a.e(e)}finally{a.f()}})).observe(t,{attributes:!0,childList:!0,subtree:!0})}))})),document.addEventListener("click",l,!1),window.addEventListener("resize",g)}},1530:function(e,t,n){"use strict";var r=n(8710).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},7007:function(e,t,n){"use strict";n(4916);var r=n(1320),a=n(2261),o=n(7293),c=n(5112),l=n(8880),i=c("species"),s=RegExp.prototype;e.exports=function(e,t,n,u){var d=c(e),f=!o((function(){var t={};return t[d]=function(){return 7},7!=""[e](t)})),g=f&&!o((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[i]=function(){return n},n.flags="",n[d]=/./[d]),n.exec=function(){return t=!0,null},n[d](""),!t}));if(!f||!g||n){var v=/./[d],p=t(d,""[e],(function(e,t,n,r,o){var c=t.exec;return c===a||c===s.exec?f&&!o?{done:!0,value:v.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}));r(String.prototype,e,p[0]),r(s,d,p[1])}u&&l(s[d],"sham",!0)}},647:function(e,t,n){var r=n(7908),a=Math.floor,o="".replace,c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,i,s,u){var d=n+e.length,f=i.length,g=l;return void 0!==s&&(s=r(s),g=c),o.call(u,g,(function(r,o){var c;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,n);case"'":return t.slice(d);case"<":c=s[o.slice(1,-1)];break;default:var l=+o;if(0===l)return r;if(l>f){var u=a(l/10);return 0===u?r:u<=f?void 0===i[u-1]?o.charAt(1):i[u-1]+o.charAt(1):r}c=i[l-1]}return void 0===c?"":c}))}},7651:function(e,t,n){var r=n(4326),a=n(2261);e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var o=n.call(e,t);if("object"!=typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return a.call(e,t)}},2261:function(e,t,n){"use strict";var r,a,o=n(1340),c=n(7066),l=n(2999),i=n(2309),s=n(30),u=n(9909).get,d=n(9441),f=n(8173),g=RegExp.prototype.exec,v=i("native-string-replace",String.prototype.replace),p=g,h=(r=/a/,a=/b*/g,g.call(r,"a"),g.call(a,"a"),0!==r.lastIndex||0!==a.lastIndex),m=l.UNSUPPORTED_Y||l.BROKEN_CARET,y=void 0!==/()??/.exec("")[1];(h||y||m||d||f)&&(p=function(e){var t,n,r,a,l,i,d,f=this,b=u(f),x=o(e),I=b.raw;if(I)return I.lastIndex=f.lastIndex,t=p.call(I,x),f.lastIndex=I.lastIndex,t;var E=b.groups,A=m&&f.sticky,w=c.call(f),S=f.source,_=0,B=x;if(A&&(-1===(w=w.replace("y","")).indexOf("g")&&(w+="g"),B=x.slice(f.lastIndex),f.lastIndex>0&&(!f.multiline||f.multiline&&"\n"!==x.charAt(f.lastIndex-1))&&(S="(?: "+S+")",B=" "+B,_++),n=new RegExp("^(?:"+S+")",w)),y&&(n=new RegExp("^"+S+"$(?!\\s)",w)),h&&(r=f.lastIndex),a=g.call(A?n:f,B),A?a?(a.input=a.input.slice(_),a[0]=a[0].slice(_),a.index=f.lastIndex,f.lastIndex+=a[0].length):f.lastIndex=0:h&&a&&(f.lastIndex=f.global?a.index+a[0].length:r),y&&a&&a.length>1&&v.call(a[0],n,(function(){for(l=1;lb)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$c")}))},4916:function(e,t,n){"use strict";var r=n(2109),a=n(2261);r({target:"RegExp",proto:!0,forced:/./.exec!==a},{exec:a})},5306:function(e,t,n){"use strict";var r=n(7007),a=n(7293),o=n(9670),c=n(9958),l=n(7466),i=n(1340),s=n(4488),u=n(1530),d=n(647),f=n(7651),g=n(5112)("replace"),v=Math.max,p=Math.min,h="$0"==="a".replace(/./,"$0"),m=!!/./[g]&&""===/./[g]("a","$0");r("replace",(function(e,t,n){var r=m?"$":"$0";return[function(e,n){var r=s(this),a=null==e?void 0:e[g];return void 0!==a?a.call(e,r,n):t.call(i(r),e,n)},function(e,a){var s=o(this),g=i(e);if("string"==typeof a&&-1===a.indexOf(r)&&-1===a.indexOf("$<")){var h=n(t,s,g,a);if(h.done)return h.value}var m="function"==typeof a;m||(a=i(a));var y=s.global;if(y){var b=s.unicode;s.lastIndex=0}for(var x=[];;){var I=f(s,g);if(null===I)break;if(x.push(I),!y)break;""===i(I[0])&&(s.lastIndex=u(g,l(s.lastIndex),b))}for(var E,A="",w=0,S=0;S=w&&(A+=g.slice(w,B)+$,w=B+_.length)}return A+g.slice(w)}]}),!!a((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}))||!h||m)}}]);