1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c4e57934-b862-495b-9ee0-5bb92577d5a4",e._sentryDebugIdIdentifier="sentry-dbid-c4e57934-b862-495b-9ee0-5bb92577d5a4")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2167],{52167:(e,t,n)=>{n.r(t),n.d(t,{NetworkObservers:()=>a});var r=n(80594),o=n(92509),s=["image/","audio/","video/","application/octet-stream","font/"];function i(e,t){if(new Blob([e]).size<=t)return{value:e,truncated:!1};for(var n=0,r=Math.min(e.length,t);n<r;){var o=Math.ceil((n+r)/2);new Blob([e.slice(0,o)]).size<=t?n=o:r=o-1}return n>0&&e.charCodeAt(n-1)>=55296&&56319>=e.charCodeAt(n-1)&&(n-=1),{value:e.slice(0,n),truncated:!0}}var a=function(){function e(){this.fetchObserver=null}return e.prototype.start=function(e,t){this.eventCallback=e,this.networkConfig=t,this.observeFetch()},e.prototype.stop=function(){var e;null==(e=this.fetchObserver)||e.call(this),this.fetchObserver=null,this.eventCallback=void 0,this.networkConfig=void 0},e.prototype.notifyEvent=function(e){var t;null==(t=this.eventCallback)||t.call(this,e)},e.prototype.observeFetch=function(){var e=this,t=(0,o.m)();if(t){var n=t.fetch;n&&(t.fetch=function(t,o){return(0,r.sH)(e,void 0,void 0,function(){var e,a,u,c,l,f,d,h,v,y,b,p,w=this;return(0,r.YH)(this,function(r){switch(r.label){case 0:a={timestamp:e=Date.now(),type:"fetch",method:(null==o?void 0:o.method)||"GET",url:t.toString(),requestHeaders:null==o?void 0:o.headers},(null==(u=null==(b=this.networkConfig)?void 0:b.body)?void 0:u.request)&&void 0!==(c=function(e){if(null!=e){if("string"==typeof e)return e;if(e instanceof URLSearchParams)return e.toString();if(e instanceof FormData){var t=[];return e.forEach(function(e,n){t.push("".concat(n,"=").concat("string"==typeof e?e:"[File]"))}),t.join("&")}}}(null==o?void 0:o.body))&&(l=null!=(p=u.maxBodySizeBytes)?p:10240,a.requestBody=i(c,l).value),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,n(t,o)];case 2:if(f=r.sent(),d=Date.now(),a.status=f.status,a.duration=d-e,h={},f.headers.forEach(function(e,t){h[t]=e}),a.responseHeaders=h,null==u?void 0:u.response){var g;(g=h["content-type"]||null)&&s.some(function(e){return g.toLowerCase().startsWith(e)})?(a.responseBodyStatus="skipped_binary",this.notifyEvent(a)):f.clone().text().then(function(e){var t,n=i(e,null!=(t=u.maxBodySizeBytes)?t:10240),r=n.value,o=n.truncated;a.responseBody=r,a.responseBodyStatus=o?"truncated":"captured",w.notifyEvent(a)},function(){a.responseBodyStatus="error",w.notifyEvent(a)})}else this.notifyEvent(a);return[2,f];case 3:throw v=r.sent(),d=Date.now(),a.duration=d-e,y=v,a.error={name:y.name||"UnknownError",message:y.message||"An unknown error occurred"},this.notifyEvent(a),v;case 4:return[2]}})})},this.fetchObserver=function(){t.fetch=n})}},e}()}}]);
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.