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