@hot-updater/supabase 0.16.7-0 → 0.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1,277 +1,1467 @@
1
- import { createRequire } from 'module'; const require = createRequire(import.meta.url);
2
- "use strict";
1
+ //#region rolldown:runtime
3
2
  var __create = Object.create;
4
3
  var __defProp = Object.defineProperty;
5
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
7
6
  var __getProtoOf = Object.getPrototypeOf;
8
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
9
- var __export = (target, all) => {
10
- for (var name in all)
11
- __defProp(target, name, { get: all[name], enumerable: true });
12
- };
13
8
  var __copyProps = (to, from, except, desc) => {
14
- if (from && typeof from === "object" || typeof from === "function") {
15
- for (let key of __getOwnPropNames(from))
16
- if (!__hasOwnProp.call(to, key) && key !== except)
17
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
18
- }
19
- return to;
9
+ if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
10
+ key = keys[i];
11
+ if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
12
+ get: ((k) => from[k]).bind(null, key),
13
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
14
+ });
15
+ }
16
+ return to;
20
17
  };
21
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
22
- // If the importer is in node compatibility mode or this is not an ESM
23
- // file that has been converted to a CommonJS file using a Babel-
24
- // compatible transform (i.e. "__esModule" has not been set), then set
25
- // "default" to the CommonJS "module.exports" for node compatibility.
26
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
27
- mod
28
- ));
29
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
19
+ value: mod,
20
+ enumerable: true
21
+ }) : target, mod));
30
22
 
31
- // src/index.ts
32
- var index_exports = {};
33
- __export(index_exports, {
34
- supabaseDatabase: () => supabaseDatabase,
35
- supabaseStorage: () => supabaseStorage
36
- });
37
- module.exports = __toCommonJS(index_exports);
23
+ //#endregion
24
+ const __hot_updater_plugin_core = __toESM(require("@hot-updater/plugin-core"));
25
+ const __supabase_supabase_js = __toESM(require("@supabase/supabase-js"));
26
+ const path = __toESM(require("path"));
27
+ const fs_promises = __toESM(require("fs/promises"));
38
28
 
39
- // src/supabaseDatabase.ts
40
- var import_plugin_core = require("@hot-updater/plugin-core");
41
- var import_supabase_js = require("@supabase/supabase-js");
42
- var supabaseDatabase = (config, hooks) => {
43
- const supabase = (0, import_supabase_js.createClient)(
44
- config.supabaseUrl,
45
- config.supabaseAnonKey
46
- );
47
- return (0, import_plugin_core.createDatabasePlugin)(
48
- "supabaseDatabase",
49
- {
50
- async getBundleById(bundleId) {
51
- const { data, error } = await supabase.from("bundles").select("*").eq("id", bundleId).single();
52
- if (!data || error) {
53
- return null;
54
- }
55
- return {
56
- channel: data.channel,
57
- enabled: data.enabled,
58
- shouldForceUpdate: data.should_force_update,
59
- fileHash: data.file_hash,
60
- gitCommitHash: data.git_commit_hash,
61
- id: data.id,
62
- message: data.message,
63
- platform: data.platform,
64
- targetAppVersion: data.target_app_version
65
- };
66
- },
67
- async getBundles(options) {
68
- const { where, limit, offset = 0 } = options ?? {};
69
- let query = supabase.from("bundles").select("*").order("id", { ascending: false });
70
- if (where?.channel) {
71
- query = query.eq("channel", where.channel);
72
- }
73
- if (where?.platform) {
74
- query = query.eq("platform", where.platform);
75
- }
76
- if (limit) {
77
- query = query.limit(limit);
78
- }
79
- if (offset) {
80
- query = query.range(offset, offset + (limit || 20) - 1);
81
- }
82
- const { data } = await query;
83
- if (!data) {
84
- return [];
85
- }
86
- return data.map((bundle) => ({
87
- channel: bundle.channel,
88
- enabled: bundle.enabled,
89
- shouldForceUpdate: bundle.should_force_update,
90
- fileHash: bundle.file_hash,
91
- gitCommitHash: bundle.git_commit_hash,
92
- id: bundle.id,
93
- message: bundle.message,
94
- platform: bundle.platform,
95
- targetAppVersion: bundle.target_app_version
96
- }));
97
- },
98
- async getChannels() {
99
- const { data, error } = await supabase.rpc("get_channels");
100
- if (error) {
101
- throw error;
102
- }
103
- return data.map((bundle) => bundle.channel);
104
- },
105
- async commitBundle({ changedSets }) {
106
- if (changedSets.length === 0) {
107
- return;
108
- }
109
- const bundles = changedSets.map((op) => op.data);
110
- const { error } = await supabase.from("bundles").upsert(
111
- bundles.map((bundle) => ({
112
- id: bundle.id,
113
- channel: bundle.channel,
114
- enabled: bundle.enabled,
115
- should_force_update: bundle.shouldForceUpdate,
116
- file_hash: bundle.fileHash,
117
- git_commit_hash: bundle.gitCommitHash,
118
- message: bundle.message,
119
- platform: bundle.platform,
120
- target_app_version: bundle.targetAppVersion
121
- })),
122
- { onConflict: "id" }
123
- );
124
- if (error) {
125
- throw error;
126
- }
127
- }
128
- },
129
- hooks
130
- );
131
- };
29
+ //#region src/supabaseDatabase.ts
30
+ const supabaseDatabase = (config, hooks) => (0, __hot_updater_plugin_core.createDatabasePlugin)("supabaseDatabase", {
31
+ getContext: () => ({ supabase: (0, __supabase_supabase_js.createClient)(config.supabaseUrl, config.supabaseAnonKey) }),
32
+ async getBundleById(context, bundleId) {
33
+ const { data, error } = await context.supabase.from("bundles").select("*").eq("id", bundleId).single();
34
+ if (!data || error) return null;
35
+ return {
36
+ channel: data.channel,
37
+ enabled: data.enabled,
38
+ shouldForceUpdate: data.should_force_update,
39
+ fileHash: data.file_hash,
40
+ gitCommitHash: data.git_commit_hash,
41
+ id: data.id,
42
+ message: data.message,
43
+ platform: data.platform,
44
+ targetAppVersion: data.target_app_version,
45
+ fingerprintHash: data.fingerprint_hash,
46
+ storageUri: data.storage_uri,
47
+ metadata: data.metadata ?? {}
48
+ };
49
+ },
50
+ async getBundles(context, options) {
51
+ const { where, limit, offset = 0 } = options ?? {};
52
+ let query = context.supabase.from("bundles").select("*").order("id", { ascending: false });
53
+ if (where?.channel) query = query.eq("channel", where.channel);
54
+ if (where?.platform) query = query.eq("platform", where.platform);
55
+ if (limit) query = query.limit(limit);
56
+ if (offset) query = query.range(offset, offset + (limit || 20) - 1);
57
+ const { data } = await query;
58
+ if (!data) return [];
59
+ return data.map((bundle) => ({
60
+ channel: bundle.channel,
61
+ enabled: bundle.enabled,
62
+ shouldForceUpdate: bundle.should_force_update,
63
+ fileHash: bundle.file_hash,
64
+ gitCommitHash: bundle.git_commit_hash,
65
+ id: bundle.id,
66
+ message: bundle.message,
67
+ platform: bundle.platform,
68
+ targetAppVersion: bundle.target_app_version,
69
+ fingerprintHash: bundle.fingerprint_hash,
70
+ storageUri: bundle.storage_uri,
71
+ metadata: bundle.metadata ?? {}
72
+ }));
73
+ },
74
+ async getChannels(context) {
75
+ const { data, error } = await context.supabase.rpc("get_channels");
76
+ if (error) throw error;
77
+ return data.map((bundle) => bundle.channel);
78
+ },
79
+ async commitBundle(context, { changedSets }) {
80
+ if (changedSets.length === 0) return;
81
+ const bundles = changedSets.map((op) => op.data);
82
+ const { error } = await context.supabase.from("bundles").upsert(bundles.map((bundle) => ({
83
+ id: bundle.id,
84
+ channel: bundle.channel,
85
+ enabled: bundle.enabled,
86
+ should_force_update: bundle.shouldForceUpdate,
87
+ file_hash: bundle.fileHash,
88
+ git_commit_hash: bundle.gitCommitHash,
89
+ message: bundle.message,
90
+ platform: bundle.platform,
91
+ target_app_version: bundle.targetAppVersion,
92
+ fingerprint_hash: bundle.fingerprintHash,
93
+ storage_uri: bundle.storageUri,
94
+ metadata: bundle.metadata
95
+ })), { onConflict: "id" });
96
+ if (error) throw error;
97
+ }
98
+ }, hooks);
132
99
 
