!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-156d-7562-824f-e4b313305d7f")}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=019f17fd-156d-7562-824f-e4b313305d7f