PageSourceSearch

https://www.ctfc.com/_nuxt/CXzqxuwm.js

js ctfc.com collected 2026-09-25 00:22:47 UTC 1,137 bytes, 1 lines download raw bytes

1import{k as l}from"./BsvfaeEe.js";const c=r=>{switch(r){case"Goalkeeper":return"GK";case"Defender":return"DEF";case"Midfielder":return"MID";case"Striker":return"ST";case"Substitute":return"SUB";default:return"N/A"}},i=r=>{const t={icon:"cardYellow",pack:"football",size:12};return r.find(e=>e.cardType==="SecondYellow")&&(t.icon="twoYellows"),r.find(e=>e.cardType==="StraightRed")&&(t.icon="cardRed"),t},n=(r,t)=>t==="FirstHalf"&&r>45?`45' +${r%45}'`:t==="SecondHalf"&&r>90?`90' +${r%90}'`:t==="ExtraFirstHalf"&&r>105?`105' +${r%105}'`:t==="ExtraSecondHalf"&&r>120?`120' +${r%120}'`:`${r.toString()}'`,u=(r,t)=>{const e=n(r,t).split("'")[0];return e?`${e}'`:`${r.toString()}'`},o=(r,t)=>n(r,t).split(" +")[1]||null,d=r=>{const t=l().public.clientTeamDefaults;return t?t.find(e=>{var a;return r===((a=e.attributes)==null?void 0:a.teamName)})??null:null},f=(r,t)=>{switch(t){case"light":default:return r["crest-full-colour"]||"";case"dark":case"club":return r["crest-white-outline"]||""}},p=r=>{const t=l().public.clientTeamDefaults;return t?t.find(e=>r===e.id)??null:null};export{p as a,u as b,o as c,n as d,i as e,c as f,d as g,f as h};

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.