1import{am as l,b0 as u,an as p}from"./B5iH8GD1.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"1.13.69"};var e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="9d395b51-5aff-4a9a-9b34-8e3cd25e5e92",t._sentryDebugIdIdentifier="sentry-dbid-9d395b51-5aff-4a9a-9b34-8e3cd25e5e92")}catch{}})();const h={items:[],pager:{offset:0,count:0}};class g extends l{async fetchUniversalHeadlines(e){try{const a=Object.assign({query:u},{variables:e}),c={remote:{keyPrefix:"universal_headlines"},cacheKeyFn:r=>JSON.stringify(r.variables)},i=async r=>{const n=this.createProvider("GraphQL");n.selectAPI("content-api-v3").setLinkOptions({useAutomaticPersistedQueries:!0,useGETAutomaticPersistedQueries:!0});const[d]=await n.query(r);return this.throwGraphqlOrApolloErrorIfExists(d),d.data},f=e.offset===0||!e.search,o=await p(i,c),s=o&&f?await o.load(a):await i(a);if(s instanceof Error)throw s;if(!s?.headlines?.items.length)throw"Empty headlines";return{items:s?.headlines?.items||[],pager:s?.headlines?.pager}}catch{return h}}async fetch(e){return await this.fetchUniversalHeadlines(e)}}export{g as U};
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.