1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[7403],{7403:(e,t,s)=>{s.r(t),s.d(t,{default:()=>i});var n=s(3721);const i=class Fixedheader{lastScrollTop=0;delta=75;constructor(e){this.element=e,this.switchpoint=$(".header-img").outerHeight()||250,this.init()}init(){this.bindEvents()}bindEvents(){n.Z.set([{element:window,event:"scroll",namespace:"FixedHeader",fn:()=>this.handleScroll()}])}handleScroll(){this.scrollTop=window.scrollY||document.documentElement.scrollTop,this.element.classList[this.scrollTop>=this.switchpoint?"add":"remove"]("fixed"),Math.abs(this.lastScrollTop-this.scrollTop)<=this.delta||this.scrollTop<=0||(this.element.classList[this.scrollTop>this.lastScrollTop?"add":"remove"]("header-hidden"),this.lastScrollTop=this.scrollTop)}}},3721:(e,t,s)=>{s.d(t,{Z:()=>a});var n=s(3493),i=s.n(n);function generateNamespace(e,t){return`${e}.${t}`}const a=new class RafThrottle{constructor(){this.namespaces={},this.timeoutList={},this.runningList={}}set(e){this._addEvents(e)}remove(e){e&&this._removeEvents(e)}_addEvents(e){e.forEach((e=>{const t={element:e.element,event:e.event,namespace:generateNamespace(e.event,e.namespace),callback:t=>this._trigger(e,t),eventOptions:{passive:!0},delay:e.delay};this.timeoutList[t.namespace]=null,this.runningList[t.namespace]=!1,this._addThrottledEvent(t)}))}_removeEvents(e){e.forEach((e=>{const t={element:e.element,event:e.event,namespace:generateNamespace(e.event,e.namespace)};this._removeThrottledEvent(t)}))}_trigger(e,t){const s=generateNamespace(e.event,e.namespace);this.runningList[s]||(e.delay&&0!==e.delay?(this.timeoutList[s]&&clearTimeout(this.timeoutList[s]),this.timeoutList[s]=setTimeout((()=>{i()((()=>{e.fn(t),e.element=!1,this.runningList[s]=!1}))}),e.delay)):i()((()=>{e.fn(t),this.runningList[s]=!1})),this.runningList[s]=!0)}_addThrottledEvent(e){const{element:t,event:s,namespace:n,callback:i}=e;let{eventOptions:a}=e;this.namespaces[n]=i,a=a||!1,t.addEventListener(s,i,a)}_removeThrottledEvent(e){const{element:t,event:s,namespace:n}=e;this.namespaces[n]&&(t.removeEventListener(s,this.namespaces[n]),delete this.namespaces[n])}}}}]);
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.