wcz-layout 6.7.2 → 7.6.1

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