PageSourceSearch

https://www.alzchem.com/static/alzchem/assets/index-BPe0CDfD.js

js alzchem.com collected 2026-10-02 10:45:47 UTC 1,459 bytes, 1 lines download raw bytes

1var s=Object.defineProperty;var c=(n,t,r)=>t in n?s(n,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[t]=r;var o=(n,t,r)=>c(n,typeof t!="symbol"?t+"":t,r);import{B as a,g as i}from"./alzchem-B8Vlwgj5.js";import{S as g}from"./ScrollTrigger-D1XJUMov.js";i.registerPlugin(g);const e=class e extends a{constructor(){super(...arguments);o(this,"content",null);o(this,"backdrop",null);o(this,"videoControls",null);o(this,"container",null)}run(){this.bind(),this.initOpacityScrollTrigger(),this.initControlsScrollTrigger()}bind(){this.content=this.element.querySelector(e.SELECTORS.content),this.backdrop=this.element.querySelector(e.SELECTORS.backdrop),this.videoControls=this.element.querySelector(e.SELECTORS.videoControls),this.container=this.element.querySelector(e.SELECTORS.container)}initControlsScrollTrigger(){if(!this.videoControls||!this.container)return;i.timeline({scrollTrigger:{trigger:this.container,start:"top 100%",end:"top top",scrub:!0}}).fromTo(this.videoControls,{yPercent:-100},{yPercent:0,ease:"none"})}initOpacityScrollTrigger(){if(!this.content||!this.backdrop)return;i.timeline({scrollTrigger:{trigger:this.content,start:"top 120%",end:"top 90%",scrub:!0}}).from(this.backdrop,{opacity:0})}};o(e,"SELECTORS",{videoControls:".scroll-by-teaser__bg .video-player__control-container",backdrop:".scroll-by-teaser__backdrop",content:".scroll-by-teaser__content",container:".scroll-by-teaser__container"});let l=e;export{l as default};

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.