PageSourceSearch

https://www.davidlloyd.nl/2774-3cba44c929e1d977d343.js

js davidlloyd.nl collected 2026-10-04 13:30:51 UTC 3,317 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkgatsby_starter_website_future=self.webpackChunkgatsby_starter_website_future||[]).push([[2774],{62774:function(t,e,n){n.r(e),n.d(e,{NetworkObservers:function(){return c}});var r=n(31635),o=n(65107),i=n(31192),s=function(t){return void 0!==t&&("boolean"==typeof t?t:!1!==t.enabled)},a=function(t,e,n,r){var o=function(t){var e;return"object"==typeof t&&null!==t?{allowlist:null!==(e=t.allowlist)&&void 0!==e?e:[],excludelist:t.excludelist||t.blocklist||[]}:{allowlist:[],excludelist:[]}}(e),s=function(t,e,n){if(0===e.length&&0===n.length)return t;var r=e.length>0?e:["/**"];try{var s=JSON.parse(t);return(0,i.D7)(s,r,n),JSON.stringify(s)}catch(o){return t}}(t,o.allowlist,o.excludelist);return r(s,n)},u=["image/","audio/","video/","application/octet-stream","font/"];function l(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&&t.charCodeAt(n-1)<=56319&&(n-=1),{value:t.slice(0,n),truncated:!0}}var c=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)||void 0===t||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)||void 0===e||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,i,c,f,h,v,d,p,y,b,w,g,m=this;return(0,r.YH)(this,function(r){switch(r.label){case 0:t=Date.now(),i={timestamp:t,type:"fetch",method:(null==o?void 0:o.method)||"GET",url:e.toString(),requestHeaders:null==o?void 0:o.headers},(c=null===(w=this.networkConfig)||void 0===w?void 0:w.body)&&s(c.request)&&void 0!==(f=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))&&(h=null!==(g=c.maxBodySizeBytes)&&void 0!==g?g:10240,i.requestBody=a(f,c.request,h,l).value),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,n(e,o)];case 2:return v=r.sent(),y=Date.now(),i.status=v.status,i.duration=y-t,d={},v.headers.forEach(function(t,e){d[e]=t}),i.responseHeaders=d,c&&s(c.response)?!function(t){return!!t&&u.some(function(e){return t.toLowerCase().startsWith(e)})}(d["content-type"]||null)?v.clone().text().then(function(t){var e,n=null!==(e=c.maxBodySizeBytes)&&void 0!==e?e:10240,r=a(t,c.response,n,l),o=r.value,s=r.truncated;i.responseBody=o,i.responseBodyStatus=s?"truncated":"captured",m.notifyEvent(i)},function(){i.responseBodyStatus="error",m.notifyEvent(i)}):(i.responseBodyStatus="skipped_binary",this.notifyEvent(i)):this.notifyEvent(i),[2,v];case 3:throw p=r.sent(),y=Date.now(),i.duration=y-t,b=p,i.error={name:b.name||"UnknownError",message:b.message||"An unknown error occurred"},this.notifyEvent(i),p;case 4:return[2]}})})},this.fetchObserver=function(){e.fetch=n})}},t}()}}]);
2//# sourceMappingURL=2774-3cba44c929e1d977d343.js.map

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.