PageSourceSearch

https://fortune.com/_next/static/chunks/4559.04f8b3009038ec2d.js

js fortune.com collected 2026-09-24 09:08:26 UTC 2,604 bytes, 1 lines download raw bytes

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

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.