PageSourceSearch

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

js diesel.com collected 2026-10-01 09:18:35 UTC 2,355 bytes, 1 lines download raw bytes

1(self.webpackChunkapp_project=self.webpackChunkapp_project||[]).push([[3769,6494],{97574:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c});var n=r(82503),i=r(46378),s=r(65658),o=r(12737);class c extends s.default{constructor(e){super(e);const t=this.element;this.wrapper=t.closest(".product-info-carousel-wrapper"),this.prevBtn=this.wrapper?this.wrapper.querySelector(".product-info-carousel__btn--prev"):null,this.nextBtn=this.wrapper?this.wrapper.querySelector(".product-info-carousel__btn--next"):null,this.init(t)}init(e){this.swiper=new n.Z(e,{direction:"horizontal",modules:[i.W_],slidesPerView:"auto",spaceBetween:2,loop:!1,navigation:{prevEl:this.prevBtn,nextEl:this.nextBtn},on:{init:()=>{this.waitForImagesToLoad(e,3).then((()=>{o.Z.emit("carousel:initialized")}))},reachBeginning:()=>{this.prevBtn&&this.prevBtn.setAttribute("hidden","")},fromEdge:()=>{this.prevBtn&&this.prevBtn.removeAttribute("hidden"),this.nextBtn&&this.nextBtn.removeAttribute("hidden")},reachEnd:()=>{this.nextBtn&&this.nextBtn.setAttribute("hidden","")}}}),this.prevBtn&&this.prevBtn.setAttribute("hidden","")}waitForImagesToLoad(e,t){const r=Array.from(e.querySelectorAll("img")).slice(0,t).map((e=>e.complete&&0!==e.naturalHeight?Promise.resolve():new Promise((t=>{e.onload=e.onerror=t}))));return Promise.all(r)}}},65658:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c});var n=r(96156),i=r(38302);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}class c 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=o(o({},this.DEFAULT_CONFIGS),t);let n=new IntersectionObserver((t=>{t.forEach((t=>{let{isIntersecting:r,target:i}=t;r&&(e(),n.unobserve(i))}))}),r);n.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.