{"version":3,"file":"mime-default.cjs","names":[],"sources":["../src/mime-default.ts"],"sourcesContent":["/**\n * A small set of the most common file extensions, bundled into the main entry so that\n * {@link fromEvent} guesses a MIME type for typeless files out of the box.\n *\n * This is the single source of truth for these defaults: the full extension-to-MIME table\n * (`COMMON_MIME_TYPES`, exposed via the `file-selector/mime` subpath) spreads this map in\n * rather than redefining these entries, so no value is duplicated across modules.\n *\n * See https://github.com/react-dropzone/file-selector/issues/127\n */\nexport const DEFAULT_MIME_TYPES: Map<string, string> = new Map([\n    ['avif', 'image/avif'],\n    ['bmp', 'image/bmp'],\n    ['css', 'text/css'],\n    ['csv', 'text/csv'],\n    ['doc', 'application/msword'],\n    ['docx', 'application/vnd.openxmlformats-officedocument.wordprocessingml.document'],\n    ['gif', 'image/gif'],\n    ['gz', 'application/gzip'],\n    ['htm', 'text/html'],\n    ['html', 'text/html'],\n    ['ico', 'image/x-icon'],\n    ['jpeg', 'image/jpeg'],\n    ['jpg', 'image/jpeg'],\n    ['js', 'application/javascript'],\n    ['json', 'application/json'],\n    ['md', 'text/markdown'],\n    ['mjs', 'application/javascript'],\n    ['mp3', 'audio/mpeg'],\n    ['mp4', 'video/mp4'],\n    ['ogg', 'audio/ogg'],\n    ['pdf', 'application/pdf'],\n    ['png', 'image/png'],\n    ['ppt', 'application/powerpoint'],\n    ['pptx', 'application/vnd.openxmlformats-officedocument.presentationml.presentation'],\n    ['svg', 'image/svg+xml'],\n    ['tif', 'image/tiff'],\n    ['tiff', 'image/tiff'],\n    ['txt', 'text/plain'],\n    ['wasm', 'application/wasm'],\n    ['wav', 'audio/x-wav'],\n    ['weba', 'audio/webm'],\n    ['webm', 'video/webm'],\n    ['webp', 'image/webp'],\n    ['xls', 'application/vnd.ms-excel'],\n    ['xlsx', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'],\n    ['xml', 'application/xml'],\n    ['zip', 'application/zip']\n]);\n"],"mappings":";;;;;;;;;;;;AAUA,MAAa,qCAA0C,IAAI,IAAI;CAC3D,CAAC,QAAQ,YAAY;CACrB,CAAC,OAAO,WAAW;CACnB,CAAC,OAAO,UAAU;CAClB,CAAC,OAAO,UAAU;CAClB,CAAC,OAAO,oBAAoB;CAC5B,CAAC,QAAQ,yEAAyE;CAClF,CAAC,OAAO,WAAW;CACnB,CAAC,MAAM,kBAAkB;CACzB,CAAC,OAAO,WAAW;CACnB,CAAC,QAAQ,WAAW;CACpB,CAAC,OAAO,cAAc;CACtB,CAAC,QAAQ,YAAY;CACrB,CAAC,OAAO,YAAY;CACpB,CAAC,MAAM,wBAAwB;CAC/B,CAAC,QAAQ,kBAAkB;CAC3B,CAAC,MAAM,eAAe;CACtB,CAAC,OAAO,wBAAwB;CAChC,CAAC,OAAO,YAAY;CACpB,CAAC,OAAO,WAAW;CACnB,CAAC,OAAO,WAAW;CACnB,CAAC,OAAO,iBAAiB;CACzB,CAAC,OAAO,WAAW;CACnB,CAAC,OAAO,wBAAwB;CAChC,CAAC,QAAQ,2EAA2E;CACpF,CAAC,OAAO,eAAe;CACvB,CAAC,OAAO,YAAY;CACpB,CAAC,QAAQ,YAAY;CACrB,CAAC,OAAO,YAAY;CACpB,CAAC,QAAQ,kBAAkB;CAC3B,CAAC,OAAO,aAAa;CACrB,CAAC,QAAQ,YAAY;CACrB,CAAC,QAAQ,YAAY;CACrB,CAAC,QAAQ,YAAY;CACrB,CAAC,OAAO,0BAA0B;CAClC,CAAC,QAAQ,mEAAmE;CAC5E,CAAC,OAAO,iBAAiB;CACzB,CAAC,OAAO,iBAAiB;AAC7B,CAAC"}