(()=>{var t,e,s;t=XMLHttpRequest,e=(t=XMLHttpRequest.prototype).open,s=t.send,t.open=function(t,s){return this._method=t,this._url=s,e.apply(this,arguments)},t.send=function(t){return"loadstart load loadend progress error abort timeout readystatechange".split(" ").forEach(t=>{this.addEventListener(t,function(){if(this._url.startsWith("/search")&&4===this.readyState)try{window.postMessage({type:"search",data:this.response},"*")}catch(t){}}.bind(this))}),s.apply(this,arguments)}})();