{"version":3,"file":"browser.mjs","names":[],"sources":["../../../src/env/browser.ts"],"sourcesContent":["/* eslint-disable no-restricted-globals */\nimport { WebGLProbe } from '../filters/GLProbes/WebGLProbe';\nimport type { TCopyPasteData, TFabricEnv } from './types';\n\nconst copyPasteData: TCopyPasteData = {};\n\nexport const getEnv = (): TFabricEnv => {\n  return {\n    document,\n    window,\n    isTouchSupported:\n      'ontouchstart' in window ||\n      'ontouchstart' in document ||\n      (window && window.navigator && window.navigator.maxTouchPoints > 0),\n    WebGLProbe: new WebGLProbe(),\n    dispose() {\n      // noop\n    },\n    copyPasteData,\n  };\n};\n"],"mappings":";;AAIA,MAAM,gBAAgC,EAAE;AAExC,MAAa,eAA2B;AACtC,QAAO;EACL;EACA;EACA,kBACE,kBAAkB,UAClB,kBAAkB,YACjB,UAAU,OAAO,aAAa,OAAO,UAAU,iBAAiB;EACnE,YAAY,IAAI,YAAY;EAC5B,UAAU;EAGV;EACD"}