{
  "version": 3,
  "sources": ["../../var/task/shims.js"],
  "sourcesContent": ["// Deno, which is what we're using for executing user code, defines both\n// a navigator and a window, which can lead some code to erronously assume it's\n// running in a browser.\n//\n// They claim the \"correct\" way to do this detection is via \"document\", but we\n// can't control third-party code, so let's shim these and gate them behind the\n// document check.\n\n// eslint-disable-next-line no-undef\nexport const navigator = typeof document !== \"undefined\" ? globalThis.navigator : undefined\n\n// eslint-disable-next-line no-undef\nexport const window = typeof document !== \"undefined\" ? globalThis.window : undefined\n\n// Some especially naughty code tries to specifically detect Node.js, and\n// otherwise assumes it's running in a browser. So let's try to fool them too.\n//\n// https://github.com/vimeo/player.js/blob/014d647bde6a7cf603c8a5f8099f8c1a23120790/dist/player.es.js#L34\n// https://stackoverflow.com/a/38815760/1900855\nexport const global = typeof document === \"undefined\" ? {} : undefined\nif (typeof document === \"undefined\") {\n    const originalObjectToString = Object.prototype.toString\n    Object.prototype.toString = function (...args) {\n        return this === global ? \"[object global]\" : originalObjectToString(...args)\n    }\n}\n"],
  "mappings": "2XASO,GAAM,GAAY,MAAO,UAAa,IAAc,WAAW,UAAY,OAGrE,EAAS,MAAO,UAAa,IAAc,WAAW,OAAS,OAO/D,EAAS,MAAO,UAAa,IAAc,CAAC,EAAI,OAC7D,GAAI,MAAO,UAAa,IAAa,CACjC,GAAM,GAAyB,OAAO,UAAU,SAChD,OAAO,UAAU,SAAW,YAAa,EAAM,CAC3C,MAAO,QAAS,EAAS,kBAAoB,EAAuB,GAAG,CAAI,CAC/E,CACJ",
  "names": []
}
