PageSourceSearch

https://www.tottenhamhotspur.com/resources/ver/v2.0.96/scripts/match-ticker-root.js

js tottenhamhotspur.com collected 2026-09-24 15:20:54 UTC 1,080 bytes, 1 lines download raw bytes

1import{P as e,a4 as t,n as s,bb as a,r,E as i,aK as o,v as c,w as n}from"./bundle-es.js";import m from"./match-ticker-row.js";import"./match-ticker-item.js";import"./match-helpers.js";import"./competition-badge.js";import"./club-badge.js";import"./live-indicator.js";let p=[],l=[],d=[];function k({competitions:e,teams:k,weeksBefore:f,weeksAfter:h}){const u=t.now(),w=u.minus({weeks:parseInt(f,10)}).toFormat("yyyy-MM-dd"),y=u.plus({weeks:parseInt(h,10)}).toFormat("yyyy-MM-dd"),[M,g]=s(null),{data:j,status:b,error:I}=a({params:{competitionIds:e,teamIds:k,"kickoff>":w,"kickoff<":y}});if(r(()=>{I||b===i.API.ERROR||!j?g(null):g(j)},[j,I,b,g]),M){[...j.data].forEach(e=>{e.period===o.FULL_TIME?p.push(e):l.push(e)});const e=p.slice(p.length-2,p.length),t=l.slice(0,4);e&&t&&(d=[...e,...t])}return c("div",{className:"w-match-ticker__inner"},M&&c(n,null,c(m,{tickerMatches:d,ariaHidden:"false"}),c(m,{tickerMatches:d}),c(m,{tickerMatches:d}),c(m,{tickerMatches:d})))}k.propTypes={competitions:e.string,weeksBefore:e.string,weeksAfter:e.string,teams:e.string};export{k as default};

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.