1"use strict";(self.webpackJsonp_stauff_platform=self.webpackJsonp_stauff_platform||[]).push([[1147],{94929:(t,i,e)=>{e.r(i),e.d(i,{default:()=>n});var s=e(97337),r="top",a="down";class n extends s.Z{constructor(){super(...arguments),this.target=void 0,this.wrapper=void 0,this.windowHeight=void 0,this.windowWidth=void 0,this.wrapperHeight=void 0,this.distanceToWrapper=void 0,this.initialized=!1}readyCallback(){}init(){this.wrapper=document.getElementsByClassName(this.wrapperClassName)[0],this.target=this.wrapper.getElementsByClassName(this.targetClassName)[0],this.defineDimensions(),this.mapEvents()}mapEvents(){window.addEventListener("resize",(()=>setTimeout((()=>this.defineDimensions()),300))),window.addEventListener("scroll",this.checkBreakpointsToScroll.bind(this))}defineDimensions(){this.windowHeight=window.innerHeight,this.windowWidth=window.innerWidth,this.wrapperHeight=this.wrapper.offsetHeight,this.distanceToWrapper=this.getDistanceToWrapper()}checkBreakpointsToScroll(){if(!isNaN(this.minBreakPoint)&&!isNaN(this.maxBreakPoint)){if(this.minBreakPoint<this.windowWidth&&this.maxBreakPoint>this.windowWidth)return void this.moveTarget();this.cleanOffset()}}cleanOffset(){this.initialized&&(this.initialized=!1,this.target.removeAttribute("style"))}moveTarget(){var t=window.scrollY+this.windowHeight,i="";t>this.distanceToWrapper&&(this.motionDirection===r&&(i="-"+this.getTargetOffset(t)),this.motionDirection===a&&(i=this.getTargetOffset(t)),""!==i&&(this.target.style.transform="translateY("+i+")",this.initialized=!0))}getTargetOffset(t){return(t-this.distanceToWrapper)/this.motionRatio+"px"}getDistanceToWrapper(){for(var t=this.wrapper,i=0;t;)i+=t.offsetTop-t.scrollTop+t.clientTop,t=t.offsetParent;return i}get wrapperClassName(){return this.getAttribute("wrapper-class-name")}get targetClassName(){return this.getAttribute("target-class-name")}get motionRatio(){return+this.getAttribute("motion-ratio")}get motionDirection(){return this.getAttribute("motion-direction")}get minBreakPoint(){return+this.getAttribute("breakpoint-min")}get maxBreakPoint(){return+this.getAttribute("breakpoint-max")}}}}]);
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.