133
- // src/supabaseStorage.ts
134
- var import_path = __toESM(require("path"), 1);
135
- var import_supabase_js2 = require("@supabase/supabase-js");
136
- var import_promises = __toESM(require("fs/promises"), 1);
100
+ //#endregion
101
+ //#region ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/types/other.js
102
+ const types$1 = {
103
+ "application/prs.cww": ["cww"],
104
+ "application/prs.xsf+xml": ["xsf"],
105
+ "application/vnd.1000minds.decision-model+xml": ["1km"],
106
+ "application/vnd.3gpp.pic-bw-large": ["plb"],
107
+ "application/vnd.3gpp.pic-bw-small": ["psb"],
108
+ "application/vnd.3gpp.pic-bw-var": ["pvb"],
109
+ "application/vnd.3gpp2.tcap": ["tcap"],
110
+ "application/vnd.3m.post-it-notes": ["pwn"],
111
+ "application/vnd.accpac.simply.aso": ["aso"],
112
+ "application/vnd.accpac.simply.imp": ["imp"],
113
+ "application/vnd.acucobol": ["acu"],
114
+ "application/vnd.acucorp": ["atc", "acutc"],
115
+ "application/vnd.adobe.air-application-installer-package+zip": ["air"],
116
+ "application/vnd.adobe.formscentral.fcdt": ["fcdt"],
117
+ "application/vnd.adobe.fxp": ["fxp", "fxpl"],
118
+ "application/vnd.adobe.xdp+xml": ["xdp"],
119
+ "application/vnd.adobe.xfdf": ["*xfdf"],
120
+ "application/vnd.age": ["age"],
121
+ "application/vnd.ahead.space": ["ahead"],
122
+ "application/vnd.airzip.filesecure.azf": ["azf"],
123
+ "application/vnd.airzip.filesecure.azs": ["azs"],
124
+ "application/vnd.amazon.ebook": ["azw"],
125
+ "application/vnd.americandynamics.acc": ["acc"],
126
+ "application/vnd.amiga.ami": ["ami"],
127
+ "application/vnd.android.package-archive": ["apk"],
128
+ "application/vnd.anser-web-certificate-issue-initiation": ["cii"],
129
+ "application/vnd.anser-web-funds-transfer-initiation": ["fti"],
130
+ "application/vnd.antix.game-component": ["atx"],
131
+ "application/vnd.apple.installer+xml": ["mpkg"],
132
+ "application/vnd.apple.keynote": ["key"],
133
+ "application/vnd.apple.mpegurl": ["m3u8"],
134
+ "application/vnd.apple.numbers": ["numbers"],
135
+ "application/vnd.apple.pages": ["pages"],
136
+ "application/vnd.apple.pkpass": ["pkpass"],
137
+ "application/vnd.aristanetworks.swi": ["swi"],
138
+ "application/vnd.astraea-software.iota": ["iota"],
139
+ "application/vnd.audiograph": ["aep"],
140
+ "application/vnd.balsamiq.bmml+xml": ["bmml"],
141
+ "application/vnd.blueice.multipass": ["mpm"],
142
+ "application/vnd.bmi": ["bmi"],
143
+ "application/vnd.businessobjects": ["rep"],
144
+ "application/vnd.chemdraw+xml": ["cdxml"],
145
+ "application/vnd.chipnuts.karaoke-mmd": ["mmd"],
146
+ "application/vnd.cinderella": ["cdy"],
147
+ "application/vnd.citationstyles.style+xml": ["csl"],
148
+ "application/vnd.claymore": ["cla"],
149
+ "application/vnd.cloanto.rp9": ["rp9"],
150
+ "application/vnd.clonk.c4group": [
151
+ "c4g",
152
+ "c4d",
153
+ "c4f",
154
+ "c4p",
155
+ "c4u"
156
+ ],
157
+ "application/vnd.cluetrust.cartomobile-config": ["c11amc"],
158
+ "application/vnd.cluetrust.cartomobile-config-pkg": ["c11amz"],
159
+ "application/vnd.commonspace": ["csp"],
160
+ "application/vnd.contact.cmsg": ["cdbcmsg"],
161
+ "application/vnd.cosmocaller": ["cmc"],
162
+ "application/vnd.crick.clicker": ["clkx"],
163
+ "application/vnd.crick.clicker.keyboard": ["clkk"],
164
+ "application/vnd.crick.clicker.palette": ["clkp"],
165
+ "application/vnd.crick.clicker.template": ["clkt"],
166
+ "application/vnd.crick.clicker.wordbank": ["clkw"],
167
+ "application/vnd.criticaltools.wbs+xml": ["wbs"],
168
+ "application/vnd.ctc-posml": ["pml"],
169
+ "application/vnd.cups-ppd": ["ppd"],
170
+ "application/vnd.curl.car": ["car"],
171
+ "application/vnd.curl.pcurl": ["pcurl"],
172
+ "application/vnd.dart": ["dart"],
173
+ "application/vnd.data-vision.rdz": ["rdz"],
174
+ "application/vnd.dbf": ["dbf"],
175
+ "application/vnd.dece.data": [
176
+ "uvf",
177
+ "uvvf",
178
+ "uvd",
179
+ "uvvd"
180
+ ],
181
+ "application/vnd.dece.ttml+xml": ["uvt", "uvvt"],
182
+ "application/vnd.dece.unspecified": ["uvx", "uvvx"],
183
+ "application/vnd.dece.zip": ["uvz", "uvvz"],
184
+ "application/vnd.denovo.fcselayout-link": ["fe_launch"],
185
+ "application/vnd.dna": ["dna"],
186
+ "application/vnd.dolby.mlp": ["mlp"],
187
+ "application/vnd.dpgraph": ["dpg"],
188
+ "application/vnd.dreamfactory": ["dfac"],
189
+ "application/vnd.ds-keypoint": ["kpxx"],
190
+ "application/vnd.dvb.ait": ["ait"],
191
+ "application/vnd.dvb.service": ["svc"],
192
+ "application/vnd.dynageo": ["geo"],
193
+ "application/vnd.ecowin.chart": ["mag"],
194
+ "application/vnd.enliven": ["nml"],
195
+ "application/vnd.epson.esf": ["esf"],
196
+ "application/vnd.epson.msf": ["msf"],
197
+ "application/vnd.epson.quickanime": ["qam"],
198
+ "application/vnd.epson.salt": ["slt"],
199
+ "application/vnd.epson.ssf": ["ssf"],
200
+ "application/vnd.eszigno3+xml": ["es3", "et3"],
201
+ "application/vnd.ezpix-album": ["ez2"],
202
+ "application/vnd.ezpix-package": ["ez3"],
203
+ "application/vnd.fdf": ["*fdf"],
204
+ "application/vnd.fdsn.mseed": ["mseed"],
205
+ "application/vnd.fdsn.seed": ["seed", "dataless"],
206
+ "application/vnd.flographit": ["gph"],
207
+ "application/vnd.fluxtime.clip": ["ftc"],
208
+ "application/vnd.framemaker": [
209
+ "fm",
210
+ "frame",
211
+ "maker",
212
+ "book"
213
+ ],
214
+ "application/vnd.frogans.fnc": ["fnc"],
215
+ "application/vnd.frogans.ltf": ["ltf"],
216
+ "application/vnd.fsc.weblaunch": ["fsc"],
217
+ "application/vnd.fujitsu.oasys": ["oas"],
218
+ "application/vnd.fujitsu.oasys2": ["oa2"],
219
+ "application/vnd.fujitsu.oasys3": ["oa3"],
220
+ "application/vnd.fujitsu.oasysgp": ["fg5"],
221
+ "application/vnd.fujitsu.oasysprs": ["bh2"],
222
+ "application/vnd.fujixerox.ddd": ["ddd"],
223
+ "application/vnd.fujixerox.docuworks": ["xdw"],
224
+ "application/vnd.fujixerox.docuworks.binder": ["xbd"],
225
+ "application/vnd.fuzzysheet": ["fzs"],
226
+ "application/vnd.genomatix.tuxedo": ["txd"],
227
+ "application/vnd.geogebra.file": ["ggb"],
228
+ "application/vnd.geogebra.tool": ["ggt"],
229
+ "application/vnd.geometry-explorer": ["gex", "gre"],
230
+ "application/vnd.geonext": ["gxt"],
231
+ "application/vnd.geoplan": ["g2w"],
232
+ "application/vnd.geospace": ["g3w"],
233
+ "application/vnd.gmx": ["gmx"],
234
+ "application/vnd.google-apps.document": ["gdoc"],
235
+ "application/vnd.google-apps.presentation": ["gslides"],
236
+ "application/vnd.google-apps.spreadsheet": ["gsheet"],
237
+ "application/vnd.google-earth.kml+xml": ["kml"],
238
+ "application/vnd.google-earth.kmz": ["kmz"],
239
+ "application/vnd.grafeq": ["gqf", "gqs"],
240
+ "application/vnd.groove-account": ["gac"],
241
+ "application/vnd.groove-help": ["ghf"],
242
+ "application/vnd.groove-identity-message": ["gim"],
243
+ "application/vnd.groove-injector": ["grv"],
244
+ "application/vnd.groove-tool-message": ["gtm"],
245
+ "application/vnd.groove-tool-template": ["tpl"],
246
+ "application/vnd.groove-vcard": ["vcg"],
247
+ "application/vnd.hal+xml": ["hal"],
248
+ "application/vnd.handheld-entertainment+xml": ["zmm"],
249
+ "application/vnd.hbci": ["hbci"],
250
+ "application/vnd.hhe.lesson-player": ["les"],
251
+ "application/vnd.hp-hpgl": ["hpgl"],
252
+ "application/vnd.hp-hpid": ["hpid"],
253
+ "application/vnd.hp-hps": ["hps"],
254
+ "application/vnd.hp-jlyt": ["jlt"],
255
+ "application/vnd.hp-pcl": ["pcl"],
256
+ "application/vnd.hp-pclxl": ["pclxl"],
257
+ "application/vnd.hydrostatix.sof-data": ["sfd-hdstx"],
258
+ "application/vnd.ibm.minipay": ["mpy"],
259
+ "application/vnd.ibm.modcap": [
260
+ "afp",
261
+ "listafp",
262
+ "list3820"
263
+ ],
264
+ "application/vnd.ibm.rights-management": ["irm"],
265
+ "application/vnd.ibm.secure-container": ["sc"],
266
+ "application/vnd.iccprofile": ["icc", "icm"],
267
+ "application/vnd.igloader": ["igl"],
268
+ "application/vnd.immervision-ivp": ["ivp"],
269
+ "application/vnd.immervision-ivu": ["ivu"],
270
+ "application/vnd.insors.igm": ["igm"],
271
+ "application/vnd.intercon.formnet": ["xpw", "xpx"],
272
+ "application/vnd.intergeo": ["i2g"],
273
+ "application/vnd.intu.qbo": ["qbo"],
274
+ "application/vnd.intu.qfx": ["qfx"],
275
+ "application/vnd.ipunplugged.rcprofile": ["rcprofile"],
276
+ "application/vnd.irepository.package+xml": ["irp"],
277
+ "application/vnd.is-xpr": ["xpr"],
278
+ "application/vnd.isac.fcs": ["fcs"],
279
+ "application/vnd.jam": ["jam"],
280
+ "application/vnd.jcp.javame.midlet-rms": ["rms"],
281
+ "application/vnd.jisp": ["jisp"],
282
+ "application/vnd.joost.joda-archive": ["joda"],
283
+ "application/vnd.kahootz": ["ktz", "ktr"],
284
+ "application/vnd.kde.karbon": ["karbon"],
285
+ "application/vnd.kde.kchart": ["chrt"],
286
+ "application/vnd.kde.kformula": ["kfo"],
287
+ "application/vnd.kde.kivio": ["flw"],
288
+ "application/vnd.kde.kontour": ["kon"],
289
+ "application/vnd.kde.kpresenter": ["kpr", "kpt"],
290
+ "application/vnd.kde.kspread": ["ksp"],
291
+ "application/vnd.kde.kword": ["kwd", "kwt"],
292
+ "application/vnd.kenameaapp": ["htke"],
293
+ "application/vnd.kidspiration": ["kia"],
294
+ "application/vnd.kinar": ["kne", "knp"],
295
+ "application/vnd.koan": [
296
+ "skp",
297
+ "skd",
298
+ "skt",
299
+ "skm"
300
+ ],
301
+ "application/vnd.kodak-descriptor": ["sse"],
302
+ "application/vnd.las.las+xml": ["lasxml"],
303
+ "application/vnd.llamagraphics.life-balance.desktop": ["lbd"],
304
+ "application/vnd.llamagraphics.life-balance.exchange+xml": ["lbe"],
305
+ "application/vnd.lotus-1-2-3": ["123"],
306
+ "application/vnd.lotus-approach": ["apr"],
307
+ "application/vnd.lotus-freelance": ["pre"],
308
+ "application/vnd.lotus-notes": ["nsf"],
309
+ "application/vnd.lotus-organizer": ["org"],
310
+ "application/vnd.lotus-screencam": ["scm"],
311
+ "application/vnd.lotus-wordpro": ["lwp"],
312
+ "application/vnd.macports.portpkg": ["portpkg"],
313
+ "application/vnd.mapbox-vector-tile": ["mvt"],
314
+ "application/vnd.mcd": ["mcd"],
315
+ "application/vnd.medcalcdata": ["mc1"],
316
+ "application/vnd.mediastation.cdkey": ["cdkey"],
317
+ "application/vnd.mfer": ["mwf"],
318
+ "application/vnd.mfmp": ["mfm"],
319
+ "application/vnd.micrografx.flo": ["flo"],
320
+ "application/vnd.micrografx.igx": ["igx"],
321
+ "application/vnd.mif": ["mif"],
322
+ "application/vnd.mobius.daf": ["daf"],
323
+ "application/vnd.mobius.dis": ["dis"],
324
+ "application/vnd.mobius.mbk": ["mbk"],
325
+ "application/vnd.mobius.mqy": ["mqy"],
326
+ "application/vnd.mobius.msl": ["msl"],
327
+ "application/vnd.mobius.plc": ["plc"],
328
+ "application/vnd.mobius.txf": ["txf"],
329
+ "application/vnd.mophun.application": ["mpn"],
330
+ "application/vnd.mophun.certificate": ["mpc"],
331
+ "application/vnd.mozilla.xul+xml": ["xul"],
332
+ "application/vnd.ms-artgalry": ["cil"],
333
+ "application/vnd.ms-cab-compressed": ["cab"],
334
+ "application/vnd.ms-excel": [
335
+ "xls",
336
+ "xlm",
337
+ "xla",
338
+ "xlc",
339
+ "xlt",
340
+ "xlw"
341
+ ],
342
+ "application/vnd.ms-excel.addin.macroenabled.12": ["xlam"],
343
+ "application/vnd.ms-excel.sheet.binary.macroenabled.12": ["xlsb"],
344
+ "application/vnd.ms-excel.sheet.macroenabled.12": ["xlsm"],
345
+ "application/vnd.ms-excel.template.macroenabled.12": ["xltm"],
346
+ "application/vnd.ms-fontobject": ["eot"],
347
+ "application/vnd.ms-htmlhelp": ["chm"],
348
+ "application/vnd.ms-ims": ["ims"],
349
+ "application/vnd.ms-lrm": ["lrm"],
350
+ "application/vnd.ms-officetheme": ["thmx"],
351
+ "application/vnd.ms-outlook": ["msg"],
352
+ "application/vnd.ms-pki.seccat": ["cat"],
353
+ "application/vnd.ms-pki.stl": ["*stl"],
354
+ "application/vnd.ms-powerpoint": [
355
+ "ppt",
356
+ "pps",
357
+ "pot"
358
+ ],
359
+ "application/vnd.ms-powerpoint.addin.macroenabled.12": ["ppam"],
360
+ "application/vnd.ms-powerpoint.presentation.macroenabled.12": ["pptm"],
361
+ "application/vnd.ms-powerpoint.slide.macroenabled.12": ["sldm"],
362
+ "application/vnd.ms-powerpoint.slideshow.macroenabled.12": ["ppsm"],
363
+ "application/vnd.ms-powerpoint.template.macroenabled.12": ["potm"],
364
+ "application/vnd.ms-project": ["*mpp", "mpt"],
365
+ "application/vnd.ms-word.document.macroenabled.12": ["docm"],
366
+ "application/vnd.ms-word.template.macroenabled.12": ["dotm"],
367
+ "application/vnd.ms-works": [
368
+ "wps",
369
+ "wks",
370
+ "wcm",
371
+ "wdb"
372
+ ],
373
+ "application/vnd.ms-wpl": ["wpl"],
374
+ "application/vnd.ms-xpsdocument": ["xps"],
375
+ "application/vnd.mseq": ["mseq"],
376
+ "application/vnd.musician": ["mus"],
377
+ "application/vnd.muvee.style": ["msty"],
378
+ "application/vnd.mynfc": ["taglet"],
379
+ "application/vnd.neurolanguage.nlu": ["nlu"],
380
+ "application/vnd.nitf": ["ntf", "nitf"],
381
+ "application/vnd.noblenet-directory": ["nnd"],
382
+ "application/vnd.noblenet-sealer": ["nns"],
383
+ "application/vnd.noblenet-web": ["nnw"],
384
+ "application/vnd.nokia.n-gage.ac+xml": ["*ac"],
385
+ "application/vnd.nokia.n-gage.data": ["ngdat"],
386
+ "application/vnd.nokia.n-gage.symbian.install": ["n-gage"],
387
+ "application/vnd.nokia.radio-preset": ["rpst"],
388
+ "application/vnd.nokia.radio-presets": ["rpss"],
389
+ "application/vnd.novadigm.edm": ["edm"],
390
+ "application/vnd.novadigm.edx": ["edx"],
391
+ "application/vnd.novadigm.ext": ["ext"],
392
+ "application/vnd.oasis.opendocument.chart": ["odc"],
393
+ "application/vnd.oasis.opendocument.chart-template": ["otc"],
394
+ "application/vnd.oasis.opendocument.database": ["odb"],
395
+ "application/vnd.oasis.opendocument.formula": ["odf"],
396
+ "application/vnd.oasis.opendocument.formula-template": ["odft"],
397
+ "application/vnd.oasis.opendocument.graphics": ["odg"],
398
+ "application/vnd.oasis.opendocument.graphics-template": ["otg"],
399
+ "application/vnd.oasis.opendocument.image": ["odi"],
400
+ "application/vnd.oasis.opendocument.image-template": ["oti"],
401
+ "application/vnd.oasis.opendocument.presentation": ["odp"],
402
+ "application/vnd.oasis.opendocument.presentation-template": ["otp"],
403
+ "application/vnd.oasis.opendocument.spreadsheet": ["ods"],
404
+ "application/vnd.oasis.opendocument.spreadsheet-template": ["ots"],
405
+ "application/vnd.oasis.opendocument.text": ["odt"],
406
+ "application/vnd.oasis.opendocument.text-master": ["odm"],
407
+ "application/vnd.oasis.opendocument.text-template": ["ott"],
408
+ "application/vnd.oasis.opendocument.text-web": ["oth"],
409
+ "application/vnd.olpc-sugar": ["xo"],
410
+ "application/vnd.oma.dd2+xml": ["dd2"],
411
+ "application/vnd.openblox.game+xml": ["obgx"],
412
+ "application/vnd.openofficeorg.extension": ["oxt"],
413
+ "application/vnd.openstreetmap.data+xml": ["osm"],
414
+ "application/vnd.openxmlformats-officedocument.presentationml.presentation": ["pptx"],
415
+ "application/vnd.openxmlformats-officedocument.presentationml.slide": ["sldx"],
416
+ "application/vnd.openxmlformats-officedocument.presentationml.slideshow": ["ppsx"],
417
+ "application/vnd.openxmlformats-officedocument.presentationml.template": ["potx"],
418
+ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": ["xlsx"],
419
+ "application/vnd.openxmlformats-officedocument.spreadsheetml.template": ["xltx"],
420
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": ["docx"],
421
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.template": ["dotx"],
422
+ "application/vnd.osgeo.mapguide.package": ["mgp"],
423
+ "application/vnd.osgi.dp": ["dp"],
424
+ "application/vnd.osgi.subsystem": ["esa"],
425
+ "application/vnd.palm": [
426
+ "pdb",
427
+ "pqa",
428
+ "oprc"
429
+ ],
430
+ "application/vnd.pawaafile": ["paw"],
431
+ "application/vnd.pg.format": ["str"],
432
+ "application/vnd.pg.osasli": ["ei6"],
433
+ "application/vnd.picsel": ["efif"],
434
+ "application/vnd.pmi.widget": ["wg"],
435
+ "application/vnd.pocketlearn": ["plf"],
436
+ "application/vnd.powerbuilder6": ["pbd"],
437
+ "application/vnd.previewsystems.box": ["box"],
438
+ "application/vnd.proteus.magazine": ["mgz"],
439
+ "application/vnd.publishare-delta-tree": ["qps"],
440
+ "application/vnd.pvi.ptid1": ["ptid"],
441
+ "application/vnd.pwg-xhtml-print+xml": ["xhtm"],
442
+ "application/vnd.quark.quarkxpress": [
443
+ "qxd",
444
+ "qxt",
445
+ "qwd",
446
+ "qwt",
447
+ "qxl",
448
+ "qxb"
449
+ ],
450
+ "application/vnd.rar": ["rar"],
451
+ "application/vnd.realvnc.bed": ["bed"],
452
+ "application/vnd.recordare.musicxml": ["mxl"],
453
+ "application/vnd.recordare.musicxml+xml": ["musicxml"],
454
+ "application/vnd.rig.cryptonote": ["cryptonote"],
455
+ "application/vnd.rim.cod": ["cod"],
456
+ "application/vnd.rn-realmedia": ["rm"],
457
+ "application/vnd.rn-realmedia-vbr": ["rmvb"],
458
+ "application/vnd.route66.link66+xml": ["link66"],
459
+ "application/vnd.sailingtracker.track": ["st"],
460
+ "application/vnd.seemail": ["see"],
461
+ "application/vnd.sema": ["sema"],
462
+ "application/vnd.semd": ["semd"],
463
+ "application/vnd.semf": ["semf"],
464
+ "application/vnd.shana.informed.formdata": ["ifm"],
465
+ "application/vnd.shana.informed.formtemplate": ["itp"],
466
+ "application/vnd.shana.informed.interchange": ["iif"],
467
+ "application/vnd.shana.informed.package": ["ipk"],
468
+ "application/vnd.simtech-mindmapper": ["twd", "twds"],
469
+ "application/vnd.smaf": ["mmf"],
470
+ "application/vnd.smart.teacher": ["teacher"],
471
+ "application/vnd.software602.filler.form+xml": ["fo"],
472
+ "application/vnd.solent.sdkm+xml": ["sdkm", "sdkd"],
473
+ "application/vnd.spotfire.dxp": ["dxp"],
474
+ "application/vnd.spotfire.sfs": ["sfs"],
475
+ "application/vnd.stardivision.calc": ["sdc"],
476
+ "application/vnd.stardivision.draw": ["sda"],
477
+ "application/vnd.stardivision.impress": ["sdd"],
478
+ "application/vnd.stardivision.math": ["smf"],
479
+ "application/vnd.stardivision.writer": ["sdw", "vor"],
480
+ "application/vnd.stardivision.writer-global": ["sgl"],
481
+ "application/vnd.stepmania.package": ["smzip"],
482
+ "application/vnd.stepmania.stepchart": ["sm"],
483
+ "application/vnd.sun.wadl+xml": ["wadl"],
484
+ "application/vnd.sun.xml.calc": ["sxc"],
485
+ "application/vnd.sun.xml.calc.template": ["stc"],
486
+ "application/vnd.sun.xml.draw": ["sxd"],
487
+ "application/vnd.sun.xml.draw.template": ["std"],
488
+ "application/vnd.sun.xml.impress": ["sxi"],
489
+ "application/vnd.sun.xml.impress.template": ["sti"],
490
+ "application/vnd.sun.xml.math": ["sxm"],
491
+ "application/vnd.sun.xml.writer": ["sxw"],
492
+ "application/vnd.sun.xml.writer.global": ["sxg"],
493
+ "application/vnd.sun.xml.writer.template": ["stw"],
494
+ "application/vnd.sus-calendar": ["sus", "susp"],
495
+ "application/vnd.svd": ["svd"],
496
+ "application/vnd.symbian.install": ["sis", "sisx"],
497
+ "application/vnd.syncml+xml": ["xsm"],
498
+ "application/vnd.syncml.dm+wbxml": ["bdm"],
499
+ "application/vnd.syncml.dm+xml": ["xdm"],
500
+ "application/vnd.syncml.dmddf+xml": ["ddf"],
501
+ "application/vnd.tao.intent-module-archive": ["tao"],
502
+ "application/vnd.tcpdump.pcap": [
503
+ "pcap",
504
+ "cap",
505
+ "dmp"
506
+ ],
507
+ "application/vnd.tmobile-livetv": ["tmo"],
508
+ "application/vnd.trid.tpt": ["tpt"],
509
+ "application/vnd.triscape.mxs": ["mxs"],
510
+ "application/vnd.trueapp": ["tra"],
511
+ "application/vnd.ufdl": ["ufd", "ufdl"],
512
+ "application/vnd.uiq.theme": ["utz"],
513
+ "application/vnd.umajin": ["umj"],
514
+ "application/vnd.unity": ["unityweb"],
515
+ "application/vnd.uoml+xml": ["uoml", "uo"],
516
+ "application/vnd.vcx": ["vcx"],
517
+ "application/vnd.visio": [
518
+ "vsd",
519
+ "vst",
520
+ "vss",
521
+ "vsw"
522
+ ],
523
+ "application/vnd.visionary": ["vis"],
524
+ "application/vnd.vsf": ["vsf"],
525
+ "application/vnd.wap.wbxml": ["wbxml"],
526
+ "application/vnd.wap.wmlc": ["wmlc"],
527
+ "application/vnd.wap.wmlscriptc": ["wmlsc"],
528
+ "application/vnd.webturbo": ["wtb"],
529
+ "application/vnd.wolfram.player": ["nbp"],
530
+ "application/vnd.wordperfect": ["wpd"],
531
+ "application/vnd.wqd": ["wqd"],
532
+ "application/vnd.wt.stf": ["stf"],
533
+ "application/vnd.xara": ["xar"],
534
+ "application/vnd.xfdl": ["xfdl"],
535
+ "application/vnd.yamaha.hv-dic": ["hvd"],
536
+ "application/vnd.yamaha.hv-script": ["hvs"],
537
+ "application/vnd.yamaha.hv-voice": ["hvp"],
538
+ "application/vnd.yamaha.openscoreformat": ["osf"],
539
+ "application/vnd.yamaha.openscoreformat.osfpvg+xml": ["osfpvg"],
540
+ "application/vnd.yamaha.smaf-audio": ["saf"],
541
+ "application/vnd.yamaha.smaf-phrase": ["spf"],
542
+ "application/vnd.yellowriver-custom-menu": ["cmp"],
543
+ "application/vnd.zul": ["zir", "zirz"],
544
+ "application/vnd.zzazz.deck+xml": ["zaz"],
545
+ "application/x-7z-compressed": ["7z"],
546
+ "application/x-abiword": ["abw"],
547
+ "application/x-ace-compressed": ["ace"],
548
+ "application/x-apple-diskimage": ["*dmg"],
549
+ "application/x-arj": ["arj"],
550
+ "application/x-authorware-bin": [
551
+ "aab",
552
+ "x32",
553
+ "u32",
554
+ "vox"
555
+ ],
556
+ "application/x-authorware-map": ["aam"],
557
+ "application/x-authorware-seg": ["aas"],
558
+ "application/x-bcpio": ["bcpio"],
559
+ "application/x-bdoc": ["*bdoc"],
560
+ "application/x-bittorrent": ["torrent"],
561
+ "application/x-blorb": ["blb", "blorb"],
562
+ "application/x-bzip": ["bz"],
563
+ "application/x-bzip2": ["bz2", "boz"],
564
+ "application/x-cbr": [
565
+ "cbr",
566
+ "cba",
567
+ "cbt",
568
+ "cbz",
569
+ "cb7"
570
+ ],
571
+ "application/x-cdlink": ["vcd"],
572
+ "application/x-cfs-compressed": ["cfs"],
573
+ "application/x-chat": ["chat"],
574
+ "application/x-chess-pgn": ["pgn"],
575
+ "application/x-chrome-extension": ["crx"],
576
+ "application/x-cocoa": ["cco"],
577
+ "application/x-conference": ["nsc"],
578
+ "application/x-cpio": ["cpio"],
579
+ "application/x-csh": ["csh"],
580
+ "application/x-debian-package": ["*deb", "udeb"],
581
+ "application/x-dgc-compressed": ["dgc"],
582
+ "application/x-director": [
583
+ "dir",
584
+ "dcr",
585
+ "dxr",
586
+ "cst",
587
+ "cct",
588
+ "cxt",
589
+ "w3d",
590
+ "fgd",
591
+ "swa"
592
+ ],
593
+ "application/x-doom": ["wad"],
594
+ "application/x-dtbncx+xml": ["ncx"],
595
+ "application/x-dtbook+xml": ["dtb"],
596
+ "application/x-dtbresource+xml": ["res"],
597
+ "application/x-dvi": ["dvi"],
598
+ "application/x-envoy": ["evy"],
599
+ "application/x-eva": ["eva"],
600
+ "application/x-font-bdf": ["bdf"],
601
+ "application/x-font-ghostscript": ["gsf"],
602
+ "application/x-font-linux-psf": ["psf"],
603
+ "application/x-font-pcf": ["pcf"],
604
+ "application/x-font-snf": ["snf"],
605
+ "application/x-font-type1": [
606
+ "pfa",
607
+ "pfb",
608
+ "pfm",
609
+ "afm"
610
+ ],
611
+ "application/x-freearc": ["arc"],
612
+ "application/x-futuresplash": ["spl"],
613
+ "application/x-gca-compressed": ["gca"],
614
+ "application/x-glulx": ["ulx"],
615
+ "application/x-gnumeric": ["gnumeric"],
616
+ "application/x-gramps-xml": ["gramps"],
617
+ "application/x-gtar": ["gtar"],
618
+ "application/x-hdf": ["hdf"],
619
+ "application/x-httpd-php": ["php"],
620
+ "application/x-install-instructions": ["install"],
621
+ "application/x-iso9660-image": ["*iso"],
622
+ "application/x-iwork-keynote-sffkey": ["*key"],
623
+ "application/x-iwork-numbers-sffnumbers": ["*numbers"],
624
+ "application/x-iwork-pages-sffpages": ["*pages"],
625
+ "application/x-java-archive-diff": ["jardiff"],
626
+ "application/x-java-jnlp-file": ["jnlp"],
627
+ "application/x-keepass2": ["kdbx"],
628
+ "application/x-latex": ["latex"],
629
+ "application/x-lua-bytecode": ["luac"],
630
+ "application/x-lzh-compressed": ["lzh", "lha"],
631
+ "application/x-makeself": ["run"],
632
+ "application/x-mie": ["mie"],
633
+ "application/x-mobipocket-ebook": ["*prc", "mobi"],
634
+ "application/x-ms-application": ["application"],
635
+ "application/x-ms-shortcut": ["lnk"],
636
+ "application/x-ms-wmd": ["wmd"],
637
+ "application/x-ms-wmz": ["wmz"],
638
+ "application/x-ms-xbap": ["xbap"],
639
+ "application/x-msaccess": ["mdb"],
640
+ "application/x-msbinder": ["obd"],
641
+ "application/x-mscardfile": ["crd"],
642
+ "application/x-msclip": ["clp"],
643
+ "application/x-msdos-program": ["*exe"],
644
+ "application/x-msdownload": [
645
+ "*exe",
646
+ "*dll",
647
+ "com",
648
+ "bat",
649
+ "*msi"
650
+ ],
651
+ "application/x-msmediaview": [
652
+ "mvb",
653
+ "m13",
654
+ "m14"
655
+ ],
656
+ "application/x-msmetafile": [
657
+ "*wmf",
658
+ "*wmz",
659
+ "*emf",
660
+ "emz"
661
+ ],
662
+ "application/x-msmoney": ["mny"],
663
+ "application/x-mspublisher": ["pub"],
664
+ "application/x-msschedule": ["scd"],
665
+ "application/x-msterminal": ["trm"],
666
+ "application/x-mswrite": ["wri"],
667
+ "application/x-netcdf": ["nc", "cdf"],
668
+ "application/x-ns-proxy-autoconfig": ["pac"],
669
+ "application/x-nzb": ["nzb"],
670
+ "application/x-perl": ["pl", "pm"],
671
+ "application/x-pilot": ["*prc", "*pdb"],
672
+ "application/x-pkcs12": ["p12", "pfx"],
673
+ "application/x-pkcs7-certificates": ["p7b", "spc"],
674
+ "application/x-pkcs7-certreqresp": ["p7r"],
675
+ "application/x-rar-compressed": ["*rar"],
676
+ "application/x-redhat-package-manager": ["rpm"],
677
+ "application/x-research-info-systems": ["ris"],
678
+ "application/x-sea": ["sea"],
679
+ "application/x-sh": ["sh"],
680
+ "application/x-shar": ["shar"],
681
+ "application/x-shockwave-flash": ["swf"],
682
+ "application/x-silverlight-app": ["xap"],
683
+ "application/x-sql": ["*sql"],
684
+ "application/x-stuffit": ["sit"],
685
+ "application/x-stuffitx": ["sitx"],
686
+ "application/x-subrip": ["srt"],
687
+ "application/x-sv4cpio": ["sv4cpio"],
688
+ "application/x-sv4crc": ["sv4crc"],
689
+ "application/x-t3vm-image": ["t3"],
690
+ "application/x-tads": ["gam"],
691
+ "application/x-tar": ["tar"],
692
+ "application/x-tcl": ["tcl", "tk"],
693
+ "application/x-tex": ["tex"],
694
+ "application/x-tex-tfm": ["tfm"],
695
+ "application/x-texinfo": ["texinfo", "texi"],
696
+ "application/x-tgif": ["*obj"],
697
+ "application/x-ustar": ["ustar"],
698
+ "application/x-virtualbox-hdd": ["hdd"],
699
+ "application/x-virtualbox-ova": ["ova"],
700
+ "application/x-virtualbox-ovf": ["ovf"],
701
+ "application/x-virtualbox-vbox": ["vbox"],
702
+ "application/x-virtualbox-vbox-extpack": ["vbox-extpack"],
703
+ "application/x-virtualbox-vdi": ["vdi"],
704
+ "application/x-virtualbox-vhd": ["vhd"],
705
+ "application/x-virtualbox-vmdk": ["vmdk"],
706
+ "application/x-wais-source": ["src"],
707
+ "application/x-web-app-manifest+json": ["webapp"],
708
+ "application/x-x509-ca-cert": [
709
+ "der",
710
+ "crt",
711
+ "pem"
712
+ ],
713
+ "application/x-xfig": ["fig"],
714
+ "application/x-xliff+xml": ["*xlf"],
715
+ "application/x-xpinstall": ["xpi"],
716
+ "application/x-xz": ["xz"],
717
+ "application/x-zmachine": [
718
+ "z1",
719
+ "z2",
720
+ "z3",
721
+ "z4",
722
+ "z5",
723
+ "z6",
724
+ "z7",
725
+ "z8"
726
+ ],
727
+ "audio/vnd.dece.audio": ["uva", "uvva"],
728
+ "audio/vnd.digital-winds": ["eol"],
729
+ "audio/vnd.dra": ["dra"],
730
+ "audio/vnd.dts": ["dts"],
731
+ "audio/vnd.dts.hd": ["dtshd"],
732
+ "audio/vnd.lucent.voice": ["lvp"],
733
+ "audio/vnd.ms-playready.media.pya": ["pya"],
734
+ "audio/vnd.nuera.ecelp4800": ["ecelp4800"],
735
+ "audio/vnd.nuera.ecelp7470": ["ecelp7470"],
736
+ "audio/vnd.nuera.ecelp9600": ["ecelp9600"],
737
+ "audio/vnd.rip": ["rip"],
738
+ "audio/x-aac": ["*aac"],
739
+ "audio/x-aiff": [
740
+ "aif",
741
+ "aiff",
742
+ "aifc"
743
+ ],
744
+ "audio/x-caf": ["caf"],
745
+ "audio/x-flac": ["flac"],
746
+ "audio/x-m4a": ["*m4a"],
747
+ "audio/x-matroska": ["mka"],
748
+ "audio/x-mpegurl": ["m3u"],
749
+ "audio/x-ms-wax": ["wax"],
750
+ "audio/x-ms-wma": ["wma"],
751
+ "audio/x-pn-realaudio": ["ram", "ra"],
752
+ "audio/x-pn-realaudio-plugin": ["rmp"],
753
+ "audio/x-realaudio": ["*ra"],
754
+ "audio/x-wav": ["*wav"],
755
+ "chemical/x-cdx": ["cdx"],
756
+ "chemical/x-cif": ["cif"],
757
+ "chemical/x-cmdf": ["cmdf"],
758
+ "chemical/x-cml": ["cml"],
759
+ "chemical/x-csml": ["csml"],
760
+ "chemical/x-xyz": ["xyz"],
761
+ "image/prs.btif": ["btif", "btf"],
762
+ "image/prs.pti": ["pti"],
763
+ "image/vnd.adobe.photoshop": ["psd"],
764
+ "image/vnd.airzip.accelerator.azv": ["azv"],
765
+ "image/vnd.dece.graphic": [
766
+ "uvi",
767
+ "uvvi",
768
+ "uvg",
769
+ "uvvg"
770
+ ],
771
+ "image/vnd.djvu": ["djvu", "djv"],
772
+ "image/vnd.dvb.subtitle": ["*sub"],
773
+ "image/vnd.dwg": ["dwg"],
774
+ "image/vnd.dxf": ["dxf"],
775
+ "image/vnd.fastbidsheet": ["fbs"],
776
+ "image/vnd.fpx": ["fpx"],
777
+ "image/vnd.fst": ["fst"],
778
+ "image/vnd.fujixerox.edmics-mmr": ["mmr"],
779
+ "image/vnd.fujixerox.edmics-rlc": ["rlc"],
780
+ "image/vnd.microsoft.icon": ["ico"],
781
+ "image/vnd.ms-dds": ["dds"],
782
+ "image/vnd.ms-modi": ["mdi"],
783
+ "image/vnd.ms-photo": ["wdp"],
784
+ "image/vnd.net-fpx": ["npx"],
785
+ "image/vnd.pco.b16": ["b16"],
786
+ "image/vnd.tencent.tap": ["tap"],
787
+ "image/vnd.valve.source.texture": ["vtf"],
788
+ "image/vnd.wap.wbmp": ["wbmp"],
789
+ "image/vnd.xiff": ["xif"],
790
+ "image/vnd.zbrush.pcx": ["pcx"],
791
+ "image/x-3ds": ["3ds"],
792
+ "image/x-cmu-raster": ["ras"],
793
+ "image/x-cmx": ["cmx"],
794
+ "image/x-freehand": [
795
+ "fh",
796
+ "fhc",
797
+ "fh4",
798
+ "fh5",
799
+ "fh7"
800
+ ],
801
+ "image/x-icon": ["*ico"],
802
+ "image/x-jng": ["jng"],
803
+ "image/x-mrsid-image": ["sid"],
804
+ "image/x-ms-bmp": ["*bmp"],
805
+ "image/x-pcx": ["*pcx"],
806
+ "image/x-pict": ["pic", "pct"],
807
+ "image/x-portable-anymap": ["pnm"],
808
+ "image/x-portable-bitmap": ["pbm"],
809
+ "image/x-portable-graymap": ["pgm"],
810
+ "image/x-portable-pixmap": ["ppm"],
811
+ "image/x-rgb": ["rgb"],
812
+ "image/x-tga": ["tga"],
813
+ "image/x-xbitmap": ["xbm"],
814
+ "image/x-xpixmap": ["xpm"],
815
+ "image/x-xwindowdump": ["xwd"],
816
+ "message/vnd.wfa.wsc": ["wsc"],
817
+ "model/vnd.cld": ["cld"],
818
+ "model/vnd.collada+xml": ["dae"],
819
+ "model/vnd.dwf": ["dwf"],
820
+ "model/vnd.gdl": ["gdl"],
821
+ "model/vnd.gtw": ["gtw"],
822
+ "model/vnd.mts": ["mts"],
823
+ "model/vnd.opengex": ["ogex"],
824
+ "model/vnd.parasolid.transmit.binary": ["x_b"],
825
+ "model/vnd.parasolid.transmit.text": ["x_t"],
826
+ "model/vnd.pytha.pyox": ["pyo", "pyox"],
827
+ "model/vnd.sap.vds": ["vds"],
828
+ "model/vnd.usda": ["usda"],
829
+ "model/vnd.usdz+zip": ["usdz"],
830
+ "model/vnd.valve.source.compiled-map": ["bsp"],
831
+ "model/vnd.vtu": ["vtu"],
832
+ "text/prs.lines.tag": ["dsc"],
833
+ "text/vnd.curl": ["curl"],
834
+ "text/vnd.curl.dcurl": ["dcurl"],
835
+ "text/vnd.curl.mcurl": ["mcurl"],
836
+ "text/vnd.curl.scurl": ["scurl"],
837
+ "text/vnd.dvb.subtitle": ["sub"],
838
+ "text/vnd.familysearch.gedcom": ["ged"],
839
+ "text/vnd.fly": ["fly"],
840
+ "text/vnd.fmi.flexstor": ["flx"],
841
+ "text/vnd.graphviz": ["gv"],
842
+ "text/vnd.in3d.3dml": ["3dml"],
843
+ "text/vnd.in3d.spot": ["spot"],
844
+ "text/vnd.sun.j2me.app-descriptor": ["jad"],
845
+ "text/vnd.wap.wml": ["wml"],
846
+ "text/vnd.wap.wmlscript": ["wmls"],
847
+ "text/x-asm": ["s", "asm"],
848
+ "text/x-c": [
849
+ "c",
850
+ "cc",
851
+ "cxx",
852
+ "cpp",
853
+ "h",
854
+ "hh",
855
+ "dic"
856
+ ],
857
+ "text/x-component": ["htc"],
858
+ "text/x-fortran": [
859
+ "f",
860
+ "for",
861
+ "f77",
862
+ "f90"
863
+ ],
864
+ "text/x-handlebars-template": ["hbs"],
865
+ "text/x-java-source": ["java"],
866
+ "text/x-lua": ["lua"],
867
+ "text/x-markdown": ["mkd"],
868
+ "text/x-nfo": ["nfo"],
869
+ "text/x-opml": ["opml"],
870
+ "text/x-org": ["*org"],
871
+ "text/x-pascal": ["p", "pas"],
872
+ "text/x-processing": ["pde"],
873
+ "text/x-sass": ["sass"],
874
+ "text/x-scss": ["scss"],
875
+ "text/x-setext": ["etx"],
876
+ "text/x-sfv": ["sfv"],
877
+ "text/x-suse-ymp": ["ymp"],
878
+ "text/x-uuencode": ["uu"],
879
+ "text/x-vcalendar": ["vcs"],
880
+ "text/x-vcard": ["vcf"],
881
+ "video/vnd.dece.hd": ["uvh", "uvvh"],
882
+ "video/vnd.dece.mobile": ["uvm", "uvvm"],
883
+ "video/vnd.dece.pd": ["uvp", "uvvp"],
884
+ "video/vnd.dece.sd": ["uvs", "uvvs"],
885
+ "video/vnd.dece.video": ["uvv", "uvvv"],
886
+ "video/vnd.dvb.file": ["dvb"],
887
+ "video/vnd.fvt": ["fvt"],
888
+ "video/vnd.mpegurl": ["mxu", "m4u"],
889
+ "video/vnd.ms-playready.media.pyv": ["pyv"],
890
+ "video/vnd.uvvu.mp4": ["uvu", "uvvu"],
891
+ "video/vnd.vivo": ["viv"],
892
+ "video/x-f4v": ["f4v"],
893
+ "video/x-fli": ["fli"],
894
+ "video/x-flv": ["flv"],
895
+ "video/x-m4v": ["m4v"],
896
+ "video/x-matroska": [
897
+ "mkv",
898
+ "mk3d",
899
+ "mks"
900
+ ],
901
+ "video/x-mng": ["mng"],
902
+ "video/x-ms-asf": ["asf", "asx"],
903
+ "video/x-ms-vob": ["vob"],
904
+ "video/x-ms-wm": ["wm"],
905
+ "video/x-ms-wmv": ["wmv"],
906
+ "video/x-ms-wmx": ["wmx"],
907
+ "video/x-ms-wvx": ["wvx"],
908
+ "video/x-msvideo": ["avi"],
909
+ "video/x-sgi-movie": ["movie"],
910
+ "video/x-smv": ["smv"],
911
+ "x-conference/x-cooltalk": ["ice"]
912
+ };
913
+ Object.freeze(types$1);
914
+ var other_default = types$1;
137
915
 
