!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="019f17fd-156e-7662-8fef-8b148a482a78")}catch(e){}}();const y="modulepreload",b=function(o){return"/"+o},f={},v=function(m,c,a){let l=Promise.resolve();if(c&&c.length>0){let d=function(t){return Promise.all(t.map(s=>Promise.resolve(s).then(u=>({status:"fulfilled",value:u}),u=>({status:"rejected",reason:u}))))};document.getElementsByTagName("link");const r=document.querySelector("meta[property=csp-nonce]"),e=r?.nonce||r?.getAttribute("nonce");l=d(c.map(t=>{if(t=b(t),t in f)return;f[t]=!0;const s=t.endsWith(".css"),u=s?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${t}"]${u}`))return;const n=document.createElement("link");if(n.rel=s?"stylesheet":y,s||(n.as="script"),n.crossOrigin="",n.href=t,e&&n.setAttribute("nonce",e),document.head.appendChild(n),s)return new Promise((p,E)=>{n.addEventListener("load",p),n.addEventListener("error",()=>E(new Error(`Unable to preload CSS for ${t}`)))})}))}function i(r){const e=new Event("vite:preloadError",{cancelable:!0});if(e.payload=r,window.dispatchEvent(e),!e.defaultPrevented)throw r}return l.then(r=>{for(const e of r||[])e.status==="rejected"&&i(e.reason);return m().catch(i)})},{createScraper:w}=await v(async()=>{const{createScraper:o}=await import("./scraper-dpzf502E.js");return{createScraper:o}},[]),h="sportsbet";w({bookie:h},S);function S(){const o=[];return document.querySelectorAll('[data-automation-id^="racecard-outcome-"]').forEach(c=>{try{const a=c.querySelector('[data-automation-id="racecard-outcome-name"]');if(!a)return;const i=(a.textContent?.trim()||"").match(/^(\d+)\.\s+(.+)\s+\((\d+)\)/);if(!i)return;const r=i[1]??null,d=c.querySelectorAll('[data-automation-id*="odds-button-text"]')[0]?.textContent?.trim()||"";o.push({number:Number(r),odds:{[h]:{win:Number(d)}}})}catch(a){console.warn("[outmatched] error parsing runner",a)}}),{runners:o}}

//# chunkId=019f17fd-156e-7662-8fef-8b148a482a78