PageSourceSearch

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

js diesel.com collected 2026-10-01 09:13:58 UTC 1,643 bytes, 1 lines download raw bytes

1(self.webpackChunkapp_project=self.webpackChunkapp_project||[]).push([[578],{61557:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});const i=r(38302).default;class s extends i{constructor(e){super(e),this.submitButton,this.step1Behaviour()}step1Behaviour(){this.deliveryWizard=document.querySelector(".order-wizard-delivery"),this.storeWizard=document.querySelector(".order-wizard-store"),this.radioDelivery=this.element.querySelector("#home-return"),this.radioStore=this.element.querySelector("#store-return"),this.policyCheck=this.element.querySelector(".js-policy-check"),this.submitButton=this.element.querySelector('.js-step-button[data-action="submit-step"]'),this.radioDelivery&&this.radioDelivery.addEventListener("change",this.radioChangeHandler.bind(this)),this.radioStore&&this.radioStore.addEventListener("change",this.radioChangeHandler.bind(this));const e=document.querySelector('div[data-component="ReturnWizardComponent"]');e&&(e.componentInstance.beforeNavigationFn=this.step1BeforeNavigationHandler)}radioChangeHandler(e){const t="store"===e.target.value;this.deliveryWizard.classList.toggle("hidden",t),this.storeWizard.classList.toggle("hidden",!t)}step1BeforeNavigationHandler(){const e=this.element.querySelector(".form-element__radio:checked");this.returnData.whereToReturn=e.value}destroy(){super.destroy(),this.policyCheck&&this.policyCheck.removeEventListener("change",this.policyChangeHandler.bind(this)),this.radioDelivery&&this.radioDelivery.removeEventListener("change",this.radioChangeHandler.bind(this)),this.radioStore&&this.radioStore.removeEventListener("change",this.radioChangeHandler.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.