@g4rcez/components 3.0.1 → 4.0.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/CaretDown.es-Cj7klWI3.js +33 -0
- package/dist/CaretDown.es-Cj7klWI3.js.map +1 -0
- package/dist/CaretRight.es-0-M8D9y8.js +33 -0
- package/dist/CaretRight.es-0-M8D9y8.js.map +1 -0
- package/dist/CheckCircle.es-C6QWLfk_.js +33 -0
- package/dist/CheckCircle.es-C6QWLfk_.js.map +1 -0
- package/dist/File.es-CA-vuPED.js +33 -0
- package/dist/File.es-CA-vuPED.js.map +1 -0
- package/dist/IconBase.es-DJ1oCtpo.js +50 -0
- package/dist/IconBase.es-DJ1oCtpo.js.map +1 -0
- package/dist/Info.es-CrZKs4q4.js +33 -0
- package/dist/Info.es-CrZKs4q4.js.map +1 -0
- package/dist/MotionConfigContext-C7MqlSdv.js +2713 -0
- package/dist/MotionConfigContext-C7MqlSdv.js.map +1 -0
- package/dist/Warning.es-D_eI6tLe.js +39 -0
- package/dist/Warning.es-D_eI6tLe.js.map +1 -0
- package/dist/X.es-BJ1O93El.js +39 -0
- package/dist/X.es-BJ1O93El.js.map +1 -0
- package/dist/ai/docs/Alert.md +1 -1
- package/dist/ai/docs/AnimatedList.md +3 -3
- package/dist/ai/docs/Button.md +1 -1
- package/dist/ai/docs/CommandPalette.md +7 -7
- package/dist/ai/docs/Dropdown.md +4 -4
- package/dist/ai/docs/Empty.md +9 -9
- package/dist/ai/docs/Expand.md +1 -1
- package/dist/ai/docs/FileUpload.md +2 -2
- package/dist/ai/docs/Input.md +2 -2
- package/dist/ai/docs/InputField.md +2 -2
- package/dist/ai/docs/List.md +3 -3
- package/dist/ai/docs/Menu.md +3 -3
- package/dist/ai/docs/MultiSelect.md +1 -1
- package/dist/ai/docs/PageCalendar.md +1 -1
- package/dist/ai/docs/Select.md +1 -1
- package/dist/ai/docs/Slot.md +1 -1
- package/dist/ai/docs/Stats.md +11 -11
- package/dist/ai/docs/Table.md +1 -1
- package/dist/ai/docs/Tag.md +2 -2
- package/dist/ai/docs/Timeline.md +5 -5
- package/dist/ai/docs/Toolbar.md +2 -2
- package/dist/ai/docs/Tooltip.md +3 -3
- package/dist/ai/docs/TransferList.md +2 -2
- package/dist/autocomplete-Cn9Z2hLq.js +375 -0
- package/dist/autocomplete-Cn9Z2hLq.js.map +1 -0
- package/dist/calendar-B5lSd0ID.js +1747 -0
- package/dist/calendar-B5lSd0ID.js.map +1 -0
- package/dist/components/core/button.js +76 -0
- package/dist/components/core/button.js.map +1 -0
- package/dist/components/core/tag.js +67 -0
- package/dist/components/core/tag.js.map +1 -0
- package/dist/components/display/alert.js +94 -0
- package/dist/components/display/alert.js.map +1 -0
- package/dist/components/display/calendar.js +15 -0
- package/dist/components/display/calendar.js.map +1 -0
- package/dist/components/display/card.d.ts +2 -2
- package/dist/components/display/card.d.ts.map +1 -1
- package/dist/components/display/card.js +84 -0
- package/dist/components/display/card.js.map +1 -0
- package/dist/components/display/empty.d.ts +2 -2
- package/dist/components/display/empty.d.ts.map +1 -1
- package/dist/components/display/list.js +93 -0
- package/dist/components/display/list.js.map +1 -0
- package/dist/components/display/notifications.js +15 -0
- package/dist/components/display/notifications.js.map +1 -0
- package/dist/components/display/stats.js +16 -0
- package/dist/components/display/stats.js.map +1 -0
- package/dist/components/display/tabs.js +12 -0
- package/dist/components/display/tabs.js.map +1 -0
- package/dist/components/display/timeline.js +29 -0
- package/dist/components/display/timeline.js.map +1 -0
- package/dist/components/floating/command-palette.d.ts +3 -3
- package/dist/components/floating/command-palette.d.ts.map +1 -1
- package/dist/components/floating/dropdown.js +58 -0
- package/dist/components/floating/dropdown.js.map +1 -0
- package/dist/components/floating/expand.js +41 -0
- package/dist/components/floating/expand.js.map +1 -0
- package/dist/components/floating/menu.d.ts +2 -2
- package/dist/components/floating/menu.d.ts.map +1 -1
- package/dist/components/floating/menu.js +177 -0
- package/dist/components/floating/menu.js.map +1 -0
- package/dist/components/floating/modal.js +297 -0
- package/dist/components/floating/modal.js.map +1 -0
- package/dist/components/floating/tooltip.js +73 -0
- package/dist/components/floating/tooltip.js.map +1 -0
- package/dist/components/form/autocomplete.js +16 -0
- package/dist/components/form/autocomplete.js.map +1 -0
- package/dist/components/form/checkbox.js +44 -0
- package/dist/components/form/checkbox.js.map +1 -0
- package/dist/components/form/date-picker.js +12 -0
- package/dist/components/form/date-picker.js.map +1 -0
- package/dist/components/form/file-upload.d.ts.map +1 -1
- package/dist/components/form/file-upload.js +11 -0
- package/dist/components/form/file-upload.js.map +1 -0
- package/dist/components/form/form.js +8 -0
- package/dist/components/form/form.js.map +1 -0
- package/dist/components/form/input-field.d.ts.map +1 -1
- package/dist/components/form/input.js +5 -0
- package/dist/components/form/input.js.map +1 -0
- package/dist/components/form/radiobox.js +30 -0
- package/dist/components/form/radiobox.js.map +1 -0
- package/dist/components/form/select.js +106 -0
- package/dist/components/form/select.js.map +1 -0
- package/dist/components/form/switch.js +65 -0
- package/dist/components/form/switch.js.map +1 -0
- package/dist/components/form/task-list.js +68 -0
- package/dist/components/form/task-list.js.map +1 -0
- package/dist/components/form/transfer-list.js +55 -0
- package/dist/components/form/transfer-list.js.map +1 -0
- package/dist/components/page-calendar/calendar-header.d.ts.map +1 -1
- package/dist/components/table/table.js +10 -0
- package/dist/components/table/table.js.map +1 -0
- package/dist/config/context.d.ts +2 -0
- package/dist/config/context.d.ts.map +1 -1
- package/dist/constants-r-AHn273.js +6 -0
- package/dist/constants-r-AHn273.js.map +1 -0
- package/dist/context-BFXNJVn2.js +161 -0
- package/dist/context-BFXNJVn2.js.map +1 -0
- package/dist/date-picker-DwNo22lx.js +1626 -0
- package/dist/date-picker-DwNo22lx.js.map +1 -0
- package/dist/dom-Dl8XH0CK.js +2833 -0
- package/dist/dom-Dl8XH0CK.js.map +1 -0
- package/dist/file-upload-Brf2NkLr.js +3245 -0
- package/dist/file-upload-Brf2NkLr.js.map +1 -0
- package/dist/floating-ui.react-QNHG9W4N.js +3706 -0
- package/dist/floating-ui.react-QNHG9W4N.js.map +1 -0
- package/dist/fns-D2eyJKd5.js +33 -0
- package/dist/fns-D2eyJKd5.js.map +1 -0
- package/dist/hooks/use-components-provider.d.ts.map +1 -1
- package/dist/index-0YMC-_Lt.js +20 -0
- package/dist/index-0YMC-_Lt.js.map +1 -0
- package/dist/index-BelDtX5M.js +1821 -0
- package/dist/index-BelDtX5M.js.map +1 -0
- package/dist/index-C-PuFUZi.js +3416 -0
- package/dist/index-C-PuFUZi.js.map +1 -0
- package/dist/index-DJSMaZR4.js +35 -0
- package/dist/index-DJSMaZR4.js.map +1 -0
- package/dist/index-Z-fZHxfJ.js +335 -0
- package/dist/index-Z-fZHxfJ.js.map +1 -0
- package/dist/index-t1qLJTt5.js +351 -0
- package/dist/index-t1qLJTt5.js.map +1 -0
- package/dist/index.esm-BaIwleSE.js +343 -0
- package/dist/index.esm-BaIwleSE.js.map +1 -0
- package/dist/index.js +8125 -27
- package/dist/index.js.map +1 -1
- package/dist/input-CrGrSnUt.js +441 -0
- package/dist/input-CrGrSnUt.js.map +1 -0
- package/dist/input-field-5vYcz5tT.js +166 -0
- package/dist/input-field-5vYcz5tT.js.map +1 -0
- package/dist/notifications-cUdVPs-B.js +2786 -0
- package/dist/notifications-cUdVPs-B.js.map +1 -0
- package/dist/polymorph-B5n9fs_K.js +10 -0
- package/dist/polymorph-B5n9fs_K.js.map +1 -0
- package/dist/proxy-BZcQiBrp.js +2495 -0
- package/dist/proxy-BZcQiBrp.js.map +1 -0
- package/dist/skeleton-D75GFBV6.js +10 -0
- package/dist/skeleton-D75GFBV6.js.map +1 -0
- package/dist/slot-CRyweuj0.js +79 -0
- package/dist/slot-CRyweuj0.js.map +1 -0
- package/dist/styles/common.js +29 -0
- package/dist/styles/dark.js +214 -0
- package/dist/styles/design-tokens.js +98 -0
- package/dist/styles/light.js +214 -0
- package/dist/styles/theme.js +4 -0
- package/dist/styles/theme.types.js +1 -0
- package/dist/tabs-S00a8qq8.js +106 -0
- package/dist/tabs-S00a8qq8.js.map +1 -0
- package/dist/use-motion-value-eGwNuWuw.js +14 -0
- package/dist/use-motion-value-eGwNuWuw.js.map +1 -0
- package/dist/use-stable-ref-CYh-YkID.js +11 -0
- package/dist/use-stable-ref-CYh-YkID.js.map +1 -0
- package/dist/use-translations-BwLKTrZv.js +10 -0
- package/dist/use-translations-BwLKTrZv.js.map +1 -0
- package/package.json +4 -5
- package/dist/index.mjs +0 -37108
- package/dist/index.mjs.map +0 -1
- package/dist/index.umd.js +0 -28
- package/dist/index.umd.js.map +0 -1
|
@@ -0,0 +1,3245 @@
|
|
|
1
|
+
import { jsxs as oe, jsx as Z } from "react/jsx-runtime";
|
|
2
|
+
import { o as rt } from "./File.es-CA-vuPED.js";
|
|
3
|
+
import * as n from "react";
|
|
4
|
+
import pt, { useMemo as ge, useRef as be, useReducer as lt, useEffect as Ee, useCallback as K, forwardRef as ct, useImperativeHandle as st, Fragment as Fa, createContext as dt, useState as Ke, useContext as mt } from "react";
|
|
5
|
+
import { p as fe } from "./IconBase.es-DJ1oCtpo.js";
|
|
6
|
+
import { e as ut } from "./X.es-BJ1O93El.js";
|
|
7
|
+
import { u as _a } from "./use-translations-BwLKTrZv.js";
|
|
8
|
+
import { Modal as ft } from "./components/floating/modal.js";
|
|
9
|
+
var Ui = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
10
|
+
function Pa(e) {
|
|
11
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
12
|
+
}
|
|
13
|
+
function Gi(e) {
|
|
14
|
+
if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e;
|
|
15
|
+
var a = e.default;
|
|
16
|
+
if (typeof a == "function") {
|
|
17
|
+
var t = function i() {
|
|
18
|
+
var o = !1;
|
|
19
|
+
try {
|
|
20
|
+
o = this instanceof i;
|
|
21
|
+
} catch {
|
|
22
|
+
}
|
|
23
|
+
return o ? Reflect.construct(a, arguments, this.constructor) : a.apply(this, arguments);
|
|
24
|
+
};
|
|
25
|
+
t.prototype = a.prototype;
|
|
26
|
+
} else t = {};
|
|
27
|
+
return Object.defineProperty(t, "__esModule", { value: !0 }), Object.keys(e).forEach(function(i) {
|
|
28
|
+
var o = Object.getOwnPropertyDescriptor(e, i);
|
|
29
|
+
Object.defineProperty(t, i, o.get ? o : {
|
|
30
|
+
enumerable: !0,
|
|
31
|
+
get: function() {
|
|
32
|
+
return e[i];
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
}), t;
|
|
36
|
+
}
|
|
37
|
+
const vt = /* @__PURE__ */ new Map([
|
|
38
|
+
[
|
|
39
|
+
"bold",
|
|
40
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M180.49,143.51a12,12,0,0,1,0,17l-24,24a12,12,0,0,1-17-17L155,152l-15.52-15.51a12,12,0,1,1,17-17Zm-64-24a12,12,0,0,0-17,0l-24,24a12,12,0,0,0,0,17l24,24a12,12,0,0,0,17-17L101,152l15.52-15.51A12,12,0,0,0,116.49,119.51ZM220,88V216a20,20,0,0,1-20,20H56a20,20,0,0,1-20-20V40A20,20,0,0,1,56,20h96a12,12,0,0,1,8.49,3.52l56,56A12,12,0,0,1,220,88ZM160,57V80h23Zm36,155V104H148a12,12,0,0,1-12-12V44H60V212Z" }))
|
|
41
|
+
],
|
|
42
|
+
[
|
|
43
|
+
"duotone",
|
|
44
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M208,88H152V32Z", opacity: "0.2" }), /* @__PURE__ */ n.createElement("path", { d: "M181.66,146.34a8,8,0,0,1,0,11.32l-24,24a8,8,0,0,1-11.32-11.32L164.69,152l-18.35-18.34a8,8,0,0,1,11.32-11.32Zm-72-24a8,8,0,0,0-11.32,0l-24,24a8,8,0,0,0,0,11.32l24,24a8,8,0,0,0,11.32-11.32L91.31,152l18.35-18.34A8,8,0,0,0,109.66,122.34ZM216,88V216a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88Zm-56-8h28.69L160,51.31Zm40,136V96H152a8,8,0,0,1-8-8V40H56V216H200Z" }))
|
|
45
|
+
],
|
|
46
|
+
[
|
|
47
|
+
"fill",
|
|
48
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34Zm-104,88a8,8,0,0,1-11.32,11.32l-24-24a8,8,0,0,1,0-11.32l24-24a8,8,0,0,1,11.32,11.32L91.31,152Zm72-12.68-24,24a8,8,0,0,1-11.32-11.32L164.69,152l-18.35-18.34a8,8,0,0,1,11.32-11.32l24,24A8,8,0,0,1,181.66,157.66ZM152,88V44l44,44Z" }))
|
|
49
|
+
],
|
|
50
|
+
[
|
|
51
|
+
"light",
|
|
52
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M180.24,147.76a6,6,0,0,1,0,8.48l-24,24a6,6,0,0,1-8.48-8.48L167.51,152l-19.75-19.76a6,6,0,1,1,8.48-8.48Zm-72-24a6,6,0,0,0-8.48,0l-24,24a6,6,0,0,0,0,8.48l24,24a6,6,0,1,0,8.48-8.48L88.49,152l19.75-19.76A6,6,0,0,0,108.24,123.76ZM214,88V216a14,14,0,0,1-14,14H56a14,14,0,0,1-14-14V40A14,14,0,0,1,56,26h96a6,6,0,0,1,4.25,1.76l56,56A6,6,0,0,1,214,88Zm-56-6h35.52L158,46.48Zm44,134V94H152a6,6,0,0,1-6-6V38H56a2,2,0,0,0-2,2V216a2,2,0,0,0,2,2H200A2,2,0,0,0,202,216Z" }))
|
|
53
|
+
],
|
|
54
|
+
[
|
|
55
|
+
"regular",
|
|
56
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M181.66,146.34a8,8,0,0,1,0,11.32l-24,24a8,8,0,0,1-11.32-11.32L164.69,152l-18.35-18.34a8,8,0,0,1,11.32-11.32Zm-72-24a8,8,0,0,0-11.32,0l-24,24a8,8,0,0,0,0,11.32l24,24a8,8,0,0,0,11.32-11.32L91.31,152l18.35-18.34A8,8,0,0,0,109.66,122.34ZM216,88V216a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88Zm-56-8h28.69L160,51.31Zm40,136V96H152a8,8,0,0,1-8-8V40H56V216H200Z" }))
|
|
57
|
+
],
|
|
58
|
+
[
|
|
59
|
+
"thin",
|
|
60
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M178.83,149.17a4,4,0,0,1,0,5.66l-24,24a4,4,0,0,1-5.66-5.66L170.34,152l-21.17-21.17a4,4,0,1,1,5.66-5.66Zm-72-24a4,4,0,0,0-5.66,0l-24,24a4,4,0,0,0,0,5.66l24,24a4,4,0,1,0,5.66-5.66L85.66,152l21.17-21.17A4,4,0,0,0,106.83,125.17ZM212,88V216a12,12,0,0,1-12,12H56a12,12,0,0,1-12-12V40A12,12,0,0,1,56,28h96a4,4,0,0,1,2.83,1.17l56,56A4,4,0,0,1,212,88Zm-56-4h42.34L156,41.65Zm48,132V92H152a4,4,0,0,1-4-4V36H56a4,4,0,0,0-4,4V216a4,4,0,0,0,4,4H200A4,4,0,0,0,204,216Z" }))
|
|
61
|
+
]
|
|
62
|
+
]), xt = /* @__PURE__ */ new Map([
|
|
63
|
+
[
|
|
64
|
+
"bold",
|
|
65
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M216.49,79.52l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40V216a20,20,0,0,0,20,20H200a20,20,0,0,0,20-20V88A12,12,0,0,0,216.49,79.52ZM160,57l23,23H160ZM60,212V44h76V92a12,12,0,0,0,12,12h48V212Zm112-80a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,132Zm0,40a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,172Z" }))
|
|
66
|
+
],
|
|
67
|
+
[
|
|
68
|
+
"duotone",
|
|
69
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M208,88H152V32Z", opacity: "0.2" }), /* @__PURE__ */ n.createElement("path", { d: "M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Zm-32-80a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,136Zm0,32a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,168Z" }))
|
|
70
|
+
],
|
|
71
|
+
[
|
|
72
|
+
"fill",
|
|
73
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,176H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm0-32H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm-8-56V44l44,44Z" }))
|
|
74
|
+
],
|
|
75
|
+
[
|
|
76
|
+
"light",
|
|
77
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40V216a14,14,0,0,0,14,14H200a14,14,0,0,0,14-14V88A6,6,0,0,0,212.24,83.76ZM158,46.48,193.52,82H158ZM200,218H56a2,2,0,0,1-2-2V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50V216A2,2,0,0,1,200,218Zm-34-82a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,136Zm0,32a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,168Z" }))
|
|
78
|
+
],
|
|
79
|
+
[
|
|
80
|
+
"regular",
|
|
81
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Zm-32-80a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,136Zm0,32a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,168Z" }))
|
|
82
|
+
],
|
|
83
|
+
[
|
|
84
|
+
"thin",
|
|
85
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M210.83,85.17l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40V216a12,12,0,0,0,12,12H200a12,12,0,0,0,12-12V88A4,4,0,0,0,210.83,85.17ZM156,41.65,198.34,84H156ZM200,220H56a4,4,0,0,1-4-4V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52V216A4,4,0,0,1,200,220Zm-36-84a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,136Zm0,32a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,168Z" }))
|
|
86
|
+
]
|
|
87
|
+
]), gt = /* @__PURE__ */ new Map([
|
|
88
|
+
[
|
|
89
|
+
"bold",
|
|
90
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M216.49,79.51l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40v68a12,12,0,0,0,24,0V44h76V92a12,12,0,0,0,12,12h48V212a12,12,0,0,0,0,24h4a20,20,0,0,0,20-20V88A12,12,0,0,0,216.49,79.51ZM160,57l23,23H160Zm-1.91,84.69a12,12,0,0,0-11.92-.15L126.5,152.44A20,20,0,0,0,108,140H48a20,20,0,0,0-20,20v48a20,20,0,0,0,20,20h60a20,20,0,0,0,18.5-12.44l19.67,10.93A12,12,0,0,0,164,216V152A12,12,0,0,0,158.09,141.66ZM104,204H52V164h52Zm36-8.39-12-6.67v-9.88l12-6.67Z" }))
|
|
91
|
+
],
|
|
92
|
+
[
|
|
93
|
+
"duotone",
|
|
94
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement(
|
|
95
|
+
"path",
|
|
96
|
+
{
|
|
97
|
+
d: "M208,88H152V32Zm-88,72a8,8,0,0,0-8-8H48a8,8,0,0,0-8,8v48a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V196l32,20V152l-32,20Z",
|
|
98
|
+
opacity: "0.2"
|
|
99
|
+
}
|
|
100
|
+
), /* @__PURE__ */ n.createElement("path", { d: "M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72a8,8,0,0,0,16,0V40h88V88a8,8,0,0,0,8,8h48V216h-8a8,8,0,0,0,0,16h8a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM155.88,145a8,8,0,0,0-8.12.22l-19.95,12.46A16,16,0,0,0,112,144H48a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h64a16,16,0,0,0,15.81-13.68l19.95,12.46A8,8,0,0,0,160,216V152A8,8,0,0,0,155.88,145ZM112,208H48V160h64v48Zm32-6.43-16-10V176.43l16-10Z" }))
|
|
101
|
+
],
|
|
102
|
+
[
|
|
103
|
+
"fill",
|
|
104
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72a8,8,0,0,0,16,0V40h88V88a8,8,0,0,0,8,8h48V216h-8a8,8,0,0,0,0,16h8a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM155.88,145a8,8,0,0,0-8.12.22l-19.95,12.46A16,16,0,0,0,112,144H48a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h64a16,16,0,0,0,15.81-13.68l19.95,12.46A8,8,0,0,0,160,216V152A8,8,0,0,0,155.88,145ZM144,201.57l-16-10V176.43l16-10Z" }))
|
|
105
|
+
],
|
|
106
|
+
[
|
|
107
|
+
"light",
|
|
108
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40v72a6,6,0,0,0,12,0V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50V216a2,2,0,0,1-2,2h-8a6,6,0,0,0,0,12h8a14,14,0,0,0,14-14V88A6,6,0,0,0,212.24,83.76ZM158,46.48,193.52,82H158Zm-3.09,100.27a6,6,0,0,0-6.09.16L126,161.17V160a14,14,0,0,0-14-14H48a14,14,0,0,0-14,14v48a14,14,0,0,0,14,14h64a14,14,0,0,0,14-14v-1.17l22.82,14.26A6,6,0,0,0,158,216V152A6,6,0,0,0,154.91,146.75ZM114,208a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V160a2,2,0,0,1,2-2h64a2,2,0,0,1,2,2Zm32-2.83-20-12.5V175.33l20-12.5Z" }))
|
|
109
|
+
],
|
|
110
|
+
[
|
|
111
|
+
"regular",
|
|
112
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72a8,8,0,0,0,16,0V40h88V88a8,8,0,0,0,8,8h48V216h-8a8,8,0,0,0,0,16h8a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM155.88,145a8,8,0,0,0-8.12.22l-19.95,12.46A16,16,0,0,0,112,144H48a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h64a16,16,0,0,0,15.81-13.68l19.95,12.46A8,8,0,0,0,160,216V152A8,8,0,0,0,155.88,145ZM112,208H48V160h64v48Zm32-6.43-16-10V176.43l16-10Z" }))
|
|
113
|
+
],
|
|
114
|
+
[
|
|
115
|
+
"thin",
|
|
116
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M210.83,85.17l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40v72a4,4,0,0,0,8,0V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52V216a4,4,0,0,1-4,4h-8a4,4,0,0,0,0,8h8a12,12,0,0,0,12-12V88A4,4,0,0,0,210.83,85.17ZM156,41.65,198.34,84H156ZM153.94,148.5a4,4,0,0,0-4.06.11L124,164.78V160a12,12,0,0,0-12-12H48a12,12,0,0,0-12,12v48a12,12,0,0,0,12,12h64a12,12,0,0,0,12-12v-4.78l25.88,16.17A4,4,0,0,0,152,220a4.06,4.06,0,0,0,1.94-.5A4,4,0,0,0,156,216V152A4,4,0,0,0,153.94,148.5ZM116,208a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V160a4,4,0,0,1,4-4h64a4,4,0,0,1,4,4Zm32,.78-24-15V174.22l24-15Z" }))
|
|
117
|
+
]
|
|
118
|
+
]), ht = /* @__PURE__ */ new Map([
|
|
119
|
+
[
|
|
120
|
+
"bold",
|
|
121
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M216,68H133.39l-26-29.29a20,20,0,0,0-15-6.71H40A20,20,0,0,0,20,52V200.62A19.41,19.41,0,0,0,39.38,220H216.89A19.13,19.13,0,0,0,236,200.89V88A20,20,0,0,0,216,68ZM44,56H90.61l10.67,12H44ZM212,196H44V92H212Z" }))
|
|
122
|
+
],
|
|
123
|
+
[
|
|
124
|
+
"duotone",
|
|
125
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement(
|
|
126
|
+
"path",
|
|
127
|
+
{
|
|
128
|
+
d: "M128,80H32V56a8,8,0,0,1,8-8H92.69a8,8,0,0,1,5.65,2.34Z",
|
|
129
|
+
opacity: "0.2"
|
|
130
|
+
}
|
|
131
|
+
), /* @__PURE__ */ n.createElement("path", { d: "M216,72H131.31L104,44.69A15.86,15.86,0,0,0,92.69,40H40A16,16,0,0,0,24,56V200.62A15.4,15.4,0,0,0,39.38,216H216.89A15.13,15.13,0,0,0,232,200.89V88A16,16,0,0,0,216,72ZM92.69,56l16,16H40V56ZM216,200H40V88H216Z" }))
|
|
132
|
+
],
|
|
133
|
+
[
|
|
134
|
+
"fill",
|
|
135
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M216,72H131.31L104,44.69A15.88,15.88,0,0,0,92.69,40H40A16,16,0,0,0,24,56V200.62A15.41,15.41,0,0,0,39.39,216h177.5A15.13,15.13,0,0,0,232,200.89V88A16,16,0,0,0,216,72ZM40,56H92.69l16,16H40Z" }))
|
|
136
|
+
],
|
|
137
|
+
[
|
|
138
|
+
"light",
|
|
139
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M216,74H130.49l-27.9-27.9a13.94,13.94,0,0,0-9.9-4.1H40A14,14,0,0,0,26,56V200.62A13.39,13.39,0,0,0,39.38,214H216.89A13.12,13.12,0,0,0,230,200.89V88A14,14,0,0,0,216,74ZM40,54H92.69a2,2,0,0,1,1.41.59L113.51,74H38V56A2,2,0,0,1,40,54ZM218,200.89a1.11,1.11,0,0,1-1.11,1.11H39.38A1.4,1.4,0,0,1,38,200.62V86H216a2,2,0,0,1,2,2Z" }))
|
|
140
|
+
],
|
|
141
|
+
[
|
|
142
|
+
"regular",
|
|
143
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M216,72H131.31L104,44.69A15.86,15.86,0,0,0,92.69,40H40A16,16,0,0,0,24,56V200.62A15.4,15.4,0,0,0,39.38,216H216.89A15.13,15.13,0,0,0,232,200.89V88A16,16,0,0,0,216,72ZM40,56H92.69l16,16H40ZM216,200H40V88H216Z" }))
|
|
144
|
+
],
|
|
145
|
+
[
|
|
146
|
+
"thin",
|
|
147
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M216,76H129.66L101.17,47.52A11.9,11.9,0,0,0,92.69,44H40A12,12,0,0,0,28,56V200.62A11.4,11.4,0,0,0,39.38,212H216.89A11.12,11.12,0,0,0,228,200.89V88A12,12,0,0,0,216,76ZM36,56a4,4,0,0,1,4-4H92.69a4,4,0,0,1,2.82,1.17L118.34,76H36ZM220,200.89a3.12,3.12,0,0,1-3.11,3.11H39.38A3.39,3.39,0,0,1,36,200.62V84H216a4,4,0,0,1,4,4Z" }))
|
|
148
|
+
]
|
|
149
|
+
]), yt = /* @__PURE__ */ new Map([
|
|
150
|
+
[
|
|
151
|
+
"bold",
|
|
152
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M248.23,112.31A20,20,0,0,0,232,104H220V88a20,20,0,0,0-20-20H132L105.34,48a20.12,20.12,0,0,0-12-4H40A20,20,0,0,0,20,64V208a12,12,0,0,0,12,12H211.1a12,12,0,0,0,11.33-8l28.49-81.47.06-.17A20,20,0,0,0,248.23,112.31ZM92,68l28.8,21.6A12,12,0,0,0,128,92h68v12H69.77a20,20,0,0,0-18.94,13.58L44,137.15V68ZM202.59,196H48.89l23.72-68H226.37Z" }))
|
|
153
|
+
],
|
|
154
|
+
[
|
|
155
|
+
"duotone",
|
|
156
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement(
|
|
157
|
+
"path",
|
|
158
|
+
{
|
|
159
|
+
d: "M208,88v24H69.77a8,8,0,0,0-7.59,5.47L32,208V64a8,8,0,0,1,8-8H93.33a8,8,0,0,1,4.8,1.6L128,80h72A8,8,0,0,1,208,88Z",
|
|
160
|
+
opacity: "0.2"
|
|
161
|
+
}
|
|
162
|
+
), /* @__PURE__ */ n.createElement("path", { d: "M245,110.64A16,16,0,0,0,232,104H216V88a16,16,0,0,0-16-16H130.67L102.94,51.2a16.14,16.14,0,0,0-9.6-3.2H40A16,16,0,0,0,24,64V208a8,8,0,0,0,8,8H211.1a8,8,0,0,0,7.59-5.47l28.49-85.47A16.05,16.05,0,0,0,245,110.64ZM93.34,64,123.2,86.4A8,8,0,0,0,128,88h72v16H69.77a16,16,0,0,0-15.18,10.94L40,158.7V64Zm112,136H43.1l26.67-80H232Z" }))
|
|
163
|
+
],
|
|
164
|
+
[
|
|
165
|
+
"fill",
|
|
166
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M245,110.64A16,16,0,0,0,232,104H216V88a16,16,0,0,0-16-16H130.67L102.94,51.2a16.14,16.14,0,0,0-9.6-3.2H40A16,16,0,0,0,24,64V208h0a8,8,0,0,0,8,8H211.1a8,8,0,0,0,7.59-5.47l28.49-85.47A16.05,16.05,0,0,0,245,110.64ZM93.34,64,123.2,86.4A8,8,0,0,0,128,88h72v16H69.77a16,16,0,0,0-15.18,10.94L40,158.7V64Z" }))
|
|
167
|
+
],
|
|
168
|
+
[
|
|
169
|
+
"light",
|
|
170
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M243.36,111.81A14,14,0,0,0,232,106H214V88a14,14,0,0,0-14-14H130L101.74,52.8a14.06,14.06,0,0,0-8.4-2.8H40A14,14,0,0,0,26,64V208a6,6,0,0,0,6,6H211.1a6,6,0,0,0,5.69-4.1l28.49-85.47A14,14,0,0,0,243.36,111.81ZM40,62H93.34a2,2,0,0,1,1.2.4L124.4,84.8A6,6,0,0,0,128,86h72a2,2,0,0,1,2,2v18H69.77a14,14,0,0,0-13.28,9.57L38,171V64A2,2,0,0,1,40,62Zm193.9,58.63L206.78,202H40.33l27.54-82.63a2,2,0,0,1,1.9-1.37H232a2,2,0,0,1,1.9,2.63Z" }))
|
|
171
|
+
],
|
|
172
|
+
[
|
|
173
|
+
"regular",
|
|
174
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M245,110.64A16,16,0,0,0,232,104H216V88a16,16,0,0,0-16-16H130.67L102.94,51.2a16.14,16.14,0,0,0-9.6-3.2H40A16,16,0,0,0,24,64V208h0a8,8,0,0,0,8,8H211.1a8,8,0,0,0,7.59-5.47l28.49-85.47A16.05,16.05,0,0,0,245,110.64ZM93.34,64,123.2,86.4A8,8,0,0,0,128,88h72v16H69.77a16,16,0,0,0-15.18,10.94L40,158.7V64Zm112,136H43.1l26.67-80H232Z" }))
|
|
175
|
+
],
|
|
176
|
+
[
|
|
177
|
+
"thin",
|
|
178
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M241.72,113a11.88,11.88,0,0,0-9.73-5H212V88a12,12,0,0,0-12-12H129.33l-28.8-21.6a12.05,12.05,0,0,0-7.2-2.4H40A12,12,0,0,0,28,64V208a4,4,0,0,0,4,4H211.09a4,4,0,0,0,3.79-2.74l28.49-85.47A11.86,11.86,0,0,0,241.72,113ZM40,60H93.33a4,4,0,0,1,2.4.8L125.6,83.2a4,4,0,0,0,2.4.8h72a4,4,0,0,1,4,4v20H69.76a12,12,0,0,0-11.38,8.21L36,183.35V64A4,4,0,0,1,40,60Zm195.78,61.26L208.2,204H37.55L66,118.74A4,4,0,0,1,69.76,116H232a4,4,0,0,1,3.79,5.26Z" }))
|
|
179
|
+
]
|
|
180
|
+
]), bt = /* @__PURE__ */ new Map([
|
|
181
|
+
[
|
|
182
|
+
"bold",
|
|
183
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M224,44H32A12,12,0,0,0,20,56V192a20,20,0,0,0,20,20H216a20,20,0,0,0,20-20V56A12,12,0,0,0,224,44ZM44,116H76v24H44Zm56,0H212v24H100ZM212,68V92H44V68ZM44,164H76v24H44Zm56,24V164H212v24Z" }))
|
|
184
|
+
],
|
|
185
|
+
[
|
|
186
|
+
"duotone",
|
|
187
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M88,104v96H32V104Z", opacity: "0.2" }), /* @__PURE__ */ n.createElement("path", { d: "M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48ZM40,112H80v32H40Zm56,0H216v32H96ZM216,64V96H40V64ZM40,160H80v32H40Zm176,32H96V160H216v32Z" }))
|
|
188
|
+
],
|
|
189
|
+
[
|
|
190
|
+
"fill",
|
|
191
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48ZM40,112H80v32H40Zm56,0H216v32H96ZM40,160H80v32H40Zm176,32H96V160H216v32Z" }))
|
|
192
|
+
],
|
|
193
|
+
[
|
|
194
|
+
"light",
|
|
195
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M224,50H32a6,6,0,0,0-6,6V192a14,14,0,0,0,14,14H216a14,14,0,0,0,14-14V56A6,6,0,0,0,224,50ZM38,110H82v36H38Zm56,0H218v36H94ZM218,62V98H38V62ZM38,192V158H82v36H40A2,2,0,0,1,38,192Zm178,2H94V158H218v34A2,2,0,0,1,216,194Z" }))
|
|
196
|
+
],
|
|
197
|
+
[
|
|
198
|
+
"regular",
|
|
199
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48ZM40,112H80v32H40Zm56,0H216v32H96ZM216,64V96H40V64ZM40,160H80v32H40Zm176,32H96V160H216v32Z" }))
|
|
200
|
+
],
|
|
201
|
+
[
|
|
202
|
+
"thin",
|
|
203
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M224,52H32a4,4,0,0,0-4,4V192a12,12,0,0,0,12,12H216a12,12,0,0,0,12-12V56A4,4,0,0,0,224,52ZM36,108H84v40H36Zm56,0H220v40H92ZM220,60v40H36V60ZM36,192V156H84v40H40A4,4,0,0,1,36,192Zm180,4H92V156H220v36A4,4,0,0,1,216,196Z" }))
|
|
204
|
+
]
|
|
205
|
+
]), wt = /* @__PURE__ */ new Map([
|
|
206
|
+
[
|
|
207
|
+
"bold",
|
|
208
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M60,96v64a12,12,0,0,1-24,0V96a12,12,0,0,1,24,0ZM88,20A12,12,0,0,0,76,32V224a12,12,0,0,0,24,0V32A12,12,0,0,0,88,20Zm40,32a12,12,0,0,0-12,12V192a12,12,0,0,0,24,0V64A12,12,0,0,0,128,52Zm40,32a12,12,0,0,0-12,12v64a12,12,0,0,0,24,0V96A12,12,0,0,0,168,84Zm40-16a12,12,0,0,0-12,12v96a12,12,0,0,0,24,0V80A12,12,0,0,0,208,68Z" }))
|
|
209
|
+
],
|
|
210
|
+
[
|
|
211
|
+
"duotone",
|
|
212
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M208,96v64H48V96Z", opacity: "0.2" }), /* @__PURE__ */ n.createElement("path", { d: "M56,96v64a8,8,0,0,1-16,0V96a8,8,0,0,1,16,0ZM88,24a8,8,0,0,0-8,8V224a8,8,0,0,0,16,0V32A8,8,0,0,0,88,24Zm40,32a8,8,0,0,0-8,8V192a8,8,0,0,0,16,0V64A8,8,0,0,0,128,56Zm40,32a8,8,0,0,0-8,8v64a8,8,0,0,0,16,0V96A8,8,0,0,0,168,88Zm40-16a8,8,0,0,0-8,8v96a8,8,0,0,0,16,0V80A8,8,0,0,0,208,72Z" }))
|
|
213
|
+
],
|
|
214
|
+
[
|
|
215
|
+
"fill",
|
|
216
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM72,152a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm32,32a8,8,0,0,1-16,0V72a8,8,0,0,1,16,0Zm32-16a8,8,0,0,1-16,0V88a8,8,0,0,1,16,0Zm32-16a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm32,8a8,8,0,0,1-16,0V96a8,8,0,0,1,16,0Z" }))
|
|
217
|
+
],
|
|
218
|
+
[
|
|
219
|
+
"light",
|
|
220
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M54,96v64a6,6,0,0,1-12,0V96a6,6,0,0,1,12,0ZM88,26a6,6,0,0,0-6,6V224a6,6,0,0,0,12,0V32A6,6,0,0,0,88,26Zm40,32a6,6,0,0,0-6,6V192a6,6,0,0,0,12,0V64A6,6,0,0,0,128,58Zm40,32a6,6,0,0,0-6,6v64a6,6,0,0,0,12,0V96A6,6,0,0,0,168,90Zm40-16a6,6,0,0,0-6,6v96a6,6,0,0,0,12,0V80A6,6,0,0,0,208,74Z" }))
|
|
221
|
+
],
|
|
222
|
+
[
|
|
223
|
+
"regular",
|
|
224
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M56,96v64a8,8,0,0,1-16,0V96a8,8,0,0,1,16,0ZM88,24a8,8,0,0,0-8,8V224a8,8,0,0,0,16,0V32A8,8,0,0,0,88,24Zm40,32a8,8,0,0,0-8,8V192a8,8,0,0,0,16,0V64A8,8,0,0,0,128,56Zm40,32a8,8,0,0,0-8,8v64a8,8,0,0,0,16,0V96A8,8,0,0,0,168,88Zm40-16a8,8,0,0,0-8,8v96a8,8,0,0,0,16,0V80A8,8,0,0,0,208,72Z" }))
|
|
225
|
+
],
|
|
226
|
+
[
|
|
227
|
+
"thin",
|
|
228
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("path", { d: "M52,96v64a4,4,0,0,1-8,0V96a4,4,0,0,1,8,0ZM88,28a4,4,0,0,0-4,4V224a4,4,0,0,0,8,0V32A4,4,0,0,0,88,28Zm40,32a4,4,0,0,0-4,4V192a4,4,0,0,0,8,0V64A4,4,0,0,0,128,60Zm40,32a4,4,0,0,0-4,4v64a4,4,0,0,0,8,0V96A4,4,0,0,0,168,92Zm40-16a4,4,0,0,0-4,4v96a4,4,0,0,0,8,0V80A4,4,0,0,0,208,76Z" }))
|
|
229
|
+
]
|
|
230
|
+
]), Sa = n.forwardRef((e, a) => /* @__PURE__ */ n.createElement(fe, { ref: a, ...e, weights: vt }));
|
|
231
|
+
Sa.displayName = "FileCodeIcon";
|
|
232
|
+
const Je = n.forwardRef((e, a) => /* @__PURE__ */ n.createElement(fe, { ref: a, ...e, weights: xt }));
|
|
233
|
+
Je.displayName = "FileTextIcon";
|
|
234
|
+
const Xe = n.forwardRef((e, a) => /* @__PURE__ */ n.createElement(fe, { ref: a, ...e, weights: gt }));
|
|
235
|
+
Xe.displayName = "FileVideoIcon";
|
|
236
|
+
const za = n.forwardRef((e, a) => /* @__PURE__ */ n.createElement(fe, { ref: a, ...e, weights: ht }));
|
|
237
|
+
za.displayName = "FolderIcon";
|
|
238
|
+
const Ra = n.forwardRef((e, a) => /* @__PURE__ */ n.createElement(fe, { ref: a, ...e, weights: yt }));
|
|
239
|
+
Ra.displayName = "FolderOpenIcon";
|
|
240
|
+
const De = n.forwardRef((e, a) => /* @__PURE__ */ n.createElement(fe, { ref: a, ...e, weights: bt }));
|
|
241
|
+
De.displayName = "TableIcon";
|
|
242
|
+
const Ca = n.forwardRef((e, a) => /* @__PURE__ */ n.createElement(fe, { ref: a, ...e, weights: wt }));
|
|
243
|
+
Ca.displayName = "WaveformIcon";
|
|
244
|
+
const Et = [
|
|
245
|
+
"B",
|
|
246
|
+
"kB",
|
|
247
|
+
"MB",
|
|
248
|
+
"GB",
|
|
249
|
+
"TB",
|
|
250
|
+
"PB",
|
|
251
|
+
"EB",
|
|
252
|
+
"ZB",
|
|
253
|
+
"YB"
|
|
254
|
+
], At = [
|
|
255
|
+
"B",
|
|
256
|
+
"KiB",
|
|
257
|
+
"MiB",
|
|
258
|
+
"GiB",
|
|
259
|
+
"TiB",
|
|
260
|
+
"PiB",
|
|
261
|
+
"EiB",
|
|
262
|
+
"ZiB",
|
|
263
|
+
"YiB"
|
|
264
|
+
], kt = [
|
|
265
|
+
"b",
|
|
266
|
+
"kbit",
|
|
267
|
+
"Mbit",
|
|
268
|
+
"Gbit",
|
|
269
|
+
"Tbit",
|
|
270
|
+
"Pbit",
|
|
271
|
+
"Ebit",
|
|
272
|
+
"Zbit",
|
|
273
|
+
"Ybit"
|
|
274
|
+
], jt = [
|
|
275
|
+
"b",
|
|
276
|
+
"kibit",
|
|
277
|
+
"Mibit",
|
|
278
|
+
"Gibit",
|
|
279
|
+
"Tibit",
|
|
280
|
+
"Pibit",
|
|
281
|
+
"Eibit",
|
|
282
|
+
"Zibit",
|
|
283
|
+
"Yibit"
|
|
284
|
+
], la = (e, a, t) => {
|
|
285
|
+
let i = e;
|
|
286
|
+
return typeof a == "string" || Array.isArray(a) ? i = e.toLocaleString(a, t) : (a === !0 || t !== void 0) && (i = e.toLocaleString(void 0, t)), i;
|
|
287
|
+
}, Ia = (e) => {
|
|
288
|
+
if (typeof e == "number")
|
|
289
|
+
return Math.log10(e);
|
|
290
|
+
const a = e.toString(10);
|
|
291
|
+
return a.length + Math.log10(`0.${a.slice(0, 15)}`);
|
|
292
|
+
}, Ht = (e) => typeof e == "number" ? Math.log(e) : Ia(e) * Math.log(10), Vt = (e, a) => {
|
|
293
|
+
if (typeof e == "number")
|
|
294
|
+
return e / a;
|
|
295
|
+
const t = e / BigInt(a), i = e % BigInt(a);
|
|
296
|
+
return Number(t) + Number(i) / a;
|
|
297
|
+
}, ca = (e, a) => {
|
|
298
|
+
if (a === void 0)
|
|
299
|
+
return e;
|
|
300
|
+
if (typeof a != "number" || !Number.isSafeInteger(a) || a < 0)
|
|
301
|
+
throw new TypeError(`Expected fixedWidth to be a non-negative integer, got ${typeof a}: ${a}`);
|
|
302
|
+
return a === 0 ? e : e.length < a ? e.padStart(a, " ") : e;
|
|
303
|
+
}, Mt = (e) => {
|
|
304
|
+
const { minimumFractionDigits: a, maximumFractionDigits: t } = e;
|
|
305
|
+
if (!(a === void 0 && t === void 0))
|
|
306
|
+
return {
|
|
307
|
+
...a !== void 0 && { minimumFractionDigits: a },
|
|
308
|
+
...t !== void 0 && { maximumFractionDigits: t },
|
|
309
|
+
roundingMode: "trunc"
|
|
310
|
+
};
|
|
311
|
+
};
|
|
312
|
+
function Tt(e, a) {
|
|
313
|
+
if (typeof e != "bigint" && !Number.isFinite(e))
|
|
314
|
+
throw new TypeError(`Expected a finite number, got ${typeof e}: ${e}`);
|
|
315
|
+
a = {
|
|
316
|
+
bits: !1,
|
|
317
|
+
binary: !1,
|
|
318
|
+
space: !0,
|
|
319
|
+
nonBreakingSpace: !1,
|
|
320
|
+
...a
|
|
321
|
+
};
|
|
322
|
+
const t = a.bits ? a.binary ? jt : kt : a.binary ? At : Et, i = a.space ? a.nonBreakingSpace ? " " : " " : "", o = typeof e == "number" ? e === 0 : e === 0n;
|
|
323
|
+
if (a.signed && o) {
|
|
324
|
+
const x = ` 0${i}${t[0]}`;
|
|
325
|
+
return ca(x, a.fixedWidth);
|
|
326
|
+
}
|
|
327
|
+
const r = e < 0, l = r ? "-" : a.signed ? "+" : "";
|
|
328
|
+
r && (e = -e);
|
|
329
|
+
const c = Mt(a);
|
|
330
|
+
let f;
|
|
331
|
+
if (e < 1) {
|
|
332
|
+
const x = la(e, a.locale, c);
|
|
333
|
+
f = l + x + i + t[0];
|
|
334
|
+
} else {
|
|
335
|
+
const x = Math.min(Math.floor(a.binary ? Ht(e) / Math.log(1024) : Ia(e) / 3), t.length - 1);
|
|
336
|
+
if (e = Vt(e, (a.binary ? 1024 : 1e3) ** x), !c) {
|
|
337
|
+
const O = Math.max(3, Math.floor(e).toString().length);
|
|
338
|
+
e = e.toPrecision(O);
|
|
339
|
+
}
|
|
340
|
+
const g = la(Number(e), a.locale, c), b = t[x];
|
|
341
|
+
f = l + g + i + b;
|
|
342
|
+
}
|
|
343
|
+
return ca(f, a.fixedWidth);
|
|
344
|
+
}
|
|
345
|
+
var Ve = { exports: {} }, Me = { exports: {} }, T = {};
|
|
346
|
+
var sa;
|
|
347
|
+
function Dt() {
|
|
348
|
+
if (sa) return T;
|
|
349
|
+
sa = 1;
|
|
350
|
+
var e = typeof Symbol == "function" && Symbol.for, a = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, t = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, i = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, o = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, r = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, l = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, c = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, f = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, x = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, g = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, b = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, O = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, _ = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, C = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, M = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, R = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, U = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, re = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
|
|
351
|
+
function I(m) {
|
|
352
|
+
if (typeof m == "object" && m !== null) {
|
|
353
|
+
var X = m.$$typeof;
|
|
354
|
+
switch (X) {
|
|
355
|
+
case a:
|
|
356
|
+
switch (m = m.type, m) {
|
|
357
|
+
case f:
|
|
358
|
+
case x:
|
|
359
|
+
case i:
|
|
360
|
+
case r:
|
|
361
|
+
case o:
|
|
362
|
+
case b:
|
|
363
|
+
return m;
|
|
364
|
+
default:
|
|
365
|
+
switch (m = m && m.$$typeof, m) {
|
|
366
|
+
case c:
|
|
367
|
+
case g:
|
|
368
|
+
case C:
|
|
369
|
+
case _:
|
|
370
|
+
case l:
|
|
371
|
+
return m;
|
|
372
|
+
default:
|
|
373
|
+
return X;
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
case t:
|
|
377
|
+
return X;
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
function L(m) {
|
|
382
|
+
return I(m) === x;
|
|
383
|
+
}
|
|
384
|
+
return T.AsyncMode = f, T.ConcurrentMode = x, T.ContextConsumer = c, T.ContextProvider = l, T.Element = a, T.ForwardRef = g, T.Fragment = i, T.Lazy = C, T.Memo = _, T.Portal = t, T.Profiler = r, T.StrictMode = o, T.Suspense = b, T.isAsyncMode = function(m) {
|
|
385
|
+
return L(m) || I(m) === f;
|
|
386
|
+
}, T.isConcurrentMode = L, T.isContextConsumer = function(m) {
|
|
387
|
+
return I(m) === c;
|
|
388
|
+
}, T.isContextProvider = function(m) {
|
|
389
|
+
return I(m) === l;
|
|
390
|
+
}, T.isElement = function(m) {
|
|
391
|
+
return typeof m == "object" && m !== null && m.$$typeof === a;
|
|
392
|
+
}, T.isForwardRef = function(m) {
|
|
393
|
+
return I(m) === g;
|
|
394
|
+
}, T.isFragment = function(m) {
|
|
395
|
+
return I(m) === i;
|
|
396
|
+
}, T.isLazy = function(m) {
|
|
397
|
+
return I(m) === C;
|
|
398
|
+
}, T.isMemo = function(m) {
|
|
399
|
+
return I(m) === _;
|
|
400
|
+
}, T.isPortal = function(m) {
|
|
401
|
+
return I(m) === t;
|
|
402
|
+
}, T.isProfiler = function(m) {
|
|
403
|
+
return I(m) === r;
|
|
404
|
+
}, T.isStrictMode = function(m) {
|
|
405
|
+
return I(m) === o;
|
|
406
|
+
}, T.isSuspense = function(m) {
|
|
407
|
+
return I(m) === b;
|
|
408
|
+
}, T.isValidElementType = function(m) {
|
|
409
|
+
return typeof m == "string" || typeof m == "function" || m === i || m === x || m === r || m === o || m === b || m === O || typeof m == "object" && m !== null && (m.$$typeof === C || m.$$typeof === _ || m.$$typeof === l || m.$$typeof === c || m.$$typeof === g || m.$$typeof === R || m.$$typeof === U || m.$$typeof === re || m.$$typeof === M);
|
|
410
|
+
}, T.typeOf = I, T;
|
|
411
|
+
}
|
|
412
|
+
var D = {};
|
|
413
|
+
var da;
|
|
414
|
+
function Zt() {
|
|
415
|
+
return da || (da = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
416
|
+
var e = typeof Symbol == "function" && Symbol.for, a = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, t = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, i = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, o = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, r = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, l = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, c = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, f = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, x = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, g = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, b = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, O = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, _ = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, C = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, M = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, R = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, U = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, re = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
|
|
417
|
+
function I(s) {
|
|
418
|
+
return typeof s == "string" || typeof s == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
419
|
+
s === i || s === x || s === r || s === o || s === b || s === O || typeof s == "object" && s !== null && (s.$$typeof === C || s.$$typeof === _ || s.$$typeof === l || s.$$typeof === c || s.$$typeof === g || s.$$typeof === R || s.$$typeof === U || s.$$typeof === re || s.$$typeof === M);
|
|
420
|
+
}
|
|
421
|
+
function L(s) {
|
|
422
|
+
if (typeof s == "object" && s !== null) {
|
|
423
|
+
var B = s.$$typeof;
|
|
424
|
+
switch (B) {
|
|
425
|
+
case a:
|
|
426
|
+
var me = s.type;
|
|
427
|
+
switch (me) {
|
|
428
|
+
case f:
|
|
429
|
+
case x:
|
|
430
|
+
case i:
|
|
431
|
+
case r:
|
|
432
|
+
case o:
|
|
433
|
+
case b:
|
|
434
|
+
return me;
|
|
435
|
+
default:
|
|
436
|
+
var ye = me && me.$$typeof;
|
|
437
|
+
switch (ye) {
|
|
438
|
+
case c:
|
|
439
|
+
case g:
|
|
440
|
+
case C:
|
|
441
|
+
case _:
|
|
442
|
+
case l:
|
|
443
|
+
return ye;
|
|
444
|
+
default:
|
|
445
|
+
return B;
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
case t:
|
|
449
|
+
return B;
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
var m = f, X = x, J = c, ce = l, te = a, ie = g, se = i, de = C, pe = _, S = t, W = r, G = o, Q = b, le = !1;
|
|
454
|
+
function q(s) {
|
|
455
|
+
return le || (le = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), p(s) || L(s) === f;
|
|
456
|
+
}
|
|
457
|
+
function p(s) {
|
|
458
|
+
return L(s) === x;
|
|
459
|
+
}
|
|
460
|
+
function u(s) {
|
|
461
|
+
return L(s) === c;
|
|
462
|
+
}
|
|
463
|
+
function w(s) {
|
|
464
|
+
return L(s) === l;
|
|
465
|
+
}
|
|
466
|
+
function k(s) {
|
|
467
|
+
return typeof s == "object" && s !== null && s.$$typeof === a;
|
|
468
|
+
}
|
|
469
|
+
function h(s) {
|
|
470
|
+
return L(s) === g;
|
|
471
|
+
}
|
|
472
|
+
function E(s) {
|
|
473
|
+
return L(s) === i;
|
|
474
|
+
}
|
|
475
|
+
function A(s) {
|
|
476
|
+
return L(s) === C;
|
|
477
|
+
}
|
|
478
|
+
function y(s) {
|
|
479
|
+
return L(s) === _;
|
|
480
|
+
}
|
|
481
|
+
function j(s) {
|
|
482
|
+
return L(s) === t;
|
|
483
|
+
}
|
|
484
|
+
function V(s) {
|
|
485
|
+
return L(s) === r;
|
|
486
|
+
}
|
|
487
|
+
function H(s) {
|
|
488
|
+
return L(s) === o;
|
|
489
|
+
}
|
|
490
|
+
function N(s) {
|
|
491
|
+
return L(s) === b;
|
|
492
|
+
}
|
|
493
|
+
D.AsyncMode = m, D.ConcurrentMode = X, D.ContextConsumer = J, D.ContextProvider = ce, D.Element = te, D.ForwardRef = ie, D.Fragment = se, D.Lazy = de, D.Memo = pe, D.Portal = S, D.Profiler = W, D.StrictMode = G, D.Suspense = Q, D.isAsyncMode = q, D.isConcurrentMode = p, D.isContextConsumer = u, D.isContextProvider = w, D.isElement = k, D.isForwardRef = h, D.isFragment = E, D.isLazy = A, D.isMemo = y, D.isPortal = j, D.isProfiler = V, D.isStrictMode = H, D.isSuspense = N, D.isValidElementType = I, D.typeOf = L;
|
|
494
|
+
})()), D;
|
|
495
|
+
}
|
|
496
|
+
var ma;
|
|
497
|
+
function La() {
|
|
498
|
+
return ma || (ma = 1, process.env.NODE_ENV === "production" ? Me.exports = Dt() : Me.exports = Zt()), Me.exports;
|
|
499
|
+
}
|
|
500
|
+
var qe, ua;
|
|
501
|
+
function Ot() {
|
|
502
|
+
if (ua) return qe;
|
|
503
|
+
ua = 1;
|
|
504
|
+
var e = Object.getOwnPropertySymbols, a = Object.prototype.hasOwnProperty, t = Object.prototype.propertyIsEnumerable;
|
|
505
|
+
function i(r) {
|
|
506
|
+
if (r == null)
|
|
507
|
+
throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
508
|
+
return Object(r);
|
|
509
|
+
}
|
|
510
|
+
function o() {
|
|
511
|
+
try {
|
|
512
|
+
if (!Object.assign)
|
|
513
|
+
return !1;
|
|
514
|
+
var r = new String("abc");
|
|
515
|
+
if (r[5] = "de", Object.getOwnPropertyNames(r)[0] === "5")
|
|
516
|
+
return !1;
|
|
517
|
+
for (var l = {}, c = 0; c < 10; c++)
|
|
518
|
+
l["_" + String.fromCharCode(c)] = c;
|
|
519
|
+
var f = Object.getOwnPropertyNames(l).map(function(g) {
|
|
520
|
+
return l[g];
|
|
521
|
+
});
|
|
522
|
+
if (f.join("") !== "0123456789")
|
|
523
|
+
return !1;
|
|
524
|
+
var x = {};
|
|
525
|
+
return "abcdefghijklmnopqrst".split("").forEach(function(g) {
|
|
526
|
+
x[g] = g;
|
|
527
|
+
}), Object.keys(Object.assign({}, x)).join("") === "abcdefghijklmnopqrst";
|
|
528
|
+
} catch {
|
|
529
|
+
return !1;
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
return qe = o() ? Object.assign : function(r, l) {
|
|
533
|
+
for (var c, f = i(r), x, g = 1; g < arguments.length; g++) {
|
|
534
|
+
c = Object(arguments[g]);
|
|
535
|
+
for (var b in c)
|
|
536
|
+
a.call(c, b) && (f[b] = c[b]);
|
|
537
|
+
if (e) {
|
|
538
|
+
x = e(c);
|
|
539
|
+
for (var O = 0; O < x.length; O++)
|
|
540
|
+
t.call(c, x[O]) && (f[x[O]] = c[x[O]]);
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
return f;
|
|
544
|
+
}, qe;
|
|
545
|
+
}
|
|
546
|
+
var $e, fa;
|
|
547
|
+
function na() {
|
|
548
|
+
if (fa) return $e;
|
|
549
|
+
fa = 1;
|
|
550
|
+
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
551
|
+
return $e = e, $e;
|
|
552
|
+
}
|
|
553
|
+
var Ne, va;
|
|
554
|
+
function qa() {
|
|
555
|
+
return va || (va = 1, Ne = Function.call.bind(Object.prototype.hasOwnProperty)), Ne;
|
|
556
|
+
}
|
|
557
|
+
var Be, xa;
|
|
558
|
+
function Ft() {
|
|
559
|
+
if (xa) return Be;
|
|
560
|
+
xa = 1;
|
|
561
|
+
var e = function() {
|
|
562
|
+
};
|
|
563
|
+
if (process.env.NODE_ENV !== "production") {
|
|
564
|
+
var a = /* @__PURE__ */ na(), t = {}, i = /* @__PURE__ */ qa();
|
|
565
|
+
e = function(r) {
|
|
566
|
+
var l = "Warning: " + r;
|
|
567
|
+
typeof console < "u" && console.error(l);
|
|
568
|
+
try {
|
|
569
|
+
throw new Error(l);
|
|
570
|
+
} catch {
|
|
571
|
+
}
|
|
572
|
+
};
|
|
573
|
+
}
|
|
574
|
+
function o(r, l, c, f, x) {
|
|
575
|
+
if (process.env.NODE_ENV !== "production") {
|
|
576
|
+
for (var g in r)
|
|
577
|
+
if (i(r, g)) {
|
|
578
|
+
var b;
|
|
579
|
+
try {
|
|
580
|
+
if (typeof r[g] != "function") {
|
|
581
|
+
var O = Error(
|
|
582
|
+
(f || "React class") + ": " + c + " type `" + g + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof r[g] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
583
|
+
);
|
|
584
|
+
throw O.name = "Invariant Violation", O;
|
|
585
|
+
}
|
|
586
|
+
b = r[g](l, g, f, c, null, a);
|
|
587
|
+
} catch (C) {
|
|
588
|
+
b = C;
|
|
589
|
+
}
|
|
590
|
+
if (b && !(b instanceof Error) && e(
|
|
591
|
+
(f || "React class") + ": type specification of " + c + " `" + g + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof b + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
592
|
+
), b instanceof Error && !(b.message in t)) {
|
|
593
|
+
t[b.message] = !0;
|
|
594
|
+
var _ = x ? x() : "";
|
|
595
|
+
e(
|
|
596
|
+
"Failed " + c + " type: " + b.message + (_ ?? "")
|
|
597
|
+
);
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
return o.resetWarningCache = function() {
|
|
603
|
+
process.env.NODE_ENV !== "production" && (t = {});
|
|
604
|
+
}, Be = o, Be;
|
|
605
|
+
}
|
|
606
|
+
var Ye, ga;
|
|
607
|
+
function _t() {
|
|
608
|
+
if (ga) return Ye;
|
|
609
|
+
ga = 1;
|
|
610
|
+
var e = La(), a = Ot(), t = /* @__PURE__ */ na(), i = /* @__PURE__ */ qa(), o = /* @__PURE__ */ Ft(), r = function() {
|
|
611
|
+
};
|
|
612
|
+
process.env.NODE_ENV !== "production" && (r = function(c) {
|
|
613
|
+
var f = "Warning: " + c;
|
|
614
|
+
typeof console < "u" && console.error(f);
|
|
615
|
+
try {
|
|
616
|
+
throw new Error(f);
|
|
617
|
+
} catch {
|
|
618
|
+
}
|
|
619
|
+
});
|
|
620
|
+
function l() {
|
|
621
|
+
return null;
|
|
622
|
+
}
|
|
623
|
+
return Ye = function(c, f) {
|
|
624
|
+
var x = typeof Symbol == "function" && Symbol.iterator, g = "@@iterator";
|
|
625
|
+
function b(p) {
|
|
626
|
+
var u = p && (x && p[x] || p[g]);
|
|
627
|
+
if (typeof u == "function")
|
|
628
|
+
return u;
|
|
629
|
+
}
|
|
630
|
+
var O = "<<anonymous>>", _ = {
|
|
631
|
+
array: U("array"),
|
|
632
|
+
bigint: U("bigint"),
|
|
633
|
+
bool: U("boolean"),
|
|
634
|
+
func: U("function"),
|
|
635
|
+
number: U("number"),
|
|
636
|
+
object: U("object"),
|
|
637
|
+
string: U("string"),
|
|
638
|
+
symbol: U("symbol"),
|
|
639
|
+
any: re(),
|
|
640
|
+
arrayOf: I,
|
|
641
|
+
element: L(),
|
|
642
|
+
elementType: m(),
|
|
643
|
+
instanceOf: X,
|
|
644
|
+
node: ie(),
|
|
645
|
+
objectOf: ce,
|
|
646
|
+
oneOf: J,
|
|
647
|
+
oneOfType: te,
|
|
648
|
+
shape: de,
|
|
649
|
+
exact: pe
|
|
650
|
+
};
|
|
651
|
+
function C(p, u) {
|
|
652
|
+
return p === u ? p !== 0 || 1 / p === 1 / u : p !== p && u !== u;
|
|
653
|
+
}
|
|
654
|
+
function M(p, u) {
|
|
655
|
+
this.message = p, this.data = u && typeof u == "object" ? u : {}, this.stack = "";
|
|
656
|
+
}
|
|
657
|
+
M.prototype = Error.prototype;
|
|
658
|
+
function R(p) {
|
|
659
|
+
if (process.env.NODE_ENV !== "production")
|
|
660
|
+
var u = {}, w = 0;
|
|
661
|
+
function k(E, A, y, j, V, H, N) {
|
|
662
|
+
if (j = j || O, H = H || y, N !== t) {
|
|
663
|
+
if (f) {
|
|
664
|
+
var s = new Error(
|
|
665
|
+
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
666
|
+
);
|
|
667
|
+
throw s.name = "Invariant Violation", s;
|
|
668
|
+
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
669
|
+
var B = j + ":" + y;
|
|
670
|
+
!u[B] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
671
|
+
w < 3 && (r(
|
|
672
|
+
"You are manually calling a React.PropTypes validation function for the `" + H + "` prop on `" + j + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
673
|
+
), u[B] = !0, w++);
|
|
674
|
+
}
|
|
675
|
+
}
|
|
676
|
+
return A[y] == null ? E ? A[y] === null ? new M("The " + V + " `" + H + "` is marked as required " + ("in `" + j + "`, but its value is `null`.")) : new M("The " + V + " `" + H + "` is marked as required in " + ("`" + j + "`, but its value is `undefined`.")) : null : p(A, y, j, V, H);
|
|
677
|
+
}
|
|
678
|
+
var h = k.bind(null, !1);
|
|
679
|
+
return h.isRequired = k.bind(null, !0), h;
|
|
680
|
+
}
|
|
681
|
+
function U(p) {
|
|
682
|
+
function u(w, k, h, E, A, y) {
|
|
683
|
+
var j = w[k], V = G(j);
|
|
684
|
+
if (V !== p) {
|
|
685
|
+
var H = Q(j);
|
|
686
|
+
return new M(
|
|
687
|
+
"Invalid " + E + " `" + A + "` of type " + ("`" + H + "` supplied to `" + h + "`, expected ") + ("`" + p + "`."),
|
|
688
|
+
{ expectedType: p }
|
|
689
|
+
);
|
|
690
|
+
}
|
|
691
|
+
return null;
|
|
692
|
+
}
|
|
693
|
+
return R(u);
|
|
694
|
+
}
|
|
695
|
+
function re() {
|
|
696
|
+
return R(l);
|
|
697
|
+
}
|
|
698
|
+
function I(p) {
|
|
699
|
+
function u(w, k, h, E, A) {
|
|
700
|
+
if (typeof p != "function")
|
|
701
|
+
return new M("Property `" + A + "` of component `" + h + "` has invalid PropType notation inside arrayOf.");
|
|
702
|
+
var y = w[k];
|
|
703
|
+
if (!Array.isArray(y)) {
|
|
704
|
+
var j = G(y);
|
|
705
|
+
return new M("Invalid " + E + " `" + A + "` of type " + ("`" + j + "` supplied to `" + h + "`, expected an array."));
|
|
706
|
+
}
|
|
707
|
+
for (var V = 0; V < y.length; V++) {
|
|
708
|
+
var H = p(y, V, h, E, A + "[" + V + "]", t);
|
|
709
|
+
if (H instanceof Error)
|
|
710
|
+
return H;
|
|
711
|
+
}
|
|
712
|
+
return null;
|
|
713
|
+
}
|
|
714
|
+
return R(u);
|
|
715
|
+
}
|
|
716
|
+
function L() {
|
|
717
|
+
function p(u, w, k, h, E) {
|
|
718
|
+
var A = u[w];
|
|
719
|
+
if (!c(A)) {
|
|
720
|
+
var y = G(A);
|
|
721
|
+
return new M("Invalid " + h + " `" + E + "` of type " + ("`" + y + "` supplied to `" + k + "`, expected a single ReactElement."));
|
|
722
|
+
}
|
|
723
|
+
return null;
|
|
724
|
+
}
|
|
725
|
+
return R(p);
|
|
726
|
+
}
|
|
727
|
+
function m() {
|
|
728
|
+
function p(u, w, k, h, E) {
|
|
729
|
+
var A = u[w];
|
|
730
|
+
if (!e.isValidElementType(A)) {
|
|
731
|
+
var y = G(A);
|
|
732
|
+
return new M("Invalid " + h + " `" + E + "` of type " + ("`" + y + "` supplied to `" + k + "`, expected a single ReactElement type."));
|
|
733
|
+
}
|
|
734
|
+
return null;
|
|
735
|
+
}
|
|
736
|
+
return R(p);
|
|
737
|
+
}
|
|
738
|
+
function X(p) {
|
|
739
|
+
function u(w, k, h, E, A) {
|
|
740
|
+
if (!(w[k] instanceof p)) {
|
|
741
|
+
var y = p.name || O, j = q(w[k]);
|
|
742
|
+
return new M("Invalid " + E + " `" + A + "` of type " + ("`" + j + "` supplied to `" + h + "`, expected ") + ("instance of `" + y + "`."));
|
|
743
|
+
}
|
|
744
|
+
return null;
|
|
745
|
+
}
|
|
746
|
+
return R(u);
|
|
747
|
+
}
|
|
748
|
+
function J(p) {
|
|
749
|
+
if (!Array.isArray(p))
|
|
750
|
+
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? r(
|
|
751
|
+
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
752
|
+
) : r("Invalid argument supplied to oneOf, expected an array.")), l;
|
|
753
|
+
function u(w, k, h, E, A) {
|
|
754
|
+
for (var y = w[k], j = 0; j < p.length; j++)
|
|
755
|
+
if (C(y, p[j]))
|
|
756
|
+
return null;
|
|
757
|
+
var V = JSON.stringify(p, function(N, s) {
|
|
758
|
+
var B = Q(s);
|
|
759
|
+
return B === "symbol" ? String(s) : s;
|
|
760
|
+
});
|
|
761
|
+
return new M("Invalid " + E + " `" + A + "` of value `" + String(y) + "` " + ("supplied to `" + h + "`, expected one of " + V + "."));
|
|
762
|
+
}
|
|
763
|
+
return R(u);
|
|
764
|
+
}
|
|
765
|
+
function ce(p) {
|
|
766
|
+
function u(w, k, h, E, A) {
|
|
767
|
+
if (typeof p != "function")
|
|
768
|
+
return new M("Property `" + A + "` of component `" + h + "` has invalid PropType notation inside objectOf.");
|
|
769
|
+
var y = w[k], j = G(y);
|
|
770
|
+
if (j !== "object")
|
|
771
|
+
return new M("Invalid " + E + " `" + A + "` of type " + ("`" + j + "` supplied to `" + h + "`, expected an object."));
|
|
772
|
+
for (var V in y)
|
|
773
|
+
if (i(y, V)) {
|
|
774
|
+
var H = p(y, V, h, E, A + "." + V, t);
|
|
775
|
+
if (H instanceof Error)
|
|
776
|
+
return H;
|
|
777
|
+
}
|
|
778
|
+
return null;
|
|
779
|
+
}
|
|
780
|
+
return R(u);
|
|
781
|
+
}
|
|
782
|
+
function te(p) {
|
|
783
|
+
if (!Array.isArray(p))
|
|
784
|
+
return process.env.NODE_ENV !== "production" && r("Invalid argument supplied to oneOfType, expected an instance of array."), l;
|
|
785
|
+
for (var u = 0; u < p.length; u++) {
|
|
786
|
+
var w = p[u];
|
|
787
|
+
if (typeof w != "function")
|
|
788
|
+
return r(
|
|
789
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + le(w) + " at index " + u + "."
|
|
790
|
+
), l;
|
|
791
|
+
}
|
|
792
|
+
function k(h, E, A, y, j) {
|
|
793
|
+
for (var V = [], H = 0; H < p.length; H++) {
|
|
794
|
+
var N = p[H], s = N(h, E, A, y, j, t);
|
|
795
|
+
if (s == null)
|
|
796
|
+
return null;
|
|
797
|
+
s.data && i(s.data, "expectedType") && V.push(s.data.expectedType);
|
|
798
|
+
}
|
|
799
|
+
var B = V.length > 0 ? ", expected one of type [" + V.join(", ") + "]" : "";
|
|
800
|
+
return new M("Invalid " + y + " `" + j + "` supplied to " + ("`" + A + "`" + B + "."));
|
|
801
|
+
}
|
|
802
|
+
return R(k);
|
|
803
|
+
}
|
|
804
|
+
function ie() {
|
|
805
|
+
function p(u, w, k, h, E) {
|
|
806
|
+
return S(u[w]) ? null : new M("Invalid " + h + " `" + E + "` supplied to " + ("`" + k + "`, expected a ReactNode."));
|
|
807
|
+
}
|
|
808
|
+
return R(p);
|
|
809
|
+
}
|
|
810
|
+
function se(p, u, w, k, h) {
|
|
811
|
+
return new M(
|
|
812
|
+
(p || "React class") + ": " + u + " type `" + w + "." + k + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + h + "`."
|
|
813
|
+
);
|
|
814
|
+
}
|
|
815
|
+
function de(p) {
|
|
816
|
+
function u(w, k, h, E, A) {
|
|
817
|
+
var y = w[k], j = G(y);
|
|
818
|
+
if (j !== "object")
|
|
819
|
+
return new M("Invalid " + E + " `" + A + "` of type `" + j + "` " + ("supplied to `" + h + "`, expected `object`."));
|
|
820
|
+
for (var V in p) {
|
|
821
|
+
var H = p[V];
|
|
822
|
+
if (typeof H != "function")
|
|
823
|
+
return se(h, E, A, V, Q(H));
|
|
824
|
+
var N = H(y, V, h, E, A + "." + V, t);
|
|
825
|
+
if (N)
|
|
826
|
+
return N;
|
|
827
|
+
}
|
|
828
|
+
return null;
|
|
829
|
+
}
|
|
830
|
+
return R(u);
|
|
831
|
+
}
|
|
832
|
+
function pe(p) {
|
|
833
|
+
function u(w, k, h, E, A) {
|
|
834
|
+
var y = w[k], j = G(y);
|
|
835
|
+
if (j !== "object")
|
|
836
|
+
return new M("Invalid " + E + " `" + A + "` of type `" + j + "` " + ("supplied to `" + h + "`, expected `object`."));
|
|
837
|
+
var V = a({}, w[k], p);
|
|
838
|
+
for (var H in V) {
|
|
839
|
+
var N = p[H];
|
|
840
|
+
if (i(p, H) && typeof N != "function")
|
|
841
|
+
return se(h, E, A, H, Q(N));
|
|
842
|
+
if (!N)
|
|
843
|
+
return new M(
|
|
844
|
+
"Invalid " + E + " `" + A + "` key `" + H + "` supplied to `" + h + "`.\nBad object: " + JSON.stringify(w[k], null, " ") + `
|
|
845
|
+
Valid keys: ` + JSON.stringify(Object.keys(p), null, " ")
|
|
846
|
+
);
|
|
847
|
+
var s = N(y, H, h, E, A + "." + H, t);
|
|
848
|
+
if (s)
|
|
849
|
+
return s;
|
|
850
|
+
}
|
|
851
|
+
return null;
|
|
852
|
+
}
|
|
853
|
+
return R(u);
|
|
854
|
+
}
|
|
855
|
+
function S(p) {
|
|
856
|
+
switch (typeof p) {
|
|
857
|
+
case "number":
|
|
858
|
+
case "string":
|
|
859
|
+
case "undefined":
|
|
860
|
+
return !0;
|
|
861
|
+
case "boolean":
|
|
862
|
+
return !p;
|
|
863
|
+
case "object":
|
|
864
|
+
if (Array.isArray(p))
|
|
865
|
+
return p.every(S);
|
|
866
|
+
if (p === null || c(p))
|
|
867
|
+
return !0;
|
|
868
|
+
var u = b(p);
|
|
869
|
+
if (u) {
|
|
870
|
+
var w = u.call(p), k;
|
|
871
|
+
if (u !== p.entries) {
|
|
872
|
+
for (; !(k = w.next()).done; )
|
|
873
|
+
if (!S(k.value))
|
|
874
|
+
return !1;
|
|
875
|
+
} else
|
|
876
|
+
for (; !(k = w.next()).done; ) {
|
|
877
|
+
var h = k.value;
|
|
878
|
+
if (h && !S(h[1]))
|
|
879
|
+
return !1;
|
|
880
|
+
}
|
|
881
|
+
} else
|
|
882
|
+
return !1;
|
|
883
|
+
return !0;
|
|
884
|
+
default:
|
|
885
|
+
return !1;
|
|
886
|
+
}
|
|
887
|
+
}
|
|
888
|
+
function W(p, u) {
|
|
889
|
+
return p === "symbol" ? !0 : u ? u["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && u instanceof Symbol : !1;
|
|
890
|
+
}
|
|
891
|
+
function G(p) {
|
|
892
|
+
var u = typeof p;
|
|
893
|
+
return Array.isArray(p) ? "array" : p instanceof RegExp ? "object" : W(u, p) ? "symbol" : u;
|
|
894
|
+
}
|
|
895
|
+
function Q(p) {
|
|
896
|
+
if (typeof p > "u" || p === null)
|
|
897
|
+
return "" + p;
|
|
898
|
+
var u = G(p);
|
|
899
|
+
if (u === "object") {
|
|
900
|
+
if (p instanceof Date)
|
|
901
|
+
return "date";
|
|
902
|
+
if (p instanceof RegExp)
|
|
903
|
+
return "regexp";
|
|
904
|
+
}
|
|
905
|
+
return u;
|
|
906
|
+
}
|
|
907
|
+
function le(p) {
|
|
908
|
+
var u = Q(p);
|
|
909
|
+
switch (u) {
|
|
910
|
+
case "array":
|
|
911
|
+
case "object":
|
|
912
|
+
return "an " + u;
|
|
913
|
+
case "boolean":
|
|
914
|
+
case "date":
|
|
915
|
+
case "regexp":
|
|
916
|
+
return "a " + u;
|
|
917
|
+
default:
|
|
918
|
+
return u;
|
|
919
|
+
}
|
|
920
|
+
}
|
|
921
|
+
function q(p) {
|
|
922
|
+
return !p.constructor || !p.constructor.name ? O : p.constructor.name;
|
|
923
|
+
}
|
|
924
|
+
return _.checkPropTypes = o, _.resetWarningCache = o.resetWarningCache, _.PropTypes = _, _;
|
|
925
|
+
}, Ye;
|
|
926
|
+
}
|
|
927
|
+
var We, ha;
|
|
928
|
+
function Pt() {
|
|
929
|
+
if (ha) return We;
|
|
930
|
+
ha = 1;
|
|
931
|
+
var e = /* @__PURE__ */ na();
|
|
932
|
+
function a() {
|
|
933
|
+
}
|
|
934
|
+
function t() {
|
|
935
|
+
}
|
|
936
|
+
return t.resetWarningCache = a, We = function() {
|
|
937
|
+
function i(l, c, f, x, g, b) {
|
|
938
|
+
if (b !== e) {
|
|
939
|
+
var O = new Error(
|
|
940
|
+
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
941
|
+
);
|
|
942
|
+
throw O.name = "Invariant Violation", O;
|
|
943
|
+
}
|
|
944
|
+
}
|
|
945
|
+
i.isRequired = i;
|
|
946
|
+
function o() {
|
|
947
|
+
return i;
|
|
948
|
+
}
|
|
949
|
+
var r = {
|
|
950
|
+
array: i,
|
|
951
|
+
bigint: i,
|
|
952
|
+
bool: i,
|
|
953
|
+
func: i,
|
|
954
|
+
number: i,
|
|
955
|
+
object: i,
|
|
956
|
+
string: i,
|
|
957
|
+
symbol: i,
|
|
958
|
+
any: i,
|
|
959
|
+
arrayOf: o,
|
|
960
|
+
element: i,
|
|
961
|
+
elementType: i,
|
|
962
|
+
instanceOf: o,
|
|
963
|
+
node: i,
|
|
964
|
+
objectOf: o,
|
|
965
|
+
oneOf: o,
|
|
966
|
+
oneOfType: o,
|
|
967
|
+
shape: o,
|
|
968
|
+
exact: o,
|
|
969
|
+
checkPropTypes: t,
|
|
970
|
+
resetWarningCache: a
|
|
971
|
+
};
|
|
972
|
+
return r.PropTypes = r, r;
|
|
973
|
+
}, We;
|
|
974
|
+
}
|
|
975
|
+
var ya;
|
|
976
|
+
function St() {
|
|
977
|
+
if (ya) return Ve.exports;
|
|
978
|
+
if (ya = 1, process.env.NODE_ENV !== "production") {
|
|
979
|
+
var e = La(), a = !0;
|
|
980
|
+
Ve.exports = /* @__PURE__ */ _t()(e.isElement, a);
|
|
981
|
+
} else
|
|
982
|
+
Ve.exports = /* @__PURE__ */ Pt()();
|
|
983
|
+
return Ve.exports;
|
|
984
|
+
}
|
|
985
|
+
var zt = /* @__PURE__ */ St();
|
|
986
|
+
const F = /* @__PURE__ */ Pa(zt);
|
|
987
|
+
function ve(e, a, t, i) {
|
|
988
|
+
function o(r) {
|
|
989
|
+
return r instanceof t ? r : new t(function(l) {
|
|
990
|
+
l(r);
|
|
991
|
+
});
|
|
992
|
+
}
|
|
993
|
+
return new (t || (t = Promise))(function(r, l) {
|
|
994
|
+
function c(g) {
|
|
995
|
+
try {
|
|
996
|
+
x(i.next(g));
|
|
997
|
+
} catch (b) {
|
|
998
|
+
l(b);
|
|
999
|
+
}
|
|
1000
|
+
}
|
|
1001
|
+
function f(g) {
|
|
1002
|
+
try {
|
|
1003
|
+
x(i.throw(g));
|
|
1004
|
+
} catch (b) {
|
|
1005
|
+
l(b);
|
|
1006
|
+
}
|
|
1007
|
+
}
|
|
1008
|
+
function x(g) {
|
|
1009
|
+
g.done ? r(g.value) : o(g.value).then(c, f);
|
|
1010
|
+
}
|
|
1011
|
+
x((i = i.apply(e, a || [])).next());
|
|
1012
|
+
});
|
|
1013
|
+
}
|
|
1014
|
+
const Rt = /* @__PURE__ */ new Map([
|
|
1015
|
+
// https://github.com/guzzle/psr7/blob/2d9260799e713f1c475d3c5fdc3d6561ff7441b2/src/MimeType.php
|
|
1016
|
+
["1km", "application/vnd.1000minds.decision-model+xml"],
|
|
1017
|
+
["3dml", "text/vnd.in3d.3dml"],
|
|
1018
|
+
["3ds", "image/x-3ds"],
|
|
1019
|
+
["3g2", "video/3gpp2"],
|
|
1020
|
+
["3gp", "video/3gp"],
|
|
1021
|
+
["3gpp", "video/3gpp"],
|
|
1022
|
+
["3mf", "model/3mf"],
|
|
1023
|
+
["7z", "application/x-7z-compressed"],
|
|
1024
|
+
["7zip", "application/x-7z-compressed"],
|
|
1025
|
+
["123", "application/vnd.lotus-1-2-3"],
|
|
1026
|
+
["aab", "application/x-authorware-bin"],
|
|
1027
|
+
["aac", "audio/x-acc"],
|
|
1028
|
+
["aam", "application/x-authorware-map"],
|
|
1029
|
+
["aas", "application/x-authorware-seg"],
|
|
1030
|
+
["abw", "application/x-abiword"],
|
|
1031
|
+
["ac", "application/vnd.nokia.n-gage.ac+xml"],
|
|
1032
|
+
["ac3", "audio/ac3"],
|
|
1033
|
+
["acc", "application/vnd.americandynamics.acc"],
|
|
1034
|
+
["ace", "application/x-ace-compressed"],
|
|
1035
|
+
["acu", "application/vnd.acucobol"],
|
|
1036
|
+
["acutc", "application/vnd.acucorp"],
|
|
1037
|
+
["adp", "audio/adpcm"],
|
|
1038
|
+
["aep", "application/vnd.audiograph"],
|
|
1039
|
+
["afm", "application/x-font-type1"],
|
|
1040
|
+
["afp", "application/vnd.ibm.modcap"],
|
|
1041
|
+
["ahead", "application/vnd.ahead.space"],
|
|
1042
|
+
["ai", "application/pdf"],
|
|
1043
|
+
["aif", "audio/x-aiff"],
|
|
1044
|
+
["aifc", "audio/x-aiff"],
|
|
1045
|
+
["aiff", "audio/x-aiff"],
|
|
1046
|
+
["air", "application/vnd.adobe.air-application-installer-package+zip"],
|
|
1047
|
+
["ait", "application/vnd.dvb.ait"],
|
|
1048
|
+
["ami", "application/vnd.amiga.ami"],
|
|
1049
|
+
["amr", "audio/amr"],
|
|
1050
|
+
["apk", "application/vnd.android.package-archive"],
|
|
1051
|
+
["apng", "image/apng"],
|
|
1052
|
+
["appcache", "text/cache-manifest"],
|
|
1053
|
+
["application", "application/x-ms-application"],
|
|
1054
|
+
["apr", "application/vnd.lotus-approach"],
|
|
1055
|
+
["arc", "application/x-freearc"],
|
|
1056
|
+
["arj", "application/x-arj"],
|
|
1057
|
+
["asc", "application/pgp-signature"],
|
|
1058
|
+
["asf", "video/x-ms-asf"],
|
|
1059
|
+
["asm", "text/x-asm"],
|
|
1060
|
+
["aso", "application/vnd.accpac.simply.aso"],
|
|
1061
|
+
["asx", "video/x-ms-asf"],
|
|
1062
|
+
["atc", "application/vnd.acucorp"],
|
|
1063
|
+
["atom", "application/atom+xml"],
|
|
1064
|
+
["atomcat", "application/atomcat+xml"],
|
|
1065
|
+
["atomdeleted", "application/atomdeleted+xml"],
|
|
1066
|
+
["atomsvc", "application/atomsvc+xml"],
|
|
1067
|
+
["atx", "application/vnd.antix.game-component"],
|
|
1068
|
+
["au", "audio/x-au"],
|
|
1069
|
+
["avi", "video/x-msvideo"],
|
|
1070
|
+
["avif", "image/avif"],
|
|
1071
|
+
["aw", "application/applixware"],
|
|
1072
|
+
["azf", "application/vnd.airzip.filesecure.azf"],
|
|
1073
|
+
["azs", "application/vnd.airzip.filesecure.azs"],
|
|
1074
|
+
["azv", "image/vnd.airzip.accelerator.azv"],
|
|
1075
|
+
["azw", "application/vnd.amazon.ebook"],
|
|
1076
|
+
["b16", "image/vnd.pco.b16"],
|
|
1077
|
+
["bat", "application/x-msdownload"],
|
|
1078
|
+
["bcpio", "application/x-bcpio"],
|
|
1079
|
+
["bdf", "application/x-font-bdf"],
|
|
1080
|
+
["bdm", "application/vnd.syncml.dm+wbxml"],
|
|
1081
|
+
["bdoc", "application/x-bdoc"],
|
|
1082
|
+
["bed", "application/vnd.realvnc.bed"],
|
|
1083
|
+
["bh2", "application/vnd.fujitsu.oasysprs"],
|
|
1084
|
+
["bin", "application/octet-stream"],
|
|
1085
|
+
["blb", "application/x-blorb"],
|
|
1086
|
+
["blorb", "application/x-blorb"],
|
|
1087
|
+
["bmi", "application/vnd.bmi"],
|
|
1088
|
+
["bmml", "application/vnd.balsamiq.bmml+xml"],
|
|
1089
|
+
["bmp", "image/bmp"],
|
|
1090
|
+
["book", "application/vnd.framemaker"],
|
|
1091
|
+
["box", "application/vnd.previewsystems.box"],
|
|
1092
|
+
["boz", "application/x-bzip2"],
|
|
1093
|
+
["bpk", "application/octet-stream"],
|
|
1094
|
+
["bpmn", "application/octet-stream"],
|
|
1095
|
+
["bsp", "model/vnd.valve.source.compiled-map"],
|
|
1096
|
+
["btif", "image/prs.btif"],
|
|
1097
|
+
["buffer", "application/octet-stream"],
|
|
1098
|
+
["bz", "application/x-bzip"],
|
|
1099
|
+
["bz2", "application/x-bzip2"],
|
|
1100
|
+
["c", "text/x-c"],
|
|
1101
|
+
["c4d", "application/vnd.clonk.c4group"],
|
|
1102
|
+
["c4f", "application/vnd.clonk.c4group"],
|
|
1103
|
+
["c4g", "application/vnd.clonk.c4group"],
|
|
1104
|
+
["c4p", "application/vnd.clonk.c4group"],
|
|
1105
|
+
["c4u", "application/vnd.clonk.c4group"],
|
|
1106
|
+
["c11amc", "application/vnd.cluetrust.cartomobile-config"],
|
|
1107
|
+
["c11amz", "application/vnd.cluetrust.cartomobile-config-pkg"],
|
|
1108
|
+
["cab", "application/vnd.ms-cab-compressed"],
|
|
1109
|
+
["caf", "audio/x-caf"],
|
|
1110
|
+
["cap", "application/vnd.tcpdump.pcap"],
|
|
1111
|
+
["car", "application/vnd.curl.car"],
|
|
1112
|
+
["cat", "application/vnd.ms-pki.seccat"],
|
|
1113
|
+
["cb7", "application/x-cbr"],
|
|
1114
|
+
["cba", "application/x-cbr"],
|
|
1115
|
+
["cbr", "application/x-cbr"],
|
|
1116
|
+
["cbt", "application/x-cbr"],
|
|
1117
|
+
["cbz", "application/x-cbr"],
|
|
1118
|
+
["cc", "text/x-c"],
|
|
1119
|
+
["cco", "application/x-cocoa"],
|
|
1120
|
+
["cct", "application/x-director"],
|
|
1121
|
+
["ccxml", "application/ccxml+xml"],
|
|
1122
|
+
["cdbcmsg", "application/vnd.contact.cmsg"],
|
|
1123
|
+
["cda", "application/x-cdf"],
|
|
1124
|
+
["cdf", "application/x-netcdf"],
|
|
1125
|
+
["cdfx", "application/cdfx+xml"],
|
|
1126
|
+
["cdkey", "application/vnd.mediastation.cdkey"],
|
|
1127
|
+
["cdmia", "application/cdmi-capability"],
|
|
1128
|
+
["cdmic", "application/cdmi-container"],
|
|
1129
|
+
["cdmid", "application/cdmi-domain"],
|
|
1130
|
+
["cdmio", "application/cdmi-object"],
|
|
1131
|
+
["cdmiq", "application/cdmi-queue"],
|
|
1132
|
+
["cdr", "application/cdr"],
|
|
1133
|
+
["cdx", "chemical/x-cdx"],
|
|
1134
|
+
["cdxml", "application/vnd.chemdraw+xml"],
|
|
1135
|
+
["cdy", "application/vnd.cinderella"],
|
|
1136
|
+
["cer", "application/pkix-cert"],
|
|
1137
|
+
["cfs", "application/x-cfs-compressed"],
|
|
1138
|
+
["cgm", "image/cgm"],
|
|
1139
|
+
["chat", "application/x-chat"],
|
|
1140
|
+
["chm", "application/vnd.ms-htmlhelp"],
|
|
1141
|
+
["chrt", "application/vnd.kde.kchart"],
|
|
1142
|
+
["cif", "chemical/x-cif"],
|
|
1143
|
+
["cii", "application/vnd.anser-web-certificate-issue-initiation"],
|
|
1144
|
+
["cil", "application/vnd.ms-artgalry"],
|
|
1145
|
+
["cjs", "application/node"],
|
|
1146
|
+
["cla", "application/vnd.claymore"],
|
|
1147
|
+
["class", "application/octet-stream"],
|
|
1148
|
+
["clkk", "application/vnd.crick.clicker.keyboard"],
|
|
1149
|
+
["clkp", "application/vnd.crick.clicker.palette"],
|
|
1150
|
+
["clkt", "application/vnd.crick.clicker.template"],
|
|
1151
|
+
["clkw", "application/vnd.crick.clicker.wordbank"],
|
|
1152
|
+
["clkx", "application/vnd.crick.clicker"],
|
|
1153
|
+
["clp", "application/x-msclip"],
|
|
1154
|
+
["cmc", "application/vnd.cosmocaller"],
|
|
1155
|
+
["cmdf", "chemical/x-cmdf"],
|
|
1156
|
+
["cml", "chemical/x-cml"],
|
|
1157
|
+
["cmp", "application/vnd.yellowriver-custom-menu"],
|
|
1158
|
+
["cmx", "image/x-cmx"],
|
|
1159
|
+
["cod", "application/vnd.rim.cod"],
|
|
1160
|
+
["coffee", "text/coffeescript"],
|
|
1161
|
+
["com", "application/x-msdownload"],
|
|
1162
|
+
["conf", "text/plain"],
|
|
1163
|
+
["cpio", "application/x-cpio"],
|
|
1164
|
+
["cpp", "text/x-c"],
|
|
1165
|
+
["cpt", "application/mac-compactpro"],
|
|
1166
|
+
["crd", "application/x-mscardfile"],
|
|
1167
|
+
["crl", "application/pkix-crl"],
|
|
1168
|
+
["crt", "application/x-x509-ca-cert"],
|
|
1169
|
+
["crx", "application/x-chrome-extension"],
|
|
1170
|
+
["cryptonote", "application/vnd.rig.cryptonote"],
|
|
1171
|
+
["csh", "application/x-csh"],
|
|
1172
|
+
["csl", "application/vnd.citationstyles.style+xml"],
|
|
1173
|
+
["csml", "chemical/x-csml"],
|
|
1174
|
+
["csp", "application/vnd.commonspace"],
|
|
1175
|
+
["csr", "application/octet-stream"],
|
|
1176
|
+
["css", "text/css"],
|
|
1177
|
+
["cst", "application/x-director"],
|
|
1178
|
+
["csv", "text/csv"],
|
|
1179
|
+
["cu", "application/cu-seeme"],
|
|
1180
|
+
["curl", "text/vnd.curl"],
|
|
1181
|
+
["cww", "application/prs.cww"],
|
|
1182
|
+
["cxt", "application/x-director"],
|
|
1183
|
+
["cxx", "text/x-c"],
|
|
1184
|
+
["dae", "model/vnd.collada+xml"],
|
|
1185
|
+
["daf", "application/vnd.mobius.daf"],
|
|
1186
|
+
["dart", "application/vnd.dart"],
|
|
1187
|
+
["dataless", "application/vnd.fdsn.seed"],
|
|
1188
|
+
["davmount", "application/davmount+xml"],
|
|
1189
|
+
["dbf", "application/vnd.dbf"],
|
|
1190
|
+
["dbk", "application/docbook+xml"],
|
|
1191
|
+
["dcr", "application/x-director"],
|
|
1192
|
+
["dcurl", "text/vnd.curl.dcurl"],
|
|
1193
|
+
["dd2", "application/vnd.oma.dd2+xml"],
|
|
1194
|
+
["ddd", "application/vnd.fujixerox.ddd"],
|
|
1195
|
+
["ddf", "application/vnd.syncml.dmddf+xml"],
|
|
1196
|
+
["dds", "image/vnd.ms-dds"],
|
|
1197
|
+
["deb", "application/x-debian-package"],
|
|
1198
|
+
["def", "text/plain"],
|
|
1199
|
+
["deploy", "application/octet-stream"],
|
|
1200
|
+
["der", "application/x-x509-ca-cert"],
|
|
1201
|
+
["dfac", "application/vnd.dreamfactory"],
|
|
1202
|
+
["dgc", "application/x-dgc-compressed"],
|
|
1203
|
+
["dic", "text/x-c"],
|
|
1204
|
+
["dir", "application/x-director"],
|
|
1205
|
+
["dis", "application/vnd.mobius.dis"],
|
|
1206
|
+
["disposition-notification", "message/disposition-notification"],
|
|
1207
|
+
["dist", "application/octet-stream"],
|
|
1208
|
+
["distz", "application/octet-stream"],
|
|
1209
|
+
["djv", "image/vnd.djvu"],
|
|
1210
|
+
["djvu", "image/vnd.djvu"],
|
|
1211
|
+
["dll", "application/octet-stream"],
|
|
1212
|
+
["dmg", "application/x-apple-diskimage"],
|
|
1213
|
+
["dmn", "application/octet-stream"],
|
|
1214
|
+
["dmp", "application/vnd.tcpdump.pcap"],
|
|
1215
|
+
["dms", "application/octet-stream"],
|
|
1216
|
+
["dna", "application/vnd.dna"],
|
|
1217
|
+
["doc", "application/msword"],
|
|
1218
|
+
["docm", "application/vnd.ms-word.template.macroEnabled.12"],
|
|
1219
|
+
["docx", "application/vnd.openxmlformats-officedocument.wordprocessingml.document"],
|
|
1220
|
+
["dot", "application/msword"],
|
|
1221
|
+
["dotm", "application/vnd.ms-word.template.macroEnabled.12"],
|
|
1222
|
+
["dotx", "application/vnd.openxmlformats-officedocument.wordprocessingml.template"],
|
|
1223
|
+
["dp", "application/vnd.osgi.dp"],
|
|
1224
|
+
["dpg", "application/vnd.dpgraph"],
|
|
1225
|
+
["dra", "audio/vnd.dra"],
|
|
1226
|
+
["drle", "image/dicom-rle"],
|
|
1227
|
+
["dsc", "text/prs.lines.tag"],
|
|
1228
|
+
["dssc", "application/dssc+der"],
|
|
1229
|
+
["dtb", "application/x-dtbook+xml"],
|
|
1230
|
+
["dtd", "application/xml-dtd"],
|
|
1231
|
+
["dts", "audio/vnd.dts"],
|
|
1232
|
+
["dtshd", "audio/vnd.dts.hd"],
|
|
1233
|
+
["dump", "application/octet-stream"],
|
|
1234
|
+
["dvb", "video/vnd.dvb.file"],
|
|
1235
|
+
["dvi", "application/x-dvi"],
|
|
1236
|
+
["dwd", "application/atsc-dwd+xml"],
|
|
1237
|
+
["dwf", "model/vnd.dwf"],
|
|
1238
|
+
["dwg", "image/vnd.dwg"],
|
|
1239
|
+
["dxf", "image/vnd.dxf"],
|
|
1240
|
+
["dxp", "application/vnd.spotfire.dxp"],
|
|
1241
|
+
["dxr", "application/x-director"],
|
|
1242
|
+
["ear", "application/java-archive"],
|
|
1243
|
+
["ecelp4800", "audio/vnd.nuera.ecelp4800"],
|
|
1244
|
+
["ecelp7470", "audio/vnd.nuera.ecelp7470"],
|
|
1245
|
+
["ecelp9600", "audio/vnd.nuera.ecelp9600"],
|
|
1246
|
+
["ecma", "application/ecmascript"],
|
|
1247
|
+
["edm", "application/vnd.novadigm.edm"],
|
|
1248
|
+
["edx", "application/vnd.novadigm.edx"],
|
|
1249
|
+
["efif", "application/vnd.picsel"],
|
|
1250
|
+
["ei6", "application/vnd.pg.osasli"],
|
|
1251
|
+
["elc", "application/octet-stream"],
|
|
1252
|
+
["emf", "image/emf"],
|
|
1253
|
+
["eml", "message/rfc822"],
|
|
1254
|
+
["emma", "application/emma+xml"],
|
|
1255
|
+
["emotionml", "application/emotionml+xml"],
|
|
1256
|
+
["emz", "application/x-msmetafile"],
|
|
1257
|
+
["eol", "audio/vnd.digital-winds"],
|
|
1258
|
+
["eot", "application/vnd.ms-fontobject"],
|
|
1259
|
+
["eps", "application/postscript"],
|
|
1260
|
+
["epub", "application/epub+zip"],
|
|
1261
|
+
["es", "application/ecmascript"],
|
|
1262
|
+
["es3", "application/vnd.eszigno3+xml"],
|
|
1263
|
+
["esa", "application/vnd.osgi.subsystem"],
|
|
1264
|
+
["esf", "application/vnd.epson.esf"],
|
|
1265
|
+
["et3", "application/vnd.eszigno3+xml"],
|
|
1266
|
+
["etx", "text/x-setext"],
|
|
1267
|
+
["eva", "application/x-eva"],
|
|
1268
|
+
["evy", "application/x-envoy"],
|
|
1269
|
+
["exe", "application/octet-stream"],
|
|
1270
|
+
["exi", "application/exi"],
|
|
1271
|
+
["exp", "application/express"],
|
|
1272
|
+
["exr", "image/aces"],
|
|
1273
|
+
["ext", "application/vnd.novadigm.ext"],
|
|
1274
|
+
["ez", "application/andrew-inset"],
|
|
1275
|
+
["ez2", "application/vnd.ezpix-album"],
|
|
1276
|
+
["ez3", "application/vnd.ezpix-package"],
|
|
1277
|
+
["f", "text/x-fortran"],
|
|
1278
|
+
["f4v", "video/mp4"],
|
|
1279
|
+
["f77", "text/x-fortran"],
|
|
1280
|
+
["f90", "text/x-fortran"],
|
|
1281
|
+
["fbs", "image/vnd.fastbidsheet"],
|
|
1282
|
+
["fcdt", "application/vnd.adobe.formscentral.fcdt"],
|
|
1283
|
+
["fcs", "application/vnd.isac.fcs"],
|
|
1284
|
+
["fdf", "application/vnd.fdf"],
|
|
1285
|
+
["fdt", "application/fdt+xml"],
|
|
1286
|
+
["fe_launch", "application/vnd.denovo.fcselayout-link"],
|
|
1287
|
+
["fg5", "application/vnd.fujitsu.oasysgp"],
|
|
1288
|
+
["fgd", "application/x-director"],
|
|
1289
|
+
["fh", "image/x-freehand"],
|
|
1290
|
+
["fh4", "image/x-freehand"],
|
|
1291
|
+
["fh5", "image/x-freehand"],
|
|
1292
|
+
["fh7", "image/x-freehand"],
|
|
1293
|
+
["fhc", "image/x-freehand"],
|
|
1294
|
+
["fig", "application/x-xfig"],
|
|
1295
|
+
["fits", "image/fits"],
|
|
1296
|
+
["flac", "audio/x-flac"],
|
|
1297
|
+
["fli", "video/x-fli"],
|
|
1298
|
+
["flo", "application/vnd.micrografx.flo"],
|
|
1299
|
+
["flv", "video/x-flv"],
|
|
1300
|
+
["flw", "application/vnd.kde.kivio"],
|
|
1301
|
+
["flx", "text/vnd.fmi.flexstor"],
|
|
1302
|
+
["fly", "text/vnd.fly"],
|
|
1303
|
+
["fm", "application/vnd.framemaker"],
|
|
1304
|
+
["fnc", "application/vnd.frogans.fnc"],
|
|
1305
|
+
["fo", "application/vnd.software602.filler.form+xml"],
|
|
1306
|
+
["for", "text/x-fortran"],
|
|
1307
|
+
["fpx", "image/vnd.fpx"],
|
|
1308
|
+
["frame", "application/vnd.framemaker"],
|
|
1309
|
+
["fsc", "application/vnd.fsc.weblaunch"],
|
|
1310
|
+
["fst", "image/vnd.fst"],
|
|
1311
|
+
["ftc", "application/vnd.fluxtime.clip"],
|
|
1312
|
+
["fti", "application/vnd.anser-web-funds-transfer-initiation"],
|
|
1313
|
+
["fvt", "video/vnd.fvt"],
|
|
1314
|
+
["fxp", "application/vnd.adobe.fxp"],
|
|
1315
|
+
["fxpl", "application/vnd.adobe.fxp"],
|
|
1316
|
+
["fzs", "application/vnd.fuzzysheet"],
|
|
1317
|
+
["g2w", "application/vnd.geoplan"],
|
|
1318
|
+
["g3", "image/g3fax"],
|
|
1319
|
+
["g3w", "application/vnd.geospace"],
|
|
1320
|
+
["gac", "application/vnd.groove-account"],
|
|
1321
|
+
["gam", "application/x-tads"],
|
|
1322
|
+
["gbr", "application/rpki-ghostbusters"],
|
|
1323
|
+
["gca", "application/x-gca-compressed"],
|
|
1324
|
+
["gdl", "model/vnd.gdl"],
|
|
1325
|
+
["gdoc", "application/vnd.google-apps.document"],
|
|
1326
|
+
["geo", "application/vnd.dynageo"],
|
|
1327
|
+
["geojson", "application/geo+json"],
|
|
1328
|
+
["gex", "application/vnd.geometry-explorer"],
|
|
1329
|
+
["ggb", "application/vnd.geogebra.file"],
|
|
1330
|
+
["ggt", "application/vnd.geogebra.tool"],
|
|
1331
|
+
["ghf", "application/vnd.groove-help"],
|
|
1332
|
+
["gif", "image/gif"],
|
|
1333
|
+
["gim", "application/vnd.groove-identity-message"],
|
|
1334
|
+
["glb", "model/gltf-binary"],
|
|
1335
|
+
["gltf", "model/gltf+json"],
|
|
1336
|
+
["gml", "application/gml+xml"],
|
|
1337
|
+
["gmx", "application/vnd.gmx"],
|
|
1338
|
+
["gnumeric", "application/x-gnumeric"],
|
|
1339
|
+
["gpg", "application/gpg-keys"],
|
|
1340
|
+
["gph", "application/vnd.flographit"],
|
|
1341
|
+
["gpx", "application/gpx+xml"],
|
|
1342
|
+
["gqf", "application/vnd.grafeq"],
|
|
1343
|
+
["gqs", "application/vnd.grafeq"],
|
|
1344
|
+
["gram", "application/srgs"],
|
|
1345
|
+
["gramps", "application/x-gramps-xml"],
|
|
1346
|
+
["gre", "application/vnd.geometry-explorer"],
|
|
1347
|
+
["grv", "application/vnd.groove-injector"],
|
|
1348
|
+
["grxml", "application/srgs+xml"],
|
|
1349
|
+
["gsf", "application/x-font-ghostscript"],
|
|
1350
|
+
["gsheet", "application/vnd.google-apps.spreadsheet"],
|
|
1351
|
+
["gslides", "application/vnd.google-apps.presentation"],
|
|
1352
|
+
["gtar", "application/x-gtar"],
|
|
1353
|
+
["gtm", "application/vnd.groove-tool-message"],
|
|
1354
|
+
["gtw", "model/vnd.gtw"],
|
|
1355
|
+
["gv", "text/vnd.graphviz"],
|
|
1356
|
+
["gxf", "application/gxf"],
|
|
1357
|
+
["gxt", "application/vnd.geonext"],
|
|
1358
|
+
["gz", "application/gzip"],
|
|
1359
|
+
["gzip", "application/gzip"],
|
|
1360
|
+
["h", "text/x-c"],
|
|
1361
|
+
["h261", "video/h261"],
|
|
1362
|
+
["h263", "video/h263"],
|
|
1363
|
+
["h264", "video/h264"],
|
|
1364
|
+
["hal", "application/vnd.hal+xml"],
|
|
1365
|
+
["hbci", "application/vnd.hbci"],
|
|
1366
|
+
["hbs", "text/x-handlebars-template"],
|
|
1367
|
+
["hdd", "application/x-virtualbox-hdd"],
|
|
1368
|
+
["hdf", "application/x-hdf"],
|
|
1369
|
+
["heic", "image/heic"],
|
|
1370
|
+
["heics", "image/heic-sequence"],
|
|
1371
|
+
["heif", "image/heif"],
|
|
1372
|
+
["heifs", "image/heif-sequence"],
|
|
1373
|
+
["hej2", "image/hej2k"],
|
|
1374
|
+
["held", "application/atsc-held+xml"],
|
|
1375
|
+
["hh", "text/x-c"],
|
|
1376
|
+
["hjson", "application/hjson"],
|
|
1377
|
+
["hlp", "application/winhlp"],
|
|
1378
|
+
["hpgl", "application/vnd.hp-hpgl"],
|
|
1379
|
+
["hpid", "application/vnd.hp-hpid"],
|
|
1380
|
+
["hps", "application/vnd.hp-hps"],
|
|
1381
|
+
["hqx", "application/mac-binhex40"],
|
|
1382
|
+
["hsj2", "image/hsj2"],
|
|
1383
|
+
["htc", "text/x-component"],
|
|
1384
|
+
["htke", "application/vnd.kenameaapp"],
|
|
1385
|
+
["htm", "text/html"],
|
|
1386
|
+
["html", "text/html"],
|
|
1387
|
+
["hvd", "application/vnd.yamaha.hv-dic"],
|
|
1388
|
+
["hvp", "application/vnd.yamaha.hv-voice"],
|
|
1389
|
+
["hvs", "application/vnd.yamaha.hv-script"],
|
|
1390
|
+
["i2g", "application/vnd.intergeo"],
|
|
1391
|
+
["icc", "application/vnd.iccprofile"],
|
|
1392
|
+
["ice", "x-conference/x-cooltalk"],
|
|
1393
|
+
["icm", "application/vnd.iccprofile"],
|
|
1394
|
+
["ico", "image/x-icon"],
|
|
1395
|
+
["ics", "text/calendar"],
|
|
1396
|
+
["ief", "image/ief"],
|
|
1397
|
+
["ifb", "text/calendar"],
|
|
1398
|
+
["ifm", "application/vnd.shana.informed.formdata"],
|
|
1399
|
+
["iges", "model/iges"],
|
|
1400
|
+
["igl", "application/vnd.igloader"],
|
|
1401
|
+
["igm", "application/vnd.insors.igm"],
|
|
1402
|
+
["igs", "model/iges"],
|
|
1403
|
+
["igx", "application/vnd.micrografx.igx"],
|
|
1404
|
+
["iif", "application/vnd.shana.informed.interchange"],
|
|
1405
|
+
["img", "application/octet-stream"],
|
|
1406
|
+
["imp", "application/vnd.accpac.simply.imp"],
|
|
1407
|
+
["ims", "application/vnd.ms-ims"],
|
|
1408
|
+
["in", "text/plain"],
|
|
1409
|
+
["ini", "text/plain"],
|
|
1410
|
+
["ink", "application/inkml+xml"],
|
|
1411
|
+
["inkml", "application/inkml+xml"],
|
|
1412
|
+
["install", "application/x-install-instructions"],
|
|
1413
|
+
["iota", "application/vnd.astraea-software.iota"],
|
|
1414
|
+
["ipfix", "application/ipfix"],
|
|
1415
|
+
["ipk", "application/vnd.shana.informed.package"],
|
|
1416
|
+
["irm", "application/vnd.ibm.rights-management"],
|
|
1417
|
+
["irp", "application/vnd.irepository.package+xml"],
|
|
1418
|
+
["iso", "application/x-iso9660-image"],
|
|
1419
|
+
["itp", "application/vnd.shana.informed.formtemplate"],
|
|
1420
|
+
["its", "application/its+xml"],
|
|
1421
|
+
["ivp", "application/vnd.immervision-ivp"],
|
|
1422
|
+
["ivu", "application/vnd.immervision-ivu"],
|
|
1423
|
+
["jad", "text/vnd.sun.j2me.app-descriptor"],
|
|
1424
|
+
["jade", "text/jade"],
|
|
1425
|
+
["jam", "application/vnd.jam"],
|
|
1426
|
+
["jar", "application/java-archive"],
|
|
1427
|
+
["jardiff", "application/x-java-archive-diff"],
|
|
1428
|
+
["java", "text/x-java-source"],
|
|
1429
|
+
["jhc", "image/jphc"],
|
|
1430
|
+
["jisp", "application/vnd.jisp"],
|
|
1431
|
+
["jls", "image/jls"],
|
|
1432
|
+
["jlt", "application/vnd.hp-jlyt"],
|
|
1433
|
+
["jng", "image/x-jng"],
|
|
1434
|
+
["jnlp", "application/x-java-jnlp-file"],
|
|
1435
|
+
["joda", "application/vnd.joost.joda-archive"],
|
|
1436
|
+
["jp2", "image/jp2"],
|
|
1437
|
+
["jpe", "image/jpeg"],
|
|
1438
|
+
["jpeg", "image/jpeg"],
|
|
1439
|
+
["jpf", "image/jpx"],
|
|
1440
|
+
["jpg", "image/jpeg"],
|
|
1441
|
+
["jpg2", "image/jp2"],
|
|
1442
|
+
["jpgm", "video/jpm"],
|
|
1443
|
+
["jpgv", "video/jpeg"],
|
|
1444
|
+
["jph", "image/jph"],
|
|
1445
|
+
["jpm", "video/jpm"],
|
|
1446
|
+
["jpx", "image/jpx"],
|
|
1447
|
+
["js", "application/javascript"],
|
|
1448
|
+
["json", "application/json"],
|
|
1449
|
+
["json5", "application/json5"],
|
|
1450
|
+
["jsonld", "application/ld+json"],
|
|
1451
|
+
// https://jsonlines.org/
|
|
1452
|
+
["jsonl", "application/jsonl"],
|
|
1453
|
+
["jsonml", "application/jsonml+json"],
|
|
1454
|
+
["jsx", "text/jsx"],
|
|
1455
|
+
["jxr", "image/jxr"],
|
|
1456
|
+
["jxra", "image/jxra"],
|
|
1457
|
+
["jxrs", "image/jxrs"],
|
|
1458
|
+
["jxs", "image/jxs"],
|
|
1459
|
+
["jxsc", "image/jxsc"],
|
|
1460
|
+
["jxsi", "image/jxsi"],
|
|
1461
|
+
["jxss", "image/jxss"],
|
|
1462
|
+
["kar", "audio/midi"],
|
|
1463
|
+
["karbon", "application/vnd.kde.karbon"],
|
|
1464
|
+
["kdb", "application/octet-stream"],
|
|
1465
|
+
["kdbx", "application/x-keepass2"],
|
|
1466
|
+
["key", "application/x-iwork-keynote-sffkey"],
|
|
1467
|
+
["kfo", "application/vnd.kde.kformula"],
|
|
1468
|
+
["kia", "application/vnd.kidspiration"],
|
|
1469
|
+
["kml", "application/vnd.google-earth.kml+xml"],
|
|
1470
|
+
["kmz", "application/vnd.google-earth.kmz"],
|
|
1471
|
+
["kne", "application/vnd.kinar"],
|
|
1472
|
+
["knp", "application/vnd.kinar"],
|
|
1473
|
+
["kon", "application/vnd.kde.kontour"],
|
|
1474
|
+
["kpr", "application/vnd.kde.kpresenter"],
|
|
1475
|
+
["kpt", "application/vnd.kde.kpresenter"],
|
|
1476
|
+
["kpxx", "application/vnd.ds-keypoint"],
|
|
1477
|
+
["ksp", "application/vnd.kde.kspread"],
|
|
1478
|
+
["ktr", "application/vnd.kahootz"],
|
|
1479
|
+
["ktx", "image/ktx"],
|
|
1480
|
+
["ktx2", "image/ktx2"],
|
|
1481
|
+
["ktz", "application/vnd.kahootz"],
|
|
1482
|
+
["kwd", "application/vnd.kde.kword"],
|
|
1483
|
+
["kwt", "application/vnd.kde.kword"],
|
|
1484
|
+
["lasxml", "application/vnd.las.las+xml"],
|
|
1485
|
+
["latex", "application/x-latex"],
|
|
1486
|
+
["lbd", "application/vnd.llamagraphics.life-balance.desktop"],
|
|
1487
|
+
["lbe", "application/vnd.llamagraphics.life-balance.exchange+xml"],
|
|
1488
|
+
["les", "application/vnd.hhe.lesson-player"],
|
|
1489
|
+
["less", "text/less"],
|
|
1490
|
+
["lgr", "application/lgr+xml"],
|
|
1491
|
+
["lha", "application/octet-stream"],
|
|
1492
|
+
["link66", "application/vnd.route66.link66+xml"],
|
|
1493
|
+
["list", "text/plain"],
|
|
1494
|
+
["list3820", "application/vnd.ibm.modcap"],
|
|
1495
|
+
["listafp", "application/vnd.ibm.modcap"],
|
|
1496
|
+
["litcoffee", "text/coffeescript"],
|
|
1497
|
+
["lnk", "application/x-ms-shortcut"],
|
|
1498
|
+
["log", "text/plain"],
|
|
1499
|
+
["lostxml", "application/lost+xml"],
|
|
1500
|
+
["lrf", "application/octet-stream"],
|
|
1501
|
+
["lrm", "application/vnd.ms-lrm"],
|
|
1502
|
+
["ltf", "application/vnd.frogans.ltf"],
|
|
1503
|
+
["lua", "text/x-lua"],
|
|
1504
|
+
["luac", "application/x-lua-bytecode"],
|
|
1505
|
+
["lvp", "audio/vnd.lucent.voice"],
|
|
1506
|
+
["lwp", "application/vnd.lotus-wordpro"],
|
|
1507
|
+
["lzh", "application/octet-stream"],
|
|
1508
|
+
["m1v", "video/mpeg"],
|
|
1509
|
+
["m2a", "audio/mpeg"],
|
|
1510
|
+
["m2v", "video/mpeg"],
|
|
1511
|
+
["m3a", "audio/mpeg"],
|
|
1512
|
+
["m3u", "text/plain"],
|
|
1513
|
+
["m3u8", "application/vnd.apple.mpegurl"],
|
|
1514
|
+
["m4a", "audio/x-m4a"],
|
|
1515
|
+
["m4p", "application/mp4"],
|
|
1516
|
+
["m4s", "video/iso.segment"],
|
|
1517
|
+
["m4u", "application/vnd.mpegurl"],
|
|
1518
|
+
["m4v", "video/x-m4v"],
|
|
1519
|
+
["m13", "application/x-msmediaview"],
|
|
1520
|
+
["m14", "application/x-msmediaview"],
|
|
1521
|
+
["m21", "application/mp21"],
|
|
1522
|
+
["ma", "application/mathematica"],
|
|
1523
|
+
["mads", "application/mads+xml"],
|
|
1524
|
+
["maei", "application/mmt-aei+xml"],
|
|
1525
|
+
["mag", "application/vnd.ecowin.chart"],
|
|
1526
|
+
["maker", "application/vnd.framemaker"],
|
|
1527
|
+
["man", "text/troff"],
|
|
1528
|
+
["manifest", "text/cache-manifest"],
|
|
1529
|
+
["map", "application/json"],
|
|
1530
|
+
["mar", "application/octet-stream"],
|
|
1531
|
+
["markdown", "text/markdown"],
|
|
1532
|
+
["mathml", "application/mathml+xml"],
|
|
1533
|
+
["mb", "application/mathematica"],
|
|
1534
|
+
["mbk", "application/vnd.mobius.mbk"],
|
|
1535
|
+
["mbox", "application/mbox"],
|
|
1536
|
+
["mc1", "application/vnd.medcalcdata"],
|
|
1537
|
+
["mcd", "application/vnd.mcd"],
|
|
1538
|
+
["mcurl", "text/vnd.curl.mcurl"],
|
|
1539
|
+
["md", "text/markdown"],
|
|
1540
|
+
["mdb", "application/x-msaccess"],
|
|
1541
|
+
["mdi", "image/vnd.ms-modi"],
|
|
1542
|
+
["mdx", "text/mdx"],
|
|
1543
|
+
["me", "text/troff"],
|
|
1544
|
+
["mesh", "model/mesh"],
|
|
1545
|
+
["meta4", "application/metalink4+xml"],
|
|
1546
|
+
["metalink", "application/metalink+xml"],
|
|
1547
|
+
["mets", "application/mets+xml"],
|
|
1548
|
+
["mfm", "application/vnd.mfmp"],
|
|
1549
|
+
["mft", "application/rpki-manifest"],
|
|
1550
|
+
["mgp", "application/vnd.osgeo.mapguide.package"],
|
|
1551
|
+
["mgz", "application/vnd.proteus.magazine"],
|
|
1552
|
+
["mid", "audio/midi"],
|
|
1553
|
+
["midi", "audio/midi"],
|
|
1554
|
+
["mie", "application/x-mie"],
|
|
1555
|
+
["mif", "application/vnd.mif"],
|
|
1556
|
+
["mime", "message/rfc822"],
|
|
1557
|
+
["mj2", "video/mj2"],
|
|
1558
|
+
["mjp2", "video/mj2"],
|
|
1559
|
+
["mjs", "application/javascript"],
|
|
1560
|
+
["mk3d", "video/x-matroska"],
|
|
1561
|
+
["mka", "audio/x-matroska"],
|
|
1562
|
+
["mkd", "text/x-markdown"],
|
|
1563
|
+
["mks", "video/x-matroska"],
|
|
1564
|
+
["mkv", "video/x-matroska"],
|
|
1565
|
+
["mlp", "application/vnd.dolby.mlp"],
|
|
1566
|
+
["mmd", "application/vnd.chipnuts.karaoke-mmd"],
|
|
1567
|
+
["mmf", "application/vnd.smaf"],
|
|
1568
|
+
["mml", "text/mathml"],
|
|
1569
|
+
["mmr", "image/vnd.fujixerox.edmics-mmr"],
|
|
1570
|
+
["mng", "video/x-mng"],
|
|
1571
|
+
["mny", "application/x-msmoney"],
|
|
1572
|
+
["mobi", "application/x-mobipocket-ebook"],
|
|
1573
|
+
["mods", "application/mods+xml"],
|
|
1574
|
+
["mov", "video/quicktime"],
|
|
1575
|
+
["movie", "video/x-sgi-movie"],
|
|
1576
|
+
["mp2", "audio/mpeg"],
|
|
1577
|
+
["mp2a", "audio/mpeg"],
|
|
1578
|
+
["mp3", "audio/mpeg"],
|
|
1579
|
+
["mp4", "video/mp4"],
|
|
1580
|
+
["mp4a", "audio/mp4"],
|
|
1581
|
+
["mp4s", "application/mp4"],
|
|
1582
|
+
["mp4v", "video/mp4"],
|
|
1583
|
+
["mp21", "application/mp21"],
|
|
1584
|
+
["mpc", "application/vnd.mophun.certificate"],
|
|
1585
|
+
["mpd", "application/dash+xml"],
|
|
1586
|
+
["mpe", "video/mpeg"],
|
|
1587
|
+
["mpeg", "video/mpeg"],
|
|
1588
|
+
["mpg", "video/mpeg"],
|
|
1589
|
+
["mpg4", "video/mp4"],
|
|
1590
|
+
["mpga", "audio/mpeg"],
|
|
1591
|
+
["mpkg", "application/vnd.apple.installer+xml"],
|
|
1592
|
+
["mpm", "application/vnd.blueice.multipass"],
|
|
1593
|
+
["mpn", "application/vnd.mophun.application"],
|
|
1594
|
+
["mpp", "application/vnd.ms-project"],
|
|
1595
|
+
["mpt", "application/vnd.ms-project"],
|
|
1596
|
+
["mpy", "application/vnd.ibm.minipay"],
|
|
1597
|
+
["mqy", "application/vnd.mobius.mqy"],
|
|
1598
|
+
["mrc", "application/marc"],
|
|
1599
|
+
["mrcx", "application/marcxml+xml"],
|
|
1600
|
+
["ms", "text/troff"],
|
|
1601
|
+
["mscml", "application/mediaservercontrol+xml"],
|
|
1602
|
+
["mseed", "application/vnd.fdsn.mseed"],
|
|
1603
|
+
["mseq", "application/vnd.mseq"],
|
|
1604
|
+
["msf", "application/vnd.epson.msf"],
|
|
1605
|
+
["msg", "application/vnd.ms-outlook"],
|
|
1606
|
+
["msh", "model/mesh"],
|
|
1607
|
+
["msi", "application/x-msdownload"],
|
|
1608
|
+
["msl", "application/vnd.mobius.msl"],
|
|
1609
|
+
["msm", "application/octet-stream"],
|
|
1610
|
+
["msp", "application/octet-stream"],
|
|
1611
|
+
["msty", "application/vnd.muvee.style"],
|
|
1612
|
+
["mtl", "model/mtl"],
|
|
1613
|
+
["mts", "model/vnd.mts"],
|
|
1614
|
+
["mus", "application/vnd.musician"],
|
|
1615
|
+
["musd", "application/mmt-usd+xml"],
|
|
1616
|
+
["musicxml", "application/vnd.recordare.musicxml+xml"],
|
|
1617
|
+
["mvb", "application/x-msmediaview"],
|
|
1618
|
+
["mvt", "application/vnd.mapbox-vector-tile"],
|
|
1619
|
+
["mwf", "application/vnd.mfer"],
|
|
1620
|
+
["mxf", "application/mxf"],
|
|
1621
|
+
["mxl", "application/vnd.recordare.musicxml"],
|
|
1622
|
+
["mxmf", "audio/mobile-xmf"],
|
|
1623
|
+
["mxml", "application/xv+xml"],
|
|
1624
|
+
["mxs", "application/vnd.triscape.mxs"],
|
|
1625
|
+
["mxu", "video/vnd.mpegurl"],
|
|
1626
|
+
["n-gage", "application/vnd.nokia.n-gage.symbian.install"],
|
|
1627
|
+
["n3", "text/n3"],
|
|
1628
|
+
["nb", "application/mathematica"],
|
|
1629
|
+
["nbp", "application/vnd.wolfram.player"],
|
|
1630
|
+
["nc", "application/x-netcdf"],
|
|
1631
|
+
["ncx", "application/x-dtbncx+xml"],
|
|
1632
|
+
["nfo", "text/x-nfo"],
|
|
1633
|
+
["ngdat", "application/vnd.nokia.n-gage.data"],
|
|
1634
|
+
["nitf", "application/vnd.nitf"],
|
|
1635
|
+
["nlu", "application/vnd.neurolanguage.nlu"],
|
|
1636
|
+
["nml", "application/vnd.enliven"],
|
|
1637
|
+
["nnd", "application/vnd.noblenet-directory"],
|
|
1638
|
+
["nns", "application/vnd.noblenet-sealer"],
|
|
1639
|
+
["nnw", "application/vnd.noblenet-web"],
|
|
1640
|
+
["npx", "image/vnd.net-fpx"],
|
|
1641
|
+
["nq", "application/n-quads"],
|
|
1642
|
+
["nsc", "application/x-conference"],
|
|
1643
|
+
["nsf", "application/vnd.lotus-notes"],
|
|
1644
|
+
["nt", "application/n-triples"],
|
|
1645
|
+
["ntf", "application/vnd.nitf"],
|
|
1646
|
+
["numbers", "application/x-iwork-numbers-sffnumbers"],
|
|
1647
|
+
["nzb", "application/x-nzb"],
|
|
1648
|
+
["oa2", "application/vnd.fujitsu.oasys2"],
|
|
1649
|
+
["oa3", "application/vnd.fujitsu.oasys3"],
|
|
1650
|
+
["oas", "application/vnd.fujitsu.oasys"],
|
|
1651
|
+
["obd", "application/x-msbinder"],
|
|
1652
|
+
["obgx", "application/vnd.openblox.game+xml"],
|
|
1653
|
+
["obj", "model/obj"],
|
|
1654
|
+
["oda", "application/oda"],
|
|
1655
|
+
["odb", "application/vnd.oasis.opendocument.database"],
|
|
1656
|
+
["odc", "application/vnd.oasis.opendocument.chart"],
|
|
1657
|
+
["odf", "application/vnd.oasis.opendocument.formula"],
|
|
1658
|
+
["odft", "application/vnd.oasis.opendocument.formula-template"],
|
|
1659
|
+
["odg", "application/vnd.oasis.opendocument.graphics"],
|
|
1660
|
+
["odi", "application/vnd.oasis.opendocument.image"],
|
|
1661
|
+
["odm", "application/vnd.oasis.opendocument.text-master"],
|
|
1662
|
+
["odp", "application/vnd.oasis.opendocument.presentation"],
|
|
1663
|
+
["ods", "application/vnd.oasis.opendocument.spreadsheet"],
|
|
1664
|
+
["odt", "application/vnd.oasis.opendocument.text"],
|
|
1665
|
+
["oga", "audio/ogg"],
|
|
1666
|
+
["ogex", "model/vnd.opengex"],
|
|
1667
|
+
["ogg", "audio/ogg"],
|
|
1668
|
+
["ogv", "video/ogg"],
|
|
1669
|
+
["ogx", "application/ogg"],
|
|
1670
|
+
["omdoc", "application/omdoc+xml"],
|
|
1671
|
+
["onepkg", "application/onenote"],
|
|
1672
|
+
["onetmp", "application/onenote"],
|
|
1673
|
+
["onetoc", "application/onenote"],
|
|
1674
|
+
["onetoc2", "application/onenote"],
|
|
1675
|
+
["opf", "application/oebps-package+xml"],
|
|
1676
|
+
["opml", "text/x-opml"],
|
|
1677
|
+
["oprc", "application/vnd.palm"],
|
|
1678
|
+
["opus", "audio/ogg"],
|
|
1679
|
+
["org", "text/x-org"],
|
|
1680
|
+
["osf", "application/vnd.yamaha.openscoreformat"],
|
|
1681
|
+
["osfpvg", "application/vnd.yamaha.openscoreformat.osfpvg+xml"],
|
|
1682
|
+
["osm", "application/vnd.openstreetmap.data+xml"],
|
|
1683
|
+
["otc", "application/vnd.oasis.opendocument.chart-template"],
|
|
1684
|
+
["otf", "font/otf"],
|
|
1685
|
+
["otg", "application/vnd.oasis.opendocument.graphics-template"],
|
|
1686
|
+
["oth", "application/vnd.oasis.opendocument.text-web"],
|
|
1687
|
+
["oti", "application/vnd.oasis.opendocument.image-template"],
|
|
1688
|
+
["otp", "application/vnd.oasis.opendocument.presentation-template"],
|
|
1689
|
+
["ots", "application/vnd.oasis.opendocument.spreadsheet-template"],
|
|
1690
|
+
["ott", "application/vnd.oasis.opendocument.text-template"],
|
|
1691
|
+
["ova", "application/x-virtualbox-ova"],
|
|
1692
|
+
["ovf", "application/x-virtualbox-ovf"],
|
|
1693
|
+
["owl", "application/rdf+xml"],
|
|
1694
|
+
["oxps", "application/oxps"],
|
|
1695
|
+
["oxt", "application/vnd.openofficeorg.extension"],
|
|
1696
|
+
["p", "text/x-pascal"],
|
|
1697
|
+
["p7a", "application/x-pkcs7-signature"],
|
|
1698
|
+
["p7b", "application/x-pkcs7-certificates"],
|
|
1699
|
+
["p7c", "application/pkcs7-mime"],
|
|
1700
|
+
["p7m", "application/pkcs7-mime"],
|
|
1701
|
+
["p7r", "application/x-pkcs7-certreqresp"],
|
|
1702
|
+
["p7s", "application/pkcs7-signature"],
|
|
1703
|
+
["p8", "application/pkcs8"],
|
|
1704
|
+
["p10", "application/x-pkcs10"],
|
|
1705
|
+
["p12", "application/x-pkcs12"],
|
|
1706
|
+
["pac", "application/x-ns-proxy-autoconfig"],
|
|
1707
|
+
["pages", "application/x-iwork-pages-sffpages"],
|
|
1708
|
+
["pas", "text/x-pascal"],
|
|
1709
|
+
["paw", "application/vnd.pawaafile"],
|
|
1710
|
+
["pbd", "application/vnd.powerbuilder6"],
|
|
1711
|
+
["pbm", "image/x-portable-bitmap"],
|
|
1712
|
+
["pcap", "application/vnd.tcpdump.pcap"],
|
|
1713
|
+
["pcf", "application/x-font-pcf"],
|
|
1714
|
+
["pcl", "application/vnd.hp-pcl"],
|
|
1715
|
+
["pclxl", "application/vnd.hp-pclxl"],
|
|
1716
|
+
["pct", "image/x-pict"],
|
|
1717
|
+
["pcurl", "application/vnd.curl.pcurl"],
|
|
1718
|
+
["pcx", "image/x-pcx"],
|
|
1719
|
+
["pdb", "application/x-pilot"],
|
|
1720
|
+
["pde", "text/x-processing"],
|
|
1721
|
+
["pdf", "application/pdf"],
|
|
1722
|
+
["pem", "application/x-x509-user-cert"],
|
|
1723
|
+
["pfa", "application/x-font-type1"],
|
|
1724
|
+
["pfb", "application/x-font-type1"],
|
|
1725
|
+
["pfm", "application/x-font-type1"],
|
|
1726
|
+
["pfr", "application/font-tdpfr"],
|
|
1727
|
+
["pfx", "application/x-pkcs12"],
|
|
1728
|
+
["pgm", "image/x-portable-graymap"],
|
|
1729
|
+
["pgn", "application/x-chess-pgn"],
|
|
1730
|
+
["pgp", "application/pgp"],
|
|
1731
|
+
["php", "application/x-httpd-php"],
|
|
1732
|
+
["php3", "application/x-httpd-php"],
|
|
1733
|
+
["php4", "application/x-httpd-php"],
|
|
1734
|
+
["phps", "application/x-httpd-php-source"],
|
|
1735
|
+
["phtml", "application/x-httpd-php"],
|
|
1736
|
+
["pic", "image/x-pict"],
|
|
1737
|
+
["pkg", "application/octet-stream"],
|
|
1738
|
+
["pki", "application/pkixcmp"],
|
|
1739
|
+
["pkipath", "application/pkix-pkipath"],
|
|
1740
|
+
["pkpass", "application/vnd.apple.pkpass"],
|
|
1741
|
+
["pl", "application/x-perl"],
|
|
1742
|
+
["plb", "application/vnd.3gpp.pic-bw-large"],
|
|
1743
|
+
["plc", "application/vnd.mobius.plc"],
|
|
1744
|
+
["plf", "application/vnd.pocketlearn"],
|
|
1745
|
+
["pls", "application/pls+xml"],
|
|
1746
|
+
["pm", "application/x-perl"],
|
|
1747
|
+
["pml", "application/vnd.ctc-posml"],
|
|
1748
|
+
["png", "image/png"],
|
|
1749
|
+
["pnm", "image/x-portable-anymap"],
|
|
1750
|
+
["portpkg", "application/vnd.macports.portpkg"],
|
|
1751
|
+
["pot", "application/vnd.ms-powerpoint"],
|
|
1752
|
+
["potm", "application/vnd.ms-powerpoint.presentation.macroEnabled.12"],
|
|
1753
|
+
["potx", "application/vnd.openxmlformats-officedocument.presentationml.template"],
|
|
1754
|
+
["ppa", "application/vnd.ms-powerpoint"],
|
|
1755
|
+
["ppam", "application/vnd.ms-powerpoint.addin.macroEnabled.12"],
|
|
1756
|
+
["ppd", "application/vnd.cups-ppd"],
|
|
1757
|
+
["ppm", "image/x-portable-pixmap"],
|
|
1758
|
+
["pps", "application/vnd.ms-powerpoint"],
|
|
1759
|
+
["ppsm", "application/vnd.ms-powerpoint.slideshow.macroEnabled.12"],
|
|
1760
|
+
["ppsx", "application/vnd.openxmlformats-officedocument.presentationml.slideshow"],
|
|
1761
|
+
["ppt", "application/powerpoint"],
|
|
1762
|
+
["pptm", "application/vnd.ms-powerpoint.presentation.macroEnabled.12"],
|
|
1763
|
+
["pptx", "application/vnd.openxmlformats-officedocument.presentationml.presentation"],
|
|
1764
|
+
["pqa", "application/vnd.palm"],
|
|
1765
|
+
["prc", "application/x-pilot"],
|
|
1766
|
+
["pre", "application/vnd.lotus-freelance"],
|
|
1767
|
+
["prf", "application/pics-rules"],
|
|
1768
|
+
["provx", "application/provenance+xml"],
|
|
1769
|
+
["ps", "application/postscript"],
|
|
1770
|
+
["psb", "application/vnd.3gpp.pic-bw-small"],
|
|
1771
|
+
["psd", "application/x-photoshop"],
|
|
1772
|
+
["psf", "application/x-font-linux-psf"],
|
|
1773
|
+
["pskcxml", "application/pskc+xml"],
|
|
1774
|
+
["pti", "image/prs.pti"],
|
|
1775
|
+
["ptid", "application/vnd.pvi.ptid1"],
|
|
1776
|
+
["pub", "application/x-mspublisher"],
|
|
1777
|
+
["pvb", "application/vnd.3gpp.pic-bw-var"],
|
|
1778
|
+
["pwn", "application/vnd.3m.post-it-notes"],
|
|
1779
|
+
["pya", "audio/vnd.ms-playready.media.pya"],
|
|
1780
|
+
["pyv", "video/vnd.ms-playready.media.pyv"],
|
|
1781
|
+
["qam", "application/vnd.epson.quickanime"],
|
|
1782
|
+
["qbo", "application/vnd.intu.qbo"],
|
|
1783
|
+
["qfx", "application/vnd.intu.qfx"],
|
|
1784
|
+
["qps", "application/vnd.publishare-delta-tree"],
|
|
1785
|
+
["qt", "video/quicktime"],
|
|
1786
|
+
["qwd", "application/vnd.quark.quarkxpress"],
|
|
1787
|
+
["qwt", "application/vnd.quark.quarkxpress"],
|
|
1788
|
+
["qxb", "application/vnd.quark.quarkxpress"],
|
|
1789
|
+
["qxd", "application/vnd.quark.quarkxpress"],
|
|
1790
|
+
["qxl", "application/vnd.quark.quarkxpress"],
|
|
1791
|
+
["qxt", "application/vnd.quark.quarkxpress"],
|
|
1792
|
+
["ra", "audio/x-realaudio"],
|
|
1793
|
+
["ram", "audio/x-pn-realaudio"],
|
|
1794
|
+
["raml", "application/raml+yaml"],
|
|
1795
|
+
["rapd", "application/route-apd+xml"],
|
|
1796
|
+
["rar", "application/x-rar"],
|
|
1797
|
+
["ras", "image/x-cmu-raster"],
|
|
1798
|
+
["rcprofile", "application/vnd.ipunplugged.rcprofile"],
|
|
1799
|
+
["rdf", "application/rdf+xml"],
|
|
1800
|
+
["rdz", "application/vnd.data-vision.rdz"],
|
|
1801
|
+
["relo", "application/p2p-overlay+xml"],
|
|
1802
|
+
["rep", "application/vnd.businessobjects"],
|
|
1803
|
+
["res", "application/x-dtbresource+xml"],
|
|
1804
|
+
["rgb", "image/x-rgb"],
|
|
1805
|
+
["rif", "application/reginfo+xml"],
|
|
1806
|
+
["rip", "audio/vnd.rip"],
|
|
1807
|
+
["ris", "application/x-research-info-systems"],
|
|
1808
|
+
["rl", "application/resource-lists+xml"],
|
|
1809
|
+
["rlc", "image/vnd.fujixerox.edmics-rlc"],
|
|
1810
|
+
["rld", "application/resource-lists-diff+xml"],
|
|
1811
|
+
["rm", "audio/x-pn-realaudio"],
|
|
1812
|
+
["rmi", "audio/midi"],
|
|
1813
|
+
["rmp", "audio/x-pn-realaudio-plugin"],
|
|
1814
|
+
["rms", "application/vnd.jcp.javame.midlet-rms"],
|
|
1815
|
+
["rmvb", "application/vnd.rn-realmedia-vbr"],
|
|
1816
|
+
["rnc", "application/relax-ng-compact-syntax"],
|
|
1817
|
+
["rng", "application/xml"],
|
|
1818
|
+
["roa", "application/rpki-roa"],
|
|
1819
|
+
["roff", "text/troff"],
|
|
1820
|
+
["rp9", "application/vnd.cloanto.rp9"],
|
|
1821
|
+
["rpm", "audio/x-pn-realaudio-plugin"],
|
|
1822
|
+
["rpss", "application/vnd.nokia.radio-presets"],
|
|
1823
|
+
["rpst", "application/vnd.nokia.radio-preset"],
|
|
1824
|
+
["rq", "application/sparql-query"],
|
|
1825
|
+
["rs", "application/rls-services+xml"],
|
|
1826
|
+
["rsa", "application/x-pkcs7"],
|
|
1827
|
+
["rsat", "application/atsc-rsat+xml"],
|
|
1828
|
+
["rsd", "application/rsd+xml"],
|
|
1829
|
+
["rsheet", "application/urc-ressheet+xml"],
|
|
1830
|
+
["rss", "application/rss+xml"],
|
|
1831
|
+
["rtf", "text/rtf"],
|
|
1832
|
+
["rtx", "text/richtext"],
|
|
1833
|
+
["run", "application/x-makeself"],
|
|
1834
|
+
["rusd", "application/route-usd+xml"],
|
|
1835
|
+
["rv", "video/vnd.rn-realvideo"],
|
|
1836
|
+
["s", "text/x-asm"],
|
|
1837
|
+
["s3m", "audio/s3m"],
|
|
1838
|
+
["saf", "application/vnd.yamaha.smaf-audio"],
|
|
1839
|
+
["sass", "text/x-sass"],
|
|
1840
|
+
["sbml", "application/sbml+xml"],
|
|
1841
|
+
["sc", "application/vnd.ibm.secure-container"],
|
|
1842
|
+
["scd", "application/x-msschedule"],
|
|
1843
|
+
["scm", "application/vnd.lotus-screencam"],
|
|
1844
|
+
["scq", "application/scvp-cv-request"],
|
|
1845
|
+
["scs", "application/scvp-cv-response"],
|
|
1846
|
+
["scss", "text/x-scss"],
|
|
1847
|
+
["scurl", "text/vnd.curl.scurl"],
|
|
1848
|
+
["sda", "application/vnd.stardivision.draw"],
|
|
1849
|
+
["sdc", "application/vnd.stardivision.calc"],
|
|
1850
|
+
["sdd", "application/vnd.stardivision.impress"],
|
|
1851
|
+
["sdkd", "application/vnd.solent.sdkm+xml"],
|
|
1852
|
+
["sdkm", "application/vnd.solent.sdkm+xml"],
|
|
1853
|
+
["sdp", "application/sdp"],
|
|
1854
|
+
["sdw", "application/vnd.stardivision.writer"],
|
|
1855
|
+
["sea", "application/octet-stream"],
|
|
1856
|
+
["see", "application/vnd.seemail"],
|
|
1857
|
+
["seed", "application/vnd.fdsn.seed"],
|
|
1858
|
+
["sema", "application/vnd.sema"],
|
|
1859
|
+
["semd", "application/vnd.semd"],
|
|
1860
|
+
["semf", "application/vnd.semf"],
|
|
1861
|
+
["senmlx", "application/senml+xml"],
|
|
1862
|
+
["sensmlx", "application/sensml+xml"],
|
|
1863
|
+
["ser", "application/java-serialized-object"],
|
|
1864
|
+
["setpay", "application/set-payment-initiation"],
|
|
1865
|
+
["setreg", "application/set-registration-initiation"],
|
|
1866
|
+
["sfd-hdstx", "application/vnd.hydrostatix.sof-data"],
|
|
1867
|
+
["sfs", "application/vnd.spotfire.sfs"],
|
|
1868
|
+
["sfv", "text/x-sfv"],
|
|
1869
|
+
["sgi", "image/sgi"],
|
|
1870
|
+
["sgl", "application/vnd.stardivision.writer-global"],
|
|
1871
|
+
["sgm", "text/sgml"],
|
|
1872
|
+
["sgml", "text/sgml"],
|
|
1873
|
+
["sh", "application/x-sh"],
|
|
1874
|
+
["shar", "application/x-shar"],
|
|
1875
|
+
["shex", "text/shex"],
|
|
1876
|
+
["shf", "application/shf+xml"],
|
|
1877
|
+
["shtml", "text/html"],
|
|
1878
|
+
["sid", "image/x-mrsid-image"],
|
|
1879
|
+
["sieve", "application/sieve"],
|
|
1880
|
+
["sig", "application/pgp-signature"],
|
|
1881
|
+
["sil", "audio/silk"],
|
|
1882
|
+
["silo", "model/mesh"],
|
|
1883
|
+
["sis", "application/vnd.symbian.install"],
|
|
1884
|
+
["sisx", "application/vnd.symbian.install"],
|
|
1885
|
+
["sit", "application/x-stuffit"],
|
|
1886
|
+
["sitx", "application/x-stuffitx"],
|
|
1887
|
+
["siv", "application/sieve"],
|
|
1888
|
+
["skd", "application/vnd.koan"],
|
|
1889
|
+
["skm", "application/vnd.koan"],
|
|
1890
|
+
["skp", "application/vnd.koan"],
|
|
1891
|
+
["skt", "application/vnd.koan"],
|
|
1892
|
+
["sldm", "application/vnd.ms-powerpoint.slide.macroenabled.12"],
|
|
1893
|
+
["sldx", "application/vnd.openxmlformats-officedocument.presentationml.slide"],
|
|
1894
|
+
["slim", "text/slim"],
|
|
1895
|
+
["slm", "text/slim"],
|
|
1896
|
+
["sls", "application/route-s-tsid+xml"],
|
|
1897
|
+
["slt", "application/vnd.epson.salt"],
|
|
1898
|
+
["sm", "application/vnd.stepmania.stepchart"],
|
|
1899
|
+
["smf", "application/vnd.stardivision.math"],
|
|
1900
|
+
["smi", "application/smil"],
|
|
1901
|
+
["smil", "application/smil"],
|
|
1902
|
+
["smv", "video/x-smv"],
|
|
1903
|
+
["smzip", "application/vnd.stepmania.package"],
|
|
1904
|
+
["snd", "audio/basic"],
|
|
1905
|
+
["snf", "application/x-font-snf"],
|
|
1906
|
+
["so", "application/octet-stream"],
|
|
1907
|
+
["spc", "application/x-pkcs7-certificates"],
|
|
1908
|
+
["spdx", "text/spdx"],
|
|
1909
|
+
["spf", "application/vnd.yamaha.smaf-phrase"],
|
|
1910
|
+
["spl", "application/x-futuresplash"],
|
|
1911
|
+
["spot", "text/vnd.in3d.spot"],
|
|
1912
|
+
["spp", "application/scvp-vp-response"],
|
|
1913
|
+
["spq", "application/scvp-vp-request"],
|
|
1914
|
+
["spx", "audio/ogg"],
|
|
1915
|
+
["sql", "application/x-sql"],
|
|
1916
|
+
["src", "application/x-wais-source"],
|
|
1917
|
+
["srt", "application/x-subrip"],
|
|
1918
|
+
["sru", "application/sru+xml"],
|
|
1919
|
+
["srx", "application/sparql-results+xml"],
|
|
1920
|
+
["ssdl", "application/ssdl+xml"],
|
|
1921
|
+
["sse", "application/vnd.kodak-descriptor"],
|
|
1922
|
+
["ssf", "application/vnd.epson.ssf"],
|
|
1923
|
+
["ssml", "application/ssml+xml"],
|
|
1924
|
+
["sst", "application/octet-stream"],
|
|
1925
|
+
["st", "application/vnd.sailingtracker.track"],
|
|
1926
|
+
["stc", "application/vnd.sun.xml.calc.template"],
|
|
1927
|
+
["std", "application/vnd.sun.xml.draw.template"],
|
|
1928
|
+
["stf", "application/vnd.wt.stf"],
|
|
1929
|
+
["sti", "application/vnd.sun.xml.impress.template"],
|
|
1930
|
+
["stk", "application/hyperstudio"],
|
|
1931
|
+
["stl", "model/stl"],
|
|
1932
|
+
["stpx", "model/step+xml"],
|
|
1933
|
+
["stpxz", "model/step-xml+zip"],
|
|
1934
|
+
["stpz", "model/step+zip"],
|
|
1935
|
+
["str", "application/vnd.pg.format"],
|
|
1936
|
+
["stw", "application/vnd.sun.xml.writer.template"],
|
|
1937
|
+
["styl", "text/stylus"],
|
|
1938
|
+
["stylus", "text/stylus"],
|
|
1939
|
+
["sub", "text/vnd.dvb.subtitle"],
|
|
1940
|
+
["sus", "application/vnd.sus-calendar"],
|
|
1941
|
+
["susp", "application/vnd.sus-calendar"],
|
|
1942
|
+
["sv4cpio", "application/x-sv4cpio"],
|
|
1943
|
+
["sv4crc", "application/x-sv4crc"],
|
|
1944
|
+
["svc", "application/vnd.dvb.service"],
|
|
1945
|
+
["svd", "application/vnd.svd"],
|
|
1946
|
+
["svg", "image/svg+xml"],
|
|
1947
|
+
["svgz", "image/svg+xml"],
|
|
1948
|
+
["swa", "application/x-director"],
|
|
1949
|
+
["swf", "application/x-shockwave-flash"],
|
|
1950
|
+
["swi", "application/vnd.aristanetworks.swi"],
|
|
1951
|
+
["swidtag", "application/swid+xml"],
|
|
1952
|
+
["sxc", "application/vnd.sun.xml.calc"],
|
|
1953
|
+
["sxd", "application/vnd.sun.xml.draw"],
|
|
1954
|
+
["sxg", "application/vnd.sun.xml.writer.global"],
|
|
1955
|
+
["sxi", "application/vnd.sun.xml.impress"],
|
|
1956
|
+
["sxm", "application/vnd.sun.xml.math"],
|
|
1957
|
+
["sxw", "application/vnd.sun.xml.writer"],
|
|
1958
|
+
["t", "text/troff"],
|
|
1959
|
+
["t3", "application/x-t3vm-image"],
|
|
1960
|
+
["t38", "image/t38"],
|
|
1961
|
+
["taglet", "application/vnd.mynfc"],
|
|
1962
|
+
["tao", "application/vnd.tao.intent-module-archive"],
|
|
1963
|
+
["tap", "image/vnd.tencent.tap"],
|
|
1964
|
+
["tar", "application/x-tar"],
|
|
1965
|
+
["tcap", "application/vnd.3gpp2.tcap"],
|
|
1966
|
+
["tcl", "application/x-tcl"],
|
|
1967
|
+
["td", "application/urc-targetdesc+xml"],
|
|
1968
|
+
["teacher", "application/vnd.smart.teacher"],
|
|
1969
|
+
["tei", "application/tei+xml"],
|
|
1970
|
+
["teicorpus", "application/tei+xml"],
|
|
1971
|
+
["tex", "application/x-tex"],
|
|
1972
|
+
["texi", "application/x-texinfo"],
|
|
1973
|
+
["texinfo", "application/x-texinfo"],
|
|
1974
|
+
["text", "text/plain"],
|
|
1975
|
+
["tfi", "application/thraud+xml"],
|
|
1976
|
+
["tfm", "application/x-tex-tfm"],
|
|
1977
|
+
["tfx", "image/tiff-fx"],
|
|
1978
|
+
["tga", "image/x-tga"],
|
|
1979
|
+
["tgz", "application/x-tar"],
|
|
1980
|
+
["thmx", "application/vnd.ms-officetheme"],
|
|
1981
|
+
["tif", "image/tiff"],
|
|
1982
|
+
["tiff", "image/tiff"],
|
|
1983
|
+
["tk", "application/x-tcl"],
|
|
1984
|
+
["tmo", "application/vnd.tmobile-livetv"],
|
|
1985
|
+
["toml", "application/toml"],
|
|
1986
|
+
["torrent", "application/x-bittorrent"],
|
|
1987
|
+
["tpl", "application/vnd.groove-tool-template"],
|
|
1988
|
+
["tpt", "application/vnd.trid.tpt"],
|
|
1989
|
+
["tr", "text/troff"],
|
|
1990
|
+
["tra", "application/vnd.trueapp"],
|
|
1991
|
+
["trig", "application/trig"],
|
|
1992
|
+
["trm", "application/x-msterminal"],
|
|
1993
|
+
["ts", "video/mp2t"],
|
|
1994
|
+
["tsd", "application/timestamped-data"],
|
|
1995
|
+
["tsv", "text/tab-separated-values"],
|
|
1996
|
+
["ttc", "font/collection"],
|
|
1997
|
+
["ttf", "font/ttf"],
|
|
1998
|
+
["ttl", "text/turtle"],
|
|
1999
|
+
["ttml", "application/ttml+xml"],
|
|
2000
|
+
["twd", "application/vnd.simtech-mindmapper"],
|
|
2001
|
+
["twds", "application/vnd.simtech-mindmapper"],
|
|
2002
|
+
["txd", "application/vnd.genomatix.tuxedo"],
|
|
2003
|
+
["txf", "application/vnd.mobius.txf"],
|
|
2004
|
+
["txt", "text/plain"],
|
|
2005
|
+
["u8dsn", "message/global-delivery-status"],
|
|
2006
|
+
["u8hdr", "message/global-headers"],
|
|
2007
|
+
["u8mdn", "message/global-disposition-notification"],
|
|
2008
|
+
["u8msg", "message/global"],
|
|
2009
|
+
["u32", "application/x-authorware-bin"],
|
|
2010
|
+
["ubj", "application/ubjson"],
|
|
2011
|
+
["udeb", "application/x-debian-package"],
|
|
2012
|
+
["ufd", "application/vnd.ufdl"],
|
|
2013
|
+
["ufdl", "application/vnd.ufdl"],
|
|
2014
|
+
["ulx", "application/x-glulx"],
|
|
2015
|
+
["umj", "application/vnd.umajin"],
|
|
2016
|
+
["unityweb", "application/vnd.unity"],
|
|
2017
|
+
["uoml", "application/vnd.uoml+xml"],
|
|
2018
|
+
["uri", "text/uri-list"],
|
|
2019
|
+
["uris", "text/uri-list"],
|
|
2020
|
+
["urls", "text/uri-list"],
|
|
2021
|
+
["usdz", "model/vnd.usdz+zip"],
|
|
2022
|
+
["ustar", "application/x-ustar"],
|
|
2023
|
+
["utz", "application/vnd.uiq.theme"],
|
|
2024
|
+
["uu", "text/x-uuencode"],
|
|
2025
|
+
["uva", "audio/vnd.dece.audio"],
|
|
2026
|
+
["uvd", "application/vnd.dece.data"],
|
|
2027
|
+
["uvf", "application/vnd.dece.data"],
|
|
2028
|
+
["uvg", "image/vnd.dece.graphic"],
|
|
2029
|
+
["uvh", "video/vnd.dece.hd"],
|
|
2030
|
+
["uvi", "image/vnd.dece.graphic"],
|
|
2031
|
+
["uvm", "video/vnd.dece.mobile"],
|
|
2032
|
+
["uvp", "video/vnd.dece.pd"],
|
|
2033
|
+
["uvs", "video/vnd.dece.sd"],
|
|
2034
|
+
["uvt", "application/vnd.dece.ttml+xml"],
|
|
2035
|
+
["uvu", "video/vnd.uvvu.mp4"],
|
|
2036
|
+
["uvv", "video/vnd.dece.video"],
|
|
2037
|
+
["uvva", "audio/vnd.dece.audio"],
|
|
2038
|
+
["uvvd", "application/vnd.dece.data"],
|
|
2039
|
+
["uvvf", "application/vnd.dece.data"],
|
|
2040
|
+
["uvvg", "image/vnd.dece.graphic"],
|
|
2041
|
+
["uvvh", "video/vnd.dece.hd"],
|
|
2042
|
+
["uvvi", "image/vnd.dece.graphic"],
|
|
2043
|
+
["uvvm", "video/vnd.dece.mobile"],
|
|
2044
|
+
["uvvp", "video/vnd.dece.pd"],
|
|
2045
|
+
["uvvs", "video/vnd.dece.sd"],
|
|
2046
|
+
["uvvt", "application/vnd.dece.ttml+xml"],
|
|
2047
|
+
["uvvu", "video/vnd.uvvu.mp4"],
|
|
2048
|
+
["uvvv", "video/vnd.dece.video"],
|
|
2049
|
+
["uvvx", "application/vnd.dece.unspecified"],
|
|
2050
|
+
["uvvz", "application/vnd.dece.zip"],
|
|
2051
|
+
["uvx", "application/vnd.dece.unspecified"],
|
|
2052
|
+
["uvz", "application/vnd.dece.zip"],
|
|
2053
|
+
["vbox", "application/x-virtualbox-vbox"],
|
|
2054
|
+
["vbox-extpack", "application/x-virtualbox-vbox-extpack"],
|
|
2055
|
+
["vcard", "text/vcard"],
|
|
2056
|
+
["vcd", "application/x-cdlink"],
|
|
2057
|
+
["vcf", "text/x-vcard"],
|
|
2058
|
+
["vcg", "application/vnd.groove-vcard"],
|
|
2059
|
+
["vcs", "text/x-vcalendar"],
|
|
2060
|
+
["vcx", "application/vnd.vcx"],
|
|
2061
|
+
["vdi", "application/x-virtualbox-vdi"],
|
|
2062
|
+
["vds", "model/vnd.sap.vds"],
|
|
2063
|
+
["vhd", "application/x-virtualbox-vhd"],
|
|
2064
|
+
["vis", "application/vnd.visionary"],
|
|
2065
|
+
["viv", "video/vnd.vivo"],
|
|
2066
|
+
["vlc", "application/videolan"],
|
|
2067
|
+
["vmdk", "application/x-virtualbox-vmdk"],
|
|
2068
|
+
["vob", "video/x-ms-vob"],
|
|
2069
|
+
["vor", "application/vnd.stardivision.writer"],
|
|
2070
|
+
["vox", "application/x-authorware-bin"],
|
|
2071
|
+
["vrml", "model/vrml"],
|
|
2072
|
+
["vsd", "application/vnd.visio"],
|
|
2073
|
+
["vsf", "application/vnd.vsf"],
|
|
2074
|
+
["vss", "application/vnd.visio"],
|
|
2075
|
+
["vst", "application/vnd.visio"],
|
|
2076
|
+
["vsw", "application/vnd.visio"],
|
|
2077
|
+
["vtf", "image/vnd.valve.source.texture"],
|
|
2078
|
+
["vtt", "text/vtt"],
|
|
2079
|
+
["vtu", "model/vnd.vtu"],
|
|
2080
|
+
["vxml", "application/voicexml+xml"],
|
|
2081
|
+
["w3d", "application/x-director"],
|
|
2082
|
+
["wad", "application/x-doom"],
|
|
2083
|
+
["wadl", "application/vnd.sun.wadl+xml"],
|
|
2084
|
+
["war", "application/java-archive"],
|
|
2085
|
+
["wasm", "application/wasm"],
|
|
2086
|
+
["wav", "audio/x-wav"],
|
|
2087
|
+
["wax", "audio/x-ms-wax"],
|
|
2088
|
+
["wbmp", "image/vnd.wap.wbmp"],
|
|
2089
|
+
["wbs", "application/vnd.criticaltools.wbs+xml"],
|
|
2090
|
+
["wbxml", "application/wbxml"],
|
|
2091
|
+
["wcm", "application/vnd.ms-works"],
|
|
2092
|
+
["wdb", "application/vnd.ms-works"],
|
|
2093
|
+
["wdp", "image/vnd.ms-photo"],
|
|
2094
|
+
["weba", "audio/webm"],
|
|
2095
|
+
["webapp", "application/x-web-app-manifest+json"],
|
|
2096
|
+
["webm", "video/webm"],
|
|
2097
|
+
["webmanifest", "application/manifest+json"],
|
|
2098
|
+
["webp", "image/webp"],
|
|
2099
|
+
["wg", "application/vnd.pmi.widget"],
|
|
2100
|
+
["wgt", "application/widget"],
|
|
2101
|
+
["wks", "application/vnd.ms-works"],
|
|
2102
|
+
["wm", "video/x-ms-wm"],
|
|
2103
|
+
["wma", "audio/x-ms-wma"],
|
|
2104
|
+
["wmd", "application/x-ms-wmd"],
|
|
2105
|
+
["wmf", "image/wmf"],
|
|
2106
|
+
["wml", "text/vnd.wap.wml"],
|
|
2107
|
+
["wmlc", "application/wmlc"],
|
|
2108
|
+
["wmls", "text/vnd.wap.wmlscript"],
|
|
2109
|
+
["wmlsc", "application/vnd.wap.wmlscriptc"],
|
|
2110
|
+
["wmv", "video/x-ms-wmv"],
|
|
2111
|
+
["wmx", "video/x-ms-wmx"],
|
|
2112
|
+
["wmz", "application/x-msmetafile"],
|
|
2113
|
+
["woff", "font/woff"],
|
|
2114
|
+
["woff2", "font/woff2"],
|
|
2115
|
+
["word", "application/msword"],
|
|
2116
|
+
["wpd", "application/vnd.wordperfect"],
|
|
2117
|
+
["wpl", "application/vnd.ms-wpl"],
|
|
2118
|
+
["wps", "application/vnd.ms-works"],
|
|
2119
|
+
["wqd", "application/vnd.wqd"],
|
|
2120
|
+
["wri", "application/x-mswrite"],
|
|
2121
|
+
["wrl", "model/vrml"],
|
|
2122
|
+
["wsc", "message/vnd.wfa.wsc"],
|
|
2123
|
+
["wsdl", "application/wsdl+xml"],
|
|
2124
|
+
["wspolicy", "application/wspolicy+xml"],
|
|
2125
|
+
["wtb", "application/vnd.webturbo"],
|
|
2126
|
+
["wvx", "video/x-ms-wvx"],
|
|
2127
|
+
["x3d", "model/x3d+xml"],
|
|
2128
|
+
["x3db", "model/x3d+fastinfoset"],
|
|
2129
|
+
["x3dbz", "model/x3d+binary"],
|
|
2130
|
+
["x3dv", "model/x3d-vrml"],
|
|
2131
|
+
["x3dvz", "model/x3d+vrml"],
|
|
2132
|
+
["x3dz", "model/x3d+xml"],
|
|
2133
|
+
["x32", "application/x-authorware-bin"],
|
|
2134
|
+
["x_b", "model/vnd.parasolid.transmit.binary"],
|
|
2135
|
+
["x_t", "model/vnd.parasolid.transmit.text"],
|
|
2136
|
+
["xaml", "application/xaml+xml"],
|
|
2137
|
+
["xap", "application/x-silverlight-app"],
|
|
2138
|
+
["xar", "application/vnd.xara"],
|
|
2139
|
+
["xav", "application/xcap-att+xml"],
|
|
2140
|
+
["xbap", "application/x-ms-xbap"],
|
|
2141
|
+
["xbd", "application/vnd.fujixerox.docuworks.binder"],
|
|
2142
|
+
["xbm", "image/x-xbitmap"],
|
|
2143
|
+
["xca", "application/xcap-caps+xml"],
|
|
2144
|
+
["xcs", "application/calendar+xml"],
|
|
2145
|
+
["xdf", "application/xcap-diff+xml"],
|
|
2146
|
+
["xdm", "application/vnd.syncml.dm+xml"],
|
|
2147
|
+
["xdp", "application/vnd.adobe.xdp+xml"],
|
|
2148
|
+
["xdssc", "application/dssc+xml"],
|
|
2149
|
+
["xdw", "application/vnd.fujixerox.docuworks"],
|
|
2150
|
+
["xel", "application/xcap-el+xml"],
|
|
2151
|
+
["xenc", "application/xenc+xml"],
|
|
2152
|
+
["xer", "application/patch-ops-error+xml"],
|
|
2153
|
+
["xfdf", "application/vnd.adobe.xfdf"],
|
|
2154
|
+
["xfdl", "application/vnd.xfdl"],
|
|
2155
|
+
["xht", "application/xhtml+xml"],
|
|
2156
|
+
["xhtml", "application/xhtml+xml"],
|
|
2157
|
+
["xhvml", "application/xv+xml"],
|
|
2158
|
+
["xif", "image/vnd.xiff"],
|
|
2159
|
+
["xl", "application/excel"],
|
|
2160
|
+
["xla", "application/vnd.ms-excel"],
|
|
2161
|
+
["xlam", "application/vnd.ms-excel.addin.macroEnabled.12"],
|
|
2162
|
+
["xlc", "application/vnd.ms-excel"],
|
|
2163
|
+
["xlf", "application/xliff+xml"],
|
|
2164
|
+
["xlm", "application/vnd.ms-excel"],
|
|
2165
|
+
["xls", "application/vnd.ms-excel"],
|
|
2166
|
+
["xlsb", "application/vnd.ms-excel.sheet.binary.macroEnabled.12"],
|
|
2167
|
+
["xlsm", "application/vnd.ms-excel.sheet.macroEnabled.12"],
|
|
2168
|
+
["xlsx", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],
|
|
2169
|
+
["xlt", "application/vnd.ms-excel"],
|
|
2170
|
+
["xltm", "application/vnd.ms-excel.template.macroEnabled.12"],
|
|
2171
|
+
["xltx", "application/vnd.openxmlformats-officedocument.spreadsheetml.template"],
|
|
2172
|
+
["xlw", "application/vnd.ms-excel"],
|
|
2173
|
+
["xm", "audio/xm"],
|
|
2174
|
+
["xml", "application/xml"],
|
|
2175
|
+
["xns", "application/xcap-ns+xml"],
|
|
2176
|
+
["xo", "application/vnd.olpc-sugar"],
|
|
2177
|
+
["xop", "application/xop+xml"],
|
|
2178
|
+
["xpi", "application/x-xpinstall"],
|
|
2179
|
+
["xpl", "application/xproc+xml"],
|
|
2180
|
+
["xpm", "image/x-xpixmap"],
|
|
2181
|
+
["xpr", "application/vnd.is-xpr"],
|
|
2182
|
+
["xps", "application/vnd.ms-xpsdocument"],
|
|
2183
|
+
["xpw", "application/vnd.intercon.formnet"],
|
|
2184
|
+
["xpx", "application/vnd.intercon.formnet"],
|
|
2185
|
+
["xsd", "application/xml"],
|
|
2186
|
+
["xsl", "application/xml"],
|
|
2187
|
+
["xslt", "application/xslt+xml"],
|
|
2188
|
+
["xsm", "application/vnd.syncml+xml"],
|
|
2189
|
+
["xspf", "application/xspf+xml"],
|
|
2190
|
+
["xul", "application/vnd.mozilla.xul+xml"],
|
|
2191
|
+
["xvm", "application/xv+xml"],
|
|
2192
|
+
["xvml", "application/xv+xml"],
|
|
2193
|
+
["xwd", "image/x-xwindowdump"],
|
|
2194
|
+
["xyz", "chemical/x-xyz"],
|
|
2195
|
+
["xz", "application/x-xz"],
|
|
2196
|
+
["yaml", "text/yaml"],
|
|
2197
|
+
["yang", "application/yang"],
|
|
2198
|
+
["yin", "application/yin+xml"],
|
|
2199
|
+
["yml", "text/yaml"],
|
|
2200
|
+
["ymp", "text/x-suse-ymp"],
|
|
2201
|
+
["z", "application/x-compress"],
|
|
2202
|
+
["z1", "application/x-zmachine"],
|
|
2203
|
+
["z2", "application/x-zmachine"],
|
|
2204
|
+
["z3", "application/x-zmachine"],
|
|
2205
|
+
["z4", "application/x-zmachine"],
|
|
2206
|
+
["z5", "application/x-zmachine"],
|
|
2207
|
+
["z6", "application/x-zmachine"],
|
|
2208
|
+
["z7", "application/x-zmachine"],
|
|
2209
|
+
["z8", "application/x-zmachine"],
|
|
2210
|
+
["zaz", "application/vnd.zzazz.deck+xml"],
|
|
2211
|
+
["zip", "application/zip"],
|
|
2212
|
+
["zir", "application/vnd.zul"],
|
|
2213
|
+
["zirz", "application/vnd.zul"],
|
|
2214
|
+
["zmm", "application/vnd.handheld-entertainment+xml"],
|
|
2215
|
+
["zsh", "text/x-scriptzsh"]
|
|
2216
|
+
]);
|
|
2217
|
+
function he(e, a, t) {
|
|
2218
|
+
const i = Ct(e), { webkitRelativePath: o } = e, r = typeof a == "string" ? a : typeof o == "string" && o.length > 0 ? o : `./${e.name}`;
|
|
2219
|
+
return typeof i.path != "string" && ba(i, "path", r), ba(i, "relativePath", r), i;
|
|
2220
|
+
}
|
|
2221
|
+
function Ct(e) {
|
|
2222
|
+
const { name: a } = e;
|
|
2223
|
+
if (a && a.lastIndexOf(".") !== -1 && !e.type) {
|
|
2224
|
+
const i = a.split(".").pop().toLowerCase(), o = Rt.get(i);
|
|
2225
|
+
o && Object.defineProperty(e, "type", {
|
|
2226
|
+
value: o,
|
|
2227
|
+
writable: !1,
|
|
2228
|
+
configurable: !1,
|
|
2229
|
+
enumerable: !0
|
|
2230
|
+
});
|
|
2231
|
+
}
|
|
2232
|
+
return e;
|
|
2233
|
+
}
|
|
2234
|
+
function ba(e, a, t) {
|
|
2235
|
+
Object.defineProperty(e, a, {
|
|
2236
|
+
value: t,
|
|
2237
|
+
writable: !1,
|
|
2238
|
+
configurable: !1,
|
|
2239
|
+
enumerable: !0
|
|
2240
|
+
});
|
|
2241
|
+
}
|
|
2242
|
+
const It = [
|
|
2243
|
+
// Thumbnail cache files for macOS and Windows
|
|
2244
|
+
".DS_Store",
|
|
2245
|
+
// macOs
|
|
2246
|
+
"Thumbs.db"
|
|
2247
|
+
// Windows
|
|
2248
|
+
];
|
|
2249
|
+
function Lt(e) {
|
|
2250
|
+
return ve(this, void 0, void 0, function* () {
|
|
2251
|
+
return Ze(e) && qt(e.dataTransfer) ? Yt(e.dataTransfer, e.type) : $t(e) ? Nt(e) : Array.isArray(e) && e.every((a) => "getFile" in a && typeof a.getFile == "function") ? Bt(e) : [];
|
|
2252
|
+
});
|
|
2253
|
+
}
|
|
2254
|
+
function qt(e) {
|
|
2255
|
+
return Ze(e);
|
|
2256
|
+
}
|
|
2257
|
+
function $t(e) {
|
|
2258
|
+
return Ze(e) && Ze(e.target);
|
|
2259
|
+
}
|
|
2260
|
+
function Ze(e) {
|
|
2261
|
+
return typeof e == "object" && e !== null;
|
|
2262
|
+
}
|
|
2263
|
+
function Nt(e) {
|
|
2264
|
+
return Qe(e.target.files).map((a) => he(a));
|
|
2265
|
+
}
|
|
2266
|
+
function Bt(e) {
|
|
2267
|
+
return ve(this, void 0, void 0, function* () {
|
|
2268
|
+
return (yield Promise.all(e.map((t) => t.getFile()))).map((t) => he(t));
|
|
2269
|
+
});
|
|
2270
|
+
}
|
|
2271
|
+
function Yt(e, a) {
|
|
2272
|
+
return ve(this, void 0, void 0, function* () {
|
|
2273
|
+
if (e.items) {
|
|
2274
|
+
const t = Qe(e.items).filter((o) => o.kind === "file");
|
|
2275
|
+
if (a !== "drop")
|
|
2276
|
+
return t;
|
|
2277
|
+
const i = yield Promise.all(t.map(Wt));
|
|
2278
|
+
return wa($a(i));
|
|
2279
|
+
}
|
|
2280
|
+
return wa(Qe(e.files).map((t) => he(t)));
|
|
2281
|
+
});
|
|
2282
|
+
}
|
|
2283
|
+
function wa(e) {
|
|
2284
|
+
return e.filter((a) => It.indexOf(a.name) === -1);
|
|
2285
|
+
}
|
|
2286
|
+
function Qe(e) {
|
|
2287
|
+
if (e === null)
|
|
2288
|
+
return [];
|
|
2289
|
+
const a = [];
|
|
2290
|
+
for (let t = 0; t < e.length; t++) {
|
|
2291
|
+
const i = e[t];
|
|
2292
|
+
a.push(i);
|
|
2293
|
+
}
|
|
2294
|
+
return a;
|
|
2295
|
+
}
|
|
2296
|
+
function Wt(e) {
|
|
2297
|
+
if (typeof e.webkitGetAsEntry != "function")
|
|
2298
|
+
return Ea(e);
|
|
2299
|
+
const a = e.webkitGetAsEntry();
|
|
2300
|
+
return a && a.isDirectory ? Na(a) : Ea(e, a);
|
|
2301
|
+
}
|
|
2302
|
+
function $a(e) {
|
|
2303
|
+
return e.reduce((a, t) => [
|
|
2304
|
+
...a,
|
|
2305
|
+
...Array.isArray(t) ? $a(t) : [t]
|
|
2306
|
+
], []);
|
|
2307
|
+
}
|
|
2308
|
+
function Ea(e, a) {
|
|
2309
|
+
return ve(this, void 0, void 0, function* () {
|
|
2310
|
+
var t;
|
|
2311
|
+
if (globalThis.isSecureContext && typeof e.getAsFileSystemHandle == "function") {
|
|
2312
|
+
const r = yield e.getAsFileSystemHandle();
|
|
2313
|
+
if (r === null)
|
|
2314
|
+
throw new Error(`${e} is not a File`);
|
|
2315
|
+
if (r !== void 0) {
|
|
2316
|
+
const l = yield r.getFile();
|
|
2317
|
+
return l.handle = r, he(l);
|
|
2318
|
+
}
|
|
2319
|
+
}
|
|
2320
|
+
const i = e.getAsFile();
|
|
2321
|
+
if (!i)
|
|
2322
|
+
throw new Error(`${e} is not a File`);
|
|
2323
|
+
return he(i, (t = a?.fullPath) !== null && t !== void 0 ? t : void 0);
|
|
2324
|
+
});
|
|
2325
|
+
}
|
|
2326
|
+
function Ut(e) {
|
|
2327
|
+
return ve(this, void 0, void 0, function* () {
|
|
2328
|
+
return e.isDirectory ? Na(e) : Gt(e);
|
|
2329
|
+
});
|
|
2330
|
+
}
|
|
2331
|
+
function Na(e) {
|
|
2332
|
+
const a = e.createReader();
|
|
2333
|
+
return new Promise((t, i) => {
|
|
2334
|
+
const o = [];
|
|
2335
|
+
function r() {
|
|
2336
|
+
a.readEntries((l) => ve(this, void 0, void 0, function* () {
|
|
2337
|
+
if (l.length) {
|
|
2338
|
+
const c = Promise.all(l.map(Ut));
|
|
2339
|
+
o.push(c), r();
|
|
2340
|
+
} else
|
|
2341
|
+
try {
|
|
2342
|
+
const c = yield Promise.all(o);
|
|
2343
|
+
t(c);
|
|
2344
|
+
} catch (c) {
|
|
2345
|
+
i(c);
|
|
2346
|
+
}
|
|
2347
|
+
}), (l) => {
|
|
2348
|
+
i(l);
|
|
2349
|
+
});
|
|
2350
|
+
}
|
|
2351
|
+
r();
|
|
2352
|
+
});
|
|
2353
|
+
}
|
|
2354
|
+
function Gt(e) {
|
|
2355
|
+
return ve(this, void 0, void 0, function* () {
|
|
2356
|
+
return new Promise((a, t) => {
|
|
2357
|
+
e.file((i) => {
|
|
2358
|
+
const o = he(i, e.fullPath);
|
|
2359
|
+
a(o);
|
|
2360
|
+
}, (i) => {
|
|
2361
|
+
t(i);
|
|
2362
|
+
});
|
|
2363
|
+
});
|
|
2364
|
+
});
|
|
2365
|
+
}
|
|
2366
|
+
var Te = {}, Aa;
|
|
2367
|
+
function Kt() {
|
|
2368
|
+
return Aa || (Aa = 1, Te.__esModule = !0, Te.default = function(e, a) {
|
|
2369
|
+
if (e && a) {
|
|
2370
|
+
var t = Array.isArray(a) ? a : a.split(",");
|
|
2371
|
+
if (t.length === 0)
|
|
2372
|
+
return !0;
|
|
2373
|
+
var i = e.name || "", o = (e.type || "").toLowerCase(), r = o.replace(/\/.*$/, "");
|
|
2374
|
+
return t.some(function(l) {
|
|
2375
|
+
var c = l.trim().toLowerCase();
|
|
2376
|
+
return c.charAt(0) === "." ? i.toLowerCase().endsWith(c) : c.endsWith("/*") ? r === c.replace(/\/.*$/, "") : o === c;
|
|
2377
|
+
});
|
|
2378
|
+
}
|
|
2379
|
+
return !0;
|
|
2380
|
+
}), Te;
|
|
2381
|
+
}
|
|
2382
|
+
var Jt = Kt();
|
|
2383
|
+
const Ue = /* @__PURE__ */ Pa(Jt);
|
|
2384
|
+
function ka(e) {
|
|
2385
|
+
return ei(e) || Qt(e) || Ya(e) || Xt();
|
|
2386
|
+
}
|
|
2387
|
+
function Xt() {
|
|
2388
|
+
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
2389
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2390
|
+
}
|
|
2391
|
+
function Qt(e) {
|
|
2392
|
+
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
2393
|
+
}
|
|
2394
|
+
function ei(e) {
|
|
2395
|
+
if (Array.isArray(e)) return ea(e);
|
|
2396
|
+
}
|
|
2397
|
+
function ja(e, a) {
|
|
2398
|
+
var t = Object.keys(e);
|
|
2399
|
+
if (Object.getOwnPropertySymbols) {
|
|
2400
|
+
var i = Object.getOwnPropertySymbols(e);
|
|
2401
|
+
a && (i = i.filter(function(o) {
|
|
2402
|
+
return Object.getOwnPropertyDescriptor(e, o).enumerable;
|
|
2403
|
+
})), t.push.apply(t, i);
|
|
2404
|
+
}
|
|
2405
|
+
return t;
|
|
2406
|
+
}
|
|
2407
|
+
function Ha(e) {
|
|
2408
|
+
for (var a = 1; a < arguments.length; a++) {
|
|
2409
|
+
var t = arguments[a] != null ? arguments[a] : {};
|
|
2410
|
+
a % 2 ? ja(Object(t), !0).forEach(function(i) {
|
|
2411
|
+
Ba(e, i, t[i]);
|
|
2412
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ja(Object(t)).forEach(function(i) {
|
|
2413
|
+
Object.defineProperty(e, i, Object.getOwnPropertyDescriptor(t, i));
|
|
2414
|
+
});
|
|
2415
|
+
}
|
|
2416
|
+
return e;
|
|
2417
|
+
}
|
|
2418
|
+
function Ba(e, a, t) {
|
|
2419
|
+
return a in e ? Object.defineProperty(e, a, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[a] = t, e;
|
|
2420
|
+
}
|
|
2421
|
+
function Ae(e, a) {
|
|
2422
|
+
return ii(e) || ti(e, a) || Ya(e, a) || ai();
|
|
2423
|
+
}
|
|
2424
|
+
function ai() {
|
|
2425
|
+
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2426
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2427
|
+
}
|
|
2428
|
+
function Ya(e, a) {
|
|
2429
|
+
if (e) {
|
|
2430
|
+
if (typeof e == "string") return ea(e, a);
|
|
2431
|
+
var t = Object.prototype.toString.call(e).slice(8, -1);
|
|
2432
|
+
if (t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set") return Array.from(e);
|
|
2433
|
+
if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return ea(e, a);
|
|
2434
|
+
}
|
|
2435
|
+
}
|
|
2436
|
+
function ea(e, a) {
|
|
2437
|
+
(a == null || a > e.length) && (a = e.length);
|
|
2438
|
+
for (var t = 0, i = new Array(a); t < a; t++)
|
|
2439
|
+
i[t] = e[t];
|
|
2440
|
+
return i;
|
|
2441
|
+
}
|
|
2442
|
+
function ti(e, a) {
|
|
2443
|
+
var t = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
2444
|
+
if (t != null) {
|
|
2445
|
+
var i = [], o = !0, r = !1, l, c;
|
|
2446
|
+
try {
|
|
2447
|
+
for (t = t.call(e); !(o = (l = t.next()).done) && (i.push(l.value), !(a && i.length === a)); o = !0)
|
|
2448
|
+
;
|
|
2449
|
+
} catch (f) {
|
|
2450
|
+
r = !0, c = f;
|
|
2451
|
+
} finally {
|
|
2452
|
+
try {
|
|
2453
|
+
!o && t.return != null && t.return();
|
|
2454
|
+
} finally {
|
|
2455
|
+
if (r) throw c;
|
|
2456
|
+
}
|
|
2457
|
+
}
|
|
2458
|
+
return i;
|
|
2459
|
+
}
|
|
2460
|
+
}
|
|
2461
|
+
function ii(e) {
|
|
2462
|
+
if (Array.isArray(e)) return e;
|
|
2463
|
+
}
|
|
2464
|
+
var ni = typeof Ue == "function" ? Ue : Ue.default, oi = "file-invalid-type", ri = "file-too-large", pi = "file-too-small", li = "too-many-files", ci = function() {
|
|
2465
|
+
var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", t = a.split(","), i = t.length > 1 ? "one of ".concat(t.join(", ")) : t[0];
|
|
2466
|
+
return {
|
|
2467
|
+
code: oi,
|
|
2468
|
+
message: "File type must be ".concat(i)
|
|
2469
|
+
};
|
|
2470
|
+
}, Va = function(a) {
|
|
2471
|
+
return {
|
|
2472
|
+
code: ri,
|
|
2473
|
+
message: "File is larger than ".concat(a, " ").concat(a === 1 ? "byte" : "bytes")
|
|
2474
|
+
};
|
|
2475
|
+
}, Ma = function(a) {
|
|
2476
|
+
return {
|
|
2477
|
+
code: pi,
|
|
2478
|
+
message: "File is smaller than ".concat(a, " ").concat(a === 1 ? "byte" : "bytes")
|
|
2479
|
+
};
|
|
2480
|
+
}, si = {
|
|
2481
|
+
code: li,
|
|
2482
|
+
message: "Too many files"
|
|
2483
|
+
};
|
|
2484
|
+
function di(e) {
|
|
2485
|
+
return e.type === "" && typeof e.getAsFile == "function";
|
|
2486
|
+
}
|
|
2487
|
+
function Wa(e, a) {
|
|
2488
|
+
var t = e.type === "application/x-moz-file" || ni(e, a) || di(e);
|
|
2489
|
+
return [t, t ? null : ci(a)];
|
|
2490
|
+
}
|
|
2491
|
+
function Ua(e, a, t) {
|
|
2492
|
+
if (ue(e.size))
|
|
2493
|
+
if (ue(a) && ue(t)) {
|
|
2494
|
+
if (e.size > t) return [!1, Va(t)];
|
|
2495
|
+
if (e.size < a) return [!1, Ma(a)];
|
|
2496
|
+
} else {
|
|
2497
|
+
if (ue(a) && e.size < a) return [!1, Ma(a)];
|
|
2498
|
+
if (ue(t) && e.size > t) return [!1, Va(t)];
|
|
2499
|
+
}
|
|
2500
|
+
return [!0, null];
|
|
2501
|
+
}
|
|
2502
|
+
function ue(e) {
|
|
2503
|
+
return e != null;
|
|
2504
|
+
}
|
|
2505
|
+
function mi(e) {
|
|
2506
|
+
var a = e.files, t = e.accept, i = e.minSize, o = e.maxSize, r = e.multiple, l = e.maxFiles, c = e.validator;
|
|
2507
|
+
return !r && a.length > 1 || r && l >= 1 && a.length > l ? !1 : a.every(function(f) {
|
|
2508
|
+
var x = Wa(f, t), g = Ae(x, 1), b = g[0], O = Ua(f, i, o), _ = Ae(O, 1), C = _[0], M = c ? c(f) : null;
|
|
2509
|
+
return b && C && !M;
|
|
2510
|
+
});
|
|
2511
|
+
}
|
|
2512
|
+
function Oe(e) {
|
|
2513
|
+
return typeof e.isPropagationStopped == "function" ? e.isPropagationStopped() : typeof e.cancelBubble < "u" ? e.cancelBubble : !1;
|
|
2514
|
+
}
|
|
2515
|
+
function we(e) {
|
|
2516
|
+
return e.dataTransfer ? Array.prototype.some.call(e.dataTransfer.types, function(a) {
|
|
2517
|
+
return a === "Files" || a === "application/x-moz-file";
|
|
2518
|
+
}) : !!e.target && !!e.target.files;
|
|
2519
|
+
}
|
|
2520
|
+
function Ta(e) {
|
|
2521
|
+
e.preventDefault();
|
|
2522
|
+
}
|
|
2523
|
+
function ui(e) {
|
|
2524
|
+
return e.indexOf("MSIE") !== -1 || e.indexOf("Trident/") !== -1;
|
|
2525
|
+
}
|
|
2526
|
+
function fi(e) {
|
|
2527
|
+
return e.indexOf("Edge/") !== -1;
|
|
2528
|
+
}
|
|
2529
|
+
function vi() {
|
|
2530
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window.navigator.userAgent;
|
|
2531
|
+
return ui(e) || fi(e);
|
|
2532
|
+
}
|
|
2533
|
+
function ae() {
|
|
2534
|
+
for (var e = arguments.length, a = new Array(e), t = 0; t < e; t++)
|
|
2535
|
+
a[t] = arguments[t];
|
|
2536
|
+
return function(i) {
|
|
2537
|
+
for (var o = arguments.length, r = new Array(o > 1 ? o - 1 : 0), l = 1; l < o; l++)
|
|
2538
|
+
r[l - 1] = arguments[l];
|
|
2539
|
+
return a.some(function(c) {
|
|
2540
|
+
return !Oe(i) && c && c.apply(void 0, [i].concat(r)), Oe(i);
|
|
2541
|
+
});
|
|
2542
|
+
};
|
|
2543
|
+
}
|
|
2544
|
+
function xi() {
|
|
2545
|
+
return "showOpenFilePicker" in window;
|
|
2546
|
+
}
|
|
2547
|
+
function gi(e) {
|
|
2548
|
+
if (ue(e)) {
|
|
2549
|
+
var a = Object.entries(e).filter(function(t) {
|
|
2550
|
+
var i = Ae(t, 2), o = i[0], r = i[1], l = !0;
|
|
2551
|
+
return Ga(o) || (console.warn('Skipped "'.concat(o, '" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')), l = !1), (!Array.isArray(r) || !r.every(Ka)) && (console.warn('Skipped "'.concat(o, '" because an invalid file extension was provided.')), l = !1), l;
|
|
2552
|
+
}).reduce(function(t, i) {
|
|
2553
|
+
var o = Ae(i, 2), r = o[0], l = o[1];
|
|
2554
|
+
return Ha(Ha({}, t), {}, Ba({}, r, l));
|
|
2555
|
+
}, {});
|
|
2556
|
+
return [{
|
|
2557
|
+
// description is required due to https://crbug.com/1264708
|
|
2558
|
+
description: "Files",
|
|
2559
|
+
accept: a
|
|
2560
|
+
}];
|
|
2561
|
+
}
|
|
2562
|
+
return e;
|
|
2563
|
+
}
|
|
2564
|
+
function hi(e) {
|
|
2565
|
+
if (ue(e))
|
|
2566
|
+
return Object.entries(e).reduce(function(a, t) {
|
|
2567
|
+
var i = Ae(t, 2), o = i[0], r = i[1];
|
|
2568
|
+
return [].concat(ka(a), [o], ka(r));
|
|
2569
|
+
}, []).filter(function(a) {
|
|
2570
|
+
return Ga(a) || Ka(a);
|
|
2571
|
+
}).join(",");
|
|
2572
|
+
}
|
|
2573
|
+
function yi(e) {
|
|
2574
|
+
return e instanceof DOMException && (e.name === "AbortError" || e.code === e.ABORT_ERR);
|
|
2575
|
+
}
|
|
2576
|
+
function bi(e) {
|
|
2577
|
+
return e instanceof DOMException && (e.name === "SecurityError" || e.code === e.SECURITY_ERR);
|
|
2578
|
+
}
|
|
2579
|
+
function Ga(e) {
|
|
2580
|
+
return e === "audio/*" || e === "video/*" || e === "image/*" || e === "text/*" || e === "application/*" || /\w+\/[-+.\w]+/g.test(e);
|
|
2581
|
+
}
|
|
2582
|
+
function Ka(e) {
|
|
2583
|
+
return /^.*\.[\w]+$/.test(e);
|
|
2584
|
+
}
|
|
2585
|
+
var wi = ["children"], Ei = ["open"], Ai = ["refKey", "role", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"], ki = ["refKey", "onChange", "onClick"];
|
|
2586
|
+
function Da(e) {
|
|
2587
|
+
return Vi(e) || Hi(e) || Ja(e) || ji();
|
|
2588
|
+
}
|
|
2589
|
+
function ji() {
|
|
2590
|
+
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
2591
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2592
|
+
}
|
|
2593
|
+
function Hi(e) {
|
|
2594
|
+
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
2595
|
+
}
|
|
2596
|
+
function Vi(e) {
|
|
2597
|
+
if (Array.isArray(e)) return aa(e);
|
|
2598
|
+
}
|
|
2599
|
+
function Ge(e, a) {
|
|
2600
|
+
return Di(e) || Ti(e, a) || Ja(e, a) || Mi();
|
|
2601
|
+
}
|
|
2602
|
+
function Mi() {
|
|
2603
|
+
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2604
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2605
|
+
}
|
|
2606
|
+
function Ja(e, a) {
|
|
2607
|
+
if (e) {
|
|
2608
|
+
if (typeof e == "string") return aa(e, a);
|
|
2609
|
+
var t = Object.prototype.toString.call(e).slice(8, -1);
|
|
2610
|
+
if (t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set") return Array.from(e);
|
|
2611
|
+
if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return aa(e, a);
|
|
2612
|
+
}
|
|
2613
|
+
}
|
|
2614
|
+
function aa(e, a) {
|
|
2615
|
+
(a == null || a > e.length) && (a = e.length);
|
|
2616
|
+
for (var t = 0, i = new Array(a); t < a; t++)
|
|
2617
|
+
i[t] = e[t];
|
|
2618
|
+
return i;
|
|
2619
|
+
}
|
|
2620
|
+
function Ti(e, a) {
|
|
2621
|
+
var t = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
2622
|
+
if (t != null) {
|
|
2623
|
+
var i = [], o = !0, r = !1, l, c;
|
|
2624
|
+
try {
|
|
2625
|
+
for (t = t.call(e); !(o = (l = t.next()).done) && (i.push(l.value), !(a && i.length === a)); o = !0)
|
|
2626
|
+
;
|
|
2627
|
+
} catch (f) {
|
|
2628
|
+
r = !0, c = f;
|
|
2629
|
+
} finally {
|
|
2630
|
+
try {
|
|
2631
|
+
!o && t.return != null && t.return();
|
|
2632
|
+
} finally {
|
|
2633
|
+
if (r) throw c;
|
|
2634
|
+
}
|
|
2635
|
+
}
|
|
2636
|
+
return i;
|
|
2637
|
+
}
|
|
2638
|
+
}
|
|
2639
|
+
function Di(e) {
|
|
2640
|
+
if (Array.isArray(e)) return e;
|
|
2641
|
+
}
|
|
2642
|
+
function Za(e, a) {
|
|
2643
|
+
var t = Object.keys(e);
|
|
2644
|
+
if (Object.getOwnPropertySymbols) {
|
|
2645
|
+
var i = Object.getOwnPropertySymbols(e);
|
|
2646
|
+
a && (i = i.filter(function(o) {
|
|
2647
|
+
return Object.getOwnPropertyDescriptor(e, o).enumerable;
|
|
2648
|
+
})), t.push.apply(t, i);
|
|
2649
|
+
}
|
|
2650
|
+
return t;
|
|
2651
|
+
}
|
|
2652
|
+
function P(e) {
|
|
2653
|
+
for (var a = 1; a < arguments.length; a++) {
|
|
2654
|
+
var t = arguments[a] != null ? arguments[a] : {};
|
|
2655
|
+
a % 2 ? Za(Object(t), !0).forEach(function(i) {
|
|
2656
|
+
ta(e, i, t[i]);
|
|
2657
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : Za(Object(t)).forEach(function(i) {
|
|
2658
|
+
Object.defineProperty(e, i, Object.getOwnPropertyDescriptor(t, i));
|
|
2659
|
+
});
|
|
2660
|
+
}
|
|
2661
|
+
return e;
|
|
2662
|
+
}
|
|
2663
|
+
function ta(e, a, t) {
|
|
2664
|
+
return a in e ? Object.defineProperty(e, a, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[a] = t, e;
|
|
2665
|
+
}
|
|
2666
|
+
function Fe(e, a) {
|
|
2667
|
+
if (e == null) return {};
|
|
2668
|
+
var t = Zi(e, a), i, o;
|
|
2669
|
+
if (Object.getOwnPropertySymbols) {
|
|
2670
|
+
var r = Object.getOwnPropertySymbols(e);
|
|
2671
|
+
for (o = 0; o < r.length; o++)
|
|
2672
|
+
i = r[o], !(a.indexOf(i) >= 0) && Object.prototype.propertyIsEnumerable.call(e, i) && (t[i] = e[i]);
|
|
2673
|
+
}
|
|
2674
|
+
return t;
|
|
2675
|
+
}
|
|
2676
|
+
function Zi(e, a) {
|
|
2677
|
+
if (e == null) return {};
|
|
2678
|
+
var t = {}, i = Object.keys(e), o, r;
|
|
2679
|
+
for (r = 0; r < i.length; r++)
|
|
2680
|
+
o = i[r], !(a.indexOf(o) >= 0) && (t[o] = e[o]);
|
|
2681
|
+
return t;
|
|
2682
|
+
}
|
|
2683
|
+
var oa = /* @__PURE__ */ ct(function(e, a) {
|
|
2684
|
+
var t = e.children, i = Fe(e, wi), o = Qa(i), r = o.open, l = Fe(o, Ei);
|
|
2685
|
+
return st(a, function() {
|
|
2686
|
+
return {
|
|
2687
|
+
open: r
|
|
2688
|
+
};
|
|
2689
|
+
}, [r]), /* @__PURE__ */ pt.createElement(Fa, null, t(P(P({}, l), {}, {
|
|
2690
|
+
open: r
|
|
2691
|
+
})));
|
|
2692
|
+
});
|
|
2693
|
+
oa.displayName = "Dropzone";
|
|
2694
|
+
var Xa = {
|
|
2695
|
+
disabled: !1,
|
|
2696
|
+
getFilesFromEvent: Lt,
|
|
2697
|
+
maxSize: 1 / 0,
|
|
2698
|
+
minSize: 0,
|
|
2699
|
+
multiple: !0,
|
|
2700
|
+
maxFiles: 0,
|
|
2701
|
+
preventDropOnDocument: !0,
|
|
2702
|
+
noClick: !1,
|
|
2703
|
+
noKeyboard: !1,
|
|
2704
|
+
noDrag: !1,
|
|
2705
|
+
noDragEventsBubbling: !1,
|
|
2706
|
+
validator: null,
|
|
2707
|
+
useFsAccessApi: !1,
|
|
2708
|
+
autoFocus: !1
|
|
2709
|
+
};
|
|
2710
|
+
oa.defaultProps = Xa;
|
|
2711
|
+
oa.propTypes = {
|
|
2712
|
+
/**
|
|
2713
|
+
* Render function that exposes the dropzone state and prop getter fns
|
|
2714
|
+
*
|
|
2715
|
+
* @param {object} params
|
|
2716
|
+
* @param {Function} params.getRootProps Returns the props you should apply to the root drop container you render
|
|
2717
|
+
* @param {Function} params.getInputProps Returns the props you should apply to hidden file input you render
|
|
2718
|
+
* @param {Function} params.open Open the native file selection dialog
|
|
2719
|
+
* @param {boolean} params.isFocused Dropzone area is in focus
|
|
2720
|
+
* @param {boolean} params.isFileDialogActive File dialog is opened
|
|
2721
|
+
* @param {boolean} params.isDragActive Active drag is in progress
|
|
2722
|
+
* @param {boolean} params.isDragAccept Dragged files are accepted
|
|
2723
|
+
* @param {boolean} params.isDragReject True only during an active drag when some dragged files would be rejected. After drop, this resets to false. Use fileRejections for post-drop errors.
|
|
2724
|
+
* @param {boolean} params.isDragGlobal Files are being dragged anywhere on the document
|
|
2725
|
+
* @param {File[]} params.acceptedFiles Accepted files
|
|
2726
|
+
* @param {FileRejection[]} params.fileRejections Rejected files and why they were rejected. This persists after drop and is the source of truth for post-drop rejections.
|
|
2727
|
+
*/
|
|
2728
|
+
children: F.func,
|
|
2729
|
+
/**
|
|
2730
|
+
* Set accepted file types.
|
|
2731
|
+
* Checkout https://developer.mozilla.org/en-US/docs/Web/API/window/showOpenFilePicker types option for more information.
|
|
2732
|
+
* Keep in mind that mime type determination is not reliable across platforms. CSV files,
|
|
2733
|
+
* for example, are reported as text/plain under macOS but as application/vnd.ms-excel under
|
|
2734
|
+
* Windows. In some cases there might not be a mime type set at all (https://github.com/react-dropzone/react-dropzone/issues/276).
|
|
2735
|
+
*/
|
|
2736
|
+
accept: F.objectOf(F.arrayOf(F.string)),
|
|
2737
|
+
/**
|
|
2738
|
+
* Allow drag 'n' drop (or selection from the file dialog) of multiple files
|
|
2739
|
+
*/
|
|
2740
|
+
multiple: F.bool,
|
|
2741
|
+
/**
|
|
2742
|
+
* If false, allow dropped items to take over the current browser window
|
|
2743
|
+
*/
|
|
2744
|
+
preventDropOnDocument: F.bool,
|
|
2745
|
+
/**
|
|
2746
|
+
* If true, disables click to open the native file selection dialog
|
|
2747
|
+
*/
|
|
2748
|
+
noClick: F.bool,
|
|
2749
|
+
/**
|
|
2750
|
+
* If true, disables SPACE/ENTER to open the native file selection dialog.
|
|
2751
|
+
* Note that it also stops tracking the focus state.
|
|
2752
|
+
*/
|
|
2753
|
+
noKeyboard: F.bool,
|
|
2754
|
+
/**
|
|
2755
|
+
* If true, disables drag 'n' drop
|
|
2756
|
+
*/
|
|
2757
|
+
noDrag: F.bool,
|
|
2758
|
+
/**
|
|
2759
|
+
* If true, stops drag event propagation to parents
|
|
2760
|
+
*/
|
|
2761
|
+
noDragEventsBubbling: F.bool,
|
|
2762
|
+
/**
|
|
2763
|
+
* Minimum file size (in bytes)
|
|
2764
|
+
*/
|
|
2765
|
+
minSize: F.number,
|
|
2766
|
+
/**
|
|
2767
|
+
* Maximum file size (in bytes)
|
|
2768
|
+
*/
|
|
2769
|
+
maxSize: F.number,
|
|
2770
|
+
/**
|
|
2771
|
+
* Maximum accepted number of files
|
|
2772
|
+
* The default value is 0 which means there is no limitation to how many files are accepted.
|
|
2773
|
+
*/
|
|
2774
|
+
maxFiles: F.number,
|
|
2775
|
+
/**
|
|
2776
|
+
* Enable/disable the dropzone
|
|
2777
|
+
*/
|
|
2778
|
+
disabled: F.bool,
|
|
2779
|
+
/**
|
|
2780
|
+
* Use this to provide a custom file aggregator
|
|
2781
|
+
*
|
|
2782
|
+
* @param {(DragEvent|Event|Array<FileSystemFileHandle>)} event A drag event or input change event (if files were selected via the file dialog)
|
|
2783
|
+
*/
|
|
2784
|
+
getFilesFromEvent: F.func,
|
|
2785
|
+
/**
|
|
2786
|
+
* Cb for when closing the file dialog with no selection
|
|
2787
|
+
*/
|
|
2788
|
+
onFileDialogCancel: F.func,
|
|
2789
|
+
/**
|
|
2790
|
+
* Cb for when opening the file dialog
|
|
2791
|
+
*/
|
|
2792
|
+
onFileDialogOpen: F.func,
|
|
2793
|
+
/**
|
|
2794
|
+
* Set to true to use the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API
|
|
2795
|
+
* to open the file picker instead of using an `<input type="file">` click event.
|
|
2796
|
+
*/
|
|
2797
|
+
useFsAccessApi: F.bool,
|
|
2798
|
+
/**
|
|
2799
|
+
* Set to true to focus the root element on render
|
|
2800
|
+
*/
|
|
2801
|
+
autoFocus: F.bool,
|
|
2802
|
+
/**
|
|
2803
|
+
* Cb for when the `dragenter` event occurs.
|
|
2804
|
+
*
|
|
2805
|
+
* @param {DragEvent} event
|
|
2806
|
+
*/
|
|
2807
|
+
onDragEnter: F.func,
|
|
2808
|
+
/**
|
|
2809
|
+
* Cb for when the `dragleave` event occurs
|
|
2810
|
+
*
|
|
2811
|
+
* @param {DragEvent} event
|
|
2812
|
+
*/
|
|
2813
|
+
onDragLeave: F.func,
|
|
2814
|
+
/**
|
|
2815
|
+
* Cb for when the `dragover` event occurs
|
|
2816
|
+
*
|
|
2817
|
+
* @param {DragEvent} event
|
|
2818
|
+
*/
|
|
2819
|
+
onDragOver: F.func,
|
|
2820
|
+
/**
|
|
2821
|
+
* Cb for when the `drop` event occurs.
|
|
2822
|
+
* Note that this callback is invoked after the `getFilesFromEvent` callback is done.
|
|
2823
|
+
*
|
|
2824
|
+
* Files are accepted or rejected based on the `accept`, `multiple`, `minSize` and `maxSize` props.
|
|
2825
|
+
* `accept` must be a valid [MIME type](http://www.iana.org/assignments/media-types/media-types.xhtml) according to [input element specification](https://www.w3.org/wiki/HTML/Elements/input/file) or a valid file extension.
|
|
2826
|
+
* If `multiple` is set to false and additional files are dropped,
|
|
2827
|
+
* all files besides the first will be rejected.
|
|
2828
|
+
* Any file which does not have a size in the [`minSize`, `maxSize`] range, will be rejected as well.
|
|
2829
|
+
*
|
|
2830
|
+
* Note that the `onDrop` callback will always be invoked regardless if the dropped files were accepted or rejected.
|
|
2831
|
+
* If you'd like to react to a specific scenario, use the `onDropAccepted`/`onDropRejected` props.
|
|
2832
|
+
*
|
|
2833
|
+
* `onDrop` will provide you with an array of [File](https://developer.mozilla.org/en-US/docs/Web/API/File) objects which you can then process and send to a server.
|
|
2834
|
+
* For example, with [SuperAgent](https://github.com/visionmedia/superagent) as a http/ajax library:
|
|
2835
|
+
*
|
|
2836
|
+
* ```js
|
|
2837
|
+
* function onDrop(acceptedFiles) {
|
|
2838
|
+
* const req = request.post('/upload')
|
|
2839
|
+
* acceptedFiles.forEach(file => {
|
|
2840
|
+
* req.attach(file.name, file)
|
|
2841
|
+
* })
|
|
2842
|
+
* req.end(callback)
|
|
2843
|
+
* }
|
|
2844
|
+
* ```
|
|
2845
|
+
*
|
|
2846
|
+
* @param {File[]} acceptedFiles
|
|
2847
|
+
* @param {FileRejection[]} fileRejections
|
|
2848
|
+
* @param {(DragEvent|Event)} event A drag event or input change event (if files were selected via the file dialog)
|
|
2849
|
+
*/
|
|
2850
|
+
onDrop: F.func,
|
|
2851
|
+
/**
|
|
2852
|
+
* Cb for when the `drop` event occurs.
|
|
2853
|
+
* Note that if no files are accepted, this callback is not invoked.
|
|
2854
|
+
*
|
|
2855
|
+
* @param {File[]} files
|
|
2856
|
+
* @param {(DragEvent|Event)} event
|
|
2857
|
+
*/
|
|
2858
|
+
onDropAccepted: F.func,
|
|
2859
|
+
/**
|
|
2860
|
+
* Cb for when the `drop` event occurs.
|
|
2861
|
+
* Note that if no files are rejected, this callback is not invoked.
|
|
2862
|
+
*
|
|
2863
|
+
* @param {FileRejection[]} fileRejections
|
|
2864
|
+
* @param {(DragEvent|Event)} event
|
|
2865
|
+
*/
|
|
2866
|
+
onDropRejected: F.func,
|
|
2867
|
+
/**
|
|
2868
|
+
* Cb for when there's some error from any of the promises.
|
|
2869
|
+
*
|
|
2870
|
+
* @param {Error} error
|
|
2871
|
+
*/
|
|
2872
|
+
onError: F.func,
|
|
2873
|
+
/**
|
|
2874
|
+
* Custom validation function. It must return null if there's no errors.
|
|
2875
|
+
* @param {File} file
|
|
2876
|
+
* @returns {FileError|FileError[]|null}
|
|
2877
|
+
*/
|
|
2878
|
+
validator: F.func
|
|
2879
|
+
};
|
|
2880
|
+
var ia = {
|
|
2881
|
+
isFocused: !1,
|
|
2882
|
+
isFileDialogActive: !1,
|
|
2883
|
+
isDragActive: !1,
|
|
2884
|
+
isDragAccept: !1,
|
|
2885
|
+
isDragReject: !1,
|
|
2886
|
+
isDragGlobal: !1,
|
|
2887
|
+
acceptedFiles: [],
|
|
2888
|
+
fileRejections: []
|
|
2889
|
+
};
|
|
2890
|
+
function Qa() {
|
|
2891
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = P(P({}, Xa), e), t = a.accept, i = a.disabled, o = a.getFilesFromEvent, r = a.maxSize, l = a.minSize, c = a.multiple, f = a.maxFiles, x = a.onDragEnter, g = a.onDragLeave, b = a.onDragOver, O = a.onDrop, _ = a.onDropAccepted, C = a.onDropRejected, M = a.onFileDialogCancel, R = a.onFileDialogOpen, U = a.useFsAccessApi, re = a.autoFocus, I = a.preventDropOnDocument, L = a.noClick, m = a.noKeyboard, X = a.noDrag, J = a.noDragEventsBubbling, ce = a.onError, te = a.validator, ie = ge(function() {
|
|
2892
|
+
return hi(t);
|
|
2893
|
+
}, [t]), se = ge(function() {
|
|
2894
|
+
return gi(t);
|
|
2895
|
+
}, [t]), de = ge(function() {
|
|
2896
|
+
return typeof R == "function" ? R : Oa;
|
|
2897
|
+
}, [R]), pe = ge(function() {
|
|
2898
|
+
return typeof M == "function" ? M : Oa;
|
|
2899
|
+
}, [M]), S = be(null), W = be(null), G = lt(Oi, ia), Q = Ge(G, 2), le = Q[0], q = Q[1], p = le.isFocused, u = le.isFileDialogActive, w = be(typeof window < "u" && window.isSecureContext && U && xi()), k = function() {
|
|
2900
|
+
!w.current && u && setTimeout(function() {
|
|
2901
|
+
if (W.current) {
|
|
2902
|
+
var v = W.current.files;
|
|
2903
|
+
v.length || (q({
|
|
2904
|
+
type: "closeDialog"
|
|
2905
|
+
}), pe());
|
|
2906
|
+
}
|
|
2907
|
+
}, 300);
|
|
2908
|
+
};
|
|
2909
|
+
Ee(function() {
|
|
2910
|
+
return window.addEventListener("focus", k, !1), function() {
|
|
2911
|
+
window.removeEventListener("focus", k, !1);
|
|
2912
|
+
};
|
|
2913
|
+
}, [W, u, pe, w]);
|
|
2914
|
+
var h = be([]), E = be([]), A = function(v) {
|
|
2915
|
+
S.current && S.current.contains(v.target) || (v.preventDefault(), h.current = []);
|
|
2916
|
+
};
|
|
2917
|
+
Ee(function() {
|
|
2918
|
+
return I && (document.addEventListener("dragover", Ta, !1), document.addEventListener("drop", A, !1)), function() {
|
|
2919
|
+
I && (document.removeEventListener("dragover", Ta), document.removeEventListener("drop", A));
|
|
2920
|
+
};
|
|
2921
|
+
}, [S, I]), Ee(function() {
|
|
2922
|
+
var d = function(ee) {
|
|
2923
|
+
E.current = [].concat(Da(E.current), [ee.target]), we(ee) && q({
|
|
2924
|
+
isDragGlobal: !0,
|
|
2925
|
+
type: "setDragGlobal"
|
|
2926
|
+
});
|
|
2927
|
+
}, v = function(ee) {
|
|
2928
|
+
E.current = E.current.filter(function(ne) {
|
|
2929
|
+
return ne !== ee.target && ne !== null;
|
|
2930
|
+
}), !(E.current.length > 0) && q({
|
|
2931
|
+
isDragGlobal: !1,
|
|
2932
|
+
type: "setDragGlobal"
|
|
2933
|
+
});
|
|
2934
|
+
}, z = function() {
|
|
2935
|
+
E.current = [], q({
|
|
2936
|
+
isDragGlobal: !1,
|
|
2937
|
+
type: "setDragGlobal"
|
|
2938
|
+
});
|
|
2939
|
+
}, $ = function() {
|
|
2940
|
+
E.current = [], q({
|
|
2941
|
+
isDragGlobal: !1,
|
|
2942
|
+
type: "setDragGlobal"
|
|
2943
|
+
});
|
|
2944
|
+
};
|
|
2945
|
+
return document.addEventListener("dragenter", d, !1), document.addEventListener("dragleave", v, !1), document.addEventListener("dragend", z, !1), document.addEventListener("drop", $, !1), function() {
|
|
2946
|
+
document.removeEventListener("dragenter", d), document.removeEventListener("dragleave", v), document.removeEventListener("dragend", z), document.removeEventListener("drop", $);
|
|
2947
|
+
};
|
|
2948
|
+
}, [S]), Ee(function() {
|
|
2949
|
+
return !i && re && S.current && S.current.focus(), function() {
|
|
2950
|
+
};
|
|
2951
|
+
}, [S, re, i]);
|
|
2952
|
+
var y = K(function(d) {
|
|
2953
|
+
ce ? ce(d) : console.error(d);
|
|
2954
|
+
}, [ce]), j = K(function(d) {
|
|
2955
|
+
d.preventDefault(), d.persist(), je(d), h.current = [].concat(Da(h.current), [d.target]), we(d) && Promise.resolve(o(d)).then(function(v) {
|
|
2956
|
+
if (!(Oe(d) && !J)) {
|
|
2957
|
+
var z = v.length, $ = z > 0 && mi({
|
|
2958
|
+
files: v,
|
|
2959
|
+
accept: ie,
|
|
2960
|
+
minSize: l,
|
|
2961
|
+
maxSize: r,
|
|
2962
|
+
multiple: c,
|
|
2963
|
+
maxFiles: f,
|
|
2964
|
+
validator: te
|
|
2965
|
+
}), Y = z > 0 && !$;
|
|
2966
|
+
q({
|
|
2967
|
+
isDragAccept: $,
|
|
2968
|
+
isDragReject: Y,
|
|
2969
|
+
isDragActive: !0,
|
|
2970
|
+
type: "setDraggedFiles"
|
|
2971
|
+
}), x && x(d);
|
|
2972
|
+
}
|
|
2973
|
+
}).catch(function(v) {
|
|
2974
|
+
return y(v);
|
|
2975
|
+
});
|
|
2976
|
+
}, [o, x, y, J, ie, l, r, c, f, te]), V = K(function(d) {
|
|
2977
|
+
d.preventDefault(), d.persist(), je(d);
|
|
2978
|
+
var v = we(d);
|
|
2979
|
+
if (v && d.dataTransfer)
|
|
2980
|
+
try {
|
|
2981
|
+
d.dataTransfer.dropEffect = "copy";
|
|
2982
|
+
} catch {
|
|
2983
|
+
}
|
|
2984
|
+
return v && b && b(d), !1;
|
|
2985
|
+
}, [b, J]), H = K(function(d) {
|
|
2986
|
+
d.preventDefault(), d.persist(), je(d);
|
|
2987
|
+
var v = h.current.filter(function($) {
|
|
2988
|
+
return S.current && S.current.contains($);
|
|
2989
|
+
}), z = v.indexOf(d.target);
|
|
2990
|
+
z !== -1 && v.splice(z, 1), h.current = v, !(v.length > 0) && (q({
|
|
2991
|
+
type: "setDraggedFiles",
|
|
2992
|
+
isDragActive: !1,
|
|
2993
|
+
isDragAccept: !1,
|
|
2994
|
+
isDragReject: !1
|
|
2995
|
+
}), we(d) && g && g(d));
|
|
2996
|
+
}, [S, g, J]), N = K(function(d, v) {
|
|
2997
|
+
var z = [], $ = [];
|
|
2998
|
+
d.forEach(function(Y) {
|
|
2999
|
+
var ee = Wa(Y, ie), ne = Ge(ee, 2), Pe = ne[0], Se = ne[1], ze = Ua(Y, l, r), He = Ge(ze, 2), Re = He[0], Ce = He[1], Ie = te ? te(Y) : null;
|
|
3000
|
+
if (Pe && Re && !Ie)
|
|
3001
|
+
z.push(Y);
|
|
3002
|
+
else {
|
|
3003
|
+
var Le = [Se, Ce];
|
|
3004
|
+
Ie && (Le = Le.concat(Ie)), $.push({
|
|
3005
|
+
file: Y,
|
|
3006
|
+
errors: Le.filter(function(ot) {
|
|
3007
|
+
return ot;
|
|
3008
|
+
})
|
|
3009
|
+
});
|
|
3010
|
+
}
|
|
3011
|
+
}), (!c && z.length > 1 || c && f >= 1 && z.length > f) && (z.forEach(function(Y) {
|
|
3012
|
+
$.push({
|
|
3013
|
+
file: Y,
|
|
3014
|
+
errors: [si]
|
|
3015
|
+
});
|
|
3016
|
+
}), z.splice(0)), q({
|
|
3017
|
+
acceptedFiles: z,
|
|
3018
|
+
fileRejections: $,
|
|
3019
|
+
type: "setFiles"
|
|
3020
|
+
}), O && O(z, $, v), $.length > 0 && C && C($, v), z.length > 0 && _ && _(z, v);
|
|
3021
|
+
}, [q, c, ie, l, r, f, O, _, C, te]), s = K(function(d) {
|
|
3022
|
+
d.preventDefault(), d.persist(), je(d), h.current = [], we(d) && Promise.resolve(o(d)).then(function(v) {
|
|
3023
|
+
Oe(d) && !J || N(v, d);
|
|
3024
|
+
}).catch(function(v) {
|
|
3025
|
+
return y(v);
|
|
3026
|
+
}), q({
|
|
3027
|
+
type: "reset"
|
|
3028
|
+
});
|
|
3029
|
+
}, [o, N, y, J]), B = K(function() {
|
|
3030
|
+
if (w.current) {
|
|
3031
|
+
q({
|
|
3032
|
+
type: "openDialog"
|
|
3033
|
+
}), de();
|
|
3034
|
+
var d = {
|
|
3035
|
+
multiple: c,
|
|
3036
|
+
types: se
|
|
3037
|
+
};
|
|
3038
|
+
window.showOpenFilePicker(d).then(function(v) {
|
|
3039
|
+
return o(v);
|
|
3040
|
+
}).then(function(v) {
|
|
3041
|
+
N(v, null), q({
|
|
3042
|
+
type: "closeDialog"
|
|
3043
|
+
});
|
|
3044
|
+
}).catch(function(v) {
|
|
3045
|
+
yi(v) ? (pe(v), q({
|
|
3046
|
+
type: "closeDialog"
|
|
3047
|
+
})) : bi(v) ? (w.current = !1, W.current ? (W.current.value = null, W.current.click()) : y(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))) : y(v);
|
|
3048
|
+
});
|
|
3049
|
+
return;
|
|
3050
|
+
}
|
|
3051
|
+
W.current && (q({
|
|
3052
|
+
type: "openDialog"
|
|
3053
|
+
}), de(), W.current.value = null, W.current.click());
|
|
3054
|
+
}, [q, de, pe, U, N, y, se, c]), me = K(function(d) {
|
|
3055
|
+
!S.current || !S.current.isEqualNode(d.target) || (d.key === " " || d.key === "Enter" || d.keyCode === 32 || d.keyCode === 13) && (d.preventDefault(), B());
|
|
3056
|
+
}, [S, B]), ye = K(function() {
|
|
3057
|
+
q({
|
|
3058
|
+
type: "focus"
|
|
3059
|
+
});
|
|
3060
|
+
}, []), ra = K(function() {
|
|
3061
|
+
q({
|
|
3062
|
+
type: "blur"
|
|
3063
|
+
});
|
|
3064
|
+
}, []), pa = K(function() {
|
|
3065
|
+
L || (vi() ? setTimeout(B, 0) : B());
|
|
3066
|
+
}, [L, B]), xe = function(v) {
|
|
3067
|
+
return i ? null : v;
|
|
3068
|
+
}, _e = function(v) {
|
|
3069
|
+
return m ? null : xe(v);
|
|
3070
|
+
}, ke = function(v) {
|
|
3071
|
+
return X ? null : xe(v);
|
|
3072
|
+
}, je = function(v) {
|
|
3073
|
+
J && v.stopPropagation();
|
|
3074
|
+
}, tt = ge(function() {
|
|
3075
|
+
return function() {
|
|
3076
|
+
var d = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, v = d.refKey, z = v === void 0 ? "ref" : v, $ = d.role, Y = d.onKeyDown, ee = d.onFocus, ne = d.onBlur, Pe = d.onClick, Se = d.onDragEnter, ze = d.onDragOver, He = d.onDragLeave, Re = d.onDrop, Ce = Fe(d, Ai);
|
|
3077
|
+
return P(P(ta({
|
|
3078
|
+
onKeyDown: _e(ae(Y, me)),
|
|
3079
|
+
onFocus: _e(ae(ee, ye)),
|
|
3080
|
+
onBlur: _e(ae(ne, ra)),
|
|
3081
|
+
onClick: xe(ae(Pe, pa)),
|
|
3082
|
+
onDragEnter: ke(ae(Se, j)),
|
|
3083
|
+
onDragOver: ke(ae(ze, V)),
|
|
3084
|
+
onDragLeave: ke(ae(He, H)),
|
|
3085
|
+
onDrop: ke(ae(Re, s)),
|
|
3086
|
+
role: typeof $ == "string" && $ !== "" ? $ : "presentation"
|
|
3087
|
+
}, z, S), !i && !m ? {
|
|
3088
|
+
tabIndex: 0
|
|
3089
|
+
} : {}), Ce);
|
|
3090
|
+
};
|
|
3091
|
+
}, [S, me, ye, ra, pa, j, V, H, s, m, X, i]), it = K(function(d) {
|
|
3092
|
+
d.stopPropagation();
|
|
3093
|
+
}, []), nt = ge(function() {
|
|
3094
|
+
return function() {
|
|
3095
|
+
var d = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, v = d.refKey, z = v === void 0 ? "ref" : v, $ = d.onChange, Y = d.onClick, ee = Fe(d, ki), ne = ta({
|
|
3096
|
+
accept: ie,
|
|
3097
|
+
multiple: c,
|
|
3098
|
+
type: "file",
|
|
3099
|
+
style: {
|
|
3100
|
+
border: 0,
|
|
3101
|
+
clip: "rect(0, 0, 0, 0)",
|
|
3102
|
+
clipPath: "inset(50%)",
|
|
3103
|
+
height: "1px",
|
|
3104
|
+
margin: "0 -1px -1px 0",
|
|
3105
|
+
overflow: "hidden",
|
|
3106
|
+
padding: 0,
|
|
3107
|
+
position: "absolute",
|
|
3108
|
+
width: "1px",
|
|
3109
|
+
whiteSpace: "nowrap"
|
|
3110
|
+
},
|
|
3111
|
+
onChange: xe(ae($, s)),
|
|
3112
|
+
onClick: xe(ae(Y, it)),
|
|
3113
|
+
tabIndex: -1
|
|
3114
|
+
}, z, W);
|
|
3115
|
+
return P(P({}, ne), ee);
|
|
3116
|
+
};
|
|
3117
|
+
}, [W, t, c, s, i]);
|
|
3118
|
+
return P(P({}, le), {}, {
|
|
3119
|
+
isFocused: p && !i,
|
|
3120
|
+
getRootProps: tt,
|
|
3121
|
+
getInputProps: nt,
|
|
3122
|
+
rootRef: S,
|
|
3123
|
+
inputRef: W,
|
|
3124
|
+
open: xe(B)
|
|
3125
|
+
});
|
|
3126
|
+
}
|
|
3127
|
+
function Oi(e, a) {
|
|
3128
|
+
switch (a.type) {
|
|
3129
|
+
case "focus":
|
|
3130
|
+
return P(P({}, e), {}, {
|
|
3131
|
+
isFocused: !0
|
|
3132
|
+
});
|
|
3133
|
+
case "blur":
|
|
3134
|
+
return P(P({}, e), {}, {
|
|
3135
|
+
isFocused: !1
|
|
3136
|
+
});
|
|
3137
|
+
case "openDialog":
|
|
3138
|
+
return P(P({}, ia), {}, {
|
|
3139
|
+
isFileDialogActive: !0
|
|
3140
|
+
});
|
|
3141
|
+
case "closeDialog":
|
|
3142
|
+
return P(P({}, e), {}, {
|
|
3143
|
+
isFileDialogActive: !1
|
|
3144
|
+
});
|
|
3145
|
+
case "setDraggedFiles":
|
|
3146
|
+
return P(P({}, e), {}, {
|
|
3147
|
+
isDragActive: a.isDragActive,
|
|
3148
|
+
isDragAccept: a.isDragAccept,
|
|
3149
|
+
isDragReject: a.isDragReject
|
|
3150
|
+
});
|
|
3151
|
+
case "setFiles":
|
|
3152
|
+
return P(P({}, e), {}, {
|
|
3153
|
+
acceptedFiles: a.acceptedFiles,
|
|
3154
|
+
fileRejections: a.fileRejections,
|
|
3155
|
+
isDragReject: !1
|
|
3156
|
+
});
|
|
3157
|
+
case "setDragGlobal":
|
|
3158
|
+
return P(P({}, e), {}, {
|
|
3159
|
+
isDragGlobal: a.isDragGlobal
|
|
3160
|
+
});
|
|
3161
|
+
case "reset":
|
|
3162
|
+
return P({}, ia);
|
|
3163
|
+
default:
|
|
3164
|
+
return e;
|
|
3165
|
+
}
|
|
3166
|
+
}
|
|
3167
|
+
function Oa() {
|
|
3168
|
+
}
|
|
3169
|
+
const et = dt([null, () => {
|
|
3170
|
+
}]), Fi = () => mt(et), _i = (e) => e.type.startsWith("image/") ? "img" : e.type.startsWith("audio/") ? "audio" : e.type.startsWith("video/") ? "video" : e.type, Pi = {
|
|
3171
|
+
csv: De,
|
|
3172
|
+
xls: De,
|
|
3173
|
+
mov: Xe,
|
|
3174
|
+
mp4: Xe,
|
|
3175
|
+
xlsx: De,
|
|
3176
|
+
pdf: Je,
|
|
3177
|
+
txt: Je,
|
|
3178
|
+
json: Sa,
|
|
3179
|
+
mp3: Ca
|
|
3180
|
+
}, Si = (e) => {
|
|
3181
|
+
const [, a] = Fi(), [t, i] = Ke({ url: "", type: "", size: "" });
|
|
3182
|
+
Ee(() => {
|
|
3183
|
+
const f = e.file, x = URL.createObjectURL(f);
|
|
3184
|
+
return i({ url: x, type: _i(f), size: Tt(f.size) }), () => URL.revokeObjectURL(x);
|
|
3185
|
+
}, [e.file]);
|
|
3186
|
+
const o = (f) => {
|
|
3187
|
+
f.stopPropagation(), f.preventDefault(), a({ ...t, file: e.file });
|
|
3188
|
+
}, r = (f) => {
|
|
3189
|
+
f.preventDefault(), f.stopPropagation(), e.onDeleteFile?.(e.file);
|
|
3190
|
+
}, l = Pi[e.file.name.split(".").at(-1)] ?? rt, c = t.type === "img" ? /* @__PURE__ */ Z("img", { src: t.url, className: "w-full object-contain", alt: e.file.name }) : /* @__PURE__ */ Z(l, { size: 48 });
|
|
3191
|
+
return /* @__PURE__ */ oe("li", { className: "flex w-full flex-row justify-between gap-4 border-b border-card-border last:border-b-transparent", children: [
|
|
3192
|
+
/* @__PURE__ */ oe("div", { className: "flex flex-col gap-4", children: [
|
|
3193
|
+
/* @__PURE__ */ oe("div", { className: "flex flex-row items-center gap-4", children: [
|
|
3194
|
+
/* @__PURE__ */ Z("button", { type: "button", onClick: o, className: "m-2 flex size-16 max-w-16 items-center justify-center overflow-hidden", children: c }),
|
|
3195
|
+
/* @__PURE__ */ oe("div", { className: "flex flex-col items-start justify-start text-left", children: [
|
|
3196
|
+
/* @__PURE__ */ Z("span", { children: e.file.name }),
|
|
3197
|
+
/* @__PURE__ */ Z("span", { className: "text-sm italic", children: t.size })
|
|
3198
|
+
] })
|
|
3199
|
+
] }),
|
|
3200
|
+
e.File ? /* @__PURE__ */ Z("div", { className: "min-w-full flex-1", children: /* @__PURE__ */ Z(e.File, { file: e.file }) }) : null
|
|
3201
|
+
] }),
|
|
3202
|
+
/* @__PURE__ */ Z("div", { className: "align-start flex justify-start py-4 transition-colors duration-300 ease-linear hover:text-danger-hover", children: /* @__PURE__ */ Z("button", { onClick: r, type: "button", className: "flex size-6 items-center justify-center", children: /* @__PURE__ */ Z(ut, { size: 16 }) }) })
|
|
3203
|
+
] });
|
|
3204
|
+
}, zi = (e) => /* @__PURE__ */ Z("ul", { className: "w-full space-y-8", children: e.files.map((a) => /* @__PURE__ */ Z(Si, { File: e.File, onDeleteFile: e.onDeleteFile, file: a }, a.name)) }), at = (e) => {
|
|
3205
|
+
const a = _a(), t = e.dragging ? Ra : za;
|
|
3206
|
+
return /* @__PURE__ */ oe("div", { className: "flex flex-col items-center justify-center", children: [
|
|
3207
|
+
/* @__PURE__ */ Z("div", { className: "flex flex-col items-center justify-center gap-2", children: /* @__PURE__ */ Z(t, { className: "text-primary", size: 80 }) }),
|
|
3208
|
+
/* @__PURE__ */ oe("div", { className: "my-4 flex flex-col items-center gap-1", children: [
|
|
3209
|
+
/* @__PURE__ */ Z("p", { children: a.uploadIdle }),
|
|
3210
|
+
/* @__PURE__ */ Z("button", { className: "text-primary underline", type: "button", children: a.uploadIdleButton })
|
|
3211
|
+
] })
|
|
3212
|
+
] });
|
|
3213
|
+
}, Ri = (e) => e.isDragActive ? /* @__PURE__ */ Z(at, { files: e.files, dragging: !0 }) : e.files.length > 0 ? /* @__PURE__ */ Z(zi, { File: e.File, onDeleteFile: e.onDeleteFile, files: e.files }) : /* @__PURE__ */ Z(Fa, { children: e.idle }), Ci = /* @__PURE__ */ Z(at, { dragging: !1 }), Ii = (e) => {
|
|
3214
|
+
const a = e.item.file, t = e.item.type;
|
|
3215
|
+
return /* @__PURE__ */ oe("div", { className: "flex flex-col gap-4", children: [
|
|
3216
|
+
/* @__PURE__ */ Z("p", { className: "text-lg font-medium", children: e.item.file.name }),
|
|
3217
|
+
/* @__PURE__ */ Z("p", { className: "text-base", children: e.item.size }),
|
|
3218
|
+
t === "img" ? /* @__PURE__ */ Z("img", { className: "container inline-block w-full max-w-96", src: e.item.url, alt: a.name }) : t === "video" ? /* @__PURE__ */ Z("video", { className: "container block w-full max-w-96", src: e.item.url, controls: !0, muted: !0 }) : t === "audio" ? /* @__PURE__ */ Z("figure", { children: /* @__PURE__ */ Z("audio", { controls: !0, src: e.item.url }) }) : null
|
|
3219
|
+
] });
|
|
3220
|
+
}, Ki = ({ idle: e = Ci, onDeleteFile: a, File: t, onDrop: i, ...o }) => {
|
|
3221
|
+
const r = _a(), l = Ke(null), [c, f] = Ke([]), x = o.files ?? c, g = () => l[1](null), b = (M) => {
|
|
3222
|
+
i?.(M), f((R) => R.concat(M));
|
|
3223
|
+
}, { getRootProps: O, getInputProps: _, isDragActive: C } = Qa({ onDrop: b });
|
|
3224
|
+
return /* @__PURE__ */ oe(et.Provider, { value: l, children: [
|
|
3225
|
+
/* @__PURE__ */ Z(ft, { overlayClickClose: !0, title: r.uploadDialogTitle, ariaTitle: r.uploadDialogTitle, open: l[0] !== null, onChange: g, children: l[0] ? /* @__PURE__ */ Z(Ii, { item: l[0] }) : null }),
|
|
3226
|
+
/* @__PURE__ */ oe(
|
|
3227
|
+
"div",
|
|
3228
|
+
{
|
|
3229
|
+
...O(),
|
|
3230
|
+
"data-active": x ? x.length > 0 : !1,
|
|
3231
|
+
className: "flex flex-col items-center justify-center rounded-lg border border-card-border p-6 text-foreground data-[active=true]:border-solid data-[active=false]:border-dashed data-[active=true]:border-transparent data-[active=true]:bg-card-background",
|
|
3232
|
+
children: [
|
|
3233
|
+
/* @__PURE__ */ Z("input", { ..._(o), name: o.name, id: o.name }),
|
|
3234
|
+
/* @__PURE__ */ Z(Ri, { File: t, onDeleteFile: a, isDragActive: C, idle: e, files: x })
|
|
3235
|
+
]
|
|
3236
|
+
}
|
|
3237
|
+
)
|
|
3238
|
+
] });
|
|
3239
|
+
};
|
|
3240
|
+
export {
|
|
3241
|
+
Ki as F,
|
|
3242
|
+
Ui as c,
|
|
3243
|
+
Gi as g
|
|
3244
|
+
};
|
|
3245
|
+
//# sourceMappingURL=file-upload-Brf2NkLr.js.map
|