138
- // ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/types/other.js
139
- var types = { "application/prs.cww": ["cww"], "application/prs.xsf+xml": ["xsf"], "application/vnd.1000minds.decision-model+xml": ["1km"], "application/vnd.3gpp.pic-bw-large": ["plb"], "application/vnd.3gpp.pic-bw-small": ["psb"], "application/vnd.3gpp.pic-bw-var": ["pvb"], "application/vnd.3gpp2.tcap": ["tcap"], "application/vnd.3m.post-it-notes": ["pwn"], "application/vnd.accpac.simply.aso": ["aso"], "application/vnd.accpac.simply.imp": ["imp"], "application/vnd.acucobol": ["acu"], "application/vnd.acucorp": ["atc", "acutc"], "application/vnd.adobe.air-application-installer-package+zip": ["air"], "application/vnd.adobe.formscentral.fcdt": ["fcdt"], "application/vnd.adobe.fxp": ["fxp", "fxpl"], "application/vnd.adobe.xdp+xml": ["xdp"], "application/vnd.adobe.xfdf": ["*xfdf"], "application/vnd.age": ["age"], "application/vnd.ahead.space": ["ahead"], "application/vnd.airzip.filesecure.azf": ["azf"], "application/vnd.airzip.filesecure.azs": ["azs"], "application/vnd.amazon.ebook": ["azw"], "application/vnd.americandynamics.acc": ["acc"], "application/vnd.amiga.ami": ["ami"], "application/vnd.android.package-archive": ["apk"], "application/vnd.anser-web-certificate-issue-initiation": ["cii"], "application/vnd.anser-web-funds-transfer-initiation": ["fti"], "application/vnd.antix.game-component": ["atx"], "application/vnd.apple.installer+xml": ["mpkg"], "application/vnd.apple.keynote": ["key"], "application/vnd.apple.mpegurl": ["m3u8"], "application/vnd.apple.numbers": ["numbers"], "application/vnd.apple.pages": ["pages"], "application/vnd.apple.pkpass": ["pkpass"], "application/vnd.aristanetworks.swi": ["swi"], "application/vnd.astraea-software.iota": ["iota"], "application/vnd.audiograph": ["aep"], "application/vnd.balsamiq.bmml+xml": ["bmml"], "application/vnd.blueice.multipass": ["mpm"], "application/vnd.bmi": ["bmi"], "application/vnd.businessobjects": ["rep"], "application/vnd.chemdraw+xml": ["cdxml"], "application/vnd.chipnuts.karaoke-mmd": ["mmd"], "application/vnd.cinderella": ["cdy"], "application/vnd.citationstyles.style+xml": ["csl"], "application/vnd.claymore": ["cla"], "application/vnd.cloanto.rp9": ["rp9"], "application/vnd.clonk.c4group": ["c4g", "c4d", "c4f", "c4p", "c4u"], "application/vnd.cluetrust.cartomobile-config": ["c11amc"], "application/vnd.cluetrust.cartomobile-config-pkg": ["c11amz"], "application/vnd.commonspace": ["csp"], "application/vnd.contact.cmsg": ["cdbcmsg"], "application/vnd.cosmocaller": ["cmc"], "application/vnd.crick.clicker": ["clkx"], "application/vnd.crick.clicker.keyboard": ["clkk"], "application/vnd.crick.clicker.palette": ["clkp"], "application/vnd.crick.clicker.template": ["clkt"], "application/vnd.crick.clicker.wordbank": ["clkw"], "application/vnd.criticaltools.wbs+xml": ["wbs"], "application/vnd.ctc-posml": ["pml"], "application/vnd.cups-ppd": ["ppd"], "application/vnd.curl.car": ["car"], "application/vnd.curl.pcurl": ["pcurl"], "application/vnd.dart": ["dart"], "application/vnd.data-vision.rdz": ["rdz"], "application/vnd.dbf": ["dbf"], "application/vnd.dece.data": ["uvf", "uvvf", "uvd", "uvvd"], "application/vnd.dece.ttml+xml": ["uvt", "uvvt"], "application/vnd.dece.unspecified": ["uvx", "uvvx"], "application/vnd.dece.zip": ["uvz", "uvvz"], "application/vnd.denovo.fcselayout-link": ["fe_launch"], "application/vnd.dna": ["dna"], "application/vnd.dolby.mlp": ["mlp"], "application/vnd.dpgraph": ["dpg"], "application/vnd.dreamfactory": ["dfac"], "application/vnd.ds-keypoint": ["kpxx"], "application/vnd.dvb.ait": ["ait"], "application/vnd.dvb.service": ["svc"], "application/vnd.dynageo": ["geo"], "application/vnd.ecowin.chart": ["mag"], "application/vnd.enliven": ["nml"], "application/vnd.epson.esf": ["esf"], "application/vnd.epson.msf": ["msf"], "application/vnd.epson.quickanime": ["qam"], "application/vnd.epson.salt": ["slt"], "application/vnd.epson.ssf": ["ssf"], "application/vnd.eszigno3+xml": ["es3", "et3"], "application/vnd.ezpix-album": ["ez2"], "application/vnd.ezpix-package": ["ez3"], "application/vnd.fdf": ["*fdf"], "application/vnd.fdsn.mseed": ["mseed"], "application/vnd.fdsn.seed": ["seed", "dataless"], "application/vnd.flographit": ["gph"], "application/vnd.fluxtime.clip": ["ftc"], "application/vnd.framemaker": ["fm", "frame", "maker", "book"], "application/vnd.frogans.fnc": ["fnc"], "application/vnd.frogans.ltf": ["ltf"], "application/vnd.fsc.weblaunch": ["fsc"], "application/vnd.fujitsu.oasys": ["oas"], "application/vnd.fujitsu.oasys2": ["oa2"], "application/vnd.fujitsu.oasys3": ["oa3"], "application/vnd.fujitsu.oasysgp": ["fg5"], "application/vnd.fujitsu.oasysprs": ["bh2"], "application/vnd.fujixerox.ddd": ["ddd"], "application/vnd.fujixerox.docuworks": ["xdw"], "application/vnd.fujixerox.docuworks.binder": ["xbd"], "application/vnd.fuzzysheet": ["fzs"], "application/vnd.genomatix.tuxedo": ["txd"], "application/vnd.geogebra.file": ["ggb"], "application/vnd.geogebra.tool": ["ggt"], "application/vnd.geometry-explorer": ["gex", "gre"], "application/vnd.geonext": ["gxt"], "application/vnd.geoplan": ["g2w"], "application/vnd.geospace": ["g3w"], "application/vnd.gmx": ["gmx"], "application/vnd.google-apps.document": ["gdoc"], "application/vnd.google-apps.presentation": ["gslides"], "application/vnd.google-apps.spreadsheet": ["gsheet"], "application/vnd.google-earth.kml+xml": ["kml"], "application/vnd.google-earth.kmz": ["kmz"], "application/vnd.grafeq": ["gqf", "gqs"], "application/vnd.groove-account": ["gac"], "application/vnd.groove-help": ["ghf"], "application/vnd.groove-identity-message": ["gim"], "application/vnd.groove-injector": ["grv"], "application/vnd.groove-tool-message": ["gtm"], "application/vnd.groove-tool-template": ["tpl"], "application/vnd.groove-vcard": ["vcg"], "application/vnd.hal+xml": ["hal"], "application/vnd.handheld-entertainment+xml": ["zmm"], "application/vnd.hbci": ["hbci"], "application/vnd.hhe.lesson-player": ["les"], "application/vnd.hp-hpgl": ["hpgl"], "application/vnd.hp-hpid": ["hpid"], "application/vnd.hp-hps": ["hps"], "application/vnd.hp-jlyt": ["jlt"], "application/vnd.hp-pcl": ["pcl"], "application/vnd.hp-pclxl": ["pclxl"], "application/vnd.hydrostatix.sof-data": ["sfd-hdstx"], "application/vnd.ibm.minipay": ["mpy"], "application/vnd.ibm.modcap": ["afp", "listafp", "list3820"], "application/vnd.ibm.rights-management": ["irm"], "application/vnd.ibm.secure-container": ["sc"], "application/vnd.iccprofile": ["icc", "icm"], "application/vnd.igloader": ["igl"], "application/vnd.immervision-ivp": ["ivp"], "application/vnd.immervision-ivu": ["ivu"], "application/vnd.insors.igm": ["igm"], "application/vnd.intercon.formnet": ["xpw", "xpx"], "application/vnd.intergeo": ["i2g"], "application/vnd.intu.qbo": ["qbo"], "application/vnd.intu.qfx": ["qfx"], "application/vnd.ipunplugged.rcprofile": ["rcprofile"], "application/vnd.irepository.package+xml": ["irp"], "application/vnd.is-xpr": ["xpr"], "application/vnd.isac.fcs": ["fcs"], "application/vnd.jam": ["jam"], "application/vnd.jcp.javame.midlet-rms": ["rms"], "application/vnd.jisp": ["jisp"], "application/vnd.joost.joda-archive": ["joda"], "application/vnd.kahootz": ["ktz", "ktr"], "application/vnd.kde.karbon": ["karbon"], "application/vnd.kde.kchart": ["chrt"], "application/vnd.kde.kformula": ["kfo"], "application/vnd.kde.kivio": ["flw"], "application/vnd.kde.kontour": ["kon"], "application/vnd.kde.kpresenter": ["kpr", "kpt"], "application/vnd.kde.kspread": ["ksp"], "application/vnd.kde.kword": ["kwd", "kwt"], "application/vnd.kenameaapp": ["htke"], "application/vnd.kidspiration": ["kia"], "application/vnd.kinar": ["kne", "knp"], "application/vnd.koan": ["skp", "skd", "skt", "skm"], "application/vnd.kodak-descriptor": ["sse"], "application/vnd.las.las+xml": ["lasxml"], "application/vnd.llamagraphics.life-balance.desktop": ["lbd"], "application/vnd.llamagraphics.life-balance.exchange+xml": ["lbe"], "application/vnd.lotus-1-2-3": ["123"], "application/vnd.lotus-approach": ["apr"], "application/vnd.lotus-freelance": ["pre"], "application/vnd.lotus-notes": ["nsf"], "application/vnd.lotus-organizer": ["org"], "application/vnd.lotus-screencam": ["scm"], "application/vnd.lotus-wordpro": ["lwp"], "application/vnd.macports.portpkg": ["portpkg"], "application/vnd.mapbox-vector-tile": ["mvt"], "application/vnd.mcd": ["mcd"], "application/vnd.medcalcdata": ["mc1"], "application/vnd.mediastation.cdkey": ["cdkey"], "application/vnd.mfer": ["mwf"], "application/vnd.mfmp": ["mfm"], "application/vnd.micrografx.flo": ["flo"], "application/vnd.micrografx.igx": ["igx"], "application/vnd.mif": ["mif"], "application/vnd.mobius.daf": ["daf"], "application/vnd.mobius.dis": ["dis"], "application/vnd.mobius.mbk": ["mbk"], "application/vnd.mobius.mqy": ["mqy"], "application/vnd.mobius.msl": ["msl"], "application/vnd.mobius.plc": ["plc"], "application/vnd.mobius.txf": ["txf"], "application/vnd.mophun.application": ["mpn"], "application/vnd.mophun.certificate": ["mpc"], "application/vnd.mozilla.xul+xml": ["xul"], "application/vnd.ms-artgalry": ["cil"], "application/vnd.ms-cab-compressed": ["cab"], "application/vnd.ms-excel": ["xls", "xlm", "xla", "xlc", "xlt", "xlw"], "application/vnd.ms-excel.addin.macroenabled.12": ["xlam"], "application/vnd.ms-excel.sheet.binary.macroenabled.12": ["xlsb"], "application/vnd.ms-excel.sheet.macroenabled.12": ["xlsm"], "application/vnd.ms-excel.template.macroenabled.12": ["xltm"], "application/vnd.ms-fontobject": ["eot"], "application/vnd.ms-htmlhelp": ["chm"], "application/vnd.ms-ims": ["ims"], "application/vnd.ms-lrm": ["lrm"], "application/vnd.ms-officetheme": ["thmx"], "application/vnd.ms-outlook": ["msg"], "application/vnd.ms-pki.seccat": ["cat"], "application/vnd.ms-pki.stl": ["*stl"], "application/vnd.ms-powerpoint": ["ppt", "pps", "pot"], "application/vnd.ms-powerpoint.addin.macroenabled.12": ["ppam"], "application/vnd.ms-powerpoint.presentation.macroenabled.12": ["pptm"], "application/vnd.ms-powerpoint.slide.macroenabled.12": ["sldm"], "application/vnd.ms-powerpoint.slideshow.macroenabled.12": ["ppsm"], "application/vnd.ms-powerpoint.template.macroenabled.12": ["potm"], "application/vnd.ms-project": ["*mpp", "mpt"], "application/vnd.ms-word.document.macroenabled.12": ["docm"], "application/vnd.ms-word.template.macroenabled.12": ["dotm"], "application/vnd.ms-works": ["wps", "wks", "wcm", "wdb"], "application/vnd.ms-wpl": ["wpl"], "application/vnd.ms-xpsdocument": ["xps"], "application/vnd.mseq": ["mseq"], "application/vnd.musician": ["mus"], "application/vnd.muvee.style": ["msty"], "application/vnd.mynfc": ["taglet"], "application/vnd.neurolanguage.nlu": ["nlu"], "application/vnd.nitf": ["ntf", "nitf"], "application/vnd.noblenet-directory": ["nnd"], "application/vnd.noblenet-sealer": ["nns"], "application/vnd.noblenet-web": ["nnw"], "application/vnd.nokia.n-gage.ac+xml": ["*ac"], "application/vnd.nokia.n-gage.data": ["ngdat"], "application/vnd.nokia.n-gage.symbian.install": ["n-gage"], "application/vnd.nokia.radio-preset": ["rpst"], "application/vnd.nokia.radio-presets": ["rpss"], "application/vnd.novadigm.edm": ["edm"], "application/vnd.novadigm.edx": ["edx"], "application/vnd.novadigm.ext": ["ext"], "application/vnd.oasis.opendocument.chart": ["odc"], "application/vnd.oasis.opendocument.chart-template": ["otc"], "application/vnd.oasis.opendocument.database": ["odb"], "application/vnd.oasis.opendocument.formula": ["odf"], "application/vnd.oasis.opendocument.formula-template": ["odft"], "application/vnd.oasis.opendocument.graphics": ["odg"], "application/vnd.oasis.opendocument.graphics-template": ["otg"], "application/vnd.oasis.opendocument.image": ["odi"], "application/vnd.oasis.opendocument.image-template": ["oti"], "application/vnd.oasis.opendocument.presentation": ["odp"], "application/vnd.oasis.opendocument.presentation-template": ["otp"], "application/vnd.oasis.opendocument.spreadsheet": ["ods"], "application/vnd.oasis.opendocument.spreadsheet-template": ["ots"], "application/vnd.oasis.opendocument.text": ["odt"], "application/vnd.oasis.opendocument.text-master": ["odm"], "application/vnd.oasis.opendocument.text-template": ["ott"], "application/vnd.oasis.opendocument.text-web": ["oth"], "application/vnd.olpc-sugar": ["xo"], "application/vnd.oma.dd2+xml": ["dd2"], "application/vnd.openblox.game+xml": ["obgx"], "application/vnd.openofficeorg.extension": ["oxt"], "application/vnd.openstreetmap.data+xml": ["osm"], "application/vnd.openxmlformats-officedocument.presentationml.presentation": ["pptx"], "application/vnd.openxmlformats-officedocument.presentationml.slide": ["sldx"], "application/vnd.openxmlformats-officedocument.presentationml.slideshow": ["ppsx"], "application/vnd.openxmlformats-officedocument.presentationml.template": ["potx"], "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": ["xlsx"], "application/vnd.openxmlformats-officedocument.spreadsheetml.template": ["xltx"], "application/vnd.openxmlformats-officedocument.wordprocessingml.document": ["docx"], "application/vnd.openxmlformats-officedocument.wordprocessingml.template": ["dotx"], "application/vnd.osgeo.mapguide.package": ["mgp"], "application/vnd.osgi.dp": ["dp"], "application/vnd.osgi.subsystem": ["esa"], "application/vnd.palm": ["pdb", "pqa", "oprc"], "application/vnd.pawaafile": ["paw"], "application/vnd.pg.format": ["str"], "application/vnd.pg.osasli": ["ei6"], "application/vnd.picsel": ["efif"], "application/vnd.pmi.widget": ["wg"], "application/vnd.pocketlearn": ["plf"], "application/vnd.powerbuilder6": ["pbd"], "application/vnd.previewsystems.box": ["box"], "application/vnd.proteus.magazine": ["mgz"], "application/vnd.publishare-delta-tree": ["qps"], "application/vnd.pvi.ptid1": ["ptid"], "application/vnd.pwg-xhtml-print+xml": ["xhtm"], "application/vnd.quark.quarkxpress": ["qxd", "qxt", "qwd", "qwt", "qxl", "qxb"], "application/vnd.rar": ["rar"], "application/vnd.realvnc.bed": ["bed"], "application/vnd.recordare.musicxml": ["mxl"], "application/vnd.recordare.musicxml+xml": ["musicxml"], "application/vnd.rig.cryptonote": ["cryptonote"], "application/vnd.rim.cod": ["cod"], "application/vnd.rn-realmedia": ["rm"], "application/vnd.rn-realmedia-vbr": ["rmvb"], "application/vnd.route66.link66+xml": ["link66"], "application/vnd.sailingtracker.track": ["st"], "application/vnd.seemail": ["see"], "application/vnd.sema": ["sema"], "application/vnd.semd": ["semd"], "application/vnd.semf": ["semf"], "application/vnd.shana.informed.formdata": ["ifm"], "application/vnd.shana.informed.formtemplate": ["itp"], "application/vnd.shana.informed.interchange": ["iif"], "application/vnd.shana.informed.package": ["ipk"], "application/vnd.simtech-mindmapper": ["twd", "twds"], "application/vnd.smaf": ["mmf"], "application/vnd.smart.teacher": ["teacher"], "application/vnd.software602.filler.form+xml": ["fo"], "application/vnd.solent.sdkm+xml": ["sdkm", "sdkd"], "application/vnd.spotfire.dxp": ["dxp"], "application/vnd.spotfire.sfs": ["sfs"], "application/vnd.stardivision.calc": ["sdc"], "application/vnd.stardivision.draw": ["sda"], "application/vnd.stardivision.impress": ["sdd"], "application/vnd.stardivision.math": ["smf"], "application/vnd.stardivision.writer": ["sdw", "vor"], "application/vnd.stardivision.writer-global": ["sgl"], "application/vnd.stepmania.package": ["smzip"], "application/vnd.stepmania.stepchart": ["sm"], "application/vnd.sun.wadl+xml": ["wadl"], "application/vnd.sun.xml.calc": ["sxc"], "application/vnd.sun.xml.calc.template": ["stc"], "application/vnd.sun.xml.draw": ["sxd"], "application/vnd.sun.xml.draw.template": ["std"], "application/vnd.sun.xml.impress": ["sxi"], "application/vnd.sun.xml.impress.template": ["sti"], "application/vnd.sun.xml.math": ["sxm"], "application/vnd.sun.xml.writer": ["sxw"], "application/vnd.sun.xml.writer.global": ["sxg"], "application/vnd.sun.xml.writer.template": ["stw"], "application/vnd.sus-calendar": ["sus", "susp"], "application/vnd.svd": ["svd"], "application/vnd.symbian.install": ["sis", "sisx"], "application/vnd.syncml+xml": ["xsm"], "application/vnd.syncml.dm+wbxml": ["bdm"], "application/vnd.syncml.dm+xml": ["xdm"], "application/vnd.syncml.dmddf+xml": ["ddf"], "application/vnd.tao.intent-module-archive": ["tao"], "application/vnd.tcpdump.pcap": ["pcap", "cap", "dmp"], "application/vnd.tmobile-livetv": ["tmo"], "application/vnd.trid.tpt": ["tpt"], "application/vnd.triscape.mxs": ["mxs"], "application/vnd.trueapp": ["tra"], "application/vnd.ufdl": ["ufd", "ufdl"], "application/vnd.uiq.theme": ["utz"], "application/vnd.umajin": ["umj"], "application/vnd.unity": ["unityweb"], "application/vnd.uoml+xml": ["uoml", "uo"], "application/vnd.vcx": ["vcx"], "application/vnd.visio": ["vsd", "vst", "vss", "vsw"], "application/vnd.visionary": ["vis"], "application/vnd.vsf": ["vsf"], "application/vnd.wap.wbxml": ["wbxml"], "application/vnd.wap.wmlc": ["wmlc"], "application/vnd.wap.wmlscriptc": ["wmlsc"], "application/vnd.webturbo": ["wtb"], "application/vnd.wolfram.player": ["nbp"], "application/vnd.wordperfect": ["wpd"], "application/vnd.wqd": ["wqd"], "application/vnd.wt.stf": ["stf"], "application/vnd.xara": ["xar"], "application/vnd.xfdl": ["xfdl"], "application/vnd.yamaha.hv-dic": ["hvd"], "application/vnd.yamaha.hv-script": ["hvs"], "application/vnd.yamaha.hv-voice": ["hvp"], "application/vnd.yamaha.openscoreformat": ["osf"], "application/vnd.yamaha.openscoreformat.osfpvg+xml": ["osfpvg"], "application/vnd.yamaha.smaf-audio": ["saf"], "application/vnd.yamaha.smaf-phrase": ["spf"], "application/vnd.yellowriver-custom-menu": ["cmp"], "application/vnd.zul": ["zir", "zirz"], "application/vnd.zzazz.deck+xml": ["zaz"], "application/x-7z-compressed": ["7z"], "application/x-abiword": ["abw"], "application/x-ace-compressed": ["ace"], "application/x-apple-diskimage": ["*dmg"], "application/x-arj": ["arj"], "application/x-authorware-bin": ["aab", "x32", "u32", "vox"], "application/x-authorware-map": ["aam"], "application/x-authorware-seg": ["aas"], "application/x-bcpio": ["bcpio"], "application/x-bdoc": ["*bdoc"], "application/x-bittorrent": ["torrent"], "application/x-blorb": ["blb", "blorb"], "application/x-bzip": ["bz"], "application/x-bzip2": ["bz2", "boz"], "application/x-cbr": ["cbr", "cba", "cbt", "cbz", "cb7"], "application/x-cdlink": ["vcd"], "application/x-cfs-compressed": ["cfs"], "application/x-chat": ["chat"], "application/x-chess-pgn": ["pgn"], "application/x-chrome-extension": ["crx"], "application/x-cocoa": ["cco"], "application/x-conference": ["nsc"], "application/x-cpio": ["cpio"], "application/x-csh": ["csh"], "application/x-debian-package": ["*deb", "udeb"], "application/x-dgc-compressed": ["dgc"], "application/x-director": ["dir", "dcr", "dxr", "cst", "cct", "cxt", "w3d", "fgd", "swa"], "application/x-doom": ["wad"], "application/x-dtbncx+xml": ["ncx"], "application/x-dtbook+xml": ["dtb"], "application/x-dtbresource+xml": ["res"], "application/x-dvi": ["dvi"], "application/x-envoy": ["evy"], "application/x-eva": ["eva"], "application/x-font-bdf": ["bdf"], "application/x-font-ghostscript": ["gsf"], "application/x-font-linux-psf": ["psf"], "application/x-font-pcf": ["pcf"], "application/x-font-snf": ["snf"], "application/x-font-type1": ["pfa", "pfb", "pfm", "afm"], "application/x-freearc": ["arc"], "application/x-futuresplash": ["spl"], "application/x-gca-compressed": ["gca"], "application/x-glulx": ["ulx"], "application/x-gnumeric": ["gnumeric"], "application/x-gramps-xml": ["gramps"], "application/x-gtar": ["gtar"], "application/x-hdf": ["hdf"], "application/x-httpd-php": ["php"], "application/x-install-instructions": ["install"], "application/x-iso9660-image": ["*iso"], "application/x-iwork-keynote-sffkey": ["*key"], "application/x-iwork-numbers-sffnumbers": ["*numbers"], "application/x-iwork-pages-sffpages": ["*pages"], "application/x-java-archive-diff": ["jardiff"], "application/x-java-jnlp-file": ["jnlp"], "application/x-keepass2": ["kdbx"], "application/x-latex": ["latex"], "application/x-lua-bytecode": ["luac"], "application/x-lzh-compressed": ["lzh", "lha"], "application/x-makeself": ["run"], "application/x-mie": ["mie"], "application/x-mobipocket-ebook": ["*prc", "mobi"], "application/x-ms-application": ["application"], "application/x-ms-shortcut": ["lnk"], "application/x-ms-wmd": ["wmd"], "application/x-ms-wmz": ["wmz"], "application/x-ms-xbap": ["xbap"], "application/x-msaccess": ["mdb"], "application/x-msbinder": ["obd"], "application/x-mscardfile": ["crd"], "application/x-msclip": ["clp"], "application/x-msdos-program": ["*exe"], "application/x-msdownload": ["*exe", "*dll", "com", "bat", "*msi"], "application/x-msmediaview": ["mvb", "m13", "m14"], "application/x-msmetafile": ["*wmf", "*wmz", "*emf", "emz"], "application/x-msmoney": ["mny"], "application/x-mspublisher": ["pub"], "application/x-msschedule": ["scd"], "application/x-msterminal": ["trm"], "application/x-mswrite": ["wri"], "application/x-netcdf": ["nc", "cdf"], "application/x-ns-proxy-autoconfig": ["pac"], "application/x-nzb": ["nzb"], "application/x-perl": ["pl", "pm"], "application/x-pilot": ["*prc", "*pdb"], "application/x-pkcs12": ["p12", "pfx"], "application/x-pkcs7-certificates": ["p7b", "spc"], "application/x-pkcs7-certreqresp": ["p7r"], "application/x-rar-compressed": ["*rar"], "application/x-redhat-package-manager": ["rpm"], "application/x-research-info-systems": ["ris"], "application/x-sea": ["sea"], "application/x-sh": ["sh"], "application/x-shar": ["shar"], "application/x-shockwave-flash": ["swf"], "application/x-silverlight-app": ["xap"], "application/x-sql": ["*sql"], "application/x-stuffit": ["sit"], "application/x-stuffitx": ["sitx"], "application/x-subrip": ["srt"], "application/x-sv4cpio": ["sv4cpio"], "application/x-sv4crc": ["sv4crc"], "application/x-t3vm-image": ["t3"], "application/x-tads": ["gam"], "application/x-tar": ["tar"], "application/x-tcl": ["tcl", "tk"], "application/x-tex": ["tex"], "application/x-tex-tfm": ["tfm"], "application/x-texinfo": ["texinfo", "texi"], "application/x-tgif": ["*obj"], "application/x-ustar": ["ustar"], "application/x-virtualbox-hdd": ["hdd"], "application/x-virtualbox-ova": ["ova"], "application/x-virtualbox-ovf": ["ovf"], "application/x-virtualbox-vbox": ["vbox"], "application/x-virtualbox-vbox-extpack": ["vbox-extpack"], "application/x-virtualbox-vdi": ["vdi"], "application/x-virtualbox-vhd": ["vhd"], "application/x-virtualbox-vmdk": ["vmdk"], "application/x-wais-source": ["src"], "application/x-web-app-manifest+json": ["webapp"], "application/x-x509-ca-cert": ["der", "crt", "pem"], "application/x-xfig": ["fig"], "application/x-xliff+xml": ["*xlf"], "application/x-xpinstall": ["xpi"], "application/x-xz": ["xz"], "application/x-zmachine": ["z1", "z2", "z3", "z4", "z5", "z6", "z7", "z8"], "audio/vnd.dece.audio": ["uva", "uvva"], "audio/vnd.digital-winds": ["eol"], "audio/vnd.dra": ["dra"], "audio/vnd.dts": ["dts"], "audio/vnd.dts.hd": ["dtshd"], "audio/vnd.lucent.voice": ["lvp"], "audio/vnd.ms-playready.media.pya": ["pya"], "audio/vnd.nuera.ecelp4800": ["ecelp4800"], "audio/vnd.nuera.ecelp7470": ["ecelp7470"], "audio/vnd.nuera.ecelp9600": ["ecelp9600"], "audio/vnd.rip": ["rip"], "audio/x-aac": ["*aac"], "audio/x-aiff": ["aif", "aiff", "aifc"], "audio/x-caf": ["caf"], "audio/x-flac": ["flac"], "audio/x-m4a": ["*m4a"], "audio/x-matroska": ["mka"], "audio/x-mpegurl": ["m3u"], "audio/x-ms-wax": ["wax"], "audio/x-ms-wma": ["wma"], "audio/x-pn-realaudio": ["ram", "ra"], "audio/x-pn-realaudio-plugin": ["rmp"], "audio/x-realaudio": ["*ra"], "audio/x-wav": ["*wav"], "chemical/x-cdx": ["cdx"], "chemical/x-cif": ["cif"], "chemical/x-cmdf": ["cmdf"], "chemical/x-cml": ["cml"], "chemical/x-csml": ["csml"], "chemical/x-xyz": ["xyz"], "image/prs.btif": ["btif", "btf"], "image/prs.pti": ["pti"], "image/vnd.adobe.photoshop": ["psd"], "image/vnd.airzip.accelerator.azv": ["azv"], "image/vnd.dece.graphic": ["uvi", "uvvi", "uvg", "uvvg"], "image/vnd.djvu": ["djvu", "djv"], "image/vnd.dvb.subtitle": ["*sub"], "image/vnd.dwg": ["dwg"], "image/vnd.dxf": ["dxf"], "image/vnd.fastbidsheet": ["fbs"], "image/vnd.fpx": ["fpx"], "image/vnd.fst": ["fst"], "image/vnd.fujixerox.edmics-mmr": ["mmr"], "image/vnd.fujixerox.edmics-rlc": ["rlc"], "image/vnd.microsoft.icon": ["ico"], "image/vnd.ms-dds": ["dds"], "image/vnd.ms-modi": ["mdi"], "image/vnd.ms-photo": ["wdp"], "image/vnd.net-fpx": ["npx"], "image/vnd.pco.b16": ["b16"], "image/vnd.tencent.tap": ["tap"], "image/vnd.valve.source.texture": ["vtf"], "image/vnd.wap.wbmp": ["wbmp"], "image/vnd.xiff": ["xif"], "image/vnd.zbrush.pcx": ["pcx"], "image/x-3ds": ["3ds"], "image/x-cmu-raster": ["ras"], "image/x-cmx": ["cmx"], "image/x-freehand": ["fh", "fhc", "fh4", "fh5", "fh7"], "image/x-icon": ["*ico"], "image/x-jng": ["jng"], "image/x-mrsid-image": ["sid"], "image/x-ms-bmp": ["*bmp"], "image/x-pcx": ["*pcx"], "image/x-pict": ["pic", "pct"], "image/x-portable-anymap": ["pnm"], "image/x-portable-bitmap": ["pbm"], "image/x-portable-graymap": ["pgm"], "image/x-portable-pixmap": ["ppm"], "image/x-rgb": ["rgb"], "image/x-tga": ["tga"], "image/x-xbitmap": ["xbm"], "image/x-xpixmap": ["xpm"], "image/x-xwindowdump": ["xwd"], "message/vnd.wfa.wsc": ["wsc"], "model/vnd.cld": ["cld"], "model/vnd.collada+xml": ["dae"], "model/vnd.dwf": ["dwf"], "model/vnd.gdl": ["gdl"], "model/vnd.gtw": ["gtw"], "model/vnd.mts": ["mts"], "model/vnd.opengex": ["ogex"], "model/vnd.parasolid.transmit.binary": ["x_b"], "model/vnd.parasolid.transmit.text": ["x_t"], "model/vnd.pytha.pyox": ["pyo", "pyox"], "model/vnd.sap.vds": ["vds"], "model/vnd.usda": ["usda"], "model/vnd.usdz+zip": ["usdz"], "model/vnd.valve.source.compiled-map": ["bsp"], "model/vnd.vtu": ["vtu"], "text/prs.lines.tag": ["dsc"], "text/vnd.curl": ["curl"], "text/vnd.curl.dcurl": ["dcurl"], "text/vnd.curl.mcurl": ["mcurl"], "text/vnd.curl.scurl": ["scurl"], "text/vnd.dvb.subtitle": ["sub"], "text/vnd.familysearch.gedcom": ["ged"], "text/vnd.fly": ["fly"], "text/vnd.fmi.flexstor": ["flx"], "text/vnd.graphviz": ["gv"], "text/vnd.in3d.3dml": ["3dml"], "text/vnd.in3d.spot": ["spot"], "text/vnd.sun.j2me.app-descriptor": ["jad"], "text/vnd.wap.wml": ["wml"], "text/vnd.wap.wmlscript": ["wmls"], "text/x-asm": ["s", "asm"], "text/x-c": ["c", "cc", "cxx", "cpp", "h", "hh", "dic"], "text/x-component": ["htc"], "text/x-fortran": ["f", "for", "f77", "f90"], "text/x-handlebars-template": ["hbs"], "text/x-java-source": ["java"], "text/x-lua": ["lua"], "text/x-markdown": ["mkd"], "text/x-nfo": ["nfo"], "text/x-opml": ["opml"], "text/x-org": ["*org"], "text/x-pascal": ["p", "pas"], "text/x-processing": ["pde"], "text/x-sass": ["sass"], "text/x-scss": ["scss"], "text/x-setext": ["etx"], "text/x-sfv": ["sfv"], "text/x-suse-ymp": ["ymp"], "text/x-uuencode": ["uu"], "text/x-vcalendar": ["vcs"], "text/x-vcard": ["vcf"], "video/vnd.dece.hd": ["uvh", "uvvh"], "video/vnd.dece.mobile": ["uvm", "uvvm"], "video/vnd.dece.pd": ["uvp", "uvvp"], "video/vnd.dece.sd": ["uvs", "uvvs"], "video/vnd.dece.video": ["uvv", "uvvv"], "video/vnd.dvb.file": ["dvb"], "video/vnd.fvt": ["fvt"], "video/vnd.mpegurl": ["mxu", "m4u"], "video/vnd.ms-playready.media.pyv": ["pyv"], "video/vnd.uvvu.mp4": ["uvu", "uvvu"], "video/vnd.vivo": ["viv"], "video/x-f4v": ["f4v"], "video/x-fli": ["fli"], "video/x-flv": ["flv"], "video/x-m4v": ["m4v"], "video/x-matroska": ["mkv", "mk3d", "mks"], "video/x-mng": ["mng"], "video/x-ms-asf": ["asf", "asx"], "video/x-ms-vob": ["vob"], "video/x-ms-wm": ["wm"], "video/x-ms-wmv": ["wmv"], "video/x-ms-wmx": ["wmx"], "video/x-ms-wvx": ["wvx"], "video/x-msvideo": ["avi"], "video/x-sgi-movie": ["movie"], "video/x-smv": ["smv"], "x-conference/x-cooltalk": ["ice"] };
916
+ //#endregion
917
+ //#region ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/types/standard.js
918
+ const types = {
919
+ "application/andrew-inset": ["ez"],
920
+ "application/appinstaller": ["appinstaller"],
921
+ "application/applixware": ["aw"],
922
+ "application/appx": ["appx"],
923
+ "application/appxbundle": ["appxbundle"],
924
+ "application/atom+xml": ["atom"],
925
+ "application/atomcat+xml": ["atomcat"],
926
+ "application/atomdeleted+xml": ["atomdeleted"],
927
+ "application/atomsvc+xml": ["atomsvc"],
928
+ "application/atsc-dwd+xml": ["dwd"],
929
+ "application/atsc-held+xml": ["held"],
930
+ "application/atsc-rsat+xml": ["rsat"],
931
+ "application/automationml-aml+xml": ["aml"],
932
+ "application/automationml-amlx+zip": ["amlx"],
933
+ "application/bdoc": ["bdoc"],
934
+ "application/calendar+xml": ["xcs"],
935
+ "application/ccxml+xml": ["ccxml"],
936
+ "application/cdfx+xml": ["cdfx"],
937
+ "application/cdmi-capability": ["cdmia"],
938
+ "application/cdmi-container": ["cdmic"],
939
+ "application/cdmi-domain": ["cdmid"],
940
+ "application/cdmi-object": ["cdmio"],
941
+ "application/cdmi-queue": ["cdmiq"],
942
+ "application/cpl+xml": ["cpl"],
943
+ "application/cu-seeme": ["cu"],
944
+ "application/cwl": ["cwl"],
945
+ "application/dash+xml": ["mpd"],
946
+ "application/dash-patch+xml": ["mpp"],
947
+ "application/davmount+xml": ["davmount"],
948
+ "application/docbook+xml": ["dbk"],
949
+ "application/dssc+der": ["dssc"],
950
+ "application/dssc+xml": ["xdssc"],
951
+ "application/ecmascript": ["ecma"],
952
+ "application/emma+xml": ["emma"],
953
+ "application/emotionml+xml": ["emotionml"],
954
+ "application/epub+zip": ["epub"],
955
+ "application/exi": ["exi"],
956
+ "application/express": ["exp"],
957
+ "application/fdf": ["fdf"],
958
+ "application/fdt+xml": ["fdt"],
959
+ "application/font-tdpfr": ["pfr"],
960
+ "application/geo+json": ["geojson"],
961
+ "application/gml+xml": ["gml"],
962
+ "application/gpx+xml": ["gpx"],
963
+ "application/gxf": ["gxf"],
964
+ "application/gzip": ["gz"],
965
+ "application/hjson": ["hjson"],
966
+ "application/hyperstudio": ["stk"],
967
+ "application/inkml+xml": ["ink", "inkml"],
968
+ "application/ipfix": ["ipfix"],
969
+ "application/its+xml": ["its"],
970
+ "application/java-archive": [
971
+ "jar",
972
+ "war",
973
+ "ear"
974
+ ],
975
+ "application/java-serialized-object": ["ser"],
976
+ "application/java-vm": ["class"],
977
+ "application/javascript": ["*js"],
978
+ "application/json": ["json", "map"],
979
+ "application/json5": ["json5"],
980
+ "application/jsonml+json": ["jsonml"],
981
+ "application/ld+json": ["jsonld"],
982
+ "application/lgr+xml": ["lgr"],
983
+ "application/lost+xml": ["lostxml"],
984
+ "application/mac-binhex40": ["hqx"],
985
+ "application/mac-compactpro": ["cpt"],
986
+ "application/mads+xml": ["mads"],
987
+ "application/manifest+json": ["webmanifest"],
988
+ "application/marc": ["mrc"],
989
+ "application/marcxml+xml": ["mrcx"],
990
+ "application/mathematica": [
991
+ "ma",
992
+ "nb",
993
+ "mb"
994
+ ],
995
+ "application/mathml+xml": ["mathml"],
996
+ "application/mbox": ["mbox"],
997
+ "application/media-policy-dataset+xml": ["mpf"],
998
+ "application/mediaservercontrol+xml": ["mscml"],
999
+ "application/metalink+xml": ["metalink"],
1000
+ "application/metalink4+xml": ["meta4"],
1001
+ "application/mets+xml": ["mets"],
1002
+ "application/mmt-aei+xml": ["maei"],
1003
+ "application/mmt-usd+xml": ["musd"],
1004
+ "application/mods+xml": ["mods"],
1005
+ "application/mp21": ["m21", "mp21"],
1006
+ "application/mp4": [
1007
+ "*mp4",
1008
+ "*mpg4",
1009
+ "mp4s",
1010
+ "m4p"
1011
+ ],
1012
+ "application/msix": ["msix"],
1013
+ "application/msixbundle": ["msixbundle"],
1014
+ "application/msword": ["doc", "dot"],
1015
+ "application/mxf": ["mxf"],
1016
+ "application/n-quads": ["nq"],
1017
+ "application/n-triples": ["nt"],
1018
+ "application/node": ["cjs"],
1019
+ "application/octet-stream": [
1020
+ "bin",
1021
+ "dms",
1022
+ "lrf",
1023
+ "mar",
1024
+ "so",
1025
+ "dist",
1026
+ "distz",
1027
+ "pkg",
1028
+ "bpk",
1029
+ "dump",
1030
+ "elc",
1031
+ "deploy",
1032
+ "exe",
1033
+ "dll",
1034
+ "deb",
1035
+ "dmg",
1036
+ "iso",
1037
+ "img",
1038
+ "msi",
1039
+ "msp",
1040
+ "msm",
1041
+ "buffer"
1042
+ ],
1043
+ "application/oda": ["oda"],
1044
+ "application/oebps-package+xml": ["opf"],
1045
+ "application/ogg": ["ogx"],
1046
+ "application/omdoc+xml": ["omdoc"],
1047
+ "application/onenote": [
1048
+ "onetoc",
1049
+ "onetoc2",
1050
+ "onetmp",
1051
+ "onepkg"
1052
+ ],
1053
+ "application/oxps": ["oxps"],
1054
+ "application/p2p-overlay+xml": ["relo"],
1055
+ "application/patch-ops-error+xml": ["xer"],
1056
+ "application/pdf": ["pdf"],
1057
+ "application/pgp-encrypted": ["pgp"],
1058
+ "application/pgp-keys": ["asc"],
1059
+ "application/pgp-signature": ["sig", "*asc"],
1060
+ "application/pics-rules": ["prf"],
1061
+ "application/pkcs10": ["p10"],
1062
+ "application/pkcs7-mime": ["p7m", "p7c"],
1063
+ "application/pkcs7-signature": ["p7s"],
1064
+ "application/pkcs8": ["p8"],
1065
+ "application/pkix-attr-cert": ["ac"],
1066
+ "application/pkix-cert": ["cer"],
1067
+ "application/pkix-crl": ["crl"],
1068
+ "application/pkix-pkipath": ["pkipath"],
1069
+ "application/pkixcmp": ["pki"],
1070
+ "application/pls+xml": ["pls"],
1071
+ "application/postscript": [
1072
+ "ai",
1073
+ "eps",
1074
+ "ps"
1075
+ ],
1076
+ "application/provenance+xml": ["provx"],
1077
+ "application/pskc+xml": ["pskcxml"],
1078
+ "application/raml+yaml": ["raml"],
1079
+ "application/rdf+xml": ["rdf", "owl"],
1080
+ "application/reginfo+xml": ["rif"],
1081
+ "application/relax-ng-compact-syntax": ["rnc"],
1082
+ "application/resource-lists+xml": ["rl"],
1083
+ "application/resource-lists-diff+xml": ["rld"],
1084
+ "application/rls-services+xml": ["rs"],
1085
+ "application/route-apd+xml": ["rapd"],
1086
+ "application/route-s-tsid+xml": ["sls"],
1087
+ "application/route-usd+xml": ["rusd"],
1088
+ "application/rpki-ghostbusters": ["gbr"],
1089
+ "application/rpki-manifest": ["mft"],
1090
+ "application/rpki-roa": ["roa"],
1091
+ "application/rsd+xml": ["rsd"],
1092
+ "application/rss+xml": ["rss"],
1093
+ "application/rtf": ["rtf"],
1094
+ "application/sbml+xml": ["sbml"],
1095
+ "application/scvp-cv-request": ["scq"],
1096
+ "application/scvp-cv-response": ["scs"],
1097
+ "application/scvp-vp-request": ["spq"],
1098
+ "application/scvp-vp-response": ["spp"],
1099
+ "application/sdp": ["sdp"],
1100
+ "application/senml+xml": ["senmlx"],
1101
+ "application/sensml+xml": ["sensmlx"],
1102
+ "application/set-payment-initiation": ["setpay"],
1103
+ "application/set-registration-initiation": ["setreg"],
1104
+ "application/shf+xml": ["shf"],
1105
+ "application/sieve": ["siv", "sieve"],
1106
+ "application/smil+xml": ["smi", "smil"],
1107
+ "application/sparql-query": ["rq"],
1108
+ "application/sparql-results+xml": ["srx"],
1109
+ "application/sql": ["sql"],
1110
+ "application/srgs": ["gram"],
1111
+ "application/srgs+xml": ["grxml"],
1112
+ "application/sru+xml": ["sru"],
1113
+ "application/ssdl+xml": ["ssdl"],
1114
+ "application/ssml+xml": ["ssml"],
1115
+ "application/swid+xml": ["swidtag"],
1116
+ "application/tei+xml": ["tei", "teicorpus"],
1117
+ "application/thraud+xml": ["tfi"],
1118
+ "application/timestamped-data": ["tsd"],
1119
+ "application/toml": ["toml"],
1120
+ "application/trig": ["trig"],
1121
+ "application/ttml+xml": ["ttml"],
1122
+ "application/ubjson": ["ubj"],
1123
+ "application/urc-ressheet+xml": ["rsheet"],
1124
+ "application/urc-targetdesc+xml": ["td"],
1125
+ "application/voicexml+xml": ["vxml"],
1126
+ "application/wasm": ["wasm"],
1127
+ "application/watcherinfo+xml": ["wif"],
1128
+ "application/widget": ["wgt"],
1129
+ "application/winhlp": ["hlp"],
1130
+ "application/wsdl+xml": ["wsdl"],
1131
+ "application/wspolicy+xml": ["wspolicy"],
1132
+ "application/xaml+xml": ["xaml"],
1133
+ "application/xcap-att+xml": ["xav"],
1134
+ "application/xcap-caps+xml": ["xca"],
1135
+ "application/xcap-diff+xml": ["xdf"],
1136
+ "application/xcap-el+xml": ["xel"],
1137
+ "application/xcap-ns+xml": ["xns"],
1138
+ "application/xenc+xml": ["xenc"],
1139
+ "application/xfdf": ["xfdf"],
1140
+ "application/xhtml+xml": ["xhtml", "xht"],
1141
+ "application/xliff+xml": ["xlf"],
1142
+ "application/xml": [
1143
+ "xml",
1144
+ "xsl",
1145
+ "xsd",
1146
+ "rng"
1147
+ ],
1148
+ "application/xml-dtd": ["dtd"],
1149
+ "application/xop+xml": ["xop"],
1150
+ "application/xproc+xml": ["xpl"],
1151
+ "application/xslt+xml": ["*xsl", "xslt"],
1152
+ "application/xspf+xml": ["xspf"],
1153
+ "application/xv+xml": [
1154
+ "mxml",
1155
+ "xhvml",
1156
+ "xvml",
1157
+ "xvm"
1158
+ ],
1159
+ "application/yang": ["yang"],
1160
+ "application/yin+xml": ["yin"],
1161
+ "application/zip": ["zip"],
1162
+ "audio/3gpp": ["*3gpp"],
1163
+ "audio/aac": ["adts", "aac"],
1164
+ "audio/adpcm": ["adp"],
1165
+ "audio/amr": ["amr"],
1166
+ "audio/basic": ["au", "snd"],
1167
+ "audio/midi": [
1168
+ "mid",
1169
+ "midi",
1170
+ "kar",
1171
+ "rmi"
1172
+ ],
1173
+ "audio/mobile-xmf": ["mxmf"],
1174
+ "audio/mp3": ["*mp3"],
1175
+ "audio/mp4": ["m4a", "mp4a"],
1176
+ "audio/mpeg": [
1177
+ "mpga",
1178
+ "mp2",
1179
+ "mp2a",
1180
+ "mp3",
1181
+ "m2a",
1182
+ "m3a"
1183
+ ],
1184
+ "audio/ogg": [
1185
+ "oga",
1186
+ "ogg",
1187
+ "spx",
1188
+ "opus"
1189
+ ],
1190
+ "audio/s3m": ["s3m"],
1191
+ "audio/silk": ["sil"],
1192
+ "audio/wav": ["wav"],
1193
+ "audio/wave": ["*wav"],
1194
+ "audio/webm": ["weba"],
1195
+ "audio/xm": ["xm"],
1196
+ "font/collection": ["ttc"],
1197
+ "font/otf": ["otf"],
1198
+ "font/ttf": ["ttf"],
1199
+ "font/woff": ["woff"],
1200
+ "font/woff2": ["woff2"],
1201
+ "image/aces": ["exr"],
1202
+ "image/apng": ["apng"],
1203
+ "image/avci": ["avci"],
1204
+ "image/avcs": ["avcs"],
1205
+ "image/avif": ["avif"],
1206
+ "image/bmp": ["bmp", "dib"],
1207
+ "image/cgm": ["cgm"],
1208
+ "image/dicom-rle": ["drle"],
1209
+ "image/dpx": ["dpx"],
1210
+ "image/emf": ["emf"],
1211
+ "image/fits": ["fits"],
1212
+ "image/g3fax": ["g3"],
1213
+ "image/gif": ["gif"],
1214
+ "image/heic": ["heic"],
1215
+ "image/heic-sequence": ["heics"],
1216
+ "image/heif": ["heif"],
1217
+ "image/heif-sequence": ["heifs"],
1218
+ "image/hej2k": ["hej2"],
1219
+ "image/hsj2": ["hsj2"],
1220
+ "image/ief": ["ief"],
1221
+ "image/jls": ["jls"],
1222
+ "image/jp2": ["jp2", "jpg2"],
1223
+ "image/jpeg": [
1224
+ "jpeg",
1225
+ "jpg",
1226
+ "jpe"
1227
+ ],
1228
+ "image/jph": ["jph"],
1229
+ "image/jphc": ["jhc"],
1230
+ "image/jpm": ["jpm", "jpgm"],
1231
+ "image/jpx": ["jpx", "jpf"],
1232
+ "image/jxr": ["jxr"],
1233
+ "image/jxra": ["jxra"],
1234
+ "image/jxrs": ["jxrs"],
1235
+ "image/jxs": ["jxs"],
1236
+ "image/jxsc": ["jxsc"],
1237
+ "image/jxsi": ["jxsi"],
1238
+ "image/jxss": ["jxss"],
1239
+ "image/ktx": ["ktx"],
1240
+ "image/ktx2": ["ktx2"],
1241
+ "image/png": ["png"],
1242
+ "image/sgi": ["sgi"],
1243
+ "image/svg+xml": ["svg", "svgz"],
1244
+ "image/t38": ["t38"],
1245
+ "image/tiff": ["tif", "tiff"],
1246
+ "image/tiff-fx": ["tfx"],
1247
+ "image/webp": ["webp"],
1248
+ "image/wmf": ["wmf"],
1249
+ "message/disposition-notification": ["disposition-notification"],
1250
+ "message/global": ["u8msg"],
1251
+ "message/global-delivery-status": ["u8dsn"],
1252
+ "message/global-disposition-notification": ["u8mdn"],
1253
+ "message/global-headers": ["u8hdr"],
1254
+ "message/rfc822": ["eml", "mime"],
1255
+ "model/3mf": ["3mf"],
1256
+ "model/gltf+json": ["gltf"],
1257
+ "model/gltf-binary": ["glb"],
1258
+ "model/iges": ["igs", "iges"],
1259
+ "model/jt": ["jt"],
1260
+ "model/mesh": [
1261
+ "msh",
1262
+ "mesh",
1263
+ "silo"
1264
+ ],
1265
+ "model/mtl": ["mtl"],
1266
+ "model/obj": ["obj"],
1267
+ "model/prc": ["prc"],
1268
+ "model/step+xml": ["stpx"],
1269
+ "model/step+zip": ["stpz"],
1270
+ "model/step-xml+zip": ["stpxz"],
1271
+ "model/stl": ["stl"],
1272
+ "model/u3d": ["u3d"],
1273
+ "model/vrml": ["wrl", "vrml"],
1274
+ "model/x3d+binary": ["*x3db", "x3dbz"],
1275
+ "model/x3d+fastinfoset": ["x3db"],
1276
+ "model/x3d+vrml": ["*x3dv", "x3dvz"],
1277
+ "model/x3d+xml": ["x3d", "x3dz"],
1278
+ "model/x3d-vrml": ["x3dv"],
1279
+ "text/cache-manifest": ["appcache", "manifest"],
1280
+ "text/calendar": ["ics", "ifb"],
1281
+ "text/coffeescript": ["coffee", "litcoffee"],
1282
+ "text/css": ["css"],
1283
+ "text/csv": ["csv"],
1284
+ "text/html": [
1285
+ "html",
1286
+ "htm",
1287
+ "shtml"
1288
+ ],
1289
+ "text/jade": ["jade"],
1290
+ "text/javascript": ["js", "mjs"],
1291
+ "text/jsx": ["jsx"],
1292
+ "text/less": ["less"],
1293
+ "text/markdown": ["md", "markdown"],
1294
+ "text/mathml": ["mml"],
1295
+ "text/mdx": ["mdx"],
1296
+ "text/n3": ["n3"],
1297
+ "text/plain": [
1298
+ "txt",
1299
+ "text",
1300
+ "conf",
1301
+ "def",
1302
+ "list",
1303
+ "log",
1304
+ "in",
1305
+ "ini"
1306
+ ],
1307
+ "text/richtext": ["rtx"],
1308
+ "text/rtf": ["*rtf"],
1309
+ "text/sgml": ["sgml", "sgm"],
1310
+ "text/shex": ["shex"],
1311
+ "text/slim": ["slim", "slm"],
1312
+ "text/spdx": ["spdx"],
1313
+ "text/stylus": ["stylus", "styl"],
1314
+ "text/tab-separated-values": ["tsv"],
1315
+ "text/troff": [
1316
+ "t",
1317
+ "tr",
1318
+ "roff",
1319
+ "man",
1320
+ "me",
1321
+ "ms"
1322
+ ],
1323
+ "text/turtle": ["ttl"],
1324
+ "text/uri-list": [
1325
+ "uri",
1326
+ "uris",
1327
+ "urls"
1328
+ ],
1329
+ "text/vcard": ["vcard"],
1330
+ "text/vtt": ["vtt"],
1331
+ "text/wgsl": ["wgsl"],
1332
+ "text/xml": ["*xml"],
1333
+ "text/yaml": ["yaml", "yml"],
1334
+ "video/3gpp": ["3gp", "3gpp"],
1335
+ "video/3gpp2": ["3g2"],
1336
+ "video/h261": ["h261"],
1337
+ "video/h263": ["h263"],
1338
+ "video/h264": ["h264"],
1339
+ "video/iso.segment": ["m4s"],
1340
+ "video/jpeg": ["jpgv"],
1341
+ "video/jpm": ["*jpm", "*jpgm"],
1342
+ "video/mj2": ["mj2", "mjp2"],
1343
+ "video/mp2t": ["ts"],
1344
+ "video/mp4": [
1345
+ "mp4",
1346
+ "mp4v",
1347
+ "mpg4"
1348
+ ],
1349
+ "video/mpeg": [
1350
+ "mpeg",
1351
+ "mpg",
1352
+ "mpe",
1353
+ "m1v",
1354
+ "m2v"
1355
+ ],
1356
+ "video/ogg": ["ogv"],
1357
+ "video/quicktime": ["qt", "mov"],
1358
+ "video/webm": ["webm"]
1359
+ };
140
1360
  Object.freeze(types);
