PageSourceSearch

https://www.kaufmann.dk/theme/a559456b45a3af2891380e867bedf52f/js/…/storefront.clear-input.plugin.c0159d.js

js kaufmann.dk collected 2026-09-24 09:58:35 UTC 811 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[76979],{6979:(t,e,n)=>{n.r(e),n.d(e,{default:()=>r});var s=n(9568),i=n(4049);class r extends s.Z{init(){this.clearButtons=i.Z.querySelectorAll(document,this.options.clearButtonSelector),this.onInputChange(),this._registerEventListener()}_registerEventListener(){this.clearButtons.forEach(t=>{t.addEventListener("click",this.clearInput.bind(this))}),this.el.addEventListener("input",this.onInputChange.bind(this))}clearInput(){this.el.value="";let t=document.createEvent("HTMLEvents");t.initEvent("change",!0,!1),this.el.dispatchEvent(t),this.onInputChange()}onInputChange(){this.clearButtons.forEach(t=>{if(this.el.value.length<=0){t.setAttribute("disabled","disabled");return}t.removeAttribute("disabled")})}}r.options={clearButtonSelector:""}}}]);

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.