1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="91b1c498-0659-53f9-8368-12ed321bcec5")}catch(e){}}(); 3import{b as h}from"./chunk-STDAF76C.js";import{a as p}from"./chunk-4XYXZH46.js";import{a as v,c as M}from"./chunk-WWVPCFN2.js";import{D as u,L as S,O as l,a as f,e as o,l as n,m}from"./chunk-2FVVJS3W.js";var y=v.preprocess(a=>Array.isArray(a)?a:Object.values(a),h.array()),F=["status","team1Score","team2Score","team1PenaltyScore","team2PenaltyScore","date","kickoffTime"],A=5e3,w=(()=>{let s=class s{constructor(e){o(this,"apiFetchService");o(this,"liveMatchRequests",new Map);this.apiFetchService=e}getMatches(e,t,i=!1,r,g=!1){let c=new URLSearchParams;return c.set("date",e),c.set("league_id",t.toString()),i&&c.set("highlight_teams","true"),r&&c.set("sport",r),n(this.apiFetchService.apiFetch(p("/api/matches?v=01&"+c.toString()),y,{skipCache:g}))}getMatchById(e){return n(this.apiFetchService.apiFetch(p("/api/matches/".concat(e,"?v=01")),h))}getLiveMatchById(e){if(!e)return m(void 0);let t=Date.now(),i=this.liveMatchRequests.get(e);if(i&&i.expiresAt>t)return i.request$;let r=n(this.apiFetchService.apiFetch(p("/api/matches/".concat(e,"?v=01")),h,{skipCache:!0,skipTransferState:!0,skipTransferCache:!0})).pipe(u({bufferSize:1,refCount:!1}));return this.liveMatchRequests.set(e,{expiresAt:t+A,request$:r}),r}applyLiveMatchState(e,t){if(!t)return e;let i={};for(let r of F)r in t&&(i[r]=t[r]);return f(f({},e),i)}};o(s,"\u0275fac",function(t){return new(t||s)(l(M))}),o(s,"\u0275prov",S({token:s,factory:s.\u0275fac,providedIn:"root"}));let a=s;return a})();export{w as a}; 4 5//# debugId=91b1c498-0659-53f9-8368-12ed321bcec5
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.