141
- var other_default = types;
142
-
143
- // ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/types/standard.js
144
- var types2 = { "application/andrew-inset": ["ez"], "application/appinstaller": ["appinstaller"], "application/applixware": ["aw"], "application/appx": ["appx"], "application/appxbundle": ["appxbundle"], "application/atom+xml": ["atom"], "application/atomcat+xml": ["atomcat"], "application/atomdeleted+xml": ["atomdeleted"], "application/atomsvc+xml": ["atomsvc"], "application/atsc-dwd+xml": ["dwd"], "application/atsc-held+xml": ["held"], "application/atsc-rsat+xml": ["rsat"], "application/automationml-aml+xml": ["aml"], "application/automationml-amlx+zip": ["amlx"], "application/bdoc": ["bdoc"], "application/calendar+xml": ["xcs"], "application/ccxml+xml": ["ccxml"], "application/cdfx+xml": ["cdfx"], "application/cdmi-capability": ["cdmia"], "application/cdmi-container": ["cdmic"], "application/cdmi-domain": ["cdmid"], "application/cdmi-object": ["cdmio"], "application/cdmi-queue": ["cdmiq"], "application/cpl+xml": ["cpl"], "application/cu-seeme": ["cu"], "application/cwl": ["cwl"], "application/dash+xml": ["mpd"], "application/dash-patch+xml": ["mpp"], "application/davmount+xml": ["davmount"], "application/docbook+xml": ["dbk"], "application/dssc+der": ["dssc"], "application/dssc+xml": ["xdssc"], "application/ecmascript": ["ecma"], "application/emma+xml": ["emma"], "application/emotionml+xml": ["emotionml"], "application/epub+zip": ["epub"], "application/exi": ["exi"], "application/express": ["exp"], "application/fdf": ["fdf"], "application/fdt+xml": ["fdt"], "application/font-tdpfr": ["pfr"], "application/geo+json": ["geojson"], "application/gml+xml": ["gml"], "application/gpx+xml": ["gpx"], "application/gxf": ["gxf"], "application/gzip": ["gz"], "application/hjson": ["hjson"], "application/hyperstudio": ["stk"], "application/inkml+xml": ["ink", "inkml"], "application/ipfix": ["ipfix"], "application/its+xml": ["its"], "application/java-archive": ["jar", "war", "ear"], "application/java-serialized-object": ["ser"], "application/java-vm": ["class"], "application/javascript": ["*js"], "application/json": ["json", "map"], "application/json5": ["json5"], "application/jsonml+json": ["jsonml"], "application/ld+json": ["jsonld"], "application/lgr+xml": ["lgr"], "application/lost+xml": ["lostxml"], "application/mac-binhex40": ["hqx"], "application/mac-compactpro": ["cpt"], "application/mads+xml": ["mads"], "application/manifest+json": ["webmanifest"], "application/marc": ["mrc"], "application/marcxml+xml": ["mrcx"], "application/mathematica": ["ma", "nb", "mb"], "application/mathml+xml": ["mathml"], "application/mbox": ["mbox"], "application/media-policy-dataset+xml": ["mpf"], "application/mediaservercontrol+xml": ["mscml"], "application/metalink+xml": ["metalink"], "application/metalink4+xml": ["meta4"], "application/mets+xml": ["mets"], "application/mmt-aei+xml": ["maei"], "application/mmt-usd+xml": ["musd"], "application/mods+xml": ["mods"], "application/mp21": ["m21", "mp21"], "application/mp4": ["*mp4", "*mpg4", "mp4s", "m4p"], "application/msix": ["msix"], "application/msixbundle": ["msixbundle"], "application/msword": ["doc", "dot"], "application/mxf": ["mxf"], "application/n-quads": ["nq"], "application/n-triples": ["nt"], "application/node": ["cjs"], "application/octet-stream": ["bin", "dms", "lrf", "mar", "so", "dist", "distz", "pkg", "bpk", "dump", "elc", "deploy", "exe", "dll", "deb", "dmg", "iso", "img", "msi", "msp", "msm", "buffer"], "application/oda": ["oda"], "application/oebps-package+xml": ["opf"], "application/ogg": ["ogx"], "application/omdoc+xml": ["omdoc"], "application/onenote": ["onetoc", "onetoc2", "onetmp", "onepkg"], "application/oxps": ["oxps"], "application/p2p-overlay+xml": ["relo"], "application/patch-ops-error+xml": ["xer"], "application/pdf": ["pdf"], "application/pgp-encrypted": ["pgp"], "application/pgp-keys": ["asc"], "application/pgp-signature": ["sig", "*asc"], "application/pics-rules": ["prf"], "application/pkcs10": ["p10"], "application/pkcs7-mime": ["p7m", "p7c"], "application/pkcs7-signature": ["p7s"], "application/pkcs8": ["p8"], "application/pkix-attr-cert": ["ac"], "application/pkix-cert": ["cer"], "application/pkix-crl": ["crl"], "application/pkix-pkipath": ["pkipath"], "application/pkixcmp": ["pki"], "application/pls+xml": ["pls"], "application/postscript": ["ai", "eps", "ps"], "application/provenance+xml": ["provx"], "application/pskc+xml": ["pskcxml"], "application/raml+yaml": ["raml"], "application/rdf+xml": ["rdf", "owl"], "application/reginfo+xml": ["rif"], "application/relax-ng-compact-syntax": ["rnc"], "application/resource-lists+xml": ["rl"], "application/resource-lists-diff+xml": ["rld"], "application/rls-services+xml": ["rs"], "application/route-apd+xml": ["rapd"], "application/route-s-tsid+xml": ["sls"], "application/route-usd+xml": ["rusd"], "application/rpki-ghostbusters": ["gbr"], "application/rpki-manifest": ["mft"], "application/rpki-roa": ["roa"], "application/rsd+xml": ["rsd"], "application/rss+xml": ["rss"], "application/rtf": ["rtf"], "application/sbml+xml": ["sbml"], "application/scvp-cv-request": ["scq"], "application/scvp-cv-response": ["scs"], "application/scvp-vp-request": ["spq"], "application/scvp-vp-response": ["spp"], "application/sdp": ["sdp"], "application/senml+xml": ["senmlx"], "application/sensml+xml": ["sensmlx"], "application/set-payment-initiation": ["setpay"], "application/set-registration-initiation": ["setreg"], "application/shf+xml": ["shf"], "application/sieve": ["siv", "sieve"], "application/smil+xml": ["smi", "smil"], "application/sparql-query": ["rq"], "application/sparql-results+xml": ["srx"], "application/sql": ["sql"], "application/srgs": ["gram"], "application/srgs+xml": ["grxml"], "application/sru+xml": ["sru"], "application/ssdl+xml": ["ssdl"], "application/ssml+xml": ["ssml"], "application/swid+xml": ["swidtag"], "application/tei+xml": ["tei", "teicorpus"], "application/thraud+xml": ["tfi"], "application/timestamped-data": ["tsd"], "application/toml": ["toml"], "application/trig": ["trig"], "application/ttml+xml": ["ttml"], "application/ubjson": ["ubj"], "application/urc-ressheet+xml": ["rsheet"], "application/urc-targetdesc+xml": ["td"], "application/voicexml+xml": ["vxml"], "application/wasm": ["wasm"], "application/watcherinfo+xml": ["wif"], "application/widget": ["wgt"], "application/winhlp": ["hlp"], "application/wsdl+xml": ["wsdl"], "application/wspolicy+xml": ["wspolicy"], "application/xaml+xml": ["xaml"], "application/xcap-att+xml": ["xav"], "application/xcap-caps+xml": ["xca"], "application/xcap-diff+xml": ["xdf"], "application/xcap-el+xml": ["xel"], "application/xcap-ns+xml": ["xns"], "application/xenc+xml": ["xenc"], "application/xfdf": ["xfdf"], "application/xhtml+xml": ["xhtml", "xht"], "application/xliff+xml": ["xlf"], "application/xml": ["xml", "xsl", "xsd", "rng"], "application/xml-dtd": ["dtd"], "application/xop+xml": ["xop"], "application/xproc+xml": ["xpl"], "application/xslt+xml": ["*xsl", "xslt"], "application/xspf+xml": ["xspf"], "application/xv+xml": ["mxml", "xhvml", "xvml", "xvm"], "application/yang": ["yang"], "application/yin+xml": ["yin"], "application/zip": ["zip"], "audio/3gpp": ["*3gpp"], "audio/aac": ["adts", "aac"], "audio/adpcm": ["adp"], "audio/amr": ["amr"], "audio/basic": ["au", "snd"], "audio/midi": ["mid", "midi", "kar", "rmi"], "audio/mobile-xmf": ["mxmf"], "audio/mp3": ["*mp3"], "audio/mp4": ["m4a", "mp4a"], "audio/mpeg": ["mpga", "mp2", "mp2a", "mp3", "m2a", "m3a"], "audio/ogg": ["oga", "ogg", "spx", "opus"], "audio/s3m": ["s3m"], "audio/silk": ["sil"], "audio/wav": ["wav"], "audio/wave": ["*wav"], "audio/webm": ["weba"], "audio/xm": ["xm"], "font/collection": ["ttc"], "font/otf": ["otf"], "font/ttf": ["ttf"], "font/woff": ["woff"], "font/woff2": ["woff2"], "image/aces": ["exr"], "image/apng": ["apng"], "image/avci": ["avci"], "image/avcs": ["avcs"], "image/avif": ["avif"], "image/bmp": ["bmp", "dib"], "image/cgm": ["cgm"], "image/dicom-rle": ["drle"], "image/dpx": ["dpx"], "image/emf": ["emf"], "image/fits": ["fits"], "image/g3fax": ["g3"], "image/gif": ["gif"], "image/heic": ["heic"], "image/heic-sequence": ["heics"], "image/heif": ["heif"], "image/heif-sequence": ["heifs"], "image/hej2k": ["hej2"], "image/hsj2": ["hsj2"], "image/ief": ["ief"], "image/jls": ["jls"], "image/jp2": ["jp2", "jpg2"], "image/jpeg": ["jpeg", "jpg", "jpe"], "image/jph": ["jph"], "image/jphc": ["jhc"], "image/jpm": ["jpm", "jpgm"], "image/jpx": ["jpx", "jpf"], "image/jxr": ["jxr"], "image/jxra": ["jxra"], "image/jxrs": ["jxrs"], "image/jxs": ["jxs"], "image/jxsc": ["jxsc"], "image/jxsi": ["jxsi"], "image/jxss": ["jxss"], "image/ktx": ["ktx"], "image/ktx2": ["ktx2"], "image/png": ["png"], "image/sgi": ["sgi"], "image/svg+xml": ["svg", "svgz"], "image/t38": ["t38"], "image/tiff": ["tif", "tiff"], "image/tiff-fx": ["tfx"], "image/webp": ["webp"], "image/wmf": ["wmf"], "message/disposition-notification": ["disposition-notification"], "message/global": ["u8msg"], "message/global-delivery-status": ["u8dsn"], "message/global-disposition-notification": ["u8mdn"], "message/global-headers": ["u8hdr"], "message/rfc822": ["eml", "mime"], "model/3mf": ["3mf"], "model/gltf+json": ["gltf"], "model/gltf-binary": ["glb"], "model/iges": ["igs", "iges"], "model/jt": ["jt"], "model/mesh": ["msh", "mesh", "silo"], "model/mtl": ["mtl"], "model/obj": ["obj"], "model/prc": ["prc"], "model/step+xml": ["stpx"], "model/step+zip": ["stpz"], "model/step-xml+zip": ["stpxz"], "model/stl": ["stl"], "model/u3d": ["u3d"], "model/vrml": ["wrl", "vrml"], "model/x3d+binary": ["*x3db", "x3dbz"], "model/x3d+fastinfoset": ["x3db"], "model/x3d+vrml": ["*x3dv", "x3dvz"], "model/x3d+xml": ["x3d", "x3dz"], "model/x3d-vrml": ["x3dv"], "text/cache-manifest": ["appcache", "manifest"], "text/calendar": ["ics", "ifb"], "text/coffeescript": ["coffee", "litcoffee"], "text/css": ["css"], "text/csv": ["csv"], "text/html": ["html", "htm", "shtml"], "text/jade": ["jade"], "text/javascript": ["js", "mjs"], "text/jsx": ["jsx"], "text/less": ["less"], "text/markdown": ["md", "markdown"], "text/mathml": ["mml"], "text/mdx": ["mdx"], "text/n3": ["n3"], "text/plain": ["txt", "text", "conf", "def", "list", "log", "in", "ini"], "text/richtext": ["rtx"], "text/rtf": ["*rtf"], "text/sgml": ["sgml", "sgm"], "text/shex": ["shex"], "text/slim": ["slim", "slm"], "text/spdx": ["spdx"], "text/stylus": ["stylus", "styl"], "text/tab-separated-values": ["tsv"], "text/troff": ["t", "tr", "roff", "man", "me", "ms"], "text/turtle": ["ttl"], "text/uri-list": ["uri", "uris", "urls"], "text/vcard": ["vcard"], "text/vtt": ["vtt"], "text/wgsl": ["wgsl"], "text/xml": ["*xml"], "text/yaml": ["yaml", "yml"], "video/3gpp": ["3gp", "3gpp"], "video/3gpp2": ["3g2"], "video/h261": ["h261"], "video/h263": ["h263"], "video/h264": ["h264"], "video/iso.segment": ["m4s"], "video/jpeg": ["jpgv"], "video/jpm": ["*jpm", "*jpgm"], "video/mj2": ["mj2", "mjp2"], "video/mp2t": ["ts"], "video/mp4": ["mp4", "mp4v", "mpg4"], "video/mpeg": ["mpeg", "mpg", "mpe", "m1v", "m2v"], "video/ogg": ["ogv"], "video/quicktime": ["qt", "mov"], "video/webm": ["webm"] };
145
- Object.freeze(types2);
146
- var standard_default = types2;
1361
+ var standard_default = types;
147
1362
 
