@hot-updater/standalone 0.16.7-0 → 0.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1,3409 +1,1487 @@
1
- var __webpack_modules__ = {
2
- "../../node_modules/.pnpm/mime@2.6.0/node_modules/mime/Mime.js": function(module) {
3
- "use strict";
4
- function Mime() {
5
- this._types = Object.create(null);
6
- this._extensions = Object.create(null);
7
- for(let i = 0; i < arguments.length; i++)this.define(arguments[i]);
8
- this.define = this.define.bind(this);
9
- this.getType = this.getType.bind(this);
10
- this.getExtension = this.getExtension.bind(this);
11
- }
12
- Mime.prototype.define = function(typeMap, force) {
13
- for(let type in typeMap){
14
- let extensions = typeMap[type].map(function(t) {
15
- return t.toLowerCase();
16
- });
17
- type = type.toLowerCase();
18
- for(let i = 0; i < extensions.length; i++){
19
- const ext = extensions[i];
20
- if ('*' !== ext[0]) {
21
- if (!force && ext in this._types) throw new Error('Attempt to change mapping for "' + ext + '" extension from "' + this._types[ext] + '" to "' + type + '". Pass `force=true` to allow this, otherwise remove "' + ext + '" from the list of extensions for "' + type + '".');
22
- this._types[ext] = type;
23
- }
24
- }
25
- if (force || !this._extensions[type]) {
26
- const ext = extensions[0];
27
- this._extensions[type] = '*' !== ext[0] ? ext : ext.substr(1);
28
- }
29
- }
30
- };
31
- Mime.prototype.getType = function(path) {
32
- path = String(path);
33
- let last = path.replace(/^.*[/\\]/, '').toLowerCase();
34
- let ext = last.replace(/^.*\./, '').toLowerCase();
35
- let hasPath = last.length < path.length;
36
- let hasDot = ext.length < last.length - 1;
37
- return (hasDot || !hasPath) && this._types[ext] || null;
38
- };
39
- Mime.prototype.getExtension = function(type) {
40
- type = /^\s*([^;\s]*)/.test(type) && RegExp.$1;
41
- return type && this._extensions[type.toLowerCase()] || null;
42
- };
43
- module.exports = Mime;
44
- },
45
- "../../node_modules/.pnpm/mime@2.6.0/node_modules/mime/index.js": function(module, __unused_webpack_exports, __webpack_require__) {
46
- "use strict";
47
- let Mime = __webpack_require__("../../node_modules/.pnpm/mime@2.6.0/node_modules/mime/Mime.js");
48
- module.exports = new Mime(__webpack_require__("../../node_modules/.pnpm/mime@2.6.0/node_modules/mime/types/standard.js"), __webpack_require__("../../node_modules/.pnpm/mime@2.6.0/node_modules/mime/types/other.js"));
49
- },
50
- "../../node_modules/.pnpm/mime@2.6.0/node_modules/mime/types/other.js": function(module) {
51
- module.exports = {
52
- "application/prs.cww": [
53
- "cww"
54
- ],
55
- "application/vnd.1000minds.decision-model+xml": [
56
- "1km"
57
- ],
58
- "application/vnd.3gpp.pic-bw-large": [
59
- "plb"
60
- ],
61
- "application/vnd.3gpp.pic-bw-small": [
62
- "psb"
63
- ],
64
- "application/vnd.3gpp.pic-bw-var": [
65
- "pvb"
66
- ],
67
- "application/vnd.3gpp2.tcap": [
68
- "tcap"
69
- ],
70
- "application/vnd.3m.post-it-notes": [
71
- "pwn"
72
- ],
73
- "application/vnd.accpac.simply.aso": [
74
- "aso"
75
- ],
76
- "application/vnd.accpac.simply.imp": [
77
- "imp"
78
- ],
79
- "application/vnd.acucobol": [
80
- "acu"
81
- ],
82
- "application/vnd.acucorp": [
83
- "atc",
84
- "acutc"
85
- ],
86
- "application/vnd.adobe.air-application-installer-package+zip": [
87
- "air"
88
- ],
89
- "application/vnd.adobe.formscentral.fcdt": [
90
- "fcdt"
91
- ],
92
- "application/vnd.adobe.fxp": [
93
- "fxp",
94
- "fxpl"
95
- ],
96
- "application/vnd.adobe.xdp+xml": [
97
- "xdp"
98
- ],
99
- "application/vnd.adobe.xfdf": [
100
- "xfdf"
101
- ],
102
- "application/vnd.ahead.space": [
103
- "ahead"
104
- ],
105
- "application/vnd.airzip.filesecure.azf": [
106
- "azf"
107
- ],
108
- "application/vnd.airzip.filesecure.azs": [
109
- "azs"
110
- ],
111
- "application/vnd.amazon.ebook": [
112
- "azw"
113
- ],
114
- "application/vnd.americandynamics.acc": [
115
- "acc"
116
- ],
117
- "application/vnd.amiga.ami": [
118
- "ami"
119
- ],
120
- "application/vnd.android.package-archive": [
121
- "apk"
122
- ],
123
- "application/vnd.anser-web-certificate-issue-initiation": [
124
- "cii"
125
- ],
126
- "application/vnd.anser-web-funds-transfer-initiation": [
127
- "fti"
128
- ],
129
- "application/vnd.antix.game-component": [
130
- "atx"
131
- ],
132
- "application/vnd.apple.installer+xml": [
133
- "mpkg"
134
- ],
135
- "application/vnd.apple.keynote": [
136
- "key"
137
- ],
138
- "application/vnd.apple.mpegurl": [
139
- "m3u8"
140
- ],
141
- "application/vnd.apple.numbers": [
142
- "numbers"
143
- ],
144
- "application/vnd.apple.pages": [
145
- "pages"
146
- ],
147
- "application/vnd.apple.pkpass": [
148
- "pkpass"
149
- ],
150
- "application/vnd.aristanetworks.swi": [
151
- "swi"
152
- ],
153
- "application/vnd.astraea-software.iota": [
154
- "iota"
155
- ],
156
- "application/vnd.audiograph": [
157
- "aep"
158
- ],
159
- "application/vnd.balsamiq.bmml+xml": [
160
- "bmml"
161
- ],
162
- "application/vnd.blueice.multipass": [
163
- "mpm"
164
- ],
165
- "application/vnd.bmi": [
166
- "bmi"
167
- ],
168
- "application/vnd.businessobjects": [
169
- "rep"
170
- ],
171
- "application/vnd.chemdraw+xml": [
172
- "cdxml"
173
- ],
174
- "application/vnd.chipnuts.karaoke-mmd": [
175
- "mmd"
176
- ],
177
- "application/vnd.cinderella": [
178
- "cdy"
179
- ],
180
- "application/vnd.citationstyles.style+xml": [
181
- "csl"
182
- ],
183
- "application/vnd.claymore": [
184
- "cla"
185
- ],
186
- "application/vnd.cloanto.rp9": [
187
- "rp9"
188
- ],
189
- "application/vnd.clonk.c4group": [
190
- "c4g",
191
- "c4d",
192
- "c4f",
193
- "c4p",
194
- "c4u"
195
- ],
196
- "application/vnd.cluetrust.cartomobile-config": [
197
- "c11amc"
198
- ],
199
- "application/vnd.cluetrust.cartomobile-config-pkg": [
200
- "c11amz"
201
- ],
202
- "application/vnd.commonspace": [
203
- "csp"
204
- ],
205
- "application/vnd.contact.cmsg": [
206
- "cdbcmsg"
207
- ],
208
- "application/vnd.cosmocaller": [
209
- "cmc"
210
- ],
211
- "application/vnd.crick.clicker": [
212
- "clkx"
213
- ],
214
- "application/vnd.crick.clicker.keyboard": [
215
- "clkk"
216
- ],
217
- "application/vnd.crick.clicker.palette": [
218
- "clkp"
219
- ],
220
- "application/vnd.crick.clicker.template": [
221
- "clkt"
222
- ],
223
- "application/vnd.crick.clicker.wordbank": [
224
- "clkw"
225
- ],
226
- "application/vnd.criticaltools.wbs+xml": [
227
- "wbs"
228
- ],
229
- "application/vnd.ctc-posml": [
230
- "pml"
231
- ],
232
- "application/vnd.cups-ppd": [
233
- "ppd"
234
- ],
235
- "application/vnd.curl.car": [
236
- "car"
237
- ],
238
- "application/vnd.curl.pcurl": [
239
- "pcurl"
240
- ],
241
- "application/vnd.dart": [
242
- "dart"
243
- ],
244
- "application/vnd.data-vision.rdz": [
245
- "rdz"
246
- ],
247
- "application/vnd.dbf": [
248
- "dbf"
249
- ],
250
- "application/vnd.dece.data": [
251
- "uvf",
252
- "uvvf",
253
- "uvd",
254
- "uvvd"
255
- ],
256
- "application/vnd.dece.ttml+xml": [
257
- "uvt",
258
- "uvvt"
259
- ],
260
- "application/vnd.dece.unspecified": [
261
- "uvx",
262
- "uvvx"
263
- ],
264
- "application/vnd.dece.zip": [
265
- "uvz",
266
- "uvvz"
267
- ],
268
- "application/vnd.denovo.fcselayout-link": [
269
- "fe_launch"
270
- ],
271
- "application/vnd.dna": [
272
- "dna"
273
- ],
274
- "application/vnd.dolby.mlp": [
275
- "mlp"
276
- ],
277
- "application/vnd.dpgraph": [
278
- "dpg"
279
- ],
280
- "application/vnd.dreamfactory": [
281
- "dfac"
282
- ],
283
- "application/vnd.ds-keypoint": [
284
- "kpxx"
285
- ],
286
- "application/vnd.dvb.ait": [
287
- "ait"
288
- ],
289
- "application/vnd.dvb.service": [
290
- "svc"
291
- ],
292
- "application/vnd.dynageo": [
293
- "geo"
294
- ],
295
- "application/vnd.ecowin.chart": [
296
- "mag"
297
- ],
298
- "application/vnd.enliven": [
299
- "nml"
300
- ],
301
- "application/vnd.epson.esf": [
302
- "esf"
303
- ],
304
- "application/vnd.epson.msf": [
305
- "msf"
306
- ],
307
- "application/vnd.epson.quickanime": [
308
- "qam"
309
- ],
310
- "application/vnd.epson.salt": [
311
- "slt"
312
- ],
313
- "application/vnd.epson.ssf": [
314
- "ssf"
315
- ],
316
- "application/vnd.eszigno3+xml": [
317
- "es3",
318
- "et3"
319
- ],
320
- "application/vnd.ezpix-album": [
321
- "ez2"
322
- ],
323
- "application/vnd.ezpix-package": [
324
- "ez3"
325
- ],
326
- "application/vnd.fdf": [
327
- "fdf"
328
- ],
329
- "application/vnd.fdsn.mseed": [
330
- "mseed"
331
- ],
332
- "application/vnd.fdsn.seed": [
333
- "seed",
334
- "dataless"
335
- ],
336
- "application/vnd.flographit": [
337
- "gph"
338
- ],
339
- "application/vnd.fluxtime.clip": [
340
- "ftc"
341
- ],
342
- "application/vnd.framemaker": [
343
- "fm",
344
- "frame",
345
- "maker",
346
- "book"
347
- ],
348
- "application/vnd.frogans.fnc": [
349
- "fnc"
350
- ],
351
- "application/vnd.frogans.ltf": [
352
- "ltf"
353
- ],
354
- "application/vnd.fsc.weblaunch": [
355
- "fsc"
356
- ],
357
- "application/vnd.fujitsu.oasys": [
358
- "oas"
359
- ],
360
- "application/vnd.fujitsu.oasys2": [
361
- "oa2"
362
- ],
363
- "application/vnd.fujitsu.oasys3": [
364
- "oa3"
365
- ],
366
- "application/vnd.fujitsu.oasysgp": [
367
- "fg5"
368
- ],
369
- "application/vnd.fujitsu.oasysprs": [
370
- "bh2"
371
- ],
372
- "application/vnd.fujixerox.ddd": [
373
- "ddd"
374
- ],
375
- "application/vnd.fujixerox.docuworks": [
376
- "xdw"
377
- ],
378
- "application/vnd.fujixerox.docuworks.binder": [
379
- "xbd"
380
- ],
381
- "application/vnd.fuzzysheet": [
382
- "fzs"
383
- ],
384
- "application/vnd.genomatix.tuxedo": [
385
- "txd"
386
- ],
387
- "application/vnd.geogebra.file": [
388
- "ggb"
389
- ],
390
- "application/vnd.geogebra.tool": [
391
- "ggt"
392
- ],
393
- "application/vnd.geometry-explorer": [
394
- "gex",
395
- "gre"
396
- ],
397
- "application/vnd.geonext": [
398
- "gxt"
399
- ],
400
- "application/vnd.geoplan": [
401
- "g2w"
402
- ],
403
- "application/vnd.geospace": [
404
- "g3w"
405
- ],
406
- "application/vnd.gmx": [
407
- "gmx"
408
- ],
409
- "application/vnd.google-apps.document": [
410
- "gdoc"
411
- ],
412
- "application/vnd.google-apps.presentation": [
413
- "gslides"
414
- ],
415
- "application/vnd.google-apps.spreadsheet": [
416
- "gsheet"
417
- ],
418
- "application/vnd.google-earth.kml+xml": [
419
- "kml"
420
- ],
421
- "application/vnd.google-earth.kmz": [
422
- "kmz"
423
- ],
424
- "application/vnd.grafeq": [
425
- "gqf",
426
- "gqs"
427
- ],
428
- "application/vnd.groove-account": [
429
- "gac"
430
- ],
431
- "application/vnd.groove-help": [
432
- "ghf"
433
- ],
434
- "application/vnd.groove-identity-message": [
435
- "gim"
436
- ],
437
- "application/vnd.groove-injector": [
438
- "grv"
439
- ],
440
- "application/vnd.groove-tool-message": [
441
- "gtm"
442
- ],
443
- "application/vnd.groove-tool-template": [
444
- "tpl"
445
- ],
446
- "application/vnd.groove-vcard": [
447
- "vcg"
448
- ],
449
- "application/vnd.hal+xml": [
450
- "hal"
451
- ],
452
- "application/vnd.handheld-entertainment+xml": [
453
- "zmm"
454
- ],
455
- "application/vnd.hbci": [
456
- "hbci"
457
- ],
458
- "application/vnd.hhe.lesson-player": [
459
- "les"
460
- ],
461
- "application/vnd.hp-hpgl": [
462
- "hpgl"
463
- ],
464
- "application/vnd.hp-hpid": [
465
- "hpid"
466
- ],
467
- "application/vnd.hp-hps": [
468
- "hps"
469
- ],
470
- "application/vnd.hp-jlyt": [
471
- "jlt"
472
- ],
473
- "application/vnd.hp-pcl": [
474
- "pcl"
475
- ],
476
- "application/vnd.hp-pclxl": [
477
- "pclxl"
478
- ],
479
- "application/vnd.hydrostatix.sof-data": [
480
- "sfd-hdstx"
481
- ],
482
- "application/vnd.ibm.minipay": [
483
- "mpy"
484
- ],
485
- "application/vnd.ibm.modcap": [
486
- "afp",
487
- "listafp",
488
- "list3820"
489
- ],
490
- "application/vnd.ibm.rights-management": [
491
- "irm"
492
- ],
493
- "application/vnd.ibm.secure-container": [
494
- "sc"
495
- ],
496
- "application/vnd.iccprofile": [
497
- "icc",
498
- "icm"
499
- ],
500
- "application/vnd.igloader": [
501
- "igl"
502
- ],
503
- "application/vnd.immervision-ivp": [
504
- "ivp"
505
- ],
506
- "application/vnd.immervision-ivu": [
507
- "ivu"
508
- ],
509
- "application/vnd.insors.igm": [
510
- "igm"
511
- ],
512
- "application/vnd.intercon.formnet": [
513
- "xpw",
514
- "xpx"
515
- ],
516
- "application/vnd.intergeo": [
517
- "i2g"
518
- ],
519
- "application/vnd.intu.qbo": [
520
- "qbo"
521
- ],
522
- "application/vnd.intu.qfx": [
523
- "qfx"
524
- ],
525
- "application/vnd.ipunplugged.rcprofile": [
526
- "rcprofile"
527
- ],
528
- "application/vnd.irepository.package+xml": [
529
- "irp"
530
- ],
531
- "application/vnd.is-xpr": [
532
- "xpr"
533
- ],
534
- "application/vnd.isac.fcs": [
535
- "fcs"
536
- ],
537
- "application/vnd.jam": [
538
- "jam"
539
- ],
540
- "application/vnd.jcp.javame.midlet-rms": [
541
- "rms"
542
- ],
543
- "application/vnd.jisp": [
544
- "jisp"
545
- ],
546
- "application/vnd.joost.joda-archive": [
547
- "joda"
548
- ],
549
- "application/vnd.kahootz": [
550
- "ktz",
551
- "ktr"
552
- ],
553
- "application/vnd.kde.karbon": [
554
- "karbon"
555
- ],
556
- "application/vnd.kde.kchart": [
557
- "chrt"
558
- ],
559
- "application/vnd.kde.kformula": [
560
- "kfo"
561
- ],
562
- "application/vnd.kde.kivio": [
563
- "flw"
564
- ],
565
- "application/vnd.kde.kontour": [
566
- "kon"
567
- ],
568
- "application/vnd.kde.kpresenter": [
569
- "kpr",
570
- "kpt"
571
- ],
572
- "application/vnd.kde.kspread": [
573
- "ksp"
574
- ],
575
- "application/vnd.kde.kword": [
576
- "kwd",
577
- "kwt"
578
- ],
579
- "application/vnd.kenameaapp": [
580
- "htke"
581
- ],
582
- "application/vnd.kidspiration": [
583
- "kia"
584
- ],
585
- "application/vnd.kinar": [
586
- "kne",
587
- "knp"
588
- ],
589
- "application/vnd.koan": [
590
- "skp",
591
- "skd",
592
- "skt",
593
- "skm"
594
- ],
595
- "application/vnd.kodak-descriptor": [
596
- "sse"
597
- ],
598
- "application/vnd.las.las+xml": [
599
- "lasxml"
600
- ],
601
- "application/vnd.llamagraphics.life-balance.desktop": [
602
- "lbd"
603
- ],
604
- "application/vnd.llamagraphics.life-balance.exchange+xml": [
605
- "lbe"
606
- ],
607
- "application/vnd.lotus-1-2-3": [
608
- "123"
609
- ],
610
- "application/vnd.lotus-approach": [
611
- "apr"
612
- ],
613
- "application/vnd.lotus-freelance": [
614
- "pre"
615
- ],
616
- "application/vnd.lotus-notes": [
617
- "nsf"
618
- ],
619
- "application/vnd.lotus-organizer": [
620
- "org"
621
- ],
622
- "application/vnd.lotus-screencam": [
623
- "scm"
624
- ],
625
- "application/vnd.lotus-wordpro": [
626
- "lwp"
627
- ],
628
- "application/vnd.macports.portpkg": [
629
- "portpkg"
630
- ],
631
- "application/vnd.mapbox-vector-tile": [
632
- "mvt"
633
- ],
634
- "application/vnd.mcd": [
635
- "mcd"
636
- ],
637
- "application/vnd.medcalcdata": [
638
- "mc1"
639
- ],
640
- "application/vnd.mediastation.cdkey": [
641
- "cdkey"
642
- ],
643
- "application/vnd.mfer": [
644
- "mwf"
645
- ],
646
- "application/vnd.mfmp": [
647
- "mfm"
648
- ],
649
- "application/vnd.micrografx.flo": [
650
- "flo"
651
- ],
652
- "application/vnd.micrografx.igx": [
653
- "igx"
654
- ],
655
- "application/vnd.mif": [
656
- "mif"
657
- ],
658
- "application/vnd.mobius.daf": [
659
- "daf"
660
- ],
661
- "application/vnd.mobius.dis": [
662
- "dis"
663
- ],
664
- "application/vnd.mobius.mbk": [
665
- "mbk"
666
- ],
667
- "application/vnd.mobius.mqy": [
668
- "mqy"
669
- ],
670
- "application/vnd.mobius.msl": [
671
- "msl"
672
- ],
673
- "application/vnd.mobius.plc": [
674
- "plc"
675
- ],
676
- "application/vnd.mobius.txf": [
677
- "txf"
678
- ],
679
- "application/vnd.mophun.application": [
680
- "mpn"
681
- ],
682
- "application/vnd.mophun.certificate": [
683
- "mpc"
684
- ],
685
- "application/vnd.mozilla.xul+xml": [
686
- "xul"
687
- ],
688
- "application/vnd.ms-artgalry": [
689
- "cil"
690
- ],
691
- "application/vnd.ms-cab-compressed": [
692
- "cab"
693
- ],
694
- "application/vnd.ms-excel": [
695
- "xls",
696
- "xlm",
697
- "xla",
698
- "xlc",
699
- "xlt",
700
- "xlw"
701
- ],
702
- "application/vnd.ms-excel.addin.macroenabled.12": [
703
- "xlam"
704
- ],
705
- "application/vnd.ms-excel.sheet.binary.macroenabled.12": [
706
- "xlsb"
707
- ],
708
- "application/vnd.ms-excel.sheet.macroenabled.12": [
709
- "xlsm"
710
- ],
711
- "application/vnd.ms-excel.template.macroenabled.12": [
712
- "xltm"
713
- ],
714
- "application/vnd.ms-fontobject": [
715
- "eot"
716
- ],
717
- "application/vnd.ms-htmlhelp": [
718
- "chm"
719
- ],
720
- "application/vnd.ms-ims": [
721
- "ims"
722
- ],
723
- "application/vnd.ms-lrm": [
724
- "lrm"
725
- ],
726
- "application/vnd.ms-officetheme": [
727
- "thmx"
728
- ],
729
- "application/vnd.ms-outlook": [
730
- "msg"
731
- ],
732
- "application/vnd.ms-pki.seccat": [
733
- "cat"
734
- ],
735
- "application/vnd.ms-pki.stl": [
736
- "*stl"
737
- ],
738
- "application/vnd.ms-powerpoint": [
739
- "ppt",
740
- "pps",
741
- "pot"
742
- ],
743
- "application/vnd.ms-powerpoint.addin.macroenabled.12": [
744
- "ppam"
745
- ],
746
- "application/vnd.ms-powerpoint.presentation.macroenabled.12": [
747
- "pptm"
748
- ],
749
- "application/vnd.ms-powerpoint.slide.macroenabled.12": [
750
- "sldm"
751
- ],
752
- "application/vnd.ms-powerpoint.slideshow.macroenabled.12": [
753
- "ppsm"
754
- ],
755
- "application/vnd.ms-powerpoint.template.macroenabled.12": [
756
- "potm"
757
- ],
758
- "application/vnd.ms-project": [
759
- "mpp",
760
- "mpt"
761
- ],
762
- "application/vnd.ms-word.document.macroenabled.12": [
763
- "docm"
764
- ],
765
- "application/vnd.ms-word.template.macroenabled.12": [
766
- "dotm"
767
- ],
768
- "application/vnd.ms-works": [
769
- "wps",
770
- "wks",
771
- "wcm",
772
- "wdb"
773
- ],
774
- "application/vnd.ms-wpl": [
775
- "wpl"
776
- ],
777
- "application/vnd.ms-xpsdocument": [
778
- "xps"
779
- ],
780
- "application/vnd.mseq": [
781
- "mseq"
782
- ],
783
- "application/vnd.musician": [
784
- "mus"
785
- ],
786
- "application/vnd.muvee.style": [
787
- "msty"
788
- ],
789
- "application/vnd.mynfc": [
790
- "taglet"
791
- ],
792
- "application/vnd.neurolanguage.nlu": [
793
- "nlu"
794
- ],
795
- "application/vnd.nitf": [
796
- "ntf",
797
- "nitf"
798
- ],
799
- "application/vnd.noblenet-directory": [
800
- "nnd"
801
- ],
802
- "application/vnd.noblenet-sealer": [
803
- "nns"
804
- ],
805
- "application/vnd.noblenet-web": [
806
- "nnw"
807
- ],
808
- "application/vnd.nokia.n-gage.ac+xml": [
809
- "*ac"
810
- ],
811
- "application/vnd.nokia.n-gage.data": [
812
- "ngdat"
813
- ],
814
- "application/vnd.nokia.n-gage.symbian.install": [
815
- "n-gage"
816
- ],
817
- "application/vnd.nokia.radio-preset": [
818
- "rpst"
819
- ],
820
- "application/vnd.nokia.radio-presets": [
821
- "rpss"
822
- ],
823
- "application/vnd.novadigm.edm": [
824
- "edm"
825
- ],
826
- "application/vnd.novadigm.edx": [
827
- "edx"
828
- ],
829
- "application/vnd.novadigm.ext": [
830
- "ext"
831
- ],
832
- "application/vnd.oasis.opendocument.chart": [
833
- "odc"
834
- ],
835
- "application/vnd.oasis.opendocument.chart-template": [
836
- "otc"
837
- ],
838
- "application/vnd.oasis.opendocument.database": [
839
- "odb"
840
- ],
841
- "application/vnd.oasis.opendocument.formula": [
842
- "odf"
843
- ],
844
- "application/vnd.oasis.opendocument.formula-template": [
845
- "odft"
846
- ],
847
- "application/vnd.oasis.opendocument.graphics": [
848
- "odg"
849
- ],
850
- "application/vnd.oasis.opendocument.graphics-template": [
851
- "otg"
852
- ],
853
- "application/vnd.oasis.opendocument.image": [
854
- "odi"
855
- ],
856
- "application/vnd.oasis.opendocument.image-template": [
857
- "oti"
858
- ],
859
- "application/vnd.oasis.opendocument.presentation": [
860
- "odp"
861
- ],
862
- "application/vnd.oasis.opendocument.presentation-template": [
863
- "otp"
864
- ],
865
- "application/vnd.oasis.opendocument.spreadsheet": [
866
- "ods"
867
- ],
868
- "application/vnd.oasis.opendocument.spreadsheet-template": [
869
- "ots"
870
- ],
871
- "application/vnd.oasis.opendocument.text": [
872
- "odt"
873
- ],
874
- "application/vnd.oasis.opendocument.text-master": [
875
- "odm"
876
- ],
877
- "application/vnd.oasis.opendocument.text-template": [
878
- "ott"
879
- ],
880
- "application/vnd.oasis.opendocument.text-web": [
881
- "oth"
882
- ],
883
- "application/vnd.olpc-sugar": [
884
- "xo"
885
- ],
886
- "application/vnd.oma.dd2+xml": [
887
- "dd2"
888
- ],
889
- "application/vnd.openblox.game+xml": [
890
- "obgx"
891
- ],
892
- "application/vnd.openofficeorg.extension": [
893
- "oxt"
894
- ],
895
- "application/vnd.openstreetmap.data+xml": [
896
- "osm"
897
- ],
898
- "application/vnd.openxmlformats-officedocument.presentationml.presentation": [
899
- "pptx"
900
- ],
901
- "application/vnd.openxmlformats-officedocument.presentationml.slide": [
902
- "sldx"
903
- ],
904
- "application/vnd.openxmlformats-officedocument.presentationml.slideshow": [
905
- "ppsx"
906
- ],
907
- "application/vnd.openxmlformats-officedocument.presentationml.template": [
908
- "potx"
909
- ],
910
- "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": [
911
- "xlsx"
912
- ],
913
- "application/vnd.openxmlformats-officedocument.spreadsheetml.template": [
914
- "xltx"
915
- ],
916
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document": [
917
- "docx"
918
- ],
919
- "application/vnd.openxmlformats-officedocument.wordprocessingml.template": [
920
- "dotx"
921
- ],
922
- "application/vnd.osgeo.mapguide.package": [
923
- "mgp"
924
- ],
925
- "application/vnd.osgi.dp": [
926
- "dp"
927
- ],
928
- "application/vnd.osgi.subsystem": [
929
- "esa"
930
- ],
931
- "application/vnd.palm": [
932
- "pdb",
933
- "pqa",
934
- "oprc"
935
- ],
936
- "application/vnd.pawaafile": [
937
- "paw"
938
- ],
939
- "application/vnd.pg.format": [
940
- "str"
941
- ],
942
- "application/vnd.pg.osasli": [
943
- "ei6"
944
- ],
945
- "application/vnd.picsel": [
946
- "efif"
947
- ],
948
- "application/vnd.pmi.widget": [
949
- "wg"
950
- ],
951
- "application/vnd.pocketlearn": [
952
- "plf"
953
- ],
954
- "application/vnd.powerbuilder6": [
955
- "pbd"
956
- ],
957
- "application/vnd.previewsystems.box": [
958
- "box"
959
- ],
960
- "application/vnd.proteus.magazine": [
961
- "mgz"
962
- ],
963
- "application/vnd.publishare-delta-tree": [
964
- "qps"
965
- ],
966
- "application/vnd.pvi.ptid1": [
967
- "ptid"
968
- ],
969
- "application/vnd.quark.quarkxpress": [
970
- "qxd",
971
- "qxt",
972
- "qwd",
973
- "qwt",
974
- "qxl",
975
- "qxb"
976
- ],
977
- "application/vnd.rar": [
978
- "rar"
979
- ],
980
- "application/vnd.realvnc.bed": [
981
- "bed"
982
- ],
983
- "application/vnd.recordare.musicxml": [
984
- "mxl"
985
- ],
986
- "application/vnd.recordare.musicxml+xml": [
987
- "musicxml"
988
- ],
989
- "application/vnd.rig.cryptonote": [
990
- "cryptonote"
991
- ],
992
- "application/vnd.rim.cod": [
993
- "cod"
994
- ],
995
- "application/vnd.rn-realmedia": [
996
- "rm"
997
- ],
998
- "application/vnd.rn-realmedia-vbr": [
999
- "rmvb"
1000
- ],
1001
- "application/vnd.route66.link66+xml": [
1002
- "link66"
1003
- ],
1004
- "application/vnd.sailingtracker.track": [
1005
- "st"
1006
- ],
1007
- "application/vnd.seemail": [
1008
- "see"
1009
- ],
1010
- "application/vnd.sema": [
1011
- "sema"
1012
- ],
1013
- "application/vnd.semd": [
1014
- "semd"
1015
- ],
1016
- "application/vnd.semf": [
1017
- "semf"
1018
- ],
1019
- "application/vnd.shana.informed.formdata": [
1020
- "ifm"
1021
- ],
1022
- "application/vnd.shana.informed.formtemplate": [
1023
- "itp"
1024
- ],
1025
- "application/vnd.shana.informed.interchange": [
1026
- "iif"
1027
- ],
1028
- "application/vnd.shana.informed.package": [
1029
- "ipk"
1030
- ],
1031
- "application/vnd.simtech-mindmapper": [
1032
- "twd",
1033
- "twds"
1034
- ],
1035
- "application/vnd.smaf": [
1036
- "mmf"
1037
- ],
1038
- "application/vnd.smart.teacher": [
1039
- "teacher"
1040
- ],
1041
- "application/vnd.software602.filler.form+xml": [
1042
- "fo"
1043
- ],
1044
- "application/vnd.solent.sdkm+xml": [
1045
- "sdkm",
1046
- "sdkd"
1047
- ],
1048
- "application/vnd.spotfire.dxp": [
1049
- "dxp"
1050
- ],
1051
- "application/vnd.spotfire.sfs": [
1052
- "sfs"
1053
- ],
1054
- "application/vnd.stardivision.calc": [
1055
- "sdc"
1056
- ],
1057
- "application/vnd.stardivision.draw": [
1058
- "sda"
1059
- ],
1060
- "application/vnd.stardivision.impress": [
1061
- "sdd"
1062
- ],
1063
- "application/vnd.stardivision.math": [
1064
- "smf"
1065
- ],
1066
- "application/vnd.stardivision.writer": [
1067
- "sdw",
1068
- "vor"
1069
- ],
1070
- "application/vnd.stardivision.writer-global": [
1071
- "sgl"
1072
- ],
1073
- "application/vnd.stepmania.package": [
1074
- "smzip"
1075
- ],
1076
- "application/vnd.stepmania.stepchart": [
1077
- "sm"
1078
- ],
1079
- "application/vnd.sun.wadl+xml": [
1080
- "wadl"
1081
- ],
1082
- "application/vnd.sun.xml.calc": [
1083
- "sxc"
1084
- ],
1085
- "application/vnd.sun.xml.calc.template": [
1086
- "stc"
1087
- ],
1088
- "application/vnd.sun.xml.draw": [
1089
- "sxd"
1090
- ],
1091
- "application/vnd.sun.xml.draw.template": [
1092
- "std"
1093
- ],
1094
- "application/vnd.sun.xml.impress": [
1095
- "sxi"
1096
- ],
1097
- "application/vnd.sun.xml.impress.template": [
1098
- "sti"
1099
- ],
1100
- "application/vnd.sun.xml.math": [
1101
- "sxm"
1102
- ],
1103
- "application/vnd.sun.xml.writer": [
1104
- "sxw"
1105
- ],
1106
- "application/vnd.sun.xml.writer.global": [
1107
- "sxg"
1108
- ],
1109
- "application/vnd.sun.xml.writer.template": [
1110
- "stw"
1111
- ],
1112
- "application/vnd.sus-calendar": [
1113
- "sus",
1114
- "susp"
1115
- ],
1116
- "application/vnd.svd": [
1117
- "svd"
1118
- ],
1119
- "application/vnd.symbian.install": [
1120
- "sis",
1121
- "sisx"
1122
- ],
1123
- "application/vnd.syncml+xml": [
1124
- "xsm"
1125
- ],
1126
- "application/vnd.syncml.dm+wbxml": [
1127
- "bdm"
1128
- ],
1129
- "application/vnd.syncml.dm+xml": [
1130
- "xdm"
1131
- ],
1132
- "application/vnd.syncml.dmddf+xml": [
1133
- "ddf"
1134
- ],
1135
- "application/vnd.tao.intent-module-archive": [
1136
- "tao"
1137
- ],
1138
- "application/vnd.tcpdump.pcap": [
1139
- "pcap",
1140
- "cap",
1141
- "dmp"
1142
- ],
1143
- "application/vnd.tmobile-livetv": [
1144
- "tmo"
1145
- ],
1146
- "application/vnd.trid.tpt": [
1147
- "tpt"
1148
- ],
1149
- "application/vnd.triscape.mxs": [
1150
- "mxs"
1151
- ],
1152
- "application/vnd.trueapp": [
1153
- "tra"
1154
- ],
1155
- "application/vnd.ufdl": [
1156
- "ufd",
1157
- "ufdl"
1158
- ],
1159
- "application/vnd.uiq.theme": [
1160
- "utz"
1161
- ],
1162
- "application/vnd.umajin": [
1163
- "umj"
1164
- ],
1165
- "application/vnd.unity": [
1166
- "unityweb"
1167
- ],
1168
- "application/vnd.uoml+xml": [
1169
- "uoml"
1170
- ],
1171
- "application/vnd.vcx": [
1172
- "vcx"
1173
- ],
1174
- "application/vnd.visio": [
1175
- "vsd",
1176
- "vst",
1177
- "vss",
1178
- "vsw"
1179
- ],
1180
- "application/vnd.visionary": [
1181
- "vis"
1182
- ],
1183
- "application/vnd.vsf": [
1184
- "vsf"
1185
- ],
1186
- "application/vnd.wap.wbxml": [
1187
- "wbxml"
1188
- ],
1189
- "application/vnd.wap.wmlc": [
1190
- "wmlc"
1191
- ],
1192
- "application/vnd.wap.wmlscriptc": [
1193
- "wmlsc"
1194
- ],
1195
- "application/vnd.webturbo": [
1196
- "wtb"
1197
- ],
1198
- "application/vnd.wolfram.player": [
1199
- "nbp"
1200
- ],
1201
- "application/vnd.wordperfect": [
1202
- "wpd"
1203
- ],
1204
- "application/vnd.wqd": [
1205
- "wqd"
1206
- ],
1207
- "application/vnd.wt.stf": [
1208
- "stf"
1209
- ],
1210
- "application/vnd.xara": [
1211
- "xar"
1212
- ],
1213
- "application/vnd.xfdl": [
1214
- "xfdl"
1215
- ],
1216
- "application/vnd.yamaha.hv-dic": [
1217
- "hvd"
1218
- ],
1219
- "application/vnd.yamaha.hv-script": [
1220
- "hvs"
1221
- ],
1222
- "application/vnd.yamaha.hv-voice": [
1223
- "hvp"
1224
- ],
1225
- "application/vnd.yamaha.openscoreformat": [
1226
- "osf"
1227
- ],
1228
- "application/vnd.yamaha.openscoreformat.osfpvg+xml": [
1229
- "osfpvg"
1230
- ],
1231
- "application/vnd.yamaha.smaf-audio": [
1232
- "saf"
1233
- ],
1234
- "application/vnd.yamaha.smaf-phrase": [
1235
- "spf"
1236
- ],
1237
- "application/vnd.yellowriver-custom-menu": [
1238
- "cmp"
1239
- ],
1240
- "application/vnd.zul": [
1241
- "zir",
1242
- "zirz"
1243
- ],
1244
- "application/vnd.zzazz.deck+xml": [
1245
- "zaz"
1246
- ],
1247
- "application/x-7z-compressed": [
1248
- "7z"
1249
- ],
1250
- "application/x-abiword": [
1251
- "abw"
1252
- ],
1253
- "application/x-ace-compressed": [
1254
- "ace"
1255
- ],
1256
- "application/x-apple-diskimage": [
1257
- "*dmg"
1258
- ],
1259
- "application/x-arj": [
1260
- "arj"
1261
- ],
1262
- "application/x-authorware-bin": [
1263
- "aab",
1264
- "x32",
1265
- "u32",
1266
- "vox"
1267
- ],
1268
- "application/x-authorware-map": [
1269
- "aam"
1270
- ],
1271
- "application/x-authorware-seg": [
1272
- "aas"
1273
- ],
1274
- "application/x-bcpio": [
1275
- "bcpio"
1276
- ],
1277
- "application/x-bdoc": [
1278
- "*bdoc"
1279
- ],
1280
- "application/x-bittorrent": [
1281
- "torrent"
1282
- ],
1283
- "application/x-blorb": [
1284
- "blb",
1285
- "blorb"
1286
- ],
1287
- "application/x-bzip": [
1288
- "bz"
1289
- ],
1290
- "application/x-bzip2": [
1291
- "bz2",
1292
- "boz"
1293
- ],
1294
- "application/x-cbr": [
1295
- "cbr",
1296
- "cba",
1297
- "cbt",
1298
- "cbz",
1299
- "cb7"
1300
- ],
1301
- "application/x-cdlink": [
1302
- "vcd"
1303
- ],
1304
- "application/x-cfs-compressed": [
1305
- "cfs"
1306
- ],
1307
- "application/x-chat": [
1308
- "chat"
1309
- ],
1310
- "application/x-chess-pgn": [
1311
- "pgn"
1312
- ],
1313
- "application/x-chrome-extension": [
1314
- "crx"
1315
- ],
1316
- "application/x-cocoa": [
1317
- "cco"
1318
- ],
1319
- "application/x-conference": [
1320
- "nsc"
1321
- ],
1322
- "application/x-cpio": [
1323
- "cpio"
1324
- ],
1325
- "application/x-csh": [
1326
- "csh"
1327
- ],
1328
- "application/x-debian-package": [
1329
- "*deb",
1330
- "udeb"
1331
- ],
1332
- "application/x-dgc-compressed": [
1333
- "dgc"
1334
- ],
1335
- "application/x-director": [
1336
- "dir",
1337
- "dcr",
1338
- "dxr",
1339
- "cst",
1340
- "cct",
1341
- "cxt",
1342
- "w3d",
1343
- "fgd",
1344
- "swa"
1345
- ],
1346
- "application/x-doom": [
1347
- "wad"
1348
- ],
1349
- "application/x-dtbncx+xml": [
1350
- "ncx"
1351
- ],
1352
- "application/x-dtbook+xml": [
1353
- "dtb"
1354
- ],
1355
- "application/x-dtbresource+xml": [
1356
- "res"
1357
- ],
1358
- "application/x-dvi": [
1359
- "dvi"
1360
- ],
1361
- "application/x-envoy": [
1362
- "evy"
1363
- ],
1364
- "application/x-eva": [
1365
- "eva"
1366
- ],
1367
- "application/x-font-bdf": [
1368
- "bdf"
1369
- ],
1370
- "application/x-font-ghostscript": [
1371
- "gsf"
1372
- ],
1373
- "application/x-font-linux-psf": [
1374
- "psf"
1375
- ],
1376
- "application/x-font-pcf": [
1377
- "pcf"
1378
- ],
1379
- "application/x-font-snf": [
1380
- "snf"
1381
- ],
1382
- "application/x-font-type1": [
1383
- "pfa",
1384
- "pfb",
1385
- "pfm",
1386
- "afm"
1387
- ],
1388
- "application/x-freearc": [
1389
- "arc"
1390
- ],
1391
- "application/x-futuresplash": [
1392
- "spl"
1393
- ],
1394
- "application/x-gca-compressed": [
1395
- "gca"
1396
- ],
1397
- "application/x-glulx": [
1398
- "ulx"
1399
- ],
1400
- "application/x-gnumeric": [
1401
- "gnumeric"
1402
- ],
1403
- "application/x-gramps-xml": [
1404
- "gramps"
1405
- ],
1406
- "application/x-gtar": [
1407
- "gtar"
1408
- ],
1409
- "application/x-hdf": [
1410
- "hdf"
1411
- ],
1412
- "application/x-httpd-php": [
1413
- "php"
1414
- ],
1415
- "application/x-install-instructions": [
1416
- "install"
1417
- ],
1418
- "application/x-iso9660-image": [
1419
- "*iso"
1420
- ],
1421
- "application/x-iwork-keynote-sffkey": [
1422
- "*key"
1423
- ],
1424
- "application/x-iwork-numbers-sffnumbers": [
1425
- "*numbers"
1426
- ],
1427
- "application/x-iwork-pages-sffpages": [
1428
- "*pages"
1429
- ],
1430
- "application/x-java-archive-diff": [
1431
- "jardiff"
1432
- ],
1433
- "application/x-java-jnlp-file": [
1434
- "jnlp"
1435
- ],
1436
- "application/x-keepass2": [
1437
- "kdbx"
1438
- ],
1439
- "application/x-latex": [
1440
- "latex"
1441
- ],
1442
- "application/x-lua-bytecode": [
1443
- "luac"
1444
- ],
1445
- "application/x-lzh-compressed": [
1446
- "lzh",
1447
- "lha"
1448
- ],
1449
- "application/x-makeself": [
1450
- "run"
1451
- ],
1452
- "application/x-mie": [
1453
- "mie"
1454
- ],
1455
- "application/x-mobipocket-ebook": [
1456
- "prc",
1457
- "mobi"
1458
- ],
1459
- "application/x-ms-application": [
1460
- "application"
1461
- ],
1462
- "application/x-ms-shortcut": [
1463
- "lnk"
1464
- ],
1465
- "application/x-ms-wmd": [
1466
- "wmd"
1467
- ],
1468
- "application/x-ms-wmz": [
1469
- "wmz"
1470
- ],
1471
- "application/x-ms-xbap": [
1472
- "xbap"
1473
- ],
1474
- "application/x-msaccess": [
1475
- "mdb"
1476
- ],
1477
- "application/x-msbinder": [
1478
- "obd"
1479
- ],
1480
- "application/x-mscardfile": [
1481
- "crd"
1482
- ],
1483
- "application/x-msclip": [
1484
- "clp"
1485
- ],
1486
- "application/x-msdos-program": [
1487
- "*exe"
1488
- ],
1489
- "application/x-msdownload": [
1490
- "*exe",
1491
- "*dll",
1492
- "com",
1493
- "bat",
1494
- "*msi"
1495
- ],
1496
- "application/x-msmediaview": [
1497
- "mvb",
1498
- "m13",
1499
- "m14"
1500
- ],
1501
- "application/x-msmetafile": [
1502
- "*wmf",
1503
- "*wmz",
1504
- "*emf",
1505
- "emz"
1506
- ],
1507
- "application/x-msmoney": [
1508
- "mny"
1509
- ],
1510
- "application/x-mspublisher": [
1511
- "pub"
1512
- ],
1513
- "application/x-msschedule": [
1514
- "scd"
1515
- ],
1516
- "application/x-msterminal": [
1517
- "trm"
1518
- ],
1519
- "application/x-mswrite": [
1520
- "wri"
1521
- ],
1522
- "application/x-netcdf": [
1523
- "nc",
1524
- "cdf"
1525
- ],
1526
- "application/x-ns-proxy-autoconfig": [
1527
- "pac"
1528
- ],
1529
- "application/x-nzb": [
1530
- "nzb"
1531
- ],
1532
- "application/x-perl": [
1533
- "pl",
1534
- "pm"
1535
- ],
1536
- "application/x-pilot": [
1537
- "*prc",
1538
- "*pdb"
1539
- ],
1540
- "application/x-pkcs12": [
1541
- "p12",
1542
- "pfx"
1543
- ],
1544
- "application/x-pkcs7-certificates": [
1545
- "p7b",
1546
- "spc"
1547
- ],
1548
- "application/x-pkcs7-certreqresp": [
1549
- "p7r"
1550
- ],
1551
- "application/x-rar-compressed": [
1552
- "*rar"
1553
- ],
1554
- "application/x-redhat-package-manager": [
1555
- "rpm"
1556
- ],
1557
- "application/x-research-info-systems": [
1558
- "ris"
1559
- ],
1560
- "application/x-sea": [
1561
- "sea"
1562
- ],
1563
- "application/x-sh": [
1564
- "sh"
1565
- ],
1566
- "application/x-shar": [
1567
- "shar"
1568
- ],
1569
- "application/x-shockwave-flash": [
1570
- "swf"
1571
- ],
1572
- "application/x-silverlight-app": [
1573
- "xap"
1574
- ],
1575
- "application/x-sql": [
1576
- "sql"
1577
- ],
1578
- "application/x-stuffit": [
1579
- "sit"
1580
- ],
1581
- "application/x-stuffitx": [
1582
- "sitx"
1583
- ],
1584
- "application/x-subrip": [
1585
- "srt"
1586
- ],
1587
- "application/x-sv4cpio": [
1588
- "sv4cpio"
1589
- ],
1590
- "application/x-sv4crc": [
1591
- "sv4crc"
1592
- ],
1593
- "application/x-t3vm-image": [
1594
- "t3"
1595
- ],
1596
- "application/x-tads": [
1597
- "gam"
1598
- ],
1599
- "application/x-tar": [
1600
- "tar"
1601
- ],
1602
- "application/x-tcl": [
1603
- "tcl",
1604
- "tk"
1605
- ],
1606
- "application/x-tex": [
1607
- "tex"
1608
- ],
1609
- "application/x-tex-tfm": [
1610
- "tfm"
1611
- ],
1612
- "application/x-texinfo": [
1613
- "texinfo",
1614
- "texi"
1615
- ],
1616
- "application/x-tgif": [
1617
- "*obj"
1618
- ],
1619
- "application/x-ustar": [
1620
- "ustar"
1621
- ],
1622
- "application/x-virtualbox-hdd": [
1623
- "hdd"
1624
- ],
1625
- "application/x-virtualbox-ova": [
1626
- "ova"
1627
- ],
1628
- "application/x-virtualbox-ovf": [
1629
- "ovf"
1630
- ],
1631
- "application/x-virtualbox-vbox": [
1632
- "vbox"
1633
- ],
1634
- "application/x-virtualbox-vbox-extpack": [
1635
- "vbox-extpack"
1636
- ],
1637
- "application/x-virtualbox-vdi": [
1638
- "vdi"
1639
- ],
1640
- "application/x-virtualbox-vhd": [
1641
- "vhd"
1642
- ],
1643
- "application/x-virtualbox-vmdk": [
1644
- "vmdk"
1645
- ],
1646
- "application/x-wais-source": [
1647
- "src"
1648
- ],
1649
- "application/x-web-app-manifest+json": [
1650
- "webapp"
1651
- ],
1652
- "application/x-x509-ca-cert": [
1653
- "der",
1654
- "crt",
1655
- "pem"
1656
- ],
1657
- "application/x-xfig": [
1658
- "fig"
1659
- ],
1660
- "application/x-xliff+xml": [
1661
- "*xlf"
1662
- ],
1663
- "application/x-xpinstall": [
1664
- "xpi"
1665
- ],
1666
- "application/x-xz": [
1667
- "xz"
1668
- ],
1669
- "application/x-zmachine": [
1670
- "z1",
1671
- "z2",
1672
- "z3",
1673
- "z4",
1674
- "z5",
1675
- "z6",
1676
- "z7",
1677
- "z8"
1678
- ],
1679
- "audio/vnd.dece.audio": [
1680
- "uva",
1681
- "uvva"
1682
- ],
1683
- "audio/vnd.digital-winds": [
1684
- "eol"
1685
- ],
1686
- "audio/vnd.dra": [
1687
- "dra"
1688
- ],
1689
- "audio/vnd.dts": [
1690
- "dts"
1691
- ],
1692
- "audio/vnd.dts.hd": [
1693
- "dtshd"
1694
- ],
1695
- "audio/vnd.lucent.voice": [
1696
- "lvp"
1697
- ],
1698
- "audio/vnd.ms-playready.media.pya": [
1699
- "pya"
1700
- ],
1701
- "audio/vnd.nuera.ecelp4800": [
1702
- "ecelp4800"
1703
- ],
1704
- "audio/vnd.nuera.ecelp7470": [
1705
- "ecelp7470"
1706
- ],
1707
- "audio/vnd.nuera.ecelp9600": [
1708
- "ecelp9600"
1709
- ],
1710
- "audio/vnd.rip": [
1711
- "rip"
1712
- ],
1713
- "audio/x-aac": [
1714
- "aac"
1715
- ],
1716
- "audio/x-aiff": [
1717
- "aif",
1718
- "aiff",
1719
- "aifc"
1720
- ],
1721
- "audio/x-caf": [
1722
- "caf"
1723
- ],
1724
- "audio/x-flac": [
1725
- "flac"
1726
- ],
1727
- "audio/x-m4a": [
1728
- "*m4a"
1729
- ],
1730
- "audio/x-matroska": [
1731
- "mka"
1732
- ],
1733
- "audio/x-mpegurl": [
1734
- "m3u"
1735
- ],
1736
- "audio/x-ms-wax": [
1737
- "wax"
1738
- ],
1739
- "audio/x-ms-wma": [
1740
- "wma"
1741
- ],
1742
- "audio/x-pn-realaudio": [
1743
- "ram",
1744
- "ra"
1745
- ],
1746
- "audio/x-pn-realaudio-plugin": [
1747
- "rmp"
1748
- ],
1749
- "audio/x-realaudio": [
1750
- "*ra"
1751
- ],
1752
- "audio/x-wav": [
1753
- "*wav"
1754
- ],
1755
- "chemical/x-cdx": [
1756
- "cdx"
1757
- ],
1758
- "chemical/x-cif": [
1759
- "cif"
1760
- ],
1761
- "chemical/x-cmdf": [
1762
- "cmdf"
1763
- ],
1764
- "chemical/x-cml": [
1765
- "cml"
1766
- ],
1767
- "chemical/x-csml": [
1768
- "csml"
1769
- ],
1770
- "chemical/x-xyz": [
1771
- "xyz"
1772
- ],
1773
- "image/prs.btif": [
1774
- "btif"
1775
- ],
1776
- "image/prs.pti": [
1777
- "pti"
1778
- ],
1779
- "image/vnd.adobe.photoshop": [
1780
- "psd"
1781
- ],
1782
- "image/vnd.airzip.accelerator.azv": [
1783
- "azv"
1784
- ],
1785
- "image/vnd.dece.graphic": [
1786
- "uvi",
1787
- "uvvi",
1788
- "uvg",
1789
- "uvvg"
1790
- ],
1791
- "image/vnd.djvu": [
1792
- "djvu",
1793
- "djv"
1794
- ],
1795
- "image/vnd.dvb.subtitle": [
1796
- "*sub"
1797
- ],
1798
- "image/vnd.dwg": [
1799
- "dwg"
1800
- ],
1801
- "image/vnd.dxf": [
1802
- "dxf"
1803
- ],
1804
- "image/vnd.fastbidsheet": [
1805
- "fbs"
1806
- ],
1807
- "image/vnd.fpx": [
1808
- "fpx"
1809
- ],
1810
- "image/vnd.fst": [
1811
- "fst"
1812
- ],
1813
- "image/vnd.fujixerox.edmics-mmr": [
1814
- "mmr"
1815
- ],
1816
- "image/vnd.fujixerox.edmics-rlc": [
1817
- "rlc"
1818
- ],
1819
- "image/vnd.microsoft.icon": [
1820
- "ico"
1821
- ],
1822
- "image/vnd.ms-dds": [
1823
- "dds"
1824
- ],
1825
- "image/vnd.ms-modi": [
1826
- "mdi"
1827
- ],
1828
- "image/vnd.ms-photo": [
1829
- "wdp"
1830
- ],
1831
- "image/vnd.net-fpx": [
1832
- "npx"
1833
- ],
1834
- "image/vnd.pco.b16": [
1835
- "b16"
1836
- ],
1837
- "image/vnd.tencent.tap": [
1838
- "tap"
1839
- ],
1840
- "image/vnd.valve.source.texture": [
1841
- "vtf"
1842
- ],
1843
- "image/vnd.wap.wbmp": [
1844
- "wbmp"
1845
- ],
1846
- "image/vnd.xiff": [
1847
- "xif"
1848
- ],
1849
- "image/vnd.zbrush.pcx": [
1850
- "pcx"
1851
- ],
1852
- "image/x-3ds": [
1853
- "3ds"
1854
- ],
1855
- "image/x-cmu-raster": [
1856
- "ras"
1857
- ],
1858
- "image/x-cmx": [
1859
- "cmx"
1860
- ],
1861
- "image/x-freehand": [
1862
- "fh",
1863
- "fhc",
1864
- "fh4",
1865
- "fh5",
1866
- "fh7"
1867
- ],
1868
- "image/x-icon": [
1869
- "*ico"
1870
- ],
1871
- "image/x-jng": [
1872
- "jng"
1873
- ],
1874
- "image/x-mrsid-image": [
1875
- "sid"
1876
- ],
1877
- "image/x-ms-bmp": [
1878
- "*bmp"
1879
- ],
1880
- "image/x-pcx": [
1881
- "*pcx"
1882
- ],
1883
- "image/x-pict": [
1884
- "pic",
1885
- "pct"
1886
- ],
1887
- "image/x-portable-anymap": [
1888
- "pnm"
1889
- ],
1890
- "image/x-portable-bitmap": [
1891
- "pbm"
1892
- ],
1893
- "image/x-portable-graymap": [
1894
- "pgm"
1895
- ],
1896
- "image/x-portable-pixmap": [
1897
- "ppm"
1898
- ],
1899
- "image/x-rgb": [
1900
- "rgb"
1901
- ],
1902
- "image/x-tga": [
1903
- "tga"
1904
- ],
1905
- "image/x-xbitmap": [
1906
- "xbm"
1907
- ],
1908
- "image/x-xpixmap": [
1909
- "xpm"
1910
- ],
1911
- "image/x-xwindowdump": [
1912
- "xwd"
1913
- ],
1914
- "message/vnd.wfa.wsc": [
1915
- "wsc"
1916
- ],
1917
- "model/vnd.collada+xml": [
1918
- "dae"
1919
- ],
1920
- "model/vnd.dwf": [
1921
- "dwf"
1922
- ],
1923
- "model/vnd.gdl": [
1924
- "gdl"
1925
- ],
1926
- "model/vnd.gtw": [
1927
- "gtw"
1928
- ],
1929
- "model/vnd.mts": [
1930
- "mts"
1931
- ],
1932
- "model/vnd.opengex": [
1933
- "ogex"
1934
- ],
1935
- "model/vnd.parasolid.transmit.binary": [
1936
- "x_b"
1937
- ],
1938
- "model/vnd.parasolid.transmit.text": [
1939
- "x_t"
1940
- ],
1941
- "model/vnd.sap.vds": [
1942
- "vds"
1943
- ],
1944
- "model/vnd.usdz+zip": [
1945
- "usdz"
1946
- ],
1947
- "model/vnd.valve.source.compiled-map": [
1948
- "bsp"
1949
- ],
1950
- "model/vnd.vtu": [
1951
- "vtu"
1952
- ],
1953
- "text/prs.lines.tag": [
1954
- "dsc"
1955
- ],
1956
- "text/vnd.curl": [
1957
- "curl"
1958
- ],
1959
- "text/vnd.curl.dcurl": [
1960
- "dcurl"
1961
- ],
1962
- "text/vnd.curl.mcurl": [
1963
- "mcurl"
1964
- ],
1965
- "text/vnd.curl.scurl": [
1966
- "scurl"
1967
- ],
1968
- "text/vnd.dvb.subtitle": [
1969
- "sub"
1970
- ],
1971
- "text/vnd.fly": [
1972
- "fly"
1973
- ],
1974
- "text/vnd.fmi.flexstor": [
1975
- "flx"
1976
- ],
1977
- "text/vnd.graphviz": [
1978
- "gv"
1979
- ],
1980
- "text/vnd.in3d.3dml": [
1981
- "3dml"
1982
- ],
1983
- "text/vnd.in3d.spot": [
1984
- "spot"
1985
- ],
1986
- "text/vnd.sun.j2me.app-descriptor": [
1987
- "jad"
1988
- ],
1989
- "text/vnd.wap.wml": [
1990
- "wml"
1991
- ],
1992
- "text/vnd.wap.wmlscript": [
1993
- "wmls"
1994
- ],
1995
- "text/x-asm": [
1996
- "s",
1997
- "asm"
1998
- ],
1999
- "text/x-c": [
2000
- "c",
2001
- "cc",
2002
- "cxx",
2003
- "cpp",
2004
- "h",
2005
- "hh",
2006
- "dic"
2007
- ],
2008
- "text/x-component": [
2009
- "htc"
2010
- ],
2011
- "text/x-fortran": [
2012
- "f",
2013
- "for",
2014
- "f77",
2015
- "f90"
2016
- ],
2017
- "text/x-handlebars-template": [
2018
- "hbs"
2019
- ],
2020
- "text/x-java-source": [
2021
- "java"
2022
- ],
2023
- "text/x-lua": [
2024
- "lua"
2025
- ],
2026
- "text/x-markdown": [
2027
- "mkd"
2028
- ],
2029
- "text/x-nfo": [
2030
- "nfo"
2031
- ],
2032
- "text/x-opml": [
2033
- "opml"
2034
- ],
2035
- "text/x-org": [
2036
- "*org"
2037
- ],
2038
- "text/x-pascal": [
2039
- "p",
2040
- "pas"
2041
- ],
2042
- "text/x-processing": [
2043
- "pde"
2044
- ],
2045
- "text/x-sass": [
2046
- "sass"
2047
- ],
2048
- "text/x-scss": [
2049
- "scss"
2050
- ],
2051
- "text/x-setext": [
2052
- "etx"
2053
- ],
2054
- "text/x-sfv": [
2055
- "sfv"
2056
- ],
2057
- "text/x-suse-ymp": [
2058
- "ymp"
2059
- ],
2060
- "text/x-uuencode": [
2061
- "uu"
2062
- ],
2063
- "text/x-vcalendar": [
2064
- "vcs"
2065
- ],
2066
- "text/x-vcard": [
2067
- "vcf"
2068
- ],
2069
- "video/vnd.dece.hd": [
2070
- "uvh",
2071
- "uvvh"
2072
- ],
2073
- "video/vnd.dece.mobile": [
2074
- "uvm",
2075
- "uvvm"
2076
- ],
2077
- "video/vnd.dece.pd": [
2078
- "uvp",
2079
- "uvvp"
2080
- ],
2081
- "video/vnd.dece.sd": [
2082
- "uvs",
2083
- "uvvs"
2084
- ],
2085
- "video/vnd.dece.video": [
2086
- "uvv",
2087
- "uvvv"
2088
- ],
2089
- "video/vnd.dvb.file": [
2090
- "dvb"
2091
- ],
2092
- "video/vnd.fvt": [
2093
- "fvt"
2094
- ],
2095
- "video/vnd.mpegurl": [
2096
- "mxu",
2097
- "m4u"
2098
- ],
2099
- "video/vnd.ms-playready.media.pyv": [
2100
- "pyv"
2101
- ],
2102
- "video/vnd.uvvu.mp4": [
2103
- "uvu",
2104
- "uvvu"
2105
- ],
2106
- "video/vnd.vivo": [
2107
- "viv"
2108
- ],
2109
- "video/x-f4v": [
2110
- "f4v"
2111
- ],
2112
- "video/x-fli": [
2113
- "fli"
2114
- ],
2115
- "video/x-flv": [
2116
- "flv"
2117
- ],
2118
- "video/x-m4v": [
2119
- "m4v"
2120
- ],
2121
- "video/x-matroska": [
2122
- "mkv",
2123
- "mk3d",
2124
- "mks"
2125
- ],
2126
- "video/x-mng": [
2127
- "mng"
2128
- ],
2129
- "video/x-ms-asf": [
2130
- "asf",
2131
- "asx"
2132
- ],
2133
- "video/x-ms-vob": [
2134
- "vob"
2135
- ],
2136
- "video/x-ms-wm": [
2137
- "wm"
2138
- ],
2139
- "video/x-ms-wmv": [
2140
- "wmv"
2141
- ],
2142
- "video/x-ms-wmx": [
2143
- "wmx"
2144
- ],
2145
- "video/x-ms-wvx": [
2146
- "wvx"
2147
- ],
2148
- "video/x-msvideo": [
2149
- "avi"
2150
- ],
2151
- "video/x-sgi-movie": [
2152
- "movie"
2153
- ],
2154
- "video/x-smv": [
2155
- "smv"
2156
- ],
2157
- "x-conference/x-cooltalk": [
2158
- "ice"
2159
- ]
2160
- };
2161
- },
2162
- "../../node_modules/.pnpm/mime@2.6.0/node_modules/mime/types/standard.js": function(module) {
2163
- module.exports = {
2164
- "application/andrew-inset": [
2165
- "ez"
2166
- ],
2167
- "application/applixware": [
2168
- "aw"
2169
- ],
2170
- "application/atom+xml": [
2171
- "atom"
2172
- ],
2173
- "application/atomcat+xml": [
2174
- "atomcat"
2175
- ],
2176
- "application/atomdeleted+xml": [
2177
- "atomdeleted"
2178
- ],
2179
- "application/atomsvc+xml": [
2180
- "atomsvc"
2181
- ],
2182
- "application/atsc-dwd+xml": [
2183
- "dwd"
2184
- ],
2185
- "application/atsc-held+xml": [
2186
- "held"
2187
- ],
2188
- "application/atsc-rsat+xml": [
2189
- "rsat"
2190
- ],
2191
- "application/bdoc": [
2192
- "bdoc"
2193
- ],
2194
- "application/calendar+xml": [
2195
- "xcs"
2196
- ],
2197
- "application/ccxml+xml": [
2198
- "ccxml"
2199
- ],
2200
- "application/cdfx+xml": [
2201
- "cdfx"
2202
- ],
2203
- "application/cdmi-capability": [
2204
- "cdmia"
2205
- ],
2206
- "application/cdmi-container": [
2207
- "cdmic"
2208
- ],
2209
- "application/cdmi-domain": [
2210
- "cdmid"
2211
- ],
2212
- "application/cdmi-object": [
2213
- "cdmio"
2214
- ],
2215
- "application/cdmi-queue": [
2216
- "cdmiq"
2217
- ],
2218
- "application/cu-seeme": [
2219
- "cu"
2220
- ],
2221
- "application/dash+xml": [
2222
- "mpd"
2223
- ],
2224
- "application/davmount+xml": [
2225
- "davmount"
2226
- ],
2227
- "application/docbook+xml": [
2228
- "dbk"
2229
- ],
2230
- "application/dssc+der": [
2231
- "dssc"
2232
- ],
2233
- "application/dssc+xml": [
2234
- "xdssc"
2235
- ],
2236
- "application/ecmascript": [
2237
- "es",
2238
- "ecma"
2239
- ],
2240
- "application/emma+xml": [
2241
- "emma"
2242
- ],
2243
- "application/emotionml+xml": [
2244
- "emotionml"
2245
- ],
2246
- "application/epub+zip": [
2247
- "epub"
2248
- ],
2249
- "application/exi": [
2250
- "exi"
2251
- ],
2252
- "application/express": [
2253
- "exp"
2254
- ],
2255
- "application/fdt+xml": [
2256
- "fdt"
2257
- ],
2258
- "application/font-tdpfr": [
2259
- "pfr"
2260
- ],
2261
- "application/geo+json": [
2262
- "geojson"
2263
- ],
2264
- "application/gml+xml": [
2265
- "gml"
2266
- ],
2267
- "application/gpx+xml": [
2268
- "gpx"
2269
- ],
2270
- "application/gxf": [
2271
- "gxf"
2272
- ],
2273
- "application/gzip": [
2274
- "gz"
2275
- ],
2276
- "application/hjson": [
2277
- "hjson"
2278
- ],
2279
- "application/hyperstudio": [
2280
- "stk"
2281
- ],
2282
- "application/inkml+xml": [
2283
- "ink",
2284
- "inkml"
2285
- ],
2286
- "application/ipfix": [
2287
- "ipfix"
2288
- ],
2289
- "application/its+xml": [
2290
- "its"
2291
- ],
2292
- "application/java-archive": [
2293
- "jar",
2294
- "war",
2295
- "ear"
2296
- ],
2297
- "application/java-serialized-object": [
2298
- "ser"
2299
- ],
2300
- "application/java-vm": [
2301
- "class"
2302
- ],
2303
- "application/javascript": [
2304
- "js",
2305
- "mjs"
2306
- ],
2307
- "application/json": [
2308
- "json",
2309
- "map"
2310
- ],
2311
- "application/json5": [
2312
- "json5"
2313
- ],
2314
- "application/jsonml+json": [
2315
- "jsonml"
2316
- ],
2317
- "application/ld+json": [
2318
- "jsonld"
2319
- ],
2320
- "application/lgr+xml": [
2321
- "lgr"
2322
- ],
2323
- "application/lost+xml": [
2324
- "lostxml"
2325
- ],
2326
- "application/mac-binhex40": [
2327
- "hqx"
2328
- ],
2329
- "application/mac-compactpro": [
2330
- "cpt"
2331
- ],
2332
- "application/mads+xml": [
2333
- "mads"
2334
- ],
2335
- "application/manifest+json": [
2336
- "webmanifest"
2337
- ],
2338
- "application/marc": [
2339
- "mrc"
2340
- ],
2341
- "application/marcxml+xml": [
2342
- "mrcx"
2343
- ],
2344
- "application/mathematica": [
2345
- "ma",
2346
- "nb",
2347
- "mb"
2348
- ],
2349
- "application/mathml+xml": [
2350
- "mathml"
2351
- ],
2352
- "application/mbox": [
2353
- "mbox"
2354
- ],
2355
- "application/mediaservercontrol+xml": [
2356
- "mscml"
2357
- ],
2358
- "application/metalink+xml": [
2359
- "metalink"
2360
- ],
2361
- "application/metalink4+xml": [
2362
- "meta4"
2363
- ],
2364
- "application/mets+xml": [
2365
- "mets"
2366
- ],
2367
- "application/mmt-aei+xml": [
2368
- "maei"
2369
- ],
2370
- "application/mmt-usd+xml": [
2371
- "musd"
2372
- ],
2373
- "application/mods+xml": [
2374
- "mods"
2375
- ],
2376
- "application/mp21": [
2377
- "m21",
2378
- "mp21"
2379
- ],
2380
- "application/mp4": [
2381
- "mp4s",
2382
- "m4p"
2383
- ],
2384
- "application/msword": [
2385
- "doc",
2386
- "dot"
2387
- ],
2388
- "application/mxf": [
2389
- "mxf"
2390
- ],
2391
- "application/n-quads": [
2392
- "nq"
2393
- ],
2394
- "application/n-triples": [
2395
- "nt"
2396
- ],
2397
- "application/node": [
2398
- "cjs"
2399
- ],
2400
- "application/octet-stream": [
2401
- "bin",
2402
- "dms",
2403
- "lrf",
2404
- "mar",
2405
- "so",
2406
- "dist",
2407
- "distz",
2408
- "pkg",
2409
- "bpk",
2410
- "dump",
2411
- "elc",
2412
- "deploy",
2413
- "exe",
2414
- "dll",
2415
- "deb",
2416
- "dmg",
2417
- "iso",
2418
- "img",
2419
- "msi",
2420
- "msp",
2421
- "msm",
2422
- "buffer"
2423
- ],
2424
- "application/oda": [
2425
- "oda"
2426
- ],
2427
- "application/oebps-package+xml": [
2428
- "opf"
2429
- ],
2430
- "application/ogg": [
2431
- "ogx"
2432
- ],
2433
- "application/omdoc+xml": [
2434
- "omdoc"
2435
- ],
2436
- "application/onenote": [
2437
- "onetoc",
2438
- "onetoc2",
2439
- "onetmp",
2440
- "onepkg"
2441
- ],
2442
- "application/oxps": [
2443
- "oxps"
2444
- ],
2445
- "application/p2p-overlay+xml": [
2446
- "relo"
2447
- ],
2448
- "application/patch-ops-error+xml": [
2449
- "xer"
2450
- ],
2451
- "application/pdf": [
2452
- "pdf"
2453
- ],
2454
- "application/pgp-encrypted": [
2455
- "pgp"
2456
- ],
2457
- "application/pgp-signature": [
2458
- "asc",
2459
- "sig"
2460
- ],
2461
- "application/pics-rules": [
2462
- "prf"
2463
- ],
2464
- "application/pkcs10": [
2465
- "p10"
2466
- ],
2467
- "application/pkcs7-mime": [
2468
- "p7m",
2469
- "p7c"
2470
- ],
2471
- "application/pkcs7-signature": [
2472
- "p7s"
2473
- ],
2474
- "application/pkcs8": [
2475
- "p8"
2476
- ],
2477
- "application/pkix-attr-cert": [
2478
- "ac"
2479
- ],
2480
- "application/pkix-cert": [
2481
- "cer"
2482
- ],
2483
- "application/pkix-crl": [
2484
- "crl"
2485
- ],
2486
- "application/pkix-pkipath": [
2487
- "pkipath"
2488
- ],
2489
- "application/pkixcmp": [
2490
- "pki"
2491
- ],
2492
- "application/pls+xml": [
2493
- "pls"
2494
- ],
2495
- "application/postscript": [
2496
- "ai",
2497
- "eps",
2498
- "ps"
2499
- ],
2500
- "application/provenance+xml": [
2501
- "provx"
2502
- ],
2503
- "application/pskc+xml": [
2504
- "pskcxml"
2505
- ],
2506
- "application/raml+yaml": [
2507
- "raml"
2508
- ],
2509
- "application/rdf+xml": [
2510
- "rdf",
2511
- "owl"
2512
- ],
2513
- "application/reginfo+xml": [
2514
- "rif"
2515
- ],
2516
- "application/relax-ng-compact-syntax": [
2517
- "rnc"
2518
- ],
2519
- "application/resource-lists+xml": [
2520
- "rl"
2521
- ],
2522
- "application/resource-lists-diff+xml": [
2523
- "rld"
2524
- ],
2525
- "application/rls-services+xml": [
2526
- "rs"
2527
- ],
2528
- "application/route-apd+xml": [
2529
- "rapd"
2530
- ],
2531
- "application/route-s-tsid+xml": [
2532
- "sls"
2533
- ],
2534
- "application/route-usd+xml": [
2535
- "rusd"
2536
- ],
2537
- "application/rpki-ghostbusters": [
2538
- "gbr"
2539
- ],
2540
- "application/rpki-manifest": [
2541
- "mft"
2542
- ],
2543
- "application/rpki-roa": [
2544
- "roa"
2545
- ],
2546
- "application/rsd+xml": [
2547
- "rsd"
2548
- ],
2549
- "application/rss+xml": [
2550
- "rss"
2551
- ],
2552
- "application/rtf": [
2553
- "rtf"
2554
- ],
2555
- "application/sbml+xml": [
2556
- "sbml"
2557
- ],
2558
- "application/scvp-cv-request": [
2559
- "scq"
2560
- ],
2561
- "application/scvp-cv-response": [
2562
- "scs"
2563
- ],
2564
- "application/scvp-vp-request": [
2565
- "spq"
2566
- ],
2567
- "application/scvp-vp-response": [
2568
- "spp"
2569
- ],
2570
- "application/sdp": [
2571
- "sdp"
2572
- ],
2573
- "application/senml+xml": [
2574
- "senmlx"
2575
- ],
2576
- "application/sensml+xml": [
2577
- "sensmlx"
2578
- ],
2579
- "application/set-payment-initiation": [
2580
- "setpay"
2581
- ],
2582
- "application/set-registration-initiation": [
2583
- "setreg"
2584
- ],
2585
- "application/shf+xml": [
2586
- "shf"
2587
- ],
2588
- "application/sieve": [
2589
- "siv",
2590
- "sieve"
2591
- ],
2592
- "application/smil+xml": [
2593
- "smi",
2594
- "smil"
2595
- ],
2596
- "application/sparql-query": [
2597
- "rq"
2598
- ],
2599
- "application/sparql-results+xml": [
2600
- "srx"
2601
- ],
2602
- "application/srgs": [
2603
- "gram"
2604
- ],
2605
- "application/srgs+xml": [
2606
- "grxml"
2607
- ],
2608
- "application/sru+xml": [
2609
- "sru"
2610
- ],
2611
- "application/ssdl+xml": [
2612
- "ssdl"
2613
- ],
2614
- "application/ssml+xml": [
2615
- "ssml"
2616
- ],
2617
- "application/swid+xml": [
2618
- "swidtag"
2619
- ],
2620
- "application/tei+xml": [
2621
- "tei",
2622
- "teicorpus"
2623
- ],
2624
- "application/thraud+xml": [
2625
- "tfi"
2626
- ],
2627
- "application/timestamped-data": [
2628
- "tsd"
2629
- ],
2630
- "application/toml": [
2631
- "toml"
2632
- ],
2633
- "application/trig": [
2634
- "trig"
2635
- ],
2636
- "application/ttml+xml": [
2637
- "ttml"
2638
- ],
2639
- "application/ubjson": [
2640
- "ubj"
2641
- ],
2642
- "application/urc-ressheet+xml": [
2643
- "rsheet"
2644
- ],
2645
- "application/urc-targetdesc+xml": [
2646
- "td"
2647
- ],
2648
- "application/voicexml+xml": [
2649
- "vxml"
2650
- ],
2651
- "application/wasm": [
2652
- "wasm"
2653
- ],
2654
- "application/widget": [
2655
- "wgt"
2656
- ],
2657
- "application/winhlp": [
2658
- "hlp"
2659
- ],
2660
- "application/wsdl+xml": [
2661
- "wsdl"
2662
- ],
2663
- "application/wspolicy+xml": [
2664
- "wspolicy"
2665
- ],
2666
- "application/xaml+xml": [
2667
- "xaml"
2668
- ],
2669
- "application/xcap-att+xml": [
2670
- "xav"
2671
- ],
2672
- "application/xcap-caps+xml": [
2673
- "xca"
2674
- ],
2675
- "application/xcap-diff+xml": [
2676
- "xdf"
2677
- ],
2678
- "application/xcap-el+xml": [
2679
- "xel"
2680
- ],
2681
- "application/xcap-ns+xml": [
2682
- "xns"
2683
- ],
2684
- "application/xenc+xml": [
2685
- "xenc"
2686
- ],
2687
- "application/xhtml+xml": [
2688
- "xhtml",
2689
- "xht"
2690
- ],
2691
- "application/xliff+xml": [
2692
- "xlf"
2693
- ],
2694
- "application/xml": [
2695
- "xml",
2696
- "xsl",
2697
- "xsd",
2698
- "rng"
2699
- ],
2700
- "application/xml-dtd": [
2701
- "dtd"
2702
- ],
2703
- "application/xop+xml": [
2704
- "xop"
2705
- ],
2706
- "application/xproc+xml": [
2707
- "xpl"
2708
- ],
2709
- "application/xslt+xml": [
2710
- "*xsl",
2711
- "xslt"
2712
- ],
2713
- "application/xspf+xml": [
2714
- "xspf"
2715
- ],
2716
- "application/xv+xml": [
2717
- "mxml",
2718
- "xhvml",
2719
- "xvml",
2720
- "xvm"
2721
- ],
2722
- "application/yang": [
2723
- "yang"
2724
- ],
2725
- "application/yin+xml": [
2726
- "yin"
2727
- ],
2728
- "application/zip": [
2729
- "zip"
2730
- ],
2731
- "audio/3gpp": [
2732
- "*3gpp"
2733
- ],
2734
- "audio/adpcm": [
2735
- "adp"
2736
- ],
2737
- "audio/amr": [
2738
- "amr"
2739
- ],
2740
- "audio/basic": [
2741
- "au",
2742
- "snd"
2743
- ],
2744
- "audio/midi": [
2745
- "mid",
2746
- "midi",
2747
- "kar",
2748
- "rmi"
2749
- ],
2750
- "audio/mobile-xmf": [
2751
- "mxmf"
2752
- ],
2753
- "audio/mp3": [
2754
- "*mp3"
2755
- ],
2756
- "audio/mp4": [
2757
- "m4a",
2758
- "mp4a"
2759
- ],
2760
- "audio/mpeg": [
2761
- "mpga",
2762
- "mp2",
2763
- "mp2a",
2764
- "mp3",
2765
- "m2a",
2766
- "m3a"
2767
- ],
2768
- "audio/ogg": [
2769
- "oga",
2770
- "ogg",
2771
- "spx",
2772
- "opus"
2773
- ],
2774
- "audio/s3m": [
2775
- "s3m"
2776
- ],
2777
- "audio/silk": [
2778
- "sil"
2779
- ],
2780
- "audio/wav": [
2781
- "wav"
2782
- ],
2783
- "audio/wave": [
2784
- "*wav"
2785
- ],
2786
- "audio/webm": [
2787
- "weba"
2788
- ],
2789
- "audio/xm": [
2790
- "xm"
2791
- ],
2792
- "font/collection": [
2793
- "ttc"
2794
- ],
2795
- "font/otf": [
2796
- "otf"
2797
- ],
2798
- "font/ttf": [
2799
- "ttf"
2800
- ],
2801
- "font/woff": [
2802
- "woff"
2803
- ],
2804
- "font/woff2": [
2805
- "woff2"
2806
- ],
2807
- "image/aces": [
2808
- "exr"
2809
- ],
2810
- "image/apng": [
2811
- "apng"
2812
- ],
2813
- "image/avif": [
2814
- "avif"
2815
- ],
2816
- "image/bmp": [
2817
- "bmp"
2818
- ],
2819
- "image/cgm": [
2820
- "cgm"
2821
- ],
2822
- "image/dicom-rle": [
2823
- "drle"
2824
- ],
2825
- "image/emf": [
2826
- "emf"
2827
- ],
2828
- "image/fits": [
2829
- "fits"
2830
- ],
2831
- "image/g3fax": [
2832
- "g3"
2833
- ],
2834
- "image/gif": [
2835
- "gif"
2836
- ],
2837
- "image/heic": [
2838
- "heic"
2839
- ],
2840
- "image/heic-sequence": [
2841
- "heics"
2842
- ],
2843
- "image/heif": [
2844
- "heif"
2845
- ],
2846
- "image/heif-sequence": [
2847
- "heifs"
2848
- ],
2849
- "image/hej2k": [
2850
- "hej2"
2851
- ],
2852
- "image/hsj2": [
2853
- "hsj2"
2854
- ],
2855
- "image/ief": [
2856
- "ief"
2857
- ],
2858
- "image/jls": [
2859
- "jls"
2860
- ],
2861
- "image/jp2": [
2862
- "jp2",
2863
- "jpg2"
2864
- ],
2865
- "image/jpeg": [
2866
- "jpeg",
2867
- "jpg",
2868
- "jpe"
2869
- ],
2870
- "image/jph": [
2871
- "jph"
2872
- ],
2873
- "image/jphc": [
2874
- "jhc"
2875
- ],
2876
- "image/jpm": [
2877
- "jpm"
2878
- ],
2879
- "image/jpx": [
2880
- "jpx",
2881
- "jpf"
2882
- ],
2883
- "image/jxr": [
2884
- "jxr"
2885
- ],
2886
- "image/jxra": [
2887
- "jxra"
2888
- ],
2889
- "image/jxrs": [
2890
- "jxrs"
2891
- ],
2892
- "image/jxs": [
2893
- "jxs"
2894
- ],
2895
- "image/jxsc": [
2896
- "jxsc"
2897
- ],
2898
- "image/jxsi": [
2899
- "jxsi"
2900
- ],
2901
- "image/jxss": [
2902
- "jxss"
2903
- ],
2904
- "image/ktx": [
2905
- "ktx"
2906
- ],
2907
- "image/ktx2": [
2908
- "ktx2"
2909
- ],
2910
- "image/png": [
2911
- "png"
2912
- ],
2913
- "image/sgi": [
2914
- "sgi"
2915
- ],
2916
- "image/svg+xml": [
2917
- "svg",
2918
- "svgz"
2919
- ],
2920
- "image/t38": [
2921
- "t38"
2922
- ],
2923
- "image/tiff": [
2924
- "tif",
2925
- "tiff"
2926
- ],
2927
- "image/tiff-fx": [
2928
- "tfx"
2929
- ],
2930
- "image/webp": [
2931
- "webp"
2932
- ],
2933
- "image/wmf": [
2934
- "wmf"
2935
- ],
2936
- "message/disposition-notification": [
2937
- "disposition-notification"
2938
- ],
2939
- "message/global": [
2940
- "u8msg"
2941
- ],
2942
- "message/global-delivery-status": [
2943
- "u8dsn"
2944
- ],
2945
- "message/global-disposition-notification": [
2946
- "u8mdn"
2947
- ],
2948
- "message/global-headers": [
2949
- "u8hdr"
2950
- ],
2951
- "message/rfc822": [
2952
- "eml",
2953
- "mime"
2954
- ],
2955
- "model/3mf": [
2956
- "3mf"
2957
- ],
2958
- "model/gltf+json": [
2959
- "gltf"
2960
- ],
2961
- "model/gltf-binary": [
2962
- "glb"
2963
- ],
2964
- "model/iges": [
2965
- "igs",
2966
- "iges"
2967
- ],
2968
- "model/mesh": [
2969
- "msh",
2970
- "mesh",
2971
- "silo"
2972
- ],
2973
- "model/mtl": [
2974
- "mtl"
2975
- ],
2976
- "model/obj": [
2977
- "obj"
2978
- ],
2979
- "model/step+xml": [
2980
- "stpx"
2981
- ],
2982
- "model/step+zip": [
2983
- "stpz"
2984
- ],
2985
- "model/step-xml+zip": [
2986
- "stpxz"
2987
- ],
2988
- "model/stl": [
2989
- "stl"
2990
- ],
2991
- "model/vrml": [
2992
- "wrl",
2993
- "vrml"
2994
- ],
2995
- "model/x3d+binary": [
2996
- "*x3db",
2997
- "x3dbz"
2998
- ],
2999
- "model/x3d+fastinfoset": [
3000
- "x3db"
3001
- ],
3002
- "model/x3d+vrml": [
3003
- "*x3dv",
3004
- "x3dvz"
3005
- ],
3006
- "model/x3d+xml": [
3007
- "x3d",
3008
- "x3dz"
3009
- ],
3010
- "model/x3d-vrml": [
3011
- "x3dv"
3012
- ],
3013
- "text/cache-manifest": [
3014
- "appcache",
3015
- "manifest"
3016
- ],
3017
- "text/calendar": [
3018
- "ics",
3019
- "ifb"
3020
- ],
3021
- "text/coffeescript": [
3022
- "coffee",
3023
- "litcoffee"
3024
- ],
3025
- "text/css": [
3026
- "css"
3027
- ],
3028
- "text/csv": [
3029
- "csv"
3030
- ],
3031
- "text/html": [
3032
- "html",
3033
- "htm",
3034
- "shtml"
3035
- ],
3036
- "text/jade": [
3037
- "jade"
3038
- ],
3039
- "text/jsx": [
3040
- "jsx"
3041
- ],
3042
- "text/less": [
3043
- "less"
3044
- ],
3045
- "text/markdown": [
3046
- "markdown",
3047
- "md"
3048
- ],
3049
- "text/mathml": [
3050
- "mml"
3051
- ],
3052
- "text/mdx": [
3053
- "mdx"
3054
- ],
3055
- "text/n3": [
3056
- "n3"
3057
- ],
3058
- "text/plain": [
3059
- "txt",
3060
- "text",
3061
- "conf",
3062
- "def",
3063
- "list",
3064
- "log",
3065
- "in",
3066
- "ini"
3067
- ],
3068
- "text/richtext": [
3069
- "rtx"
3070
- ],
3071
- "text/rtf": [
3072
- "*rtf"
3073
- ],
3074
- "text/sgml": [
3075
- "sgml",
3076
- "sgm"
3077
- ],
3078
- "text/shex": [
3079
- "shex"
3080
- ],
3081
- "text/slim": [
3082
- "slim",
3083
- "slm"
3084
- ],
3085
- "text/spdx": [
3086
- "spdx"
3087
- ],
3088
- "text/stylus": [
3089
- "stylus",
3090
- "styl"
3091
- ],
3092
- "text/tab-separated-values": [
3093
- "tsv"
3094
- ],
3095
- "text/troff": [
3096
- "t",
3097
- "tr",
3098
- "roff",
3099
- "man",
3100
- "me",
3101
- "ms"
3102
- ],
3103
- "text/turtle": [
3104
- "ttl"
3105
- ],
3106
- "text/uri-list": [
3107
- "uri",
3108
- "uris",
3109
- "urls"
3110
- ],
3111
- "text/vcard": [
3112
- "vcard"
3113
- ],
3114
- "text/vtt": [
3115
- "vtt"
3116
- ],
3117
- "text/xml": [
3118
- "*xml"
3119
- ],
3120
- "text/yaml": [
3121
- "yaml",
3122
- "yml"
3123
- ],
3124
- "video/3gpp": [
3125
- "3gp",
3126
- "3gpp"
3127
- ],
3128
- "video/3gpp2": [
3129
- "3g2"
3130
- ],
3131
- "video/h261": [
3132
- "h261"
3133
- ],
3134
- "video/h263": [
3135
- "h263"
3136
- ],
3137
- "video/h264": [
3138
- "h264"
3139
- ],
3140
- "video/iso.segment": [
3141
- "m4s"
3142
- ],
3143
- "video/jpeg": [
3144
- "jpgv"
3145
- ],
3146
- "video/jpm": [
3147
- "*jpm",
3148
- "jpgm"
3149
- ],
3150
- "video/mj2": [
3151
- "mj2",
3152
- "mjp2"
3153
- ],
3154
- "video/mp2t": [
3155
- "ts"
3156
- ],
3157
- "video/mp4": [
3158
- "mp4",
3159
- "mp4v",
3160
- "mpg4"
3161
- ],
3162
- "video/mpeg": [
3163
- "mpeg",
3164
- "mpg",
3165
- "mpe",
3166
- "m1v",
3167
- "m2v"
3168
- ],
3169
- "video/ogg": [
3170
- "ogv"
3171
- ],
3172
- "video/quicktime": [
3173
- "qt",
3174
- "mov"
3175
- ],
3176
- "video/webm": [
3177
- "webm"
3178
- ]
3179
- };
3180
- }
1
+ //#region rolldown:runtime
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __commonJS = (cb, mod) => function() {
9
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
3181
10
  };
