Files
nothoughts/node_modules/pixi.js/lib/utils/const.mjs.map
2025-08-04 18:57:35 +02:00

1 line
909 B
Plaintext

{"version":3,"file":"const.mjs","sources":["../../src/utils/const.ts"],"sourcesContent":["import EventEmitter from 'eventemitter3';\n\n/**\n * Regexp for data URI.\n * Based on: {@link https://github.com/ragingwind/data-uri-regex}\n * @static\n * @type {RegExp}\n * @default /(?:^data:image\\/([\\w+]+);(?:[\\w=]+|charset=[\\w-]+)?(?:;base64)?,)/i\n * @example\n * import { DATA_URI } from 'pixi.js';\n *\n * DATA_URI.test('data:image/png;base64,foobar'); // => true\n * @memberof utils\n */\nexport const DATA_URI = /^\\s*data:(?:([\\w-]+)\\/([\\w+.-]+))?(?:;charset=([\\w-]+))?(?:;(base64))?,(.*)/i;\n\n// export the event emitter so we can use it in external modules\nexport { EventEmitter };\n\n/** The current version of PixiJS. This is automatically replaced by the build process. */\nexport const VERSION = '$_VERSION';\n"],"names":[],"mappings":";;;AAcO,MAAM,QAAW,GAAA,+EAAA;AAMjB,MAAM,OAAU,GAAA;;;;"}