@hot-updater/aws 0.17.0 → 0.18.1

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