{"version":3,"file":"background.js","names":[],"sources":["esm/background.js"],"sourcesContent":["import { createWorkerExecutor } from \"./background/web\";\nimport { createLatestComputation } from \"./background/createLatestComputation\";\nimport { useBackgroundComputation } from \"./background/useBackgroundComputation\";\nfunction defineBackgroundComputation(_calculate, createWorker) {\n  if (!createWorker)\n    throw new Error(\n      \"defineBackgroundComputation requires the One bundler transform and a statically imported calculation\"\n    );\n  return Object.freeze({\n    createExecutor: () => createWorkerExecutor(createWorker)\n  });\n}\nexport {\n  createLatestComputation,\n  defineBackgroundComputation,\n  useBackgroundComputation\n};\n//# sourceMappingURL=background.js.map\n"],"mappings":";;;;;AAGA,SAAS,4BAA4B,YAAY,cAAc;CAC7D,IAAI,CAAC,cACH,MAAM,IAAI,MACR,sGACF;CACF,OAAO,OAAO,OAAO,EACnB,sBAAsB,qBAAqB,YAAY,EACzD,CAAC;AACH"}