PageSourceSearch

https://www.true3d.com/assets/observers-e_4h09Cp.js

js true3d.com collected 2026-10-04 12:57:23 UTC 1,257 bytes, 1 lines download raw bytes

vendor: 1,257 bytes, line 1
1import{_ as b,n as m,o as w}from"./main-DNa-l7Mn.js";var E=function(){function n(){this.fetchObserver=null}return n.prototype.start=function(e){this.eventCallback=e,this.observeFetch()},n.prototype.stop=function(){var e;(e=this.fetchObserver)===null||e===void 0||e.call(this),this.fetchObserver=null,this.eventCallback=void 0},n.prototype.notifyEvent=function(e){var t;(t=this.eventCallback)===null||t===void 0||t.call(this,e)},n.prototype.observeFetch=function(){var e=this,t=w();if(t){var h=t.fetch;h&&(t.fetch=function(f,o){return b(e,void 0,void 0,function(){var i,r,c,s,u,l,s,v;return m(this,function(a){switch(a.label){case 0:i=Date.now(),r={timestamp:i,type:"fetch",method:(o==null?void 0:o.method)||"GET",url:f.toString(),requestHeaders:o==null?void 0:o.headers},a.label=1;case 1:return a.trys.push([1,3,,4]),[4,h(f,o)];case 2:return c=a.sent(),s=Date.now(),r.status=c.status,r.duration=s-i,u={},c.headers.forEach(function(d,p){u[p]=d}),r.responseHeaders=u,this.notifyEvent(r),[2,c];case 3:throw l=a.sent(),s=Date.now(),r.duration=s-i,v=l,r.error={name:v.name||"UnknownError",message:v.message||"An unknown error occurred"},this.notifyEvent(r),l;case 4:return[2]}})})},this.fetchObserver=function(){t.fetch=h})}},n}();export{E as NetworkObservers};

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.