PageSourceSearch

https://dz.diesel.com/on/demandware.static/Sites-DieselWW-Site/-/e…omponent-EditorialFiltersCarousel.chunks.js

js diesel.com collected 2026-09-24 08:42:50 UTC 2,673 bytes, 1 lines download raw bytes

1(self.webpackChunkapp_project=self.webpackChunkapp_project||[]).push([[6120,6494],{81357:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});var s=r(82503),i=r(46378),n=r(12737),l=r(65658),o=r(11253);class a extends l.default{get SELECTORS(){return{arrowNext:".filter-swiper-button--next",arrowPrev:".filter-swiper-button--prev"}}get SETTINGS(){return{slideClass:"js-swiper-slide",wrapperClass:"js-pd-c-wrapper",allowTouchMove:this.isMobile?this.nItems>2:this.nItems>4,spaceBetween:16,modules:[i.W_,i.tl,i.pt,i.s5,i.LW],breakpoints:{0:{slidesPerView:2.5,centeredSlides:!1},992:{slidesPerView:4,autoplay:{delay:5e3}}},navigation:{nextEl:this.SELECTORS.arrowNext,prevEl:this.SELECTORS.arrowPrev},scrollbar:{el:".scrollbar-filters",draggable:!0},on:{init:this.swiperInitilized.bind(this)}}}constructor(e){super(e),this.nItems=0,this.isMobile=["xsmall","small","medium"].indexOf(o.Z.getCurrentBreakPoint())>=0,this.initCarousel(),n.Z.on("breakpoint:change",(e=>{let{currentBreakpoint:t}=e;this.isMobile=["xsmall","small","medium"].indexOf(t)>=0,this.pdproductCarousel.destroy(),this.pdproductCarousel=null,this.initCarousel()}))}initCarousel(){if(this.pdproductCarousel)return;if(this.nItems=[...this.element.querySelectorAll(".js-swiper-slide")].length,this.nItems<=4){const e=this.element.querySelector(this.SELECTORS.arrowNext),t=this.element.querySelector(this.SELECTORS.arrowPrev);e&&e.classList.add("hidden"),t&&t.classList.add("hidden")}const e=this.element.querySelector(".swiper-container");e&&(this.pdproductCarousel=new s.Z(e,this.SETTINGS))}swiperInitilized(e){this.element.classList.remove("hidden"),e.update()}}},65658:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var s=r(96156),i=r(38302);function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,s)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach((function(t){(0,s.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}class o extends i.default{get DEFAULT_CONFIGS(){return{root:null,rootMargin:"300px",threshold:.5}}constructor(e){super(e)}observe(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=l(l({},this.DEFAULT_CONFIGS),t);let s=new IntersectionObserver((t=>{t.forEach((t=>{let{isIntersecting:r,target:i}=t;r&&(e(),s.unobserve(i))}))}),r);s.observe(this.element)}}}}]);

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.