3182
- var __webpack_module_cache__ = {};
3183
- function __webpack_require__(moduleId) {
3184
- var cachedModule = __webpack_module_cache__[moduleId];
3185
- if (void 0 !== cachedModule) return cachedModule.exports;
3186
- var module = __webpack_module_cache__[moduleId] = {
3187
- exports: {}
3188
- };
3189
- __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
3190
- return module.exports;
3191
- }
3192
- (()=>{
3193
- __webpack_require__.n = (module)=>{
3194
- var getter = module && module.__esModule ? ()=>module['default'] : ()=>module;
3195
- __webpack_require__.d(getter, {
3196
- a: getter
3197
- });
3198
- return getter;
3199
- };
3200
- })();
3201
- (()=>{
3202
- __webpack_require__.d = (exports1, definition)=>{
3203
- for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
3204
- enumerable: true,
3205
- get: definition[key]
3206
- });
3207
- };
3208
- })();
3209
- (()=>{
3210
- __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
3211
- })();
3212
- (()=>{
3213
- __webpack_require__.r = (exports1)=>{
3214
- if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
3215
- value: 'Module'
3216
- });
3217
- Object.defineProperty(exports1, '__esModule', {
3218
- value: true
3219
- });
3220
- };
3221
- })();
3222
- var __webpack_exports__ = {};
3223
- (()=>{
3224
- "use strict";
3225
- __webpack_require__.r(__webpack_exports__);
3226
- __webpack_require__.d(__webpack_exports__, {
3227
- standaloneStorage: ()=>standaloneStorage,
3228
- standaloneRepository: ()=>standaloneRepository
3229
- });
3230
- const external_path_namespaceObject = require("path");
3231
- var external_path_default = /*#__PURE__*/ __webpack_require__.n(external_path_namespaceObject);
3232
- const promises_namespaceObject = require("fs/promises");
3233
- var promises_default = /*#__PURE__*/ __webpack_require__.n(promises_namespaceObject);
3234
- var mime = __webpack_require__("../../node_modules/.pnpm/mime@2.6.0/node_modules/mime/index.js");
3235
- var mime_default = /*#__PURE__*/ __webpack_require__.n(mime);
3236
- const defaultRoutes = {
3237
- uploadBundle: (bundleId, bundlePath)=>({
3238
- path: "/uploadBundle"
3239
- }),
3240
- deleteBundle: (bundleId)=>({
3241
- path: "/deleteBundle"
3242
- })
3243
- };
3244
- const createRoute = (defaultRoute, customRoute)=>({
3245
- path: customRoute?.path ?? defaultRoute.path,
3246
- headers: {
3247
- ...defaultRoute.headers,
3248
- ...customRoute?.headers
3249
- }
3250
- });
3251
- const standaloneStorage = (config, hooks)=>(_)=>{
3252
- const routes = {
3253
- uploadBundle: (bundleId, bundlePath)=>createRoute(defaultRoutes.uploadBundle(bundleId, bundlePath), config.routes?.uploadBundle?.(bundleId, bundlePath)),
3254
- deleteBundle: (bundleId)=>createRoute(defaultRoutes.deleteBundle(bundleId), config.routes?.deleteBundle?.(bundleId))
3255
- };
3256
- const getHeaders = (routeHeaders)=>({
3257
- ...config.commonHeaders,
3258
- ...routeHeaders
3259
- });
3260
- return {
3261
- name: "standaloneStorage",
3262
- async deleteBundle (bundleId) {
3263
- const { path: routePath, headers: routeHeaders } = routes.deleteBundle(bundleId);
3264
- const response = await fetch(`${config.baseUrl}${routePath}`, {
3265
- method: "POST",
3266
- headers: getHeaders(routeHeaders),
3267
- body: JSON.stringify({
3268
- bundleId
3269
- })
3270
- });
3271
- if (!response.ok) {
3272
- const error = new Error(`Failed to delete bundle: ${response.statusText}`);
3273
- console.error(error);
3274
- throw error;
3275
- }
3276
- return bundleId;
3277
- },
3278
- async uploadBundle (bundleId, bundlePath) {
3279
- const fileContent = await promises_default().readFile(bundlePath);
3280
- const contentType = mime_default().getType(bundlePath) ?? "application/octet-stream";
3281
- const filename = external_path_default().basename(bundlePath);
3282
- const { path: routePath, headers: routeHeaders } = routes.uploadBundle(bundleId, bundlePath);
3283
- const formData = new FormData();
3284
- formData.append("file", new Blob([
3285
- fileContent
3286
- ], {
3287
- type: contentType
3288
- }), filename);
3289
- formData.append("bundleId", bundleId);
3290
- const response = await fetch(`${config.baseUrl}${routePath}`, {
3291
- method: "POST",
3292
- headers: getHeaders(routeHeaders),
3293
- body: formData
3294
- });
3295
- if (!response.ok) {
3296
- const error = `Failed to upload bundle: ${response.statusText}`;
3297
- console.error(`[uploadBundle] ${error}`);
3298
- throw new Error(error);
3299
- }
3300
- const result = await response.json();
3301
- if (!result.bucketName || !result.key) {
3302
- const error = "Failed to upload bundle - no bucketName or key in response";
3303
- console.error(`[uploadBundle] ${error}`);
3304
- throw new Error(error);
3305
- }
3306
- hooks?.onStorageUploaded?.();
3307
- return {
3308
- bucketName: result.bucketName,
3309
- key: result.key
3310
- };
3311
- }
3312
- };
3313
- };
3314
- const plugin_core_namespaceObject = require("@hot-updater/plugin-core");
3315
- const standaloneRepository_defaultRoutes = {
3316
- upsert: ()=>({
3317
- path: "/bundles"
3318
- }),
3319
- list: ()=>({
3320
- path: "/bundles",
3321
- headers: {
3322
- "Cache-Control": "no-cache"
3323
- }
3324
- }),
3325
- retrieve: (bundleId)=>({
3326
- path: `/bundles/${bundleId}`,
3327
- headers: {
3328
- Accept: "application/json"
3329
- }
3330
- })
3331
- };
3332
- const standaloneRepository_createRoute = (defaultRoute, customRoute)=>({
3333
- path: customRoute?.path ?? defaultRoute.path,
3334
- headers: {
3335
- ...defaultRoute.headers,
3336
- ...customRoute?.headers
3337
- }
3338
- });
3339
- const standaloneRepository = (config, hooks)=>{
3340
- const routes = {
3341
- upsert: ()=>standaloneRepository_createRoute(standaloneRepository_defaultRoutes.upsert(), config.routes?.upsert?.()),
3342
- list: ()=>standaloneRepository_createRoute(standaloneRepository_defaultRoutes.list(), config.routes?.list?.()),
3343
- retrieve: (bundleId)=>standaloneRepository_createRoute(standaloneRepository_defaultRoutes.retrieve(bundleId), config.routes?.retrieve?.(bundleId))
3344
- };
3345
- const getHeaders = (routeHeaders)=>({
3346
- "Content-Type": "application/json",
3347
- ...config.commonHeaders,
3348
- ...routeHeaders
3349
- });
3350
- return (0, plugin_core_namespaceObject.createDatabasePlugin)("standalone-repository", {
3351
- async getBundleById (bundleId) {
3352
- try {
3353
- const { path, headers: routeHeaders } = routes.retrieve(bundleId);
3354
- const response = await fetch(`${config.baseUrl}${path}`, {
3355
- method: "GET",
3356
- headers: getHeaders(routeHeaders)
3357
- });
3358
- if (!response.ok) return null;
3359
- return await response.json();
3360
- } catch (error) {
3361
- return null;
3362
- }
3363
- },
3364
- async getBundles (options) {
3365
- const { where, limit, offset = 0 } = options ?? {};
3366
- const { path, headers: routeHeaders } = routes.list();
3367
- const response = await fetch(`${config.baseUrl}${path}`, {
3368
- method: "GET",
3369
- headers: getHeaders(routeHeaders)
3370
- });
3371
- if (!response.ok) throw new Error(`API Error: ${response.statusText}`);
3372
- const bundles = await response.json();
3373
- let filteredBundles = bundles;
3374
- if (where?.channel) filteredBundles = filteredBundles.filter((b)=>b.channel === where.channel);
3375
- if (where?.platform) filteredBundles = filteredBundles.filter((b)=>b.platform === where.platform);
3376
- if (limit) return filteredBundles.slice(offset, offset + limit);
3377
- return filteredBundles;
3378
- },
3379
- async getChannels () {
3380
- const allBundles = await this.getBundles();
3381
- return [
3382
- ...new Set(allBundles.map((b)=>b.channel))
3383
- ];
3384
- },
3385
- async commitBundle ({ changedSets }) {
3386
- const changedBundles = changedSets.map((set)=>set.data);
3387
- if (0 === changedBundles.length) return;
3388
- const { path, headers: routeHeaders } = routes.upsert();
3389
- const response = await fetch(`${config.baseUrl}${path}`, {
3390
- method: "POST",
3391
- headers: getHeaders(routeHeaders),
3392
- body: JSON.stringify(changedBundles)
3393
- });
3394
- if (!response.ok) throw new Error(`API Error: ${response.statusText}`);
3395
- const result = await response.json();
3396
- if (!result.success) throw new Error("Failed to commit bundles");
3397
- }
3398
- }, hooks);
3399
- };
3400
- })();
3401
- exports.standaloneRepository = __webpack_exports__.standaloneRepository;
3402
- exports.standaloneStorage = __webpack_exports__.standaloneStorage;
3403
- for(var __webpack_i__ in __webpack_exports__)if (-1 === [
3404
- "standaloneRepository",
3405
- "standaloneStorage"
3406
- ].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
3407
- Object.defineProperty(exports, '__esModule', {
3408
- value: true
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
13
+ key = keys[i];
14
+ if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
15
+ get: ((k) => from[k]).bind(null, key),
16
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
+ });
18
+ }
19
+ return to;
20
+ };
21
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
22
+ value: mod,
23
+ enumerable: true
24
+ }) : target, mod));
25
+
26
+ //#endregion
27
+ const path = __toESM(require("path"));
28
+ const fs_promises = __toESM(require("fs/promises"));
29
+ const __hot_updater_plugin_core = __toESM(require("@hot-updater/plugin-core"));
30
+
31
+ //#region ../../node_modules/.pnpm/mime@2.6.0/node_modules/mime/Mime.js
32
+ var require_Mime = __commonJS({ "../../node_modules/.pnpm/mime@2.6.0/node_modules/mime/Mime.js"(exports, module) {
33
+ /**
34
+ * @param typeMap [Object] Map of MIME type -> Array[extensions]
35
+ * @param ...
36
+ */
37
+ function Mime$1() {
38
+ this._types = Object.create(null);
39
+ this._extensions = Object.create(null);
40
+ for (let i = 0; i < arguments.length; i++) this.define(arguments[i]);
41
+ this.define = this.define.bind(this);
42
+ this.getType = this.getType.bind(this);
43
+ this.getExtension = this.getExtension.bind(this);
44
+ }
45
+ /**
46
+ * Define mimetype -> extension mappings. Each key is a mime-type that maps
47
+ * to an array of extensions associated with the type. The first extension is
48
+ * used as the default extension for the type.
49
+ *
50
+ * e.g. mime.define({'audio/ogg', ['oga', 'ogg', 'spx']});
51
+ *
52
+ * If a type declares an extension that has already been defined, an error will
53
+ * be thrown. To suppress this error and force the extension to be associated
54
+ * with the new type, pass `force`=true. Alternatively, you may prefix the
55
+ * extension with "*" to map the type to extension, without mapping the
56
+ * extension to the type.
57
+ *
58
+ * e.g. mime.define({'audio/wav', ['wav']}, {'audio/x-wav', ['*wav']});
59
+ *
60
+ *
61
+ * @param map (Object) type definitions
62
+ * @param force (Boolean) if true, force overriding of existing definitions
63
+ */
64
+ Mime$1.prototype.define = function(typeMap, force) {
65
+ for (let type in typeMap) {
66
+ let extensions = typeMap[type].map(function(t) {
67
+ return t.toLowerCase();
68
+ });
69
+ type = type.toLowerCase();
70
+ for (let i = 0; i < extensions.length; i++) {
71
+ const ext = extensions[i];
72
+ if (ext[0] === "*") continue;
73
+ if (!force && ext in this._types) throw new Error("Attempt to change mapping for \"" + ext + "\" extension from \"" + this._types[ext] + "\" to \"" + type + "\". Pass `force=true` to allow this, otherwise remove \"" + ext + "\" from the list of extensions for \"" + type + "\".");
74
+ this._types[ext] = type;
75
+ }
76
+ if (force || !this._extensions[type]) {
77
+ const ext = extensions[0];
78
+ this._extensions[type] = ext[0] !== "*" ? ext : ext.substr(1);
79
+ }
80
+ }
81
+ };
82
+ /**
83
+ * Lookup a mime type based on extension
84
+ */
85
+ Mime$1.prototype.getType = function(path$2) {
86
+ path$2 = String(path$2);
87
+ let last = path$2.replace(/^.*[/\\]/, "").toLowerCase();
88
+ let ext = last.replace(/^.*\./, "").toLowerCase();
89
+ let hasPath = last.length < path$2.length;
90
+ let hasDot = ext.length < last.length - 1;
91
+ return (hasDot || !hasPath) && this._types[ext] || null;
92
+ };
93
+ /**
94
+ * Return file extension associated with a mime type
95
+ */
96
+ Mime$1.prototype.getExtension = function(type) {
97
+ type = /^\s*([^;\s]*)/.test(type) && RegExp.$1;
98
+ return type && this._extensions[type.toLowerCase()] || null;
99
+ };
100
+ module.exports = Mime$1;
101
+ } });
102
+
103
+ //#endregion
104
+ //#region ../../node_modules/.pnpm/mime@2.6.0/node_modules/mime/types/standard.js
105
+ var require_standard = __commonJS({ "../../node_modules/.pnpm/mime@2.6.0/node_modules/mime/types/standard.js"(exports, module) {
106
+ module.exports = {
107
+ "application/andrew-inset": ["ez"],
108
+ "application/applixware": ["aw"],
109
+ "application/atom+xml": ["atom"],
110
+ "application/atomcat+xml": ["atomcat"],
111
+ "application/atomdeleted+xml": ["atomdeleted"],
112
+ "application/atomsvc+xml": ["atomsvc"],
113
+ "application/atsc-dwd+xml": ["dwd"],
114
+ "application/atsc-held+xml": ["held"],
115
+ "application/atsc-rsat+xml": ["rsat"],
116
+ "application/bdoc": ["bdoc"],
117
+ "application/calendar+xml": ["xcs"],
118
+ "application/ccxml+xml": ["ccxml"],
119
+ "application/cdfx+xml": ["cdfx"],
120
+ "application/cdmi-capability": ["cdmia"],
121
+ "application/cdmi-container": ["cdmic"],
122
+ "application/cdmi-domain": ["cdmid"],
123
+ "application/cdmi-object": ["cdmio"],
124
+ "application/cdmi-queue": ["cdmiq"],
125
+ "application/cu-seeme": ["cu"],
126
+ "application/dash+xml": ["mpd"],
127
+ "application/davmount+xml": ["davmount"],
128
+ "application/docbook+xml": ["dbk"],
129
+ "application/dssc+der": ["dssc"],
130
+ "application/dssc+xml": ["xdssc"],
131
+ "application/ecmascript": ["es", "ecma"],
132
+ "application/emma+xml": ["emma"],
133
+ "application/emotionml+xml": ["emotionml"],
134
+ "application/epub+zip": ["epub"],
135
+ "application/exi": ["exi"],
136
+ "application/express": ["exp"],
137
+ "application/fdt+xml": ["fdt"],
138
+ "application/font-tdpfr": ["pfr"],
139
+ "application/geo+json": ["geojson"],
140
+ "application/gml+xml": ["gml"],
141
+ "application/gpx+xml": ["gpx"],
142
+ "application/gxf": ["gxf"],
143
+ "application/gzip": ["gz"],
144
+ "application/hjson": ["hjson"],
145
+ "application/hyperstudio": ["stk"],
146
+ "application/inkml+xml": ["ink", "inkml"],
147
+ "application/ipfix": ["ipfix"],
148
+ "application/its+xml": ["its"],
149
+ "application/java-archive": [
150
+ "jar",
151
+ "war",
152
+ "ear"
153
+ ],
154
+ "application/java-serialized-object": ["ser"],
155
+ "application/java-vm": ["class"],
156
+ "application/javascript": ["js", "mjs"],
157
+ "application/json": ["json", "map"],
158
+ "application/json5": ["json5"],
159
+ "application/jsonml+json": ["jsonml"],
160
+ "application/ld+json": ["jsonld"],
161
+ "application/lgr+xml": ["lgr"],
162
+ "application/lost+xml": ["lostxml"],
163
+ "application/mac-binhex40": ["hqx"],
164
+ "application/mac-compactpro": ["cpt"],
165
+ "application/mads+xml": ["mads"],
166
+ "application/manifest+json": ["webmanifest"],
167
+ "application/marc": ["mrc"],
168
+ "application/marcxml+xml": ["mrcx"],
169
+ "application/mathematica": [
170
+ "ma",
171
+ "nb",
172
+ "mb"
173
+ ],
174
+ "application/mathml+xml": ["mathml"],
175
+ "application/mbox": ["mbox"],
176
+ "application/mediaservercontrol+xml": ["mscml"],
177
+ "application/metalink+xml": ["metalink"],
178
+ "application/metalink4+xml": ["meta4"],
179
+ "application/mets+xml": ["mets"],
180
+ "application/mmt-aei+xml": ["maei"],
181
+ "application/mmt-usd+xml": ["musd"],
182
+ "application/mods+xml": ["mods"],
183
+ "application/mp21": ["m21", "mp21"],
184
+ "application/mp4": ["mp4s", "m4p"],
185
+ "application/msword": ["doc", "dot"],
186
+ "application/mxf": ["mxf"],
187
+ "application/n-quads": ["nq"],
188
+ "application/n-triples": ["nt"],
189
+ "application/node": ["cjs"],
190
+ "application/octet-stream": [
191
+ "bin",
192
+ "dms",
193
+ "lrf",
194
+ "mar",
195
+ "so",
196
+ "dist",
197
+ "distz",
198
+ "pkg",
199
+ "bpk",
200
+ "dump",
201
+ "elc",
202
+ "deploy",
203
+ "exe",
204
+ "dll",
205
+ "deb",
206
+ "dmg",
207
+ "iso",
208
+ "img",
209
+ "msi",
210
+ "msp",
211
+ "msm",
212
+ "buffer"
213
+ ],
214
+ "application/oda": ["oda"],
215
+ "application/oebps-package+xml": ["opf"],
216
+ "application/ogg": ["ogx"],
217
+ "application/omdoc+xml": ["omdoc"],
218
+ "application/onenote": [
219
+ "onetoc",
220
+ "onetoc2",
221
+ "onetmp",
222
+ "onepkg"
223
+ ],
224
+ "application/oxps": ["oxps"],
225
+ "application/p2p-overlay+xml": ["relo"],
226
+ "application/patch-ops-error+xml": ["xer"],
227
+ "application/pdf": ["pdf"],
228
+ "application/pgp-encrypted": ["pgp"],
229
+ "application/pgp-signature": ["asc", "sig"],
230
+ "application/pics-rules": ["prf"],
231
+ "application/pkcs10": ["p10"],
232
+ "application/pkcs7-mime": ["p7m", "p7c"],
233
+ "application/pkcs7-signature": ["p7s"],
234
+ "application/pkcs8": ["p8"],
235
+ "application/pkix-attr-cert": ["ac"],
236
+ "application/pkix-cert": ["cer"],
237
+ "application/pkix-crl": ["crl"],
238
+ "application/pkix-pkipath": ["pkipath"],
239
+ "application/pkixcmp": ["pki"],
240
+ "application/pls+xml": ["pls"],
241
+ "application/postscript": [
242
+ "ai",
243
+ "eps",
244
+ "ps"
245
+ ],
246
+ "application/provenance+xml": ["provx"],
247
+ "application/pskc+xml": ["pskcxml"],
248
+ "application/raml+yaml": ["raml"],
249
+ "application/rdf+xml": ["rdf", "owl"],
250
+ "application/reginfo+xml": ["rif"],
251
+ "application/relax-ng-compact-syntax": ["rnc"],
252
+ "application/resource-lists+xml": ["rl"],
253
+ "application/resource-lists-diff+xml": ["rld"],
254
+ "application/rls-services+xml": ["rs"],
255
+ "application/route-apd+xml": ["rapd"],
256
+ "application/route-s-tsid+xml": ["sls"],
257
+ "application/route-usd+xml": ["rusd"],
258
+ "application/rpki-ghostbusters": ["gbr"],
259
+ "application/rpki-manifest": ["mft"],
260
+ "application/rpki-roa": ["roa"],
261
+ "application/rsd+xml": ["rsd"],
262
+ "application/rss+xml": ["rss"],
263
+ "application/rtf": ["rtf"],
264
+ "application/sbml+xml": ["sbml"],
265
+ "application/scvp-cv-request": ["scq"],
266
+ "application/scvp-cv-response": ["scs"],
267
+ "application/scvp-vp-request": ["spq"],
268
+ "application/scvp-vp-response": ["spp"],
269
+ "application/sdp": ["sdp"],
270
+ "application/senml+xml": ["senmlx"],
271
+ "application/sensml+xml": ["sensmlx"],
272
+ "application/set-payment-initiation": ["setpay"],
273
+ "application/set-registration-initiation": ["setreg"],
274
+ "application/shf+xml": ["shf"],
275
+ "application/sieve": ["siv", "sieve"],
276
+ "application/smil+xml": ["smi", "smil"],
277
+ "application/sparql-query": ["rq"],
278
+ "application/sparql-results+xml": ["srx"],
279
+ "application/srgs": ["gram"],
280
+ "application/srgs+xml": ["grxml"],
281
+ "application/sru+xml": ["sru"],
282
+ "application/ssdl+xml": ["ssdl"],
283
+ "application/ssml+xml": ["ssml"],
284
+ "application/swid+xml": ["swidtag"],
285
+ "application/tei+xml": ["tei", "teicorpus"],
286
+ "application/thraud+xml": ["tfi"],
287
+ "application/timestamped-data": ["tsd"],
288
+ "application/toml": ["toml"],
289
+ "application/trig": ["trig"],
290
+ "application/ttml+xml": ["ttml"],
291
+ "application/ubjson": ["ubj"],
292
+ "application/urc-ressheet+xml": ["rsheet"],
293
+ "application/urc-targetdesc+xml": ["td"],
294
+ "application/voicexml+xml": ["vxml"],
295
+ "application/wasm": ["wasm"],
296
+ "application/widget": ["wgt"],
297
+ "application/winhlp": ["hlp"],
298
+ "application/wsdl+xml": ["wsdl"],
299
+ "application/wspolicy+xml": ["wspolicy"],
300
+ "application/xaml+xml": ["xaml"],
301
+ "application/xcap-att+xml": ["xav"],
302
+ "application/xcap-caps+xml": ["xca"],
303
+ "application/xcap-diff+xml": ["xdf"],
304
+ "application/xcap-el+xml": ["xel"],
305
+ "application/xcap-ns+xml": ["xns"],
306
+ "application/xenc+xml": ["xenc"],
307
+ "application/xhtml+xml": ["xhtml", "xht"],
308
+ "application/xliff+xml": ["xlf"],
309
+ "application/xml": [
310
+ "xml",
311
+ "xsl",
312
+ "xsd",
313
+ "rng"
314
+ ],
315
+ "application/xml-dtd": ["dtd"],
316
+ "application/xop+xml": ["xop"],
317
+ "application/xproc+xml": ["xpl"],
318
+ "application/xslt+xml": ["*xsl", "xslt"],
319
+ "application/xspf+xml": ["xspf"],
320
+ "application/xv+xml": [
321
+ "mxml",
322
+ "xhvml",
323
+ "xvml",
324
+ "xvm"
325
+ ],
326
+ "application/yang": ["yang"],
327
+ "application/yin+xml": ["yin"],
328
+ "application/zip": ["zip"],
329
+ "audio/3gpp": ["*3gpp"],
330
+ "audio/adpcm": ["adp"],
331
+ "audio/amr": ["amr"],
332
+ "audio/basic": ["au", "snd"],
333
+ "audio/midi": [
334
+ "mid",
335
+ "midi",
336
+ "kar",
337
+ "rmi"
338
+ ],
339
+ "audio/mobile-xmf": ["mxmf"],
340
+ "audio/mp3": ["*mp3"],
341
+ "audio/mp4": ["m4a", "mp4a"],
342
+ "audio/mpeg": [
343
+ "mpga",
344
+ "mp2",
345
+ "mp2a",
346
+ "mp3",
347
+ "m2a",
348
+ "m3a"
349
+ ],
350
+ "audio/ogg": [
351
+ "oga",
352
+ "ogg",
353
+ "spx",
354
+ "opus"
355
+ ],
356
+ "audio/s3m": ["s3m"],
357
+ "audio/silk": ["sil"],
358
+ "audio/wav": ["wav"],
359
+ "audio/wave": ["*wav"],
360
+ "audio/webm": ["weba"],
361
+ "audio/xm": ["xm"],
362
+ "font/collection": ["ttc"],
363
+ "font/otf": ["otf"],
364
+ "font/ttf": ["ttf"],
365
+ "font/woff": ["woff"],
366
+ "font/woff2": ["woff2"],
367
+ "image/aces": ["exr"],
368
+ "image/apng": ["apng"],
369
+ "image/avif": ["avif"],
370
+ "image/bmp": ["bmp"],
371
+ "image/cgm": ["cgm"],
372
+ "image/dicom-rle": ["drle"],
373
+ "image/emf": ["emf"],
374
+ "image/fits": ["fits"],
375
+ "image/g3fax": ["g3"],
376
+ "image/gif": ["gif"],
377
+ "image/heic": ["heic"],
378
+ "image/heic-sequence": ["heics"],
379
+ "image/heif": ["heif"],
380
+ "image/heif-sequence": ["heifs"],
381
+ "image/hej2k": ["hej2"],
382
+ "image/hsj2": ["hsj2"],
383
+ "image/ief": ["ief"],
384
+ "image/jls": ["jls"],
385
+ "image/jp2": ["jp2", "jpg2"],
386
+ "image/jpeg": [
387
+ "jpeg",
388
+ "jpg",
389
+ "jpe"
390
+ ],
391
+ "image/jph": ["jph"],
392
+ "image/jphc": ["jhc"],
393
+ "image/jpm": ["jpm"],
394
+ "image/jpx": ["jpx", "jpf"],
395
+ "image/jxr": ["jxr"],
396
+ "image/jxra": ["jxra"],
397
+ "image/jxrs": ["jxrs"],
398
+ "image/jxs": ["jxs"],
399
+ "image/jxsc": ["jxsc"],
400
+ "image/jxsi": ["jxsi"],
401
+ "image/jxss": ["jxss"],
402
+ "image/ktx": ["ktx"],
403
+ "image/ktx2": ["ktx2"],
404
+ "image/png": ["png"],
405
+ "image/sgi": ["sgi"],
406
+ "image/svg+xml": ["svg", "svgz"],
407
+ "image/t38": ["t38"],
408
+ "image/tiff": ["tif", "tiff"],
409
+ "image/tiff-fx": ["tfx"],
410
+ "image/webp": ["webp"],
411
+ "image/wmf": ["wmf"],
412
+ "message/disposition-notification": ["disposition-notification"],
413
+ "message/global": ["u8msg"],
414
+ "message/global-delivery-status": ["u8dsn"],
415
+ "message/global-disposition-notification": ["u8mdn"],
416
+ "message/global-headers": ["u8hdr"],
417
+ "message/rfc822": ["eml", "mime"],
418
+ "model/3mf": ["3mf"],
419
+ "model/gltf+json": ["gltf"],
420
+ "model/gltf-binary": ["glb"],
421
+ "model/iges": ["igs", "iges"],
422
+ "model/mesh": [
423
+ "msh",
424
+ "mesh",
425
+ "silo"
426
+ ],
427
+ "model/mtl": ["mtl"],
428
+ "model/obj": ["obj"],
429
+ "model/step+xml": ["stpx"],
430
+ "model/step+zip": ["stpz"],
431
+ "model/step-xml+zip": ["stpxz"],
432
+ "model/stl": ["stl"],
433
+ "model/vrml": ["wrl", "vrml"],
434
+ "model/x3d+binary": ["*x3db", "x3dbz"],
435
+ "model/x3d+fastinfoset": ["x3db"],
436
+ "model/x3d+vrml": ["*x3dv", "x3dvz"],
437
+ "model/x3d+xml": ["x3d", "x3dz"],
438
+ "model/x3d-vrml": ["x3dv"],
439
+ "text/cache-manifest": ["appcache", "manifest"],
440
+ "text/calendar": ["ics", "ifb"],
441
+ "text/coffeescript": ["coffee", "litcoffee"],
442
+ "text/css": ["css"],
443
+ "text/csv": ["csv"],
444
+ "text/html": [
445
+ "html",
446
+ "htm",
447
+ "shtml"
448
+ ],
449
+ "text/jade": ["jade"],
450
+ "text/jsx": ["jsx"],
451
+ "text/less": ["less"],
452
+ "text/markdown": ["markdown", "md"],
453
+ "text/mathml": ["mml"],
454
+ "text/mdx": ["mdx"],
455
+ "text/n3": ["n3"],
456
+ "text/plain": [
457
+ "txt",
458
+ "text",
459
+ "conf",
460
+ "def",
461
+ "list",
462
+ "log",
463
+ "in",
464
+ "ini"
465
+ ],
466
+ "text/richtext": ["rtx"],
467
+ "text/rtf": ["*rtf"],
468
+ "text/sgml": ["sgml", "sgm"],
469
+ "text/shex": ["shex"],
470
+ "text/slim": ["slim", "slm"],
471
+ "text/spdx": ["spdx"],
472
+ "text/stylus": ["stylus", "styl"],
473
+ "text/tab-separated-values": ["tsv"],
474
+ "text/troff": [
475
+ "t",
476
+ "tr",
477
+ "roff",
478
+ "man",
479
+ "me",
480
+ "ms"
481
+ ],
482
+ "text/turtle": ["ttl"],
483
+ "text/uri-list": [
484
+ "uri",
485
+ "uris",
486
+ "urls"
487
+ ],
488
+ "text/vcard": ["vcard"],
489
+ "text/vtt": ["vtt"],
490
+ "text/xml": ["*xml"],
491
+ "text/yaml": ["yaml", "yml"],
492
+ "video/3gpp": ["3gp", "3gpp"],
493
+ "video/3gpp2": ["3g2"],
494
+ "video/h261": ["h261"],
495
+ "video/h263": ["h263"],
496
+ "video/h264": ["h264"],
497
+ "video/iso.segment": ["m4s"],
498
+ "video/jpeg": ["jpgv"],
499
+ "video/jpm": ["*jpm", "jpgm"],
500
+ "video/mj2": ["mj2", "mjp2"],
501
+ "video/mp2t": ["ts"],
502
+ "video/mp4": [
503
+ "mp4",
504
+ "mp4v",
505
+ "mpg4"
506
+ ],
507
+ "video/mpeg": [
508
+ "mpeg",
509
+ "mpg",
510
+ "mpe",
511
+ "m1v",
512
+ "m2v"
513
+ ],
514
+ "video/ogg": ["ogv"],
515
+ "video/quicktime": ["qt", "mov"],
516
+ "video/webm": ["webm"]
517
+ };
518
+ } });
519
+
520
+ //#endregion
521
+ //#region ../../node_modules/.pnpm/mime@2.6.0/node_modules/mime/types/other.js
522
+ var require_other = __commonJS({ "../../node_modules/.pnpm/mime@2.6.0/node_modules/mime/types/other.js"(exports, module) {
523
+ module.exports = {
524
+ "application/prs.cww": ["cww"],
525
+ "application/vnd.1000minds.decision-model+xml": ["1km"],
526
+ "application/vnd.3gpp.pic-bw-large": ["plb"],
527
+ "application/vnd.3gpp.pic-bw-small": ["psb"],
528
+ "application/vnd.3gpp.pic-bw-var": ["pvb"],
529
+ "application/vnd.3gpp2.tcap": ["tcap"],
530
+ "application/vnd.3m.post-it-notes": ["pwn"],
531
+ "application/vnd.accpac.simply.aso": ["aso"],
532
+ "application/vnd.accpac.simply.imp": ["imp"],
533
+ "application/vnd.acucobol": ["acu"],
534
+ "application/vnd.acucorp": ["atc", "acutc"],
535
+ "application/vnd.adobe.air-application-installer-package+zip": ["air"],
536
+ "application/vnd.adobe.formscentral.fcdt": ["fcdt"],
537
+ "application/vnd.adobe.fxp": ["fxp", "fxpl"],
538
+ "application/vnd.adobe.xdp+xml": ["xdp"],
539
+ "application/vnd.adobe.xfdf": ["xfdf"],
540
+ "application/vnd.ahead.space": ["ahead"],
541
+ "application/vnd.airzip.filesecure.azf": ["azf"],
542
+ "application/vnd.airzip.filesecure.azs": ["azs"],
543
+ "application/vnd.amazon.ebook": ["azw"],
544
+ "application/vnd.americandynamics.acc": ["acc"],
545
+ "application/vnd.amiga.ami": ["ami"],
546
+ "application/vnd.android.package-archive": ["apk"],
547
+ "application/vnd.anser-web-certificate-issue-initiation": ["cii"],
548
+ "application/vnd.anser-web-funds-transfer-initiation": ["fti"],
549
+ "application/vnd.antix.game-component": ["atx"],
550
+ "application/vnd.apple.installer+xml": ["mpkg"],
551
+ "application/vnd.apple.keynote": ["key"],
552
+ "application/vnd.apple.mpegurl": ["m3u8"],
553
+ "application/vnd.apple.numbers": ["numbers"],
554
+ "application/vnd.apple.pages": ["pages"],
555
+ "application/vnd.apple.pkpass": ["pkpass"],
556
+ "application/vnd.aristanetworks.swi": ["swi"],
557
+ "application/vnd.astraea-software.iota": ["iota"],
558
+ "application/vnd.audiograph": ["aep"],
559
+ "application/vnd.balsamiq.bmml+xml": ["bmml"],
560
+ "application/vnd.blueice.multipass": ["mpm"],
561
+ "application/vnd.bmi": ["bmi"],
562
+ "application/vnd.businessobjects": ["rep"],
563
+ "application/vnd.chemdraw+xml": ["cdxml"],
564
+ "application/vnd.chipnuts.karaoke-mmd": ["mmd"],
565
+ "application/vnd.cinderella": ["cdy"],
566
+ "application/vnd.citationstyles.style+xml": ["csl"],
567
+ "application/vnd.claymore": ["cla"],
568
+ "application/vnd.cloanto.rp9": ["rp9"],
569
+ "application/vnd.clonk.c4group": [
570
+ "c4g",
571
+ "c4d",
572
+ "c4f",
573
+ "c4p",
574
+ "c4u"
575
+ ],
576
+ "application/vnd.cluetrust.cartomobile-config": ["c11amc"],
577
+ "application/vnd.cluetrust.cartomobile-config-pkg": ["c11amz"],
578
+ "application/vnd.commonspace": ["csp"],
579
+ "application/vnd.contact.cmsg": ["cdbcmsg"],
580
+ "application/vnd.cosmocaller": ["cmc"],
581
+ "application/vnd.crick.clicker": ["clkx"],
582
+ "application/vnd.crick.clicker.keyboard": ["clkk"],
583
+ "application/vnd.crick.clicker.palette": ["clkp"],
584
+ "application/vnd.crick.clicker.template": ["clkt"],
585
+ "application/vnd.crick.clicker.wordbank": ["clkw"],
586
+ "application/vnd.criticaltools.wbs+xml": ["wbs"],
587
+ "application/vnd.ctc-posml": ["pml"],
588
+ "application/vnd.cups-ppd": ["ppd"],
589
+ "application/vnd.curl.car": ["car"],
590
+ "application/vnd.curl.pcurl": ["pcurl"],
591
+ "application/vnd.dart": ["dart"],
592
+ "application/vnd.data-vision.rdz": ["rdz"],
593
+ "application/vnd.dbf": ["dbf"],
594
+ "application/vnd.dece.data": [
595
+ "uvf",
596
+ "uvvf",
597
+ "uvd",
598
+ "uvvd"
599
+ ],
600
+ "application/vnd.dece.ttml+xml": ["uvt", "uvvt"],
601
+ "application/vnd.dece.unspecified": ["uvx", "uvvx"],
602
+ "application/vnd.dece.zip": ["uvz", "uvvz"],
603
+ "application/vnd.denovo.fcselayout-link": ["fe_launch"],
604
+ "application/vnd.dna": ["dna"],
605
+ "application/vnd.dolby.mlp": ["mlp"],
606
+ "application/vnd.dpgraph": ["dpg"],
607
+ "application/vnd.dreamfactory": ["dfac"],
608
+ "application/vnd.ds-keypoint": ["kpxx"],
609
+ "application/vnd.dvb.ait": ["ait"],
610
+ "application/vnd.dvb.service": ["svc"],
611
+ "application/vnd.dynageo": ["geo"],
612
+ "application/vnd.ecowin.chart": ["mag"],
613
+ "application/vnd.enliven": ["nml"],
614
+ "application/vnd.epson.esf": ["esf"],
615
+ "application/vnd.epson.msf": ["msf"],
616
+ "application/vnd.epson.quickanime": ["qam"],
617
+ "application/vnd.epson.salt": ["slt"],
618
+ "application/vnd.epson.ssf": ["ssf"],
619
+ "application/vnd.eszigno3+xml": ["es3", "et3"],
620
+ "application/vnd.ezpix-album": ["ez2"],
621
+ "application/vnd.ezpix-package": ["ez3"],
622
+ "application/vnd.fdf": ["fdf"],
623
+ "application/vnd.fdsn.mseed": ["mseed"],
624
+ "application/vnd.fdsn.seed": ["seed", "dataless"],
625
+ "application/vnd.flographit": ["gph"],
626
+ "application/vnd.fluxtime.clip": ["ftc"],
627
+ "application/vnd.framemaker": [
628
+ "fm",
629
+ "frame",
630
+ "maker",
631
+ "book"
632
+ ],
633
+ "application/vnd.frogans.fnc": ["fnc"],
634
+ "application/vnd.frogans.ltf": ["ltf"],
635
+ "application/vnd.fsc.weblaunch": ["fsc"],
636
+ "application/vnd.fujitsu.oasys": ["oas"],
637
+ "application/vnd.fujitsu.oasys2": ["oa2"],
638
+ "application/vnd.fujitsu.oasys3": ["oa3"],
639
+ "application/vnd.fujitsu.oasysgp": ["fg5"],
640
+ "application/vnd.fujitsu.oasysprs": ["bh2"],
641
+ "application/vnd.fujixerox.ddd": ["ddd"],
642
+ "application/vnd.fujixerox.docuworks": ["xdw"],
643
+ "application/vnd.fujixerox.docuworks.binder": ["xbd"],
644
+ "application/vnd.fuzzysheet": ["fzs"],
645
+ "application/vnd.genomatix.tuxedo": ["txd"],
646
+ "application/vnd.geogebra.file": ["ggb"],
647
+ "application/vnd.geogebra.tool": ["ggt"],
648
+ "application/vnd.geometry-explorer": ["gex", "gre"],
649
+ "application/vnd.geonext": ["gxt"],
650
+ "application/vnd.geoplan": ["g2w"],
651
+ "application/vnd.geospace": ["g3w"],
652
+ "application/vnd.gmx": ["gmx"],
653
+ "application/vnd.google-apps.document": ["gdoc"],
654
+ "application/vnd.google-apps.presentation": ["gslides"],
655
+ "application/vnd.google-apps.spreadsheet": ["gsheet"],
656
+ "application/vnd.google-earth.kml+xml": ["kml"],
657
+ "application/vnd.google-earth.kmz": ["kmz"],
658
+ "application/vnd.grafeq": ["gqf", "gqs"],
659
+ "application/vnd.groove-account": ["gac"],
660
+ "application/vnd.groove-help": ["ghf"],
661
+ "application/vnd.groove-identity-message": ["gim"],
662
+ "application/vnd.groove-injector": ["grv"],
663
+ "application/vnd.groove-tool-message": ["gtm"],
664
+ "application/vnd.groove-tool-template": ["tpl"],
665
+ "application/vnd.groove-vcard": ["vcg"],
666
+ "application/vnd.hal+xml": ["hal"],
667
+ "application/vnd.handheld-entertainment+xml": ["zmm"],
668
+ "application/vnd.hbci": ["hbci"],
669
+ "application/vnd.hhe.lesson-player": ["les"],
670
+ "application/vnd.hp-hpgl": ["hpgl"],
671
+ "application/vnd.hp-hpid": ["hpid"],
672
+ "application/vnd.hp-hps": ["hps"],
673
+ "application/vnd.hp-jlyt": ["jlt"],
674
+ "application/vnd.hp-pcl": ["pcl"],
675
+ "application/vnd.hp-pclxl": ["pclxl"],
676
+ "application/vnd.hydrostatix.sof-data": ["sfd-hdstx"],
677
+ "application/vnd.ibm.minipay": ["mpy"],
678
+ "application/vnd.ibm.modcap": [
679
+ "afp",
680
+ "listafp",
681
+ "list3820"
682
+ ],
683
+ "application/vnd.ibm.rights-management": ["irm"],
684
+ "application/vnd.ibm.secure-container": ["sc"],
685
+ "application/vnd.iccprofile": ["icc", "icm"],
686
+ "application/vnd.igloader": ["igl"],
687
+ "application/vnd.immervision-ivp": ["ivp"],
688
+ "application/vnd.immervision-ivu": ["ivu"],
689
+ "application/vnd.insors.igm": ["igm"],
690
+ "application/vnd.intercon.formnet": ["xpw", "xpx"],
691
+ "application/vnd.intergeo": ["i2g"],
692
+ "application/vnd.intu.qbo": ["qbo"],
693
+ "application/vnd.intu.qfx": ["qfx"],
694
+ "application/vnd.ipunplugged.rcprofile": ["rcprofile"],
695
+ "application/vnd.irepository.package+xml": ["irp"],
696
+ "application/vnd.is-xpr": ["xpr"],
697
+ "application/vnd.isac.fcs": ["fcs"],
698
+ "application/vnd.jam": ["jam"],
699
+ "application/vnd.jcp.javame.midlet-rms": ["rms"],
700
+ "application/vnd.jisp": ["jisp"],
701
+ "application/vnd.joost.joda-archive": ["joda"],
702
+ "application/vnd.kahootz": ["ktz", "ktr"],
703
+ "application/vnd.kde.karbon": ["karbon"],
704
+ "application/vnd.kde.kchart": ["chrt"],
705
+ "application/vnd.kde.kformula": ["kfo"],
706
+ "application/vnd.kde.kivio": ["flw"],
707
+ "application/vnd.kde.kontour": ["kon"],
708
+ "application/vnd.kde.kpresenter": ["kpr", "kpt"],
709
+ "application/vnd.kde.kspread": ["ksp"],
710
+ "application/vnd.kde.kword": ["kwd", "kwt"],
711
+ "application/vnd.kenameaapp": ["htke"],
712
+ "application/vnd.kidspiration": ["kia"],
713
+ "application/vnd.kinar": ["kne", "knp"],
714
+ "application/vnd.koan": [
715
+ "skp",
716
+ "skd",
717
+ "skt",
718
+ "skm"
719
+ ],
720
+ "application/vnd.kodak-descriptor": ["sse"],
721
+ "application/vnd.las.las+xml": ["lasxml"],
722
+ "application/vnd.llamagraphics.life-balance.desktop": ["lbd"],
723
+ "application/vnd.llamagraphics.life-balance.exchange+xml": ["lbe"],
724
+ "application/vnd.lotus-1-2-3": ["123"],
725
+ "application/vnd.lotus-approach": ["apr"],
726
+ "application/vnd.lotus-freelance": ["pre"],
727
+ "application/vnd.lotus-notes": ["nsf"],
728
+ "application/vnd.lotus-organizer": ["org"],
729
+ "application/vnd.lotus-screencam": ["scm"],
730
+ "application/vnd.lotus-wordpro": ["lwp"],
731
+ "application/vnd.macports.portpkg": ["portpkg"],
732
+ "application/vnd.mapbox-vector-tile": ["mvt"],
733
+ "application/vnd.mcd": ["mcd"],
734
+ "application/vnd.medcalcdata": ["mc1"],
735
+ "application/vnd.mediastation.cdkey": ["cdkey"],
736
+ "application/vnd.mfer": ["mwf"],
737
+ "application/vnd.mfmp": ["mfm"],
738
+ "application/vnd.micrografx.flo": ["flo"],
739
+ "application/vnd.micrografx.igx": ["igx"],
740
+ "application/vnd.mif": ["mif"],
741
+ "application/vnd.mobius.daf": ["daf"],
742
+ "application/vnd.mobius.dis": ["dis"],
743
+ "application/vnd.mobius.mbk": ["mbk"],
744
+ "application/vnd.mobius.mqy": ["mqy"],
745
+ "application/vnd.mobius.msl": ["msl"],
746
+ "application/vnd.mobius.plc": ["plc"],
747
+ "application/vnd.mobius.txf": ["txf"],
748
+ "application/vnd.mophun.application": ["mpn"],
749
+ "application/vnd.mophun.certificate": ["mpc"],
750
+ "application/vnd.mozilla.xul+xml": ["xul"],
751
+ "application/vnd.ms-artgalry": ["cil"],
752
+ "application/vnd.ms-cab-compressed": ["cab"],
753
+ "application/vnd.ms-excel": [
754
+ "xls",
755
+ "xlm",
756
+ "xla",
757
+ "xlc",
758
+ "xlt",
759
+ "xlw"
760
+ ],
761
+ "application/vnd.ms-excel.addin.macroenabled.12": ["xlam"],
762
+ "application/vnd.ms-excel.sheet.binary.macroenabled.12": ["xlsb"],
763
+ "application/vnd.ms-excel.sheet.macroenabled.12": ["xlsm"],
764
+ "application/vnd.ms-excel.template.macroenabled.12": ["xltm"],
765
+ "application/vnd.ms-fontobject": ["eot"],
766
+ "application/vnd.ms-htmlhelp": ["chm"],
767
+ "application/vnd.ms-ims": ["ims"],
768
+ "application/vnd.ms-lrm": ["lrm"],
769
+ "application/vnd.ms-officetheme": ["thmx"],
770
+ "application/vnd.ms-outlook": ["msg"],
771
+ "application/vnd.ms-pki.seccat": ["cat"],
772
+ "application/vnd.ms-pki.stl": ["*stl"],
773
+ "application/vnd.ms-powerpoint": [
774
+ "ppt",
775
+ "pps",
776
+ "pot"
777
+ ],
778
+ "application/vnd.ms-powerpoint.addin.macroenabled.12": ["ppam"],
779
+ "application/vnd.ms-powerpoint.presentation.macroenabled.12": ["pptm"],
780
+ "application/vnd.ms-powerpoint.slide.macroenabled.12": ["sldm"],
781
+ "application/vnd.ms-powerpoint.slideshow.macroenabled.12": ["ppsm"],
782
+ "application/vnd.ms-powerpoint.template.macroenabled.12": ["potm"],
783
+ "application/vnd.ms-project": ["mpp", "mpt"],
784
+ "application/vnd.ms-word.document.macroenabled.12": ["docm"],
785
+ "application/vnd.ms-word.template.macroenabled.12": ["dotm"],
786
+ "application/vnd.ms-works": [
787
+ "wps",
788
+ "wks",
789
+ "wcm",
790
+ "wdb"
791
+ ],
792
+ "application/vnd.ms-wpl": ["wpl"],
793
+ "application/vnd.ms-xpsdocument": ["xps"],
794
+ "application/vnd.mseq": ["mseq"],
795
+ "application/vnd.musician": ["mus"],
796
+ "application/vnd.muvee.style": ["msty"],
797
+ "application/vnd.mynfc": ["taglet"],
798
+ "application/vnd.neurolanguage.nlu": ["nlu"],
799
+ "application/vnd.nitf": ["ntf", "nitf"],
800
+ "application/vnd.noblenet-directory": ["nnd"],
801
+ "application/vnd.noblenet-sealer": ["nns"],
802
+ "application/vnd.noblenet-web": ["nnw"],
803
+ "application/vnd.nokia.n-gage.ac+xml": ["*ac"],
804
+ "application/vnd.nokia.n-gage.data": ["ngdat"],
805
+ "application/vnd.nokia.n-gage.symbian.install": ["n-gage"],
806
+ "application/vnd.nokia.radio-preset": ["rpst"],
807
+ "application/vnd.nokia.radio-presets": ["rpss"],
808
+ "application/vnd.novadigm.edm": ["edm"],
809
+ "application/vnd.novadigm.edx": ["edx"],
810
+ "application/vnd.novadigm.ext": ["ext"],
811
+ "application/vnd.oasis.opendocument.chart": ["odc"],
812
+ "application/vnd.oasis.opendocument.chart-template": ["otc"],
813
+ "application/vnd.oasis.opendocument.database": ["odb"],
814
+ "application/vnd.oasis.opendocument.formula": ["odf"],
815
+ "application/vnd.oasis.opendocument.formula-template": ["odft"],
816
+ "application/vnd.oasis.opendocument.graphics": ["odg"],
817
+ "application/vnd.oasis.opendocument.graphics-template": ["otg"],
818
+ "application/vnd.oasis.opendocument.image": ["odi"],
819
+ "application/vnd.oasis.opendocument.image-template": ["oti"],
820
+ "application/vnd.oasis.opendocument.presentation": ["odp"],
821
+ "application/vnd.oasis.opendocument.presentation-template": ["otp"],
822
+ "application/vnd.oasis.opendocument.spreadsheet": ["ods"],
823
+ "application/vnd.oasis.opendocument.spreadsheet-template": ["ots"],
824
+ "application/vnd.oasis.opendocument.text": ["odt"],
825
+ "application/vnd.oasis.opendocument.text-master": ["odm"],
826
+ "application/vnd.oasis.opendocument.text-template": ["ott"],
827
+ "application/vnd.oasis.opendocument.text-web": ["oth"],
828
+ "application/vnd.olpc-sugar": ["xo"],
829
+ "application/vnd.oma.dd2+xml": ["dd2"],
830
+ "application/vnd.openblox.game+xml": ["obgx"],
831
+ "application/vnd.openofficeorg.extension": ["oxt"],
832
+ "application/vnd.openstreetmap.data+xml": ["osm"],
833
+ "application/vnd.openxmlformats-officedocument.presentationml.presentation": ["pptx"],
834
+ "application/vnd.openxmlformats-officedocument.presentationml.slide": ["sldx"],
835
+ "application/vnd.openxmlformats-officedocument.presentationml.slideshow": ["ppsx"],
836
+ "application/vnd.openxmlformats-officedocument.presentationml.template": ["potx"],
837
+ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": ["xlsx"],
838
+ "application/vnd.openxmlformats-officedocument.spreadsheetml.template": ["xltx"],
839
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": ["docx"],
840
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.template": ["dotx"],
841
+ "application/vnd.osgeo.mapguide.package": ["mgp"],
842
+ "application/vnd.osgi.dp": ["dp"],
843
+ "application/vnd.osgi.subsystem": ["esa"],
844
+ "application/vnd.palm": [
845
+ "pdb",
846
+ "pqa",
847
+ "oprc"
848
+ ],
849
+ "application/vnd.pawaafile": ["paw"],
850
+ "application/vnd.pg.format": ["str"],
851
+ "application/vnd.pg.osasli": ["ei6"],
852
+ "application/vnd.picsel": ["efif"],
853
+ "application/vnd.pmi.widget": ["wg"],
854
+ "application/vnd.pocketlearn": ["plf"],
855
+ "application/vnd.powerbuilder6": ["pbd"],
856
+ "application/vnd.previewsystems.box": ["box"],
857
+ "application/vnd.proteus.magazine": ["mgz"],
858
+ "application/vnd.publishare-delta-tree": ["qps"],
859
+ "application/vnd.pvi.ptid1": ["ptid"],
860
+ "application/vnd.quark.quarkxpress": [
861
+ "qxd",
862
+ "qxt",
863
+ "qwd",
864
+ "qwt",
865
+ "qxl",
866
+ "qxb"
867
+ ],
868
+ "application/vnd.rar": ["rar"],
869
+ "application/vnd.realvnc.bed": ["bed"],
870
+ "application/vnd.recordare.musicxml": ["mxl"],
871
+ "application/vnd.recordare.musicxml+xml": ["musicxml"],
872
+ "application/vnd.rig.cryptonote": ["cryptonote"],
873
+ "application/vnd.rim.cod": ["cod"],
874
+ "application/vnd.rn-realmedia": ["rm"],
875
+ "application/vnd.rn-realmedia-vbr": ["rmvb"],
876
+ "application/vnd.route66.link66+xml": ["link66"],
877
+ "application/vnd.sailingtracker.track": ["st"],
878
+ "application/vnd.seemail": ["see"],
879
+ "application/vnd.sema": ["sema"],
880
+ "application/vnd.semd": ["semd"],
881
+ "application/vnd.semf": ["semf"],
882
+ "application/vnd.shana.informed.formdata": ["ifm"],
883
+ "application/vnd.shana.informed.formtemplate": ["itp"],
884
+ "application/vnd.shana.informed.interchange": ["iif"],
885
+ "application/vnd.shana.informed.package": ["ipk"],
886
+ "application/vnd.simtech-mindmapper": ["twd", "twds"],
887
+ "application/vnd.smaf": ["mmf"],
888
+ "application/vnd.smart.teacher": ["teacher"],
889
+ "application/vnd.software602.filler.form+xml": ["fo"],
890
+ "application/vnd.solent.sdkm+xml": ["sdkm", "sdkd"],
891
+ "application/vnd.spotfire.dxp": ["dxp"],
892
+ "application/vnd.spotfire.sfs": ["sfs"],
893
+ "application/vnd.stardivision.calc": ["sdc"],
894
+ "application/vnd.stardivision.draw": ["sda"],
895
+ "application/vnd.stardivision.impress": ["sdd"],
896
+ "application/vnd.stardivision.math": ["smf"],
897
+ "application/vnd.stardivision.writer": ["sdw", "vor"],
898
+ "application/vnd.stardivision.writer-global": ["sgl"],
899
+ "application/vnd.stepmania.package": ["smzip"],
900
+ "application/vnd.stepmania.stepchart": ["sm"],
901
+ "application/vnd.sun.wadl+xml": ["wadl"],
902
+ "application/vnd.sun.xml.calc": ["sxc"],
903
+ "application/vnd.sun.xml.calc.template": ["stc"],
904
+ "application/vnd.sun.xml.draw": ["sxd"],
905
+ "application/vnd.sun.xml.draw.template": ["std"],
906
+ "application/vnd.sun.xml.impress": ["sxi"],
907
+ "application/vnd.sun.xml.impress.template": ["sti"],
908
+ "application/vnd.sun.xml.math": ["sxm"],
909
+ "application/vnd.sun.xml.writer": ["sxw"],
910
+ "application/vnd.sun.xml.writer.global": ["sxg"],
911
+ "application/vnd.sun.xml.writer.template": ["stw"],
912
+ "application/vnd.sus-calendar": ["sus", "susp"],
913
+ "application/vnd.svd": ["svd"],
914
+ "application/vnd.symbian.install": ["sis", "sisx"],
915
+ "application/vnd.syncml+xml": ["xsm"],
916
+ "application/vnd.syncml.dm+wbxml": ["bdm"],
917
+ "application/vnd.syncml.dm+xml": ["xdm"],
918
+ "application/vnd.syncml.dmddf+xml": ["ddf"],
919
+ "application/vnd.tao.intent-module-archive": ["tao"],
920
+ "application/vnd.tcpdump.pcap": [
921
+ "pcap",
922
+ "cap",
923
+ "dmp"
924
+ ],
925
+ "application/vnd.tmobile-livetv": ["tmo"],
926
+ "application/vnd.trid.tpt": ["tpt"],
927
+ "application/vnd.triscape.mxs": ["mxs"],
928
+ "application/vnd.trueapp": ["tra"],
929
+ "application/vnd.ufdl": ["ufd", "ufdl"],
930
+ "application/vnd.uiq.theme": ["utz"],
931
+ "application/vnd.umajin": ["umj"],
932
+ "application/vnd.unity": ["unityweb"],
933
+ "application/vnd.uoml+xml": ["uoml"],
934
+ "application/vnd.vcx": ["vcx"],
935
+ "application/vnd.visio": [
936
+ "vsd",
937
+ "vst",
938
+ "vss",
939
+ "vsw"
940
+ ],
941
+ "application/vnd.visionary": ["vis"],
942
+ "application/vnd.vsf": ["vsf"],
943
+ "application/vnd.wap.wbxml": ["wbxml"],
944
+ "application/vnd.wap.wmlc": ["wmlc"],
945
+ "application/vnd.wap.wmlscriptc": ["wmlsc"],
946
+ "application/vnd.webturbo": ["wtb"],
947
+ "application/vnd.wolfram.player": ["nbp"],
948
+ "application/vnd.wordperfect": ["wpd"],
949
+ "application/vnd.wqd": ["wqd"],
950
+ "application/vnd.wt.stf": ["stf"],
951
+ "application/vnd.xara": ["xar"],
952
+ "application/vnd.xfdl": ["xfdl"],
953
+ "application/vnd.yamaha.hv-dic": ["hvd"],
954
+ "application/vnd.yamaha.hv-script": ["hvs"],
955
+ "application/vnd.yamaha.hv-voice": ["hvp"],
956
+ "application/vnd.yamaha.openscoreformat": ["osf"],
957
+ "application/vnd.yamaha.openscoreformat.osfpvg+xml": ["osfpvg"],
958
+ "application/vnd.yamaha.smaf-audio": ["saf"],
959
+ "application/vnd.yamaha.smaf-phrase": ["spf"],
960
+ "application/vnd.yellowriver-custom-menu": ["cmp"],
961
+ "application/vnd.zul": ["zir", "zirz"],
962
+ "application/vnd.zzazz.deck+xml": ["zaz"],
963
+ "application/x-7z-compressed": ["7z"],
964
+ "application/x-abiword": ["abw"],
965
+ "application/x-ace-compressed": ["ace"],
966
+ "application/x-apple-diskimage": ["*dmg"],
967
+ "application/x-arj": ["arj"],
968
+ "application/x-authorware-bin": [
969
+ "aab",
970
+ "x32",
971
+ "u32",
972
+ "vox"
973
+ ],
974
+ "application/x-authorware-map": ["aam"],
975
+ "application/x-authorware-seg": ["aas"],
976
+ "application/x-bcpio": ["bcpio"],
977
+ "application/x-bdoc": ["*bdoc"],
978
+ "application/x-bittorrent": ["torrent"],
979
+ "application/x-blorb": ["blb", "blorb"],
980
+ "application/x-bzip": ["bz"],
981
+ "application/x-bzip2": ["bz2", "boz"],
982
+ "application/x-cbr": [
983
+ "cbr",
984
+ "cba",
985
+ "cbt",
986
+ "cbz",
987
+ "cb7"
988
+ ],
989
+ "application/x-cdlink": ["vcd"],
990
+ "application/x-cfs-compressed": ["cfs"],
991
+ "application/x-chat": ["chat"],
992
+ "application/x-chess-pgn": ["pgn"],
993
+ "application/x-chrome-extension": ["crx"],
994
+ "application/x-cocoa": ["cco"],
995
+ "application/x-conference": ["nsc"],
996
+ "application/x-cpio": ["cpio"],
997
+ "application/x-csh": ["csh"],
998
+ "application/x-debian-package": ["*deb", "udeb"],
999
+ "application/x-dgc-compressed": ["dgc"],
1000
+ "application/x-director": [
1001
+ "dir",
1002
+ "dcr",
1003
+ "dxr",
1004
+ "cst",
1005
+ "cct",
1006
+ "cxt",
1007
+ "w3d",
1008
+ "fgd",
1009
+ "swa"
1010
+ ],
1011
+ "application/x-doom": ["wad"],
1012
+ "application/x-dtbncx+xml": ["ncx"],
1013
+ "application/x-dtbook+xml": ["dtb"],
1014
+ "application/x-dtbresource+xml": ["res"],
1015
+ "application/x-dvi": ["dvi"],
1016
+ "application/x-envoy": ["evy"],
1017
+ "application/x-eva": ["eva"],
1018
+ "application/x-font-bdf": ["bdf"],
1019
+ "application/x-font-ghostscript": ["gsf"],
1020
+ "application/x-font-linux-psf": ["psf"],
1021
+ "application/x-font-pcf": ["pcf"],
1022
+ "application/x-font-snf": ["snf"],
1023
+ "application/x-font-type1": [
1024
+ "pfa",
1025
+ "pfb",
1026
+ "pfm",
1027
+ "afm"
1028
+ ],
1029
+ "application/x-freearc": ["arc"],
1030
+ "application/x-futuresplash": ["spl"],
1031
+ "application/x-gca-compressed": ["gca"],
1032
+ "application/x-glulx": ["ulx"],
1033
+ "application/x-gnumeric": ["gnumeric"],
1034
+ "application/x-gramps-xml": ["gramps"],
1035
+ "application/x-gtar": ["gtar"],
1036
+ "application/x-hdf": ["hdf"],
1037
+ "application/x-httpd-php": ["php"],
1038
+ "application/x-install-instructions": ["install"],
1039
+ "application/x-iso9660-image": ["*iso"],
1040
+ "application/x-iwork-keynote-sffkey": ["*key"],
1041
+ "application/x-iwork-numbers-sffnumbers": ["*numbers"],
1042
+ "application/x-iwork-pages-sffpages": ["*pages"],
1043
+ "application/x-java-archive-diff": ["jardiff"],
1044
+ "application/x-java-jnlp-file": ["jnlp"],
1045
+ "application/x-keepass2": ["kdbx"],
1046
+ "application/x-latex": ["latex"],
1047
+ "application/x-lua-bytecode": ["luac"],
1048
+ "application/x-lzh-compressed": ["lzh", "lha"],
1049
+ "application/x-makeself": ["run"],
1050
+ "application/x-mie": ["mie"],
1051
+ "application/x-mobipocket-ebook": ["prc", "mobi"],
1052
+ "application/x-ms-application": ["application"],
1053
+ "application/x-ms-shortcut": ["lnk"],
1054
+ "application/x-ms-wmd": ["wmd"],
1055
+ "application/x-ms-wmz": ["wmz"],
1056
+ "application/x-ms-xbap": ["xbap"],
1057
+ "application/x-msaccess": ["mdb"],
1058
+ "application/x-msbinder": ["obd"],
1059
+ "application/x-mscardfile": ["crd"],
1060
+ "application/x-msclip": ["clp"],
1061
+ "application/x-msdos-program": ["*exe"],
1062
+ "application/x-msdownload": [
1063
+ "*exe",
1064
+ "*dll",
1065
+ "com",
1066
+ "bat",
1067
+ "*msi"
1068
+ ],
1069
+ "application/x-msmediaview": [
1070
+ "mvb",
1071
+ "m13",
1072
+ "m14"
1073
+ ],
1074
+ "application/x-msmetafile": [
1075
+ "*wmf",
1076
+ "*wmz",
1077
+ "*emf",
1078
+ "emz"
1079
+ ],
1080
+ "application/x-msmoney": ["mny"],
1081
+ "application/x-mspublisher": ["pub"],
1082
+ "application/x-msschedule": ["scd"],
1083
+ "application/x-msterminal": ["trm"],
1084
+ "application/x-mswrite": ["wri"],
1085
+ "application/x-netcdf": ["nc", "cdf"],
1086
+ "application/x-ns-proxy-autoconfig": ["pac"],
1087
+ "application/x-nzb": ["nzb"],
1088
+ "application/x-perl": ["pl", "pm"],
1089
+ "application/x-pilot": ["*prc", "*pdb"],
1090
+ "application/x-pkcs12": ["p12", "pfx"],
1091
+ "application/x-pkcs7-certificates": ["p7b", "spc"],
1092
+ "application/x-pkcs7-certreqresp": ["p7r"],
1093
+ "application/x-rar-compressed": ["*rar"],
1094
+ "application/x-redhat-package-manager": ["rpm"],
1095
+ "application/x-research-info-systems": ["ris"],
1096
+ "application/x-sea": ["sea"],
1097
+ "application/x-sh": ["sh"],
1098
+ "application/x-shar": ["shar"],
1099
+ "application/x-shockwave-flash": ["swf"],
1100
+ "application/x-silverlight-app": ["xap"],
1101
+ "application/x-sql": ["sql"],
1102
+ "application/x-stuffit": ["sit"],
1103
+ "application/x-stuffitx": ["sitx"],
1104
+ "application/x-subrip": ["srt"],
1105
+ "application/x-sv4cpio": ["sv4cpio"],
1106
+ "application/x-sv4crc": ["sv4crc"],
1107
+ "application/x-t3vm-image": ["t3"],
1108
+ "application/x-tads": ["gam"],
1109
+ "application/x-tar": ["tar"],
1110
+ "application/x-tcl": ["tcl", "tk"],
1111
+ "application/x-tex": ["tex"],
1112
+ "application/x-tex-tfm": ["tfm"],
1113
+ "application/x-texinfo": ["texinfo", "texi"],
1114
+ "application/x-tgif": ["*obj"],
1115
+ "application/x-ustar": ["ustar"],
1116
+ "application/x-virtualbox-hdd": ["hdd"],
1117
+ "application/x-virtualbox-ova": ["ova"],
1118
+ "application/x-virtualbox-ovf": ["ovf"],
1119
+ "application/x-virtualbox-vbox": ["vbox"],
1120
+ "application/x-virtualbox-vbox-extpack": ["vbox-extpack"],
1121
+ "application/x-virtualbox-vdi": ["vdi"],
1122
+ "application/x-virtualbox-vhd": ["vhd"],
1123
+ "application/x-virtualbox-vmdk": ["vmdk"],
1124
+ "application/x-wais-source": ["src"],
1125
+ "application/x-web-app-manifest+json": ["webapp"],
1126
+ "application/x-x509-ca-cert": [
1127
+ "der",
1128
+ "crt",
1129
+ "pem"
1130
+ ],
1131
+ "application/x-xfig": ["fig"],
1132
+ "application/x-xliff+xml": ["*xlf"],
1133
+ "application/x-xpinstall": ["xpi"],
1134
+ "application/x-xz": ["xz"],
1135
+ "application/x-zmachine": [
1136
+ "z1",
1137
+ "z2",
1138
+ "z3",
1139
+ "z4",
1140
+ "z5",
1141
+ "z6",
1142
+ "z7",
1143
+ "z8"
1144
+ ],
1145
+ "audio/vnd.dece.audio": ["uva", "uvva"],
1146
+ "audio/vnd.digital-winds": ["eol"],
1147
+ "audio/vnd.dra": ["dra"],
1148
+ "audio/vnd.dts": ["dts"],
1149
+ "audio/vnd.dts.hd": ["dtshd"],
1150
+ "audio/vnd.lucent.voice": ["lvp"],
1151
+ "audio/vnd.ms-playready.media.pya": ["pya"],
1152
+ "audio/vnd.nuera.ecelp4800": ["ecelp4800"],
1153
+ "audio/vnd.nuera.ecelp7470": ["ecelp7470"],
1154
+ "audio/vnd.nuera.ecelp9600": ["ecelp9600"],
1155
+ "audio/vnd.rip": ["rip"],
1156
+ "audio/x-aac": ["aac"],
1157
+ "audio/x-aiff": [
1158
+ "aif",
1159
+ "aiff",
1160
+ "aifc"
1161
+ ],
1162
+ "audio/x-caf": ["caf"],
1163
+ "audio/x-flac": ["flac"],
1164
+ "audio/x-m4a": ["*m4a"],
1165
+ "audio/x-matroska": ["mka"],
1166
+ "audio/x-mpegurl": ["m3u"],
1167
+ "audio/x-ms-wax": ["wax"],
1168
+ "audio/x-ms-wma": ["wma"],
1169
+ "audio/x-pn-realaudio": ["ram", "ra"],
1170
+ "audio/x-pn-realaudio-plugin": ["rmp"],
1171
+ "audio/x-realaudio": ["*ra"],
1172
+ "audio/x-wav": ["*wav"],
1173
+ "chemical/x-cdx": ["cdx"],
1174
+ "chemical/x-cif": ["cif"],
1175
+ "chemical/x-cmdf": ["cmdf"],
1176
+ "chemical/x-cml": ["cml"],
1177
+ "chemical/x-csml": ["csml"],
1178
+ "chemical/x-xyz": ["xyz"],
1179
+ "image/prs.btif": ["btif"],
1180
+ "image/prs.pti": ["pti"],
1181
+ "image/vnd.adobe.photoshop": ["psd"],
1182
+ "image/vnd.airzip.accelerator.azv": ["azv"],
1183
+ "image/vnd.dece.graphic": [
1184
+ "uvi",
1185
+ "uvvi",
1186
+ "uvg",
1187
+ "uvvg"
1188
+ ],
1189
+ "image/vnd.djvu": ["djvu", "djv"],
1190
+ "image/vnd.dvb.subtitle": ["*sub"],
1191
+ "image/vnd.dwg": ["dwg"],
1192
+ "image/vnd.dxf": ["dxf"],
1193
+ "image/vnd.fastbidsheet": ["fbs"],
1194
+ "image/vnd.fpx": ["fpx"],
1195
+ "image/vnd.fst": ["fst"],
1196
+ "image/vnd.fujixerox.edmics-mmr": ["mmr"],
1197
+ "image/vnd.fujixerox.edmics-rlc": ["rlc"],
1198
+ "image/vnd.microsoft.icon": ["ico"],
1199
+ "image/vnd.ms-dds": ["dds"],
1200
+ "image/vnd.ms-modi": ["mdi"],
1201
+ "image/vnd.ms-photo": ["wdp"],
1202
+ "image/vnd.net-fpx": ["npx"],
1203
+ "image/vnd.pco.b16": ["b16"],
1204
+ "image/vnd.tencent.tap": ["tap"],
1205
+ "image/vnd.valve.source.texture": ["vtf"],
1206
+ "image/vnd.wap.wbmp": ["wbmp"],
1207
+ "image/vnd.xiff": ["xif"],
1208
+ "image/vnd.zbrush.pcx": ["pcx"],
1209
+ "image/x-3ds": ["3ds"],
1210
+ "image/x-cmu-raster": ["ras"],
1211
+ "image/x-cmx": ["cmx"],
1212
+ "image/x-freehand": [
1213
+ "fh",
1214
+ "fhc",
1215
+ "fh4",
1216
+ "fh5",
1217
+ "fh7"
1218
+ ],
1219
+ "image/x-icon": ["*ico"],
1220
+ "image/x-jng": ["jng"],
1221
+ "image/x-mrsid-image": ["sid"],
1222
+ "image/x-ms-bmp": ["*bmp"],
1223
+ "image/x-pcx": ["*pcx"],
1224
+ "image/x-pict": ["pic", "pct"],
1225
+ "image/x-portable-anymap": ["pnm"],
1226
+ "image/x-portable-bitmap": ["pbm"],
1227
+ "image/x-portable-graymap": ["pgm"],
1228
+ "image/x-portable-pixmap": ["ppm"],
1229
+ "image/x-rgb": ["rgb"],
1230
+ "image/x-tga": ["tga"],
1231
+ "image/x-xbitmap": ["xbm"],
1232
+ "image/x-xpixmap": ["xpm"],
1233
+ "image/x-xwindowdump": ["xwd"],
1234
+ "message/vnd.wfa.wsc": ["wsc"],
1235
+ "model/vnd.collada+xml": ["dae"],
1236
+ "model/vnd.dwf": ["dwf"],
1237
+ "model/vnd.gdl": ["gdl"],
1238
+ "model/vnd.gtw": ["gtw"],
1239
+ "model/vnd.mts": ["mts"],
1240
+ "model/vnd.opengex": ["ogex"],
1241
+ "model/vnd.parasolid.transmit.binary": ["x_b"],
1242
+ "model/vnd.parasolid.transmit.text": ["x_t"],
1243
+ "model/vnd.sap.vds": ["vds"],
1244
+ "model/vnd.usdz+zip": ["usdz"],
1245
+ "model/vnd.valve.source.compiled-map": ["bsp"],
1246
+ "model/vnd.vtu": ["vtu"],
1247
+ "text/prs.lines.tag": ["dsc"],
1248
+ "text/vnd.curl": ["curl"],
1249
+ "text/vnd.curl.dcurl": ["dcurl"],
1250
+ "text/vnd.curl.mcurl": ["mcurl"],
1251
+ "text/vnd.curl.scurl": ["scurl"],
1252
+ "text/vnd.dvb.subtitle": ["sub"],
1253
+ "text/vnd.fly": ["fly"],
1254
+ "text/vnd.fmi.flexstor": ["flx"],
1255
+ "text/vnd.graphviz": ["gv"],
1256
+ "text/vnd.in3d.3dml": ["3dml"],
1257
+ "text/vnd.in3d.spot": ["spot"],
1258
+ "text/vnd.sun.j2me.app-descriptor": ["jad"],
1259
+ "text/vnd.wap.wml": ["wml"],
1260
+ "text/vnd.wap.wmlscript": ["wmls"],
1261
+ "text/x-asm": ["s", "asm"],
1262
+ "text/x-c": [
1263
+ "c",
1264
+ "cc",
1265
+ "cxx",
1266
+ "cpp",
1267
+ "h",
1268
+ "hh",
1269
+ "dic"
1270
+ ],
1271
+ "text/x-component": ["htc"],
1272
+ "text/x-fortran": [
1273
+ "f",
1274
+ "for",
1275
+ "f77",
1276
+ "f90"
1277
+ ],
1278
+ "text/x-handlebars-template": ["hbs"],
1279
+ "text/x-java-source": ["java"],
1280
+ "text/x-lua": ["lua"],
1281
+ "text/x-markdown": ["mkd"],
1282
+ "text/x-nfo": ["nfo"],
1283
+ "text/x-opml": ["opml"],
1284
+ "text/x-org": ["*org"],
1285
+ "text/x-pascal": ["p", "pas"],
1286
+ "text/x-processing": ["pde"],
1287
+ "text/x-sass": ["sass"],
1288
+ "text/x-scss": ["scss"],
1289
+ "text/x-setext": ["etx"],
1290
+ "text/x-sfv": ["sfv"],
1291
+ "text/x-suse-ymp": ["ymp"],
1292
+ "text/x-uuencode": ["uu"],
1293
+ "text/x-vcalendar": ["vcs"],
1294
+ "text/x-vcard": ["vcf"],
1295
+ "video/vnd.dece.hd": ["uvh", "uvvh"],
1296
+ "video/vnd.dece.mobile": ["uvm", "uvvm"],
1297
+ "video/vnd.dece.pd": ["uvp", "uvvp"],
1298
+ "video/vnd.dece.sd": ["uvs", "uvvs"],
1299
+ "video/vnd.dece.video": ["uvv", "uvvv"],
1300
+ "video/vnd.dvb.file": ["dvb"],
1301
+ "video/vnd.fvt": ["fvt"],
1302
+ "video/vnd.mpegurl": ["mxu", "m4u"],
1303
+ "video/vnd.ms-playready.media.pyv": ["pyv"],
1304
+ "video/vnd.uvvu.mp4": ["uvu", "uvvu"],
1305
+ "video/vnd.vivo": ["viv"],
1306
+ "video/x-f4v": ["f4v"],
1307
+ "video/x-fli": ["fli"],
1308
+ "video/x-flv": ["flv"],
1309
+ "video/x-m4v": ["m4v"],
1310
+ "video/x-matroska": [
1311
+ "mkv",
1312
+ "mk3d",
1313
+ "mks"
1314
+ ],
1315
+ "video/x-mng": ["mng"],
1316
+ "video/x-ms-asf": ["asf", "asx"],
1317
+ "video/x-ms-vob": ["vob"],
1318
+ "video/x-ms-wm": ["wm"],
1319
+ "video/x-ms-wmv": ["wmv"],
1320
+ "video/x-ms-wmx": ["wmx"],
1321
+ "video/x-ms-wvx": ["wvx"],
1322
+ "video/x-msvideo": ["avi"],
1323
+ "video/x-sgi-movie": ["movie"],
1324
+ "video/x-smv": ["smv"],
1325
+ "x-conference/x-cooltalk": ["ice"]
1326
+ };
1327
+ } });
1328
+
1329
+ //#endregion
1330
+ //#region ../../node_modules/.pnpm/mime@2.6.0/node_modules/mime/index.js
1331
+ var require_mime = __commonJS({ "../../node_modules/.pnpm/mime@2.6.0/node_modules/mime/index.js"(exports, module) {
1332
+ let Mime = require_Mime();
1333
+ module.exports = new Mime(require_standard(), require_other());
1334
+ } });
1335
+
1336
+ //#endregion
1337
+ //#region src/standaloneStorage.ts
1338
+ var import_mime = __toESM(require_mime(), 1);
1339
+ const defaultRoutes$1 = {
1340
+ uploadBundle: (bundleId, bundlePath) => ({ path: "/uploadBundle" }),
1341
+ deleteBundle: (bundleId) => ({ path: "/deleteBundle" })
1342
+ };
1343
+ const createRoute$1 = (defaultRoute, customRoute) => ({
1344
+ path: customRoute?.path ?? defaultRoute.path,
1345
+ headers: {
1346
+ ...defaultRoute.headers,
1347
+ ...customRoute?.headers
1348
+ }
1349
+ });
1350
+ const standaloneStorage = (config, hooks) => (_) => {
1351
+ const routes = {
1352
+ uploadBundle: (bundleId, bundlePath) => createRoute$1(defaultRoutes$1.uploadBundle(bundleId, bundlePath), config.routes?.uploadBundle?.(bundleId, bundlePath)),
1353
+ deleteBundle: (bundleId) => createRoute$1(defaultRoutes$1.deleteBundle(bundleId), config.routes?.deleteBundle?.(bundleId))
1354
+ };
1355
+ const getHeaders = (routeHeaders) => ({
1356
+ ...config.commonHeaders,
1357
+ ...routeHeaders
1358
+ });
1359
+ return {
1360
+ name: "standaloneStorage",
1361
+ async deleteBundle(bundleId) {
1362
+ const { path: routePath, headers: routeHeaders } = routes.deleteBundle(bundleId);
1363
+ const response = await fetch(`${config.baseUrl}${routePath}`, {
1364
+ method: "POST",
1365
+ headers: getHeaders(routeHeaders),
1366
+ body: JSON.stringify({ bundleId })
1367
+ });
1368
+ if (!response.ok) {
1369
+ const error = new Error(`Failed to delete bundle: ${response.statusText}`);
1370
+ console.error(error);
1371
+ throw error;
1372
+ }
1373
+ return bundleId;
1374
+ },
1375
+ async uploadBundle(bundleId, bundlePath) {
1376
+ const fileContent = await fs_promises.default.readFile(bundlePath);
1377
+ const contentType = import_mime.default.getType(bundlePath) ?? "application/octet-stream";
1378
+ const filename = path.default.basename(bundlePath);
1379
+ const { path: routePath, headers: routeHeaders } = routes.uploadBundle(bundleId, bundlePath);
1380
+ const formData = new FormData();
1381
+ formData.append("file", new Blob([fileContent], { type: contentType }), filename);
1382
+ formData.append("bundleId", bundleId);
1383
+ const response = await fetch(`${config.baseUrl}${routePath}`, {
1384
+ method: "POST",
1385
+ headers: getHeaders(routeHeaders),
1386
+ body: formData
1387
+ });
1388
+ if (!response.ok) {
1389
+ const error = `Failed to upload bundle: ${response.statusText}`;
1390
+ console.error(`[uploadBundle] ${error}`);
1391
+ throw new Error(error);
1392
+ }
1393
+ const result = await response.json();
1394
+ if (!result.storageUri) {
1395
+ const error = "Failed to upload bundle - no storageUri in response";
1396
+ console.error(`[uploadBundle] ${error}`);
1397
+ throw new Error(error);
1398
+ }
1399
+ hooks?.onStorageUploaded?.();
1400
+ return { storageUri: result.storageUri };
1401
+ }
1402
+ };
1403
+ };
1404
+
1405
+ //#endregion
1406
+ //#region src/standaloneRepository.ts
1407
+ const defaultRoutes = {
1408
+ upsert: () => ({ path: "/bundles" }),
1409
+ list: () => ({
1410
+ path: "/bundles",
1411
+ headers: { "Cache-Control": "no-cache" }
1412
+ }),
1413
+ retrieve: (bundleId) => ({
1414
+ path: `/bundles/${bundleId}`,
1415
+ headers: { Accept: "application/json" }
1416
+ })
1417
+ };
1418
+ const createRoute = (defaultRoute, customRoute) => ({
1419
+ path: customRoute?.path ?? defaultRoute.path,
1420
+ headers: {
1421
+ ...defaultRoute.headers,
1422
+ ...customRoute?.headers
1423
+ }
3409
1424
  });
