PageSourceSearch

https://www.tip-pumpen.de/theme/0e38d563cdfd2354a419f47224c86f50/j…set.product-set-sticky-bar.plugin.705332.js

js tip-pumpen.de collected 2026-10-04 20:34:49 UTC 1,622 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[47268],{268:(t,e,i)=>{i.r(e),i.d(e,{default:()=>s});class s extends window.PluginBaseClass{static #t=this.options={stickyBarToggle:"is-expanded"};constructor(){super(...arguments);let t=window.PluginManager.getPluginInstances("SwkwebProductSetConfigurator");if(0===t.length)return;this._totalPrice=this.el.querySelector(".product-detail-price span"),this._setPluginInstance=t[0],this._quantitySelect=this.el.querySelector(".product-detail-quantity-input"),this._quantitySelectGroup=this.el.querySelector(".product-detail-quantity-group"),this._registerEvents(),this._onSetUpdated()}init(){}_registerEvents(){this.el.addEventListener("click",this._toggleStickyBarExpanded.bind(this)),this._quantitySelect.addEventListener("change",t=>{this._setPluginInstance._quantitySelect.value=t.target.value,this._setPluginInstance._onChangeQuantitySelect.bind(this._setPluginInstance)(t)}),this._setPluginInstance.$emitter.subscribe("swkwebProductSet/onSetUpdated",this._onSetUpdated.bind(this))}_toggleStickyBarExpanded(t){["button","a"].includes(t.target.tagName.toLowerCase())||this._quantitySelectGroup.contains(t.target)||this.el.classList.toggle(this.options.stickyBarToggle)}_onSetUpdated(t){let e=t?.detail.set||this._setPluginInstance._set;this._totalPrice.innerText=this._formatPrice(e.totalPrice.unitPrice),this._updateQuantitySelect()}_updateQuantitySelect(){let t=this._setPluginInstance._quantitySelect;this._quantitySelect.value=t.value,this._quantitySelect.disabled=t.disabled}_formatPrice(t){return this._setPluginInstance._priceFormatter.format(t)}}}}]);

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.