wcz-test 6.25.0 → 6.27.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.
Files changed (42) hide show
  1. package/dist/DialogsHooks-DzqOb2Zx.js +233 -0
  2. package/dist/DialogsHooks-DzqOb2Zx.js.map +1 -0
  3. package/dist/FileHooks-C8Akmy_o.js +2694 -0
  4. package/dist/FileHooks-C8Akmy_o.js.map +1 -0
  5. package/dist/RouterListItemButton-Spme9i4b.js +661 -0
  6. package/dist/RouterListItemButton-Spme9i4b.js.map +1 -0
  7. package/dist/_commonjsHelpers-DaMA6jEr.js +9 -0
  8. package/dist/_commonjsHelpers-DaMA6jEr.js.map +1 -0
  9. package/dist/components.js +2666 -518
  10. package/dist/components.js.map +1 -1
  11. package/dist/hooks.js +908 -354
  12. package/dist/hooks.js.map +1 -1
  13. package/dist/index-Biz5inV2.js +268 -0
  14. package/dist/index-Biz5inV2.js.map +1 -0
  15. package/dist/index.d.ts +0 -3
  16. package/dist/index.js +746 -1448
  17. package/dist/index.js.map +1 -1
  18. package/dist/queries.js +111 -113
  19. package/dist/queries.js.map +1 -1
  20. package/dist/utils-IWcYo8tM.js +106 -0
  21. package/dist/utils-IWcYo8tM.js.map +1 -0
  22. package/dist/utils.js +5 -5
  23. package/dist/vite.js +11 -11
  24. package/dist/vite.js.map +1 -1
  25. package/package.json +8 -15
  26. package/dist/DialogsHooks-DWkC9zAf.js +0 -114
  27. package/dist/DialogsHooks-DWkC9zAf.js.map +0 -1
  28. package/dist/FileHooks-CltSzAf8.js +0 -300
  29. package/dist/FileHooks-CltSzAf8.js.map +0 -1
  30. package/dist/RouterListItemButton-C_SG0uka.js +0 -18
  31. package/dist/RouterListItemButton-C_SG0uka.js.map +0 -1
  32. package/dist/env-4ZoUrNqp.js +0 -28
  33. package/dist/env-4ZoUrNqp.js.map +0 -1
  34. package/dist/queryClient--EvGPhnh.js +0 -6
  35. package/dist/queryClient--EvGPhnh.js.map +0 -1
  36. package/dist/server.d.ts +0 -11
  37. package/dist/server.js +0 -70
  38. package/dist/server.js.map +0 -1
  39. package/dist/session-7yb0BETM.js +0 -76
  40. package/dist/session-7yb0BETM.js.map +0 -1
  41. package/dist/utils-CZraUjBd.js +0 -82
  42. package/dist/utils-CZraUjBd.js.map +0 -1
