!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]="019fa6ee-c71c-71e2-8f64-bcc7e79e4754")}catch(e){}}();function d(a,t){const{bookie:e}=a;chrome.runtime.onMessage.addListener((c,n,r)=>{if(c?.action==="scrape")try{r({info:"odds_update",bookie:e,data:t()})}catch(o){console.warn(`[outmatched] unable to scrape odds for ${e}`,o),r({info:"error",bookie:e,error:o.message})}})}export{d as createScraper};

//# chunkId=019fa6ee-c71c-71e2-8f64-bcc7e79e4754