PageSourceSearch

https://matchwiz.ai/_next/static/chunks/1424-b51cc4f1a1616dea.js

js matchwiz.ai collected 2026-10-05 15:39:19 UTC 20,323 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1424],{12818:(e,n,t)=>{t.d(n,{Df:()=>i,Dy:()=>s,gL:()=>a,iW:()=>c,m7:()=>d});let l="mw_watchlist",s="mw-watch-change";function a(){try{let e=window.localStorage.getItem(l),n=e?JSON.parse(e):[];return Array.isArray(n)?n:[]}catch(e){return[]}}function r(e){try{window.localStorage.setItem(l,JSON.stringify(e)),window.dispatchEvent(new Event(s))}catch(e){}}function i(e,n){return a().some(t=>t.sport===e&&t.id===n)}function c(e){let n=a(),t=n.findIndex(n=>n.sport===e.sport&&n.id===e.id);return t>=0?(n.splice(t,1),r(n),!1):(n.length>=10&&n.shift(),r([...n,{...e,addedAt:new Date().toISOString()}]),!0)}function d(e){let n=a(),t=n.filter(n=>!n.eventId||e.has(n.eventId));t.length!==n.length&&r(t)}},21424:(e,n,t)=>{t.d(n,{default:()=>R});var l=t(95155),s=t(52971),a=t(12115),r=t(26779),i=t(20063),c=t(52619),d=t.n(c),o=t(65912);async function u(e){if(!o.h)return[];let{data:n}=await o.h.from("live_stats").select("*").eq("fight_id",e);return null!=n?n:[]}async function h(e){if(!o.h||!e.length)return[];let{data:n}=await o.h.from("fights").select("id, status, winner_id, method_display, end_round, end_clock_display").in("id",e);return null!=n?n:[]}function m(e){let n=(null!=e?e:"").toLowerCase();return!n||n.includes("draw")||n.includes("no contest")||n.startsWith("dq")?null:n.includes("submission")?"sub":n.includes("ko")||n.includes("tko")?"ko":n.includes("decision")?"dec":null}let f=[{label:"Sig. strikes",val:e=>{var n;return Number(null!=(n=e.sig_landed)?n:0)}},{label:"Total strikes",val:e=>{var n;return Number(null!=(n=e.total_landed)?n:0)}},{label:"Knockdowns",val:e=>{var n;return Number(null!=(n=e.knockdowns)?n:0)}},{label:"Takedowns",val:e=>{var n;return Number(null!=(n=e.td_landed)?n:0)}},{label:"Sub attempts",val:e=>{var n;return Number(null!=(n=e.sub_attempts)?n:0)}},{label:"Control time",val:e=>{var n;return Number(null!=(n=e.ctrl_sec)?n:0)},fmt:e=>"".concat(Math.floor(e/60),":").concat(String(Math.round(e%60)).padStart(2,"0"))}];function b(e){var n,t,s;let{f:r}=e,[i,c]=(0,a.useState)([]),[d,o]=(0,a.useState)(null),m=(null==d?void 0:d.status)==="STATUS_FINAL";(0,a.useEffect)(()=>{let e=!1,n=null,t=async()=>{if(!document.hidden){var l;let[n,t]=await Promise.all([u(r.id).catch(()=>[]),h([r.id]).catch(()=>[])]);if(e)return;c(n);let s=null!=(l=t[0])?l:null;if(o(s),(null==s?void 0:s.status)==="STATUS_FINAL")return}e||(n=setTimeout(t,2e4))};return t(),()=>{e=!0,n&&clearTimeout(n)}},[r.id]);let b=i.find(e=>e.fighter_id===r.a.id),v=i.find(e=>e.fighter_id===r.b.id);if(!b||!v)return null;let p=e=>e.split(" ").slice(-1)[0],w=(null==d?void 0:d.winner_id)===r.a.id?r.a:(null==d?void 0:d.winner_id)===r.b.id?r.b:null;return(0,l.jsxs)("div",{className:"ufc-livepanel",children:[m?(0,l.jsxs)("p",{className:"ufc-live-clock mono",children:[(0,l.jsx)("span",{className:"ufc-result",children:"FINAL"}),w&&(0,l.jsxs)(l.Fragment,{children:[" — ",(0,l.jsx)("b",{children:w.name})," wins",(null==d?void 0:d.method_display)?" by ".concat(d.method_display):"",(null==d?void 0:d.end_round)?" \xb7 R".concat(d.end_round," ").concat(null!=(n=d.end_clock_display)?n:""):""]})]}):(0,l.jsxs)("p",{className:"ufc-live-clock mono",children:[(0,l.jsx)("span",{className:"ufc-live",children:"LIVE"})," Round ",null!=(t=b.round)?t:"–"," \xb7 ",null!=(s=b.clock_display)?s:"",null!=r.a.winProb&&(0,l.jsxs)("em",{children:[" — we had ",p((r.a.winProb>=.5?r.a:r.b).name)," ",(100*Math.max(r.a.winProb,1-r.a.winProb)).toFixed(0),"% pre-fight"]})]}),f.map(e=>{let{label:n,val:t,fmt:s}=e,a=t(b),r=t(v),i=Math.max(a,r)||1,c=null!=s?s:e=>"".concat(e);return(0,l.jsxs)("div",{className:"ufc-vsrow mono",children:[(0,l.jsx)("span",{className:"val".concat(a>r?" adv":""),children:c(a)}),(0,l.jsx)("span",{className:"ufc-vsbar left",children:(0,l.jsx)("span",{style:{width:"".concat(a/i*100,"%")}})}),(0,l.jsx)("span",{className:"lbl",children:n}),(0,l.jsx)("span",{className:"ufc-vsbar right",children:(0,l.jsx)("span",{style:{width:"".concat(r/i*100,"%")}})}),(0,l.jsx)("span",{className:"val".concat(r>a?" adv":""),children:c(r)})]},n)}),(0,l.jsxs)("p",{className:"ufc-tape-note",children:[p(r.a.name)," left \xb7 ",p(r.b.name)," right — live from ESPN's stat feed, refreshes every 20s."]})]})}let v={ko:"KO/TKO",sub:"Submission",dec:"Decision"},p=e=>null==e?"–":"".concat((100*e).toFixed(0),"%"),w=e=>null==e?"–":e>0?"+".concat(e):"".concat(e),g=(e,n)=>null==e&&null==n?"–":"".concat(w(e)," (").concat(p(n),")"),x={draftkings:"DraftKings",fanduel:"FanDuel",betmgm:"BetMGM",williamhill_us:"Caesars",betonlineag:"BetOnline",bovada:"Bovada",betrivers:"BetRivers",espnbet:"ESPN BET",ballybet:"Bally Bet",betparx:"betPARX",hardrockbet:"Hard Rock",lowvig:"LowVig",mybookieag:"MyBookie",betus:"BetUS"},j=e=>{var n;return e?null!=(n=x[e])?n:e:""},k=e=>null==e?null:new Intl.DateTimeFormat("en-US",{hour:"numeric",minute:"2-digit",timeZone:"America/Ne
1w_York"}).format("string"==typeof e?new Date(e):e),N=[["card","Card order"],["time","Fight time"],["ourline","WizLine"],["bestbook","Best book line"],["length","Fight length (O2.5)"],["ko","KO/TKO"],["sub","Submission"],["dec","Decision"],["value","Value"]],y=e=>{var n,t;return Math.max(null!=(n=e.a.winProb)?n:-1,null!=(t=e.b.winProb)?t:-1)},P=e=>{var n,t;return Math.max(null!=(n=e.a.marketProb)?n:-1,null!=(t=e.b.marketProb)?t:-1)},S=e=>null==e.a.winProb||null==e.a.marketProb?-1:Math.abs(e.a.winProb-e.a.marketProb);function _(e){var n,t;let{side:s,size:a=44}=e;if(s.headshot)return(0,l.jsx)("img",{className:"ufc-av",src:s.headshot,alt:"",width:a,height:a,loading:"lazy"});let r=s.name.split(/\s+/).map(e=>e[0]).filter(Boolean);return(0,l.jsx)("span",{className:"ufc-av ufc-av-mono",style:{width:a,height:a},children:(null!=(n=r[0])?n:"?")+(null!=(t=r[r.length-1])?t:"")})}let D=[{key:"elo_diff",label:"MatchWiz rating",scale:80},{key:"winpct_diff",label:"Career win %",scale:.25},{key:"age_diff",label:"Youth",scale:8,invert:!0},{key:"reach_diff",label:"Reach",scale:6},{key:"streak_diff",label:"Win streak",scale:4},{key:"slpm_diff",label:"Striking volume",scale:2.5},{key:"sapm_diff",label:"Gets hit less",scale:2.5,invert:!0},{key:"td15_diff",label:"Takedowns",scale:2},{key:"tdd_diff",label:"Takedown defense",scale:.35},{key:"finish_diff",label:"Finishes fights",scale:.4},{key:"koloss2y_diff",label:"Chin (fewer recent KOs)",scale:1.5,invert:!0},{key:"layoff_diff",label:"Stays active",scale:.8,invert:!0}];function O(e){let{f:n}=e,t=n.features,s=e=>e.name.split(" ").slice(-1)[0];return(0,l.jsxs)("div",{className:"ufc-tape",children:[(0,l.jsxs)("p",{className:"ufc-tape-head",children:[(0,l.jsxs)("span",{className:"ufc-tape-side left",children:["◀ ",s(n.a)," advantage"]}),(0,l.jsxs)("span",{className:"ufc-tape-side right",children:[s(n.b)," advantage ▶"]})]}),D.map(e=>{let{key:n,label:s,scale:a,invert:r}=e,i=t[n];if(null==i)return null;let c=r?-i:i,d=50*Math.min(Math.abs(c)/a,1);return(0,l.jsxs)("div",{className:"ufc-tape-row",children:[(0,l.jsx)("span",{className:"ufc-tape-label",children:s}),(0,l.jsxs)("span",{className:"ufc-tape-track",children:[(0,l.jsx)("span",{className:"ufc-tape-bar ".concat(c>=0?"left":"right"),style:c>=0?{right:"50%",width:"".concat(d,"%")}:{left:"50%",width:"".concat(d,"%")}}),(0,l.jsx)("span",{className:"ufc-tape-mid"})]})]},n)}),(0,l.jsx)("p",{className:"ufc-tape-note",children:"These are the inputs behind the WizLine — the longer the bar, the bigger that fighter's edge on that factor."})]})}function C(e){var n;let{side:t,winner:s,right:a,pick:r=!1,outcome:i=null}=e;return(0,l.jsxs)("div",{className:"ufc-side".concat(a?" right":"").concat(s?" won":""),children:[(0,l.jsx)(_,{side:t}),(0,l.jsxs)("div",{className:"ufc-side-txt",children:[(0,l.jsx)(d(),{href:"/ufc/fighter/".concat(t.id),className:"ufc-name",onClick:e=>e.stopPropagation(),title:"".concat(t.name," — record, rating trend & fight history"),children:t.name}),(0,l.jsx)("span",{className:"ufc-rec mono",children:null!=(n=t.record)?n:""}),r&&(0,l.jsx)("span",{className:"ufc-pickchip mono".concat(i?" ".concat(i):""),title:"hit"===i?"WizPick won":"miss"===i?"WizPick lost":"The fighter our model favors",children:"hit"===i?"✓ WizPick":"miss"===i?"✗ WizPick":"▸ WizPick"})]})]})}function T(e){var n,t,a,r,i,c,o;let{f:u,isOpen:h,onToggle:f,showSeg:x,starrable:k,eventId:N,fav:y,timeLabel:P}=e,S="STATUS_FINAL"===u.status,_=(null==(n=u.status)?void 0:n.includes("PROGRESS"))||"STATUS_END_OF_ROUND"===u.status,D=function(e){if("low"===e.confidence||"STATUS_FINAL"===e.status||null==e.a.winProb||null==e.a.marketProb)return null;let n=e.a.winProb-e.a.marketProb;return .04>Math.abs(n)?null:n>0?{side:e.a,gap:n}:{side:e.b,gap:-n}}(u),T=(null==(t=u.rounds)?void 0:t.marketOver)!=null?u.rounds.ourOver-u.rounds.marketOver:null,R=null!=u.a.bestPrice,E=null==u.a.winProb||.5===u.a.winProb?null:u.a.winProb>.5?"a":"b",L="a"===E?u.a.id:"b"===E?u.b.id:null,I=S&&L&&u.winnerId?u.winnerId===L?"hit":"miss":null;return(0,l.jsxs)("div",{className:"card ufc-fight".concat(h?" open":""),"data-fav":y||void 0,"data-outcome":null!=I?I:void 0,"data-status":_?"live":void 0,children:[(0,l.jsxs)("div",{className:"ufc-row",role:"button",tabIndex:0,"aria-expanded":h,onClick:f,onKeyDown:e=>"Enter"===e.key&&f(),children:[(0,l.jsxs)("div",{className:"ufc-meta",children:[k&&(0,l.jsx)(s.I,{sport:"ufc",id:u.id,label:"".concat(u.a.name.split(" ").slice(-1)[0]," vs ").concat(u.b.name.split(" ").slice(-1)[0]),eventId:N}),(0,l.jsxs)("span",{className:"ufc-wc",children:[u.weightClass,5===u.scheduledRounds?" \xb7 5 RDS":""]}),P&&"STATUS_SCHEDULED"===u.status&&(0,l.jsxs)("span",{className:"ufc-time",title:P.est?"Estimated — UFC runs fights back-to-back; only each card segment's start time is official (~40 min per fight)":"Official card-segment start time — this fight walks first",children:[P.est?"≈ ":"",P.label," ET"]}),x&&u.cardSegment&&(0,l.jsx)("span",{className:"ufc-seg",children:u.cardSegment}),_&&(0,l.jsx)("span",{className:"ufc-live",children:"LIVE"}),u.backtest&&(0,l.jsx)("span",{className:"ufc-conf-low",title:"Our model's out-of-sample backtest pick for this fight — computed retrospectively, not published before the fight (the live record starts July 11, 2026)",children:"backtest"}),S&&u.methodDisplay&&(0,l.jsxs)("span",{className:"ufc-result mono",children:[u.methodDisplay,"dec"!==m(u.methodDisplay)&&null!=u.endRound&&(0,l.jsxs)(l.Fragment,{children:[" \xb7 R",u.endRound,(null!=(a=u.endClockDisplay)?a:"").trim()&&"-"!==(null!=(r=u.endClockDisplay)?r:"").trim()?" ".concat(u.endClockDisplay):""]})]}),D&&(0,l.jsxs)("span",{className:"ufc-value",title:"Our win probability minus the books' vig-free consensus — a disagreement worth watching, not a pick",children:["◆ we like ",D.side.n
1ame.split(" ").slice(-1)[0]," +",(100*D.gap).toFixed(1),"% vs the books"]}),(0,l.jsx)(d(),{href:"/ufc/compare?a=".concat(u.a.id,"&b=").concat(u.b.id),className:"ufc-cmp-link mono",onClick:e=>e.stopPropagation(),title:"Side-by-side comparison: rating histories overlaid + key stats",children:"⚔ compare"}),"low"===u.confidence&&!S&&(0,l.jsx)("span",{className:"ufc-conf-low",title:"One of these fighters has almost no UFC tape, so the WizLine is a rough guess — we never flag leans here",children:"small sample"})]}),(0,l.jsxs)("div",{className:"ufc-main",children:[(0,l.jsx)(C,{side:u.a,winner:S&&u.winnerId===u.a.id,pick:"a"===E,outcome:"a"===E?I:null}),(0,l.jsx)("div",{className:"ufc-mid",children:null!=u.a.winProb?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"ufc-probbar",title:"Our model: ".concat(p(u.a.winProb)," ").concat(u.a.name," / ").concat(p(u.b.winProb)," ").concat(u.b.name),"aria-hidden":!0,children:(0,l.jsx)("span",{style:{width:"".concat((100*u.a.winProb).toFixed(1),"%")}})}),(0,l.jsxs)("div",{className:"ufc-numgrid mono",children:[(0,l.jsx)("span",{className:"lbl",children:"WizLine"}),(0,l.jsx)("span",{className:(null==D?void 0:D.side.id)===u.a.id?"adv":"",children:g(u.a.fairOdds,u.a.winProb)}),(0,l.jsx)("span",{className:(null==D?void 0:D.side.id)===u.b.id?"adv":"",children:g(u.b.fairOdds,u.b.winProb)}),(0,l.jsx)("span",{className:"lbl",children:R?"best book":"book"}),R?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("span",{title:j(u.a.bestBook),children:g(u.a.bestPrice,u.a.marketProb)}),(0,l.jsx)("span",{title:j(u.b.bestBook),children:g(u.b.bestPrice,u.b.marketProb)})]}):(0,l.jsx)("span",{className:"ufc-noline",style:{gridColumn:"span 2"},children:"no line posted yet"})]})]}):(0,l.jsx)("span",{className:"ufc-vs",children:"vs"})}),(0,l.jsx)(C,{side:u.b,winner:S&&u.winnerId===u.b.id,right:!0,pick:"b"===E,outcome:"b"===E?I:null})]}),u.rounds&&S&&(()=>{var e;let n=function(e){var n,t,l,s;let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2.5;if((null!=(n=e.method)?n:"").toLowerCase().includes("decision"))return!0;if(null==e.endRound)return null;let r=Math.ceil(a);return e.endRound!==r?e.endRound>a:null==e.endClock?null:((null!=(t=e.method)?t:"").toLowerCase().includes("decision")?(null!=(l=e.scheduledRounds)?l:3)*300:((null!=(s=e.endRound)?s:1)-1)*300+(null!=e.endClock?Number(e.endClock):0))>=300*a}({method:u.methodDisplay,scheduledRounds:u.scheduledRounds,endRound:u.endRound,endClock:u.endClock},null!=(e=u.rounds.line)?e:2.5);if(null==n)return null;let t=u.rounds.ourOver>=.5,s=t===n;return(0,l.jsxs)("div",{className:"ufc-rounds",children:[(0,l.jsx)("span",{className:"lbl",children:"fight length"}),"we said ",(0,l.jsx)("b",{children:p(t?u.rounds.ourOver:1-u.rounds.ourOver)})," ",t?"over":"under"," 2\xbd"," \xb7 ","went ",(0,l.jsx)("b",{children:(()=>{var e;if("dec"===m(u.methodDisplay)||!u.endRound)return"the distance";let n=(null!=(e=u.endClockDisplay)?e:"").trim();return n&&"-"!==n?"R".concat(u.endRound," ").concat(n):"R".concat(u.endRound)})()})," ",(0,l.jsxs)("span",{className:"ufc-verdict ".concat(s?"hit":"miss"),children:[s?"✓":"✗"," ",n?"over":"under"]})]})})(),u.rounds&&!S&&(0,l.jsxs)("div",{className:"ufc-rounds",children:[(0,l.jsx)("span",{className:"lbl",children:"fight length"}),"we say ",(0,l.jsx)("b",{children:p(u.rounds.ourOver)})," it goes past 2\xbd rounds",null!=u.rounds.marketOver&&(0,l.jsxs)(l.Fragment,{children:[" ","\xb7 books say ",(0,l.jsx)("b",{children:p(u.rounds.marketOver)})," ","(O ",w(u.rounds.bestOver)," / U ",w(u.rounds.bestUnder),")",null!=T&&Math.abs(T)>=.04&&"low"!==u.confidence&&(0,l.jsxs)("span",{className:"lean",children:[" ◆ we lean ",T>0?"Over":"Under"]})]})]}),u.methodProbs&&!S&&(0,l.jsxs)("div",{className:"ufc-rounds ufc-ends",children:[(0,l.jsx)("span",{className:"lbl",children:"how it ends"}),"KO/TKO ",(0,l.jsx)("b",{children:p(null!=(i=u.methodProbs.ko)?i:null)})," \xb7 Submission ",(0,l.jsx)("b",{children:p(null!=(c=u.methodProbs.sub)?c:null)})," \xb7 Decision ",(0,l.jsx)("b",{children:p(null!=(o=u.methodProbs.dec)?o:null)})]}),u.methodProbs&&S&&(()=>{var e,n;let t=m(u.methodDisplay),s=function(e){if(!e)return null;let n=["ko","sub","dec"].filter(n=>null!=e[n]).map(n=>[n,e[n]]);return n.length?n.reduce((e,n)=>n[1]>e[1]?n:e)[0]:null}(u.methodProbs);if(!t||!s)return null;let a=t===s,r=null!=(e=u.methodProbs[t])?e:null;return(0,l.jsxs)("div",{className:"ufc-rounds ufc-ends",children:[(0,l.jsx)("span",{className:"lbl",children:"how it ends"}),"we said ",(0,l.jsx)("b",{children:v[s]})," ",p(null!=(n=u.methodProbs[s])?n:null)," \xb7 ","was ",(0,l.jsx)("b",{children:u.methodDisplay})," ",(0,l.jsx)("span",{className:"ufc-verdict ".concat(a?"hit":"miss"),children:a?"✓":"✗"}),null!=r&&!a&&(0,l.jsxs)("span",{className:"ufc-verdict-note",children:[" we had it ",p(r)]})]})})()]}),_&&(0,l.jsx)(b,{f:u}),h&&u.features&&(0,l.jsx)(O,{f:u})]})}function R(e){let{fights:n,starrable:t=!1,eventId:s}=e,c=function(e){let n=new Map,t=new Map;for(let n of e){var l,s;if(!n.date)continue;let e="".concat(null!=(l=n.cardSegment)?l:"","|").concat(n.date);t.set(e,[...null!=(s=t.get(e))?s:[],n])}let a=[...new Set([...t.values()].map(e=>new Date(e[0].date).getTime()))].sort((e,n)=>e-n);for(let e of t.values()){let t=new Date(e[0].date).getTime(),l=a.find(e=>e>t),s=l?6e4*Math.min(40,Math.max(20,(l-t)/6e4/e.length)):24e5;[...e].sort((e,n)=>{var t,l;return(null!=(t=n.matchNumber)?t:0)-(null!=(l=e.matchNumber)?l:0)}
1).forEach((e,l)=>{if(0===l)return void n.set(e.id,{label:k(e.date),est:!1});let a=5*Math.round((t+l*s)/3e5)*6e4;n.set(e.id,{label:k(new Date(a)),est:!0})})}return n}(n),[d,o]=(0,a.useState)(null),[u,m]=(0,a.useState)("card"),f=(0,i.useRouter)(),{favPlayer:b}=(0,r.r)();(0,a.useEffect)(()=>{let e=n.map(e=>e.date).filter(Boolean).map(e=>new Date(e).getTime()),t=n.some(e=>"STATUS_FINAL"!==e.status);if(!e.length||!t)return;let l=Math.min(...e)-36e5,s=Math.max(...e)+324e5;if(Date.now()<l||Date.now()>s)return;let a=!1,r=setInterval(async()=>{if(document.hidden)return;let e=await h(n.map(e=>e.id)).catch(()=>[]);if(a||!e.length)return;let t=new Map(e.map(e=>[e.id,e.status]));n.some(e=>t.get(e.id)&&t.get(e.id)!==e.status)&&f.refresh()},25e3);return()=>{a=!0,clearInterval(r)}},[n,f]);let v=e=>o(n=>n===e?null:e),p=[...new Set(n.map(e=>{var n;return null!=(n=e.cardSegment)?n:"Card"}))];return(0,l.jsxs)("div",{className:"ufc-list",children:[(0,l.jsx)("div",{className:"ufc-sorthead",children:(0,l.jsxs)("div",{className:"gc-sort",children:[(0,l.jsx)("label",{htmlFor:"ufc-sort",children:"Sort"}),(0,l.jsx)("select",{id:"ufc-sort",value:u,onChange:e=>m(e.target.value),children:N.map(e=>{let[n,t]=e;return(0,l.jsx)("option",{value:n,children:t},n)})})]})}),"card"===u?p.map(e=>(0,l.jsxs)("section",{className:"g-sec",children:[(0,l.jsx)("div",{className:"g-sechead",children:(0,l.jsx)("h2",{children:e})}),n.filter(n=>{var t;return(null!=(t=n.cardSegment)?t:"Card")===e}).map(e=>(0,l.jsx)(T,{f:e,starrable:t,eventId:s,isOpen:d===e.id,onToggle:()=>v(e.id),fav:b("ufc",e.a.id)||b("ufc",e.b.id),timeLabel:c.get(e.id)},e.id))]},e)):(0,l.jsx)("section",{className:"g-sec",children:(function(e,n){let t=[...e],l=e=>null==e?-1/0:e;switch(n){case"time":return t.sort((e,n)=>{var t,l,s,a;return(null!=(t=e.date)?t:"").localeCompare(null!=(l=n.date)?l:"")||(null!=(s=e.matchNumber)?s:0)-(null!=(a=n.matchNumber)?a:0)});case"ourline":return t.sort((e,n)=>y(n)-y(e));case"bestbook":return t.sort((e,n)=>P(n)-P(e));case"length":return t.sort((e,n)=>{var t,s;return l(null==(t=n.rounds)?void 0:t.ourOver)-l(null==(s=e.rounds)?void 0:s.ourOver)});case"ko":return t.sort((e,n)=>{var t,s;return l(null==(t=n.methodProbs)?void 0:t.ko)-l(null==(s=e.methodProbs)?void 0:s.ko)});case"sub":return t.sort((e,n)=>{var t,s;return l(null==(t=n.methodProbs)?void 0:t.sub)-l(null==(s=e.methodProbs)?void 0:s.sub)});case"dec":return t.sort((e,n)=>{var t,s;return l(null==(t=n.methodProbs)?void 0:t.dec)-l(null==(s=e.methodProbs)?void 0:s.dec)});case"value":return t.sort((e,n)=>S(n)-S(e));default:return t}})(n,u).map(e=>(0,l.jsx)(T,{f:e,starrable:t,eventId:s,isOpen:d===e.id,onToggle:()=>v(e.id),fav:b("ufc",e.a.id)||b("ufc",e.b.id),showSeg:!0,timeLabel:c.get(e.id)},e.id))})]})}},52971:(e,n,t)=>{t.d(n,{I:()=>i,l:()=>c});
1var l=t(95155),s=t(12115),a=t(12818),r=t(86327);function i(e){let{sport:n,id:t,label:r,eventId:i}=e,[c,d]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{let e=()=>d((0,a.Df)(n,t));return e(),window.addEventListener(a.Dy,e),window.addEventListener("storage",e),()=>{window.removeEventListener(a.Dy,e),window.removeEventListener("storage",e)}},[n,t]),(0,l.jsx)("button",{type:"button",className:"wstar".concat(c?" on":""),"aria-pressed":c,title:c?"Remove from your watch strip":"Star — pin to your watch strip on Scores",onClick:e=>{e.preventDefault(),e.stopPropagation(),(0,a.iW)({sport:n,id:t,label:r,eventId:i})},children:(0,l.jsx)("span",{"aria-hidden":!0,children:c?"★":"☆"})})}function c(e){let{gamePk:n,away:t,home:a,date:i}=e,[c,d]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{let e=()=>d((0,r.Xz)(n));return e(),window.addEventListener(r.el,e),window.addEventListener("storage",e),()=>{window.removeEventListener(r.el,e),window.removeEventListener("storage",e)}},[n]),(0,l.jsx)("button",{type:"button",className:"wstar".concat(c?" on":""),"aria-pressed":c,title:c?"Unpin this game":"Star — pin this game (watch strip + score bar)",onClick:e=>{e.preventDefault(),e.stopPropagation(),(0,r.nN)({gamePk:n,away:t,home:a,date:i})},children:(0,l.jsx)("span",{"aria-hidden":!0,children:c?"★":"☆"})})}}}]);

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.