1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[3251],{3251:(e,t,s)=>{s.r(t),s.d(t,{default:()=>r});var i=s(9568),o=s(5206),n=s(3266);class r extends i.Z{init(){this._topLevelLinks=this.el.querySelectorAll("".concat(this.options.topLevelLinksSelector)),this._registerEvents(),this._isMouseOver=!1}_registerEvents(){let e=o.Z.isTouchDevice()?"touchstart":"mouseenter",t=o.Z.isTouchDevice()?"touchstart":"mouseleave",s=o.Z.isTouchDevice()?"touchstart":"click";n.Z.iterate(this._topLevelLinks,i=>{i.addEventListener(e,this._toggleNavbar.bind(this,i)),i.addEventListener(t,this._toggleNavbar.bind(this,i)),i.addEventListener(s,this._navigateToLinkOnClick.bind(this,i))})}_toggleNavbar(e,t){let s=window.bootstrap.Dropdown.getOrCreateInstance(e);"mouseenter"===t.type?(this._isMouseOver=!0,this._debounce(()=>{this._isMouseOver&&(null==s?void 0:s._menu)&&!s._menu.classList.contains("show")&&(this._closeAllDropdowns(),this.$emitter.publish("closeAllDropdowns"),s.show(),this.$emitter.publish("showDropdown"))},this.options.debounceTime)):"mouseleave"===t.type&&(this._isMouseOver=!1)}_closeAllDropdowns(){Array.from(this._topLevelLinks).map(e=>window.bootstrap.Dropdown.getInstance(e)).forEach(e=>{(null==e?void 0:e._menu)&&e._menu.classList.contains("show")&&e.hide()})}_navigateToLinkOnClick(e,t){"click"===t.type&&0!==t.pageX&&(t.preventDefault(),t.stopPropagation(),window.location.replace(e.href))}_debounce(e){for(var t=arguments.length,s=Array(t>1?t-1:0),i=1;i<t;i++)s[i-1]=arguments[i];this._clearDebounce(),this._debouncer=setTimeout(e.bind(this,...s),this.options.debounceTime)}_clearDebounce(){clearTimeout(this._debouncer)}}r.options={debounceTime:125,topLevelLinksSelector:".main-navigation-link"}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.