PageSourceSearch

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

js diesel.com collected 2026-09-24 08:41:45 UTC 1,030 bytes, 1 lines download raw bytes

1(self.webpackChunkapp_project=self.webpackChunkapp_project||[]).push([[3304],{85604:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});const s=n(38302).default;class i extends s{constructor(e){super(e),this.element=e,this.initLiveChatButton(this),this.handleClick(this)}initLiveChatButton(e){new MutationObserver((function(t){document.querySelectorAll("#inside_liveChatTab").length&&Object.keys(insideFrontInterface).length&&(insideFrontInterface.getAvailableAssistants().length&&!e.element.classList.contains("online")?e.element.classList.add("online"):!insideFrontInterface.getAvailableAssistants().length&&e.element.classList.contains("online")&&e.element.classList.remove("online"))})).observe(document.body,{childList:!0,subtree:!0})}handleClick(e){e.element.addEventListener("click",(e=>{e.preventDefault();let t=document.querySelector("#inside_holder");Object.keys(insideFrontInterface).length&&(t.classList.contains("chatPaneOpen")?insideFrontInterface.chat.closeChatPane():insideFrontInterface.openChatPane())}))}}}}]);

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.