PageSourceSearch

https://www.racingpost.com/_next/static/chunks/2544-916040b0173b6fda.js

js racingpost.com collected 2026-10-02 02:28:52 UTC 44,201 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="4f827e26-dd32-42c8-a816-4e64d715166c",e._sentryDebugIdIdentifier="sentry-dbid-4f827e26-dd32-42c8-a816-4e64d715166c")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2544],{12959:(e,n,t)=>{t.d(n,{AK:()=>f,ac:()=>p,eX:()=>g,vW:()=>u});var i=t(76695),r=t(86409),o=t(28687),s=t(42587);let{IRE:l}=i.qo,{GBP:a,EUR:d}=r.iB1,{RUNNER_END_TAG:c,FULL_RESULT_REGEX:m}=o.Yp,h=e=>e.toLowerCase().replace(/\b[a-z]/g,e=>e.toUpperCase()).replace(/\(([^)]+)\)/g,e=>e.toUpperCase()),p=e=>{if(!e)return[];let n=e.split("\x01").map(e=>e.replace(/<\/?[^>]+>/g,"").replace(/£/g,"\xa3").trim()).filter(Boolean);return n.length?[h(n[0]),...n.slice(1)]:[]},u=e=>e?e.split("\x01").filter(e=>e.includes(c)).map(e=>{let n=e.split(/<\/?b>/).map(e=>e.trim());return{position:(0,s.Dx)(n[1]),saddleCloth:(0,s.Dx)((n[2]||"").replace(/[()]/g,"")),horseName:n[3]||"",odds:(0,s.Dx)((n[4]||"").replace(c,""))}}):[],g=e=>m.test(e),x=(e,n)=>"".concat(n===l?d:a).concat(e%1==0?e:e.toFixed(2)),f=e=>{let{toteWin:n,totePlaces:t,exacta:i,csf:r,tricast:o,trifecta:s,trioText:l,toteDeadHeatText:a,countryCode:d}=e,c=t.filter(e=>null!==e).map(e=>x(e,d)).join(", ")||null,m=null!==s?[x(s,d),l].filter(Boolean).join(" "):null;return[null!==n&&{label:"Win:",value:x(n,d)},c&&{label:"Pl:",value:c},null!==i&&{label:"Ex:",value:x(i,d)},null!==r&&{label:"CSF:",value:x(r,d)},null!==o&&{label:"Tricast:",value:x(o,d)},m&&{label:"Trifecta:",value:m},a&&{label:"",value:a}].filter(e=>!!e)}},15552:(e,n,t)=>{t.d(n,{S:()=>i});let i=(e,n,t)=>{let{isMobile:i,isTablet:r,isDesktop:o}=n;if(i){window.location.assign(e);return}if(r){window.open(e,"_blank","noopener");return}o&&window.open(e,t.TARGET,t.FEATURES)}},22544:(e,n,t)=>{t.d(n,{A:()=>t6});var i=t(37876),r=t(18847),o=t.n(r),s=t(31777),l=t(62119),a=t(46677),d=t(14232),c=t(56557),m=t.n(c),h=t(39324),p=t.n(h),u=t(86589),g=t(48007),x=t(12959),f=t(38738),y=t(6034);let{publicRuntimeConfig:{diffusionDomain:A}}=p()(),{subscribe:j,unsubscribe:w}=u.F,{FAST_RESULT:_}=y.GM,b=e=>{let{races:n,raceDate:t,isActive:i}=e,r=(0,s.wA)(),o=(0,d.useMemo)(()=>i?n.flatMap(e=>{let{raceUid:n,diffusionCourseName:i,raceTime:r,raceDateTime:o}=e,s=(0,g.iv)(t,i,r);return s?[{raceUid:n,raceDateTime:o,feed:s}]:[]}):[],[i,n,t]),l=o.map(e=>{let{feed:n,raceUid:t}=e;return"".concat(n,":").concat(t)}).join("|"),a=(0,d.useRef)(o);a.current=o;let c=(0,d.useMemo)(()=>Object.fromEntries(o.map(e=>{let{feed:n,raceUid:t}=e;return[n,t]})),[l]),h=(e,n)=>{let i=c[n];if(void 0===i)return;let o=Object.values(e).join(""),s=(0,x.vW)(o);s.length>0&&r((0,f.setResultsFastRunners)({raceUid:i,runners:s})),(0,x.eX)(o)&&(w(_,[{feed:n}],A),r((0,f.getLatestResults)(t)))};(0,d.useEffect)(()=>{let e=a.current;if(0===e.length)return;let n=[],t=[];return e.forEach(e=>{let{feed:i,raceDateTime:r}=e,o=()=>{t.push({feed:i}),j(_,[{feed:i}],h,A)},s=m()(r).diff(m()());s<=0?o():n.push(setTimeout(o,s))}),()=>{n.forEach(clearTimeout),t.length>0&&w(_,t,A)}},[l,t])};var C=t(32459),v=t(90114),T=t(70476),I=t(60596),H=t(84775),R=t(49313),k=t(33986),B=t(74947),D=t(72507),M=t(57885),N=t(28687),S=t(3435);let{COURSE:F,TIME:$}=N.wx,O=e=>{let{raceDate:n,isTimeOrdered:t}=e;return(0,i.jsx)(S.A,{testId:"CourseTimeToggle",width:"160px",options:[{label:F,isActive:!t,href:(0,D.vI)(n),testId:"Link__CourseTimeToggle__Course"},{label:$,isActive:t,href:(0,D.lJ)(n),testId:"Link__CourseTimeToggle__Time"}]})};var U=t(77029),E=t(28888),V=t(98684),P=t(54587),W=t.n(P);function G(){let e=(0,E._)(["\n            padding: 0 ",";\n            margin-left: ",";\n        "]);return G=function(){return e},e}let J=V.Ay.div.withConfig({componentId:"sc-52f4fcaa-0"})(["",""],e=>{let{$isActive:n,theme:{colors:{brandPrimary:t,white:i,black:r,midGrey:o},typography:{brandBody:s},spacings:{xxs:l,xs:a,s:d,m:c},mixins:{breakpointMixin:m}}}=e;return(0,V.AH)([""," display:inline-flex;align-items:center;justify-content:center;gap:",";height:32px;padding:0 ",";margin-left:",";border-radius:4px;border:1px solid ",";background-color:",";color:",";cursor:pointer;user-select:none;white-space:nowrap;&:hover{","}
1",""],s.small.bold,l,c,a,n?t:o,n?t:i,n?i:r,!n&&(0,V.AH)(["color:",";"],t),m.mobile(G(),d,l))}),L=(0,V.Ay)(W()).withConfig({componentId:"sc-52f4fcaa-1"})(["",""],e=>{let{$isActive:n}=e;return(0,V.AH)(["filter:",";"],n?"brightness(0) invert(1)":"none")}),{PEDIGREES:K}=N.wx,z=()=>{let{isPedigreesVisible:e,togglePedigrees:n}=(0,U.A)();return(0,i.jsxs)(J,{role:"button",tabIndex:0,$isActive:e,"aria-pressed":e,onClick:n,"data-testid":"Button__PedigreesToggle",children:[(0,i.jsx)(L,{src:"/svgs/pedigree.svg",alt:"pedigree-icon",width:16,height:16,$isActive:e}),K]})},X=V.Ay.div.withConfig({componentId:"sc-46594fe0-0"})(["",""],e=>{let{theme:{spacings:{xs:n,m:t}}}=e;return(0,V.AH)(["display:flex;align-items:center;flex-wrap:wrap;gap:",";margin:"," 0 "," 0;"],n,n,t)}),Y=V.Ay.div.withConfig({componentId:"sc-46594fe0-1"})(["margin-left:auto;"]),q=e=>{let{raceDate:n,isTimeOrdered:t,allExpanded:r,onExpandCollapseAll:o}=e;return(0,i.jsxs)(X,{"data-testid":"Container__ResultsControls",children:[(0,i.jsx)(O,{raceDate:n,isTimeOrdered:t}),!t&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(z,{}),(0,i.jsx)(Y,{children:(0,i.jsx)(M.A,{isExpanded:null!=r&&r,onToggle:o})})]})]})};var Z=t(4521),Q=t(88493),ee=t(24790),en=t(15552),et=t(48230),ei=t.n(et);let er=(0,V.Ay)(ei()).withConfig({componentId:"sc-32331cf0-0"})(["",""],e=>{let{theme:{typography:{brandBody:n},colors:{brandPrimary:t,brandPrimaryHover:i},spacings:{xxs:r,xs:o}}}=e;return(0,V.AH)(["",";display:inline-flex;align-items:center;justify-content:center;margin-top:",";padding:"," ",";border:1px solid ",";color:",";cursor:pointer;user-select:none;height:32px;width:225px;border-radius:4px;text-decoration:none;&:hover{color:",";border-color:",";box-shadow:inset 0 0 0 1px ",";}"],n.medium.semiBold,o,r,o,t,t,i,i,i)}),eo=(0,V.Ay)(ei()).withConfig({componentId:"sc-32331cf0-1"})(["",""],e=>{let{theme:{typography:{brandBody:n},colors:{brandPrimary:t},spacings:{xs:i}}}=e;return(0,V.AH)(["",";display:flex;align-items:center;color:",";cursor:pointer;padding:"," 0;text-decoration:none;"],n.small.regular,t,i)}),{VARIANT_BOX:es}=N.iv,{BUTTON_TEXT:el}=N.xU,ea=e=>{let{href:n,variant:t}=e,r=(0,ee.zu)();if(!n)return null;let o=e=>{e.preventDefault(),(0,en.S)(n,r,N.D4)};return t===es?(0,i.jsx)(er,{href:n,onClick:o,"data-testid":"Button__AnalysisWinningTimes",children:el}):(0,i.jsxs)(eo,{href:n,onClick:o,"data-testid":"Button__AnalysisWinningTimes",children:[el,(0,i.jsx)(Q.A,{height:8,width:8})]})};var ed=t(67522);function ec(){let e=(0,E._)(["\n            border-bottom: 1px solid ",";\n            max-width: 100%;\n        "]);return ec=function(){return e},e}function em(){let e=(0,E._)(["\n            display: block;\n            padding: 0;\n        "]);return em=function(){return e},e}function eh(){let e=(0,E._)(["\n            ",";\n\n            display: inline;\n            margin-right: ",";\n        "]);return eh=function(){return e},e}let ep=(0,V.Ay)(ed._v).withConfig({componentId:"sc-7c93a121-0"})(["display:flex;flex-direction:column;flex:1;"]),eu=V.Ay.div.withConfig({componentId:"sc-7c93a121-1"})(["",""],e=>{let{theme:{mixins:{breakpointMixin:n},colors:{pearlGrey:t},spacings:{xs:i}}}=e;return(0,V.AH)(["display:flex;flex-direction:column;flex-shrink:0;max-width:289px;width:100%;padding:"," 0;border-bottom:4px solid ",";",""],i,t,n.mobile(ec(),t))}),eg=V.Ay.div.withConfig({componentId:"sc-7c93a121-2"})(["",""],e=>{let{theme:{spacings:{xl:n},mixins:{breakpointMixin:t}}}=e;return(0,V.AH)(["display:flex;flex-direction:column;flex:1;padding-left:",";",""],n,t.mobile(em()))}),ex=V.Ay.div.withConfig({componentId:"sc-7c93a121-3"})(["margin-top:auto;"]),ef=V.Ay.p.withConfig({componentId:"sc-7c93a121-4"})(["",""],e=>{let{theme:{typography:{brandHeadings:n},spacings:{xs:t}}}=e;return(0,V.AH)(["",";margin:0 0 ",";"],n.headingFive,t)}),ey=V.Ay.p.withConfig({componentId:"sc-7c93a121-5"})(["",""],e=>{let{theme:{typography:{brandBody:n},spacings:{xxs:t,xs:i},colors:{disclaimerGrey:r},mixins:{breakpointMixin:o}}}=e;return(0,V.AH)(["",";color:",";margin:0;padding:"," 0;",""],n.xsmall.regular,r,t,o.mobile(eh(),n.small.regular,i))}),eA=V.Ay.span.withConfig({componentId:"sc-7c93a121-6"})(["",""],e=>
1{let{theme:{typography:{brandBody:n},colors:{black:t}}}=e;return(0,V.AH)(["",";color:",";"],n.xsmall.regular,t)}),ej=V.Ay.p.withConfig({componentId:"sc-7c93a121-7"})(["",""],e=>{let{theme:{typography:{brandBody:n},spacings:{xxxs:t,xs:i},colors:{black:r}}}=e;return(0,V.AH)(["",";color:",";margin:"," 0 ",";"],n.xsmall.regular,r,i,t)}),ew=V.Ay.p.withConfig({componentId:"sc-7c93a121-8"})(["",""],e=>{let{theme:{typography:{brandBody:n},colors:{disclaimerGrey:t}}}=e;return(0,V.AH)(["",";color:",";margin:0;"],n.xsmall.regular,t)}),{DIVIDENTS:e_,JACKPOT:eb,PLACEPOT:eC,QUADPOT:ev,GOING:eT,WATER_CONDITIONS:eI,WIND:eH,TOTAL_NON_RUNNERS:eR,STALLS:ek,DOUBLE_CARD_NUMBERS:eB,FAVOURITES_INDEX:eD,AGGREGATE:eM,AGGREGATE_WINNING:eN}=N.h3,{VARIANT_BOX:eS}=N.iv,eF=e=>{let{meeting:n}=e;if(!N.rJ.includes(n.countryCode))return null;let{meetingGoing:t,weather:r,wind:o,totalNonRunners:s,stallsPosition:l,jackpotText:a,placepotText:d,quadpotText:c,doubleCards:m,favouritesIndex:h,aggregateSp:p,winningDistances:u,winningTimesLink:g}=n;return(0,i.jsxs)(eu,{"data-testid":"Container__ResultsMeetingDetails",children:[(0,i.jsx)(ed._v,{shouldShowTablet:!0,shouldShowDesktop:!0,children:(0,i.jsx)(ef,{children:"Meeting details"})}),(0,i.jsxs)(eg,{children:[t&&(0,i.jsxs)(ey,{children:[(0,i.jsxs)(eA,{children:[eT,": "]}),t]}),r&&(0,i.jsxs)(ey,{children:[(0,i.jsxs)(eA,{children:[eI,": "]}),r]}),(0,i.jsx)(ed._v,{shouldShowTablet:!0,shouldShowDesktop:!0,children:o&&(0,i.jsxs)(ey,{children:[(0,i.jsxs)(eA,{children:[eH,": "]}),o]})}),(0,i.jsxs)(ey,{children:[(0,i.jsxs)(eA,{children:[eR,": "]}),s]}),l&&(0,i.jsxs)(ey,{children:[(0,i.jsxs)(eA,{children:[ek,": "]}),l]}),(0,i.jsxs)(ep,{shouldShowTablet:!0,shouldShowDesktop:!0,children:[(0,i.jsx)(ej,{children:e_}),a&&(0,i.jsxs)(ew,{"data-testid":"Text__MeetingJackpot",children:[(0,i.jsxs)(eA,{children:[eb," "]}),a]}),d&&(0,i.jsxs)(ew,{"data-testid":"Text__MeetingPlacepot",children:[(0,i.jsxs)(eA,{children:[eC," "]}),d]}),c&&(0,i.jsxs)(ew,{"data-testid":"Text__MeetingQuadpot",children:[(0,i.jsxs)(eA,{children:[ev," "]}),c]}),null!==m&&(0,i.jsxs)(ew,{children:[(0,i.jsxs)(eA,{children:[eB," "]}),m]}),null!==h&&(0,i.jsxs)(ew,{children:[(0,i.jsxs)(eA,{children:[eD," "]}),h]}),null!==p&&(0,i.jsxs)(ew,{children:[(0,i.jsxs)(eA,{children:[eM," "]}),p]}),null!==u&&(0,i.jsxs)(ew,{children:[(0,i.jsxs)(eA,{children:[eN," "]}),u]}),(0,i.jsx)(ex,{children:(0,i.jsx)(ea,{variant:eS,href:g})})]})]})]})};var e$=t(89542),eO=t(61538);function eU(){let e=(0,E._)(["\n            ",";\n        "]);return eU=function(){return e},e}function eE(){let e=(0,E._)(["\n            border-bottom: none;\n\n            ","\n        "]);return eE=function(){return e},e}function eV(){let e=(0,E._)(["\n            ",";\n            font-style: italic;\n            color: ",";\n        "]);return eV=function(){return e},e}let eP=(0,V.AH)(["",""],e=>{let{theme:{mixins:{breakpointMixin:n},typography:{brandBody:t},colors:{black:i}},$isTimeVariant:r}=e;return(0,V.AH)(["",";color:",";",""],t.medium.semiBold,i,n.mobile(eU(),r&&t.small.semiBold))}),eW=V.Ay.div.withConfig({componentId:"sc-ce5eb05a-0"})(["",""],e=>{let{theme:{mixins:{breakpointMixin:n},spacings:{xxs:t,xs:i},colors:{midGrey:r}},$isTimeVariant:o}=e;return(0,V.AH)([""," border-bottom:1px solid ",";",""],o?(0,V.AH)(["padding-bottom:",";margin-bottom:",";"],i,i):(0,V.AH)(["padding-bottom:",";margin-bottom:",";"],t,t),r,n.mobile(eE(),o&&(0,V.AH)(["padding-bottom:0;margin-bottom:0;"])))}),eG=V.Ay.div.withConfig({componentId:"sc-ce5eb05a-1"})(["display:grid;grid-template-columns:36px auto;align-items:baseline;"]),eJ=V.Ay.span.withConfig({componentId:"sc-ce5eb05a-2"})(["",""],eP),eL=V.Ay.span.withConfig({componentId:"sc-ce5eb05a-3"})(["display:flex;align-items:baseline;"]),eK=V.Ay.span.withConfig({componentId:"sc-ce5eb05a-4"})([""," overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:130px;"],eP),ez=V.Ay.span.withConfig({componentId:"sc-ce5eb05a-5"})([""," "," flex-shrink:0;"],eP,e=>{let{theme:{spacings:{xxxs:n,xs:t}}}=e;return(0,V.AH)(["padding-left:calc("," - ",");"],t,n)}),eX=V.Ay.p.withConfig({componentId:"sc-ce5eb05a-6"})(["",""],e=>{let{theme:{mixins:{breakpointMixin:n}
1,typography:{brandBody:t},colors:{darkerGrey:i,black:r},spacings:{xxs:o}}}=e;return(0,V.AH)(["",";color:",";margin-top:",";font-style:italic;",""],t.medium.regular,i,o,n.mobile(eV(),t.small.semiBold,r))}),{AWAITING_FULL_RESULT:eY}=N._B,eq=(0,d.memo)(e=>{let{runners:n,isTimeVariant:t}=e;return(0,i.jsxs)(eW,{$isTimeVariant:t,"data-testid":"Container__FastResultRunners",children:[n.map(e=>(0,i.jsxs)(eG,{"data-testid":"Container__".concat(e.saddleCloth,"__FastResultRunner"),children:[(0,i.jsx)(eJ,{$isTimeVariant:t,"data-testid":"Text__FastResultPosition",children:e.position}),(0,i.jsxs)(eL,{children:[(0,i.jsxs)(eK,{$isTimeVariant:t,"data-testid":"Text__FastResultHorse",children:[e.saddleCloth?"".concat(e.saddleCloth,". "):"",e.horseName]}),e.odds&&(0,i.jsx)(ez,{$isTimeVariant:t,"data-testid":"Text__FastResultOdds",children:e.odds})]})]},"".concat(e.position,"-").concat(e.saddleCloth,"-").concat(e.horseName))),(0,i.jsx)(eX,{"data-testid":"Text__AwaitingFullResult",children:eY})]})});function eZ(){let e=(0,E._)(["\n            position: relative;\n            border-bottom: none;\n            max-width: 100%;\n            margin-left: 0;\n            padding: "," 0;\n\n            &::after {\n                content: '';\n                position: absolute;\n                bottom: 0;\n                left: calc(50% - 50vw);\n                width: 100vw;\n                height: 1px;\n                background-color: ",";\n            }\n        "]);return eZ=function(){return e},e}function eQ(){let e=(0,E._)(["\n            position: absolute;\n            inset: 0;\n            z-index: 1;\n            cursor: pointer;\n        "]);return eQ=function(){return e},e}function e0(){let e=(0,E._)(["\n            position: relative;\n            flex: 1;\n            max-width: 100%;\n            padding: 0;\n            justify-content: center;\n        "]);return e0=function(){return e},e}function e3(){let e=(0,E._)(["\n            display: none;\n        "]);return e3=function(){return e},e}function e1(){let e=(0,E._)(["\n            display: block;\n            padding-top: ",";\n        "]);return e1=function(){return e},e}function e4(){let e=(0,E._)(["\n            border-bottom: none;\n            margin: 0 0 ",";\n            padding: 0;\n        "]);return e4=function(){return e},e}function e2(){let e=(0,E._)(["\n            justify-content: flex-start;\n            gap: ",";\n            padding: 0;\n        "]);return e2=function(){return e},e}function e8(){let e=(0,E._)(["\n            margin-bottom: 0;\n        "]);return e8=function(){return e},e}function e7(){let e=(0,E._)(["\n            ",";\n        "]);return e7=function(){return e},e}function e9(){let e=(0,E._)(["\n            position: relative;\n            z-index: 2;\n        "]);return e9=function(){return e},e}function e5(){let e=(0,E._)(["\n            margin-left: ",";\n        "]);return e5=function(){return e},e}function e6(){let e=(0,E._)(["\n            display: flex;\n            align-items: flex-start;\n\n            ","\n        "]);return e6=function(){return e},e}function ne(){let e=(0,E._)(["\n            display: none;\n        "]);return ne=function(){return e},e}function nn(){let e=(0,E._)(["\n            display: none;\n        "]);return nn=function(){return e},e}function nt(){let e=(0,E._)(["\n            border-bottom: none;\n\n            ","\n        "]);return nt=function(){return e},e}function ni(){let e=(0,E._)(["\n            ",";\n        "]);return ni=function(){return e},e}function nr(){let e=(0,E._)(["\n            ",";\n        "]);return nr=function(){return e},e}function no(){let e=(0,E._)(["\n            ",";\n        "]);return no=function(){return e},e}function ns(){let e=(0,E._)(["\n            pointer-events: none;\n        "]);return ns=function(){return e},e}function nl(){let e=(0,E._)(["\n            display: none;\n        "]);return nl=function(){return e},e}function na(){let e=(0,E._)(["\n            padding-right: ",";\n        "]);return na=function(){return e},e}eq.displayName="FastResultRunners";let nd=V.Ay.div.withConfig({componentId:"sc-307a94e8-0"})(["",""],e=>{let{theme:{mixins:{breakpointMixin:n},colors:{superLightGrey:t,midGrey:i},spacings:{xs:r}}}=e;return(0,V.AH)(["display:flex;border-bottom:3px solid ",";max-width:282px;width:100%;",""],t,n.mobile(eZ(),r,i))}),nc=(0,V.Ay)(ei()).withConfig({componentId:"sc-307a94e8-1"})(["",""],e=>{let{theme:{mixins:{breakpointMixin:n}}}=e;return(0,V.AH)(["",""],n.mobile(eQ()))}),nm=V.Ay.div.withConfig({componentId:"sc-307a94e8-2"})(["",""],e=>{let{theme:{spacings:{xs:n},mixins:{breakpointMixin:t}},$isTimeVariant:i}=e;return(0,V.AH)(["display:flex;flex-direction:column;justify-content:space-between;padding:"," 0;"," ",""],n,i&&(0,V.AH)(["max-width:220px;width:100%;"]),t.mobile(e0()))}),nh=V.Ay.div.withConfig({componentId:"sc-307a94e8-3"})(["",""],e=>{let{theme:{mixins:{breakpointMixin:n}}}=e;return(0,V.AH)(["display:inline;",""],n.mobile(e3()))}),np=V.Ay.div.withConfig({componentId:"sc-307a94e8-4"})(["",""],e=>{let{theme:{spacings:{xxs:n},mixins:{breakpointMixin:t}}}=e;return(0,V.AH)(["display:none;",""],t.mobile(e1(),n))}),nu=V.Ay.div.withConfig({componentId:"sc-307a94e8-5"})(["",""],e=>{let{theme:{mixins:{breakpointMixin:n},spacings:{xxs:t,xs:i},colors:{midGrey:r}}}=e;return(0,V.AH)(["display:flex;gap:",";padding-bottom:",";margin-bottom:",";border-bottom:1px solid ",";",""],i,t,t,r,n.mobile(e4(),t))}),ng=V.Ay.div.withConfig({componentId:"sc-307a94e8-6"})(["",""],e=>{let{theme:{mixins:{breakpointMixin:n},spacings:{xs:t,m:i}}}=e;return(0,V.AH)(["display:flex;flex-direction:column;align-items:left;flex-shrink:0;max-width:64px;width:100%;padding:"," 0;",""],t,n.mobile(e2(),i))}),nx=V.Ay.span.withConfig({componentId:"sc-307a94e8-7"})(["",""],e=>{let{theme:{mixins:{breakpointMixin:n}
1,typography:{brandBody:t},colors:{black:i},spacings:{m:r}}}=e;return(0,V.AH)(["",";color:",";margin-bottom:",";",""],t.large.semiBold,i,r,n.mobile(e8()))}),nf=V.Ay.span.withConfig({componentId:"sc-307a94e8-8"})(["",""],e=>{let{theme:{mixins:{breakpointMixin:n},typography:{brandHeadings:t,brandBody:i},colors:{black:r,brandPrimary:o}},$isTimeVariant:s}=e;return(0,V.AH)([""," color:",";",""],s?(0,V.AH)(["",";font-weight:600;&:hover{color:",";text-decoration:underline;}"],t.headingFive,o):i.medium.regular,r,n.mobile(e7(),i.medium.bold))}),ny=(0,V.Ay)(eO.A).withConfig({componentId:"sc-307a94e8-9"})(["",""],e=>{let{theme:{mixins:{breakpointMixin:n}}}=e;return(0,V.AH)(["",""],n.mobile(e9()))}),nA=V.Ay.div.withConfig({componentId:"sc-307a94e8-10"})(["",""],e=>{let{theme:{mixins:{breakpointMixin:n},spacings:{xs:t,m:i}}}=e;return(0,V.AH)(["display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;flex-shrink:0;cursor:pointer;border-radius:50%;margin-left:",";",""],i,n.mobile(e5(),t))}),nj=V.Ay.div.withConfig({componentId:"sc-307a94e8-11"})(["display:flex;flex-direction:column;flex-grow:1;min-width:0;"]),nw=(0,V.Ay)(eO.A).withConfig({componentId:"sc-307a94e8-12"})(["",""],e=>{let{theme:{mixins:{breakpointMixin:n}},$isTimeVariant:t}=e;return(0,V.AH)(["",""],n.mobile(e6(),t&&(0,V.AH)(["position:absolute;top:50%;transform:translateY(-50%);right:0;"])))}),n_=V.Ay.span.withConfig({componentId:"sc-307a94e8-13"})(["",""],e=>{let{theme:{typography:{brandBody:n},colors:{black:t,brandPrimary:i},spacings:{xxs:r},mixins:{breakpointMixin:o}},$hideOnMobile:s,$isDisabled:l}=e;return(0,V.AH)(["",";color:",";"," margin-bottom:",";",""],n.medium.semiBold,t,!l&&(0,V.AH)(["&:hover{color:",";text-decoration:underline;}"],i),r,s&&o.mobile(ne()))}),nb=V.Ay.p.withConfig({componentId:"sc-307a94e8-14"})(["",""],e=>{let{theme:{typography:{brandBody:n},colors:{black:t},mixins:{breakpointMixin:i}},$hideOnMobile:r}=e;return(0,V.AH)(["",";margin:0;color:",";",""],n.small.regular,t,r&&i.mobile(nn()))}),nC=V.Ay.span.withConfig({componentId:"sc-307a94e8-15"})(["",""],e=>{let{theme:{typography:{brandBody:n},colors:{black:t}}}=e;return(0,V.AH)(["",";color:",";"],n.small.semiBold,t)}),nv=V.Ay.p.withConfig({componentId:"sc-307a94e8-16"})(["",""],e=>{let{theme:{typography:{brandBody:n},colors:{black:t}}}=e;return(0,V.AH)(["",";color:",";"],n.small.regular,t)}),nT=V.Ay.div.withConfig({componentId:"sc-307a94e8-17"})(["",""],e=>{let{theme:{mixins:{breakpointMixin:n},spacings:{xxs:t,xs:i},colors:{midGrey:r}},$isTimeVariant:o}=e;return(0,V.AH)([""," border-bottom:1px solid ",";",""],o?(0,V.AH)(["padding-bottom:",";margin-bottom:",";"],i,i):(0,V.AH)(["padding-bottom:",";margin-bottom:",";"],t,t),r,n.mobile(nt(),o&&(0,V.AH)(["padding-bottom:0;margin-bottom:0;"])))}),nI=V.Ay.div.withConfig({componentId:"sc-307a94e8-18"})(["display:grid;grid-template-columns:36px auto;align-items:baseline;"]),nH=V.Ay.span.withConfig({componentId:"sc-307a94e8-19"})(["",""],e=>{let{theme:{mixins:{breakpointMixin:n},typography:{brandBody:t},colors:{black:i}},$isTimeVariant:r}=e;return(0,V.AH)(["",";color:",";",""],t.medium.semiBold,i,n.mobile(ni(),r&&t.small.semiBold))}),nR=V.Ay.span.withConfig({componentId:"sc-307a94e8-20"})(["",""],e=>{let{theme:{mixins:{breakpointMixin:n},typography:{brandBody:t},colors:{black:i}},$isTimeVariant:r}=e;return(0,V.AH)(["",";color:",";overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:130px;",""],t.medium.semiBold,i,n.mobile(nr(),r&&t.small.semiBold))}),nk=V.Ay.span.withConfig({componentId:"sc-307a94e8-21"})(["",""],e=>{let{theme:{mixins:{breakpointMixin:n},typography:{brandBody:t},colors:{black:i},spacings:{xxxs:r,xs:o}},$isTimeVariant:s}=e;return(0,V.AH)(["",";color:",";padding-left:calc("," - ",");flex-shrink:0;",""],t.medium.semiBold,i,o,r,n.mobile(no(),s&&t.small.semiBold))}),nB=(0,V.Ay)(eO.A).withConfig({componentId:"sc-307a94e8-22"})(["",""],e=>{let{theme:{colors:{brandPrimary:n}}}=e;return(0,V.AH)(["display:flex;align-items:baseline;&:hover{color:",";text-decoration:underline;",",","{color:",";}}"],n,nR,nk,n)}),nD=V.Ay.div.withConfig({componentId:"sc-307a94e8-23"})(["",""],e=>{let{theme:{spacings:{xs:n}}}=e;return(0,V.AH)(["margin-bottom:",";"],n)}
1),nM=V.Ay.div.withConfig({componentId:"sc-307a94e8-24"})(["",""],e=>{let{theme:{spacings:{xxxs:n}}}=e;return(0,V.AH)(["display:block;gap:",";"],n)}),nN=V.Ay.p.withConfig({componentId:"sc-307a94e8-25"})(["",""],e=>{let{theme:{typography:{brandBody:n},spacings:{xxxs:t},colors:{darkGrey:i}}}=e;return(0,V.AH)(["",";margin:0 0 ",";color:",";"],n.xsmall.semiBold,t,i)}),nS=(0,V.Ay)(eO.A).withConfig({componentId:"sc-307a94e8-26"})(["",""],e=>{let{theme:{typography:{brandBody:n},colors:{darkGrey:t,brandPrimary:i},mixins:{breakpointMixin:r}}}=e;return(0,V.AH)(["",";color:",";text-decoration:none;&:hover{color:",";text-decoration:underline;}",""],n.xsmall.semiBold,t,i,r.mobile(ns()))}),nF=(0,V.Ay)(W()).withConfig({componentId:"sc-307a94e8-27"})(["",""],e=>{let{theme:{spacings:{xxs:n},mixins:{breakpointMixin:t}}}=e;return(0,V.AH)(["display:inline-block;vertical-align:middle;margin-left:",";",""],n,t.mobile(nl()))}),n$=V.Ay.div.withConfig({componentId:"sc-307a94e8-28"})(["",""],e=>{let{theme:{typography:{brandBody:n},spacings:{xxxs:t},colors:{darkGrey:i}}}=e;return(0,V.AH)(["",";display:flex;flex-direction:column;margin:0 0 ",";color:",";"],n.xsmall.semiBold,t,i)}),nO=V.Ay.span.withConfig({componentId:"sc-307a94e8-29"})(["",""],e=>{let{theme:{typography:{brandBody:n},colors:{black:t}}}=e;return(0,V.AH)(["",";color:",";"],n.xsmall.semiBold,t)}),nU=V.Ay.div.withConfig({componentId:"sc-307a94e8-30"})(["",""],e=>{let{theme:{spacings:{xs:n}}}=e;return(0,V.AH)(["margin-bottom:",";"],n)}),nE=V.Ay.p.withConfig({componentId:"sc-307a94e8-31"})(["margin:0;"]),nV=V.Ay.span.withConfig({componentId:"sc-307a94e8-32"})(["",""],e=>{let{theme:{typography:{brandBody:n},colors:{black:t}}}=e;return(0,V.AH)(["",";color:",";"],n.xsmall.semiBold,t)}),nP=V.Ay.span.withConfig({componentId:"sc-307a94e8-33"})(["",""],e=>{let{theme:{typography:{brandBody:n},colors:{darkGrey:t}}}=e;return(0,V.AH)(["",";color:",";"],n.xsmall.semiBold,t)}),nW=V.Ay.div.withConfig({componentId:"sc-307a94e8-34"})(["",""],e=>{let{theme:{spacings:{xxs:n}}}=e;return(0,V.AH)(["grid-column:1 / -1;padding:"," 0;margin-top:",";"],n,n)}),nG=V.Ay.p.withConfig({componentId:"sc-307a94e8-35"})(["",""],e=>{let{theme:{typography:{brandBody:n},spacings:{xxxs:t},colors:{disclaimerGrey:i}}}=e;return(0,V.AH)(["",";display:flex;gap:",";margin:0 0 ",";color:",";"],n.xsmall.regular,t,t,i)}),nJ=V.Ay.p.withConfig({componentId:"sc-307a94e8-36"})(["",""],e=>{let{theme:{typography:{brandBody:n},spacings:{xxxs:t},colors:{darkGrey:i}}}=e;return(0,V.AH)(["",";margin:0 0 ",";color:",";"],n.xsmall.regular,t,i)}),nL=V.Ay.span.withConfig({componentId:"sc-307a94e8-37"})(["",""],e=>{let{theme:{spacings:{xxs:n}}}=e;return(0,V.AH)(["margin:0 ",";"],n)}),nK=(0,V.Ay)(eO.A).withConfig({componentId:"sc-307a94e8-38"})(["",""],e=>{let{theme:{typography:{brandBody:n},colors:{black:t,brandPrimary:i}}}=e;return(0,V.AH)(["",";display:inline;color:",";text-decoration:none;&:hover{color:",";}"],n.xsmall.semiBold,t,i)}),nz=(0,V.Ay)(eO.A).withConfig({componentId:"sc-307a94e8-39"})(["",""],e=>{let{theme:{typography:{brandBody:n},spacings:{xxxs:t},colors:{brandPrimary:i,disclaimerGrey:r}}}=e;return(0,V.AH)(["",";display:inline-flex;align-items:center;gap:",";color:",";text-decoration:none;&:hover{color:",";}"],n.xsmall.regular,t,r,i)}),nX=V.Ay.span.withConfig({componentId:"sc-307a94e8-40"})(["",""],e=>{let{theme:{typography:{brandBody:n},colors:{black:t}}}=e;return(0,V.AH)(["",";color:",";flex-shrink:0;"],n.xsmall.regular,t)}),nY=V.Ay.p.withConfig({componentId:"sc-307a94e8-41"})(["",""],e=>{let{theme:{typography:{brandBody:n},colors:{grey:t}}}=e;return(0,V.AH)(["",";color:",";margin:0;"],n.medium.semiBold,t)}),nq=V.Ay.p.withConfig({componentId:"sc-307a94e8-42"})(["",""],e=>{let{theme:{typography:{brandBody:n},colors:{darkGrey:t}}}=e;return(0,V.AH)(["",";color:",";margin:0;text-transform:uppercase;"],n.medium.semiBold,t)}),nZ=V.Ay.p.withConfig({componentId:"sc-307a94e8-43"})(["",""],e=>{let{theme:{typography:{brandBody:n},spacings:{xs:t,m:i},colors:{darkGrey:r},mixins:{breakpointMixin:o}}}=e;return(0,V.AH)(["",";color:",";margin:0 0 ",";",""],n.xsmall.regular,r,t,o.mobile(na(),i))}),nQ=V.Ay.span.withConfig({componentId:"sc-307a94e8-44"})(["",""],e=>
1{let{theme:{typography:{brandBody:n},colors:{brandPrimary:t,brandPrimaryHover:i,white:r},spacings:{xxs:o,s}},$isTimeVariant:l}=e;return(0,V.AH)([""," display:flex;align-items:center;justify-content:center;background-color:",";color:",";padding:"," ",";cursor:pointer;width:100%;border-radius:4px;height:32px;&:hover{background-color:",";border-color:",";}"],l?n.small.semiBold:n.medium.semiBold,t,r,o,s,i,i)}),{GOING:n0,DISTANCES:n3,NR:n1,RULE_4:n4,TOTAL_SP:n2,WINNING_JOCKEY:n8,WINNING_TRAINER:n7,WINNING_TIME:n9,UNPLACED_FAV:n5,BREEDER:n6,OWNER:te,FULL_RESULT:tn,ABANDONED:tt,VOID_RACE:ti}=N.h3,{RED_CHEVRON:tr,BLACK_CHEVRON:to}=N.dT,ts=(e,n,t,r)=>n?(0,i.jsx)(nK,{href:n,...r,dataTestId:t,children:(0,i.jsxs)("span",{children:[e,(0,i.jsx)(Q.A,{height:8,width:8})]})}):e,tl=(e,n,t,r)=>n?(0,i.jsx)(nz,{href:n,...r,dataTestId:t,children:(0,i.jsxs)("span",{children:[e,(0,i.jsx)(Q.A,{height:8,width:8})]})}):e,ta=(e,n,t,r,o)=>n?(0,i.jsx)(nS,{href:n,...o,children:(0,i.jsxs)("span",{children:[e,(0,i.jsx)(nF,{src:t,width:8,height:8,alt:r})]})}):e,td=e=>{var n,t;let{race:r,variant:o="accordion",courseProfileUrl:l=null}=e,{isPedigreesVisible:a}=(0,U.A)(),c=(0,s.d4)((0,v.HZ)(r.raceUid)),m=(0,e$.l)(),h="time"===o,{raceTime:p,isAbandoned:u,isVoidRace:g,courseName:f,raceTitle:y,hasReplay:A,fullResultLink:j,distance:w,raceClass:_,prizeMoney:b,going:C,runnersCount:T,distances:I,winnerTime:H,diffToStandardTime:R,winningJockeys:k,winningTrainers:B,totalSp:D,unplacedFav:M,runners:N,nonRunners:S,raceComments:F,rule4Text:$}=r,O=N.length>0,E=O?null:c,V=!!(null==E?void 0:E.length),P=(O||g)&&!u,G=[_?"Class ".concat(_):null,b].filter(Boolean).join(", "),J=null!==(n=N[0])&&void 0!==n?n:null,L=null!==(t=null==J?void 0:J.position)&&void 0!==t?t:null,K=S.map(e=>e.reason?"".concat(e.horseName," (").concat(e.reason,")"):e.horseName).join(", "),z=h||u||g?[]:(0,x.AK)(r);return(0,i.jsxs)(nd,{"data-testid":"Container__".concat(p,"__ResultsRace"),children:[P&&(0,i.jsx)(ed._v,{shouldShowMobile:!0,children:(0,i.jsx)(nc,{href:j,"data-testid":"Link__MobileRowOverlay"})}),(0,i.jsxs)(ng,{children:[(0,i.jsx)(nx,{"data-testid":"Text__RaceTime",children:p}),A&&!V&&(0,i.jsx)(ny,{href:j,...m,dataTestId:"RaceReplay",children:(0,i.jsx)(nA,{children:(0,i.jsx)(W(),{src:"/svgs/video/race_replay_icon.svg",width:24,height:24,alt:"Race replay"})})})]}),(0,i.jsxs)(nm,{$isTimeVariant:h,children:[(0,i.jsxs)("div",{children:[(0,i.jsx)(nu,{children:(0,i.jsxs)(nj,{children:[f&&l?(0,i.jsxs)(nw,{href:l,...m,dataTestId:"CourseName",children:[(0,i.jsx)(nf,{"data-testid":"Text__RaceCourseName",$isTimeVariant:h,children:f}),(0,i.jsx)(nh,{children:(0,i.jsx)(Q.A,{height:8,width:8})}),(0,i.jsx)(ed._v,{shouldShowTablet:!0,shouldShowDesktop:!0,children:(0,i.jsx)(np,{children:(0,i.jsx)(Q.A,{height:16,width:10})})})]}):f&&(0,i.jsx)(nf,{"data-testid":"Text__RaceCourseName",$isTimeVariant:h,children:f}),P?(0,i.jsxs)(nw,{href:j,...m,dataTestId:"RaceTitle",$isTimeVariant:h,children:[(0,i.jsx)(n_,{"data-testid":"Text__RaceTitle",$hideOnMobile:h,$isDisabled:!1,children:y}),(0,i.jsx)(nh,{children:(0,i.jsx)(Q.A,{height:8,width:8})}),(0,i.jsx)(np,{children:(0,i.jsx)(Q.A,{height:16,width:10})})]}):(0,i.jsx)(n_,{"data-testid":"Text__RaceTitle",$hideOnMobile:h||V,$isDisabled:!0,children:y}),!u&&(w||G)&&(0,i.jsxs)(nb,{"data-testid":"Text__RaceMeta",$hideOnMobile:h||V,children:[(0,i.jsx)(nC,{children:w}),G&&", ".concat(G)]}),!h&&!u&&(0,i.jsxs)(nv,{"data-testid":"Text__RaceGoing",children:[n0,": ",C]})]})}),u&&(0,i.jsx)(nY,{"data-testid":"Text__AbandonedRace",children:tt}),V&&E&&(0,i.jsx)(eq,{runners:E,isTimeVariant:h}),g&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(nq,{"data-testid":"Text__VoidRace",children:ti}),F&&(0,i.jsx)(nZ,{"data-testid":"Text__RaceComments",children:F})]}),!V&&!u&&!g&&N.length>0&&(0,i.jsx)(nT,{"data-testid":"Container__TopRunners",$isTimeVariant:h,children:N.map(e=>(0,i.jsxs)(nI,{"data-testid":"Container__TopRunner__".concat(e.saddleCloth),children:[(0,i.jsx)(nH,{"data-testid":"Text__RunnerPosition",$isTimeVariant:h,children:e.position}),(0,i.jsxs)(nB,{href:e.horseUrl,...m,children:[(0,i.jsxs)(nR,{"data-testid":"Text__RunnerHorse",$isTimeVariant:h,children:[e.saddleCloth?"".concat(e.saddleCloth,". "):"",e.horseName]}),e.sp&&(0,i.jsx)(nk,{"data-testid":"Text__RunnerSp",$isTimeVariant:h,children:e.sp}),(0,i.jsx)(Q.A,{height:8,width:8})]}),!h&&a&&null!==L&&e.position===L&&(0,i.jsxs)(nW,{"data-testid":"Container__Pedigree",children:[(e.sireName||e.damName||e.damSireName)&&(0,i.jsxs)(nJ,{"data-testid":"Text__Pedigree",children:[e.sireName&&(0,i.jsxs)(i.Fragment,{children:[ts(e.sireName,e.sireUrl,"PedigreeSire",m),(0,i.jsx)(nL,{children:"-"})]}),e.damName&&ts(e.damName,e.damUrl,"PedigreeDam",m)," ",e.damSireName&&ts("(".concat(e.damSireName,")"),e.damSireUrl,"PedigreeDamSire",m)]}),e.breederName&&(0,i.jsxs)(nG,{"data-testid":"Text__Breeder",children:[(0,i.jsxs)(nX,{children:[n6,":"," "]}),e.breederName]}),e.ownerName&&(0,i.jsxs)(nG,{"data-testid":"Text__Owner",children:[(0,i.jsxs)(nX,{children:[te,": "]}),tl(e.ownerName,e.ownerUrl,"PedigreeOwner",m)]})]})]},"".concat(e.horseName,"-").concat(e.saddleCloth)))}),!V&&!h&&!u&&!g&&T>0&&(0,i.jsxs)(nD,{"data-testid":"Container__RaceSummary",children:[(0,i.jsxs)(n$,{"data-testid":"Text__RaceSummaryMain",children:[(0,i.jsxs)(nM,{children:[(0,i.jsxs)(nO,{children:[T," ran;"]}),S.length>0&&(0,i.jsxs)(i.Fragment,{children:[" ",(0,i.jsxs)(nO,{children:[n1,": "]}),K,";"]}),$&&(0,i.jsxs)(i.Fragment,{children:[" ",(0,i.jsxs)(nO,{children:[n4,": "]}),$,";"]}),I&&(0,i.jsxs)(i.Fragment,{children:[" ",(0,i.jsxs)(nO,{children:[n3,": "]}
1),I,";"]})]}),H&&(0,i.jsxs)("div",{"data-testid":"Text__WinnerTime",children:[(0,i.jsxs)(nO,{children:[n9,": "]}),H,R&&" (".concat(R,")"),";"]}),null!==D&&(0,i.jsxs)("div",{children:[" ",(0,i.jsxs)(nO,{children:[n2,": "]}),D,"%"]})]}),k.length>0&&(0,i.jsxs)(nN,{"data-testid":"Text__WinningJockey",children:[(0,i.jsxs)(nO,{children:[n8,": "]}),k.map((e,n)=>{let{name:t,url:r}=e;return(0,i.jsxs)(d.Fragment,{children:[n>0&&", ",ta(t,r,tr,"Open ".concat(t," jockey profile"),m)]},null!=r?r:t)})]}),B.length>0&&(0,i.jsxs)(nN,{"data-testid":"Text__WinningTrainer",children:[(0,i.jsxs)(nO,{children:[n7,": "]}),B.map((e,n)=>{let{name:t,url:r}=e;return(0,i.jsxs)(d.Fragment,{children:[n>0&&", ",ta(t,r,tr,"Open ".concat(t," trainer profile"),m)]},null!=r?r:t)})]}),M.length>0&&(0,i.jsxs)(nN,{"data-testid":"Text__UnplacedFav",children:[(0,i.jsxs)(nO,{children:[n5,": "]}),M.map((e,n)=>{var t;return(0,i.jsxs)(d.Fragment,{children:[n>0&&", ",ta(e.label,e.url,to,"Open ".concat(e.label," profile"),m)]},null!==(t=e.url)&&void 0!==t?t:e.label)}),";"]})]}),!V&&z.length>0&&(0,i.jsx)(nU,{"data-testid":"Container__ToteDividends",children:(0,i.jsx)(nE,{"data-testid":"Text__ToteDividends",children:z.map(e=>{let{label:n,value:t}=e;return(0,i.jsxs)("span",{children:[n&&(0,i.jsxs)(nV,{children:[n," "]}),(0,i.jsxs)(nP,{children:[t," "]})]},n||t)})})}),!h&&!u&&!g&&F&&(0,i.jsx)(nZ,{"data-testid":"Text__RaceComments",children:F})]}),(0,i.jsx)(ed._v,{shouldShowDesktop:!0,shouldShowTablet:!0,children:P&&(0,i.jsx)(eO.A,{href:j,...m,dataTestId:"FullResult",children:(0,i.jsx)(nQ,{$isTimeVariant:h,children:tn})})})]})]})};function tc(){let e=(0,E._)(["\n            min-height: 48px;\n        "]);return tc=function(){return e},e}function tm(){let e=(0,E._)(["\n            grid-template-columns: repeat(2, 1fr);\n        "]);return tm=function(){return e},e}function th(){let e=(0,E._)(["\n            grid-template-columns: repeat(2, 1fr);\n        "]);return th=function(){return e},e}function tp(){let e=(0,E._)(["\n            grid-template-columns: 1fr;\n            column-gap: 0;\n            margin-bottom: 0;\n        "]);return tp=function(){return e},e}let tu=V.Ay.div.withConfig({componentId:"sc-c39f61c2-0"})(["",""],e=>{let{$isDarkHeader:n,$isAbandoned:t,theme:{mixins:{breakpointMixin:i},colors:{platinumGrey:r,darkGrey:o},spacings:{xxs:s,xs:l,m:a}}}=e;return(0,V.AH)(["display:flex;align-items:center;gap:",";min-height:56px;padding:",";background-color:",";cursor:",";margin-bottom:",";",""],a,l,n?o:r,t?"default":"pointer",s,i.mobile(tc()))}),tg=(0,V.Ay)(W()).withConfig({componentId:"sc-c39f61c2-1"})(["object-fit:cover;border-radius:2px;"]),tx=V.Ay.p.withConfig({componentId:"sc-c39f61c2-2"})(["",""],e=>{let{$isDarkHeader:n,$isAbandoned:t,theme:{typography:{brandBody:i},colors:{black:r,white:o}}}=e;return(0,V.AH)(["",";color:",";margin:0;flex-grow:",";text-transform:uppercase;"],i.large.semiBold,t?r:n?o:r,+!t)}),tf=V.Ay.div.withConfig({componentId:"sc-c39f61c2-3"})(["",""],e=>{let{theme:{spacings:{xxs:n}}}=e;return(0,V.AH)(["display:flex;align-items:center;flex-grow:1;gap:",";"],n)}),ty=V.Ay.span.withConfig({componentId:"sc-c39f61c2-4"})(["",""],e=>{let{theme:{typography:{brandBody:n},colors:{black:t}}}=e;return(0,V.AH)(["",";color:",";white-space:nowrap;"],n.large.semiBold,t)}),tA=V.Ay.div.withConfig({componentId:"sc-c39f61c2-5"})(["display:flex;align-items:center;border-radius:4px;"]),tj=V.Ay.div.withConfig({componentId:"sc-c39f61c2-6"})(["display:flex;align-items:flex-start;"]),tw=V.Ay.div.withConfig({componentId:"sc-c39f61c2-7"})(["",""],e=>{let{theme:{mixins:{breakpointMixin:n},spacings:{xs:t,s:i,l:r}}}=e;return(0,V.AH)(["flex:1;display:grid;grid-template-columns:repeat(3,1fr);column-gap:",";margin-bottom:calc("," + ",");"," "," ",""],r,t,i,n.smallDesktop(tm()),n.tablet(th()),n.mobile(tp()))}),{WORLDWIDE_STAKES:t_,WORLD_POOL_RACES:tb}=N.Wi,{ABANDONED_MEETING:tC}=N.h3,{VARIANT_LINK:tv}=N.iv,tT=(e,n)=>e?(0,i.jsx)(ed._v,{shouldShowDesktop:!0,shouldShowTablet:!0,children:(0,i.jsx)(tg,{src:e,alt:n,width:136,height:48,"data-testid":"Image__CoursePhoto"})}):null,tI=e=>{let{meeting:n,isOpen:t}=e,{courseId:r,courseName:o,courseImageUrl:s,isAbandoned:l,races:a,countryCode:d,winningTimesLink:c}=n,m=r===t_.courseId||r===tb.courseId,h=N.rJ.includes(d);return(0,i.jsx)(Z.A,{"data-testid":"Container__".concat(r,"__ResultsMeeting"),children:(0,i.jsx)(Z.A.Content,{children:(0,i.jsx)(Z.A.Item,{isOpen:null!=t?t:void 0,children:l?(0,i.jsxs)(tu,{$isOpen:!1,$isDarkHeader:!1,$isAbandoned:!0,"data-testid":"Container__ResultsMeetingHeader",children:[tT(s,o),(0,i.jsxs)(tf,{children:[(0,i.jsx)(tx,{$isDarkHeader:!1,$isAbandoned:!0,"data-testid":"Text__CourseName",children:o}),(0,i.jsx)(ty,{"data-testid":"Text__AbandonedMeetingLabel",children:tC})]})]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(Z.A.ItemHeaderSmart,{"data-testid":"Container__ResultsMeetingHeader",children:e=>
1{let n=e?"minus":"plus",t=m?"white":"red";return(0,i.jsxs)(tu,{$isOpen:e,$isDarkHeader:m,children:[tT(s,o),(0,i.jsx)(tx,{$isDarkHeader:m,"data-testid":"Text__CourseName",children:o}),(0,i.jsx)(tA,{children:(0,i.jsx)(W(),{src:"/svgs/race-cards/".concat(n,"-").concat(t,"-icon.svg"),width:16,height:16,alt:"Expand icon","data-testid":e?"Icon__MeetingCollapse":"Icon__MeetingExpand"})})]})}}),(0,i.jsxs)(Z.A.ItemBody,{children:[(0,i.jsx)(tj,{children:(0,i.jsxs)(tw,{children:[(0,i.jsx)(eF,{meeting:n}),a.map(e=>(0,i.jsx)(td,{race:e},e.raceTime))]})}),h&&(0,i.jsx)(ed._v,{shouldShowMobile:!0,children:(0,i.jsx)(ea,{variant:tv,href:c})})]})]})})})})},tH=V.Ay.div.withConfig({componentId:"sc-c1555337-0"})(["",""],e=>{let{theme:{spacings:{s:n}}}=e;return(0,V.AH)(["margin-top:",";"],n)}),tR=V.Ay.p.withConfig({componentId:"sc-c1555337-1"})(["",""],e=>{let{theme:{typography:{brandBody:n},spacings:{s:t,m:i}}}=e;return(0,V.AH)(["",";padding:"," ",";"],n.small.regular,i,t)}),tk=e=>{let{allExpanded:n}=e,{data:t,isLoading:r}=(0,s.d4)(e=>(0,v.B6)(e));if(r)return null;let o=null!=t?t:[];return(0,i.jsx)(tH,{"data-testid":"Container__ResultsMeetingAccordions",children:0===o.length?(0,i.jsx)(tR,{"data-testid":"Text__NoResultsMessage",children:N.p3}):o.map(e=>(0,i.jsx)(tI,{meeting:e,isOpen:null!=n?n:void 0},e.courseId))})};var tB=t(58695),tD=t(39569),tM=t(59214);function tN(){let e=(0,E._)(["\n            ",";\n            ",";\n        "]);return tN=function(){return e},e}function tS(){let e=(0,E._)(["\n            gap: 0;\n            padding-top: ",";\n        "]);return tS=function(){return e},e}let tF=V.Ay.section.withConfig({componentId:"sc-c3f4d4ad-0"})(["",""],e=>{let{theme:{spacings:{s:n}}}=e;return(0,V.AH)(["margin-top:",";"],n)}),t$=V.Ay.h2.withConfig({componentId:"sc-c3f4d4ad-1"})(["",""],e=>{let{theme:{mixins:{breakpointMixin:n},typography:{brandBody:t},colors:{black:i,lightGrey:r},spacings:{xxs:o,m:s}}}=e;return(0,V.AH)(["",";padding:"," ",";text-transform:uppercase;color:",";background-color:",";",""],t.large.semiBold,o,s,i,r,n.mobile(tN(),t.medium.semiBold,tM.n3))}),tO=V.Ay.div.withConfig({componentId:"sc-c3f4d4ad-2"})(["display:flex;align-items:flex-start;width:100%;min-width:0;"]),tU=V.Ay.div.withConfig({componentId:"sc-c3f4d4ad-3"})(["",""],e=>{let{theme:{spacings:{xxs:n,m:t},mixins:{breakpointMixin:i}}}=e;return(0,V.AH)(["display:flex;flex-direction:row;flex-wrap:wrap;gap:",";width:100%;",""],t,i.mobile(tS(),n))}),{EMPTY_TODAY:tE,EMPTY_PAST:tV}=N.gm,{SECTION_HEADER:tP}=N.f5,tW=e=>{let{raceDate:n}=e,{races:t}=(0,s.d4)(v.TG),r=(0,s.d4)(v.Mc),o=(0,s.d4)(v.Gv),l=(0,d.useMemo)(()=>{let e=new Map(t.map(e=>[e.raceUid,e]));return r.forEach(n=>{var t;!e.has(n.raceUid)&&(null===(t=o[n.raceUid])||void 0===t?void 0:t.length)&&e.set(n.raceUid,n)}),[...e.values()].sort((e,n)=>n.raceDateTime.localeCompare(e.raceDateTime))},[t,r,o]);return(0,i.jsxs)(tF,{"data-testid":"Container__ResultsTimeList",children:[(0,i.jsx)(t$,{"data-testid":"Text__ResultsTimeSectionHeader",children:tP}),0===l.length?(0,i.jsx)(tD.A,{message:(0,T.c_)(n)?tE:tV,hasSpacing:!0}):(0,i.jsx)(tO,{children:(0,i.jsx)(tU,{"data-testid":"Container__ResultsTimeGrid",children:l.map(e=>(0,i.jsx)(td,{race:e,variant:"time",courseProfileUrl:e.courseUid&&e.courseKey?"".concat(tB.MH,"/").concat(e.courseUid,"/").concat(e.courseKey):null},e.raceUid))})})]})},tG=ed.ff,tJ=ed.sT,tL=V.Ay.span.withConfig({componentId:"sc-f7e1d562-0"})(["",""],e=>{let{theme:{colors:{black:n}}}=e;return(0,V.AH)(["color:",";"],n)}),tK=(0,V.Ay)(ed.Kw).withConfig({componentId:"sc-f7e1d562-1"})(["",""],e=>{let{theme:{spacings:{m:n}}}=e;return(0,V.AH)(["margin-bottom:",";"],n)}),tz=e=>{let{raceDate:n,isTimeOrdered:t}=e,[r,o]=(0,d.useState)(null),s=(0,d.useCallback)(()=>{o(e=>!e)},[]),{label:l,date:a,description:c}=(0,d.useMemo)(()=>(0,D.WR)(n,t),[n,t]);return(0,i.jsxs)(tG,{"data-testid":"Container__ResultsContent",children:[(0,i.jsxs)(tJ,{"data-testid":"Text__ResultsTitle",children:[l,a&&(0,i.jsxs)(tL,{"data-testid":"Text__ResultsTitleDate",children:[" ","- ",a]})]}),c&&(0,i.jsx)(tK,{"data-testid":"Text__ResultsDescription",children:c}),(0,i.jsx)(q,{raceDate:n,isTimeOrdered:t,allExpanded:r,onExpandCollapseAll:s}),t?(0,i.jsx)(tW,{raceDate:n}):(0,i.jsx)(tk,{allExpanded:r})]})};
1var tX=t(38573),tY=t(85049),tq=t(2662);let tZ=o()(()=>t.e(5583).then(t.bind(t,25583)),{loadableGenerated:{webpack:()=>[25583]}}),{getBookmakersTierTwo:tQ}=I.E,{RESULTS_PAGE:t0,RESULTS_PAGE_WITH_SKINS:t3}=tX.Tq,{BILLBOARD3:t1,BILLBOARD1:t4}=tX._i,{MOBILE:t2,TABLET:t8,SMALL_DESKTOP:t7,LARGE_DESKTOP:t9}=tY.L,t5=e=>{let{raceDate:n,isTimeOrdered:t}=e,r=(0,s.wA)(),{targeting:o,asideAdUnits:l}=(0,a.M)();return b({races:(0,s.d4)(v.rV),raceDate:n,isActive:(0,T.c_)(n)}),(0,C.A)(()=>{r(tQ(!0))}),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(ed.TV,{marginBottom:tq.Jd.l,children:(0,i.jsx)(tZ,{containerType:t0,adUnit:t1,breakpoints:[t2,t8,t7,t9],targeting:o})}),(0,i.jsx)(H.A,{}),(0,i.jsx)(k.A,{hasAppPromo:!1,hasMpuAds:!0,headerContent:(0,i.jsx)(R.Ay,{}),containerType:t0,skinsContainerType:t3,asideAdUnits:l,targeting:o,children:(0,i.jsx)(tz,{raceDate:n,isTimeOrdered:t})}),(0,i.jsx)(B.A,{}),(0,i.jsx)(ed.TV,{marginBottom:tq.Jd.l,children:(0,i.jsx)(tZ,{containerType:t0,adUnit:t4,breakpoints:[t2,t8,t7,t9],targeting:o})})]})},t6=e=>{let{raceDate:n,isTimeOrdered:t}=e;return(0,i.jsx)(l.M,{children:(0,i.jsx)(t5,{raceDate:n,isTimeOrdered:t})})}},46677:(e,n,t)=>{t.d(n,{M:()=>g});var i=t(14232),r=t(77029),o=t(38573);let{PAGE:s,RESULTS:l,BLOODSTOCK_PEDIGREE:a}=o.DG,{MPU1:d,MPU8:c,MPU10:m,MPU12:h}=o._i,p=[d,c,m],u=[d,h,c,m],g=()=>{let{isPedigreesVisible:e}=(0,r.A)();return{targeting:(0,i.useMemo)(()=>[{key:s,value:e?a:l}],[e]),asideAdUnits:e?p:u}}},62119:(e,n,t)=>{t.d(n,{M:()=>d});var i=t(37876),r=t(14232),o=t(72507),s=t(28687),l=t(77029);let{PEDIGREE:a}=s.ZY,d=e=>{let{children:n}=e,[t,s]=(0,r.useState)(!1);(0,r.useEffect)(()=>{s((0,o.XB)(a))},[]);let d=(0,r.useCallback)(()=>{s((0,o.NJ)(a))},[]),c=(0,r.useMemo)(()=>({isPedigreesVisible:t,togglePedigrees:d}),[t,d]);return(0,i.jsx)(l.O.Provider,{value:c,children:n})}},77029:(e,n,t)=>{t.d(n,{A:()=>o,O:()=>r});var i=t(14232);let r=(0,i.createContext)({isPedigreesVisible:!1,togglePedigrees:()=>{}}),o=()=>(0,i.useContext)(r)},89542:(e,n,t)=>{t.d(n,{l:()=>l});var i=t(14232),r=t(97204),o=t(30216),s=t(24790);let l=function(){let{shouldUseDeviceCheck:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=(0,o.D)(),{isDesktop:t,isTablet:l}=(0,s.zu)();return(0,i.useMemo)(()=>{if(e){let e=r.KJ&&!!window.opener,t=n&&!(0,r.Fr)()&&(e||(0,r.ts)());return{openInNewTab:!t&&l&&n,openInNewWindow:t,shouldOpenBottomRight:!0}}return{openInNewTab:l&&n,openInNewWindow:t&&n,shouldOpenBottomRight:!0}},[n,t,l,e])}}}]);

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.