1425
+ const standaloneRepository = (config, hooks) => {
1426
+ const routes = {
1427
+ upsert: () => createRoute(defaultRoutes.upsert(), config.routes?.upsert?.()),
1428
+ list: () => createRoute(defaultRoutes.list(), config.routes?.list?.()),
1429
+ retrieve: (bundleId) => createRoute(defaultRoutes.retrieve(bundleId), config.routes?.retrieve?.(bundleId))
1430
+ };
1431
+ const getHeaders = (routeHeaders) => ({
1432
+ "Content-Type": "application/json",
1433
+ ...config.commonHeaders,
1434
+ ...routeHeaders
1435
+ });
1436
+ return (0, __hot_updater_plugin_core.createDatabasePlugin)("standalone-repository", {
1437
+ async getBundleById(_, bundleId) {
1438
+ try {
1439
+ const { path: path$2, headers: routeHeaders } = routes.retrieve(bundleId);
1440
+ const response = await fetch(`${config.baseUrl}${path$2}`, {
1441
+ method: "GET",
1442
+ headers: getHeaders(routeHeaders)
1443
+ });
1444
+ if (!response.ok) return null;
1445
+ return await response.json();
1446
+ } catch (error) {
1447
+ return null;
1448
+ }
1449
+ },
1450
+ async getBundles(_, options) {
1451
+ const { where, limit, offset = 0 } = options ?? {};
1452
+ const { path: path$2, headers: routeHeaders } = routes.list();
1453
+ const response = await fetch(`${config.baseUrl}${path$2}`, {
1454
+ method: "GET",
1455
+ headers: getHeaders(routeHeaders)
1456
+ });
1457
+ if (!response.ok) throw new Error(`API Error: ${response.statusText}`);
1458
+ const bundles = await response.json();
1459
+ let filteredBundles = bundles;
1460
+ if (where?.channel) filteredBundles = filteredBundles.filter((b) => b.channel === where.channel);
1461
+ if (where?.platform) filteredBundles = filteredBundles.filter((b) => b.platform === where.platform);
1462
+ if (limit) return filteredBundles.slice(offset, offset + limit);
1463
+ return filteredBundles;
1464
+ },
1465
+ async getChannels(_) {
1466
+ const allBundles = await this.getBundles(_);
1467
+ return [...new Set(allBundles.map((b) => b.channel))];
1468
+ },
1469
+ async commitBundle(_, { changedSets }) {
1470
+ const changedBundles = changedSets.map((set) => set.data);
1471
+ if (changedBundles.length === 0) return;
1472
+ const { path: path$2, headers: routeHeaders } = routes.upsert();
1473
+ const response = await fetch(`${config.baseUrl}${path$2}`, {
1474
+ method: "POST",
1475
+ headers: getHeaders(routeHeaders),
1476
+ body: JSON.stringify(changedBundles)
1477
+ });
1478
+ if (!response.ok) throw new Error(`API Error: ${response.statusText}`);
1479
+ const result = await response.json();
1480
+ if (!result.success) throw new Error("Failed to commit bundles");
1481
+ }
1482
+ }, hooks);
1483
+ };
1484
+
1485
+ //#endregion
1486
+ exports.standaloneRepository = standaloneRepository;
1487
+ exports.standaloneStorage = standaloneStorage;