@@ -1,37 +1,37 @@
1
- import { jsxs as $, jsx as r } from "react/jsx-runtime";
2
- import { c as C } from "react/compiler-runtime";
3
- import { Typography as N, Stack as G, Box as S, useTheme as ue, Paper as he, ListItemButton as q, ListItemIcon as J, ListItemText as Q, List as se, Menu as pe, ImageListItemBar as ge, IconButton as ee, Tooltip as we, ImageListItem as ye, Dialog as xe, Fab as be, Chip as ie, Button as Ce, Link as Ie, Tab as ve, Divider as re } from "@mui/material";
4
- import z, { useRef as Fe, useState as H, useEffectEvent as $e, useEffect as te, createContext as De, useContext as _e, Fragment as ce } from "react";
5
- import Le from "@mui/icons-material/CloudUpload";
6
- import { useDropzone as Se } from "react-dropzone";
7
- import { useTranslation as ne } from "react-i18next";
8
- import ae from "@mui/icons-material/MoreVert";
9
- import { grey as Te } from "@mui/material/colors";
10
- import { useInView as Re } from "react-intersection-observer";
11
- import Me from "@mui/icons-material/Delete";
12
- import ke from "@mui/icons-material/FileDownload";
13
- import { u as Ae } from "./DialogsHooks-DWkC9zAf.js";
14
- import { c as le, f as Ee, a as Be, d as me, b as Ne, u as Pe } from "./FileHooks-CltSzAf8.js";
15
- import Ve from "@mui/icons-material/AttachFile";
16
- import Ge from "@mui/icons-material/Image";
17
- import He from "@mui/icons-material/SmartDisplay";
18
- import ze from "@mui/icons-material/Close";
19
- import Oe from "@mui/icons-material/Edit";
20
- import { createLink as O } from "@tanstack/react-router";
21
- import { GridActionsCellItem as We } from "@mui/x-data-grid-premium";
22
- import { R as jt } from "./RouterListItemButton-C_SG0uka.js";
23
- const je = (o) => {
24
- const e = C(22);
25
- let t, n, l, i, c;
26
- e[0] !== o ? ({
27
- startIcon: i,
28
- endIcon: n,
1
+ import { jsxs as q, jsx as u } from "react/jsx-runtime";
2
+ import { c as E } from "react/compiler-runtime";
3
+ import { Typography as li, Stack as fi, Box as U, useTheme as Me, Paper as Be, ListItemButton as $i, ListItemIcon as Mi, ListItemText as Bi, List as be, Menu as He, ImageListItemBar as We, IconButton as Vi, Tooltip as Ke, ImageListItem as Ne, Dialog as Ge, Fab as Ve, Chip as pe, Button as Ye, Link as Ue, Tab as Xe, Divider as ye } from "@mui/material";
4
+ import ri, { useRef as ui, useState as vi, useEffectEvent as Je, useEffect as pi, useMemo as oi, useReducer as Ze, useCallback as M, forwardRef as Qe, useImperativeHandle as it, Fragment as Yi, createContext as et, useContext as tt } from "react";
5
+ import at from "@mui/icons-material/CloudUpload";
6
+ import { P as j } from "./RouterListItemButton-Spme9i4b.js";
7
+ import { R as xn } from "./RouterListItemButton-Spme9i4b.js";
8
+ import { g as nt } from "./_commonjsHelpers-DaMA6jEr.js";
9
+ import { useTranslation as Ui } from "react-i18next";
10
+ import we from "@mui/icons-material/MoreVert";
11
+ import { grey as ot } from "@mui/material/colors";
12
+ import { u as pt, a as lt } from "./DialogsHooks-DzqOb2Zx.js";
13
+ import ct from "@mui/icons-material/Delete";
14
+ import rt from "@mui/icons-material/FileDownload";
15
+ import { c as Xi, f as st, a as dt, d as ke, b as mt, u as ut } from "./FileHooks-C8Akmy_o.js";
16
+ import ft from "@mui/icons-material/AttachFile";
17
+ import vt from "@mui/icons-material/Image";
18
+ import xt from "@mui/icons-material/SmartDisplay";
19
+ import gt from "@mui/icons-material/Close";
20
+ import ht from "@mui/icons-material/Edit";
21
+ import { createLink as gi } from "@tanstack/react-router";
22
+ import { GridActionsCellItem as bt } from "@mui/x-data-grid-premium";
23
+ const yt = (e) => {
24
+ const i = E(22);
25
+ let t, a, n, o, p;
26
+ i[0] !== e ? ({
27
+ startIcon: o,
28
+ endIcon: a,
29
29
  children: t,
30
- sx: c,
31
- ...l
32
- } = o, e[0] = o, e[1] = t, e[2] = n, e[3] = l, e[4] = i, e[5] = c) : (t = e[1], n = e[2], l = e[3], i = e[4], c = e[5]);
33
- let d;
34
- e[6] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (d = {
30
+ sx: p,
31
+ ...n
32
+ } = e, i[0] = e, i[1] = t, i[2] = a, i[3] = n, i[4] = o, i[5] = p) : (t = i[1], a = i[2], n = i[3], o = i[4], p = i[5]);
33
+ let l;
34
+ i[6] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = {
35
35
  display: "inline-flex",
36
36
  alignItems: "center",
37
37
  justifyContent: "center",
@@ -40,74 +40,2222 @@ const je = (o) => {
40
40
  "& > svg": {
41
41
  display: "block"
42
42
  }
43
- }, e[6] = d) : d = e[6];
44
- const f = d;
45
- let s;
46
- e[7] !== c ? (s = {
43
+ }, i[6] = l) : l = i[6];
44
+ const d = l;
45
+ let c;
46
+ i[7] !== p ? (c = {
47
47
  display: "inline-flex",
48
48
  alignItems: "center",
49
49
  verticalAlign: "middle",
50
- ...c
51
- }, e[7] = c, e[8] = s) : s = e[8];
52
- let a;
53
- e[9] !== i ? (a = i && /* @__PURE__ */ r(G, { component: "span", sx: f, children: i }), e[9] = i, e[10] = a) : a = e[10];
50
+ ...p
51
+ }, i[7] = p, i[8] = c) : c = i[8];
52
+ let s;
53
+ i[9] !== o ? (s = o && /* @__PURE__ */ u(fi, { component: "span", sx: d, children: o }), i[9] = o, i[10] = s) : s = i[10];
54
54
  let m;
55
- e[11] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (m = {
55
+ i[11] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (m = {
56
56
  display: "inline",
57
57
  lineHeight: "inherit"
58
- }, e[11] = m) : m = e[11];
59
- let u;
60
- e[12] !== t ? (u = /* @__PURE__ */ r(G, { component: "span", sx: m, children: t }), e[12] = t, e[13] = u) : u = e[13];
61
- let p;
62
- e[14] !== n ? (p = n && /* @__PURE__ */ r(G, { component: "span", sx: f, children: n }), e[14] = n, e[15] = p) : p = e[15];
63
- let h;
64
- return e[16] !== l || e[17] !== s || e[18] !== a || e[19] !== u || e[20] !== p ? (h = /* @__PURE__ */ $(N, { component: "span", sx: s, gap: 1, ...l, children: [
65
- a,
66
- u,
67
- p
68
- ] }), e[16] = l, e[17] = s, e[18] = a, e[19] = u, e[20] = p, e[21] = h) : h = e[21], h;
69
- }, Rt = (o) => {
70
- const e = C(15);
71
- let t, n, l;
72
- e[0] !== o ? ({
73
- children: t,
74
- sx: l,
75
- ...n
76
- } = o, e[0] = o, e[1] = t, e[2] = n, e[3] = l) : (t = e[1], n = e[2], l = e[3]);
77
- const i = Fe(null), [c, d] = H();
58
+ }, i[11] = m) : m = i[11];
78
59
  let f;
79
- e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (f = () => {
80
- if (!i.current)
60
+ i[12] !== t ? (f = /* @__PURE__ */ u(fi, { component: "span", sx: m, children: t }), i[12] = t, i[13] = f) : f = i[13];
61
+ let g;
62
+ i[14] !== a ? (g = a && /* @__PURE__ */ u(fi, { component: "span", sx: d, children: a }), i[14] = a, i[15] = g) : g = i[15];
63
+ let x;
64
+ return i[16] !== n || i[17] !== c || i[18] !== s || i[19] !== f || i[20] !== g ? (x = /* @__PURE__ */ q(li, { component: "span", sx: c, gap: 1, ...n, children: [
65
+ s,
66
+ f,
67
+ g
68
+ ] }), i[16] = n, i[17] = c, i[18] = s, i[19] = f, i[20] = g, i[21] = x) : x = i[21], x;
69
+ }, tn = (e) => {
70
+ const i = E(15);
71
+ let t, a, n;
72
+ i[0] !== e ? ({
73
+ children: t,
74
+ sx: n,
75
+ ...a
76
+ } = e, i[0] = e, i[1] = t, i[2] = a, i[3] = n) : (t = i[1], a = i[2], n = i[3]);
77
+ const o = ui(null), [p, l] = vi();
78
+ let d;
79
+ i[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (d = () => {
80
+ if (!o.current)
81
81
  return;
82
- const h = Math.ceil(i.current.getBoundingClientRect().top), g = Math.max(0, window.innerHeight - h);
83
- d(g);
84
- }, e[4] = f) : f = e[4];
85
- const s = $e(f);
86
- let a;
87
- e[5] !== s ? (a = () => {
88
- const h = i.current;
89
- if (!h)
82
+ const x = Math.ceil(o.current.getBoundingClientRect().top), h = Math.max(0, window.innerHeight - x);
83
+ l(h);
84
+ }, i[4] = d) : d = i[4];
85
+ const c = Je(d);
86
+ let s;
87
+ i[5] !== c ? (s = () => {
88
+ const x = o.current;
89
+ if (!x)
90
90
  return;
91
- s(), window.addEventListener("resize", s);
92
- const g = new ResizeObserver(s);
93
- return g.observe(document.documentElement), g.observe(document.body), g.observe(h), () => {
94
- window.removeEventListener("resize", s), g.disconnect();
91
+ c(), window.addEventListener("resize", c);
92
+ const h = new ResizeObserver(c);
93
+ return h.observe(document.documentElement), h.observe(document.body), h.observe(x), () => {
94
+ window.removeEventListener("resize", c), h.disconnect();
95
95
  };
96
- }, e[5] = s, e[6] = a) : a = e[6];
96
+ }, i[5] = c, i[6] = s) : s = i[6];
97
97
  let m;
98
- e[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (m = [], e[7] = m) : m = e[7], te(a, m);
99
- let u;
100
- e[8] !== l ? (u = {
98
+ i[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (m = [], i[7] = m) : m = i[7], pi(s, m);
99
+ let f;
100
+ i[8] !== n ? (f = {
101
101
  display: "flex",
102
102
  flexDirection: "column",
103
103
  minHeight: 0,
104
104
  width: "100%",
105
105
  overflow: "auto",
106
- ...l
107
- }, e[8] = l, e[9] = u) : u = e[9];
108
- let p;
109
- return e[10] !== t || e[11] !== c || e[12] !== n || e[13] !== u ? (p = /* @__PURE__ */ r(S, { ref: i, sx: u, height: c, ...n, children: t }), e[10] = t, e[11] = c, e[12] = n, e[13] = u, e[14] = p) : p = e[14], p;
110
- }, Ye = {
106
+ ...n
107
+ }, i[8] = n, i[9] = f) : f = i[9];
108
+ let g;
109
+ return i[10] !== t || i[11] !== p || i[12] !== a || i[13] !== f ? (g = /* @__PURE__ */ u(U, { ref: o, sx: f, height: p, ...a, children: t }), i[10] = t, i[11] = p, i[12] = a, i[13] = f, i[14] = g) : g = i[14], g;
110
+ };
111
+ function ii(e, i, t, a) {
112
+ function n(o) {
113
+ return o instanceof t ? o : new t(function(p) {
114
+ p(o);
115
+ });
116
+ }
117
+ return new (t || (t = Promise))(function(o, p) {
118
+ function l(s) {
119
+ try {
120
+ c(a.next(s));
121
+ } catch (m) {
122
+ p(m);
123
+ }
124
+ }
125
+ function d(s) {
126
+ try {
127
+ c(a.throw(s));
128
+ } catch (m) {
129
+ p(m);
130
+ }
131
+ }
132
+ function c(s) {
133
+ s.done ? o(s.value) : n(s.value).then(l, d);
134
+ }
135
+ c((a = a.apply(e, i || [])).next());
136
+ });
137
+ }
138
+ const wt = /* @__PURE__ */ new Map([
139
+ // https://github.com/guzzle/psr7/blob/2d9260799e713f1c475d3c5fdc3d6561ff7441b2/src/MimeType.php
140
+ ["1km", "application/vnd.1000minds.decision-model+xml"],
141
+ ["3dml", "text/vnd.in3d.3dml"],
142
+ ["3ds", "image/x-3ds"],
143
+ ["3g2", "video/3gpp2"],
144
+ ["3gp", "video/3gp"],
145
+ ["3gpp", "video/3gpp"],
146
+ ["3mf", "model/3mf"],
147
+ ["7z", "application/x-7z-compressed"],
148
+ ["7zip", "application/x-7z-compressed"],
149
+ ["123", "application/vnd.lotus-1-2-3"],
150
+ ["aab", "application/x-authorware-bin"],
151
+ ["aac", "audio/x-acc"],
152
+ ["aam", "application/x-authorware-map"],
153
+ ["aas", "application/x-authorware-seg"],
154
+ ["abw", "application/x-abiword"],
155
+ ["ac", "application/vnd.nokia.n-gage.ac+xml"],
156
+ ["ac3", "audio/ac3"],
157
+ ["acc", "application/vnd.americandynamics.acc"],
158
+ ["ace", "application/x-ace-compressed"],
159
+ ["acu", "application/vnd.acucobol"],
160
+ ["acutc", "application/vnd.acucorp"],
161
+ ["adp", "audio/adpcm"],
162
+ ["aep", "application/vnd.audiograph"],
163
+ ["afm", "application/x-font-type1"],
164
+ ["afp", "application/vnd.ibm.modcap"],
165
+ ["ahead", "application/vnd.ahead.space"],
166
+ ["ai", "application/pdf"],
167
+ ["aif", "audio/x-aiff"],
168
+ ["aifc", "audio/x-aiff"],
169
+ ["aiff", "audio/x-aiff"],
170
+ ["air", "application/vnd.adobe.air-application-installer-package+zip"],
171
+ ["ait", "application/vnd.dvb.ait"],
172
+ ["ami", "application/vnd.amiga.ami"],
173
+ ["amr", "audio/amr"],
174
+ ["apk", "application/vnd.android.package-archive"],
175
+ ["apng", "image/apng"],
176
+ ["appcache", "text/cache-manifest"],
177
+ ["application", "application/x-ms-application"],
178
+ ["apr", "application/vnd.lotus-approach"],
179
+ ["arc", "application/x-freearc"],
180
+ ["arj", "application/x-arj"],
181
+ ["asc", "application/pgp-signature"],
182
+ ["asf", "video/x-ms-asf"],
183
+ ["asm", "text/x-asm"],
184
+ ["aso", "application/vnd.accpac.simply.aso"],
185
+ ["asx", "video/x-ms-asf"],
186
+ ["atc", "application/vnd.acucorp"],
187
+ ["atom", "application/atom+xml"],
188
+ ["atomcat", "application/atomcat+xml"],
189
+ ["atomdeleted", "application/atomdeleted+xml"],
190
+ ["atomsvc", "application/atomsvc+xml"],
191
+ ["atx", "application/vnd.antix.game-component"],
192
+ ["au", "audio/x-au"],
193
+ ["avi", "video/x-msvideo"],
194
+ ["avif", "image/avif"],
195
+ ["aw", "application/applixware"],
196
+ ["azf", "application/vnd.airzip.filesecure.azf"],
197
+ ["azs", "application/vnd.airzip.filesecure.azs"],
198
+ ["azv", "image/vnd.airzip.accelerator.azv"],
199
+ ["azw", "application/vnd.amazon.ebook"],
200
+ ["b16", "image/vnd.pco.b16"],
201
+ ["bat", "application/x-msdownload"],
202
+ ["bcpio", "application/x-bcpio"],
203
+ ["bdf", "application/x-font-bdf"],
204
+ ["bdm", "application/vnd.syncml.dm+wbxml"],
205
+ ["bdoc", "application/x-bdoc"],
206
+ ["bed", "application/vnd.realvnc.bed"],
207
+ ["bh2", "application/vnd.fujitsu.oasysprs"],
208
+ ["bin", "application/octet-stream"],
209
+ ["blb", "application/x-blorb"],
210
+ ["blorb", "application/x-blorb"],
211
+ ["bmi", "application/vnd.bmi"],
212
+ ["bmml", "application/vnd.balsamiq.bmml+xml"],
213
+ ["bmp", "image/bmp"],
214
+ ["book", "application/vnd.framemaker"],
215
+ ["box", "application/vnd.previewsystems.box"],
216
+ ["boz", "application/x-bzip2"],
217
+ ["bpk", "application/octet-stream"],
218
+ ["bpmn", "application/octet-stream"],
219
+ ["bsp", "model/vnd.valve.source.compiled-map"],
220
+ ["btif", "image/prs.btif"],
221
+ ["buffer", "application/octet-stream"],
222
+ ["bz", "application/x-bzip"],
223
+ ["bz2", "application/x-bzip2"],
224
+ ["c", "text/x-c"],
225
+ ["c4d", "application/vnd.clonk.c4group"],
226
+ ["c4f", "application/vnd.clonk.c4group"],
227
+ ["c4g", "application/vnd.clonk.c4group"],
228
+ ["c4p", "application/vnd.clonk.c4group"],
229
+ ["c4u", "application/vnd.clonk.c4group"],
230
+ ["c11amc", "application/vnd.cluetrust.cartomobile-config"],
231
+ ["c11amz", "application/vnd.cluetrust.cartomobile-config-pkg"],
232
+ ["cab", "application/vnd.ms-cab-compressed"],
233
+ ["caf", "audio/x-caf"],
234
+ ["cap", "application/vnd.tcpdump.pcap"],
235
+ ["car", "application/vnd.curl.car"],
236
+ ["cat", "application/vnd.ms-pki.seccat"],
237
+ ["cb7", "application/x-cbr"],
238
+ ["cba", "application/x-cbr"],
239
+ ["cbr", "application/x-cbr"],
240
+ ["cbt", "application/x-cbr"],
241
+ ["cbz", "application/x-cbr"],
242
+ ["cc", "text/x-c"],
243
+ ["cco", "application/x-cocoa"],
244
+ ["cct", "application/x-director"],
245
+ ["ccxml", "application/ccxml+xml"],
246
+ ["cdbcmsg", "application/vnd.contact.cmsg"],
247
+ ["cda", "application/x-cdf"],
248
+ ["cdf", "application/x-netcdf"],
249
+ ["cdfx", "application/cdfx+xml"],
250
+ ["cdkey", "application/vnd.mediastation.cdkey"],
251
+ ["cdmia", "application/cdmi-capability"],
252
+ ["cdmic", "application/cdmi-container"],
253
+ ["cdmid", "application/cdmi-domain"],
254
+ ["cdmio", "application/cdmi-object"],
255
+ ["cdmiq", "application/cdmi-queue"],
256
+ ["cdr", "application/cdr"],
257
+ ["cdx", "chemical/x-cdx"],
258
+ ["cdxml", "application/vnd.chemdraw+xml"],
259
+ ["cdy", "application/vnd.cinderella"],
260
+ ["cer", "application/pkix-cert"],
261
+ ["cfs", "application/x-cfs-compressed"],
262
+ ["cgm", "image/cgm"],
263
+ ["chat", "application/x-chat"],
264
+ ["chm", "application/vnd.ms-htmlhelp"],
265
+ ["chrt", "application/vnd.kde.kchart"],
266
+ ["cif", "chemical/x-cif"],
267
+ ["cii", "application/vnd.anser-web-certificate-issue-initiation"],
268
+ ["cil", "application/vnd.ms-artgalry"],
269
+ ["cjs", "application/node"],
270
+ ["cla", "application/vnd.claymore"],
271
+ ["class", "application/octet-stream"],
272
+ ["clkk", "application/vnd.crick.clicker.keyboard"],
273
+ ["clkp", "application/vnd.crick.clicker.palette"],
274
+ ["clkt", "application/vnd.crick.clicker.template"],
275
+ ["clkw", "application/vnd.crick.clicker.wordbank"],
276
+ ["clkx", "application/vnd.crick.clicker"],
277
+ ["clp", "application/x-msclip"],
278
+ ["cmc", "application/vnd.cosmocaller"],
279
+ ["cmdf", "chemical/x-cmdf"],
280
+ ["cml", "chemical/x-cml"],
281
+ ["cmp", "application/vnd.yellowriver-custom-menu"],
282
+ ["cmx", "image/x-cmx"],
283
+ ["cod", "application/vnd.rim.cod"],
284
+ ["coffee", "text/coffeescript"],
285
+ ["com", "application/x-msdownload"],
286
+ ["conf", "text/plain"],
287
+ ["cpio", "application/x-cpio"],
288
+ ["cpp", "text/x-c"],
289
+ ["cpt", "application/mac-compactpro"],
290
+ ["crd", "application/x-mscardfile"],
291
+ ["crl", "application/pkix-crl"],
292
+ ["crt", "application/x-x509-ca-cert"],
293
+ ["crx", "application/x-chrome-extension"],
294
+ ["cryptonote", "application/vnd.rig.cryptonote"],
295
+ ["csh", "application/x-csh"],
296
+ ["csl", "application/vnd.citationstyles.style+xml"],
297
+ ["csml", "chemical/x-csml"],
298
+ ["csp", "application/vnd.commonspace"],
299
+ ["csr", "application/octet-stream"],
300
+ ["css", "text/css"],
301
+ ["cst", "application/x-director"],
302
+ ["csv", "text/csv"],
303
+ ["cu", "application/cu-seeme"],
304
+ ["curl", "text/vnd.curl"],
305
+ ["cww", "application/prs.cww"],
306
+ ["cxt", "application/x-director"],
307
+ ["cxx", "text/x-c"],
308
+ ["dae", "model/vnd.collada+xml"],
309
+ ["daf", "application/vnd.mobius.daf"],
310
+ ["dart", "application/vnd.dart"],
311
+ ["dataless", "application/vnd.fdsn.seed"],
312
+ ["davmount", "application/davmount+xml"],
313
+ ["dbf", "application/vnd.dbf"],
314
+ ["dbk", "application/docbook+xml"],
315
+ ["dcr", "application/x-director"],
316
+ ["dcurl", "text/vnd.curl.dcurl"],
317
+ ["dd2", "application/vnd.oma.dd2+xml"],
318
+ ["ddd", "application/vnd.fujixerox.ddd"],
319
+ ["ddf", "application/vnd.syncml.dmddf+xml"],
320
+ ["dds", "image/vnd.ms-dds"],
321
+ ["deb", "application/x-debian-package"],
322
+ ["def", "text/plain"],
323
+ ["deploy", "application/octet-stream"],
324
+ ["der", "application/x-x509-ca-cert"],
325
+ ["dfac", "application/vnd.dreamfactory"],
326
+ ["dgc", "application/x-dgc-compressed"],
327
+ ["dic", "text/x-c"],
328
+ ["dir", "application/x-director"],
329
+ ["dis", "application/vnd.mobius.dis"],
330
+ ["disposition-notification", "message/disposition-notification"],
331
+ ["dist", "application/octet-stream"],
332
+ ["distz", "application/octet-stream"],
333
+ ["djv", "image/vnd.djvu"],
334
+ ["djvu", "image/vnd.djvu"],
335
+ ["dll", "application/octet-stream"],
336
+ ["dmg", "application/x-apple-diskimage"],
337
+ ["dmn", "application/octet-stream"],
338
+ ["dmp", "application/vnd.tcpdump.pcap"],
339
+ ["dms", "application/octet-stream"],
340
+ ["dna", "application/vnd.dna"],
341
+ ["doc", "application/msword"],
342
+ ["docm", "application/vnd.ms-word.template.macroEnabled.12"],
343
+ ["docx", "application/vnd.openxmlformats-officedocument.wordprocessingml.document"],
344
+ ["dot", "application/msword"],
345
+ ["dotm", "application/vnd.ms-word.template.macroEnabled.12"],
346
+ ["dotx", "application/vnd.openxmlformats-officedocument.wordprocessingml.template"],
347
+ ["dp", "application/vnd.osgi.dp"],
348
+ ["dpg", "application/vnd.dpgraph"],
349
+ ["dra", "audio/vnd.dra"],
350
+ ["drle", "image/dicom-rle"],
351
+ ["dsc", "text/prs.lines.tag"],
352
+ ["dssc", "application/dssc+der"],
353
+ ["dtb", "application/x-dtbook+xml"],
354
+ ["dtd", "application/xml-dtd"],
355
+ ["dts", "audio/vnd.dts"],
356
+ ["dtshd", "audio/vnd.dts.hd"],
357
+ ["dump", "application/octet-stream"],
358
+ ["dvb", "video/vnd.dvb.file"],
359
+ ["dvi", "application/x-dvi"],
360
+ ["dwd", "application/atsc-dwd+xml"],
361
+ ["dwf", "model/vnd.dwf"],
362
+ ["dwg", "image/vnd.dwg"],
363
+ ["dxf", "image/vnd.dxf"],
364
+ ["dxp", "application/vnd.spotfire.dxp"],
365
+ ["dxr", "application/x-director"],
366
+ ["ear", "application/java-archive"],
367
+ ["ecelp4800", "audio/vnd.nuera.ecelp4800"],
368
+ ["ecelp7470", "audio/vnd.nuera.ecelp7470"],
369
+ ["ecelp9600", "audio/vnd.nuera.ecelp9600"],
370
+ ["ecma", "application/ecmascript"],
371
+ ["edm", "application/vnd.novadigm.edm"],
372
+ ["edx", "application/vnd.novadigm.edx"],
373
+ ["efif", "application/vnd.picsel"],
374
+ ["ei6", "application/vnd.pg.osasli"],
375
+ ["elc", "application/octet-stream"],
376
+ ["emf", "image/emf"],
377
+ ["eml", "message/rfc822"],
378
+ ["emma", "application/emma+xml"],
379
+ ["emotionml", "application/emotionml+xml"],
380
+ ["emz", "application/x-msmetafile"],
381
+ ["eol", "audio/vnd.digital-winds"],
382
+ ["eot", "application/vnd.ms-fontobject"],
383
+ ["eps", "application/postscript"],
384
+ ["epub", "application/epub+zip"],
385
+ ["es", "application/ecmascript"],
386
+ ["es3", "application/vnd.eszigno3+xml"],
387
+ ["esa", "application/vnd.osgi.subsystem"],
388
+ ["esf", "application/vnd.epson.esf"],
389
+ ["et3", "application/vnd.eszigno3+xml"],
390
+ ["etx", "text/x-setext"],
391
+ ["eva", "application/x-eva"],
392
+ ["evy", "application/x-envoy"],
393
+ ["exe", "application/octet-stream"],
394
+ ["exi", "application/exi"],
395
+ ["exp", "application/express"],
396
+ ["exr", "image/aces"],
397
+ ["ext", "application/vnd.novadigm.ext"],
398
+ ["ez", "application/andrew-inset"],
399
+ ["ez2", "application/vnd.ezpix-album"],
400
+ ["ez3", "application/vnd.ezpix-package"],
401
+ ["f", "text/x-fortran"],
402
+ ["f4v", "video/mp4"],
403
+ ["f77", "text/x-fortran"],
404
+ ["f90", "text/x-fortran"],
405
+ ["fbs", "image/vnd.fastbidsheet"],
406
+ ["fcdt", "application/vnd.adobe.formscentral.fcdt"],
407
+ ["fcs", "application/vnd.isac.fcs"],
408
+ ["fdf", "application/vnd.fdf"],
409
+ ["fdt", "application/fdt+xml"],
410
+ ["fe_launch", "application/vnd.denovo.fcselayout-link"],
411
+ ["fg5", "application/vnd.fujitsu.oasysgp"],
412
+ ["fgd", "application/x-director"],
413
+ ["fh", "image/x-freehand"],
414
+ ["fh4", "image/x-freehand"],
415
+ ["fh5", "image/x-freehand"],
416
+ ["fh7", "image/x-freehand"],
417
+ ["fhc", "image/x-freehand"],
418
+ ["fig", "application/x-xfig"],
419
+ ["fits", "image/fits"],
420
+ ["flac", "audio/x-flac"],
421
+ ["fli", "video/x-fli"],
422
+ ["flo", "application/vnd.micrografx.flo"],
423
+ ["flv", "video/x-flv"],
424
+ ["flw", "application/vnd.kde.kivio"],
425
+ ["flx", "text/vnd.fmi.flexstor"],
426
+ ["fly", "text/vnd.fly"],
427
+ ["fm", "application/vnd.framemaker"],
428
+ ["fnc", "application/vnd.frogans.fnc"],
429
+ ["fo", "application/vnd.software602.filler.form+xml"],
430
+ ["for", "text/x-fortran"],
431
+ ["fpx", "image/vnd.fpx"],
432
+ ["frame", "application/vnd.framemaker"],
433
+ ["fsc", "application/vnd.fsc.weblaunch"],
434
+ ["fst", "image/vnd.fst"],
435
+ ["ftc", "application/vnd.fluxtime.clip"],
436
+ ["fti", "application/vnd.anser-web-funds-transfer-initiation"],
437
+ ["fvt", "video/vnd.fvt"],
438
+ ["fxp", "application/vnd.adobe.fxp"],
439
+ ["fxpl", "application/vnd.adobe.fxp"],
440
+ ["fzs", "application/vnd.fuzzysheet"],
441
+ ["g2w", "application/vnd.geoplan"],
442
+ ["g3", "image/g3fax"],
443
+ ["g3w", "application/vnd.geospace"],
444
+ ["gac", "application/vnd.groove-account"],
445
+ ["gam", "application/x-tads"],
446
+ ["gbr", "application/rpki-ghostbusters"],
447
+ ["gca", "application/x-gca-compressed"],
448
+ ["gdl", "model/vnd.gdl"],
449
+ ["gdoc", "application/vnd.google-apps.document"],
450
+ ["geo", "application/vnd.dynageo"],
451
+ ["geojson", "application/geo+json"],
452
+ ["gex", "application/vnd.geometry-explorer"],
453
+ ["ggb", "application/vnd.geogebra.file"],
454
+ ["ggt", "application/vnd.geogebra.tool"],
455
+ ["ghf", "application/vnd.groove-help"],
456
+ ["gif", "image/gif"],
457
+ ["gim", "application/vnd.groove-identity-message"],
458
+ ["glb", "model/gltf-binary"],
459
+ ["gltf", "model/gltf+json"],
460
+ ["gml", "application/gml+xml"],
461
+ ["gmx", "application/vnd.gmx"],
462
+ ["gnumeric", "application/x-gnumeric"],
463
+ ["gpg", "application/gpg-keys"],
464
+ ["gph", "application/vnd.flographit"],
465
+ ["gpx", "application/gpx+xml"],
466
+ ["gqf", "application/vnd.grafeq"],
467
+ ["gqs", "application/vnd.grafeq"],
468
+ ["gram", "application/srgs"],
469
+ ["gramps", "application/x-gramps-xml"],
470
+ ["gre", "application/vnd.geometry-explorer"],
471
+ ["grv", "application/vnd.groove-injector"],
472
+ ["grxml", "application/srgs+xml"],
473
+ ["gsf", "application/x-font-ghostscript"],
474
+ ["gsheet", "application/vnd.google-apps.spreadsheet"],
475
+ ["gslides", "application/vnd.google-apps.presentation"],
476
+ ["gtar", "application/x-gtar"],
477
+ ["gtm", "application/vnd.groove-tool-message"],
478
+ ["gtw", "model/vnd.gtw"],
479
+ ["gv", "text/vnd.graphviz"],
480
+ ["gxf", "application/gxf"],
481
+ ["gxt", "application/vnd.geonext"],
482
+ ["gz", "application/gzip"],
483
+ ["gzip", "application/gzip"],
484
+ ["h", "text/x-c"],
485
+ ["h261", "video/h261"],
486
+ ["h263", "video/h263"],
487
+ ["h264", "video/h264"],
488
+ ["hal", "application/vnd.hal+xml"],
489
+ ["hbci", "application/vnd.hbci"],
490
+ ["hbs", "text/x-handlebars-template"],
491
+ ["hdd", "application/x-virtualbox-hdd"],
492
+ ["hdf", "application/x-hdf"],
493
+ ["heic", "image/heic"],
494
+ ["heics", "image/heic-sequence"],
495
+ ["heif", "image/heif"],
496
+ ["heifs", "image/heif-sequence"],
497
+ ["hej2", "image/hej2k"],
498
+ ["held", "application/atsc-held+xml"],
499
+ ["hh", "text/x-c"],
500
+ ["hjson", "application/hjson"],
501
+ ["hlp", "application/winhlp"],
502
+ ["hpgl", "application/vnd.hp-hpgl"],
503
+ ["hpid", "application/vnd.hp-hpid"],
504
+ ["hps", "application/vnd.hp-hps"],
505
+ ["hqx", "application/mac-binhex40"],
506
+ ["hsj2", "image/hsj2"],
507
+ ["htc", "text/x-component"],
508
+ ["htke", "application/vnd.kenameaapp"],
509
+ ["htm", "text/html"],
510
+ ["html", "text/html"],
511
+ ["hvd", "application/vnd.yamaha.hv-dic"],
512
+ ["hvp", "application/vnd.yamaha.hv-voice"],
513
+ ["hvs", "application/vnd.yamaha.hv-script"],
514
+ ["i2g", "application/vnd.intergeo"],
515
+ ["icc", "application/vnd.iccprofile"],
516
+ ["ice", "x-conference/x-cooltalk"],
517
+ ["icm", "application/vnd.iccprofile"],
518
+ ["ico", "image/x-icon"],
519
+ ["ics", "text/calendar"],
520
+ ["ief", "image/ief"],
521
+ ["ifb", "text/calendar"],
522
+ ["ifm", "application/vnd.shana.informed.formdata"],
523
+ ["iges", "model/iges"],
524
+ ["igl", "application/vnd.igloader"],
525
+ ["igm", "application/vnd.insors.igm"],
526
+ ["igs", "model/iges"],
527
+ ["igx", "application/vnd.micrografx.igx"],
528
+ ["iif", "application/vnd.shana.informed.interchange"],
529
+ ["img", "application/octet-stream"],
530
+ ["imp", "application/vnd.accpac.simply.imp"],
531
+ ["ims", "application/vnd.ms-ims"],
532
+ ["in", "text/plain"],
533
+ ["ini", "text/plain"],
534
+ ["ink", "application/inkml+xml"],
535
+ ["inkml", "application/inkml+xml"],
536
+ ["install", "application/x-install-instructions"],
537
+ ["iota", "application/vnd.astraea-software.iota"],
538
+ ["ipfix", "application/ipfix"],
539
+ ["ipk", "application/vnd.shana.informed.package"],
540
+ ["irm", "application/vnd.ibm.rights-management"],
541
+ ["irp", "application/vnd.irepository.package+xml"],
542
+ ["iso", "application/x-iso9660-image"],
543
+ ["itp", "application/vnd.shana.informed.formtemplate"],
544
+ ["its", "application/its+xml"],
545
+ ["ivp", "application/vnd.immervision-ivp"],
546
+ ["ivu", "application/vnd.immervision-ivu"],
547
+ ["jad", "text/vnd.sun.j2me.app-descriptor"],
548
+ ["jade", "text/jade"],
549
+ ["jam", "application/vnd.jam"],
550
+ ["jar", "application/java-archive"],
551
+ ["jardiff", "application/x-java-archive-diff"],
552
+ ["java", "text/x-java-source"],
553
+ ["jhc", "image/jphc"],
554
+ ["jisp", "application/vnd.jisp"],
555
+ ["jls", "image/jls"],
556
+ ["jlt", "application/vnd.hp-jlyt"],
557
+ ["jng", "image/x-jng"],
558
+ ["jnlp", "application/x-java-jnlp-file"],
559
+ ["joda", "application/vnd.joost.joda-archive"],
560
+ ["jp2", "image/jp2"],
561
+ ["jpe", "image/jpeg"],
562
+ ["jpeg", "image/jpeg"],
563
+ ["jpf", "image/jpx"],
564
+ ["jpg", "image/jpeg"],
565
+ ["jpg2", "image/jp2"],
566
+ ["jpgm", "video/jpm"],
567
+ ["jpgv", "video/jpeg"],
568
+ ["jph", "image/jph"],
569
+ ["jpm", "video/jpm"],
570
+ ["jpx", "image/jpx"],
571
+ ["js", "application/javascript"],
572
+ ["json", "application/json"],
573
+ ["json5", "application/json5"],
574
+ ["jsonld", "application/ld+json"],
575
+ // https://jsonlines.org/
576
+ ["jsonl", "application/jsonl"],
577
+ ["jsonml", "application/jsonml+json"],
578
+ ["jsx", "text/jsx"],
579
+ ["jxr", "image/jxr"],
580
+ ["jxra", "image/jxra"],
581
+ ["jxrs", "image/jxrs"],
582
+ ["jxs", "image/jxs"],
583
+ ["jxsc", "image/jxsc"],
584
+ ["jxsi", "image/jxsi"],
585
+ ["jxss", "image/jxss"],
586
+ ["kar", "audio/midi"],
587
+ ["karbon", "application/vnd.kde.karbon"],
588
+ ["kdb", "application/octet-stream"],
589
+ ["kdbx", "application/x-keepass2"],
590
+ ["key", "application/x-iwork-keynote-sffkey"],
591
+ ["kfo", "application/vnd.kde.kformula"],
592
+ ["kia", "application/vnd.kidspiration"],
593
+ ["kml", "application/vnd.google-earth.kml+xml"],
594
+ ["kmz", "application/vnd.google-earth.kmz"],
595
+ ["kne", "application/vnd.kinar"],
596
+ ["knp", "application/vnd.kinar"],
597
+ ["kon", "application/vnd.kde.kontour"],
598
+ ["kpr", "application/vnd.kde.kpresenter"],
599
+ ["kpt", "application/vnd.kde.kpresenter"],
600
+ ["kpxx", "application/vnd.ds-keypoint"],
601
+ ["ksp", "application/vnd.kde.kspread"],
602
+ ["ktr", "application/vnd.kahootz"],
603
+ ["ktx", "image/ktx"],
604
+ ["ktx2", "image/ktx2"],
605
+ ["ktz", "application/vnd.kahootz"],
606
+ ["kwd", "application/vnd.kde.kword"],
607
+ ["kwt", "application/vnd.kde.kword"],
608
+ ["lasxml", "application/vnd.las.las+xml"],
609
+ ["latex", "application/x-latex"],
610
+ ["lbd", "application/vnd.llamagraphics.life-balance.desktop"],
611
+ ["lbe", "application/vnd.llamagraphics.life-balance.exchange+xml"],
612
+ ["les", "application/vnd.hhe.lesson-player"],
613
+ ["less", "text/less"],
614
+ ["lgr", "application/lgr+xml"],
615
+ ["lha", "application/octet-stream"],
616
+ ["link66", "application/vnd.route66.link66+xml"],
617
+ ["list", "text/plain"],
618
+ ["list3820", "application/vnd.ibm.modcap"],
619
+ ["listafp", "application/vnd.ibm.modcap"],
620
+ ["litcoffee", "text/coffeescript"],
621
+ ["lnk", "application/x-ms-shortcut"],
622
+ ["log", "text/plain"],
623
+ ["lostxml", "application/lost+xml"],
624
+ ["lrf", "application/octet-stream"],
625
+ ["lrm", "application/vnd.ms-lrm"],
626
+ ["ltf", "application/vnd.frogans.ltf"],
627
+ ["lua", "text/x-lua"],
628
+ ["luac", "application/x-lua-bytecode"],
629
+ ["lvp", "audio/vnd.lucent.voice"],
630
+ ["lwp", "application/vnd.lotus-wordpro"],
631
+ ["lzh", "application/octet-stream"],
632
+ ["m1v", "video/mpeg"],
633
+ ["m2a", "audio/mpeg"],
634
+ ["m2v", "video/mpeg"],
635
+ ["m3a", "audio/mpeg"],
636
+ ["m3u", "text/plain"],
637
+ ["m3u8", "application/vnd.apple.mpegurl"],
638
+ ["m4a", "audio/x-m4a"],
639
+ ["m4p", "application/mp4"],
640
+ ["m4s", "video/iso.segment"],
641
+ ["m4u", "application/vnd.mpegurl"],
642
+ ["m4v", "video/x-m4v"],
643
+ ["m13", "application/x-msmediaview"],
644
+ ["m14", "application/x-msmediaview"],
645
+ ["m21", "application/mp21"],
646
+ ["ma", "application/mathematica"],
647
+ ["mads", "application/mads+xml"],
648
+ ["maei", "application/mmt-aei+xml"],
649
+ ["mag", "application/vnd.ecowin.chart"],
650
+ ["maker", "application/vnd.framemaker"],
651
+ ["man", "text/troff"],
652
+ ["manifest", "text/cache-manifest"],
653
+ ["map", "application/json"],
654
+ ["mar", "application/octet-stream"],
655
+ ["markdown", "text/markdown"],
656
+ ["mathml", "application/mathml+xml"],
657
+ ["mb", "application/mathematica"],
658
+ ["mbk", "application/vnd.mobius.mbk"],
659
+ ["mbox", "application/mbox"],
660
+ ["mc1", "application/vnd.medcalcdata"],
661
+ ["mcd", "application/vnd.mcd"],
662
+ ["mcurl", "text/vnd.curl.mcurl"],
663
+ ["md", "text/markdown"],
664
+ ["mdb", "application/x-msaccess"],
665
+ ["mdi", "image/vnd.ms-modi"],
666
+ ["mdx", "text/mdx"],
667
+ ["me", "text/troff"],
668
+ ["mesh", "model/mesh"],
669
+ ["meta4", "application/metalink4+xml"],
670
+ ["metalink", "application/metalink+xml"],
671
+ ["mets", "application/mets+xml"],
672
+ ["mfm", "application/vnd.mfmp"],
673
+ ["mft", "application/rpki-manifest"],
674
+ ["mgp", "application/vnd.osgeo.mapguide.package"],
675
+ ["mgz", "application/vnd.proteus.magazine"],
676
+ ["mid", "audio/midi"],
677
+ ["midi", "audio/midi"],
678
+ ["mie", "application/x-mie"],
679
+ ["mif", "application/vnd.mif"],
680
+ ["mime", "message/rfc822"],
681
+ ["mj2", "video/mj2"],
682
+ ["mjp2", "video/mj2"],
683
+ ["mjs", "application/javascript"],
684
+ ["mk3d", "video/x-matroska"],
685
+ ["mka", "audio/x-matroska"],
686
+ ["mkd", "text/x-markdown"],
687
+ ["mks", "video/x-matroska"],
688
+ ["mkv", "video/x-matroska"],
689
+ ["mlp", "application/vnd.dolby.mlp"],
690
+ ["mmd", "application/vnd.chipnuts.karaoke-mmd"],
691
+ ["mmf", "application/vnd.smaf"],
692
+ ["mml", "text/mathml"],
693
+ ["mmr", "image/vnd.fujixerox.edmics-mmr"],
694
+ ["mng", "video/x-mng"],
695
+ ["mny", "application/x-msmoney"],
696
+ ["mobi", "application/x-mobipocket-ebook"],
697
+ ["mods", "application/mods+xml"],
698
+ ["mov", "video/quicktime"],
699
+ ["movie", "video/x-sgi-movie"],
700
+ ["mp2", "audio/mpeg"],
701
+ ["mp2a", "audio/mpeg"],
702
+ ["mp3", "audio/mpeg"],
703
+ ["mp4", "video/mp4"],
704
+ ["mp4a", "audio/mp4"],
705
+ ["mp4s", "application/mp4"],
706
+ ["mp4v", "video/mp4"],
707
+ ["mp21", "application/mp21"],
708
+ ["mpc", "application/vnd.mophun.certificate"],
709
+ ["mpd", "application/dash+xml"],
710
+ ["mpe", "video/mpeg"],
711
+ ["mpeg", "video/mpeg"],
712
+ ["mpg", "video/mpeg"],
713
+ ["mpg4", "video/mp4"],
714
+ ["mpga", "audio/mpeg"],
715
+ ["mpkg", "application/vnd.apple.installer+xml"],
716
+ ["mpm", "application/vnd.blueice.multipass"],
717
+ ["mpn", "application/vnd.mophun.application"],
718
+ ["mpp", "application/vnd.ms-project"],
719
+ ["mpt", "application/vnd.ms-project"],
720
+ ["mpy", "application/vnd.ibm.minipay"],
721
+ ["mqy", "application/vnd.mobius.mqy"],
722
+ ["mrc", "application/marc"],
723
+ ["mrcx", "application/marcxml+xml"],
724
+ ["ms", "text/troff"],
725
+ ["mscml", "application/mediaservercontrol+xml"],
726
+ ["mseed", "application/vnd.fdsn.mseed"],
727
+ ["mseq", "application/vnd.mseq"],
728
+ ["msf", "application/vnd.epson.msf"],
729
+ ["msg", "application/vnd.ms-outlook"],
730
+ ["msh", "model/mesh"],
731
+ ["msi", "application/x-msdownload"],
732
+ ["msl", "application/vnd.mobius.msl"],
733
+ ["msm", "application/octet-stream"],
734
+ ["msp", "application/octet-stream"],
735
+ ["msty", "application/vnd.muvee.style"],
736
+ ["mtl", "model/mtl"],
737
+ ["mts", "model/vnd.mts"],
738
+ ["mus", "application/vnd.musician"],
739
+ ["musd", "application/mmt-usd+xml"],
740
+ ["musicxml", "application/vnd.recordare.musicxml+xml"],
741
+ ["mvb", "application/x-msmediaview"],
742
+ ["mvt", "application/vnd.mapbox-vector-tile"],
743
+ ["mwf", "application/vnd.mfer"],
744
+ ["mxf", "application/mxf"],
745
+ ["mxl", "application/vnd.recordare.musicxml"],
746
+ ["mxmf", "audio/mobile-xmf"],
747
+ ["mxml", "application/xv+xml"],
748
+ ["mxs", "application/vnd.triscape.mxs"],
749
+ ["mxu", "video/vnd.mpegurl"],
750
+ ["n-gage", "application/vnd.nokia.n-gage.symbian.install"],
751
+ ["n3", "text/n3"],
752
+ ["nb", "application/mathematica"],
753
+ ["nbp", "application/vnd.wolfram.player"],
754
+ ["nc", "application/x-netcdf"],
755
+ ["ncx", "application/x-dtbncx+xml"],
756
+ ["nfo", "text/x-nfo"],
757
+ ["ngdat", "application/vnd.nokia.n-gage.data"],
758
+ ["nitf", "application/vnd.nitf"],
759
+ ["nlu", "application/vnd.neurolanguage.nlu"],
760
+ ["nml", "application/vnd.enliven"],
761
+ ["nnd", "application/vnd.noblenet-directory"],
762
+ ["nns", "application/vnd.noblenet-sealer"],
763
+ ["nnw", "application/vnd.noblenet-web"],
764
+ ["npx", "image/vnd.net-fpx"],
765
+ ["nq", "application/n-quads"],
766
+ ["nsc", "application/x-conference"],
767
+ ["nsf", "application/vnd.lotus-notes"],
768
+ ["nt", "application/n-triples"],
769
+ ["ntf", "application/vnd.nitf"],
770
+ ["numbers", "application/x-iwork-numbers-sffnumbers"],
771
+ ["nzb", "application/x-nzb"],
772
+ ["oa2", "application/vnd.fujitsu.oasys2"],
773
+ ["oa3", "application/vnd.fujitsu.oasys3"],
774
+ ["oas", "application/vnd.fujitsu.oasys"],
775
+ ["obd", "application/x-msbinder"],
776
+ ["obgx", "application/vnd.openblox.game+xml"],
777
+ ["obj", "model/obj"],
778
+ ["oda", "application/oda"],
779
+ ["odb", "application/vnd.oasis.opendocument.database"],
780
+ ["odc", "application/vnd.oasis.opendocument.chart"],
781
+ ["odf", "application/vnd.oasis.opendocument.formula"],
782
+ ["odft", "application/vnd.oasis.opendocument.formula-template"],
783
+ ["odg", "application/vnd.oasis.opendocument.graphics"],
784
+ ["odi", "application/vnd.oasis.opendocument.image"],
785
+ ["odm", "application/vnd.oasis.opendocument.text-master"],
786
+ ["odp", "application/vnd.oasis.opendocument.presentation"],
787
+ ["ods", "application/vnd.oasis.opendocument.spreadsheet"],
788
+ ["odt", "application/vnd.oasis.opendocument.text"],
789
+ ["oga", "audio/ogg"],
790
+ ["ogex", "model/vnd.opengex"],
791
+ ["ogg", "audio/ogg"],
792
+ ["ogv", "video/ogg"],
793
+ ["ogx", "application/ogg"],
794
+ ["omdoc", "application/omdoc+xml"],
795
+ ["onepkg", "application/onenote"],
796
+ ["onetmp", "application/onenote"],
797
+ ["onetoc", "application/onenote"],
798
+ ["onetoc2", "application/onenote"],
799
+ ["opf", "application/oebps-package+xml"],
800
+ ["opml", "text/x-opml"],
801
+ ["oprc", "application/vnd.palm"],
802
+ ["opus", "audio/ogg"],
803
+ ["org", "text/x-org"],
804
+ ["osf", "application/vnd.yamaha.openscoreformat"],
805
+ ["osfpvg", "application/vnd.yamaha.openscoreformat.osfpvg+xml"],
806
+ ["osm", "application/vnd.openstreetmap.data+xml"],
807
+ ["otc", "application/vnd.oasis.opendocument.chart-template"],
808
+ ["otf", "font/otf"],
809
+ ["otg", "application/vnd.oasis.opendocument.graphics-template"],
810
+ ["oth", "application/vnd.oasis.opendocument.text-web"],
811
+ ["oti", "application/vnd.oasis.opendocument.image-template"],
812
+ ["otp", "application/vnd.oasis.opendocument.presentation-template"],
813
+ ["ots", "application/vnd.oasis.opendocument.spreadsheet-template"],
814
+ ["ott", "application/vnd.oasis.opendocument.text-template"],
815
+ ["ova", "application/x-virtualbox-ova"],
816
+ ["ovf", "application/x-virtualbox-ovf"],
817
+ ["owl", "application/rdf+xml"],
818
+ ["oxps", "application/oxps"],
819
+ ["oxt", "application/vnd.openofficeorg.extension"],
820
+ ["p", "text/x-pascal"],
821
+ ["p7a", "application/x-pkcs7-signature"],
822
+ ["p7b", "application/x-pkcs7-certificates"],
823
+ ["p7c", "application/pkcs7-mime"],
824
+ ["p7m", "application/pkcs7-mime"],
825
+ ["p7r", "application/x-pkcs7-certreqresp"],
826
+ ["p7s", "application/pkcs7-signature"],
827
+ ["p8", "application/pkcs8"],
828
+ ["p10", "application/x-pkcs10"],
829
+ ["p12", "application/x-pkcs12"],
830
+ ["pac", "application/x-ns-proxy-autoconfig"],
831
+ ["pages", "application/x-iwork-pages-sffpages"],
832
+ ["pas", "text/x-pascal"],
833
+ ["paw", "application/vnd.pawaafile"],
834
+ ["pbd", "application/vnd.powerbuilder6"],
835
+ ["pbm", "image/x-portable-bitmap"],
836
+ ["pcap", "application/vnd.tcpdump.pcap"],
837
+ ["pcf", "application/x-font-pcf"],
838
+ ["pcl", "application/vnd.hp-pcl"],
839
+ ["pclxl", "application/vnd.hp-pclxl"],
840
+ ["pct", "image/x-pict"],
841
+ ["pcurl", "application/vnd.curl.pcurl"],
842
+ ["pcx", "image/x-pcx"],
843
+ ["pdb", "application/x-pilot"],
844
+ ["pde", "text/x-processing"],
845
+ ["pdf", "application/pdf"],
846
+ ["pem", "application/x-x509-user-cert"],
847
+ ["pfa", "application/x-font-type1"],
848
+ ["pfb", "application/x-font-type1"],
849
+ ["pfm", "application/x-font-type1"],
850
+ ["pfr", "application/font-tdpfr"],
851
+ ["pfx", "application/x-pkcs12"],
852
+ ["pgm", "image/x-portable-graymap"],
853
+ ["pgn", "application/x-chess-pgn"],
854
+ ["pgp", "application/pgp"],
855
+ ["php", "application/x-httpd-php"],
856
+ ["php3", "application/x-httpd-php"],
857
+ ["php4", "application/x-httpd-php"],
858
+ ["phps", "application/x-httpd-php-source"],
859
+ ["phtml", "application/x-httpd-php"],
860
+ ["pic", "image/x-pict"],
861
+ ["pkg", "application/octet-stream"],
862
+ ["pki", "application/pkixcmp"],
863
+ ["pkipath", "application/pkix-pkipath"],
864
+ ["pkpass", "application/vnd.apple.pkpass"],
865
+ ["pl", "application/x-perl"],
866
+ ["plb", "application/vnd.3gpp.pic-bw-large"],
867
+ ["plc", "application/vnd.mobius.plc"],
868
+ ["plf", "application/vnd.pocketlearn"],
869
+ ["pls", "application/pls+xml"],
870
+ ["pm", "application/x-perl"],
871
+ ["pml", "application/vnd.ctc-posml"],
872
+ ["png", "image/png"],
873
+ ["pnm", "image/x-portable-anymap"],
874
+ ["portpkg", "application/vnd.macports.portpkg"],
875
+ ["pot", "application/vnd.ms-powerpoint"],
876
+ ["potm", "application/vnd.ms-powerpoint.presentation.macroEnabled.12"],
877
+ ["potx", "application/vnd.openxmlformats-officedocument.presentationml.template"],
878
+ ["ppa", "application/vnd.ms-powerpoint"],
879
+ ["ppam", "application/vnd.ms-powerpoint.addin.macroEnabled.12"],
880
+ ["ppd", "application/vnd.cups-ppd"],
881
+ ["ppm", "image/x-portable-pixmap"],
882
+ ["pps", "application/vnd.ms-powerpoint"],
883
+ ["ppsm", "application/vnd.ms-powerpoint.slideshow.macroEnabled.12"],
884
+ ["ppsx", "application/vnd.openxmlformats-officedocument.presentationml.slideshow"],
885
+ ["ppt", "application/powerpoint"],
886
+ ["pptm", "application/vnd.ms-powerpoint.presentation.macroEnabled.12"],
887
+ ["pptx", "application/vnd.openxmlformats-officedocument.presentationml.presentation"],
888
+ ["pqa", "application/vnd.palm"],
889
+ ["prc", "application/x-pilot"],
890
+ ["pre", "application/vnd.lotus-freelance"],
891
+ ["prf", "application/pics-rules"],
892
+ ["provx", "application/provenance+xml"],
893
+ ["ps", "application/postscript"],
894
+ ["psb", "application/vnd.3gpp.pic-bw-small"],
895
+ ["psd", "application/x-photoshop"],
896
+ ["psf", "application/x-font-linux-psf"],
897
+ ["pskcxml", "application/pskc+xml"],
898
+ ["pti", "image/prs.pti"],
899
+ ["ptid", "application/vnd.pvi.ptid1"],
900
+ ["pub", "application/x-mspublisher"],
901
+ ["pvb", "application/vnd.3gpp.pic-bw-var"],
902
+ ["pwn", "application/vnd.3m.post-it-notes"],
903
+ ["pya", "audio/vnd.ms-playready.media.pya"],
904
+ ["pyv", "video/vnd.ms-playready.media.pyv"],
905
+ ["qam", "application/vnd.epson.quickanime"],
906
+ ["qbo", "application/vnd.intu.qbo"],
907
+ ["qfx", "application/vnd.intu.qfx"],
908
+ ["qps", "application/vnd.publishare-delta-tree"],
909
+ ["qt", "video/quicktime"],
910
+ ["qwd", "application/vnd.quark.quarkxpress"],
911
+ ["qwt", "application/vnd.quark.quarkxpress"],
912
+ ["qxb", "application/vnd.quark.quarkxpress"],
913
+ ["qxd", "application/vnd.quark.quarkxpress"],
914
+ ["qxl", "application/vnd.quark.quarkxpress"],
915
+ ["qxt", "application/vnd.quark.quarkxpress"],
916
+ ["ra", "audio/x-realaudio"],
917
+ ["ram", "audio/x-pn-realaudio"],
918
+ ["raml", "application/raml+yaml"],
919
+ ["rapd", "application/route-apd+xml"],
920
+ ["rar", "application/x-rar"],
921
+ ["ras", "image/x-cmu-raster"],
922
+ ["rcprofile", "application/vnd.ipunplugged.rcprofile"],
923
+ ["rdf", "application/rdf+xml"],
924
+ ["rdz", "application/vnd.data-vision.rdz"],
925
+ ["relo", "application/p2p-overlay+xml"],
926
+ ["rep", "application/vnd.businessobjects"],
927
+ ["res", "application/x-dtbresource+xml"],
928
+ ["rgb", "image/x-rgb"],
929
+ ["rif", "application/reginfo+xml"],
930
+ ["rip", "audio/vnd.rip"],
931
+ ["ris", "application/x-research-info-systems"],
932
+ ["rl", "application/resource-lists+xml"],
933
+ ["rlc", "image/vnd.fujixerox.edmics-rlc"],
934
+ ["rld", "application/resource-lists-diff+xml"],
935
+ ["rm", "audio/x-pn-realaudio"],
936
+ ["rmi", "audio/midi"],
937
+ ["rmp", "audio/x-pn-realaudio-plugin"],
938
+ ["rms", "application/vnd.jcp.javame.midlet-rms"],
939
+ ["rmvb", "application/vnd.rn-realmedia-vbr"],
940
+ ["rnc", "application/relax-ng-compact-syntax"],
941
+ ["rng", "application/xml"],
942
+ ["roa", "application/rpki-roa"],
943
+ ["roff", "text/troff"],
944
+ ["rp9", "application/vnd.cloanto.rp9"],
945
+ ["rpm", "audio/x-pn-realaudio-plugin"],
946
+ ["rpss", "application/vnd.nokia.radio-presets"],
947
+ ["rpst", "application/vnd.nokia.radio-preset"],
948
+ ["rq", "application/sparql-query"],
949
+ ["rs", "application/rls-services+xml"],
950
+ ["rsa", "application/x-pkcs7"],
951
+ ["rsat", "application/atsc-rsat+xml"],
952
+ ["rsd", "application/rsd+xml"],
953
+ ["rsheet", "application/urc-ressheet+xml"],
954
+ ["rss", "application/rss+xml"],
955
+ ["rtf", "text/rtf"],
956
+ ["rtx", "text/richtext"],
957
+ ["run", "application/x-makeself"],
958
+ ["rusd", "application/route-usd+xml"],
959
+ ["rv", "video/vnd.rn-realvideo"],
960
+ ["s", "text/x-asm"],
961
+ ["s3m", "audio/s3m"],
962
+ ["saf", "application/vnd.yamaha.smaf-audio"],
963
+ ["sass", "text/x-sass"],
964
+ ["sbml", "application/sbml+xml"],
965
+ ["sc", "application/vnd.ibm.secure-container"],
966
+ ["scd", "application/x-msschedule"],
967
+ ["scm", "application/vnd.lotus-screencam"],
968
+ ["scq", "application/scvp-cv-request"],
969
+ ["scs", "application/scvp-cv-response"],
970
+ ["scss", "text/x-scss"],
971
+ ["scurl", "text/vnd.curl.scurl"],
972
+ ["sda", "application/vnd.stardivision.draw"],
973
+ ["sdc", "application/vnd.stardivision.calc"],
974
+ ["sdd", "application/vnd.stardivision.impress"],
975
+ ["sdkd", "application/vnd.solent.sdkm+xml"],
976
+ ["sdkm", "application/vnd.solent.sdkm+xml"],
977
+ ["sdp", "application/sdp"],
978
+ ["sdw", "application/vnd.stardivision.writer"],
979
+ ["sea", "application/octet-stream"],
980
+ ["see", "application/vnd.seemail"],
981
+ ["seed", "application/vnd.fdsn.seed"],
982
+ ["sema", "application/vnd.sema"],
983
+ ["semd", "application/vnd.semd"],
984
+ ["semf", "application/vnd.semf"],
985
+ ["senmlx", "application/senml+xml"],
986
+ ["sensmlx", "application/sensml+xml"],
987
+ ["ser", "application/java-serialized-object"],
988
+ ["setpay", "application/set-payment-initiation"],
989
+ ["setreg", "application/set-registration-initiation"],
990
+ ["sfd-hdstx", "application/vnd.hydrostatix.sof-data"],
991
+ ["sfs", "application/vnd.spotfire.sfs"],
992
+ ["sfv", "text/x-sfv"],
993
+ ["sgi", "image/sgi"],
994
+ ["sgl", "application/vnd.stardivision.writer-global"],
995
+ ["sgm", "text/sgml"],
996
+ ["sgml", "text/sgml"],
997
+ ["sh", "application/x-sh"],
998
+ ["shar", "application/x-shar"],
999
+ ["shex", "text/shex"],
1000
+ ["shf", "application/shf+xml"],
1001
+ ["shtml", "text/html"],
1002
+ ["sid", "image/x-mrsid-image"],
1003
+ ["sieve", "application/sieve"],
1004
+ ["sig", "application/pgp-signature"],
1005
+ ["sil", "audio/silk"],
1006
+ ["silo", "model/mesh"],
1007
+ ["sis", "application/vnd.symbian.install"],
1008
+ ["sisx", "application/vnd.symbian.install"],
1009
+ ["sit", "application/x-stuffit"],
1010
+ ["sitx", "application/x-stuffitx"],
1011
+ ["siv", "application/sieve"],
1012
+ ["skd", "application/vnd.koan"],
1013
+ ["skm", "application/vnd.koan"],
1014
+ ["skp", "application/vnd.koan"],
1015
+ ["skt", "application/vnd.koan"],
1016
+ ["sldm", "application/vnd.ms-powerpoint.slide.macroenabled.12"],
1017
+ ["sldx", "application/vnd.openxmlformats-officedocument.presentationml.slide"],
1018
+ ["slim", "text/slim"],
1019
+ ["slm", "text/slim"],
1020
+ ["sls", "application/route-s-tsid+xml"],
1021
+ ["slt", "application/vnd.epson.salt"],
1022
+ ["sm", "application/vnd.stepmania.stepchart"],
1023
+ ["smf", "application/vnd.stardivision.math"],
1024
+ ["smi", "application/smil"],
1025
+ ["smil", "application/smil"],
1026
+ ["smv", "video/x-smv"],
1027
+ ["smzip", "application/vnd.stepmania.package"],
1028
+ ["snd", "audio/basic"],
1029
+ ["snf", "application/x-font-snf"],
1030
+ ["so", "application/octet-stream"],
1031
+ ["spc", "application/x-pkcs7-certificates"],
1032
+ ["spdx", "text/spdx"],
1033
+ ["spf", "application/vnd.yamaha.smaf-phrase"],
1034
+ ["spl", "application/x-futuresplash"],
1035
+ ["spot", "text/vnd.in3d.spot"],
1036
+ ["spp", "application/scvp-vp-response"],
1037
+ ["spq", "application/scvp-vp-request"],
1038
+ ["spx", "audio/ogg"],
1039
+ ["sql", "application/x-sql"],
1040
+ ["src", "application/x-wais-source"],
1041
+ ["srt", "application/x-subrip"],
1042
+ ["sru", "application/sru+xml"],
1043
+ ["srx", "application/sparql-results+xml"],
1044
+ ["ssdl", "application/ssdl+xml"],
1045
+ ["sse", "application/vnd.kodak-descriptor"],
1046
+ ["ssf", "application/vnd.epson.ssf"],
1047
+ ["ssml", "application/ssml+xml"],
1048
+ ["sst", "application/octet-stream"],
1049
+ ["st", "application/vnd.sailingtracker.track"],
1050
+ ["stc", "application/vnd.sun.xml.calc.template"],
1051
+ ["std", "application/vnd.sun.xml.draw.template"],
1052
+ ["stf", "application/vnd.wt.stf"],
1053
+ ["sti", "application/vnd.sun.xml.impress.template"],
1054
+ ["stk", "application/hyperstudio"],
1055
+ ["stl", "model/stl"],
1056
+ ["stpx", "model/step+xml"],
1057
+ ["stpxz", "model/step-xml+zip"],
1058
+ ["stpz", "model/step+zip"],
1059
+ ["str", "application/vnd.pg.format"],
1060
+ ["stw", "application/vnd.sun.xml.writer.template"],
1061
+ ["styl", "text/stylus"],
1062
+ ["stylus", "text/stylus"],
1063
+ ["sub", "text/vnd.dvb.subtitle"],
1064
+ ["sus", "application/vnd.sus-calendar"],
1065
+ ["susp", "application/vnd.sus-calendar"],
1066
+ ["sv4cpio", "application/x-sv4cpio"],
1067
+ ["sv4crc", "application/x-sv4crc"],
1068
+ ["svc", "application/vnd.dvb.service"],
1069
+ ["svd", "application/vnd.svd"],
1070
+ ["svg", "image/svg+xml"],
1071
+ ["svgz", "image/svg+xml"],
1072
+ ["swa", "application/x-director"],
1073
+ ["swf", "application/x-shockwave-flash"],
1074
+ ["swi", "application/vnd.aristanetworks.swi"],
1075
+ ["swidtag", "application/swid+xml"],
1076
+ ["sxc", "application/vnd.sun.xml.calc"],
1077
+ ["sxd", "application/vnd.sun.xml.draw"],
1078
+ ["sxg", "application/vnd.sun.xml.writer.global"],
1079
+ ["sxi", "application/vnd.sun.xml.impress"],
1080
+ ["sxm", "application/vnd.sun.xml.math"],
1081
+ ["sxw", "application/vnd.sun.xml.writer"],
1082
+ ["t", "text/troff"],
1083
+ ["t3", "application/x-t3vm-image"],
1084
+ ["t38", "image/t38"],
1085
+ ["taglet", "application/vnd.mynfc"],
1086
+ ["tao", "application/vnd.tao.intent-module-archive"],
1087
+ ["tap", "image/vnd.tencent.tap"],
1088
+ ["tar", "application/x-tar"],
1089
+ ["tcap", "application/vnd.3gpp2.tcap"],
1090
+ ["tcl", "application/x-tcl"],
1091
+ ["td", "application/urc-targetdesc+xml"],
1092
+ ["teacher", "application/vnd.smart.teacher"],
1093
+ ["tei", "application/tei+xml"],
1094
+ ["teicorpus", "application/tei+xml"],
1095
+ ["tex", "application/x-tex"],
1096
+ ["texi", "application/x-texinfo"],
1097
+ ["texinfo", "application/x-texinfo"],
1098
+ ["text", "text/plain"],
1099
+ ["tfi", "application/thraud+xml"],
1100
+ ["tfm", "application/x-tex-tfm"],
1101
+ ["tfx", "image/tiff-fx"],
1102
+ ["tga", "image/x-tga"],
1103
+ ["tgz", "application/x-tar"],
1104
+ ["thmx", "application/vnd.ms-officetheme"],
1105
+ ["tif", "image/tiff"],
1106
+ ["tiff", "image/tiff"],
1107
+ ["tk", "application/x-tcl"],
1108
+ ["tmo", "application/vnd.tmobile-livetv"],
1109
+ ["toml", "application/toml"],
1110
+ ["torrent", "application/x-bittorrent"],
1111
+ ["tpl", "application/vnd.groove-tool-template"],
1112
+ ["tpt", "application/vnd.trid.tpt"],
1113
+ ["tr", "text/troff"],
1114
+ ["tra", "application/vnd.trueapp"],
1115
+ ["trig", "application/trig"],
1116
+ ["trm", "application/x-msterminal"],
1117
+ ["ts", "video/mp2t"],
1118
+ ["tsd", "application/timestamped-data"],
1119
+ ["tsv", "text/tab-separated-values"],
1120
+ ["ttc", "font/collection"],
1121
+ ["ttf", "font/ttf"],
1122
+ ["ttl", "text/turtle"],
1123
+ ["ttml", "application/ttml+xml"],
1124
+ ["twd", "application/vnd.simtech-mindmapper"],
1125
+ ["twds", "application/vnd.simtech-mindmapper"],
1126
+ ["txd", "application/vnd.genomatix.tuxedo"],
1127
+ ["txf", "application/vnd.mobius.txf"],
1128
+ ["txt", "text/plain"],
1129
+ ["u8dsn", "message/global-delivery-status"],
1130
+ ["u8hdr", "message/global-headers"],
1131
+ ["u8mdn", "message/global-disposition-notification"],
1132
+ ["u8msg", "message/global"],
1133
+ ["u32", "application/x-authorware-bin"],
1134
+ ["ubj", "application/ubjson"],
1135
+ ["udeb", "application/x-debian-package"],
1136
+ ["ufd", "application/vnd.ufdl"],
1137
+ ["ufdl", "application/vnd.ufdl"],
1138
+ ["ulx", "application/x-glulx"],
1139
+ ["umj", "application/vnd.umajin"],
1140
+ ["unityweb", "application/vnd.unity"],
1141
+ ["uoml", "application/vnd.uoml+xml"],
1142
+ ["uri", "text/uri-list"],
1143
+ ["uris", "text/uri-list"],
1144
+ ["urls", "text/uri-list"],
1145
+ ["usdz", "model/vnd.usdz+zip"],
1146
+ ["ustar", "application/x-ustar"],
1147
+ ["utz", "application/vnd.uiq.theme"],
1148
+ ["uu", "text/x-uuencode"],
1149
+ ["uva", "audio/vnd.dece.audio"],
1150
+ ["uvd", "application/vnd.dece.data"],
1151
+ ["uvf", "application/vnd.dece.data"],
1152
+ ["uvg", "image/vnd.dece.graphic"],
1153
+ ["uvh", "video/vnd.dece.hd"],
1154
+ ["uvi", "image/vnd.dece.graphic"],
1155
+ ["uvm", "video/vnd.dece.mobile"],
1156
+ ["uvp", "video/vnd.dece.pd"],
1157
+ ["uvs", "video/vnd.dece.sd"],
1158
+ ["uvt", "application/vnd.dece.ttml+xml"],
1159
+ ["uvu", "video/vnd.uvvu.mp4"],
1160
+ ["uvv", "video/vnd.dece.video"],
1161
+ ["uvva", "audio/vnd.dece.audio"],
1162
+ ["uvvd", "application/vnd.dece.data"],
1163
+ ["uvvf", "application/vnd.dece.data"],
1164
+ ["uvvg", "image/vnd.dece.graphic"],
1165
+ ["uvvh", "video/vnd.dece.hd"],
1166
+ ["uvvi", "image/vnd.dece.graphic"],
1167
+ ["uvvm", "video/vnd.dece.mobile"],
1168
+ ["uvvp", "video/vnd.dece.pd"],
1169
+ ["uvvs", "video/vnd.dece.sd"],
1170
+ ["uvvt", "application/vnd.dece.ttml+xml"],
1171
+ ["uvvu", "video/vnd.uvvu.mp4"],
1172
+ ["uvvv", "video/vnd.dece.video"],
1173
+ ["uvvx", "application/vnd.dece.unspecified"],
1174
+ ["uvvz", "application/vnd.dece.zip"],
1175
+ ["uvx", "application/vnd.dece.unspecified"],
1176
+ ["uvz", "application/vnd.dece.zip"],
1177
+ ["vbox", "application/x-virtualbox-vbox"],
1178
+ ["vbox-extpack", "application/x-virtualbox-vbox-extpack"],
1179
+ ["vcard", "text/vcard"],
1180
+ ["vcd", "application/x-cdlink"],
1181
+ ["vcf", "text/x-vcard"],
1182
+ ["vcg", "application/vnd.groove-vcard"],
1183
+ ["vcs", "text/x-vcalendar"],
1184
+ ["vcx", "application/vnd.vcx"],
1185
+ ["vdi", "application/x-virtualbox-vdi"],
1186
+ ["vds", "model/vnd.sap.vds"],
1187
+ ["vhd", "application/x-virtualbox-vhd"],
1188
+ ["vis", "application/vnd.visionary"],
1189
+ ["viv", "video/vnd.vivo"],
1190
+ ["vlc", "application/videolan"],
1191
+ ["vmdk", "application/x-virtualbox-vmdk"],
1192
+ ["vob", "video/x-ms-vob"],
1193
+ ["vor", "application/vnd.stardivision.writer"],
1194
+ ["vox", "application/x-authorware-bin"],
1195
+ ["vrml", "model/vrml"],
1196
+ ["vsd", "application/vnd.visio"],
1197
+ ["vsf", "application/vnd.vsf"],
1198
+ ["vss", "application/vnd.visio"],
1199
+ ["vst", "application/vnd.visio"],
1200
+ ["vsw", "application/vnd.visio"],
1201
+ ["vtf", "image/vnd.valve.source.texture"],
1202
+ ["vtt", "text/vtt"],
1203
+ ["vtu", "model/vnd.vtu"],
1204
+ ["vxml", "application/voicexml+xml"],
1205
+ ["w3d", "application/x-director"],
1206
+ ["wad", "application/x-doom"],
1207
+ ["wadl", "application/vnd.sun.wadl+xml"],
1208
+ ["war", "application/java-archive"],
1209
+ ["wasm", "application/wasm"],
1210
+ ["wav", "audio/x-wav"],
1211
+ ["wax", "audio/x-ms-wax"],
1212
+ ["wbmp", "image/vnd.wap.wbmp"],
1213
+ ["wbs", "application/vnd.criticaltools.wbs+xml"],
1214
+ ["wbxml", "application/wbxml"],
1215
+ ["wcm", "application/vnd.ms-works"],
1216
+ ["wdb", "application/vnd.ms-works"],
1217
+ ["wdp", "image/vnd.ms-photo"],
1218
+ ["weba", "audio/webm"],
1219
+ ["webapp", "application/x-web-app-manifest+json"],
1220
+ ["webm", "video/webm"],
1221
+ ["webmanifest", "application/manifest+json"],
1222
+ ["webp", "image/webp"],
1223
+ ["wg", "application/vnd.pmi.widget"],
1224
+ ["wgt", "application/widget"],
1225
+ ["wks", "application/vnd.ms-works"],
1226
+ ["wm", "video/x-ms-wm"],
1227
+ ["wma", "audio/x-ms-wma"],
1228
+ ["wmd", "application/x-ms-wmd"],
1229
+ ["wmf", "image/wmf"],
1230
+ ["wml", "text/vnd.wap.wml"],
1231
+ ["wmlc", "application/wmlc"],
1232
+ ["wmls", "text/vnd.wap.wmlscript"],
1233
+ ["wmlsc", "application/vnd.wap.wmlscriptc"],
1234
+ ["wmv", "video/x-ms-wmv"],
1235
+ ["wmx", "video/x-ms-wmx"],
1236
+ ["wmz", "application/x-msmetafile"],
1237
+ ["woff", "font/woff"],
1238
+ ["woff2", "font/woff2"],
1239
+ ["word", "application/msword"],
1240
+ ["wpd", "application/vnd.wordperfect"],
1241
+ ["wpl", "application/vnd.ms-wpl"],
1242
+ ["wps", "application/vnd.ms-works"],
1243
+ ["wqd", "application/vnd.wqd"],
1244
+ ["wri", "application/x-mswrite"],
1245
+ ["wrl", "model/vrml"],
1246
+ ["wsc", "message/vnd.wfa.wsc"],
1247
+ ["wsdl", "application/wsdl+xml"],
1248
+ ["wspolicy", "application/wspolicy+xml"],
1249
+ ["wtb", "application/vnd.webturbo"],
1250
+ ["wvx", "video/x-ms-wvx"],
1251
+ ["x3d", "model/x3d+xml"],
1252
+ ["x3db", "model/x3d+fastinfoset"],
1253
+ ["x3dbz", "model/x3d+binary"],
1254
+ ["x3dv", "model/x3d-vrml"],
1255
+ ["x3dvz", "model/x3d+vrml"],
1256
+ ["x3dz", "model/x3d+xml"],
1257
+ ["x32", "application/x-authorware-bin"],
1258
+ ["x_b", "model/vnd.parasolid.transmit.binary"],
1259
+ ["x_t", "model/vnd.parasolid.transmit.text"],
1260
+ ["xaml", "application/xaml+xml"],
1261
+ ["xap", "application/x-silverlight-app"],
1262
+ ["xar", "application/vnd.xara"],
1263
+ ["xav", "application/xcap-att+xml"],
1264
+ ["xbap", "application/x-ms-xbap"],
1265
+ ["xbd", "application/vnd.fujixerox.docuworks.binder"],
1266
+ ["xbm", "image/x-xbitmap"],
1267
+ ["xca", "application/xcap-caps+xml"],
1268
+ ["xcs", "application/calendar+xml"],
1269
+ ["xdf", "application/xcap-diff+xml"],
1270
+ ["xdm", "application/vnd.syncml.dm+xml"],
1271
+ ["xdp", "application/vnd.adobe.xdp+xml"],
1272
+ ["xdssc", "application/dssc+xml"],
1273
+ ["xdw", "application/vnd.fujixerox.docuworks"],
1274
+ ["xel", "application/xcap-el+xml"],
1275
+ ["xenc", "application/xenc+xml"],
1276
+ ["xer", "application/patch-ops-error+xml"],
1277
+ ["xfdf", "application/vnd.adobe.xfdf"],
1278
+ ["xfdl", "application/vnd.xfdl"],
1279
+ ["xht", "application/xhtml+xml"],
1280
+ ["xhtml", "application/xhtml+xml"],
1281
+ ["xhvml", "application/xv+xml"],
1282
+ ["xif", "image/vnd.xiff"],
1283
+ ["xl", "application/excel"],
1284
+ ["xla", "application/vnd.ms-excel"],
1285
+ ["xlam", "application/vnd.ms-excel.addin.macroEnabled.12"],
1286
+ ["xlc", "application/vnd.ms-excel"],
1287
+ ["xlf", "application/xliff+xml"],
1288
+ ["xlm", "application/vnd.ms-excel"],
1289
+ ["xls", "application/vnd.ms-excel"],
1290
+ ["xlsb", "application/vnd.ms-excel.sheet.binary.macroEnabled.12"],
1291
+ ["xlsm", "application/vnd.ms-excel.sheet.macroEnabled.12"],
1292
+ ["xlsx", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],
1293
+ ["xlt", "application/vnd.ms-excel"],
1294
+ ["xltm", "application/vnd.ms-excel.template.macroEnabled.12"],
1295
+ ["xltx", "application/vnd.openxmlformats-officedocument.spreadsheetml.template"],
1296
+ ["xlw", "application/vnd.ms-excel"],
1297
+ ["xm", "audio/xm"],
1298
+ ["xml", "application/xml"],
1299
+ ["xns", "application/xcap-ns+xml"],
1300
+ ["xo", "application/vnd.olpc-sugar"],
1301
+ ["xop", "application/xop+xml"],
1302
+ ["xpi", "application/x-xpinstall"],
1303
+ ["xpl", "application/xproc+xml"],
1304
+ ["xpm", "image/x-xpixmap"],
1305
+ ["xpr", "application/vnd.is-xpr"],
1306
+ ["xps", "application/vnd.ms-xpsdocument"],
1307
+ ["xpw", "application/vnd.intercon.formnet"],
1308
+ ["xpx", "application/vnd.intercon.formnet"],
1309
+ ["xsd", "application/xml"],
1310
+ ["xsl", "application/xml"],
1311
+ ["xslt", "application/xslt+xml"],
1312
+ ["xsm", "application/vnd.syncml+xml"],
1313
+ ["xspf", "application/xspf+xml"],
1314
+ ["xul", "application/vnd.mozilla.xul+xml"],
1315
+ ["xvm", "application/xv+xml"],
1316
+ ["xvml", "application/xv+xml"],
1317
+ ["xwd", "image/x-xwindowdump"],
1318
+ ["xyz", "chemical/x-xyz"],
1319
+ ["xz", "application/x-xz"],
1320
+ ["yaml", "text/yaml"],
1321
+ ["yang", "application/yang"],
1322
+ ["yin", "application/yin+xml"],
1323
+ ["yml", "text/yaml"],
1324
+ ["ymp", "text/x-suse-ymp"],
1325
+ ["z", "application/x-compress"],
1326
+ ["z1", "application/x-zmachine"],
1327
+ ["z2", "application/x-zmachine"],
1328
+ ["z3", "application/x-zmachine"],
1329
+ ["z4", "application/x-zmachine"],
1330
+ ["z5", "application/x-zmachine"],
1331
+ ["z6", "application/x-zmachine"],
1332
+ ["z7", "application/x-zmachine"],
1333
+ ["z8", "application/x-zmachine"],
1334
+ ["zaz", "application/vnd.zzazz.deck+xml"],
1335
+ ["zip", "application/zip"],
1336
+ ["zir", "application/vnd.zul"],
1337
+ ["zirz", "application/vnd.zul"],
1338
+ ["zmm", "application/vnd.handheld-entertainment+xml"],
1339
+ ["zsh", "text/x-scriptzsh"]
1340
+ ]);
1341
+ function ci(e, i, t) {
1342
+ const a = kt(e), { webkitRelativePath: n } = e, o = typeof i == "string" ? i : typeof n == "string" && n.length > 0 ? n : `./${e.name}`;
1343
+ return typeof a.path != "string" && le(a, "path", o), le(a, "relativePath", o), a;
1344
+ }
1345
+ function kt(e) {
1346
+ const { name: i } = e;
1347
+ if (i && i.lastIndexOf(".") !== -1 && !e.type) {
1348
+ const a = i.split(".").pop().toLowerCase(), n = wt.get(a);
1349
+ n && Object.defineProperty(e, "type", {
1350
+ value: n,
1351
+ writable: !1,
1352
+ configurable: !1,
1353
+ enumerable: !0
1354
+ });
1355
+ }
1356
+ return e;
1357
+ }
1358
+ function le(e, i, t) {
1359
+ Object.defineProperty(e, i, {
1360
+ value: t,
1361
+ writable: !1,
1362
+ configurable: !1,
1363
+ enumerable: !0
1364
+ });
1365
+ }
1366
+ const jt = [
1367
+ // Thumbnail cache files for macOS and Windows
1368
+ ".DS_Store",
1369
+ // macOs
1370
+ "Thumbs.db"
1371
+ // Windows
1372
+ ];
1373
+ function Dt(e) {
1374
+ return ii(this, void 0, void 0, function* () {
1375
+ return Ei(e) && zt(e.dataTransfer) ? _t(e.dataTransfer, e.type) : Et(e) ? Ft(e) : Array.isArray(e) && e.every((i) => "getFile" in i && typeof i.getFile == "function") ? At(e) : [];
1376
+ });
1377
+ }
1378
+ function zt(e) {
1379
+ return Ei(e);
1380
+ }
1381
+ function Et(e) {
1382
+ return Ei(e) && Ei(e.target);
1383
+ }
1384
+ function Ei(e) {
1385
+ return typeof e == "object" && e !== null;
1386
+ }
1387
+ function Ft(e) {
1388
+ return Hi(e.target.files).map((i) => ci(i));
1389
+ }
1390
+ function At(e) {
1391
+ return ii(this, void 0, void 0, function* () {
1392
+ return (yield Promise.all(e.map((t) => t.getFile()))).map((t) => ci(t));
1393
+ });
1394
+ }
1395
+ function _t(e, i) {
1396
+ return ii(this, void 0, void 0, function* () {
1397
+ if (e.items) {
1398
+ const t = Hi(e.items).filter((n) => n.kind === "file");
1399
+ if (i !== "drop")
1400
+ return t;
1401
+ const a = yield Promise.all(t.map(Ot));
1402
+ return ce(je(a));
1403
+ }
1404
+ return ce(Hi(e.files).map((t) => ci(t)));
1405
+ });
1406
+ }
1407
+ function ce(e) {
1408
+ return e.filter((i) => jt.indexOf(i.name) === -1);
1409
+ }
1410
+ function Hi(e) {
1411
+ if (e === null)
1412
+ return [];
1413
+ const i = [];
1414
+ for (let t = 0; t < e.length; t++) {
1415
+ const a = e[t];
1416
+ i.push(a);
1417
+ }
1418
+ return i;
1419
+ }
1420
+ function Ot(e) {
1421
+ if (typeof e.webkitGetAsEntry != "function")
1422
+ return re(e);
1423
+ const i = e.webkitGetAsEntry();
1424
+ return i && i.isDirectory ? De(i) : re(e, i);
1425
+ }
1426
+ function je(e) {
1427
+ return e.reduce((i, t) => [
1428
+ ...i,
1429
+ ...Array.isArray(t) ? je(t) : [t]
1430
+ ], []);
1431
+ }
1432
+ function re(e, i) {
1433
+ return ii(this, void 0, void 0, function* () {
1434
+ var t;
1435
+ if (globalThis.isSecureContext && typeof e.getAsFileSystemHandle == "function") {
1436
+ const o = yield e.getAsFileSystemHandle();
1437
+ if (o === null)
1438
+ throw new Error(`${e} is not a File`);
1439
+ if (o !== void 0) {
1440
+ const p = yield o.getFile();
1441
+ return p.handle = o, ci(p);
1442
+ }
1443
+ }
1444
+ const a = e.getAsFile();
1445
+ if (!a)
1446
+ throw new Error(`${e} is not a File`);
1447
+ return ci(a, (t = i?.fullPath) !== null && t !== void 0 ? t : void 0);
1448
+ });
1449
+ }
1450
+ function Ct(e) {
1451
+ return ii(this, void 0, void 0, function* () {
1452
+ return e.isDirectory ? De(e) : It(e);
1453
+ });
1454
+ }
1455
+ function De(e) {
1456
+ const i = e.createReader();
1457
+ return new Promise((t, a) => {
1458
+ const n = [];
1459
+ function o() {
1460
+ i.readEntries((p) => ii(this, void 0, void 0, function* () {
1461
+ if (p.length) {
1462
+ const l = Promise.all(p.map(Ct));
1463
+ n.push(l), o();
1464
+ } else
1465
+ try {
1466
+ const l = yield Promise.all(n);
1467
+ t(l);
1468
+ } catch (l) {
1469
+ a(l);
1470
+ }
1471
+ }), (p) => {
1472
+ a(p);
1473
+ });
1474
+ }
1475
+ o();
1476
+ });
1477
+ }
1478
+ function It(e) {
1479
+ return ii(this, void 0, void 0, function* () {
1480
+ return new Promise((i, t) => {
1481
+ e.file((a) => {
1482
+ const n = ci(a, e.fullPath);
1483
+ i(n);
1484
+ }, (a) => {
1485
+ t(a);
1486
+ });
1487
+ });
1488
+ });
1489
+ }
1490
+ var ji = {}, se;
1491
+ function St() {
1492
+ return se || (se = 1, ji.__esModule = !0, ji.default = function(e, i) {
1493
+ if (e && i) {
1494
+ var t = Array.isArray(i) ? i : i.split(",");
1495
+ if (t.length === 0)
1496
+ return !0;
1497
+ var a = e.name || "", n = (e.type || "").toLowerCase(), o = n.replace(/\/.*$/, "");
1498
+ return t.some(function(p) {
1499
+ var l = p.trim().toLowerCase();
1500
+ return l.charAt(0) === "." ? a.toLowerCase().endsWith(l) : l.endsWith("/*") ? o === l.replace(/\/.*$/, "") : n === l;
1501
+ });
1502
+ }
1503
+ return !0;
1504
+ }), ji;
1505
+ }
1506
+ var Tt = St();
1507
+ const Li = /* @__PURE__ */ nt(Tt);
1508
+ function de(e) {
1509
+ return Lt(e) || Rt(e) || Ee(e) || Pt();
1510
+ }
1511
+ function Pt() {
1512
+ throw new TypeError(`Invalid attempt to spread non-iterable instance.
1513
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1514
+ }
1515
+ function Rt(e) {
1516
+ if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
1517
+ }
1518
+ function Lt(e) {
1519
+ if (Array.isArray(e)) return Wi(e);
1520
+ }
1521
+ function me(e, i) {
1522
+ var t = Object.keys(e);
1523
+ if (Object.getOwnPropertySymbols) {
1524
+ var a = Object.getOwnPropertySymbols(e);
1525
+ i && (a = a.filter(function(n) {
1526
+ return Object.getOwnPropertyDescriptor(e, n).enumerable;
1527
+ })), t.push.apply(t, a);
1528
+ }
1529
+ return t;
1530
+ }
1531
+ function ue(e) {
1532
+ for (var i = 1; i < arguments.length; i++) {
1533
+ var t = arguments[i] != null ? arguments[i] : {};
1534
+ i % 2 ? me(Object(t), !0).forEach(function(a) {
1535
+ ze(e, a, t[a]);
1536
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : me(Object(t)).forEach(function(a) {
1537
+ Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(t, a));
1538
+ });
1539
+ }
1540
+ return e;
1541
+ }
1542
+ function ze(e, i, t) {
1543
+ return i in e ? Object.defineProperty(e, i, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[i] = t, e;
1544
+ }
1545
+ function xi(e, i) {
1546
+ return Mt(e) || $t(e, i) || Ee(e, i) || qt();
1547
+ }
1548
+ function qt() {
1549
+ throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1550
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1551
+ }
1552
+ function Ee(e, i) {
1553
+ if (e) {
1554
+ if (typeof e == "string") return Wi(e, i);
1555
+ var t = Object.prototype.toString.call(e).slice(8, -1);
1556
+ if (t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set") return Array.from(e);
1557
+ if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return Wi(e, i);
1558
+ }
1559
+ }
1560
+ function Wi(e, i) {
1561
+ (i == null || i > e.length) && (i = e.length);
1562
+ for (var t = 0, a = new Array(i); t < i; t++)
1563
+ a[t] = e[t];
1564
+ return a;
1565
+ }
1566
+ function $t(e, i) {
1567
+ var t = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
1568
+ if (t != null) {
1569
+ var a = [], n = !0, o = !1, p, l;
1570
+ try {
1571
+ for (t = t.call(e); !(n = (p = t.next()).done) && (a.push(p.value), !(i && a.length === i)); n = !0)
1572
+ ;
1573
+ } catch (d) {
1574
+ o = !0, l = d;
1575
+ } finally {
1576
+ try {
1577
+ !n && t.return != null && t.return();
1578
+ } finally {
1579
+ if (o) throw l;
1580
+ }
1581
+ }
1582
+ return a;
1583
+ }
1584
+ }
1585
+ function Mt(e) {
1586
+ if (Array.isArray(e)) return e;
1587
+ }
1588
+ var Bt = typeof Li == "function" ? Li : Li.default, Ht = "file-invalid-type", Wt = "file-too-large", Kt = "file-too-small", Nt = "too-many-files", Gt = function() {
1589
+ var i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", t = i.split(","), a = t.length > 1 ? "one of ".concat(t.join(", ")) : t[0];
1590
+ return {
1591
+ code: Ht,
1592
+ message: "File type must be ".concat(a)
1593
+ };
1594
+ }, fe = function(i) {
1595
+ return {
1596
+ code: Wt,
1597
+ message: "File is larger than ".concat(i, " ").concat(i === 1 ? "byte" : "bytes")
1598
+ };
1599
+ }, ve = function(i) {
1600
+ return {
1601
+ code: Kt,
1602
+ message: "File is smaller than ".concat(i, " ").concat(i === 1 ? "byte" : "bytes")
1603
+ };
1604
+ }, Vt = {
1605
+ code: Nt,
1606
+ message: "Too many files"
1607
+ };
1608
+ function Fe(e, i) {
1609
+ var t = e.type === "application/x-moz-file" || Bt(e, i);
1610
+ return [t, t ? null : Gt(i)];
1611
+ }
1612
+ function Ae(e, i, t) {
1613
+ if (Q(e.size))
1614
+ if (Q(i) && Q(t)) {
1615
+ if (e.size > t) return [!1, fe(t)];
1616
+ if (e.size < i) return [!1, ve(i)];
1617
+ } else {
1618
+ if (Q(i) && e.size < i) return [!1, ve(i)];
1619
+ if (Q(t) && e.size > t) return [!1, fe(t)];
1620
+ }
1621
+ return [!0, null];
1622
+ }
1623
+ function Q(e) {
1624
+ return e != null;
1625
+ }
1626
+ function Yt(e) {
1627
+ var i = e.files, t = e.accept, a = e.minSize, n = e.maxSize, o = e.multiple, p = e.maxFiles, l = e.validator;
1628
+ return !o && i.length > 1 || o && p >= 1 && i.length > p ? !1 : i.every(function(d) {
1629
+ var c = Fe(d, t), s = xi(c, 1), m = s[0], f = Ae(d, a, n), g = xi(f, 1), x = g[0], h = l ? l(d) : null;
1630
+ return m && x && !h;
1631
+ });
1632
+ }
1633
+ function Fi(e) {
1634
+ return typeof e.isPropagationStopped == "function" ? e.isPropagationStopped() : typeof e.cancelBubble < "u" ? e.cancelBubble : !1;
1635
+ }
1636
+ function Di(e) {
1637
+ return e.dataTransfer ? Array.prototype.some.call(e.dataTransfer.types, function(i) {
1638
+ return i === "Files" || i === "application/x-moz-file";
1639
+ }) : !!e.target && !!e.target.files;
1640
+ }
1641
+ function xe(e) {
1642
+ e.preventDefault();
1643
+ }
1644
+ function Ut(e) {
1645
+ return e.indexOf("MSIE") !== -1 || e.indexOf("Trident/") !== -1;
1646
+ }
1647
+ function Xt(e) {
1648
+ return e.indexOf("Edge/") !== -1;
1649
+ }
1650
+ function Jt() {
1651
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window.navigator.userAgent;
1652
+ return Ut(e) || Xt(e);
1653
+ }
1654
+ function W() {
1655
+ for (var e = arguments.length, i = new Array(e), t = 0; t < e; t++)
1656
+ i[t] = arguments[t];
1657
+ return function(a) {
1658
+ for (var n = arguments.length, o = new Array(n > 1 ? n - 1 : 0), p = 1; p < n; p++)
1659
+ o[p - 1] = arguments[p];
1660
+ return i.some(function(l) {
1661
+ return !Fi(a) && l && l.apply(void 0, [a].concat(o)), Fi(a);
1662
+ });
1663
+ };
1664
+ }
1665
+ function Zt() {
1666
+ return "showOpenFilePicker" in window;
1667
+ }
1668
+ function Qt(e) {
1669
+ if (Q(e)) {
1670
+ var i = Object.entries(e).filter(function(t) {
1671
+ var a = xi(t, 2), n = a[0], o = a[1], p = !0;
1672
+ return _e(n) || (console.warn('Skipped "'.concat(n, '" 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.')), p = !1), (!Array.isArray(o) || !o.every(Oe)) && (console.warn('Skipped "'.concat(n, '" because an invalid file extension was provided.')), p = !1), p;
1673
+ }).reduce(function(t, a) {
1674
+ var n = xi(a, 2), o = n[0], p = n[1];
1675
+ return ue(ue({}, t), {}, ze({}, o, p));
1676
+ }, {});
1677
+ return [{
1678
+ // description is required due to https://crbug.com/1264708
1679
+ description: "Files",
1680
+ accept: i
1681
+ }];
1682
+ }
1683
+ return e;
1684
+ }
1685
+ function ia(e) {
1686
+ if (Q(e))
1687
+ return Object.entries(e).reduce(function(i, t) {
1688
+ var a = xi(t, 2), n = a[0], o = a[1];
1689
+ return [].concat(de(i), [n], de(o));
1690
+ }, []).filter(function(i) {
1691
+ return _e(i) || Oe(i);
1692
+ }).join(",");
1693
+ }
1694
+ function ea(e) {
1695
+ return e instanceof DOMException && (e.name === "AbortError" || e.code === e.ABORT_ERR);
1696
+ }
1697
+ function ta(e) {
1698
+ return e instanceof DOMException && (e.name === "SecurityError" || e.code === e.SECURITY_ERR);
1699
+ }
1700
+ function _e(e) {
1701
+ return e === "audio/*" || e === "video/*" || e === "image/*" || e === "text/*" || e === "application/*" || /\w+\/[-+.\w]+/g.test(e);
1702
+ }
1703
+ function Oe(e) {
1704
+ return /^.*\.[\w]+$/.test(e);
1705
+ }
1706
+ var aa = ["children"], na = ["open"], oa = ["refKey", "role", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"], pa = ["refKey", "onChange", "onClick"];
1707
+ function la(e) {
1708
+ return sa(e) || ra(e) || Ce(e) || ca();
1709
+ }
1710
+ function ca() {
1711
+ throw new TypeError(`Invalid attempt to spread non-iterable instance.
1712
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1713
+ }
1714
+ function ra(e) {
1715
+ if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
1716
+ }
1717
+ function sa(e) {
1718
+ if (Array.isArray(e)) return Ki(e);
1719
+ }
1720
+ function qi(e, i) {
1721
+ return ua(e) || ma(e, i) || Ce(e, i) || da();
1722
+ }
1723
+ function da() {
1724
+ throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1725
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1726
+ }
1727
+ function Ce(e, i) {
1728
+ if (e) {
1729
+ if (typeof e == "string") return Ki(e, i);
1730
+ var t = Object.prototype.toString.call(e).slice(8, -1);
1731
+ if (t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set") return Array.from(e);
1732
+ if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return Ki(e, i);
1733
+ }
1734
+ }
1735
+ function Ki(e, i) {
1736
+ (i == null || i > e.length) && (i = e.length);
1737
+ for (var t = 0, a = new Array(i); t < i; t++)
1738
+ a[t] = e[t];
1739
+ return a;
1740
+ }
1741
+ function ma(e, i) {
1742
+ var t = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
1743
+ if (t != null) {
1744
+ var a = [], n = !0, o = !1, p, l;
1745
+ try {
1746
+ for (t = t.call(e); !(n = (p = t.next()).done) && (a.push(p.value), !(i && a.length === i)); n = !0)
1747
+ ;
1748
+ } catch (d) {
1749
+ o = !0, l = d;
1750
+ } finally {
1751
+ try {
1752
+ !n && t.return != null && t.return();
1753
+ } finally {
1754
+ if (o) throw l;
1755
+ }
1756
+ }
1757
+ return a;
1758
+ }
1759
+ }
1760
+ function ua(e) {
1761
+ if (Array.isArray(e)) return e;
1762
+ }
1763
+ function ge(e, i) {
1764
+ var t = Object.keys(e);
1765
+ if (Object.getOwnPropertySymbols) {
1766
+ var a = Object.getOwnPropertySymbols(e);
1767
+ i && (a = a.filter(function(n) {
1768
+ return Object.getOwnPropertyDescriptor(e, n).enumerable;
1769
+ })), t.push.apply(t, a);
1770
+ }
1771
+ return t;
1772
+ }
1773
+ function z(e) {
1774
+ for (var i = 1; i < arguments.length; i++) {
1775
+ var t = arguments[i] != null ? arguments[i] : {};
1776
+ i % 2 ? ge(Object(t), !0).forEach(function(a) {
1777
+ Ni(e, a, t[a]);
1778
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ge(Object(t)).forEach(function(a) {
1779
+ Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(t, a));
1780
+ });
1781
+ }
1782
+ return e;
1783
+ }
1784
+ function Ni(e, i, t) {
1785
+ return i in e ? Object.defineProperty(e, i, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[i] = t, e;
1786
+ }
1787
+ function Ai(e, i) {
1788
+ if (e == null) return {};
1789
+ var t = fa(e, i), a, n;
1790
+ if (Object.getOwnPropertySymbols) {
1791
+ var o = Object.getOwnPropertySymbols(e);
1792
+ for (n = 0; n < o.length; n++)
1793
+ a = o[n], !(i.indexOf(a) >= 0) && Object.prototype.propertyIsEnumerable.call(e, a) && (t[a] = e[a]);
1794
+ }
1795
+ return t;
1796
+ }
1797
+ function fa(e, i) {
1798
+ if (e == null) return {};
1799
+ var t = {}, a = Object.keys(e), n, o;
1800
+ for (o = 0; o < a.length; o++)
1801
+ n = a[o], !(i.indexOf(n) >= 0) && (t[n] = e[n]);
1802
+ return t;
1803
+ }
1804
+ var Ji = /* @__PURE__ */ Qe(function(e, i) {
1805
+ var t = e.children, a = Ai(e, aa), n = Se(a), o = n.open, p = Ai(n, na);
1806
+ return it(i, function() {
1807
+ return {
1808
+ open: o
1809
+ };
1810
+ }, [o]), /* @__PURE__ */ ri.createElement(Yi, null, t(z(z({}, p), {}, {
1811
+ open: o
1812
+ })));
1813
+ });
1814
+ Ji.displayName = "Dropzone";
1815
+ var Ie = {
1816
+ disabled: !1,
1817
+ getFilesFromEvent: Dt,
1818
+ maxSize: 1 / 0,
1819
+ minSize: 0,
1820
+ multiple: !0,
1821
+ maxFiles: 0,
1822
+ preventDropOnDocument: !0,
1823
+ noClick: !1,
1824
+ noKeyboard: !1,
1825
+ noDrag: !1,
1826
+ noDragEventsBubbling: !1,
1827
+ validator: null,
1828
+ useFsAccessApi: !1,
1829
+ autoFocus: !1
1830
+ };
1831
+ Ji.defaultProps = Ie;
1832
+ Ji.propTypes = {
1833
+ /**
1834
+ * Render function that exposes the dropzone state and prop getter fns
1835
+ *
1836
+ * @param {object} params
1837
+ * @param {Function} params.getRootProps Returns the props you should apply to the root drop container you render
1838
+ * @param {Function} params.getInputProps Returns the props you should apply to hidden file input you render
1839
+ * @param {Function} params.open Open the native file selection dialog
1840
+ * @param {boolean} params.isFocused Dropzone area is in focus
1841
+ * @param {boolean} params.isFileDialogActive File dialog is opened
1842
+ * @param {boolean} params.isDragActive Active drag is in progress
1843
+ * @param {boolean} params.isDragAccept Dragged files are accepted
1844
+ * @param {boolean} params.isDragReject Some dragged files are rejected
1845
+ * @param {File[]} params.acceptedFiles Accepted files
1846
+ * @param {FileRejection[]} params.fileRejections Rejected files and why they were rejected
1847
+ */
1848
+ children: j.func,
1849
+ /**
1850
+ * Set accepted file types.
1851
+ * Checkout https://developer.mozilla.org/en-US/docs/Web/API/window/showOpenFilePicker types option for more information.
1852
+ * Keep in mind that mime type determination is not reliable across platforms. CSV files,
1853
+ * for example, are reported as text/plain under macOS but as application/vnd.ms-excel under
1854
+ * Windows. In some cases there might not be a mime type set at all (https://github.com/react-dropzone/react-dropzone/issues/276).
1855
+ */
1856
+ accept: j.objectOf(j.arrayOf(j.string)),
1857
+ /**
1858
+ * Allow drag 'n' drop (or selection from the file dialog) of multiple files
1859
+ */
1860
+ multiple: j.bool,
1861
+ /**
1862
+ * If false, allow dropped items to take over the current browser window
1863
+ */
1864
+ preventDropOnDocument: j.bool,
1865
+ /**
1866
+ * If true, disables click to open the native file selection dialog
1867
+ */
1868
+ noClick: j.bool,
1869
+ /**
1870
+ * If true, disables SPACE/ENTER to open the native file selection dialog.
1871
+ * Note that it also stops tracking the focus state.
1872
+ */
1873
+ noKeyboard: j.bool,
1874
+ /**
1875
+ * If true, disables drag 'n' drop
1876
+ */
1877
+ noDrag: j.bool,
1878
+ /**
1879
+ * If true, stops drag event propagation to parents
1880
+ */
1881
+ noDragEventsBubbling: j.bool,
1882
+ /**
1883
+ * Minimum file size (in bytes)
1884
+ */
1885
+ minSize: j.number,
1886
+ /**
1887
+ * Maximum file size (in bytes)
1888
+ */
1889
+ maxSize: j.number,
1890
+ /**
1891
+ * Maximum accepted number of files
1892
+ * The default value is 0 which means there is no limitation to how many files are accepted.
1893
+ */
1894
+ maxFiles: j.number,
1895
+ /**
1896
+ * Enable/disable the dropzone
1897
+ */
1898
+ disabled: j.bool,
1899
+ /**
1900
+ * Use this to provide a custom file aggregator
1901
+ *
1902
+ * @param {(DragEvent|Event|Array<FileSystemFileHandle>)} event A drag event or input change event (if files were selected via the file dialog)
1903
+ */
1904
+ getFilesFromEvent: j.func,
1905
+ /**
1906
+ * Cb for when closing the file dialog with no selection
1907
+ */
1908
+ onFileDialogCancel: j.func,
1909
+ /**
1910
+ * Cb for when opening the file dialog
1911
+ */
1912
+ onFileDialogOpen: j.func,
1913
+ /**
1914
+ * Set to true to use the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API
1915
+ * to open the file picker instead of using an `<input type="file">` click event.
1916
+ */
1917
+ useFsAccessApi: j.bool,
1918
+ /**
1919
+ * Set to true to focus the root element on render
1920
+ */
1921
+ autoFocus: j.bool,
1922
+ /**
1923
+ * Cb for when the `dragenter` event occurs.
1924
+ *
1925
+ * @param {DragEvent} event
1926
+ */
1927
+ onDragEnter: j.func,
1928
+ /**
1929
+ * Cb for when the `dragleave` event occurs
1930
+ *
1931
+ * @param {DragEvent} event
1932
+ */
1933
+ onDragLeave: j.func,
1934
+ /**
1935
+ * Cb for when the `dragover` event occurs
1936
+ *
1937
+ * @param {DragEvent} event
1938
+ */
1939
+ onDragOver: j.func,
1940
+ /**
1941
+ * Cb for when the `drop` event occurs.
1942
+ * Note that this callback is invoked after the `getFilesFromEvent` callback is done.
1943
+ *
1944
+ * Files are accepted or rejected based on the `accept`, `multiple`, `minSize` and `maxSize` props.
1945
+ * `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.
1946
+ * If `multiple` is set to false and additional files are dropped,
1947
+ * all files besides the first will be rejected.
1948
+ * Any file which does not have a size in the [`minSize`, `maxSize`] range, will be rejected as well.
1949
+ *
1950
+ * Note that the `onDrop` callback will always be invoked regardless if the dropped files were accepted or rejected.
1951
+ * If you'd like to react to a specific scenario, use the `onDropAccepted`/`onDropRejected` props.
1952
+ *
1953
+ * `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.
1954
+ * For example, with [SuperAgent](https://github.com/visionmedia/superagent) as a http/ajax library:
1955
+ *
1956
+ * ```js
1957
+ * function onDrop(acceptedFiles) {
1958
+ * const req = request.post('/upload')
1959
+ * acceptedFiles.forEach(file => {
1960
+ * req.attach(file.name, file)
1961
+ * })
1962
+ * req.end(callback)
1963
+ * }
1964
+ * ```
1965
+ *
1966
+ * @param {File[]} acceptedFiles
1967
+ * @param {FileRejection[]} fileRejections
1968
+ * @param {(DragEvent|Event)} event A drag event or input change event (if files were selected via the file dialog)
1969
+ */
1970
+ onDrop: j.func,
1971
+ /**
1972
+ * Cb for when the `drop` event occurs.
1973
+ * Note that if no files are accepted, this callback is not invoked.
1974
+ *
1975
+ * @param {File[]} files
1976
+ * @param {(DragEvent|Event)} event
1977
+ */
1978
+ onDropAccepted: j.func,
1979
+ /**
1980
+ * Cb for when the `drop` event occurs.
1981
+ * Note that if no files are rejected, this callback is not invoked.
1982
+ *
1983
+ * @param {FileRejection[]} fileRejections
1984
+ * @param {(DragEvent|Event)} event
1985
+ */
1986
+ onDropRejected: j.func,
1987
+ /**
1988
+ * Cb for when there's some error from any of the promises.
1989
+ *
1990
+ * @param {Error} error
1991
+ */
1992
+ onError: j.func,
1993
+ /**
1994
+ * Custom validation function. It must return null if there's no errors.
1995
+ * @param {File} file
1996
+ * @returns {FileError|FileError[]|null}
1997
+ */
1998
+ validator: j.func
1999
+ };
2000
+ var Gi = {
2001
+ isFocused: !1,
2002
+ isFileDialogActive: !1,
2003
+ isDragActive: !1,
2004
+ isDragAccept: !1,
2005
+ isDragReject: !1,
2006
+ acceptedFiles: [],
2007
+ fileRejections: []
2008
+ };
2009
+ function Se() {
2010
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, i = z(z({}, Ie), e), t = i.accept, a = i.disabled, n = i.getFilesFromEvent, o = i.maxSize, p = i.minSize, l = i.multiple, d = i.maxFiles, c = i.onDragEnter, s = i.onDragLeave, m = i.onDragOver, f = i.onDrop, g = i.onDropAccepted, x = i.onDropRejected, h = i.onFileDialogCancel, y = i.onFileDialogOpen, w = i.useFsAccessApi, b = i.autoFocus, k = i.preventDropOnDocument, D = i.noClick, A = i.noKeyboard, C = i.noDrag, I = i.noDragEventsBubbling, P = i.onError, R = i.validator, $ = oi(function() {
2011
+ return ia(t);
2012
+ }, [t]), G = oi(function() {
2013
+ return Qt(t);
2014
+ }, [t]), X = oi(function() {
2015
+ return typeof y == "function" ? y : he;
2016
+ }, [y]), V = oi(function() {
2017
+ return typeof h == "function" ? h : he;
2018
+ }, [h]), F = ui(null), T = ui(null), di = Ze(va, Gi), ei = qi(di, 2), H = ei[0], _ = ei[1], Y = H.isFocused, K = H.isFileDialogActive, B = ui(typeof window < "u" && window.isSecureContext && w && Zt()), J = function() {
2019
+ !B.current && K && setTimeout(function() {
2020
+ if (T.current) {
2021
+ var v = T.current.files;
2022
+ v.length || (_({
2023
+ type: "closeDialog"
2024
+ }), V());
2025
+ }
2026
+ }, 300);
2027
+ };
2028
+ pi(function() {
2029
+ return window.addEventListener("focus", J, !1), function() {
2030
+ window.removeEventListener("focus", J, !1);
2031
+ };
2032
+ }, [T, K, V, B]);
2033
+ var N = ui([]), Zi = function(v) {
2034
+ F.current && F.current.contains(v.target) || (v.preventDefault(), N.current = []);
2035
+ };
2036
+ pi(function() {
2037
+ return k && (document.addEventListener("dragover", xe, !1), document.addEventListener("drop", Zi, !1)), function() {
2038
+ k && (document.removeEventListener("dragover", xe), document.removeEventListener("drop", Zi));
2039
+ };
2040
+ }, [F, k]), pi(function() {
2041
+ return !a && b && F.current && F.current.focus(), function() {
2042
+ };
2043
+ }, [F, b, a]);
2044
+ var Z = M(function(r) {
2045
+ P ? P(r) : console.error(r);
2046
+ }, [P]), Qi = M(function(r) {
2047
+ r.preventDefault(), r.persist(), wi(r), N.current = [].concat(la(N.current), [r.target]), Di(r) && Promise.resolve(n(r)).then(function(v) {
2048
+ if (!(Fi(r) && !I)) {
2049
+ var O = v.length, S = O > 0 && Yt({
2050
+ files: v,
2051
+ accept: $,
2052
+ minSize: p,
2053
+ maxSize: o,
2054
+ multiple: l,
2055
+ maxFiles: d,
2056
+ validator: R
2057
+ }), L = O > 0 && !S;
2058
+ _({
2059
+ isDragAccept: S,
2060
+ isDragReject: L,
2061
+ isDragActive: !0,
2062
+ type: "setDraggedFiles"
2063
+ }), c && c(r);
2064
+ }
2065
+ }).catch(function(v) {
2066
+ return Z(v);
2067
+ });
2068
+ }, [n, c, Z, I, $, p, o, l, d, R]), ie = M(function(r) {
2069
+ r.preventDefault(), r.persist(), wi(r);
2070
+ var v = Di(r);
2071
+ if (v && r.dataTransfer)
2072
+ try {
2073
+ r.dataTransfer.dropEffect = "copy";
2074
+ } catch {
2075
+ }
2076
+ return v && m && m(r), !1;
2077
+ }, [m, I]), ee = M(function(r) {
2078
+ r.preventDefault(), r.persist(), wi(r);
2079
+ var v = N.current.filter(function(S) {
2080
+ return F.current && F.current.contains(S);
2081
+ }), O = v.indexOf(r.target);
2082
+ O !== -1 && v.splice(O, 1), N.current = v, !(v.length > 0) && (_({
2083
+ type: "setDraggedFiles",
2084
+ isDragActive: !1,
2085
+ isDragAccept: !1,
2086
+ isDragReject: !1
2087
+ }), Di(r) && s && s(r));
2088
+ }, [F, s, I]), hi = M(function(r, v) {
2089
+ var O = [], S = [];
2090
+ r.forEach(function(L) {
2091
+ var mi = Fe(L, $), ni = qi(mi, 2), Oi = ni[0], Ci = ni[1], Ii = Ae(L, p, o), ki = qi(Ii, 2), Si = ki[0], Ti = ki[1], Pi = R ? R(L) : null;
2092
+ if (Oi && Si && !Pi)
2093
+ O.push(L);
2094
+ else {
2095
+ var Ri = [Ci, Ti];
2096
+ Pi && (Ri = Ri.concat(Pi)), S.push({
2097
+ file: L,
2098
+ errors: Ri.filter(function($e) {
2099
+ return $e;
2100
+ })
2101
+ });
2102
+ }
2103
+ }), (!l && O.length > 1 || l && d >= 1 && O.length > d) && (O.forEach(function(L) {
2104
+ S.push({
2105
+ file: L,
2106
+ errors: [Vt]
2107
+ });
2108
+ }), O.splice(0)), _({
2109
+ acceptedFiles: O,
2110
+ fileRejections: S,
2111
+ isDragReject: S.length > 0,
2112
+ type: "setFiles"
2113
+ }), f && f(O, S, v), S.length > 0 && x && x(S, v), O.length > 0 && g && g(O, v);
2114
+ }, [_, l, $, p, o, d, f, g, x, R]), bi = M(function(r) {
2115
+ r.preventDefault(), r.persist(), wi(r), N.current = [], Di(r) && Promise.resolve(n(r)).then(function(v) {
2116
+ Fi(r) && !I || hi(v, r);
2117
+ }).catch(function(v) {
2118
+ return Z(v);
2119
+ }), _({
2120
+ type: "reset"
2121
+ });
2122
+ }, [n, hi, Z, I]), ti = M(function() {
2123
+ if (B.current) {
2124
+ _({
2125
+ type: "openDialog"
2126
+ }), X();
2127
+ var r = {
2128
+ multiple: l,
2129
+ types: G
2130
+ };
2131
+ window.showOpenFilePicker(r).then(function(v) {
2132
+ return n(v);
2133
+ }).then(function(v) {
2134
+ hi(v, null), _({
2135
+ type: "closeDialog"
2136
+ });
2137
+ }).catch(function(v) {
2138
+ ea(v) ? (V(v), _({
2139
+ type: "closeDialog"
2140
+ })) : ta(v) ? (B.current = !1, T.current ? (T.current.value = null, T.current.click()) : Z(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."))) : Z(v);
2141
+ });
2142
+ return;
2143
+ }
2144
+ T.current && (_({
2145
+ type: "openDialog"
2146
+ }), X(), T.current.value = null, T.current.click());
2147
+ }, [_, X, V, w, hi, Z, G, l]), te = M(function(r) {
2148
+ !F.current || !F.current.isEqualNode(r.target) || (r.key === " " || r.key === "Enter" || r.keyCode === 32 || r.keyCode === 13) && (r.preventDefault(), ti());
2149
+ }, [F, ti]), ae = M(function() {
2150
+ _({
2151
+ type: "focus"
2152
+ });
2153
+ }, []), ne = M(function() {
2154
+ _({
2155
+ type: "blur"
2156
+ });
2157
+ }, []), oe = M(function() {
2158
+ D || (Jt() ? setTimeout(ti, 0) : ti());
2159
+ }, [D, ti]), ai = function(v) {
2160
+ return a ? null : v;
2161
+ }, _i = function(v) {
2162
+ return A ? null : ai(v);
2163
+ }, yi = function(v) {
2164
+ return C ? null : ai(v);
2165
+ }, wi = function(v) {
2166
+ I && v.stopPropagation();
2167
+ }, Re = oi(function() {
2168
+ return function() {
2169
+ var r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, v = r.refKey, O = v === void 0 ? "ref" : v, S = r.role, L = r.onKeyDown, mi = r.onFocus, ni = r.onBlur, Oi = r.onClick, Ci = r.onDragEnter, Ii = r.onDragOver, ki = r.onDragLeave, Si = r.onDrop, Ti = Ai(r, oa);
2170
+ return z(z(Ni({
2171
+ onKeyDown: _i(W(L, te)),
2172
+ onFocus: _i(W(mi, ae)),
2173
+ onBlur: _i(W(ni, ne)),
2174
+ onClick: ai(W(Oi, oe)),
2175
+ onDragEnter: yi(W(Ci, Qi)),
2176
+ onDragOver: yi(W(Ii, ie)),
2177
+ onDragLeave: yi(W(ki, ee)),
2178
+ onDrop: yi(W(Si, bi)),
2179
+ role: typeof S == "string" && S !== "" ? S : "presentation"
2180
+ }, O, F), !a && !A ? {
2181
+ tabIndex: 0
2182
+ } : {}), Ti);
2183
+ };
2184
+ }, [F, te, ae, ne, oe, Qi, ie, ee, bi, A, C, a]), Le = M(function(r) {
2185
+ r.stopPropagation();
2186
+ }, []), qe = oi(function() {
2187
+ return function() {
2188
+ var r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, v = r.refKey, O = v === void 0 ? "ref" : v, S = r.onChange, L = r.onClick, mi = Ai(r, pa), ni = Ni({
2189
+ accept: $,
2190
+ multiple: l,
2191
+ type: "file",
2192
+ style: {
2193
+ border: 0,
2194
+ clip: "rect(0, 0, 0, 0)",
2195
+ clipPath: "inset(50%)",
2196
+ height: "1px",
2197
+ margin: "0 -1px -1px 0",
2198
+ overflow: "hidden",
2199
+ padding: 0,
2200
+ position: "absolute",
2201
+ width: "1px",
2202
+ whiteSpace: "nowrap"
2203
+ },
2204
+ onChange: ai(W(S, bi)),
2205
+ onClick: ai(W(L, Le)),
2206
+ tabIndex: -1
2207
+ }, O, T);
2208
+ return z(z({}, ni), mi);
2209
+ };
2210
+ }, [T, t, l, bi, a]);
2211
+ return z(z({}, H), {}, {
2212
+ isFocused: Y && !a,
2213
+ getRootProps: Re,
2214
+ getInputProps: qe,
2215
+ rootRef: F,
2216
+ inputRef: T,
2217
+ open: ai(ti)
2218
+ });
2219
+ }
2220
+ function va(e, i) {
2221
+ switch (i.type) {
2222
+ case "focus":
2223
+ return z(z({}, e), {}, {
2224
+ isFocused: !0
2225
+ });
2226
+ case "blur":
2227
+ return z(z({}, e), {}, {
2228
+ isFocused: !1
2229
+ });
2230
+ case "openDialog":
2231
+ return z(z({}, Gi), {}, {
2232
+ isFileDialogActive: !0
2233
+ });
2234
+ case "closeDialog":
2235
+ return z(z({}, e), {}, {
2236
+ isFileDialogActive: !1
2237
+ });
2238
+ case "setDraggedFiles":
2239
+ return z(z({}, e), {}, {
2240
+ isDragActive: i.isDragActive,
2241
+ isDragAccept: i.isDragAccept,
2242
+ isDragReject: i.isDragReject
2243
+ });
2244
+ case "setFiles":
2245
+ return z(z({}, e), {}, {
2246
+ acceptedFiles: i.acceptedFiles,
2247
+ fileRejections: i.fileRejections,
2248
+ isDragReject: i.isDragReject
2249
+ });
2250
+ case "reset":
2251
+ return z({}, Gi);
2252
+ default:
2253
+ return e;
2254
+ }
2255
+ }
2256
+ function he() {
2257
+ }
2258
+ const xa = {
111
2259
  flex: 1,
112
2260
  display: "flex",
113
2261
  flexDirection: "column",
@@ -119,563 +2267,563 @@ const je = (o) => {
119
2267
  outline: "none",
120
2268
  transition: "border .24s ease-in-out",
121
2269
  cursor: "pointer"
122
- }, Mt = (o) => {
123
- const e = C(28);
124
- let t, n;
125
- e[0] !== o ? ({
126
- sx: n,
2270
+ }, an = (e) => {
2271
+ const i = E(28);
2272
+ let t, a;
2273
+ i[0] !== e ? ({
2274
+ sx: a,
127
2275
  ...t
128
- } = o, e[0] = o, e[1] = t, e[2] = n) : (t = e[1], n = e[2]);
2276
+ } = e, i[0] = e, i[1] = t, i[2] = a) : (t = i[1], a = i[2]);
129
2277
  const {
130
- getRootProps: l,
131
- getInputProps: i,
132
- isFocused: c,
133
- isDragAccept: d,
134
- isDragReject: f
2278
+ getRootProps: n,
2279
+ getInputProps: o,
2280
+ isFocused: p,
2281
+ isDragAccept: l,
2282
+ isDragReject: d
135
2283
  } = Se(t), {
136
- t: s
137
- } = ne(), a = ue();
138
- let m, u, p;
139
- if (e[3] !== l || e[4] !== d || e[5] !== f || e[6] !== c || e[7] !== a) {
140
- const v = {
141
- ...Ye,
142
- ...c ? {
143
- borderColor: a.palette.primary.main
2284
+ t: c
2285
+ } = Ui(), s = Me();
2286
+ let m, f, g;
2287
+ if (i[3] !== n || i[4] !== l || i[5] !== d || i[6] !== p || i[7] !== s) {
2288
+ const A = {
2289
+ ...xa,
2290
+ ...p ? {
2291
+ borderColor: s.palette.primary.main
144
2292
  } : {},
145
- ...d ? {
146
- borderColor: a.palette.success.main
2293
+ ...l ? {
2294
+ borderColor: s.palette.success.main
147
2295
  } : {},
148
- ...f ? {
149
- borderColor: a.palette.error.main
2296
+ ...d ? {
2297
+ borderColor: s.palette.error.main
150
2298
  } : {}
151
2299
  };
152
- m = he, u = "outlined", p = l({
153
- style: v
154
- }), e[3] = l, e[4] = d, e[5] = f, e[6] = c, e[7] = a, e[8] = m, e[9] = u, e[10] = p;
2300
+ m = Be, f = "outlined", g = n({
2301
+ style: A
2302
+ }), i[3] = n, i[4] = l, i[5] = d, i[6] = p, i[7] = s, i[8] = m, i[9] = f, i[10] = g;
155
2303
  } else
156
- m = e[8], u = e[9], p = e[10];
2304
+ m = i[8], f = i[9], g = i[10];
2305
+ let x;
2306
+ i[11] !== o ? (x = o(), i[11] = o, i[12] = x) : x = i[12];
157
2307
  let h;
158
- e[11] !== i ? (h = i(), e[11] = i, e[12] = h) : h = e[12];
159
- let g;
160
- e[13] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (g = {
2308
+ i[13] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (h = {
161
2309
  display: "none"
162
- }, e[13] = g) : g = e[13];
2310
+ }, i[13] = h) : h = i[13];
163
2311
  let y;
164
- e[14] !== h ? (y = /* @__PURE__ */ r("input", { ...h, style: g }), e[14] = h, e[15] = y) : y = e[15];
165
- let x;
166
- e[16] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (x = /* @__PURE__ */ r(Le, {}), e[16] = x) : x = e[16];
2312
+ i[14] !== x ? (y = /* @__PURE__ */ u("input", { ...x, style: h }), i[14] = x, i[15] = y) : y = i[15];
167
2313
  let w;
168
- e[17] !== s ? (w = s("Layout.File.DragSomeFilesHereOrClickToSelectThem"), e[17] = s, e[18] = w) : w = e[18];
2314
+ i[16] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (w = /* @__PURE__ */ u(at, {}), i[16] = w) : w = i[16];
169
2315
  let b;
170
- e[19] !== w ? (b = /* @__PURE__ */ r(N, { children: w }), e[19] = w, e[20] = b) : b = e[20];
171
- let I;
172
- return e[21] !== m || e[22] !== n || e[23] !== u || e[24] !== p || e[25] !== y || e[26] !== b ? (I = /* @__PURE__ */ $(m, { variant: u, ...p, sx: n, children: [
2316
+ i[17] !== c ? (b = c("Layout.File.DragSomeFilesHereOrClickToSelectThem"), i[17] = c, i[18] = b) : b = i[18];
2317
+ let k;
2318
+ i[19] !== b ? (k = /* @__PURE__ */ u(li, { children: b }), i[19] = b, i[20] = k) : k = i[20];
2319
+ let D;
2320
+ return i[21] !== m || i[22] !== a || i[23] !== f || i[24] !== g || i[25] !== y || i[26] !== k ? (D = /* @__PURE__ */ q(m, { variant: f, ...g, sx: a, children: [
173
2321
  y,
174
- x,
175
- b
176
- ] }), e[21] = m, e[22] = n, e[23] = u, e[24] = p, e[25] = y, e[26] = b, e[27] = I) : I = e[27], I;
177
- }, de = De(null), P = () => {
178
- const o = _e(de);
179
- if (!o)
2322
+ w,
2323
+ k
2324
+ ] }), i[21] = m, i[22] = a, i[23] = f, i[24] = g, i[25] = y, i[26] = k, i[27] = D) : D = i[27], D;
2325
+ }, Te = et(null), si = () => {
2326
+ const e = tt(Te);
2327
+ if (!e)
180
2328
  throw new Error("FileViewer components must be used within FileViewer");
181
- return o;
182
- }, fe = (o) => {
183
- const e = C(34), {
2329
+ return e;
2330
+ }, Pe = (e) => {
2331
+ const i = E(34), {
184
2332
  meta: t,
185
- menu: n,
186
- setMenu: l
187
- } = o, {
188
- t: i
189
- } = ne(), {
190
- fileMetas: c,
191
- onDelete: d,
192
- actions: f
193
- } = P(), {
194
- confirm: s
195
- } = Ae();
196
- let a;
197
- e[0] !== l ? (a = () => {
198
- l(null);
199
- }, e[0] = l, e[1] = a) : a = e[1];
200
- const m = a, {
201
- mutate: u,
202
- isPending: p
203
- } = le(), {
204
- mutate: h,
2333
+ menu: a,
2334
+ setMenu: n
2335
+ } = e, {
2336
+ t: o
2337
+ } = Ui(), {
2338
+ fileMetas: p,
2339
+ onDelete: l,
2340
+ actions: d
2341
+ } = si(), {
2342
+ confirm: c
2343
+ } = pt();
2344
+ let s;
2345
+ i[0] !== n ? (s = () => {
2346
+ n(null);
2347
+ }, i[0] = n, i[1] = s) : s = i[1];
2348
+ const m = s, {
2349
+ mutate: f,
205
2350
  isPending: g
206
- } = Ee();
2351
+ } = Xi(), {
2352
+ mutate: x,
2353
+ isPending: h
2354
+ } = st();
207
2355
  let y;
208
- e[2] !== u || e[3] !== m || e[4] !== t ? (y = () => {
209
- m(), u(t);
210
- }, e[2] = u, e[3] = m, e[4] = t, e[5] = y) : y = e[5];
211
- const x = y;
212
- let w;
213
- e[6] !== s || e[7] !== h || e[8] !== c || e[9] !== m || e[10] !== t || e[11] !== d || e[12] !== i ? (w = async () => {
214
- if (await s(i("Layout.File.AreYouSureYouWantToDelete", {
2356
+ i[2] !== f || i[3] !== m || i[4] !== t ? (y = () => {
2357
+ m(), f(t);
2358
+ }, i[2] = f, i[3] = m, i[4] = t, i[5] = y) : y = i[5];
2359
+ const w = y;
2360
+ let b;
2361
+ i[6] !== c || i[7] !== x || i[8] !== p || i[9] !== m || i[10] !== t || i[11] !== l || i[12] !== o ? (b = async () => {
2362
+ if (await c(o("Layout.File.AreYouSureYouWantToDelete", {
215
2363
  fileName: t.fileName
216
- })) && (h(t), m(), d)) {
217
- const T = c.filter((V) => V.id !== t.id);
218
- d({
219
- remainingFileMetas: T,
2364
+ })) && (x(t), m(), l)) {
2365
+ const $ = p.filter((G) => G.id !== t.id);
2366
+ l({
2367
+ remainingFileMetas: $,
220
2368
  deletedFileMeta: t
221
2369
  });
222
2370
  }
223
- }, e[6] = s, e[7] = h, e[8] = c, e[9] = m, e[10] = t, e[11] = d, e[12] = i, e[13] = w) : w = e[13];
224
- const b = w, I = n !== null;
225
- let v;
226
- e[14] !== n ? (v = n === null ? void 0 : {
227
- top: n.mouseY,
228
- left: n.mouseX
229
- }, e[14] = n, e[15] = v) : v = e[15];
230
- let F;
231
- e[16] !== f?.download || e[17] !== x || e[18] !== p || e[19] !== i ? (F = f?.download !== !1 && /* @__PURE__ */ $(q, { onClick: x, disabled: p, children: [
232
- /* @__PURE__ */ r(J, { children: /* @__PURE__ */ r(ke, {}) }),
233
- /* @__PURE__ */ r(Q, { children: i("Layout.File.Download") })
234
- ] }), e[16] = f?.download, e[17] = x, e[18] = p, e[19] = i, e[20] = F) : F = e[20];
235
- let _;
236
- e[21] !== f?.delete || e[22] !== b || e[23] !== g || e[24] !== i ? (_ = f?.delete !== !1 && /* @__PURE__ */ $(q, { onClick: b, disabled: g, children: [
237
- /* @__PURE__ */ r(J, { children: /* @__PURE__ */ r(Me, {}) }),
238
- /* @__PURE__ */ r(Q, { children: i("Layout.File.Delete") })
239
- ] }), e[21] = f?.delete, e[22] = b, e[23] = g, e[24] = i, e[25] = _) : _ = e[25];
240
- let D;
241
- e[26] !== F || e[27] !== _ ? (D = /* @__PURE__ */ $(se, { disablePadding: !0, children: [
242
- F,
243
- _
244
- ] }), e[26] = F, e[27] = _, e[28] = D) : D = e[28];
245
- let L;
246
- return e[29] !== m || e[30] !== I || e[31] !== v || e[32] !== D ? (L = /* @__PURE__ */ r(pe, { open: I, onClose: m, anchorReference: "anchorPosition", variant: "menu", anchorPosition: v, children: D }), e[29] = m, e[30] = I, e[31] = v, e[32] = D, e[33] = L) : L = e[33], L;
247
- }, j = 150, Xe = (o) => {
248
- const e = C(12), {
2371
+ }, i[6] = c, i[7] = x, i[8] = p, i[9] = m, i[10] = t, i[11] = l, i[12] = o, i[13] = b) : b = i[13];
2372
+ const k = b, D = a !== null;
2373
+ let A;
2374
+ i[14] !== a ? (A = a === null ? void 0 : {
2375
+ top: a.mouseY,
2376
+ left: a.mouseX
2377
+ }, i[14] = a, i[15] = A) : A = i[15];
2378
+ let C;
2379
+ i[16] !== d?.download || i[17] !== w || i[18] !== g || i[19] !== o ? (C = d?.download !== !1 && /* @__PURE__ */ q($i, { onClick: w, disabled: g, children: [
2380
+ /* @__PURE__ */ u(Mi, { children: /* @__PURE__ */ u(rt, {}) }),
2381
+ /* @__PURE__ */ u(Bi, { children: o("Layout.File.Download") })
2382
+ ] }), i[16] = d?.download, i[17] = w, i[18] = g, i[19] = o, i[20] = C) : C = i[20];
2383
+ let I;
2384
+ i[21] !== d?.delete || i[22] !== k || i[23] !== h || i[24] !== o ? (I = d?.delete !== !1 && /* @__PURE__ */ q($i, { onClick: k, disabled: h, children: [
2385
+ /* @__PURE__ */ u(Mi, { children: /* @__PURE__ */ u(ct, {}) }),
2386
+ /* @__PURE__ */ u(Bi, { children: o("Layout.File.Delete") })
2387
+ ] }), i[21] = d?.delete, i[22] = k, i[23] = h, i[24] = o, i[25] = I) : I = i[25];
2388
+ let P;
2389
+ i[26] !== C || i[27] !== I ? (P = /* @__PURE__ */ q(be, { disablePadding: !0, children: [
2390
+ C,
2391
+ I
2392
+ ] }), i[26] = C, i[27] = I, i[28] = P) : P = i[28];
2393
+ let R;
2394
+ return i[29] !== m || i[30] !== D || i[31] !== A || i[32] !== P ? (R = /* @__PURE__ */ u(He, { open: D, onClose: m, anchorReference: "anchorPosition", variant: "menu", anchorPosition: A, children: P }), i[29] = m, i[30] = D, i[31] = A, i[32] = P, i[33] = R) : R = i[33], R;
2395
+ }, zi = 150, ga = (e) => {
2396
+ const i = E(12), {
249
2397
  sx: t,
250
- size: n,
251
- itemBar: l
252
- } = o, {
253
- fileMetas: i
254
- } = P();
255
- let c;
256
- e[0] !== t ? (c = {
2398
+ size: a,
2399
+ itemBar: n
2400
+ } = e, {
2401
+ fileMetas: o
2402
+ } = si();
2403
+ let p;
2404
+ i[0] !== t ? (p = {
257
2405
  overflow: "auto",
258
2406
  ...t
259
- }, e[0] = t, e[1] = c) : c = e[1];
260
- let d;
261
- if (e[2] !== i || e[3] !== l || e[4] !== n) {
262
- let s;
263
- e[6] !== l || e[7] !== n ? (s = (a) => /* @__PURE__ */ r(Ke, { meta: a, size: n, itemBar: l }, a.id), e[6] = l, e[7] = n, e[8] = s) : s = e[8], d = i.map(s), e[2] = i, e[3] = l, e[4] = n, e[5] = d;
2407
+ }, i[0] = t, i[1] = p) : p = i[1];
2408
+ let l;
2409
+ if (i[2] !== o || i[3] !== n || i[4] !== a) {
2410
+ let c;
2411
+ i[6] !== n || i[7] !== a ? (c = (s) => /* @__PURE__ */ u(ha, { meta: s, size: a, itemBar: n }, s.id), i[6] = n, i[7] = a, i[8] = c) : c = i[8], l = o.map(c), i[2] = o, i[3] = n, i[4] = a, i[5] = l;
264
2412
  } else
265
- d = e[5];
266
- let f;
267
- return e[9] !== c || e[10] !== d ? (f = /* @__PURE__ */ r(G, { direction: "row", spacing: 1, sx: c, children: d }), e[9] = c, e[10] = d, e[11] = f) : f = e[11], f;
268
- }, Ke = (o) => {
269
- const e = C(47), {
2413
+ l = i[5];
2414
+ let d;
2415
+ return i[9] !== p || i[10] !== l ? (d = /* @__PURE__ */ u(fi, { direction: "row", spacing: 1, sx: p, children: l }), i[9] = p, i[10] = l, i[11] = d) : d = i[11], d;
2416
+ }, ha = (e) => {
2417
+ const i = E(47), {
270
2418
  meta: t,
271
- size: n,
272
- itemBar: l
273
- } = o, {
274
- setImageId: i,
275
- actions: c
276
- } = P(), [d, f] = H(l === "always"), [s, a] = H(null), {
2419
+ size: a,
2420
+ itemBar: n
2421
+ } = e, {
2422
+ setImageId: o,
2423
+ actions: p
2424
+ } = si(), [l, d] = vi(n === "always"), [c, s] = vi(null), {
277
2425
  ref: m,
278
- inView: u
279
- } = Re();
280
- let p, h;
281
- e[0] !== l ? (p = () => {
282
- f(l === "always");
283
- }, h = [l], e[0] = l, e[1] = p, e[2] = h) : (p = e[1], h = e[2]), te(p, h);
284
- let g;
285
- e[3] !== t ? (g = {
2426
+ inView: f
2427
+ } = lt();
2428
+ let g, x;
2429
+ i[0] !== n ? (g = () => {
2430
+ d(n === "always");
2431
+ }, x = [n], i[0] = n, i[1] = g, i[2] = x) : (g = i[1], x = i[2]), pi(g, x);
2432
+ let h;
2433
+ i[3] !== t ? (h = {
286
2434
  meta: t
287
- }, e[3] = t, e[4] = g) : g = e[4];
2435
+ }, i[3] = t, i[4] = h) : h = i[4];
288
2436
  let y;
289
- e[5] !== u ? (y = {
290
- enabled: u
291
- }, e[5] = u, e[6] = y) : y = e[6];
2437
+ i[5] !== f ? (y = {
2438
+ enabled: f
2439
+ }, i[5] = f, i[6] = y) : y = i[6];
292
2440
  const {
293
- data: x
294
- } = Be(g, y);
295
- let w;
296
- e[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (w = () => f(!0), e[7] = w) : w = e[7];
297
- const b = w;
298
- let I;
299
- e[8] !== l ? (I = () => l !== "always" && f(!1), e[8] = l, e[9] = I) : I = e[9];
300
- const v = I;
301
- let F;
302
- e[10] !== s ? (F = (oe) => {
303
- a(s === null ? {
304
- mouseX: oe.clientX,
305
- mouseY: oe.clientY
306
- } : null), setTimeout(() => f(!0));
307
- }, e[10] = s, e[11] = F) : F = e[11];
308
- const _ = F, {
309
- mutate: D
310
- } = me(), {
311
- mutate: L
312
- } = le();
313
- let T;
314
- e[12] !== L || e[13] !== t || e[14] !== D || e[15] !== i ? (T = () => {
2441
+ data: w
2442
+ } = dt(h, y);
2443
+ let b;
2444
+ i[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (b = () => d(!0), i[7] = b) : b = i[7];
2445
+ const k = b;
2446
+ let D;
2447
+ i[8] !== n ? (D = () => n !== "always" && d(!1), i[8] = n, i[9] = D) : D = i[9];
2448
+ const A = D;
2449
+ let C;
2450
+ i[10] !== c ? (C = (N) => {
2451
+ s(c === null ? {
2452
+ mouseX: N.clientX,
2453
+ mouseY: N.clientY
2454
+ } : null), setTimeout(() => d(!0));
2455
+ }, i[10] = c, i[11] = C) : C = i[11];
2456
+ const I = C, {
2457
+ mutate: P
2458
+ } = ke(), {
2459
+ mutate: R
2460
+ } = Xi();
2461
+ let $;
2462
+ i[12] !== R || i[13] !== t || i[14] !== P || i[15] !== o ? ($ = () => {
315
2463
  switch (t.mediaType) {
316
2464
  case "image":
317
- return i(t.id);
2465
+ return o(t.id);
318
2466
  case "application":
319
- return D(t);
2467
+ return P(t);
320
2468
  case "video":
321
- return D(t);
2469
+ return P(t);
322
2470
  default:
323
- return L(t);
2471
+ return R(t);
324
2472
  }
325
- }, e[12] = L, e[13] = t, e[14] = D, e[15] = i, e[16] = T) : T = e[16];
326
- const V = T, Y = n ?? j, X = n ?? j;
327
- let R;
328
- e[17] !== X || e[18] !== Y ? (R = {
329
- width: Y,
330
- height: X
331
- }, e[17] = X, e[18] = Y, e[19] = R) : R = e[19];
332
- const K = "thumbnail-" + t.id, U = n ?? j, Z = n ?? j;
333
- let M;
334
- e[20] !== U || e[21] !== Z ? (M = {
2473
+ }, i[12] = R, i[13] = t, i[14] = P, i[15] = o, i[16] = $) : $ = i[16];
2474
+ const G = $, X = a ?? zi, V = a ?? zi;
2475
+ let F;
2476
+ i[17] !== V || i[18] !== X ? (F = {
2477
+ width: X,
2478
+ height: V
2479
+ }, i[17] = V, i[18] = X, i[19] = F) : F = i[19];
2480
+ const T = "thumbnail-" + t.id, di = a ?? zi, ei = a ?? zi;
2481
+ let H;
2482
+ i[20] !== di || i[21] !== ei ? (H = {
335
2483
  cursor: "pointer",
336
2484
  objectFit: "contain",
337
- width: U,
338
- height: Z
339
- }, e[20] = U, e[21] = Z, e[22] = M) : M = e[22];
340
- let k;
341
- e[23] !== V || e[24] !== x || e[25] !== K || e[26] !== M ? (k = /* @__PURE__ */ r(S, { component: "img", src: x, loading: "lazy", alt: K, onClick: V, sx: M }), e[23] = V, e[24] = x, e[25] = K, e[26] = M, e[27] = k) : k = e[27];
342
- let A;
343
- e[28] !== c || e[29] !== l || e[30] !== t.fileName || e[31] !== _ || e[32] !== d ? (A = l !== "hidden" && d && /* @__PURE__ */ r(ge, { title: /* @__PURE__ */ r(we, { title: t.fileName, children: /* @__PURE__ */ r(S, { children: t.fileName }) }), actionIcon: (c?.download !== !1 || c.delete !== !1) && /* @__PURE__ */ r(ee, { sx: {
344
- color: Te[100]
345
- }, onClick: _, children: /* @__PURE__ */ r(ae, {}) }) }), e[28] = c, e[29] = l, e[30] = t.fileName, e[31] = _, e[32] = d, e[33] = A) : A = e[33];
346
- let E;
347
- e[34] !== v || e[35] !== m || e[36] !== R || e[37] !== k || e[38] !== A ? (E = /* @__PURE__ */ $(ye, { sx: R, onMouseEnter: b, onMouseLeave: v, ref: m, children: [
348
- k,
349
- A
350
- ] }), e[34] = v, e[35] = m, e[36] = R, e[37] = k, e[38] = A, e[39] = E) : E = e[39];
2485
+ width: di,
2486
+ height: ei
2487
+ }, i[20] = di, i[21] = ei, i[22] = H) : H = i[22];
2488
+ let _;
2489
+ i[23] !== G || i[24] !== w || i[25] !== T || i[26] !== H ? (_ = /* @__PURE__ */ u(U, { component: "img", src: w, loading: "lazy", alt: T, onClick: G, sx: H }), i[23] = G, i[24] = w, i[25] = T, i[26] = H, i[27] = _) : _ = i[27];
2490
+ let Y;
2491
+ i[28] !== p || i[29] !== n || i[30] !== t.fileName || i[31] !== I || i[32] !== l ? (Y = n !== "hidden" && l && /* @__PURE__ */ u(We, { title: /* @__PURE__ */ u(Ke, { title: t.fileName, children: /* @__PURE__ */ u(U, { children: t.fileName }) }), actionIcon: (p?.download !== !1 || p.delete !== !1) && /* @__PURE__ */ u(Vi, { sx: {
2492
+ color: ot[100]
2493
+ }, onClick: I, children: /* @__PURE__ */ u(we, {}) }) }), i[28] = p, i[29] = n, i[30] = t.fileName, i[31] = I, i[32] = l, i[33] = Y) : Y = i[33];
2494
+ let K;
2495
+ i[34] !== A || i[35] !== m || i[36] !== F || i[37] !== _ || i[38] !== Y ? (K = /* @__PURE__ */ q(Ne, { sx: F, onMouseEnter: k, onMouseLeave: A, ref: m, children: [
2496
+ _,
2497
+ Y
2498
+ ] }), i[34] = A, i[35] = m, i[36] = F, i[37] = _, i[38] = Y, i[39] = K) : K = i[39];
351
2499
  let B;
352
- e[40] !== c || e[41] !== s || e[42] !== t ? (B = (c?.download !== !1 || c.delete !== !1) && /* @__PURE__ */ r(fe, { meta: t, menu: s, setMenu: a }), e[40] = c, e[41] = s, e[42] = t, e[43] = B) : B = e[43];
353
- let W;
354
- return e[44] !== E || e[45] !== B ? (W = /* @__PURE__ */ $(ce, { children: [
355
- E,
2500
+ i[40] !== p || i[41] !== c || i[42] !== t ? (B = (p?.download !== !1 || p.delete !== !1) && /* @__PURE__ */ u(Pe, { meta: t, menu: c, setMenu: s }), i[40] = p, i[41] = c, i[42] = t, i[43] = B) : B = i[43];
2501
+ let J;
2502
+ return i[44] !== K || i[45] !== B ? (J = /* @__PURE__ */ q(Yi, { children: [
2503
+ K,
356
2504
  B
357
- ] }), e[44] = E, e[45] = B, e[46] = W) : W = e[46], W;
358
- }, Ue = (o) => {
359
- const e = C(5), {
2505
+ ] }), i[44] = K, i[45] = B, i[46] = J) : J = i[46], J;
2506
+ }, ba = (e) => {
2507
+ const i = E(5), {
360
2508
  sx: t
361
- } = o, {
362
- fileMetas: n
363
- } = P();
364
- let l;
365
- e[0] !== n ? (l = n.map(qe), e[0] = n, e[1] = l) : l = e[1];
366
- let i;
367
- return e[2] !== t || e[3] !== l ? (i = /* @__PURE__ */ r(se, { dense: !0, sx: t, children: l }), e[2] = t, e[3] = l, e[4] = i) : i = e[4], i;
368
- }, Ze = (o) => {
369
- const e = C(29), {
2509
+ } = e, {
2510
+ fileMetas: a
2511
+ } = si();
2512
+ let n;
2513
+ i[0] !== a ? (n = a.map(wa), i[0] = a, i[1] = n) : n = i[1];
2514
+ let o;
2515
+ return i[2] !== t || i[3] !== n ? (o = /* @__PURE__ */ u(be, { dense: !0, sx: t, children: n }), i[2] = t, i[3] = n, i[4] = o) : o = i[4], o;
2516
+ }, ya = (e) => {
2517
+ const i = E(29), {
370
2518
  meta: t
371
- } = o, {
372
- setImageId: n,
373
- actions: l
374
- } = P(), [i, c] = H(null);
375
- let d;
376
- e[0] !== i ? (d = (F) => {
377
- F.stopPropagation(), c(i === null ? {
378
- mouseX: F.clientX,
379
- mouseY: F.clientY
2519
+ } = e, {
2520
+ setImageId: a,
2521
+ actions: n
2522
+ } = si(), [o, p] = vi(null);
2523
+ let l;
2524
+ i[0] !== o ? (l = (C) => {
2525
+ C.stopPropagation(), p(o === null ? {
2526
+ mouseX: C.clientX,
2527
+ mouseY: C.clientY
380
2528
  } : null);
381
- }, e[0] = i, e[1] = d) : d = e[1];
382
- const f = d, {
2529
+ }, i[0] = o, i[1] = l) : l = i[1];
2530
+ const d = l, {
2531
+ mutate: c
2532
+ } = ke(), {
383
2533
  mutate: s
384
- } = me(), {
385
- mutate: a
386
- } = le();
2534
+ } = Xi();
387
2535
  let m;
388
- e[2] !== a || e[3] !== t || e[4] !== s || e[5] !== n ? (m = () => {
2536
+ i[2] !== s || i[3] !== t || i[4] !== c || i[5] !== a ? (m = () => {
389
2537
  switch (t.mediaType) {
390
2538
  case "image":
391
- return n(t.id);
2539
+ return a(t.id);
392
2540
  case "application":
393
- return s(t);
2541
+ return c(t);
394
2542
  case "video":
395
- return s(t);
2543
+ return c(t);
396
2544
  default:
397
- return a(t);
2545
+ return s(t);
398
2546
  }
399
- }, e[2] = a, e[3] = t, e[4] = s, e[5] = n, e[6] = m) : m = e[6];
400
- const u = m;
401
- let p;
402
- e[7] !== t.mediaType ? (p = () => {
2547
+ }, i[2] = s, i[3] = t, i[4] = c, i[5] = a, i[6] = m) : m = i[6];
2548
+ const f = m;
2549
+ let g;
2550
+ i[7] !== t.mediaType ? (g = () => {
403
2551
  switch (t.mediaType) {
404
2552
  case "image":
405
- return /* @__PURE__ */ r(Ge, {});
2553
+ return /* @__PURE__ */ u(vt, {});
406
2554
  case "video":
407
- return /* @__PURE__ */ r(He, {});
2555
+ return /* @__PURE__ */ u(xt, {});
408
2556
  default:
409
- return /* @__PURE__ */ r(Ve, {});
2557
+ return /* @__PURE__ */ u(ft, {});
410
2558
  }
411
- }, e[7] = t.mediaType, e[8] = p) : p = e[8];
412
- const h = p;
413
- let g;
414
- e[9] !== h ? (g = /* @__PURE__ */ r(J, { children: h() }), e[9] = h, e[10] = g) : g = e[10];
2559
+ }, i[7] = t.mediaType, i[8] = g) : g = i[8];
2560
+ const x = g;
2561
+ let h;
2562
+ i[9] !== x ? (h = /* @__PURE__ */ u(Mi, { children: x() }), i[9] = x, i[10] = h) : h = i[10];
415
2563
  const y = `${t.fileName}.${t.fileExtension}`;
416
- let x;
417
- e[11] !== y ? (x = /* @__PURE__ */ r(Q, { primary: y }), e[11] = y, e[12] = x) : x = e[12];
418
2564
  let w;
419
- e[13] !== l || e[14] !== f ? (w = (l?.download !== !1 || l.delete !== !1) && /* @__PURE__ */ r(ee, { edge: "end", onClick: f, children: /* @__PURE__ */ r(ae, {}) }), e[13] = l, e[14] = f, e[15] = w) : w = e[15];
2565
+ i[11] !== y ? (w = /* @__PURE__ */ u(Bi, { primary: y }), i[11] = y, i[12] = w) : w = i[12];
420
2566
  let b;
421
- e[16] !== t.id || e[17] !== u || e[18] !== g || e[19] !== x || e[20] !== w ? (b = /* @__PURE__ */ $(q, { onClick: u, children: [
422
- g,
423
- x,
424
- w
425
- ] }, t.id), e[16] = t.id, e[17] = u, e[18] = g, e[19] = x, e[20] = w, e[21] = b) : b = e[21];
426
- let I;
427
- e[22] !== l || e[23] !== i || e[24] !== t ? (I = (l?.download !== !1 || l.delete !== !1) && /* @__PURE__ */ r(fe, { meta: t, menu: i, setMenu: c }), e[22] = l, e[23] = i, e[24] = t, e[25] = I) : I = e[25];
428
- let v;
429
- return e[26] !== b || e[27] !== I ? (v = /* @__PURE__ */ $(ce, { children: [
430
- b,
431
- I
432
- ] }), e[26] = b, e[27] = I, e[28] = v) : v = e[28], v;
2567
+ i[13] !== n || i[14] !== d ? (b = (n?.download !== !1 || n.delete !== !1) && /* @__PURE__ */ u(Vi, { edge: "end", onClick: d, children: /* @__PURE__ */ u(we, {}) }), i[13] = n, i[14] = d, i[15] = b) : b = i[15];
2568
+ let k;
2569
+ i[16] !== t.id || i[17] !== f || i[18] !== h || i[19] !== w || i[20] !== b ? (k = /* @__PURE__ */ q($i, { onClick: f, children: [
2570
+ h,
2571
+ w,
2572
+ b
2573
+ ] }, t.id), i[16] = t.id, i[17] = f, i[18] = h, i[19] = w, i[20] = b, i[21] = k) : k = i[21];
2574
+ let D;
2575
+ i[22] !== n || i[23] !== o || i[24] !== t ? (D = (n?.download !== !1 || n.delete !== !1) && /* @__PURE__ */ u(Pe, { meta: t, menu: o, setMenu: p }), i[22] = n, i[23] = o, i[24] = t, i[25] = D) : D = i[25];
2576
+ let A;
2577
+ return i[26] !== k || i[27] !== D ? (A = /* @__PURE__ */ q(Yi, { children: [
2578
+ k,
2579
+ D
2580
+ ] }), i[26] = k, i[27] = D, i[28] = A) : A = i[28], A;
433
2581
  };
434
- function qe(o) {
435
- return /* @__PURE__ */ r(Ze, { meta: o }, o.id);
2582
+ function wa(e) {
2583
+ return /* @__PURE__ */ u(ya, { meta: e }, e.id);
436
2584
  }
437
- const Je = ({
438
- metaId: o
2585
+ const ka = ({
2586
+ metaId: e
439
2587
  }) => {
440
2588
  const {
441
- fileMetas: e,
2589
+ fileMetas: i,
442
2590
  setImageId: t
443
- } = P(), n = e.find((s) => s.id === o), {
444
- data: l
445
- } = Ne({
446
- meta: n
2591
+ } = si(), a = i.find((c) => c.id === e), {
2592
+ data: n
2593
+ } = mt({
2594
+ meta: a
447
2595
  });
448
- te(() => (o && globalThis.addEventListener("keydown", i), () => {
449
- globalThis.removeEventListener("keydown", i);
450
- }), [o]);
451
- const i = (s) => {
452
- const a = e.filter((u) => u.mediaType === "image"), m = a.findIndex((u) => u.id === o);
453
- switch (s.key) {
2596
+ pi(() => (e && globalThis.addEventListener("keydown", o), () => {
2597
+ globalThis.removeEventListener("keydown", o);
2598
+ }), [e]);
2599
+ const o = (c) => {
2600
+ const s = i.filter((f) => f.mediaType === "image"), m = s.findIndex((f) => f.id === e);
2601
+ switch (c.key) {
454
2602
  case "ArrowLeft":
455
- return c(a, m);
2603
+ return p(s, m);
456
2604
  case "ArrowRight":
457
- return d(a, m);
2605
+ return l(s, m);
458
2606
  case "Backspace":
459
2607
  case "Escape":
460
- return s.preventDefault(), f();
2608
+ return c.preventDefault(), d();
461
2609
  }
462
- }, c = (s, a) => {
463
- if (a > 0) {
464
- const m = s[a - 1];
2610
+ }, p = (c, s) => {
2611
+ if (s > 0) {
2612
+ const m = c[s - 1];
465
2613
  t(m.id);
466
2614
  }
467
- }, d = (s, a) => {
468
- if (a < s.length - 1) {
469
- const m = s[a + 1];
2615
+ }, l = (c, s) => {
2616
+ if (s < c.length - 1) {
2617
+ const m = c[s + 1];
470
2618
  t(m.id);
471
2619
  }
472
- }, f = () => t("");
473
- return o ? /* @__PURE__ */ $(xe, { open: !0, onClose: f, maxWidth: "xl", children: [
474
- /* @__PURE__ */ r(S, { component: "img", src: l, alt: o, sx: {
2620
+ }, d = () => t("");
2621
+ return e ? /* @__PURE__ */ q(Ge, { open: !0, onClose: d, maxWidth: "xl", children: [
2622
+ /* @__PURE__ */ u(U, { component: "img", src: n, alt: e, sx: {
475
2623
  maxWidth: "100vw",
476
2624
  maxHeight: {
477
2625
  xs: "calc(100vh - 56px)",
478
2626
  sm: "calc(100vh - 64px)"
479
2627
  }
480
2628
  } }),
481
- /* @__PURE__ */ r(be, { size: "medium", onClick: f, sx: {
2629
+ /* @__PURE__ */ u(Ve, { size: "medium", onClick: d, sx: {
482
2630
  position: "fixed",
483
2631
  top: 8,
484
2632
  right: 8
485
- }, children: /* @__PURE__ */ r(ze, {}) })
2633
+ }, children: /* @__PURE__ */ u(gt, {}) })
486
2634
  ] }) : null;
487
- }, kt = (o) => {
488
- const e = C(25), {
2635
+ }, nn = (e) => {
2636
+ const i = E(25), {
489
2637
  subId: t,
490
- onDelete: n,
491
- actions: l,
492
- children: i
493
- } = o;
494
- let c;
495
- e[0] !== t ? (c = {
2638
+ onDelete: a,
2639
+ actions: n,
2640
+ children: o
2641
+ } = e;
2642
+ let p;
2643
+ i[0] !== t ? (p = {
496
2644
  subId: t
497
- }, e[0] = t, e[1] = c) : c = e[1];
498
- const d = !!t;
499
- let f;
500
- e[2] !== d ? (f = {
501
- enabled: d
502
- }, e[2] = d, e[3] = f) : f = e[3];
2645
+ }, i[0] = t, i[1] = p) : p = i[1];
2646
+ const l = !!t;
2647
+ let d;
2648
+ i[2] !== l ? (d = {
2649
+ enabled: l
2650
+ }, i[2] = l, i[3] = d) : d = i[3];
503
2651
  const {
504
- data: s
505
- } = Pe(c, f);
506
- let a;
507
- e[4] !== s ? (a = s === void 0 ? [] : s, e[4] = s, e[5] = a) : a = e[5];
508
- const m = a, [u, p] = H("");
509
- let h, g, y, x;
510
- if (e[6] !== l || e[7] !== i || e[8] !== m || e[9] !== n) {
511
- x = /* @__PURE__ */ Symbol.for("react.early_return_sentinel");
512
- e: {
513
- const I = {
514
- Grid: Xe,
515
- List: Ue
2652
+ data: c
2653
+ } = ut(p, d);
2654
+ let s;
2655
+ i[4] !== c ? (s = c === void 0 ? [] : c, i[4] = c, i[5] = s) : s = i[5];
2656
+ const m = s, [f, g] = vi("");
2657
+ let x, h, y, w;
2658
+ if (i[6] !== n || i[7] !== o || i[8] !== m || i[9] !== a) {
2659
+ w = /* @__PURE__ */ Symbol.for("react.early_return_sentinel");
2660
+ i: {
2661
+ const D = {
2662
+ Grid: ga,
2663
+ List: ba
516
2664
  };
517
2665
  if (m.length === 0) {
518
- x = null;
519
- break e;
2666
+ w = null;
2667
+ break i;
520
2668
  }
521
- h = de.Provider, e[14] !== l || e[15] !== m || e[16] !== n ? (g = {
2669
+ x = Te.Provider, i[14] !== n || i[15] !== m || i[16] !== a ? (h = {
522
2670
  fileMetas: m,
523
- onDelete: n,
524
- actions: l,
525
- setImageId: p
526
- }, e[14] = l, e[15] = m, e[16] = n, e[17] = g) : g = e[17], y = i(I);
2671
+ onDelete: a,
2672
+ actions: n,
2673
+ setImageId: g
2674
+ }, i[14] = n, i[15] = m, i[16] = a, i[17] = h) : h = i[17], y = o(D);
527
2675
  }
528
- e[6] = l, e[7] = i, e[8] = m, e[9] = n, e[10] = h, e[11] = g, e[12] = y, e[13] = x;
2676
+ i[6] = n, i[7] = o, i[8] = m, i[9] = a, i[10] = x, i[11] = h, i[12] = y, i[13] = w;
529
2677
  } else
530
- h = e[10], g = e[11], y = e[12], x = e[13];
531
- if (x !== /* @__PURE__ */ Symbol.for("react.early_return_sentinel"))
532
- return x;
533
- let w;
534
- e[18] !== u ? (w = /* @__PURE__ */ r(Je, { metaId: u }), e[18] = u, e[19] = w) : w = e[19];
2678
+ x = i[10], h = i[11], y = i[12], w = i[13];
2679
+ if (w !== /* @__PURE__ */ Symbol.for("react.early_return_sentinel"))
2680
+ return w;
535
2681
  let b;
536
- return e[20] !== h || e[21] !== g || e[22] !== y || e[23] !== w ? (b = /* @__PURE__ */ $(h, { value: g, children: [
2682
+ i[18] !== f ? (b = /* @__PURE__ */ u(ka, { metaId: f }), i[18] = f, i[19] = b) : b = i[19];
2683
+ let k;
2684
+ return i[20] !== x || i[21] !== h || i[22] !== y || i[23] !== b ? (k = /* @__PURE__ */ q(x, { value: h, children: [
537
2685
  y,
538
- w
539
- ] }), e[20] = h, e[21] = g, e[22] = y, e[23] = w, e[24] = b) : b = e[24], b;
540
- }, Qe = (o) => Array.isArray(o), At = (o) => {
541
- const e = C(20), {
2686
+ b
2687
+ ] }), i[20] = x, i[21] = h, i[22] = y, i[23] = b, i[24] = k) : k = i[24], k;
2688
+ }, ja = (e) => Array.isArray(e), on = (e) => {
2689
+ const i = E(20), {
542
2690
  params: t,
543
- slotProps: n,
544
- getLabel: l
545
- } = o;
2691
+ slotProps: a,
2692
+ getLabel: n
2693
+ } = e;
546
2694
  if (!t.value)
547
2695
  return null;
548
- let i;
549
- e[0] !== l ? (i = (s) => l ? l(s) : s, e[0] = l, e[1] = i) : i = e[1];
550
- const c = i;
551
- if (Qe(t.value)) {
552
- let s;
553
- e[2] !== t.colDef.computedWidth ? (s = {
2696
+ let o;
2697
+ i[0] !== n ? (o = (c) => n ? n(c) : c, i[0] = n, i[1] = o) : o = i[1];
2698
+ const p = o;
2699
+ if (ja(t.value)) {
2700
+ let c;
2701
+ i[2] !== t.colDef.computedWidth ? (c = {
554
2702
  overflowX: "auto",
555
2703
  height: "100%",
556
2704
  width: t.colDef.computedWidth
557
- }, e[2] = t.colDef.computedWidth, e[3] = s) : s = e[3];
558
- let a;
559
- if (e[4] !== c || e[5] !== t.value || e[6] !== n) {
560
- let u;
561
- e[8] !== c || e[9] !== n ? (u = (p, h) => /* @__PURE__ */ r(ie, { label: c(p), ...n }, `${h + 1}-chip-input-cell`), e[8] = c, e[9] = n, e[10] = u) : u = e[10], a = t.value.map(u), e[4] = c, e[5] = t.value, e[6] = n, e[7] = a;
2705
+ }, i[2] = t.colDef.computedWidth, i[3] = c) : c = i[3];
2706
+ let s;
2707
+ if (i[4] !== p || i[5] !== t.value || i[6] !== a) {
2708
+ let f;
2709
+ i[8] !== p || i[9] !== a ? (f = (g, x) => /* @__PURE__ */ u(pe, { label: p(g), ...a }, `${x + 1}-chip-input-cell`), i[8] = p, i[9] = a, i[10] = f) : f = i[10], s = t.value.map(f), i[4] = p, i[5] = t.value, i[6] = a, i[7] = s;
562
2710
  } else
563
- a = e[7];
2711
+ s = i[7];
564
2712
  let m;
565
- return e[11] !== s || e[12] !== a ? (m = /* @__PURE__ */ r(G, { direction: "row", alignItems: "center", gap: 1, sx: s, children: a }), e[11] = s, e[12] = a, e[13] = m) : m = e[13], m;
2713
+ return i[11] !== c || i[12] !== s ? (m = /* @__PURE__ */ u(fi, { direction: "row", alignItems: "center", gap: 1, sx: c, children: s }), i[11] = c, i[12] = s, i[13] = m) : m = i[13], m;
566
2714
  }
2715
+ let l;
2716
+ i[14] !== p || i[15] !== t.value ? (l = p(t.value), i[14] = p, i[15] = t.value, i[16] = l) : l = i[16];
567
2717
  let d;
568
- e[14] !== c || e[15] !== t.value ? (d = c(t.value), e[14] = c, e[15] = t.value, e[16] = d) : d = e[16];
569
- let f;
570
- return e[17] !== n || e[18] !== d ? (f = /* @__PURE__ */ r(ie, { label: d, ...n }), e[17] = n, e[18] = d, e[19] = f) : f = e[19], f;
571
- }, Et = (o) => {
572
- const e = C(3), {
2718
+ return i[17] !== a || i[18] !== l ? (d = /* @__PURE__ */ u(pe, { label: l, ...a }), i[17] = a, i[18] = l, i[19] = d) : d = i[19], d;
2719
+ }, pn = (e) => {
2720
+ const i = E(3), {
573
2721
  colDef: t
574
- } = o;
2722
+ } = e;
2723
+ let a;
2724
+ i[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ u(ht, { color: "disabled", fontSize: "small" }), i[0] = a) : a = i[0];
575
2725
  let n;
576
- e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (n = /* @__PURE__ */ r(Oe, { color: "disabled", fontSize: "small" }), e[0] = n) : n = e[0];
577
- let l;
578
- return e[1] !== t.headerName ? (l = /* @__PURE__ */ r(je, { endIcon: n, variant: "body2", className: "MuiDataGrid-columnHeaderTitle", children: t.headerName }), e[1] = t.headerName, e[2] = l) : l = e[2], l;
579
- }, et = z.forwardRef(function(e, t) {
580
- const n = C(3);
581
- let l;
582
- return n[0] !== e || n[1] !== t ? (l = /* @__PURE__ */ r(Ce, { ref: t, component: "a", ...e }), n[0] = e, n[1] = t, n[2] = l) : l = n[2], l;
583
- }), tt = O(et), Bt = (o) => {
584
- const e = C(2);
2726
+ return i[1] !== t.headerName ? (n = /* @__PURE__ */ u(yt, { endIcon: a, variant: "body2", className: "MuiDataGrid-columnHeaderTitle", children: t.headerName }), i[1] = t.headerName, i[2] = n) : n = i[2], n;
2727
+ }, Da = ri.forwardRef(function(i, t) {
2728
+ const a = E(3);
2729
+ let n;
2730
+ return a[0] !== i || a[1] !== t ? (n = /* @__PURE__ */ u(Ye, { ref: t, component: "a", ...i }), a[0] = i, a[1] = t, a[2] = n) : n = a[2], n;
2731
+ }), za = gi(Da), ln = (e) => {
2732
+ const i = E(2);
585
2733
  let t;
586
- return e[0] !== o ? (t = /* @__PURE__ */ r(tt, { ...o }), e[0] = o, e[1] = t) : t = e[1], t;
587
- }, nt = z.forwardRef(function(e, t) {
588
- const n = C(3);
589
- let l;
590
- return n[0] !== e || n[1] !== t ? (l = /* @__PURE__ */ r(We, { ref: t, component: "a", ...e }), n[0] = e, n[1] = t, n[2] = l) : l = n[2], l;
591
- }), lt = O(nt), Nt = (o) => {
592
- const e = C(2);
2734
+ return i[0] !== e ? (t = /* @__PURE__ */ u(za, { ...e }), i[0] = e, i[1] = t) : t = i[1], t;
2735
+ }, Ea = ri.forwardRef(function(i, t) {
2736
+ const a = E(3);
2737
+ let n;
2738
+ return a[0] !== i || a[1] !== t ? (n = /* @__PURE__ */ u(bt, { ref: t, component: "a", ...i }), a[0] = i, a[1] = t, a[2] = n) : n = a[2], n;
2739
+ }), Fa = gi(Ea), cn = (e) => {
2740
+ const i = E(2);
593
2741
  let t;
594
- return e[0] !== o ? (t = /* @__PURE__ */ r(lt, { ...o }), e[0] = o, e[1] = t) : t = e[1], t;
595
- }, ot = z.forwardRef(function(e, t) {
596
- const n = C(3);
597
- let l;
598
- return n[0] !== e || n[1] !== t ? (l = /* @__PURE__ */ r(ee, { ref: t, component: "a", ...e }), n[0] = e, n[1] = t, n[2] = l) : l = n[2], l;
599
- }), it = O(ot), Pt = (o) => {
600
- const e = C(2);
2742
+ return i[0] !== e ? (t = /* @__PURE__ */ u(Fa, { ...e }), i[0] = e, i[1] = t) : t = i[1], t;
2743
+ }, Aa = ri.forwardRef(function(i, t) {
2744
+ const a = E(3);
2745
+ let n;
2746
+ return a[0] !== i || a[1] !== t ? (n = /* @__PURE__ */ u(Vi, { ref: t, component: "a", ...i }), a[0] = i, a[1] = t, a[2] = n) : n = a[2], n;
2747
+ }), _a = gi(Aa), rn = (e) => {
2748
+ const i = E(2);
601
2749
  let t;
602
- return e[0] !== o ? (t = /* @__PURE__ */ r(it, { ...o }), e[0] = o, e[1] = t) : t = e[1], t;
603
- }, st = z.forwardRef(function(e, t) {
604
- const n = C(3);
605
- let l;
606
- return n[0] !== e || n[1] !== t ? (l = /* @__PURE__ */ r(Ie, { ref: t, ...e }), n[0] = e, n[1] = t, n[2] = l) : l = n[2], l;
607
- }), rt = O(st), Vt = (o) => {
608
- const e = C(2);
2750
+ return i[0] !== e ? (t = /* @__PURE__ */ u(_a, { ...e }), i[0] = e, i[1] = t) : t = i[1], t;
2751
+ }, Oa = ri.forwardRef(function(i, t) {
2752
+ const a = E(3);
2753
+ let n;
2754
+ return a[0] !== i || a[1] !== t ? (n = /* @__PURE__ */ u(Ue, { ref: t, ...i }), a[0] = i, a[1] = t, a[2] = n) : n = a[2], n;
2755
+ }), Ca = gi(Oa), sn = (e) => {
2756
+ const i = E(2);
609
2757
  let t;
610
- return e[0] !== o ? (t = /* @__PURE__ */ r(rt, { ...o }), e[0] = o, e[1] = t) : t = e[1], t;
611
- }, ct = z.forwardRef(function(e, t) {
612
- const n = C(3);
613
- let l;
614
- return n[0] !== e || n[1] !== t ? (l = /* @__PURE__ */ r(ve, { ref: t, component: "a", ...e }), n[0] = e, n[1] = t, n[2] = l) : l = n[2], l;
615
- }), at = O(ct), Gt = (o) => {
616
- const e = C(2);
2758
+ return i[0] !== e ? (t = /* @__PURE__ */ u(Ca, { ...e }), i[0] = e, i[1] = t) : t = i[1], t;
2759
+ }, Ia = ri.forwardRef(function(i, t) {
2760
+ const a = E(3);
2761
+ let n;
2762
+ return a[0] !== i || a[1] !== t ? (n = /* @__PURE__ */ u(Xe, { ref: t, component: "a", ...i }), a[0] = i, a[1] = t, a[2] = n) : n = a[2], n;
2763
+ }), Sa = gi(Ia), dn = (e) => {
2764
+ const i = E(2);
617
2765
  let t;
618
- return e[0] !== o ? (t = /* @__PURE__ */ r(at, { ...o }), e[0] = o, e[1] = t) : t = e[1], t;
2766
+ return i[0] !== e ? (t = /* @__PURE__ */ u(Sa, { ...e }), i[0] = e, i[1] = t) : t = i[1], t;
619
2767
  };
620
- function Ht() {
621
- const o = C(6), {
622
- t: e
623
- } = ne();
2768
+ function mn() {
2769
+ const e = E(6), {
2770
+ t: i
2771
+ } = Ui();
624
2772
  let t;
625
- o[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t = /* @__PURE__ */ r(N, { variant: "h3", component: "span", fontWeight: 500, sx: {
2773
+ e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t = /* @__PURE__ */ u(li, { variant: "h3", component: "span", fontWeight: 500, sx: {
626
2774
  lineHeight: 1
627
- }, children: "404" }), o[0] = t) : t = o[0];
628
- let n;
629
- o[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (n = /* @__PURE__ */ r(re, { orientation: "vertical", flexItem: !0, sx: {
2775
+ }, children: "404" }), e[0] = t) : t = e[0];
2776
+ let a;
2777
+ e[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ u(ye, { orientation: "vertical", flexItem: !0, sx: {
630
2778
  mx: 3
631
- } }), o[1] = n) : n = o[1];
632
- let l;
633
- o[2] !== e ? (l = e("Layout.ThisPageCouldNotBeFound"), o[2] = e, o[3] = l) : l = o[3];
634
- let i;
635
- return o[4] !== l ? (i = /* @__PURE__ */ r(S, { height: "100vh", display: "flex", flexDirection: "column", alignItems: "center", justifyContent: "center", textAlign: "center", px: 2, children: /* @__PURE__ */ $(S, { display: "flex", alignItems: "center", mb: 4, children: [
2779
+ } }), e[1] = a) : a = e[1];
2780
+ let n;
2781
+ e[2] !== i ? (n = i("Layout.ThisPageCouldNotBeFound"), e[2] = i, e[3] = n) : n = e[3];
2782
+ let o;
2783
+ return e[4] !== n ? (o = /* @__PURE__ */ u(U, { height: "100vh", display: "flex", flexDirection: "column", alignItems: "center", justifyContent: "center", textAlign: "center", px: 2, children: /* @__PURE__ */ q(U, { display: "flex", alignItems: "center", mb: 4, children: [
636
2784
  t,
637
- n,
638
- /* @__PURE__ */ r(N, { variant: "h5", component: "span", children: l })
639
- ] }) }), o[4] = l, o[5] = i) : i = o[5], i;
2785
+ a,
2786
+ /* @__PURE__ */ u(li, { variant: "h5", component: "span", children: n })
2787
+ ] }) }), e[4] = n, e[5] = o) : o = e[5], o;
640
2788
  }
641
- const zt = (o) => {
642
- const e = C(9), {
2789
+ const un = (e) => {
2790
+ const i = E(9), {
643
2791
  error: t
644
- } = o;
645
- let n;
646
- e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (n = {
2792
+ } = e;
2793
+ let a;
2794
+ i[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (a = {
647
2795
  lineHeight: 1
648
- }, e[0] = n) : n = e[0];
649
- const l = t.name || "500";
650
- let i;
651
- e[1] !== l ? (i = /* @__PURE__ */ r(N, { variant: "h3", component: "span", fontWeight: 500, sx: n, children: l }), e[1] = l, e[2] = i) : i = e[2];
652
- let c;
653
- e[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (c = /* @__PURE__ */ r(re, { orientation: "vertical", flexItem: !0, sx: {
2796
+ }, i[0] = a) : a = i[0];
2797
+ const n = t.name || "500";
2798
+ let o;
2799
+ i[1] !== n ? (o = /* @__PURE__ */ u(li, { variant: "h3", component: "span", fontWeight: 500, sx: a, children: n }), i[1] = n, i[2] = o) : o = i[2];
2800
+ let p;
2801
+ i[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (p = /* @__PURE__ */ u(ye, { orientation: "vertical", flexItem: !0, sx: {
654
2802
  mx: 3
655
- } }), e[3] = c) : c = e[3];
2803
+ } }), i[3] = p) : p = i[3];
2804
+ let l;
2805
+ i[4] !== t.message ? (l = /* @__PURE__ */ u(li, { variant: "h5", component: "span", children: t.message }), i[4] = t.message, i[5] = l) : l = i[5];
656
2806
  let d;
657
- e[4] !== t.message ? (d = /* @__PURE__ */ r(N, { variant: "h5", component: "span", children: t.message }), e[4] = t.message, e[5] = d) : d = e[5];
658
- let f;
659
- return e[6] !== i || e[7] !== d ? (f = /* @__PURE__ */ r(S, { height: "100vh", display: "flex", flexDirection: "column", alignItems: "center", justifyContent: "center", textAlign: "center", px: 2, children: /* @__PURE__ */ $(S, { display: "flex", alignItems: "center", mb: 4, children: [
660
- i,
661
- c,
662
- d
663
- ] }) }), e[6] = i, e[7] = d, e[8] = f) : f = e[8], f;
2807
+ return i[6] !== o || i[7] !== l ? (d = /* @__PURE__ */ u(U, { height: "100vh", display: "flex", flexDirection: "column", alignItems: "center", justifyContent: "center", textAlign: "center", px: 2, children: /* @__PURE__ */ q(U, { display: "flex", alignItems: "center", mb: 4, children: [
2808
+ o,
2809
+ p,
2810
+ l
2811
+ ] }) }), i[6] = o, i[7] = l, i[8] = d) : d = i[8], d;
664
2812
  };
665
2813
  export {
666
- At as ChipInputCell,
667
- Mt as Dropzone,
668
- Et as EditableColumnHeader,
669
- kt as FileViewer,
670
- Rt as Fullscreen,
671
- Bt as RouterButton,
672
- zt as RouterError,
673
- Nt as RouterGridActionsCellItem,
674
- Pt as RouterIconButton,
675
- Vt as RouterLink,
676
- jt as RouterListItemButton,
677
- Ht as RouterNotFound,
678
- Gt as RouterTab,
679
- je as TypographyWithIcon
2814
+ on as ChipInputCell,
2815
+ an as Dropzone,
2816
+ pn as EditableColumnHeader,
2817
+ nn as FileViewer,
2818
+ tn as Fullscreen,
2819
+ ln as RouterButton,
2820
+ un as RouterError,
2821
+ cn as RouterGridActionsCellItem,
2822
+ rn as RouterIconButton,
2823
+ sn as RouterLink,
2824
+ xn as RouterListItemButton,
2825
+ mn as RouterNotFound,
2826
+ dn as RouterTab,
2827
+ yt as TypographyWithIcon
680
2828
  };
681
2829
  //# sourceMappingURL=components.js.map