PageSourceSearch

https://betmetrics.ai/_next/static/chunks/ncaaf-ap-rankings-dt8CnsP3.js

js betmetrics.ai collected 2026-10-05 14:02:46 UTC 1,781 bytes, 1 lines download raw bytes

1import"./ncaaf-team-directory-SXCA8N-w.js";var e=e=>!!e&&typeof e==`object`&&!Array.isArray(e),t=(e,t)=>Object.keys(e).sort().join(`,`)===[...t].sort().join(`,`),n=e=>typeof e==`string`&&e.trim()===e&&e.length>0&&e.length<=120&&!/[<>]/.test(e)&&!e.split(``).some(e=>e.charCodeAt(0)<32),r=e=>typeof e==`string`&&/^[1-9]\d{0,15}$/.test(e),i=e=>typeof e==`number`&&Number.isSafeInteger(e)&&e>=0,a=(e,t)=>typeof e==`string`&&Number.isFinite(Date.parse(e))&&Date.parse(e)>0&&Date.parse(e)<=t&&new Date(e).toISOString()===e;function o(a){if(!Array.isArray(a)||a.length!==25)return!1;let o=new Set,s=new Set;for(let c of a){if(!e(c)||!t(c,[`teamId`,`name`,`rank`,`points`,`record`,`previousRaw`])||!r(c.teamId)||!n(c.name)||!i(c.rank)||c.rank<1||c.rank>25||!i(c.points)||typeof c.record!=`string`||!/^\d{1,2}-\d{1,2}(?:-\d{1,2})?$/.test(c.record)||typeof c.previousRaw!=`string`||!/^(?:-|NR|\d{1,2})$/.test(c.previousRaw)||o.has(c.teamId)||s.has(c.rank))return!1;o.add(c.teamId),s.add(c.rank)}return a.every((e,t)=>e.rank===t+1)}async function s(e,t){let n=new TextEncoder().encode(JSON.stringify({poll:e,rows:t})),r=await crypto.subtle.digest(`SHA-256`,n);return Array.from(new Uint8Array(r),e=>e.toString(16).padStart(2,`0`)).join(``)}async function c(n,r,i=Date.now()){return!e(n)||!t(n,[`schema`,`poll`,`observedAt`,`contentFirstObservedAt`,`contentDigest`,`rows`])||n.schema!==`fieldline-ncaaf-polls/1`||n.poll!==r||!Number.isFinite(i)||!a(n.observedAt,i)||!a(n.contentFirstObservedAt,Date.parse(n.observedAt))||!o(n.rows)||n.contentDigest!==await s(r,n.rows)?null:n}var l=(e,t)=>t-Date.parse(e.contentFirstObservedAt)>8*864e5;function u(e,t){return e?.poll===`ap`&&t?e.rows.find(e=>e.teamId===t)??null:null}export{u as apRankForTeam,l as retainedPollContent,c as validateNcaafPoll};

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.