PageSourceSearch

https://teufelaudio.pl/assets/0e1503127c349d9b5ec16d34309d1cb4caad2297/default/js/yves_default.bar-slider.js

js teufelaudio.pl collected 2026-10-06 07:41:22 UTC 2,860 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunklautsprecher_teufel=self.webpackChunklautsprecher_teufel||[]).push([[4004],{40482:(t,e,i)=>{i.r(e),i.d(e,{default:()=>a});var n=i(6906),s=i(94781);class a extends n.A{constructor(){super(...arguments),this.currentIndex=0,this.navigationDirection=1,this.boundConnectedCallback=this.connectedCallback.bind(this),this.boundOnViewportChange=this.onViewportChange.bind(this),this.boundStopRotation=this.stopRotation.bind(this),this.boundPauseRotation=this.pauseRotation.bind(this),this.boundStartRotation=this.startRotation.bind(this)}connectedCallback(){if(!(this.childElementCount<=1)){if(this.mediaQuery)return this.initResponsive();this.scrollLeft=0,this.activate()}}disconnectedCallback(){document.removeEventListener(s.gY,this.boundConnectedCallback)}initResponsive(){var t=window.matchMedia(this.mediaQuery);t.matches?this.deactivate(!0):this.activate(!0),"addEventListener"in t?(t.removeEventListener("change",this.boundOnViewportChange),t.addEventListener("change",this.boundOnViewportChange)):"addListener"in t&&(t.removeListener(this.boundOnViewportChange),t.addListener(this.boundOnViewportChange))}onViewportChange(t){t.matches?this.deactivate(!0):this.activate(!0)}activate(t){void 0===t&&(t=!1),this.startRotation(),this.observeInteractions(),t&&this.classList.remove(this.name+"--side-by-side")}deactivate(t){void 0===t&&(t=!1),this.stopRotation(),this.unobserveInteractions(),t&&this.classList.add(this.name+"--side-by-side")}startRotation(){window.clearInterval(this.intervalIndex),this.intervalIndex=window.setInterval(this.navigate.bind(this),this.navigationInterval)}navigate(t){var e="number"==typeof t?t:this.currentIndex+this.getNavigationDirection(),i=this.children[e],{offsetLeft:n,offsetTop:s}=i;try{this.scrollTo({left:n,top:s,behavior:"smooth"})}catch(t){this.scrollTo(n,s)}this.currentIndex=e}getNavigationDirection(){return this.currentIndex===this.childElementCount-1?this.navigationDirection=-1:0===this.currentIndex?this.navigationDirection=1:this.navigationDirection}observeInteractions(){this.unobserveInteractions(),this.addEventListener("mousedown",this.boundStopRotation),this.addEventListener("mouseenter",this.boundPauseRotation),this.addEventListener("mouseleave",this.boundStartRotation),document.addEventListener(s.gY,this.boundConnectedCallback)}unobserveInteractions(){this.removeEventListener("mousedown",this.boundStopRotation),this.removeEventListener("mouseenter",this.boundPauseRotation),this.removeEventListener("mouseleave",this.boundStartRotation)}stopRotation(){window.clearInterval(this.intervalIndex),this.unobserveInteractions()}pauseRotation(){window.clearInterval(this.intervalIndex)}get mediaQuery(){return this.getAttribute("data-"+this.name+"-media-query-side-by-side")}get navigationInterval(){return+this.getAttribute("data-"+this.name+"-rotation-interval")||8e3}}}}]);

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.