148
- // ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/src/Mime.js
149
- var __classPrivateFieldGet = function(receiver, state, kind, f) {
150
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
151
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
152
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
1363
+ //#endregion
1364
+ //#region ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/src/Mime.js
1365
+ var __classPrivateFieldGet = void 0 && (void 0).__classPrivateFieldGet || function(receiver, state, kind, f) {
1366
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
1367
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
1368
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
153
1369
  };
154
- var _Mime_extensionToType;
155
- var _Mime_typeToExtension;
156
- var _Mime_typeToExtensions;
1370
+ var _Mime_extensionToType, _Mime_typeToExtension, _Mime_typeToExtensions;
157
1371
  var Mime = class {
158
- constructor(...args) {
159
- _Mime_extensionToType.set(this, /* @__PURE__ */ new Map());
160
- _Mime_typeToExtension.set(this, /* @__PURE__ */ new Map());
161
- _Mime_typeToExtensions.set(this, /* @__PURE__ */ new Map());
162
- for (const arg of args) {
163
- this.define(arg);
164
- }
165
- }
166
- define(typeMap, force = false) {
167
- for (let [type, extensions] of Object.entries(typeMap)) {
168
- type = type.toLowerCase();
169
- extensions = extensions.map((ext) => ext.toLowerCase());
170
- if (!__classPrivateFieldGet(this, _Mime_typeToExtensions, "f").has(type)) {
171
- __classPrivateFieldGet(this, _Mime_typeToExtensions, "f").set(type, /* @__PURE__ */ new Set());
172
- }
173
- const allExtensions = __classPrivateFieldGet(this, _Mime_typeToExtensions, "f").get(type);
174
- let first = true;
175
- for (let extension of extensions) {
176
- const starred = extension.startsWith("*");
177
- extension = starred ? extension.slice(1) : extension;
178
- allExtensions?.add(extension);
179
- if (first) {
180
- __classPrivateFieldGet(this, _Mime_typeToExtension, "f").set(type, extension);
181
- }
182
- first = false;
183
- if (starred)
184
- continue;
185
- const currentType = __classPrivateFieldGet(this, _Mime_extensionToType, "f").get(extension);
186
- if (currentType && currentType != type && !force) {
187
- throw new Error(`"${type} -> ${extension}" conflicts with "${currentType} -> ${extension}". Pass \`force=true\` to override this definition.`);
188
- }
189
- __classPrivateFieldGet(this, _Mime_extensionToType, "f").set(extension, type);
190
- }
191
- }
192
- return this;
193
- }
194
- getType(path2) {
195
- if (typeof path2 !== "string")
196
- return null;
197
- const last = path2.replace(/^.*[/\\]/, "").toLowerCase();
198
- const ext = last.replace(/^.*\./, "").toLowerCase();
199
- const hasPath = last.length < path2.length;
200
- const hasDot = ext.length < last.length - 1;
201
- if (!hasDot && hasPath)
202
- return null;
203
- return __classPrivateFieldGet(this, _Mime_extensionToType, "f").get(ext) ?? null;
204
- }
205
- getExtension(type) {
206
- if (typeof type !== "string")
207
- return null;
208
- type = type?.split?.(";")[0];
209
- return (type && __classPrivateFieldGet(this, _Mime_typeToExtension, "f").get(type.trim().toLowerCase())) ?? null;
210
- }
211
- getAllExtensions(type) {
212
- if (typeof type !== "string")
213
- return null;
214
- return __classPrivateFieldGet(this, _Mime_typeToExtensions, "f").get(type.toLowerCase()) ?? null;
215
- }
216
- _freeze() {
217
- this.define = () => {
218
- throw new Error("define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances");
219
- };
220
- Object.freeze(this);
221
- for (const extensions of __classPrivateFieldGet(this, _Mime_typeToExtensions, "f").values()) {
222
- Object.freeze(extensions);
223
- }
224
- return this;
225
- }
226
- _getTestState() {
227
- return {
228
- types: __classPrivateFieldGet(this, _Mime_extensionToType, "f"),
229
- extensions: __classPrivateFieldGet(this, _Mime_typeToExtension, "f")
230
- };
231
- }
1372
+ constructor(...args) {
1373
+ _Mime_extensionToType.set(this, new Map());
1374
+ _Mime_typeToExtension.set(this, new Map());
1375
+ _Mime_typeToExtensions.set(this, new Map());
1376
+ for (const arg of args) this.define(arg);
1377
+ }
1378
+ define(typeMap, force = false) {
1379
+ for (let [type, extensions] of Object.entries(typeMap)) {
1380
+ type = type.toLowerCase();
1381
+ extensions = extensions.map((ext) => ext.toLowerCase());
1382
+ if (!__classPrivateFieldGet(this, _Mime_typeToExtensions, "f").has(type)) __classPrivateFieldGet(this, _Mime_typeToExtensions, "f").set(type, new Set());
1383
+ const allExtensions = __classPrivateFieldGet(this, _Mime_typeToExtensions, "f").get(type);
1384
+ let first = true;
1385
+ for (let extension of extensions) {
1386
+ const starred = extension.startsWith("*");
1387
+ extension = starred ? extension.slice(1) : extension;
1388
+ allExtensions?.add(extension);
1389
+ if (first) __classPrivateFieldGet(this, _Mime_typeToExtension, "f").set(type, extension);
1390
+ first = false;
1391
+ if (starred) continue;
1392
+ const currentType = __classPrivateFieldGet(this, _Mime_extensionToType, "f").get(extension);
1393
+ if (currentType && currentType != type && !force) throw new Error(`"${type} -> ${extension}" conflicts with "${currentType} -> ${extension}". Pass \`force=true\` to override this definition.`);
1394
+ __classPrivateFieldGet(this, _Mime_extensionToType, "f").set(extension, type);
1395
+ }
1396
+ }
1397
+ return this;
1398
+ }
1399
+ getType(path$2) {
1400
+ if (typeof path$2 !== "string") return null;
1401
+ const last = path$2.replace(/^.*[/\\]/, "").toLowerCase();
1402
+ const ext = last.replace(/^.*\./, "").toLowerCase();
1403
+ const hasPath = last.length < path$2.length;
1404
+ const hasDot = ext.length < last.length - 1;
1405
+ if (!hasDot && hasPath) return null;
1406
+ return __classPrivateFieldGet(this, _Mime_extensionToType, "f").get(ext) ?? null;
1407
+ }
1408
+ getExtension(type) {
1409
+ if (typeof type !== "string") return null;
1410
+ type = type?.split?.(";")[0];
1411
+ return (type && __classPrivateFieldGet(this, _Mime_typeToExtension, "f").get(type.trim().toLowerCase())) ?? null;
1412
+ }
1413
+ getAllExtensions(type) {
1414
+ if (typeof type !== "string") return null;
1415
+ return __classPrivateFieldGet(this, _Mime_typeToExtensions, "f").get(type.toLowerCase()) ?? null;
1416
+ }
1417
+ _freeze() {
1418
+ this.define = () => {
1419
+ throw new Error("define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances");
1420
+ };
1421
+ Object.freeze(this);
1422
+ for (const extensions of __classPrivateFieldGet(this, _Mime_typeToExtensions, "f").values()) Object.freeze(extensions);
1423
+ return this;
1424
+ }
1425
+ _getTestState() {
1426
+ return {
1427
+ types: __classPrivateFieldGet(this, _Mime_extensionToType, "f"),
1428
+ extensions: __classPrivateFieldGet(this, _Mime_typeToExtension, "f")
1429
+ };
1430
+ }
232
1431
  };
233
- _Mime_extensionToType = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtension = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtensions = /* @__PURE__ */ new WeakMap();
1432
+ _Mime_extensionToType = new WeakMap(), _Mime_typeToExtension = new WeakMap(), _Mime_typeToExtensions = new WeakMap();
234
1433
  var Mime_default = Mime;
235
1434
 
236
- // ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/src/index.js
1435
+ //#endregion
1436
+ //#region ../../node_modules/.pnpm/mime@4.0.4/node_modules/mime/dist/src/index.js
237
1437
  var src_default = new Mime_default(standard_default, other_default)._freeze();
238
1438
 
239
- // src/supabaseStorage.ts
240
- var supabaseStorage = (config, hooks) => (_) => {
241
- const supabase = (0, import_supabase_js2.createClient)(
242
- config.supabaseUrl,
243
- config.supabaseAnonKey
244
- );
245
- const bucket = supabase.storage.from(config.bucketName);
246
- return {
247
- name: "supabaseStorage",
248
- async deleteBundle(bundleId) {
249
- const Key = [bundleId].join("/");
250
- await bucket.remove([Key]);
251
- return Key;
252
- },
253
- async uploadBundle(bundleId, bundlePath) {
254
- const Body = await import_promises.default.readFile(bundlePath);
255
- const ContentType = src_default.getType(bundlePath) ?? void 0;
256
- const filename = import_path.default.basename(bundlePath);
257
- const Key = [bundleId, filename].join("/");
258
- const upload = await bucket.upload(Key, Body, {
259
- contentType: ContentType
260
- });
261
- if (upload.error) {
262
- throw upload.error;
263
- }
264
- const fullPath = upload.data.fullPath;
265
- hooks?.onStorageUploaded?.();
266
- return {
267
- bucketName: config.bucketName,
268
- key: fullPath
269
- };
270
- }
271
- };
1439
+ //#endregion
1440
+ //#region src/supabaseStorage.ts
1441
+ const supabaseStorage = (config, hooks) => (_) => {
1442
+ const supabase = (0, __supabase_supabase_js.createClient)(config.supabaseUrl, config.supabaseAnonKey);
1443
+ const bucket = supabase.storage.from(config.bucketName);
1444
+ return {
1445
+ name: "supabaseStorage",
1446
+ async deleteBundle(bundleId) {
1447
+ const Key = [bundleId].join("/");
1448
+ await bucket.remove([Key]);
1449
+ return Key;
1450
+ },
1451
+ async uploadBundle(bundleId, bundlePath) {
1452
+ const Body = await fs_promises.default.readFile(bundlePath);
1453
+ const ContentType = src_default.getType(bundlePath) ?? void 0;
1454
+ const filename = path.default.basename(bundlePath);
1455
+ const Key = [bundleId, filename].join("/");
1456
+ const upload = await bucket.upload(Key, Body, { contentType: ContentType });
1457
+ if (upload.error) throw upload.error;
1458
+ const fullPath = upload.data.fullPath;
1459
+ hooks?.onStorageUploaded?.();
1460
+ return { storageUri: `supabase-storage://${fullPath}` };
1461
+ }
1462
+ };
272
1463
  };
273
- // Annotate the CommonJS export names for ESM import in node:
274
- 0 && (module.exports = {
275
- supabaseDatabase,
276
- supabaseStorage
277
- });
1464
+
1465
+ //#endregion
1466
+ exports.supabaseDatabase = supabaseDatabase;
1467
+ exports.supabaseStorage = supabaseStorage;