PageSourceSearch

https://www.kaufmann.dk/theme/a559456b45a3af2891380e867bedf52f/js/…customer-scale-pdp-cross-sale.js?1790057350

js kaufmann.dk collected 2026-09-24 09:57:22 UTC 1,256 bytes, 1 lines download raw bytes

1(()=>{"use strict";class s{registerAlpineGlobal(){window.Alpine?this.initAlpine():document.addEventListener("alpine:init",()=>{this.initAlpine()})}initAlpine(){"function"==typeof this.registerAlpineInstance&&this.registerAlpineInstance()}constructor(){this.registerAlpineGlobal()}}class e extends s{registerAlpineInstance(){!this.constructor.COMPONENT_NAME||Alpine.rawData&&Alpine.rawData[this.constructor.COMPONENT_NAME]||"function"!=typeof this.registerStore||this.registerStore()}}class t extends e{registerStore(){Alpine.store(t.COMPONENT_NAME,{crossSales:{},init(){},addCrossSale(s,e){this.crossSales[s]=e},removeCrossSale(s){delete this.crossSales[s]},streamHasProduct(s){return this.crossSales[s]},getProductsByStreamId(s){return this.crossSales[s]||{}},getTotalPrice(s){let e=parseFloat(s)||0;return Object.values(this.crossSales).forEach(s=>{var t;let r=parseFloat(null==s?void 0:(t=s.pricing)===null||void 0===t?void 0:t.rawSalesPrice);isNaN(r)||(e+=r)}),e},hasCrossSales(){return Object.keys(this.crossSales).length>0},numberOfCrossSales(){return Object.keys(this.crossSales).length},totalProductCount(){return this.numberOfCrossSales()+1}})}}t.COMPONENT_NAME="crossSales",t.DEFAULT_VALUES={displayType:"grid-3",sorting:"mostPopular"},new 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.