PageSourceSearch

https://teufel.de/assets/13e4bd8e51966ac695ff23aa3e59fb6ec2fd99ac/…/yves_default.accessories-mobile-slider.js

js teufel.de collected 2026-09-24 09:42:29 UTC 1,292 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunklautsprecher_teufel=self.webpackChunklautsprecher_teufel||[]).push([[4060],{22976:(e,t,i)=>{i.r(t),i.d(t,{default:()=>r});var s=i(57142);class r extends s.A{constructor(){super(...arguments),this.isScrollable=!1}readyCallback(){}connectedCallback(){this.arrowButtons=Array.from(this.parentElement.querySelectorAll(":scope > a.arrow")),this.mapEvents()}mapEvents(){this.verifyIsScrollable(),this.arrowButtons.forEach(e=>{e.addEventListener("click",this.handleArrowClick.bind(this,e))}),window.addEventListener("resize",this.verifyIsScrollable.bind(this))}verifyIsScrollable(){this.isScrollable=this.parentList.clientWidth<this.parentList.scrollWidth,this.isScrollable?this.arrowButtons.forEach(e=>e.style.visibility="visible"):this.arrowButtons.forEach(e=>e.style.visibility="hidden")}handleArrowClick(e){if(this.isScrollable){var t=e.dataset.direction,i=this.parentList.firstElementChild;if(t&&i){var s=i.offsetWidth*("left"===t?-1:1);this.parentList.scrollBy({left:s,behavior:"smooth"})}}}get parentList(){return this.parentElement.querySelector(":scope > ul")}disconnectedCallback(){this.arrowButtons.forEach(e=>{e.removeEventListener("click",this.handleArrowClick.bind(this,e))}),window.removeEventListener("resize",this.verifyIsScrollable.bind(this))}}}}]);

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.