welcome-ui 1.0.0-beta.3 → 1.0.0-beta.4

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