1"use strict";(globalThis.webpackChunkNorden_Commerce=globalThis.webpackChunkNorden_Commerce||[]).push([[9832],{840(t,e,r){r.d(e,{accessoryProductInit:()=>c});var s=r(4310),i=r(4561);class n{constructor(t){this.container=t.container,this.type=this.container.getAttribute("data-accessoryproducts"),this.wrapper=this.container.closest("[data-accessoryproducts-wrapper]"),this.enabler=document.querySelector(`[data-accessoryproducts-enabler="${this.type}"]`),this.url=this.container.getAttribute("data-url")}init(){(0,i.Fp)(this.url).then(t=>this.handleSuccess(t)).catch(t=>console.log(t))}handleSuccess(t){(0,i.jA)(t)?(this.wrapper&&(this.wrapper.style.display="inherit"),this.enabler&&(this.enabler.style.display="inherit"),this.container.innerHTML=t,s.P.emit("AccessoryProduct:loaded",this.container)):this.container.parentNode.removeChild(this.container)}}const c=t=>{if(t.length>0)for(let e of t)new n({container:e}).init()}}}]);
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.