1"use strict";(self.webpackChunkwebpack=self.webpackChunkwebpack||[]).push([[7667],{99667:function(e,t,n){n.d(t,{w:function(){return s}});var r=n(42799),i=n(79234),a=n(83491);class s extends r.o{constructor(e){super(e),this.SELECTOR_LIST=".js-list",this.SELECTOR_LOADMORE=".js-load-more",this.init()}init(){this.reInitCompsOnDomChangeFor(this.element),this.initializeData()}initializeData(){var e=new i.o(this.parm.initUrl,this.initAjaxBody,!1);this.ajaxWrapper.doFetch(e).then((e=>this.initCallback(e)))}initCallback(e){null!=e&&e.clone().text().then((e=>{this.enableFavorite?n.e(3975).then(n.bind(n,33975)).then((t=>{const n=new t.default;window.Bookmark=()=>n.getData(),this.element.innerHTML+=e,this.bindLoadMoreEvent()})):(this.element.innerHTML+=e,this.bindLoadMoreEvent())}))}loadMore(e){var t={currentQuery:e.currentTarget.dataset.loadmoreQuery,pageNumber:e.currentTarget.dataset.loadmoreNextpage,pageSize:e.currentTarget.dataset.loadmorePagesize},n=new i.o(this.parm.loadMoreUrl,t,!0);this.ajaxWrapper.doFetch(n).then((e=>this.loadMoreCallback(e)))}loadMoreCallback(e){null!=e&&null!=e&&e.clone().text().then((e=>{var t=new a.E(e);this.element.querySelector(this.SELECTOR_LIST).innerHTML+=t.getComponentUpdate("listItems").content,this.element.querySelector(this.SELECTOR_LOADMORE).outerHTML=t.getComponentUpdate("loadMore").content,this.bindLoadMoreEvent()}))}bindLoadMoreEvent(){var e=this.element.querySelector(this.SELECTOR_LOADMORE);e&&e.addEventListener("click",(e=>this.loadMore(e)))}}},67667:function(e,t,n){n.r(t),n.d(t,{default:function(){return a}});var r=n(99667),i=n(78097);class a extends r.w{constructor(){super(...arguments),this.enableFavorite=!1,this.impressedProductIds=new Set}init(){this.initAjaxBody={relatedProducts:this.parm.relatedProducts},super.init()}initializeData(){this.parm.relatedProducts&&0!=this.parm.relatedProducts.length&&super.initializeData()}initCallback(e){null!=e&&e.clone().text().then((e=>{const t=document.createRange().createContextualFragment(e);this.element.appendChild(t),this.bindLoadMoreEvent()}))}bindLoadMoreEvent(){super.bindLoadMoreEvent(),this.bindProductClickEvents(),this.pushProductImpressions()}bindProductClickEvents(){this.element.querySelectorAll(".js-product-click").forEach((e=>{e.removeEventListener("click",e._productClickHandler),e._productClickHandler=()=>{const t={id:e.dataset.productId||"",name:e.dataset.productName||"",brand:"",category:"",category2:"",variant:"",price:0,quantity:1,coupon:"",position:0};i.yY.pushProductClicks(t,"RelatedProducts")},e.addEventListener("click",e._productClickHandler)}))}pushProductImpressions(){const e=[];this.element.querySelectorAll(".js-product-click").forEach(((t,n)=>{const r=t.dataset.productId||"";r&&!this.impressedProductIds.has(r)&&(this.impressedProductIds.add(r),e.push({id:r,name:t.dataset.productName||"",list:"Related Products",position:n+1,brand:"",category:"",category2:"",variant:"",price:0}))})),e.length>0&&i.yY.pushProductImpressions(e,"RelatedProducts")}}},83491:function(e,t,n){n.d(t,{E:function(){return a}});var r=n(47277),i=n.n(r);class a{constructor(e){this.rawResponse=e,this.response=i()(e)}getComponentUpdate(e){var t=this.response.filter("[data-component="+e+"]");return t.length?{content:t.html().trim(),json:i().parseJSON(t.find("script[type='json']")[0].innerHTML)}:null}getChildComponentUpdate(e){var t=this.response.find("[data-component="+e+"]");return t.length?{content:t[0].innerHTML,json:i().parseJSON(this.response.find("script")[0].innerHTML)}:null}}}}]);
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.